diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-03-08 16:32:07 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-03-08 16:32:07 +0000 |
commit | 2f89140dba7214f26e0104de2478ac8b723f3cf9 (patch) | |
tree | 9a35fc1f5123f11a8ebe0d48d8fcb90f56cdc87f /c/src/lib/libbsp/mips/shared/gdbstub/gdb_if.h | |
parent | 2002-03-05 Greg Menke <gregory.menke@gsfc.nasa.gov> (diff) | |
download | rtems-2f89140dba7214f26e0104de2478ac8b723f3cf9.tar.bz2 |
2001-03-05 Greg Menke <gregory.menke@gsfc.nasa.gov>
* mips-stub.c: Debugged & tweaked the gdb command processing,
zbreak stuff, breakpoint and step code. Implemented 'T' command
support and debugged remote gdb support w/ the Mongoose bsp.
Added the memory segment support.
* memlimits.h: Disabled all contents in favor of memory sement
support. This file could probably go away.
* rtems-stub-glue.c (rtems_gdb_index_to_stub_id()): New routine.
rtems_gdb_stub_get_register_from_context(): Implemented MIPS version.
rtems_gdb_stub_get_offsets(): Implemented MIPS version.
* README: Updated.
Diffstat (limited to 'c/src/lib/libbsp/mips/shared/gdbstub/gdb_if.h')
-rw-r--r-- | c/src/lib/libbsp/mips/shared/gdbstub/gdb_if.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/mips/shared/gdbstub/gdb_if.h b/c/src/lib/libbsp/mips/shared/gdbstub/gdb_if.h index 5f8e81601b..464bff8bef 100644 --- a/c/src/lib/libbsp/mips/shared/gdbstub/gdb_if.h +++ b/c/src/lib/libbsp/mips/shared/gdbstub/gdb_if.h @@ -49,6 +49,7 @@ const char* vhstr2int(const char *buf, int *ival); int hstr2byte(const char *buf, int *bval); int hstr2nibble(const char *buf, int *nibble); +Thread_Control *rtems_gdb_index_to_stub_id(int); int rtems_gdb_stub_thread_support_ok(void); int rtems_gdb_stub_get_current_thread(void); int rtems_gdb_stub_get_next_thread(int); @@ -159,4 +160,21 @@ void rtems_gdb_process_query( #define NUM_REGS 72 + + + + + +void mips_gdb_stub_install(int enableThreads) ; + + +#define MEMOPT_READABLE 1 +#define MEMOPT_WRITEABLE 2 + +#define NUM_MEMSEGS 10 + +int gdbstub_add_memsegment(unsigned,unsigned,int); + + + #endif /* _GDB_IF_H */ |