Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Re: Is it possible to save breakpoints to a file?
@ 2005-03-13  5:03 Paul Schlie
  0 siblings, 0 replies; 11+ messages in thread
From: Paul Schlie @ 2005-03-13  5:03 UTC (permalink / raw)
  To: Russell Shaw; +Cc: gdb

> Russell Shaw writes:
>> RT wrote:
>>> Tom Tromey wrote:
>>> I don't know if this is in the gdb bug database; it should be.
>>
>> I haven't looked at this in detail. I suspect the problem is that Insigh
>> is no longer actively maintained, and so it's difficult to get a version of
>> insight that uses the current gdb.
>>
>> There's no point filing bugs that are Insight-specific; there's no one to
>> work on them. A trivial licensing problem has lead to gdb having no usable
>> GUI (that I know of, anyway; and I've used both ddd and insight). If anyone
>> at the FSF knows of a way to debug multi-threaded shared-library apps without
>> a GUI, then I'd be really pleased to hear from them. And, if I don't hear
>> from them, I guess that they'll agree that gdb is an 80's dinosaur, and it's
>> time to put it to bed.
>
> What is the licencing problem? I've been going to make a new gui for
> gdb, but i'm busy with too much other stuff.

For what it's worth, although Insight may not be "actively" maintained, it
still seems to get periodic attention from Keith Seitz and a few other as
opportunity seems to allow. And believe it or not, basically work fine for
cross target debugging on OSX, and prefer it vs most other's (although it
would be nice to figure out some why to hook Apples Xcode debugger interface
into a cross targeted configured gdb).  So might be worth at least noting
the bug? (may get lucky).

   http://sources.redhat.com/insight/




^ permalink raw reply	[flat|nested] 11+ messages in thread
* RE: Is it possible to save breakpoints to a file?
@ 2005-03-10 10:52 Atul Talesara
  2005-03-10 15:08 ` Kris Warkentin
  2005-03-10 15:52 ` Dave Korn
  0 siblings, 2 replies; 11+ messages in thread
From: Atul Talesara @ 2005-03-10 10:52 UTC (permalink / raw)
  To: Hareesh Nagarajan, GDB

> Is it possible to save all breakpoints that one
> sets to a file, so that 
> we can reload the breakpoints set during the next
> debug run?
Well, though not exactly the same ... this might
solve your problem. You can have a plain text
file that can list all the breakpoints you want
to put. Ex:
$ cat breakpoints
break code_file_01.c : 515
break code_file_02.c : 5
break code_file_03.c : 201

And then you can source this file to gdb as:
(gdb) source breakpoints

In fact you can have *any* command you wish in the
sourced file. If you put all these in '.gdbinit'
file then gdb will automatically source this on start up!
Hope this addresses your need.

Regards,
Atul
http://the-shaolin.blogspot.com/
---------------------------------------------------------- 
You can tell more about a person by what he says about
others than you can by what others say about him.

---------------------------------------------------------- 


^ permalink raw reply	[flat|nested] 11+ messages in thread
* Is it possible to save breakpoints to a file?
@ 2005-03-10  7:07 Hareesh Nagarajan
  0 siblings, 0 replies; 11+ messages in thread
From: Hareesh Nagarajan @ 2005-03-10  7:07 UTC (permalink / raw)
  To: GDB

Hi,

Is it possible to save all breakpoints that one sets to a file, so that 
we can reload the breakpoints set during the next debug run?

Thanks,

Hareesh


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2005-03-13  5:03 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-13  5:03 Is it possible to save breakpoints to a file? Paul Schlie
  -- strict thread matches above, loose matches on Subject: below --
2005-03-10 10:52 Atul Talesara
2005-03-10 15:08 ` Kris Warkentin
2005-03-10 15:52 ` Dave Korn
2005-03-10 16:08   ` RT
2005-03-11  1:28     ` Tom Tromey
2005-03-12 11:29       ` RT
2005-03-12 11:58         ` Russell Shaw
2005-03-12 12:13           ` RT
2005-03-12 19:39         ` Tom Tromey
2005-03-10  7:07 Hareesh Nagarajan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox