public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: naveen yadav <yad.naveen@gmail.com>
To: Ian Lance Taylor <iant@google.com>
Cc: gcc-help@gcc.gnu.org, gdb@sourceware.org
Subject: Re: Issue with GDB 7.0 on MIPS(gcc 4.4.1)
Date: Mon, 14 Nov 2011 05:14:00 -0000	[thread overview]
Message-ID: <CAJ8eaTxBSQRG0BXGHnpPTJj4cTrYzKaYtPkxQ2VqbrPv=cZe5w@mail.gmail.com> (raw)
In-Reply-To: <mcrpqgyhb8e.fsf@dhcp-172-18-216-180.mtv.corp.google.com>

Hi Ian,

My GCC  version 4.4.1. and  here is source code.

http://gingacdn.lavid.ufpb.br/projects/ginga-j/repository/revisions/7e233c1906624b0e01698415987aada3fd8c3fe4/entry/gingaj/jvm/src/share/javavm/runtime/gc/generational/gen_markcompact.c

and here is backtrace.

mips-gdb> bt
sweep (gen=0x5d5f508, ee=0x5c4300d0, numBytes=4294967295,
gcOpts=0x5c3408f8) #1
CVMgenMarkCompactCollect (gen=0x5d5f508, ee=0x5c4300d0,
numBytes=4294967295, gcOpts=0x5c3408f8)

 ......

If you need more detail pls let me know..
Thanks.

On Fri, Nov 11, 2011 at 10:01 PM, Ian Lance Taylor <iant@google.com> wrote:
> naveen yadav <yad.naveen@gmail.com> writes:
>
>> I am running one application and it generate core dump. When I run bt .
>> (gdb) bt
>> #0  sweep (gn=0x5d5f58, ef=0x5c43000, Bytes=429496729, gcOs=0x5c3408f)
>> #1  CompactCollect (gn=0x5d5f58, ef=0x5c43000, Bytes=429496729, gcOs=0x5c3408f)
>> ...
>>
>> In above case
>> we got crash in wepp().
>> CompactCollect () is main function and wepp() is another function
>> which got called from CompactCollect ().
>>
>> When I check the assembly wepp() become inline.
>> So i got bit surprise when i check that function parameter;s for both
>> wepp() and CompactCollect () are same.
>>
>> So is it correct behaviour ? that calling and calle have same parameter
>
> Without any information about the source code, I don't see how we can
> tell whether having the same parameters is correct behaviour or not.
>
> That said, it is certainly possible that the arguments of the inlined
> function are not being displayed correctly.  Mainline gcc has gotten
> quite a bit better about debug info for inlined functions and in general
> for avoiding incorrect display of variables in optimized code.
>
> Ian
>

  reply	other threads:[~2011-11-14  5:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-11  7:48 naveen yadav
2011-11-11 16:31 ` Ian Lance Taylor
2011-11-14  5:14   ` naveen yadav [this message]
2011-11-14  6:50     ` Ian Lance Taylor
2011-11-14  7:19       ` naveen yadav
2011-11-14 18:01         ` Ian Lance Taylor

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='CAJ8eaTxBSQRG0BXGHnpPTJj4cTrYzKaYtPkxQ2VqbrPv=cZe5w@mail.gmail.com' \
    --to=yad.naveen@gmail.com \
    --cc=gcc-help@gcc.gnu.org \
    --cc=gdb@sourceware.org \
    --cc=iant@google.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).