All of lore.kernel.org
 help / color / mirror / Atom feed
From: sywang <sywang@dongniannetworks.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] warning: GDB can't find the start of the function at 0x1fc0003c.
Date: Sun, 10 Oct 2010 11:46:29 +0800	[thread overview]
Message-ID: <20101010034635.068D528081@theia.denx.de> (raw)
In-Reply-To: <20101008010432.0585F28091@theia.denx.de>


While debugging u-boot by BDI3000 and GDB, I have the following issue.  Do
you encounter such a problem? How to fix it?  Any suggestions are warmly
welcome? 


(gbd) n
[wangsy at localhost u-boot]$ /home/wangsy/gdb-mips/bin/mips-linux-gdb
u-boot-octeon_bbgw_ref_failsafe
GNU gdb (GDB) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=mips-linux".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from
/home/wangsy/uboot_porting/OCTEON-SDK_1008_ago/bootloader/u-boot/u-boot-octe
on_bbgw_ref_failsafe...done.
(gdb) target extended-remote 192.168.5.20:2001
Remote debugging using 192.168.5.20:2001
0x1fc0003c in ?? ()
(gdb) n
warning: GDB can't find the start of the function at 0x1fc0003c.

    GDB is unable to find the start of the function at 0x1fc0003c
and thus can't determine the size of that function's stack frame.
This means that GDB may be unable to access that stack frame, or
the frames below it.
    This problem is most likely caused by an invalid program counter or
stack pointer.
    However, if you think GDB should simply search farther back
from 0x1fc0003c for code which looks like the beginning of a
function, you can increase the range of the search using the `set
heuristic-fence-post' command.
Cannot find bounds of current function
(gdb) set heuristic-fence-post 0
(gdb) n
warning: GDB can't find the start of the function at 0x1fc0003c.
Cannot find bounds of current function
(gdb) n
Cannot find bounds of current function
(gdb) n
Cannot find bounds of current function

Thanks!
Shuyou  

      reply	other threads:[~2010-10-10  3:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-07  7:49 [U-Boot] U-boot debug with BDI3000 sywang
2010-10-07 16:14 ` Andreas Bießmann
2010-10-08  1:04   ` sywang
2010-10-10  3:46     ` sywang [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=20101010034635.068D528081@theia.denx.de \
    --to=sywang@dongniannetworks.com \
    --cc=u-boot@lists.denx.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.