gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gdb] gdb loading the wrong file


From: Fred J.
Subject: [Gdb] gdb loading the wrong file
Date: Sat, 23 Jul 2005 12:08:00 -0700 (PDT)

Hello

using gdb under emacs, when I type "b 13" as the first
command on the
gdb prompt, I get,
Breakpoint 1 at 0x8048720: file
../sysdeps/i386/elf/start.S, line 13.
hold a minute, what is this funny looking file
../system/whatever?
I thought it should say,
/home/sam/Exercies/ThinkingInC++/Vol1/C03/13/proj1
after all thats what showed up when I 
M-x gdb
Run gdb (like this): gdb
Exercies/ThinkingInC++/Vol1/C03/13/proj1 

here it is all in one go,

Current directory is
/home/sam/Exercies/ThinkingInC++/Vol1/C03/13/
GNU gdb 6.3-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General
Public License, and you are
welcome to change it and/or distribute copies of it
under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show
warranty" for details.
This GDB was configured as "i386-linux"...Using host
libthread_db library "/lib/tls/libthread_db.so.1".

(gdb) b 13
Breakpoint 1 at 0x8048720: file
../sysdeps/i386/elf/start.S, line 13.
(gdb) 


thanks for any help with this.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]