diff options
author | Stu Grossman <grossman@cygnus> | 1993-09-22 15:23:53 +0000 |
---|---|---|
committer | Stu Grossman <grossman@cygnus> | 1993-09-22 15:23:53 +0000 |
commit | b1eaba9ac4cd19372b06a7abba451eb8738be0bb (patch) | |
tree | fbdd3cd19d2958a8a413833957646a7f990718ca /gdb/config/i386/nm-i386lynx.h | |
parent | bdb45162af47446ac76ee0d5db2ceecb1a9058a7 (diff) | |
download | gdb-b1eaba9ac4cd19372b06a7abba451eb8738be0bb.zip gdb-b1eaba9ac4cd19372b06a7abba451eb8738be0bb.tar.gz gdb-b1eaba9ac4cd19372b06a7abba451eb8738be0bb.tar.bz2 |
* Makefile.in: Add i386lynx-tdep to the right places.
(TARDIRS): Add gdbserver.
* exec.c (print_section_info): Print entry point.
* i386lynx-nat.c (i386lynx_saved_pc_after_call): Move into
i386lynx-tdep.c. Add core file support.
* i386lynx-tdep.c: New module for Lynx/386 target dependant code.
* maint.c: Add `maint info sections' command to print info about all
sections that BFD knows about for exec and core files.
* sparc-tdep.c (sparc_push_dummy_frame): Update stack pointer
before putting frame on the stack. Consolidate writes to reduce
traffic for remote debugging.
* config/i386/i386lynx.mh (NATDEPFILES): Remove exec.o.
* config/i386/i386lynx.mt (TDEPFILES): Add exec.o, i386lynx-tdep.o.
* config/i386/nm-i386lynx.h: Add target_pid_to_str().
* config/i386/tm-i386lynx.h: Remove target_pid_to_str().
* sparclite/Makefile.in: Add deps to keep Sun make happy.
Diffstat (limited to 'gdb/config/i386/nm-i386lynx.h')
-rw-r--r-- | gdb/config/i386/nm-i386lynx.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/config/i386/nm-i386lynx.h b/gdb/config/i386/nm-i386lynx.h index 3a2d318..e67ec1d 100644 --- a/gdb/config/i386/nm-i386lynx.h +++ b/gdb/config/i386/nm-i386lynx.h @@ -20,6 +20,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #ifndef NM_I386LYNX_H #define NM_I386LYNX_H +#include <sys/conf.h> #include <sys/kernel.h> #include <sys/mem.h> #include <sys/signal.h> @@ -55,4 +56,13 @@ i386_register_u_addr PARAMS ((int, int)); #define CHILD_WAIT extern int child_wait PARAMS ((int *status)); +/* Lynx needs a special definition of this so that we can + print out the pid and thread number seperatly. */ + +#undef target_pid_to_str + +#define target_pid_to_str(PID) \ + i386lynx_pid_to_str (PID) +extern char *i386lynx_pid_to_str PARAMS ((int pid)); + #endif /* NM_I386LYNX_H */ |