diff options
author | Stu Grossman <grossman@cygnus> | 1995-03-30 01:47:32 +0000 |
---|---|---|
committer | Stu Grossman <grossman@cygnus> | 1995-03-30 01:47:32 +0000 |
commit | a706069fdb9f5f49d08bfb83e831020e8ec5b9dd (patch) | |
tree | f46f0242bddba3775c0b5d906df3825b345c42ff /gdb/config/sparc/tm-sparc.h | |
parent | 6d7bcd2f26b7b2764af72234faf1830809ca49b5 (diff) | |
download | gdb-a706069fdb9f5f49d08bfb83e831020e8ec5b9dd.zip gdb-a706069fdb9f5f49d08bfb83e831020e8ec5b9dd.tar.gz gdb-a706069fdb9f5f49d08bfb83e831020e8ec5b9dd.tar.bz2 |
start-sanitize-gdbtk
* Makefile.in (gdbtk.o): Use X11_CFLAGS to provide alternate
locations (per-host) for X11 include files.
* config/pa/hppahpux.mh (XM_CLIBS): Add -L/usr/lib/X11R5 to force
the use of R5 libs. (X11_CFLAGS): Add this to indicate the locs
of the R5 include files.
end-sanitize-gdbtk
* monitor.c monitor.h remote-est.c rom68k-rom.c: Add start of
support for interrupting target.
* monitor.c (monitor_open): Send stop command before doing
anything else.
* (monitor_load_srec): Fix record size calculation to prevent end
of segment from getting trashed.
* rom68k-rom.c: Update to latest version of struct monitor_ops.
* config/sparc/tm-sparc.h (FIX_CALL_DUMMY): Fix byte-order
problems. Makes DOS hosted function calling work.
* sparclite/crt0.s: Define _start to make COFF happy.
* testsuite/config/rom68k.exp (gdb_target_rom68k): Use
$targetname, $serialport and $baud instead of hardwired variables.
* testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
target doesn't support signals.
Diffstat (limited to 'gdb/config/sparc/tm-sparc.h')
-rw-r--r-- | gdb/config/sparc/tm-sparc.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/gdb/config/sparc/tm-sparc.h b/gdb/config/sparc/tm-sparc.h index 6d588dd..9cd0e69 100644 --- a/gdb/config/sparc/tm-sparc.h +++ b/gdb/config/sparc/tm-sparc.h @@ -578,13 +578,14 @@ arguments. */ can assume it is operating on a pristine CALL_DUMMY, not one that has already been customized for a different function). */ -#define FIX_CALL_DUMMY(dummyname, pc, fun, nargs, args, type, gcc_p) \ +#define FIX_CALL_DUMMY(dummyname, pc, fun, nargs, args, type, gcc_p) \ { \ - *(int *)((char *) dummyname+168) = (0x40000000|((fun-(pc+168))>>2)); \ - if (!gcc_p \ + store_unsigned_integer (dummyname + 168, 4, \ + 0x40000000 | ((fun - (pc + 168)) >> 2)); \ + if (!gcc_p \ && (TYPE_CODE (type) == TYPE_CODE_STRUCT \ - || TYPE_CODE (type) == TYPE_CODE_UNION)) \ - *(int *)((char *) dummyname+176) = (TYPE_LENGTH (type) & 0x1fff); \ + || TYPE_CODE (type) == TYPE_CODE_UNION)) \ + store_unsigned_integer (dummyname + 176, 4, TYPE_LENGTH (type) & 0x1fff); \ } |