aboutsummaryrefslogtreecommitdiff
path: root/gdb/corelow.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-10-31 14:29:10 +0000
committerTom Tromey <tromey@redhat.com>2012-10-31 14:29:10 +0000
commitc66fb220b1717fae73f32362c71194e244bf71a7 (patch)
treeb6d4f36a56bfa09ef778c65d261cb8f8ffc911e3 /gdb/corelow.c
parent2f27adfe297378d226b6578ff18993c0c1e41fba (diff)
downloadgdb-c66fb220b1717fae73f32362c71194e244bf71a7.zip
gdb-c66fb220b1717fae73f32362c71194e244bf71a7.tar.gz
gdb-c66fb220b1717fae73f32362c71194e244bf71a7.tar.bz2
* gdbarch.c: Rebuild.
* gdbarch.sh: Remove references to gdbarch_swap. * corelow.c (core_open): Remove obsolete comment.
Diffstat (limited to 'gdb/corelow.c')
-rw-r--r--gdb/corelow.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gdb/corelow.c b/gdb/corelow.c
index 340b149..2080068 100644
--- a/gdb/corelow.c
+++ b/gdb/corelow.c
@@ -344,12 +344,6 @@ core_open (char *filename, int from_tty)
core_bfd = temp_bfd;
old_chain = make_cleanup (core_close_cleanup, 0 /*ignore*/);
- /* FIXME: kettenis/20031023: This is very dangerous. The
- CORE_GDBARCH that results from this call may very well be
- different from CURRENT_GDBARCH. However, its methods may only
- work if it is selected as the current architecture, because they
- rely on swapped data (see gdbarch.c). We should get rid of that
- swapped data. */
core_gdbarch = gdbarch_from_bfd (core_bfd);
/* Find a suitable core file handler to munch on core_bfd */