🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #1249

[no line number information] gdb 5.0 with g++ on HP PA

#1249
From: dryest
Date: Tue, 15 Feb 2005 04:28
35 lines
2613 bytes
Hello,

I compile with g++ 3.4.2
and start gdb 5.0 on HPPA machine.

-------------------------------------------------------------------
gdb demo_use
Detected 64-bit executable.
Invoking /opt/langtools5.0/bin/gdb64.
HP gdb 5.0 for PA-RISC 2.0 (wide), HP-UX 11.00
and target hppa2.0w-hp-hpux11.00.
Copyright 1986 - 2001 Free Software Foundation, Inc.
Hewlett-Packard Wildebeest 5.0 (based on GDB) is covered by the
GNU General Public License. Type "show copying" to see the conditions to
change it and/or distribute copies. Type "show warranty" for
warranty/support.
..
(gdb) b main
Breakpoint 1 at 0x4000000000002430: file demo_use.c, line 7 from
/home/dry/test/c/libtest/demo_use.
(gdb) r
Starting program: /home/dry/test/c/libtest/demo_use

Breakpoint 1, 0x4000000000002430 in .stub+0 ()
Current language:  auto; currently c
(gdb) n
Single stepping until exit from function .stub,
which has no line number information.
0x4000000000002414 in main ()
(gdb)
----------------------------------------------------------------------

Is it impossible to use gdb for the binary compiled with g++ ?

Thanks,
Technical Details
Message-ID: <mailman.820.1108932482.32256.bug-gdb@gnu.org>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: f5053,1d06b667ae23d1ff,start
X-Google-Attributes: gidf5053,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
From: dryest <dry@uangel.com>
Newsgroups: gnu.gdb.bug
Subject: [no line number information] gdb 5.0 with g++ on HP PA
Date: Tue, 15 Feb 2005 13:28:47 +0900
Lines: 37
Approved: bug-gdb@gnu.org
Message-ID: <mailman.820.1108932482.32256.bug-gdb@gnu.org>
NNTP-Posting-Host: lists.gnu.org
Mime-Version: 1.0
Content-Type: text/plain; charset=EUC-KR
Content-Transfer-Encoding: 7bit
X-Trace: news.Stanford.EDU 1108931639 4375 199.232.76.165 (20 Feb 2005 20:33:59 GMT)
X-Complaints-To: news@news.stanford.edu
To: bug-gdb@gnu.org
Envelope-to: bug-gdb@gnu.org
User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103)
X-Accept-Language: ko-kr, ko, en-us, en
X-Mailman-Approved-At: Sun, 20 Feb 2005 15:47:59 -0500
X-BeenThere: bug-gdb@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "Bug reports for GDB, the GNU debugger" <bug-gdb.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/bug-gdb>,
 <mailto:bug-gdb-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/bug-gdb>
List-Post: <mailto:bug-gdb@gnu.org>
List-Help: <mailto:bug-gdb-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/bug-gdb>,
 <mailto:bug-gdb-request@gnu.org?subject=subscribe>