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, v2] Share ptrace options discovery/linux native code between GDB and gdbserver


>>>>> "Luis" == Luis Machado <lgustavo@codesourcery.com> writes:

Luis> Right. Should i move it now as part of this cleanup or should i move
Luis> it in a follow up?

Probably preferable as a follow-up.
Or a prequel.

>> Also, doesn't this check need to be done in gdbserver as well?

Luis> For gdbserver we explicitly define the correct types for each argument.

Ok, I see.

Luis> Since this is a runtime check, we may run into issues if we attempt to
Luis> run a binary on a build machine if the target machine is from a
Luis> different architecture. Does it make sense?

I looks like an AC_TRY_COMPILE check to me.  That means it is safe.
However, if it isn't needed for gdbserver, then the point is moot.

Tom


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