add-symbol-file cmd: how to find address of a shared library?

srosset <[email protected]> Fri, 4 Dec 2009 23:17:25 -0800 (PST)
Newsgroups gmane.comp.gdb.general
Message-ID <[email protected]>
When using the "add-symbol-file" command, how do I find the memory address at
which a shared library has been loaded (on Linux x86)?
   add-symbol-file filename -ssection address

The doc states: address should be the memory address at which the file has
been loaded; GDB cannot figure this out for itself. 
Thanks!

-- 
View this message in context: http://old.nabble.com/add-symbol-file-cmd%3A-how-to-find-address-of-a-shared-library--tp26653470p26653470.html
Sent from the Gnu - gdb - General mailing list archive at Nabble.com.