public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* [GDB] Impossible to put a break point during the application run with gdb-gdbserver
@ 2022-02-07 10:01 Jean Francois TRAP
  0 siblings, 0 replies; only message in thread
From: Jean Francois TRAP @ 2022-02-07 10:01 UTC (permalink / raw)
  To: gdb

Hello,

I'm doing a remote debug between 2 PCs running Windows 10.
On the first PC, I use gdb v10.2 with an application (32 bits) compiled in "-g".
On the second PC, I use gdbserver v10.2 with the same application.

Before launching the debug I position a break-point in a loop.
I launch the debug. Everything works correctly and the application stops at the break-point.
I restart and again there is a stop at the break-point. During the stop, I change the line to the break-point and everything works correctly.
If I delete any break-point and restart the application, I cannot put a new break-point. The application works and it is impossible to stop it.
If I force a total stop on the gdb side, this is the message that kept appearing on the gdbserver side:

"input_interrupt, count = -1 c = 0 (' ')"
"input_interrupt, count = -1 c = 0 (' ')"

I compiled gdb and gdbserver with the standard configuration
I did the test with gdb-gdbserver v7.7.1 same result
I am using Lazarus IDE v2.0.2 but I don't think it is important.

Thanks for your help.

Jean-François TRAP



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-02-07 10:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-07 10:01 [GDB] Impossible to put a break point during the application run with gdb-gdbserver Jean Francois TRAP

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).