* [PATCH] Narrow down registstration of OS/ABI sniffer for NetBSD cores
@ 2004-03-05 21:02 Mark Kettenis
2004-03-19 0:09 ` Mark Kettenis
0 siblings, 1 reply; 2+ messages in thread
From: Mark Kettenis @ 2004-03-05 21:02 UTC (permalink / raw)
To: gdb-patches
With the recent changes to bfd/netbsd-core.c this is now possible.
Committed,
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* i386bsd-tdep.c (_initialize_i386bsd_tdep): Register
i386bsd_core_osabi_sniffer for bfd_arch_i386 instead of
bfd_arch_unknown. Adjust comment.
Index: i386bsd-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/i386bsd-tdep.c,v
retrieving revision 1.20
diff -u -p -r1.20 i386bsd-tdep.c
--- i386bsd-tdep.c 22 Feb 2004 11:19:15 -0000 1.20
+++ i386bsd-tdep.c 5 Mar 2004 20:59:58 -0000
@@ -163,8 +163,7 @@ _initialize_i386bsd_tdep (void)
gdbarch_register_osabi_sniffer (bfd_arch_i386, bfd_target_aout_flavour,
i386bsd_aout_osabi_sniffer);
- /* BFD doesn't set the architecture for NetBSD style a.out core
- files. */
- gdbarch_register_osabi_sniffer (bfd_arch_unknown, bfd_target_unknown_flavour,
+ /* BFD doesn't set a flavour for NetBSD style a.out core files. */
+ gdbarch_register_osabi_sniffer (bfd_arch_i386, bfd_target_unknown_flavour,
i386bsd_core_osabi_sniffer);
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH] Narrow down registstration of OS/ABI sniffer for NetBSD cores
2004-03-05 21:02 [PATCH] Narrow down registstration of OS/ABI sniffer for NetBSD cores Mark Kettenis
@ 2004-03-19 0:09 ` Mark Kettenis
0 siblings, 0 replies; 2+ messages in thread
From: Mark Kettenis @ 2004-03-19 0:09 UTC (permalink / raw)
To: gdb-patches
With the recent changes to bfd/netbsd-core.c this is now possible.
Committed,
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* i386bsd-tdep.c (_initialize_i386bsd_tdep): Register
i386bsd_core_osabi_sniffer for bfd_arch_i386 instead of
bfd_arch_unknown. Adjust comment.
Index: i386bsd-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/i386bsd-tdep.c,v
retrieving revision 1.20
diff -u -p -r1.20 i386bsd-tdep.c
--- i386bsd-tdep.c 22 Feb 2004 11:19:15 -0000 1.20
+++ i386bsd-tdep.c 5 Mar 2004 20:59:58 -0000
@@ -163,8 +163,7 @@ _initialize_i386bsd_tdep (void)
gdbarch_register_osabi_sniffer (bfd_arch_i386, bfd_target_aout_flavour,
i386bsd_aout_osabi_sniffer);
- /* BFD doesn't set the architecture for NetBSD style a.out core
- files. */
- gdbarch_register_osabi_sniffer (bfd_arch_unknown, bfd_target_unknown_flavour,
+ /* BFD doesn't set a flavour for NetBSD style a.out core files. */
+ gdbarch_register_osabi_sniffer (bfd_arch_i386, bfd_target_unknown_flavour,
i386bsd_core_osabi_sniffer);
}
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-03-05 21:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-05 21:02 [PATCH] Narrow down registstration of OS/ABI sniffer for NetBSD cores Mark Kettenis
2004-03-19 0:09 ` Mark Kettenis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox