Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Monika Chaddha" <monika@acmet.com>
To: "'Vikas S'" <vikas_s40@hotmail.com>
Cc: <gdb@sources.redhat.com>
Subject: RE: GDB Query
Date: Tue, 06 Jul 2004 13:21:00 -0000	[thread overview]
Message-ID: <006601c46359$aec016c0$5100a8c0@monika> (raw)
In-Reply-To: <BAY15-F11JswFCHOzyf0005635d@hotmail.com>



>-----Original Message-----
>From: Vikas S [mailto:vikas_s40@hotmail.com]
>Sent: Tuesday, July 06, 2004 4:56 PM
>To: monika@acmet.com
>Subject: RE: GDB Query
>
>
>Please note that I'm not aware of the full function flow and this is
>precisely
>what I'm trying to find out by putting breaks.
>


What I understand till now form your mails that u r debugging some
source code and want to understand the exact flow.

GDB is really nice to do this. Use DDD as a GUI for GDB, it will help u.
Put break point in main and in functions or lines which u suspect can be
part of flow. Use next/step (to go inside functions) commands

Try this; this will help u a lot. Try up and down during debugging, it
will show flow. By doing this u can find more places to put breakpoints.
Preferably use 'step' command and go inside functions, it will show u
the full flow.

Try this and tell me status or any problem if u face.

Cheers
Monika






       reply	other threads:[~2004-07-06 13:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <BAY15-F11JswFCHOzyf0005635d@hotmail.com>
2004-07-06 13:21 ` Monika Chaddha [this message]
2004-07-06 15:35 Vikas S
     [not found] <BAY15-F5AfdicbiGokI00012b9a@hotmail.com>
2004-07-06 14:20 ` Daniel Jacobowitz
     [not found] <BAY15-F26XVT10Nd0BK00035aca@hotmail.com>
2004-07-06 10:17 ` Monika Chaddha
  -- strict thread matches above, loose matches on Subject: below --
2004-07-06  5:20 Vikas S
2004-07-06  7:02 ` Monika Chaddha
2004-07-06 13:45 ` Daniel Jacobowitz

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='006601c46359$aec016c0$5100a8c0@monika' \
    --to=monika@acmet.com \
    --cc=gdb@sources.redhat.com \
    --cc=vikas_s40@hotmail.com \
    /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