List Info

Thread: Undo add-symbol-file




Undo add-symbol-file
user name
2006-06-21 21:46:27
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
Undo add-symbol-file
user name
2006-06-21 21:52:45
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
Undo add-symbol-file
user name
2006-06-21 21:59:13
On 6/21/06, Daniel Jacobowitz <drowfalse.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
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )