aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKung Hsu <kung@cygnus>1995-04-13 19:37:57 +0000
committerKung Hsu <kung@cygnus>1995-04-13 19:37:57 +0000
commit546e6a3955339d4841cedfde83d1b5603f00c3cd (patch)
tree7ba30122163dd1c0874e3ffe9766696315a172ac
parent07dc1e42d795699e0b61acc2b354f5de5e526bd3 (diff)
downloadgdb-546e6a3955339d4841cedfde83d1b5603f00c3cd.zip
gdb-546e6a3955339d4841cedfde83d1b5603f00c3cd.tar.gz
gdb-546e6a3955339d4841cedfde83d1b5603f00c3cd.tar.bz2
* a29k-tdep.c (get_longjmp_target): Replace SWAP_TARGET_AND_HOST with
extract_address. * remote-vxsparc.c: New file, preliminary check in, this configuration not supported yet. * remote-vxmips.c: ditto.
-rw-r--r--gdb/ChangeLog13
-rw-r--r--gdb/a29k-tdep.c5
2 files changed, 16 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 0b9154f..c9b8dc9 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,16 @@
+Thu Apr 13 12:23:31 1995 Kung Hsu <kung@rtl.cygnus.com>
+
+ * a29k-tdep.c (get_longjmp_target): Replace SWAP_TARGET_AND_HOST with
+ extract_address.
+ * remote-vxsparc.c: New file, preliminary check in, this configuration
+ not supported yet.
+ * remote-vxmips.c: ditto.
+
+Thu Apr 13 12:10:14 1995 Michael Meissner <meissner@tiktok.cygnus.com>
+
+ * rs6000-tdep.c (xcoff_add_toc_to_loadinfo): Don't use a prototype
+ to declare the function.
+
Wed Apr 12 16:40:20 1995 Stan Shebs <shebs@andros.cygnus.com>
* monitor.h (init_monitor_ops): Declare.
diff --git a/gdb/a29k-tdep.c b/gdb/a29k-tdep.c
index dbcd60b..206c676 100644
--- a/gdb/a29k-tdep.c
+++ b/gdb/a29k-tdep.c
@@ -989,14 +989,15 @@ get_longjmp_target(pc)
CORE_ADDR *pc;
{
CORE_ADDR jb_addr;
+ char buf[sizeof(CORE_ADDR)];
jb_addr = read_register(LR2_REGNUM);
- if (target_read_memory(jb_addr + JB_PC * JB_ELEMENT_SIZE, (char *) pc,
+ if (target_read_memory(jb_addr + JB_PC * JB_ELEMENT_SIZE, (char *) buf,
sizeof(CORE_ADDR)))
return 0;
- SWAP_TARGET_AND_HOST(pc, sizeof(CORE_ADDR));
+ *pc = extract_address ((PTR) buf, sizeof(CORE_ADDR));
return 1;
}
#endif /* GET_LONGJMP_TARGET */