Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Kunal Parmar <kunal.parmar@codito.com>
To: Ashwin Pathmudi <ashwin.pathmudi@gmail.com>
Cc: Riley <rgrdev@gmail.com>, gdb@sources.redhat.com
Subject: Re: gdb - persistent "set" settings
Date: Tue, 25 Jul 2006 08:24:00 -0000	[thread overview]
Message-ID: <44C5BC9A.2090205@codito.com> (raw)
In-Reply-To: <df59e68b0607240826o3d6716d3o297dc1a11ab0bdc4@mail.gmail.com>

Hi,

If you use "quit" command to exit gdb, then you could add a hook to that 
command.
You can also define your command to exit gdb.
See here -
http://sources.redhat.com/gdb/current/onlinedocs/gdb_21.html#SEC226

Ashwin Pathmudi wrote:
> Hi,
> On 7/24/06, Riley <rgrdev@gmail.com> wrote:
>>
>>
>> "Ashwin Pathmudi" <ashwin.pathmudi@gmail.com> writes:
>>
>> > Hi,
>> > Put in all the commands you need gdb to have executed in a
>> > '.gdbinit' file in that particular directory. gdb executes the 
>> commands
>> > in this file before showing you the prompt.
>>
>> Thanks. Is it possible to default to gdb doing this for me when I exit
>> gdb? I see ddd does this for you.
> I dont think gdb can do that.
>
> cheers,
> Ashwin Pathmudi.

Cheers,
Kunal Parmar

-- 
Kunal Parmar
Software Developer,
Codito Technologies Pvt. Ltd. (www.codito.com)

Office: +91 20 26051367 ext. 133
Mobile: +91 98230 28171


      reply	other threads:[~2006-07-25  6:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-23 22:43 Richard (sent by Nabble.com)
2006-07-23 22:55 ` Ashwin Pathmudi
2006-07-24  8:10   ` Riley
2006-07-24 16:45     ` Ashwin Pathmudi
2006-07-25  8:24       ` Kunal Parmar [this message]

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=44C5BC9A.2090205@codito.com \
    --to=kunal.parmar@codito.com \
    --cc=ashwin.pathmudi@gmail.com \
    --cc=gdb@sources.redhat.com \
    --cc=rgrdev@gmail.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