This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: [PING 2][PATCH v3] Add pretty printers for the NPTL lock types


On 02/10/2016 08:01 AM, Joseph Myers wrote:
> On Wed, 10 Feb 2016, Martin Galvan wrote:
> 
>> On Tue, Feb 9, 2016 at 2:48 PM, Joseph Myers <joseph@codesourcery.com> wrote:
>>> 1. Work out where you want to run GDB when testing this feature - on the
>>> system on which glibc is built (possibly a cross GDB), or on the system on
>>> which glibc runs.
>>
>> What's the point on cross-testing the printers anyway? They're
>> platform-independent.
> 
> The point is that native and cross builds should produce the same results 
> and run the same tests.

Or you could run the test on both and compare results looking for
cross-debugging problems that you might see only in more advanced
remote debug configurations.

A native build could elide the target test.

Cheers,
Carlos.
 


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