* gdbarch.sh: Remove references to gdbarch_swap.
* corelow.c (core_open): Remove obsolete comment.
+2012-10-31 Tom Tromey <tromey@redhat.com>
+
+ * gdbarch.c: Rebuild.
+ * gdbarch.sh: Remove references to gdbarch_swap.
+ * corelow.c (core_open): Remove obsolete comment.
+
2012-10-31 Andrew Burgess <aburgess@broadcom.com>
PR cli/14772
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 */
unsigned nr_data;
void **data;
- /* per-architecture swap-regions. */
- struct gdbarch_swap *swap;
-
/* Multi-arch values.
When extending this structure you must:
0, /* target_desc */
/* target specific vector and its dump routine. */
NULL, NULL,
- /*per-architecture data-pointers and swap regions. */
- 0, NULL, NULL,
+ /*per-architecture data-pointers. */
+ 0, NULL,
/* Multi-arch values */
1, /* bits_big_endian */
8 * sizeof (short), /* short_bit */
printf " unsigned nr_data;\n"
printf " void **data;\n"
printf "\n"
-printf " /* per-architecture swap-regions. */\n"
-printf " struct gdbarch_swap *swap;\n"
-printf "\n"
cat <<EOF
/* Multi-arch values.
cat <<EOF
/* target specific vector and its dump routine. */
NULL, NULL,
- /*per-architecture data-pointers and swap regions. */
- 0, NULL, NULL,
+ /*per-architecture data-pointers. */
+ 0, NULL,
/* Multi-arch values */
EOF
function_list | while do_read