Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH 0/2] Internal error for shared library with no .text section
@ 2026-04-15 20:25 Andrew Burgess
  2026-04-15 20:25 ` [PATCH 1/2] gdb: int to bool in struct entry_info Andrew Burgess
  2026-04-15 20:25 ` [PATCH 2/2] gdb: don't use .text as default entry point section Andrew Burgess
  0 siblings, 2 replies; 3+ messages in thread
From: Andrew Burgess @ 2026-04-15 20:25 UTC (permalink / raw)
  To: gdb-patches; +Cc: Andrew Burgess

A Fedora GDB user ran into an issue with a shared library that had no
.text section triggering an internal error from GDB.

Patch #1 is a small refactor.

Patch #2 addresses the issue.

Thanks,
Andrew


---

Andrew Burgess (2):
  gdb: int to bool in struct entry_info
  gdb: don't use .text as default entry point section

 gdb/objfiles.h                                |  8 +-
 gdb/symfile.c                                 | 19 ++--
 .../gdb.base/bad-solib-entry-addr-lib.s       | 33 +++++++
 gdb/testsuite/gdb.base/bad-solib-entry-addr.c | 22 +++++
 .../gdb.base/bad-solib-entry-addr.exp         | 95 +++++++++++++++++++
 5 files changed, 165 insertions(+), 12 deletions(-)
 create mode 100644 gdb/testsuite/gdb.base/bad-solib-entry-addr-lib.s
 create mode 100644 gdb/testsuite/gdb.base/bad-solib-entry-addr.c
 create mode 100644 gdb/testsuite/gdb.base/bad-solib-entry-addr.exp


base-commit: cc4600477f621c764011b8e2f5bf1a2ebcffb61a
-- 
2.25.4


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-04-15 20:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-04-15 20:25 [PATCH 0/2] Internal error for shared library with no .text section Andrew Burgess
2026-04-15 20:25 ` [PATCH 1/2] gdb: int to bool in struct entry_info Andrew Burgess
2026-04-15 20:25 ` [PATCH 2/2] gdb: don't use .text as default entry point section Andrew Burgess

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox