From: Jean Francois TRAP <jean-francois.trap@wit.fr>
To: "gdb@sourceware.org" <gdb@sourceware.org>
Subject: [GDB] Impossible to put a break point during the application run with gdb-gdbserver
Date: Mon, 7 Feb 2022 10:01:57 +0000 [thread overview]
Message-ID: <AM5PR0202MB2579CE36AF014ED6F1815EEBB32C9@AM5PR0202MB2579.eurprd02.prod.outlook.com> (raw)
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
reply other threads:[~2022-02-07 10:02 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AM5PR0202MB2579CE36AF014ED6F1815EEBB32C9@AM5PR0202MB2579.eurprd02.prod.outlook.com \
--to=jean-francois.trap@wit.fr \
--cc=gdb@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).