projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Change get_objfile_arch to a method on objfile
[deliverable/binutils-gdb.git]
/
gdb
/
source.c
diff --git
a/gdb/source.c
b/gdb/source.c
index 50de93952bb04a2568830b9224129786b6312695..7d22bbb5db34524ab4dbb599650b592855ef3c21 100644
(file)
--- a/
gdb/source.c
+++ b/
gdb/source.c
@@
-1499,8
+1499,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
- = get_objfile_arch (SYMTAB_OBJFILE (sal.symtab));
+ struct gdbarch *gdbarch = SYMTAB_OBJFILE (sal.symtab)->arch ();
if (start_pc == end_pc)
{
This page took
0.023877 seconds
and
4
git commands to generate.