This is the mail archive of the gdb-patches@sourceware.org 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]
Other format: [Raw text]

Re: [patch] nto target: code cleanup #2


Ulrich Weigand wrote:
Aleksandar Ristovski wrote:

	* i386-nto-tdep.c (i386nto_init_abi): Remove nto_svr4_so_ops.
	Initialize solib ops direcly and set them.

+  /* Our loader handles solib relocations differently than svr4.  */
+  svr4_so_ops.relocate_section_addresses = nto_relocate_section_addresses;

Sorry, this is not correct.


The SVR4 operations must remain unchanged.  For example, you might want to
debug both native Linux (using SVR4 solib ops) and remote NTO (using the NTO
solib ops) in a single GDB session -- if the NTO code clobbers the SVR4 ops,
this won't be possible.

Bye,
Ulrich


Ok, thanks.


I guess I really must start working with gdb configured for linux/nto.

Thanks,

Aleksandar


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