Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH v4 0/1] gdb: remove minimal symbol check in 'start_command'
@ 2025-01-27 15:42 Stephan Rohr
  2025-01-27 15:42 ` [PATCH v4 1/1] gdb: remove check for minimal symbols " Stephan Rohr
  0 siblings, 1 reply; 7+ messages in thread
From: Stephan Rohr @ 2025-01-27 15:42 UTC (permalink / raw)
  To: gdb-patches; +Cc: eliz, guinevere, tom

Hello,

this is version 4 of my patch fixing the 'start' command for a specific
scenario on Windows.  

Based on the discussion from version 3 [1], I decided to remove the
minimal symbols check completely.  The motiviation for this is:

  * Adding a try / catch block in 'tbreak' or in 'run_command_1' is not straight
    forward.  If 'main' cannot be resolved, a 'NOT_FOUND_ERROR' is thrown.
  * A 'No symbol table is loaded.  Use the "file" command' error is printed.
  * The error is consumed in 'create_breakpoint' and the user may insert a 
    pending breakpoint.  The error only rethrown if pending breakpoints are not
    supported.

I appreciate your feedback.

Stephan

[1]: https://sourceware.org/pipermail/gdb-patches/2025-January/214603.html
     https://sourceware.org/pipermail/gdb-patches/2025-January/214732.html

Rohr, Stephan (1):
  gdb: remove check for minimal symbols in 'start_command'

 gdb/infcmd.c | 6 ------
 1 file changed, 6 deletions(-)

-- 
2.34.1

Intel Deutschland GmbH
Registered Address: Am Campeon 10, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Sean Fennelly, Jeffrey Schneiderman, Tiffany Doon Silva
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928


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

end of thread, other threads:[~2025-02-11 15:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-27 15:42 [PATCH v4 0/1] gdb: remove minimal symbol check in 'start_command' Stephan Rohr
2025-01-27 15:42 ` [PATCH v4 1/1] gdb: remove check for minimal symbols " Stephan Rohr
2025-01-27 23:28   ` Kevin Buettner
2025-01-28 17:47     ` Tom Tromey
2025-02-10 17:09     ` Guinevere Larsen
2025-02-11 14:51       ` Tom Tromey
2025-02-11 15:53         ` Rohr, Stephan

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