aboutsummaryrefslogtreecommitdiff
path: root/gdb/mdebugread.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2023-03-20 16:03:05 -0600
committerTom Tromey <tom@tromey.com>2023-03-28 15:12:44 -0600
commit93d50cd8f0b59aed37a3a0e69155dd34d5a3c1f1 (patch)
tree6b6b260ef4e16838bc8a0a6df54c37a827bfd37f /gdb/mdebugread.c
parent9675da25357c7a3f472731ddc6eb3becc65b469a (diff)
downloadgdb-93d50cd8f0b59aed37a3a0e69155dd34d5a3c1f1.zip
gdb-93d50cd8f0b59aed37a3a0e69155dd34d5a3c1f1.tar.gz
gdb-93d50cd8f0b59aed37a3a0e69155dd34d5a3c1f1.tar.bz2
Rename "raw" to "unrelocated"
Per an earlier discussion, this patch renames the existing "raw" APIs to use the word "unrelocated" instead.
Diffstat (limited to 'gdb/mdebugread.c')
-rw-r--r--gdb/mdebugread.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gdb/mdebugread.c b/gdb/mdebugread.c
index 8faf482..697ce0b 100644
--- a/gdb/mdebugread.c
+++ b/gdb/mdebugread.c
@@ -2659,7 +2659,7 @@ parse_partial_symbols (minimal_symbol_reader &reader,
psymtab_language = prev_language;
PST_PRIVATE (pst)->pst_language = psymtab_language;
- pst->set_text_high (pst->raw_text_low ());
+ pst->set_text_high (pst->unrelocated_text_low ());
/* For stabs-in-ecoff files, the second symbol must be @stab.
This symbol is emitted by mips-tfile to signal that the
@@ -2726,9 +2726,9 @@ parse_partial_symbols (minimal_symbol_reader &reader,
/* Kludge for Irix 5.2 zero fh->adr. */
if (!relocatable
&& (!pst->text_low_valid
- || procaddr < pst->raw_text_low ()))
+ || procaddr < pst->unrelocated_text_low ()))
pst->set_text_low (procaddr);
- if (high > pst->raw_text_high ())
+ if (high > pst->unrelocated_text_high ())
pst->set_text_high (high);
}
}
@@ -3319,7 +3319,7 @@ parse_partial_symbols (minimal_symbol_reader &reader,
{
unrelocated_addr unrel_value
= unrelocated_addr (sh.value);
- if (unrel_value > save_pst->raw_text_high ())
+ if (unrel_value > save_pst->unrelocated_text_high ())
save_pst->set_text_high (unrel_value);
}
continue;
@@ -3511,11 +3511,11 @@ parse_partial_symbols (minimal_symbol_reader &reader,
/* Kludge for Irix 5.2 zero fh->adr. */
if (!relocatable
&& (!pst->text_low_valid
- || procaddr < pst->raw_text_low ()))
+ || procaddr < pst->unrelocated_text_low ()))
pst->set_text_low (procaddr);
high = unrelocated_addr (CORE_ADDR (procaddr) + sh.value);
- if (high > pst->raw_text_high ())
+ if (high > pst->unrelocated_text_high ())
pst->set_text_high (high);
continue;
@@ -3696,7 +3696,7 @@ parse_partial_symbols (minimal_symbol_reader &reader,
fdr_to_pst[f_idx].pst
= dbx_end_psymtab (objfile, partial_symtabs, save_pst,
psymtab_include_list, includes_used,
- -1, save_pst->raw_text_high (),
+ -1, save_pst->unrelocated_text_high (),
dependency_list, dependencies_used,
textlow_not_set);
includes_used = 0;