diff options
Diffstat (limited to 'gdb/gdbarch.c')
-rw-r--r-- | gdb/gdbarch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c index 25e4750..26dd404 100644 --- a/gdb/gdbarch.c +++ b/gdb/gdbarch.c @@ -4675,10 +4675,10 @@ deprecated_target_gdbarch_select_hack (struct gdbarch *new_gdbarch) registers_changed (); } -/* Helper for 'target_gdbarch'. */ +/* Return the current inferior's arch. */ struct gdbarch * -get_target_gdbarch (void) +target_gdbarch (void) { return current_inferior ()->gdbarch; } |