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/annotate.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/annotate.c')
-rw-r--r-- | gdb/annotate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/annotate.c b/gdb/annotate.c index 4ac1b63..b84d8f0 100644 --- a/gdb/annotate.c +++ b/gdb/annotate.c @@ -448,7 +448,7 @@ annotate_source_line (struct symtab *s, int line, int mid_statement, return false; annotate_source (s->fullname, line, (int) (*offsets)[line - 1], - mid_statement, SYMTAB_OBJFILE (s)->arch (), + mid_statement, s->objfile ()->arch (), pc); /* Update the current symtab and line. */ |