projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* blockframe.c (find_pc_partial_function_gnu_ifunc): Change type of
[deliverable/binutils-gdb.git]
/
gdb
/
frame-base.c
diff --git
a/gdb/frame-base.c
b/gdb/frame-base.c
index 501b2aa0667ca7b81758a13967339d0ffa4e5d65..7224714f221ef5589f38a80ca1049d468627e1b9 100644
(file)
--- a/
gdb/frame-base.c
+++ b/
gdb/frame-base.c
@@
-1,6
+1,6
@@
/* Definitions for frame address handler, for GDB, the GNU debugger.
/* Definitions for frame address handler, for GDB, the GNU debugger.
- Copyright (C) 2003
, 2004, 2007, 2008, 2009
Free Software Foundation, Inc.
+ Copyright (C) 2003
-2004, 2007-2012
Free Software Foundation, Inc.
This file is part of GDB.
This file is part of GDB.
@@
-72,6
+72,7
@@
frame_base_init (struct obstack *obstack)
{
struct frame_base_table *table
= OBSTACK_ZALLOC (obstack, struct frame_base_table);
{
struct frame_base_table *table
= OBSTACK_ZALLOC (obstack, struct frame_base_table);
+
table->tail = &table->head;
table->default_base = &default_frame_base;
return table;
table->tail = &table->head;
table->default_base = &default_frame_base;
return table;
@@
-82,7
+83,9
@@
frame_base_append_sniffer (struct gdbarch *gdbarch,
frame_base_sniffer_ftype *sniffer)
{
struct frame_base_table *table = gdbarch_data (gdbarch, frame_base_data);
frame_base_sniffer_ftype *sniffer)
{
struct frame_base_table *table = gdbarch_data (gdbarch, frame_base_data);
- (*table->tail) = GDBARCH_OBSTACK_ZALLOC (gdbarch, struct frame_base_table_entry);
+
+ (*table->tail)
+ = GDBARCH_OBSTACK_ZALLOC (gdbarch, struct frame_base_table_entry);
(*table->tail)->sniffer = sniffer;
table->tail = &(*table->tail)->next;
}
(*table->tail)->sniffer = sniffer;
table->tail = &(*table->tail)->next;
}
@@
-92,6
+95,7
@@
frame_base_set_default (struct gdbarch *gdbarch,
const struct frame_base *default_base)
{
struct frame_base_table *table = gdbarch_data (gdbarch, frame_base_data);
const struct frame_base *default_base)
{
struct frame_base_table *table = gdbarch_data (gdbarch, frame_base_data);
+
table->default_base = default_base;
}
table->default_base = default_base;
}
@@
-105,6
+109,7
@@
frame_base_find_by_frame (struct frame_info *this_frame)
for (entry = table->head; entry != NULL; entry = entry->next)
{
const struct frame_base *desc = NULL;
for (entry = table->head; entry != NULL; entry = entry->next)
{
const struct frame_base *desc = NULL;
+
desc = entry->sniffer (this_frame);
if (desc != NULL)
return desc;
desc = entry->sniffer (this_frame);
if (desc != NULL)
return desc;
This page took
0.023949 seconds
and
4
git commands to generate.