diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2021-11-20 21:54:11 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2022-02-06 16:03:46 -0500 |
commit | 652099717dbb767c9d3eaed4c533486dd99d5e5b (patch) | |
tree | 1165879a9bb9e6d433559addb0e492e602d7c4c5 /gdb/source.c | |
parent | 012cfab919e7da355b2ac7f86674211cbce26041 (diff) | |
download | gdb-652099717dbb767c9d3eaed4c533486dd99d5e5b.zip gdb-652099717dbb767c9d3eaed4c533486dd99d5e5b.tar.gz gdb-652099717dbb767c9d3eaed4c533486dd99d5e5b.tar.bz2 |
gdb: remove SYMTAB_OBJFILE macro
Remove the macro, replace with an equivalent method.
Change-Id: I8f9ecd290ad28502e53c1ceca5006ba78bf042eb
Diffstat (limited to 'gdb/source.c')
-rw-r--r-- | gdb/source.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/source.c b/gdb/source.c index e99fff8..d184990 100644 --- a/gdb/source.c +++ b/gdb/source.c @@ -1559,7 +1559,7 @@ info_line_command (const char *arg, int from_tty) else if (sal.line > 0 && find_line_pc_range (sal, &start_pc, &end_pc)) { - struct gdbarch *gdbarch = SYMTAB_OBJFILE (sal.symtab)->arch (); + struct gdbarch *gdbarch = sal.symtab->objfile ()->arch (); if (start_pc == end_pc) { |