]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb: Remove stabs support for COFF files
authorGuinevere Larsen <guinevere@redhat.com>
Tue, 28 Jan 2025 11:47:02 +0000 (08:47 -0300)
committerGuinevere Larsen <guinevere@redhat.com>
Tue, 28 Jan 2025 19:23:50 +0000 (16:23 -0300)
commit5ea8dbaf4c6853da3a5cf3378594042c9412fc0c
tree11c6bcdbaad652aa83d9a228b7e369bf3d2f000d
parent58a2b23c5353b467325825fa9447a3636522feb1
gdb: Remove stabs support for COFF files

This commit continues the removal of stabs by removing support from coff
inferiors. This is trivial for the most part, just a removal of code
setting things only relevant for stabs. A couple of things could do with
some explanations:

The global variables symnum and within_function were kept (and
within_function was converted to boolean). I looked into making them
parameters to the relevant function, but this would require changes to
several otherwise untouched functions, so I kept them as globals
instead.

Reading coff debuginfo also uses a symbol chain similar to stabsread's
global_sym_chain. WIP: NEED TO FIX THIS PART.
gdb/coffread.c