Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: ranjith kumar <ranjithproxy@gmail.com>
To: gdb@sourceware.org
Subject: changing gdb's behaviour on breakpoints
Date: Sun, 15 Nov 2009 19:36:00 -0000	[thread overview]
Message-ID: <31cff80d0911151045r710d2c20k5fb2c9f4d5a86f55@mail.gmail.com> (raw)

Hi all,

1)  We know that when the program( being debugged by gdb) hits a
breakpoint, the execution of the program
        will be   stopped and gdb will displays a message like

"  Breakpoint 2829, process_event () at event-loop.c:298
    298	  if (check_async_ready ())
   (top-gdb)  "

and gdb waits for input from the user.

Is is possible to change this behaviour?
I want gdb to just display the message, but not to wait for the input
from the user, and must continue the
  program automatically.

2) I have gdb's sorce code. Which function of gdb's source code will
be called when the program hits a brakpoint?
 Which function of gdb's source code will be called when gdb continues
the program?

3) By the way is the 'gdb' single threaded program? If not please tell
me when it will create other threads?

Thanks in advance.


             reply	other threads:[~2009-11-15 18:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-15 19:36 ranjith kumar [this message]
2009-11-16  6:36 ` Jan Kratochvil

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=31cff80d0911151045r710d2c20k5fb2c9f4d5a86f55@mail.gmail.com \
    --to=ranjithproxy@gmail.com \
    --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