diff options
author | Jim Blandy <jimb@codesourcery.com> | 2003-06-13 23:03:59 +0000 |
---|---|---|
committer | Jim Blandy <jimb@codesourcery.com> | 2003-06-13 23:03:59 +0000 |
commit | 830ba71c0b627f0db2a0a655d207e0984fbf21c5 (patch) | |
tree | 3c23d5ec74738c1f5cf08d133c86b23e844d09b6 /gdb/tracepoint.c | |
parent | 02660e8c4bd2ee15517d33712a0cd632e521a066 (diff) | |
download | gdb-830ba71c0b627f0db2a0a655d207e0984fbf21c5.tar.gz |
* ppc-linux-tdep.c (ppc64_desc_entry_point): New function.
(ppc64_standard_linkage_target): Use it.
Diffstat (limited to 'gdb/tracepoint.c')
-rw-r--r-- | gdb/tracepoint.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c index 17ee07c898d..3b1cfd54424 100644 --- a/gdb/tracepoint.c +++ b/gdb/tracepoint.c @@ -38,6 +38,7 @@ #include "completer.h" #include "gdb-events.h" #include "block.h" +#include "dictionary.h" #include "ax.h" #include "ax-gdb.h" @@ -1289,13 +1290,14 @@ add_local_symbols (struct collection_list *collect, CORE_ADDR pc, { struct symbol *sym; struct block *block; - int i, count = 0; + struct dict_iterator iter; + int count = 0; block = block_for_pc (pc); while (block != 0) { QUIT; /* allow user to bail out with ^C */ - ALL_BLOCK_SYMBOLS (block, i, sym) + ALL_BLOCK_SYMBOLS (block, iter, sym) { switch (SYMBOL_CLASS (sym)) { @@ -2333,7 +2335,8 @@ scope_info (char *args, int from_tty) struct minimal_symbol *msym; struct block *block; char **canonical, *symname, *save_args = args; - int i, j, count = 0; + struct dict_iterator iter; + int j, count = 0; if (args == 0 || *args == 0) error ("requires an argument (function, line or *addr) to define a scope"); @@ -2349,7 +2352,7 @@ scope_info (char *args, int from_tty) while (block != 0) { QUIT; /* allow user to bail out with ^C */ - ALL_BLOCK_SYMBOLS (block, i, sym) + ALL_BLOCK_SYMBOLS (block, iter, sym) { QUIT; /* allow user to bail out with ^C */ if (count == 0) |