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] New functions gdb_find_readelf, gdb_find_objcopy for testsuite


On Wed, Sep 18, 2013 at 12:42 PM, Tom Tromey <tromey@redhat.com> wrote:
>>>>>> "Doug" == Doug Evans <dje@google.com> writes:
>
> Doug> [transform objcopy] and [transform readelf] aren't always sufficient
> Doug> to find the right copy to use.
> Doug> Akin to most other tools that have FOO_FOR_TARGET this patch
> Doug> adds support for READELF_FOR_TARGET and OBJCOPY_FOR_TARGET.
>
> Doug> Regression tested on amd64-linux.
> Doug> I will commit this in a few days if there are no objections.
>
> Seems reasonable to me.
>
>
> Doug> +proc gdb_find_objcopy {} {
> Doug> +    global OBJCOPY_FOR_TARGET
> Doug> +    if [info exists OBJCOPY_FOR_TARGET] {
>
> Normally I follow the C rule here about comments and newlines after
> "declarations".

OOC, in a C++ world (or C99) world where we can put declarations
closer to their use, would be still have this rule?


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