Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <palves@redhat.com>
To: lgustavo@codesourcery.com, Samuel Bronson <naesten@gmail.com>
Cc: "'gdb-patches@sourceware.org'" <gdb-patches@sourceware.org>
Subject: Re: [PATCH] Fix gdb.base/code_elim.exp failures for PowerPC 32-bit
Date: Tue, 08 Jul 2014 08:43:00 -0000	[thread overview]
Message-ID: <53BBAF1C.6020404@redhat.com> (raw)
In-Reply-To: <53BB8603.6050201@codesourcery.com>

On 07/08/2014 06:47 AM, Luis Machado wrote:
> On 07/08/2014 02:52 AM, Samuel Bronson wrote:
>> Luis Machado <lgustavo@codesourcery.com> writes:

>>> add-symbol-file gdb.base/code_elim2 0x200000 -s .data 0x210000 -s .bss 0x220000^M
                                                    ^^^^^^^^^^^^^^
[snip]

>>> Reading symbols from gdb.base/code_elim2...warning: section .data not
>>> found in gdb.base/code_elim2^M

[snip]

>> Is tweaking the testcase really the best approach here?  Shouldn't GDB
>> just be less picky?
>>
> 
> Either solution is fine with me, but the warning is actually somewhat 
> informative since the .data section is relatively common.

That doesn't make sense in this context.  GDB is not being picky -- the
warning is coming out because the user _explicitly_ specified an
address for the .data section, not because .data is special
in any way.

-- 
Pedro Alves


      reply	other threads:[~2014-07-08  8:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-01  9:46 Luis Machado
2014-07-08  1:53 ` Samuel Bronson
2014-07-08  5:48   ` Luis Machado
2014-07-08  8:43     ` Pedro Alves [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53BBAF1C.6020404@redhat.com \
    --to=palves@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=lgustavo@codesourcery.com \
    --cc=naesten@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox