summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2004-01-26 06:07:33 +0000
committerobrien <obrien@FreeBSD.org>2004-01-26 06:07:33 +0000
commita995bcea9dfc0cca09d466261c261c10d46a6d1a (patch)
tree859c9a40e7981546b5749b9cf4309d2d26b0f84f /gnu
parent88bf7650cffbdc73856f4503c7db3a0dc993a172 (diff)
downloadFreeBSD-src-a995bcea9dfc0cca09d466261c261c10d46a6d1a.zip
FreeBSD-src-a995bcea9dfc0cca09d466261c261c10d46a6d1a.tar.gz
Follow existing GDB style for frame_info vars.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/binutils/gdb/kvm-fbsd.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gnu/usr.bin/binutils/gdb/kvm-fbsd.c b/gnu/usr.bin/binutils/gdb/kvm-fbsd.c
index 01d2528..f8d5187 100644
--- a/gnu/usr.bin/binutils/gdb/kvm-fbsd.c
+++ b/gnu/usr.bin/binutils/gdb/kvm-fbsd.c
@@ -442,13 +442,13 @@ ksym_maxuseraddr (void)
enum frametype { tf_normal, tf_trap, tf_interrupt, tf_syscall };
CORE_ADDR
-fbsd_kern_frame_saved_pc (struct frame_info *fr)
+fbsd_kern_frame_saved_pc (struct frame_info *fi)
{
struct minimal_symbol *sym;
CORE_ADDR this_saved_pc;
enum frametype frametype;
- this_saved_pc = read_memory_integer (fr->frame + 4, 4);
+ this_saved_pc = read_memory_integer (fi->frame + 4, 4);
sym = lookup_minimal_symbol_by_pc (this_saved_pc);
frametype = tf_normal;
if (sym != NULL)
@@ -473,13 +473,13 @@ fbsd_kern_frame_saved_pc (struct frame_info *fr)
#define oEIP offsetof (struct trapframe, tf_eip)
case tf_trap:
- return (read_memory_integer (fr->frame + 8 + oEIP, 4));
+ return (read_memory_integer (fi->frame + 8 + oEIP, 4));
case tf_interrupt:
- return (read_memory_integer (fr->frame + 12 + oEIP, 4));
+ return (read_memory_integer (fi->frame + 12 + oEIP, 4));
case tf_syscall:
- return (read_memory_integer (fr->frame + 8 + oEIP, 4));
+ return (read_memory_integer (fi->frame + 8 + oEIP, 4));
#undef oEIP
}
}
OpenPOWER on IntegriCloud