Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Ulrich Weigand" <uweigand@de.ibm.com>
To: sangamesh.swamy@in.ibm.com (Sangamesh Mallayya)
Cc: gdb-patches@sourceware.org, Ulrich.Weigand@de.ibm.com (Ulrich Weigand)
Subject: Re: [PATCH] Make name of current file as    pst->filename instead of _start_ in AIX
Date: Fri, 21 Oct 2016 15:50:00 -0000	[thread overview]
Message-ID: <20161021154952.0A7A61161CC@oc8523832656.ibm.com> (raw)
In-Reply-To: <OF0AE02BA0.ADAB0D03-ON65258053.004B0FB7-65258053.004D09EE@notes.na.collabserv.com> from "Sangamesh Mallayya" at Oct 21, 2016 02:01:28 PM

Sangamesh Mallayya wrote:

> When -qfuncsect xlc or -ffunction-section gcc compiler option is used in
> AIX, each function csect will be associated with each psymtab,
> so each psymtab will have it's corresponding filename entries set.
> 
> If the pst filename isn't set then we will be seeing the below output when
> we set a breakpoint.
> 
> (gdb) br main
> Breakpoint 1 at 0x10000374: file  _start_ , line 18.
> 
> With the fix it will be.
> 
> (gdb) br main
> Breakpoint 1 at 0x10000518: file test.c, line 24.
> 
> Attached patch resolve this issue and correct filename will be set.

This is OK.  I've checked the patch in now.

Thanks,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU/Linux compilers and toolchain
  Ulrich.Weigand@de.ibm.com


  reply	other threads:[~2016-10-21 15:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-21 14:01 Sangamesh Mallayya
2016-10-21 15:50 ` Ulrich Weigand [this message]
2016-10-23 16:10   ` Sangamesh Mallayya

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=20161021154952.0A7A61161CC@oc8523832656.ibm.com \
    --to=uweigand@de.ibm.com \
    --cc=Ulrich.Weigand@de.ibm.com \
    --cc=gdb-patches@sourceware.org \
    --cc=sangamesh.swamy@in.ibm.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