diff options
author | Markus Deuling <deuling@de.ibm.com> | 2008-01-16 04:56:34 +0000 |
---|---|---|
committer | Markus Deuling <deuling@de.ibm.com> | 2008-01-16 04:56:34 +0000 |
commit | d15cf01ce69cf0a35bd024691db9a4ec13525887 (patch) | |
tree | efe63723056bf08267664e3eb57580031490725c /gdb/mn10300-tdep.h | |
parent | f8028488ab18db040894f2e616282d8bbb4aed1f (diff) | |
download | gdb-d15cf01ce69cf0a35bd024691db9a4ec13525887.zip gdb-d15cf01ce69cf0a35bd024691db9a4ec13525887.tar.gz gdb-d15cf01ce69cf0a35bd024691db9a4ec13525887.tar.bz2 |
* mn10300-tdep.h (AM33_MODE): Add gdbarch as parameter.
* mn10300-tdep.c (set_reg_offsets, mn10300_analyze_prologue): Use
get_frame_arch to get at the current_architecture. Update AM33_MODE
call.
(mn10300_analyze_prologue): Add gdbarch as parameter. Update caller.
(mn10300_frame_unwind_cache): Use get_frame_arch to get at the current
architecture.
(set_reg_offsets, mn10300_analyze_prologue): Fix indentation.
Diffstat (limited to 'gdb/mn10300-tdep.h')
-rw-r--r-- | gdb/mn10300-tdep.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/mn10300-tdep.h b/gdb/mn10300-tdep.h index e42425a..533b2de 100644 --- a/gdb/mn10300-tdep.h +++ b/gdb/mn10300-tdep.h @@ -77,4 +77,4 @@ struct gdbarch_tdep int am33_mode; }; -#define AM33_MODE (gdbarch_tdep (current_gdbarch)->am33_mode) +#define AM33_MODE(gdbarch) (gdbarch_tdep (gdbarch)->am33_mode) |