diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2007-10-12 16:13:20 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2007-10-12 16:13:20 +0000 |
commit | 62f6180c256958f8bae44944f3db2b13f897631b (patch) | |
tree | 18e70ab9035e94f79c41fd32a989dde1dc4defa1 /gdb/mdebugread.c | |
parent | ee53e8729a3de34db1558b06f97437517b203b8c (diff) | |
download | gdb-62f6180c256958f8bae44944f3db2b13f897631b.zip gdb-62f6180c256958f8bae44944f3db2b13f897631b.tar.gz gdb-62f6180c256958f8bae44944f3db2b13f897631b.tar.bz2 |
* alpha-mdebug-tdep.c: Include "gdb_string.h".
(find_proc_desc): Add fix-up code for setjmp procedure descriptor.
* mdebugread.c (parse_procedure): Remove setjmp fix-up code.
* Makefile.in (alpha-mdebug-tdep.o): Update dependencies.
* config/alpha/alpha.mt (DEPRECATED_TM_FILE): Remove.
* config/alpha/alpha-linux.mt (DEPRECATED_TM_FILE): Remove.
* config/alpha/alpha-osf1.mt (DEPRECATED_TM_FILE): Remove.
* config/alpha/fbsd.mt (DEPRECATED_TM_FILE): Remove.
* config/alpha/tm-alpha.h: Remove file.
Diffstat (limited to 'gdb/mdebugread.c')
-rw-r--r-- | gdb/mdebugread.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/gdb/mdebugread.c b/gdb/mdebugread.c index 897c596..c9cc260 100644 --- a/gdb/mdebugread.c +++ b/gdb/mdebugread.c @@ -1942,21 +1942,6 @@ parse_procedure (PDR *pr, struct symtab *search_symtab, To work around these problems, we replace e->pdr.adr with the start address of the function. */ e->pdr.adr = BLOCK_START (b); - - /* Correct incorrect setjmp procedure descriptor from the library - to make backtrace through setjmp work. */ - if (e->pdr.pcreg == 0 - && strcmp (sh_name, "setjmp") == 0) - { - complaint (&symfile_complaints, _("fixing bad setjmp PDR from libc")); -#ifdef RA_REGNUM - e->pdr.pcreg = RA_REGNUM; -#else - e->pdr.pcreg = 0; -#endif - e->pdr.regmask = 0x80000000; - e->pdr.regoffset = -4; - } } /* It would be reasonable that functions that have been compiled |