public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* 20% space savings!
@ 2003-08-19 18:14 Michael Elizabeth Chastain
  2003-08-19 18:29 ` Kevin Buettner
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Michael Elizabeth Chastain @ 2003-08-19 18:14 UTC (permalink / raw)
  To: gdb

I pulled a Daniel Berlin last night (in a good way) and started
packing structures like a #4 train at rush hour.

'maint space' has gone from:

  before: 99352576
  after:  79478784

It would take a lot of time to merge these patches into gdb.
I would have to write up a road map, and then test the patches
one at a time (that is the hard part, regression testing stuff
like coff), then submit the patches one at a time to the
symtab maintainers.

Is this something worth pursuing?

Michael C

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

* Re: 20% space savings!
  2003-08-19 18:14 20% space savings! Michael Elizabeth Chastain
@ 2003-08-19 18:29 ` Kevin Buettner
  2003-08-19 18:30 ` Daniel Jacobowitz
  2003-08-20 16:29 ` Andrew Cagney
  2 siblings, 0 replies; 5+ messages in thread
From: Kevin Buettner @ 2003-08-19 18:29 UTC (permalink / raw)
  To: Michael Elizabeth Chastain, gdb

On Aug 19,  2:14pm, Michael Elizabeth Chastain wrote:

> I pulled a Daniel Berlin last night (in a good way) and started
> packing structures like a #4 train at rush hour.
> 
> 'maint space' has gone from:
> 
>   before: 99352576
>   after:  79478784
> 
> It would take a lot of time to merge these patches into gdb.
> I would have to write up a road map, and then test the patches
> one at a time (that is the hard part, regression testing stuff
> like coff), then submit the patches one at a time to the
> symtab maintainers.
> 
> Is this something worth pursuing?

I think it's worth pursuing.  For large applications, a 20% savings in
space could mean the difference between being able to easily debug the
app and running out of memory (or running into swap).

Kevin

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

* Re: 20% space savings!
  2003-08-19 18:14 20% space savings! Michael Elizabeth Chastain
  2003-08-19 18:29 ` Kevin Buettner
@ 2003-08-19 18:30 ` Daniel Jacobowitz
  2003-08-20 16:29 ` Andrew Cagney
  2 siblings, 0 replies; 5+ messages in thread
From: Daniel Jacobowitz @ 2003-08-19 18:30 UTC (permalink / raw)
  To: gdb

On Tue, Aug 19, 2003 at 02:14:29PM -0400, Michael Elizabeth Chastain wrote:
> I pulled a Daniel Berlin last night (in a good way) and started
> packing structures like a #4 train at rush hour.
> 
> 'maint space' has gone from:
> 
>   before: 99352576
>   after:  79478784
> 
> It would take a lot of time to merge these patches into gdb.
> I would have to write up a road map, and then test the patches
> one at a time (that is the hard part, regression testing stuff
> like coff), then submit the patches one at a time to the
> symtab maintainers.
> 
> Is this something worth pursuing?

Yes.

I think so, at least.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer

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

* Re: 20% space savings!
  2003-08-19 18:14 20% space savings! Michael Elizabeth Chastain
  2003-08-19 18:29 ` Kevin Buettner
  2003-08-19 18:30 ` Daniel Jacobowitz
@ 2003-08-20 16:29 ` Andrew Cagney
  2003-08-20 17:09   ` User defined commands jacques
  2 siblings, 1 reply; 5+ messages in thread
From: Andrew Cagney @ 2003-08-20 16:29 UTC (permalink / raw)
  To: Michael Elizabeth Chastain; +Cc: gdb

> I pulled a Daniel Berlin last night (in a good way) and started
> packing structures like a #4 train at rush hour.
> 
> 'maint space' has gone from:
> 
>   before: 99352576
>   after:  79478784
> 
> It would take a lot of time to merge these patches into gdb.
> I would have to write up a road map, and then test the patches
> one at a time (that is the hard part, regression testing stuff
> like coff), then submit the patches one at a time to the
> symtab maintainers.
> 
> Is this something worth pursuing?

This will definitly help short term.  Long term, to abuse an ad, "While 
amazing, it's not sensational[sp?]".  As David and Elena work through an 
overhaul of the symbol table and a better understanding of what it 
really needs to do is gained, a more radical approach can be taken.

Andrew


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

* User defined commands
  2003-08-20 16:29 ` Andrew Cagney
@ 2003-08-20 17:09   ` jacques
  0 siblings, 0 replies; 5+ messages in thread
From: jacques @ 2003-08-20 17:09 UTC (permalink / raw)
  Cc: gdb

Hello,
I've been searching for the easiest implementation to be able to inspect 
stl containers, and I've run into an intriguing possibility, using user 
defined commands. I was wondering if its possible to put a statement "if 
a is vector" in gdb?

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

end of thread, other threads:[~2003-08-20 17:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-19 18:14 20% space savings! Michael Elizabeth Chastain
2003-08-19 18:29 ` Kevin Buettner
2003-08-19 18:30 ` Daniel Jacobowitz
2003-08-20 16:29 ` Andrew Cagney
2003-08-20 17:09   ` User defined commands jacques

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).