]> 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, 21 Oct 2025 19:40:06 +0000 (16:40 -0300)
commit3ae51cfeb79ea81838411aebac76606f20efd251
treea40e8b55552f1852415ed21bf3e204bc452dbd4e
parenta21a7ffce51c0c0fd8b22b8ff5153e363c0913d9
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, with one exception.

The global variables symnum and within_function were introduced to
coffread.c (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.

Approved-By: Tom Tromey <tom@tromey.com>
gdb/coffread.c