aboutsummaryrefslogtreecommitdiff
path: root/gdb/python
diff options
context:
space:
mode:
authorGuinevere Larsen <guinevere@redhat.com>2024-09-09 15:06:29 -0300
committerGuinevere Larsen <guinevere@redhat.com>2024-09-20 17:02:09 -0300
commit64a1f185b376c83278d1fe2ef0ad8a79aeffcb24 (patch)
tree48d97e9d16b4f89210bbf25f9652437ee2516fc3 /gdb/python
parent5b64a6127f9898e45374de4fe76e3538b3ada532 (diff)
downloadbinutils-64a1f185b376c83278d1fe2ef0ad8a79aeffcb24.zip
binutils-64a1f185b376c83278d1fe2ef0ad8a79aeffcb24.tar.gz
binutils-64a1f185b376c83278d1fe2ef0ad8a79aeffcb24.tar.bz2
gdb: Move dbx_end_psymtab to stabsread, and rename to stabs_end_psymtab
This function is used by multiple stabs readers (even if not all), and the comment in stabsread.h even acknowledges it. I believe that the comment is incorrect in saying that the function should be in dbxread because not everyone uses it. If any one reader other than dbx uses it, the function should be in stabsread, in my opinion. This commit makes also renames the function to stabs_end_psymtab since, again, this is not specific to dbx/aout format. struct symloc had to be moved because stabs_end_psymtab dereferences symloc objects, so stabsread.c must be aware of the full struct. Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/python')
0 files changed, 0 insertions, 0 deletions