Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Undo add-symbol-file
@ 2006-06-21 21:52 Shaun Jackman
  2006-06-21 21:59 ` Daniel Jacobowitz
  0 siblings, 1 reply; 3+ messages in thread
From: Shaun Jackman @ 2006-06-21 21:52 UTC (permalink / raw)
  To: gdb

Once I've used add-symbol-file to add some symbols, how do I remove
those symbols? Clearing the symbol table would be enough. I tried
using symbol-file to clear the symbol table, but symbol-file does not
seem to have the side effect of clearing the symbol table.

Thanks,
Shaun


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

* Re: Undo add-symbol-file
  2006-06-21 21:52 Undo add-symbol-file Shaun Jackman
@ 2006-06-21 21:59 ` Daniel Jacobowitz
  2006-06-22  3:17   ` Shaun Jackman
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Jacobowitz @ 2006-06-21 21:59 UTC (permalink / raw)
  To: Shaun Jackman; +Cc: gdb

On Wed, Jun 21, 2006 at 03:46:27PM -0600, Shaun Jackman wrote:
> Once I've used add-symbol-file to add some symbols, how do I remove
> those symbols? Clearing the symbol table would be enough. I tried
> using symbol-file to clear the symbol table, but symbol-file does not
> seem to have the side effect of clearing the symbol table.

Try just "symbol-file", without a new symbol file?

-- 
Daniel Jacobowitz
CodeSourcery


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

* Re: Undo add-symbol-file
  2006-06-21 21:59 ` Daniel Jacobowitz
@ 2006-06-22  3:17   ` Shaun Jackman
  0 siblings, 0 replies; 3+ messages in thread
From: Shaun Jackman @ 2006-06-22  3:17 UTC (permalink / raw)
  To: gdb

On 6/21/06, Daniel Jacobowitz <drow@false.org> wrote:
> Try just "symbol-file", without a new symbol file?

Aha! Here's the trick. I was trying to move a symbol file loaded with
add-symbol-file from location a to b. So I tried...

	symbol-file kernel
	add-symbol-file busybox 0x1000000

... hoping that the symbol-file command would clear the
add-symbol-file tables. It does not work this way. However, as you
pointed out, the following does work.

	symbol-file
	symbol-file kernel
	add-symbol-file busybox 0x1000000

Thanks!
Shaun


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

end of thread, other threads:[~2006-06-21 21:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-21 21:52 Undo add-symbol-file Shaun Jackman
2006-06-21 21:59 ` Daniel Jacobowitz
2006-06-22  3:17   ` Shaun Jackman

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