aboutsummaryrefslogtreecommitdiff
path: root/gdb/gcore.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/gcore.c
parent76e713237b3bb87b52b7716262a63fefd4a7f0bf (diff)
downloadfsf-binutils-gdb-4d1e7dd175a53ab96cccf4539cef4576af758ddc.zip
fsf-binutils-gdb-4d1e7dd175a53ab96cccf4539cef4576af758ddc.tar.gz
fsf-binutils-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/gcore.c')
-rw-r--r--gdb/gcore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gcore.c b/gdb/gcore.c
index 46d2aac..21280bb 100644
--- a/gdb/gcore.c
+++ b/gdb/gcore.c
@@ -187,7 +187,7 @@ derive_stack_segment (bfd_vma *bottom, bfd_vma *top)
/* Save frame pointer of TOS frame. */
*top = get_frame_base (fi);
/* If current stack pointer is more "inner", use that instead. */
- if (INNER_THAN (get_frame_sp (fi), *top))
+ if (gdbarch_inner_than (current_gdbarch, get_frame_sp (fi), *top))
*top = get_frame_sp (fi);
/* Find prev-most frame. */