diff options
author | Guinevere Larsen <guinevere@redhat.com> | 2024-09-10 14:42:30 -0300 |
---|---|---|
committer | Guinevere Larsen <guinevere@redhat.com> | 2024-09-20 17:02:16 -0300 |
commit | 59d41830a3dae0120e0d223f91241ad40e7ca737 (patch) | |
tree | 89846ba9d94da9c70b67af6b46c1a9c1f51d4d82 /gdb/python/py-cmd.c | |
parent | 3cd1748a7d156dcf7cdaed0a7f6dede6eebbcc11 (diff) | |
download | binutils-59d41830a3dae0120e0d223f91241ad40e7ca737.zip binutils-59d41830a3dae0120e0d223f91241ad40e7ca737.tar.gz binutils-59d41830a3dae0120e0d223f91241ad40e7ca737.tar.bz2 |
gdb: fully separate coff and elf reading from dbx
With the previous commits, the only thing entangling elf and coff file
reading with dbx file reading is the functions
{elf|coff}stab_build_psymtabs, defined in dbxread.c. These functions
depend on dbx_symfile_read.
To solve this, I renamed read_stabs_symtab to read_stabs_symtab_1, and
created a function with the original name that does what
dbx_symfile_read used to do.
This way, dbx_symfile_read can just call read_stabs_symtab, and the elf
and coff psymtab builders can also call it directly, fully disentangling
the readers, which would allow us to selectively not compile dbxread in
the future.
Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/python/py-cmd.c')
0 files changed, 0 insertions, 0 deletions