Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* slow script execution when debugging large binaries
@ 2006-08-10 20:32 Mike Frysinger
  2006-08-10 20:40 ` Daniel Jacobowitz
  0 siblings, 1 reply; 7+ messages in thread
From: Mike Frysinger @ 2006-08-10 20:32 UTC (permalink / raw)
  To: gdb; +Cc: jzhang918

[-- Attachment #1: Type: text/plain, Size: 790 bytes --]

i'm playing with kgdb and in the process have been learning/writing up little 
code snippets to make debugging easier ... for example, a small function that 
will dump the dmesg buffer in kgdb ... now, the issue at hand isnt kgdb :)

consider this simple function:
define speed-test
	shell date
	set $start = 1
	set $end = 3000
	while ($start != $end)
		set $start = $start + 1
	end
	printf "DONE\n"
	shell date
end

gives me these results with gdb-6.5:
(gdb) speed-test
Thu Aug 10 16:27:05 EDT 2006
DONE
Thu Aug 10 16:27:05 EDT 2006
(gdb) file vmlinux
Reading symbols from vmlinux...done.
(gdb) speed-test
Thu Aug 10 16:27:30 EDT 2006
DONE
Thu Aug 10 16:27:47 EDT 2006

this is done on an AMD64 Opteron 252 (~2.6gigz) so speed shouldnt be an 
issue :)
-mike

[-- Attachment #2: Type: application/pgp-signature, Size: 827 bytes --]

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

end of thread, other threads:[~2006-08-10 22:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-10 20:32 slow script execution when debugging large binaries Mike Frysinger
2006-08-10 20:40 ` Daniel Jacobowitz
2006-08-10 21:48   ` Mike Frysinger
2006-08-10 21:55     ` Daniel Jacobowitz
2006-08-10 22:04       ` Mike Frysinger
2006-08-10 22:05         ` Daniel Jacobowitz
2006-08-10 22:21           ` Mike Frysinger

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