* dumper.cc (dumper::init_core_dump): Set architecture field in dump

header.
This commit is contained in:
Egor Duda 2001-04-19 14:22:30 +00:00
parent e8cec9646e
commit 3ee14d6850
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2001-04-19 Egor Duda <deo@logos-m.ru>
* dumper.cc (dumper::init_core_dump): Set architecture field in dump
header.
Mon Apr 16 15:08:00 2001 Corinna Vinschen <vinschen@redhat.com>
* mkgroup.c: Add function pointers `netlocalgroupgetmembers' and

View File

@ -593,6 +593,12 @@ dumper::init_core_dump ()
goto failed;
}
if (!bfd_set_arch_mach (core_bfd, bfd_arch_i386, 0))
{
bfd_perror ("setting bfd architecture");
goto failed;
}
return 1;
failed: