aboutsummaryrefslogtreecommitdiff
path: root/gdb/ada-lang.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2007-06-06 15:26:28 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2007-06-06 15:26:28 +0000
commit4d1e7dd175a53ab96cccf4539cef4576af758ddc (patch)
tree09f89c936198bbe260ea7d879aa9f3f71081870a /gdb/ada-lang.c
parent76e713237b3bb87b52b7716262a63fefd4a7f0bf (diff)
downloadgdb-4d1e7dd175a53ab96cccf4539cef4576af758ddc.zip
gdb-4d1e7dd175a53ab96cccf4539cef4576af758ddc.tar.gz
gdb-4d1e7dd175a53ab96cccf4539cef4576af758ddc.tar.bz2
2007-06-06 Markus Deuling <deuling@de.ibm.com>
* gdbarch.sh (INNER_THAN): Replace by gdbarch_inner_than. * infcall.c (call_function_by_hand): Likewise. * gcore.c (derive_stack_segment): Likewise. * frame.c (frame_id_inner): Likewise. * arch-utils.c (core_addr_lessthan): Likewise (comment). * ada-lang.c (ensure_lval): Likewise. * gdbarch.c, gdbarch.h: Regenerate.
Diffstat (limited to 'gdb/ada-lang.c')
-rw-r--r--gdb/ada-lang.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c
index 134768f..f79f727 100644
--- a/gdb/ada-lang.c
+++ b/gdb/ada-lang.c
@@ -3634,7 +3634,7 @@ ensure_lval (struct value *val, CORE_ADDR *sp)
/* The following is taken from the structure-return code in
call_function_by_hand. FIXME: Therefore, some refactoring seems
indicated. */
- if (INNER_THAN (1, 2))
+ if (gdbarch_inner_than (current_gdbarch, 1, 2))
{
/* Stack grows downward. Align SP and VALUE_ADDRESS (val) after
reserving sufficient space. */