diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2008-11-18 21:30:37 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2008-11-18 21:30:37 +0000 |
commit | 00a0b122cf3b524243c3cea05101bacd5a1595ba (patch) | |
tree | ae53946a87294331d26ad6f53352322c14a4f60b /sim/ppc/debug.c | |
parent | 394a666683b04e52d011fdc548b2bc5e60091693 (diff) | |
download | gdb-00a0b122cf3b524243c3cea05101bacd5a1595ba.zip gdb-00a0b122cf3b524243c3cea05101bacd5a1595ba.tar.gz gdb-00a0b122cf3b524243c3cea05101bacd5a1595ba.tar.bz2 |
2008-11-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure: Regenerated.
* configure.ac: Add test for System V shared memory and semaphore.
* debug.c, debug.h: Add trace support for new devices.
* hw_sem.c, hw_shm.c: New files.
* Makefile.in: Add hw_sem.c and hw_shm.c.
Diffstat (limited to 'sim/ppc/debug.c')
-rw-r--r-- | sim/ppc/debug.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sim/ppc/debug.c b/sim/ppc/debug.c index 5931d1e..79dd47b 100644 --- a/sim/ppc/debug.c +++ b/sim/ppc/debug.c @@ -28,6 +28,9 @@ #ifdef HAVE_STDLIB_H #include <stdlib.h> #endif +#ifdef HAVE_STRING_H +#include <string.h> +#endif int ppc_trace[nr_trace_options]; @@ -70,6 +73,8 @@ static trace_option_descriptor trace_description[] = { { trace_pass_device, "pass-device" }, { trace_phb_device, "phb-device" }, { trace_register_device, "register-device", "Device initializing registers" }, + { trace_sem_device, "sem-device" }, + { trace_shm_device, "shm-device" }, { trace_stack_device, "stack-device" }, { trace_vm_device, "vm-device" }, /* packages */ |