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] Get trace file name when using 'target tfile'


On 02/14/2013 03:49 PM, Abid, Hafiz wrote:

> Thanks everybody for review. The updated patch is attached. The changes from the previous version are.
> 
> 1. Renamed "from_file" field to "filename". Use explicit NULL(or non-NULL) check against it.
> 2. Added a test case for -trace-struct command.
> 3. Added NEWS entry.
> 
> How does it look?


Thanks.  The code bits looks good to me.

Eli should review the new NEWS bit.

>     * remote.c (remote_get_trace_status): Initialize "filename"
>     field with NULL instead    of 0.

                             ^^^^

Something weird with spaces here.

-- 
Pedro Alves


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