* 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.
This commit is contained in:
Kung Hsu 1995-04-13 19:37:57 +00:00
parent 07dc1e42d7
commit 546e6a3955
2 changed files with 16 additions and 2 deletions

View File

@ -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.

View File

@ -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 */