diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2007-06-12 16:59:43 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2007-06-12 16:59:43 +0000 |
commit | 055d23b8abcdb4b33bf0b2f7d0a8ef49b066f060 (patch) | |
tree | ef5c37e32b2ae0d817e967593f927cb3204a24c8 /gdb/mdebugread.c | |
parent | 260edbc2caedd55298a64621088983551dfd208c (diff) | |
download | gdb-055d23b8abcdb4b33bf0b2f7d0a8ef49b066f060.zip gdb-055d23b8abcdb4b33bf0b2f7d0a8ef49b066f060.tar.gz gdb-055d23b8abcdb4b33bf0b2f7d0a8ef49b066f060.tar.bz2 |
2007-06-12 Markus Deuling <deuling@de.ibm.com>
* gdbarch.sh (STAB_REG_TO_REGNUM): Replace by
gdbarch_stab_reg_to_regnum.
* stabsread.c (define_symbol): Likewise.
* gdbarch.sh (ECOFF_REG_TO_REGNUM): Replace by
gdbarch_ecoff_reg_to_regnum.
* mdebugread.c (parse_symbol): Likewise.
* i386-tdep.c (i386_gdbarch_init): Likewise (comment).
* gdbarch.sh (DWARF_REG_TO_REGNUM): Replace by
gdbarch_dwarf_reg_to_regnum.
* gdbarch.sh (SDB_REG_TO_REGNUM): Replace by gdbarch_sdb_reg_to_regnum.
* coffread.c (process_coff_symbol): Likewise.
* gdbarch.sh (DWARF2_REG_TO_REGNUM): Replace by
gdbarch_dwarf2_reg_to_regnum.
* dwarf2loc.c (dwarf_expr_read_reg,dwarf2_evaluate_loc_desc)
(locexpr_describe_location): Likewise.
* dwarf2-frame.c (read_reg,execute_cfa_program,dwarf2_frame_cache)
(dwarf2_frame_prev_register,dwarf2_signal_frame_this_id): Likewise.
* dwarf2loc.c (DWARF2_REG_TO_REGNUM): Remove macro.
* dwarf2read.c (DWARF2_REG_TO_REGNUM): Remove macro.
* gdbarch.c, gdbarch.h: Regenerate.
Diffstat (limited to 'gdb/mdebugread.c')
-rw-r--r-- | gdb/mdebugread.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/mdebugread.c b/gdb/mdebugread.c index 67c49e5..8fade1e 100644 --- a/gdb/mdebugread.c +++ b/gdb/mdebugread.c @@ -644,7 +644,7 @@ parse_symbol (SYMR *sh, union aux_ext *ax, char *ext_sh, int bigend, if (sh->sc == scRegister) { class = LOC_REGISTER; - svalue = ECOFF_REG_TO_REGNUM (svalue); + svalue = gdbarch_ecoff_reg_to_regnum (current_gdbarch, svalue); } else class = LOC_LOCAL; @@ -682,7 +682,7 @@ parse_symbol (SYMR *sh, union aux_ext *ax, char *ext_sh, int bigend, case scRegister: /* Pass by value in register. */ SYMBOL_CLASS (s) = LOC_REGPARM; - svalue = ECOFF_REG_TO_REGNUM (svalue); + svalue = gdbarch_ecoff_reg_to_regnum (current_gdbarch, svalue); break; case scVar: /* Pass by reference on stack. */ @@ -691,7 +691,7 @@ parse_symbol (SYMR *sh, union aux_ext *ax, char *ext_sh, int bigend, case scVarRegister: /* Pass by reference in register. */ SYMBOL_CLASS (s) = LOC_REGPARM_ADDR; - svalue = ECOFF_REG_TO_REGNUM (svalue); + svalue = gdbarch_ecoff_reg_to_regnum (current_gdbarch, svalue); break; default: /* Pass by value on stack. */ |