projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
symtab.h (SYMTAB_LINETABLE): Renamed from LINETABLE. All uses updated.
[deliverable/binutils-gdb.git]
/
gdb
/
symtab.c
diff --git
a/gdb/symtab.c
b/gdb/symtab.c
index 5b00b1b3b4ce8b3e4c79d97c6c6049a358fa5ce1..58aa6e960c5e24a44e0c3f9dc64f285bd1cdd614 100644
(file)
--- a/
gdb/symtab.c
+++ b/
gdb/symtab.c
@@
-2329,7
+2329,7
@@
find_pc_sect_line (CORE_ADDR pc, struct obj_section *section, int notcurrent)
continue;
/* Find the best line in this symtab. */
continue;
/* Find the best line in this symtab. */
- l = LINETABLE (s);
+ l =
SYMTAB_
LINETABLE (s);
if (!l)
continue;
len = l->nitems;
if (!l)
continue;
len = l->nitems;
@@
-2469,7
+2469,7
@@
find_line_symtab (struct symtab *symtab, int line,
struct symtab *best_symtab;
/* First try looking it up in the given symtab. */
struct symtab *best_symtab;
/* First try looking it up in the given symtab. */
- best_linetable = LINETABLE (symtab);
+ best_linetable =
SYMTAB_
LINETABLE (symtab);
best_symtab = symtab;
best_index = find_line_common (best_linetable, line, &exact, 0);
if (best_index < 0 || !exact)
best_symtab = symtab;
best_index = find_line_common (best_linetable, line, &exact, 0);
if (best_index < 0 || !exact)
@@
-2511,7
+2511,7
@@
find_line_symtab (struct symtab *symtab, int line,
if (FILENAME_CMP (symtab_to_fullname (symtab),
symtab_to_fullname (s)) != 0)
continue;
if (FILENAME_CMP (symtab_to_fullname (symtab),
symtab_to_fullname (s)) != 0)
continue;
- l = LINETABLE (s);
+ l =
SYMTAB_
LINETABLE (s);
ind = find_line_common (l, line, &exact, 0);
if (ind >= 0)
{
ind = find_line_common (l, line, &exact, 0);
if (ind >= 0)
{
@@
-2561,13
+2561,14
@@
find_pcs_for_symtab_line (struct symtab *symtab, int line,
int was_exact;
int idx;
int was_exact;
int idx;
- idx = find_line_common (LINETABLE (symtab), line, &was_exact, start);
+ idx = find_line_common (SYMTAB_LINETABLE (symtab), line, &was_exact,
+ start);
if (idx < 0)
break;
if (!was_exact)
{
if (idx < 0)
break;
if (!was_exact)
{
- struct linetable_entry *item = &LINETABLE (symtab)->item[idx];
+ struct linetable_entry *item = &
SYMTAB_
LINETABLE (symtab)->item[idx];
if (*best_item == NULL || item->line < (*best_item)->line)
*best_item = item;
if (*best_item == NULL || item->line < (*best_item)->line)
*best_item = item;
@@
-2575,7
+2576,8
@@
find_pcs_for_symtab_line (struct symtab *symtab, int line,
break;
}
break;
}
- VEC_safe_push (CORE_ADDR, result, LINETABLE (symtab)->item[idx].pc);
+ VEC_safe_push (CORE_ADDR, result,
+ SYMTAB_LINETABLE (symtab)->item[idx].pc);
start = idx + 1;
}
start = idx + 1;
}
@@
-2600,7
+2602,7
@@
find_line_pc (struct symtab *symtab, int line, CORE_ADDR *pc)
symtab = find_line_symtab (symtab, line, &ind, NULL);
if (symtab != NULL)
{
symtab = find_line_symtab (symtab, line, &ind, NULL);
if (symtab != NULL)
{
- l = LINETABLE (symtab);
+ l =
SYMTAB_
LINETABLE (symtab);
*pc = l->item[ind].pc;
return 1;
}
*pc = l->item[ind].pc;
return 1;
}
@@
-2754,7
+2756,7
@@
skip_prologue_using_lineinfo (CORE_ADDR func_addr, struct symtab *symtab)
int i;
/* Give up if this symbol has no lineinfo table. */
int i;
/* Give up if this symbol has no lineinfo table. */
- l = LINETABLE (symtab);
+ l =
SYMTAB_
LINETABLE (symtab);
if (l == NULL)
return func_addr;
if (l == NULL)
return func_addr;
@@
-2995,7
+2997,7
@@
skip_prologue_using_sal (struct gdbarch *gdbarch, CORE_ADDR func_addr)
do this. */
if (prologue_sal.symtab->language != language_asm)
{
do this. */
if (prologue_sal.symtab->language != language_asm)
{
- struct linetable *linetable = LINETABLE (prologue_sal.symtab);
+ struct linetable *linetable =
SYMTAB_
LINETABLE (prologue_sal.symtab);
int idx = 0;
/* Skip any earlier lines, and any end-of-sequence marker
int idx = 0;
/* Skip any earlier lines, and any end-of-sequence marker
This page took
0.031226 seconds
and
4
git commands to generate.