diff options
author | Stu Grossman <grossman@cygnus> | 1996-05-15 01:09:57 +0000 |
---|---|---|
committer | Stu Grossman <grossman@cygnus> | 1996-05-15 01:09:57 +0000 |
commit | 9b33e492d6327edb62715d91c9ed22e6d5347ab8 (patch) | |
tree | 90bbec038d2718a2124dbb5f0cd797be788a2636 /gdb/config/sparc/tm-sun4sol2.h | |
parent | ff60fc3aec91ce8505e9e450df932c44149fb7a6 (diff) | |
download | gdb-9b33e492d6327edb62715d91c9ed22e6d5347ab8.zip gdb-9b33e492d6327edb62715d91c9ed22e6d5347ab8.tar.gz gdb-9b33e492d6327edb62715d91c9ed22e6d5347ab8.tar.bz2 |
* procfs.c (procfs_thread_alive procfs_stop): Make static.
* (procfs_pid_to_str): New routine to print out thread id's in an
intelligible manner.
* sol-thread.c (sol_thread_fetch_registers): Re-order manner in
which supply_register is called to fix bug with writing writing
individual regs.
* config/sparc/tm-sun4sol2.h: Define default for
target_pid_to_str in case host lacks libthread_db.
Diffstat (limited to 'gdb/config/sparc/tm-sun4sol2.h')
-rw-r--r-- | gdb/config/sparc/tm-sun4sol2.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/config/sparc/tm-sun4sol2.h b/gdb/config/sparc/tm-sun4sol2.h index 8a2a0e6..dcfe792 100644 --- a/gdb/config/sparc/tm-sun4sol2.h +++ b/gdb/config/sparc/tm-sun4sol2.h @@ -81,4 +81,9 @@ extern char *sunpro_static_transform_name PARAMS ((char *)); extern char *solaris_pid_to_str PARAMS ((int pid)); #define target_pid_to_str(PID) solaris_pid_to_str (PID) +#else + +extern char *procfs_pid_to_str PARAMS ((int pid)); +#define target_pid_to_str(PID) procfs_pid_to_str (PID) + #endif |