summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/mips/shared/gdbstub/rtems-stub-glue.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-08-14 22:58:30 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-08-14 22:58:30 +0000
commita68128530cc39e10ef29c20c17f2e30900921b27 (patch)
tree34d7fd3c2e4415bce0fa6ad3147d5baab45a11f8 /c/src/lib/libbsp/mips/shared/gdbstub/rtems-stub-glue.c
parent2002-08-14 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-a68128530cc39e10ef29c20c17f2e30900921b27.tar.bz2
2002-08-14 Greg Menke <gregory.menke@gsfc.nasa.gov>
* mips-stub.c: Re-debugged a breakpoint problem, zbreak target address was a char * which caused the target instruction to not be fully copied, so the zbreak logic corrupted the original instruction and didn't insert a valid break instruction.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/mips/shared/gdbstub/rtems-stub-glue.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/mips/shared/gdbstub/rtems-stub-glue.c b/c/src/lib/libbsp/mips/shared/gdbstub/rtems-stub-glue.c
index 8d17911abf..f99a38f7b5 100644
--- a/c/src/lib/libbsp/mips/shared/gdbstub/rtems-stub-glue.c
+++ b/c/src/lib/libbsp/mips/shared/gdbstub/rtems-stub-glue.c
@@ -1392,6 +1392,13 @@ int rtems_gdb_stub_get_offsets(
)
{
/*
+** These are the right symbols for the desired addresses,
+** but giving them causes gdb to have fits, so we leave
+** the reported values as 0. Doesn't hurt the stub's
+** operation as far as I've observed.
+*/
+
+/*
extern unsigned32 _ftext;
extern unsigned32 _fdata;
extern unsigned32 _bss_start;