This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Loading shared libraries


I have a shared library liblib1.so that I want to load at address 0x4020000.

If I call add_symbol_file_command( "liblib1.so 0x4020000", 0 ), the program starts running and gdb can't take control of
it - I haven't figured out why yet.

How would you suggest loading the library?  BTW, I don't want to do it at the console but rather in the program.

Stephen


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]