Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* RE: (Rising Spam Alert)gdb search wrong source file
@ 2007-09-28  3:39 xchen
  0 siblings, 0 replies; 24+ messages in thread
From: xchen @ 2007-09-28  3:39 UTC (permalink / raw)
  To: 'xchen', gdb

I have solve this problem. 
I forgot to modify some makefile. 

-----Original Message-----
From: gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] On Behalf
Of xchen
Sent: 2007年9月27日 16:29
To: gdb@sourceware.org
Subject: (Rising Spam Alert)gdb search wrong source file

Hi,

    I use gdbserver run on my board. The problem is that gdb search wrong
source file.Blowed is my snapshot.

Breakpoint 1, 0x1000a5cc in main ()
(gdb) list
1 in ../sysdeps/powerpc/powerpc32/elf/start.S
(gdb) info source
Current source file is ../sysdeps/powerpc/powerpc32/elf/start.S
Compilation directory is /var/tmp/BUILD/glibc-2.3.2/csu Source language is
asm.
Compiled with DWARF 2 debugging format.
Does not include preprocessor macro info.
(gdb) list
1 in ../sysdeps/powerpc/powerpc32/elf/start.S
(gdb) info sharedlibrary
From To Syms Read Shared Object Library
0x0ff940c0 0x0ff9cc84 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libpthread.so.0
0x0ff5fc24 0x0ff63bb4 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/librt.so.1
0x0feb9a78 0x0ff198bc Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libstdc++.so.5
0x0fdae728 0x0fe1e998 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libm.so.6
0x0fd7da40 0x0fd86f3c Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/libgcc_s.so.1
0x0fc32ad0 0x0fd3a1fc Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/libc.so.6
0x30001f90 0x30013760 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/ld.so.1
(gdb) pwd
Working directory /home/chenxi/cpu_io_v106_20070910/cpu_v106_af/cpu_v/Debug.
(gdb) show directories
Source directories searched: $cdir:$cwd

Library loaded correctly. I try to use dir to add all my path, but gdb think
current source file is start.s. Actually root.cpp should be the current
file. How can I make it right.  BTW last month, gdbserver don't have this
bug when I use it debug.

Thx,
Xi





^ permalink raw reply	[flat|nested] 24+ messages in thread
* RE: (Rising Spam Alert)gdb search wrong source file
@ 2007-09-28  3:39 xchen
  0 siblings, 0 replies; 24+ messages in thread
From: xchen @ 2007-09-28  3:39 UTC (permalink / raw)
  To: 'xchen', gdb

I have solve this problem. 
I forgot to modify some makefile. 

-----Original Message-----
From: gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] On Behalf
Of xchen
Sent: 2007年9月27日 16:29
To: gdb@sourceware.org
Subject: (Rising Spam Alert)gdb search wrong source file

Hi,

    I use gdbserver run on my board. The problem is that gdb search wrong
source file.Blowed is my snapshot.

Breakpoint 1, 0x1000a5cc in main ()
(gdb) list
1 in ../sysdeps/powerpc/powerpc32/elf/start.S
(gdb) info source
Current source file is ../sysdeps/powerpc/powerpc32/elf/start.S
Compilation directory is /var/tmp/BUILD/glibc-2.3.2/csu Source language is
asm.
Compiled with DWARF 2 debugging format.
Does not include preprocessor macro info.
(gdb) list
1 in ../sysdeps/powerpc/powerpc32/elf/start.S
(gdb) info sharedlibrary
From To Syms Read Shared Object Library
0x0ff940c0 0x0ff9cc84 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libpthread.so.0
0x0ff5fc24 0x0ff63bb4 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/librt.so.1
0x0feb9a78 0x0ff198bc Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libstdc++.so.5
0x0fdae728 0x0fe1e998 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libm.so.6
0x0fd7da40 0x0fd86f3c Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/libgcc_s.so.1
0x0fc32ad0 0x0fd3a1fc Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/libc.so.6
0x30001f90 0x30013760 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/ld.so.1
(gdb) pwd
Working directory /home/chenxi/cpu_io_v106_20070910/cpu_v106_af/cpu_v/Debug.
(gdb) show directories
Source directories searched: $cdir:$cwd

Library loaded correctly. I try to use dir to add all my path, but gdb think
current source file is start.s. Actually root.cpp should be the current
file. How can I make it right.  BTW last month, gdbserver don't have this
bug when I use it debug.

Thx,
Xi





^ permalink raw reply	[flat|nested] 24+ messages in thread
* RE: (Rising Spam Alert)gdb search wrong source file
@ 2007-09-28  3:39 xchen
  0 siblings, 0 replies; 24+ messages in thread
From: xchen @ 2007-09-28  3:39 UTC (permalink / raw)
  To: 'xchen', gdb

I have solve this problem. 
I forgot to modify some makefile. 

-----Original Message-----
From: gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] On Behalf
Of xchen
Sent: 2007年9月27日 16:29
To: gdb@sourceware.org
Subject: (Rising Spam Alert)gdb search wrong source file

Hi,

    I use gdbserver run on my board. The problem is that gdb search wrong
source file.Blowed is my snapshot.

Breakpoint 1, 0x1000a5cc in main ()
(gdb) list
1 in ../sysdeps/powerpc/powerpc32/elf/start.S
(gdb) info source
Current source file is ../sysdeps/powerpc/powerpc32/elf/start.S
Compilation directory is /var/tmp/BUILD/glibc-2.3.2/csu Source language is
asm.
Compiled with DWARF 2 debugging format.
Does not include preprocessor macro info.
(gdb) list
1 in ../sysdeps/powerpc/powerpc32/elf/start.S
(gdb) info sharedlibrary
From To Syms Read Shared Object Library
0x0ff940c0 0x0ff9cc84 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libpthread.so.0
0x0ff5fc24 0x0ff63bb4 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/librt.so.1
0x0feb9a78 0x0ff198bc Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libstdc++.so.5
0x0fdae728 0x0fe1e998 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libm.so.6
0x0fd7da40 0x0fd86f3c Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/libgcc_s.so.1
0x0fc32ad0 0x0fd3a1fc Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/libc.so.6
0x30001f90 0x30013760 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/ld.so.1
(gdb) pwd
Working directory /home/chenxi/cpu_io_v106_20070910/cpu_v106_af/cpu_v/Debug.
(gdb) show directories
Source directories searched: $cdir:$cwd

Library loaded correctly. I try to use dir to add all my path, but gdb think
current source file is start.s. Actually root.cpp should be the current
file. How can I make it right.  BTW last month, gdbserver don't have this
bug when I use it debug.

Thx,
Xi





^ permalink raw reply	[flat|nested] 24+ messages in thread
* RE: (Rising Spam Alert)gdb search wrong source file
@ 2007-09-28  3:39 xchen
  0 siblings, 0 replies; 24+ messages in thread
From: xchen @ 2007-09-28  3:39 UTC (permalink / raw)
  To: 'xchen', gdb

I have solve this problem. 
I forgot to modify some makefile. 

-----Original Message-----
From: gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] On Behalf
Of xchen
Sent: 2007年9月27日 16:29
To: gdb@sourceware.org
Subject: (Rising Spam Alert)gdb search wrong source file

Hi,

    I use gdbserver run on my board. The problem is that gdb search wrong
source file.Blowed is my snapshot.

Breakpoint 1, 0x1000a5cc in main ()
(gdb) list
1 in ../sysdeps/powerpc/powerpc32/elf/start.S
(gdb) info source
Current source file is ../sysdeps/powerpc/powerpc32/elf/start.S
Compilation directory is /var/tmp/BUILD/glibc-2.3.2/csu Source language is
asm.
Compiled with DWARF 2 debugging format.
Does not include preprocessor macro info.
(gdb) list
1 in ../sysdeps/powerpc/powerpc32/elf/start.S
(gdb) info sharedlibrary
From To Syms Read Shared Object Library
0x0ff940c0 0x0ff9cc84 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libpthread.so.0
0x0ff5fc24 0x0ff63bb4 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/librt.so.1
0x0feb9a78 0x0ff198bc Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libstdc++.so.5
0x0fdae728 0x0fe1e998 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libm.so.6
0x0fd7da40 0x0fd86f3c Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/libgcc_s.so.1
0x0fc32ad0 0x0fd3a1fc Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/libc.so.6
0x30001f90 0x30013760 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/ld.so.1
(gdb) pwd
Working directory /home/chenxi/cpu_io_v106_20070910/cpu_v106_af/cpu_v/Debug.
(gdb) show directories
Source directories searched: $cdir:$cwd

Library loaded correctly. I try to use dir to add all my path, but gdb think
current source file is start.s. Actually root.cpp should be the current
file. How can I make it right.  BTW last month, gdbserver don't have this
bug when I use it debug.

Thx,
Xi





^ permalink raw reply	[flat|nested] 24+ messages in thread
* RE: (Rising Spam Alert)gdb search wrong source file
@ 2007-09-28  3:39 xchen
  0 siblings, 0 replies; 24+ messages in thread
From: xchen @ 2007-09-28  3:39 UTC (permalink / raw)
  To: 'xchen', gdb

I have solve this problem. 
I forgot to modify some makefile. 

-----Original Message-----
From: gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] On Behalf
Of xchen
Sent: 2007年9月27日 16:29
To: gdb@sourceware.org
Subject: (Rising Spam Alert)gdb search wrong source file

Hi,

    I use gdbserver run on my board. The problem is that gdb search wrong
source file.Blowed is my snapshot.

Breakpoint 1, 0x1000a5cc in main ()
(gdb) list
1 in ../sysdeps/powerpc/powerpc32/elf/start.S
(gdb) info source
Current source file is ../sysdeps/powerpc/powerpc32/elf/start.S
Compilation directory is /var/tmp/BUILD/glibc-2.3.2/csu Source language is
asm.
Compiled with DWARF 2 debugging format.
Does not include preprocessor macro info.
(gdb) list
1 in ../sysdeps/powerpc/powerpc32/elf/start.S
(gdb) info sharedlibrary
From To Syms Read Shared Object Library
0x0ff940c0 0x0ff9cc84 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libpthread.so.0
0x0ff5fc24 0x0ff63bb4 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/librt.so.1
0x0feb9a78 0x0ff198bc Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libstdc++.so.5
0x0fdae728 0x0fe1e998 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libm.so.6
0x0fd7da40 0x0fd86f3c Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/libgcc_s.so.1
0x0fc32ad0 0x0fd3a1fc Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/libc.so.6
0x30001f90 0x30013760 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/ld.so.1
(gdb) pwd
Working directory /home/chenxi/cpu_io_v106_20070910/cpu_v106_af/cpu_v/Debug.
(gdb) show directories
Source directories searched: $cdir:$cwd

Library loaded correctly. I try to use dir to add all my path, but gdb think
current source file is start.s. Actually root.cpp should be the current
file. How can I make it right.  BTW last month, gdbserver don't have this
bug when I use it debug.

Thx,
Xi





^ permalink raw reply	[flat|nested] 24+ messages in thread
* RE: (Rising Spam Alert)gdb search wrong source file
@ 2007-09-28  3:39 xchen
  0 siblings, 0 replies; 24+ messages in thread
From: xchen @ 2007-09-28  3:39 UTC (permalink / raw)
  To: 'xchen', gdb

I have solve this problem. 
I forgot to modify some makefile. 

-----Original Message-----
From: gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] On Behalf
Of xchen
Sent: 2007年9月27日 16:29
To: gdb@sourceware.org
Subject: (Rising Spam Alert)gdb search wrong source file

Hi,

    I use gdbserver run on my board. The problem is that gdb search wrong
source file.Blowed is my snapshot.

Breakpoint 1, 0x1000a5cc in main ()
(gdb) list
1 in ../sysdeps/powerpc/powerpc32/elf/start.S
(gdb) info source
Current source file is ../sysdeps/powerpc/powerpc32/elf/start.S
Compilation directory is /var/tmp/BUILD/glibc-2.3.2/csu Source language is
asm.
Compiled with DWARF 2 debugging format.
Does not include preprocessor macro info.
(gdb) list
1 in ../sysdeps/powerpc/powerpc32/elf/start.S
(gdb) info sharedlibrary
From To Syms Read Shared Object Library
0x0ff940c0 0x0ff9cc84 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libpthread.so.0
0x0ff5fc24 0x0ff63bb4 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/librt.so.1
0x0feb9a78 0x0ff198bc Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libstdc++.so.5
0x0fdae728 0x0fe1e998 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libm.so.6
0x0fd7da40 0x0fd86f3c Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/libgcc_s.so.1
0x0fc32ad0 0x0fd3a1fc Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/libc.so.6
0x30001f90 0x30013760 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/ld.so.1
(gdb) pwd
Working directory /home/chenxi/cpu_io_v106_20070910/cpu_v106_af/cpu_v/Debug.
(gdb) show directories
Source directories searched: $cdir:$cwd

Library loaded correctly. I try to use dir to add all my path, but gdb think
current source file is start.s. Actually root.cpp should be the current
file. How can I make it right.  BTW last month, gdbserver don't have this
bug when I use it debug.

Thx,
Xi





^ permalink raw reply	[flat|nested] 24+ messages in thread
* RE: (Rising Spam Alert)gdb search wrong source file
@ 2007-09-28  3:39 xchen
  0 siblings, 0 replies; 24+ messages in thread
From: xchen @ 2007-09-28  3:39 UTC (permalink / raw)
  To: 'xchen', gdb

I have solve this problem. 
I forgot to modify some makefile. 

-----Original Message-----
From: gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] On Behalf
Of xchen
Sent: 2007年9月27日 16:29
To: gdb@sourceware.org
Subject: (Rising Spam Alert)gdb search wrong source file

Hi,

    I use gdbserver run on my board. The problem is that gdb search wrong
source file.Blowed is my snapshot.

Breakpoint 1, 0x1000a5cc in main ()
(gdb) list
1 in ../sysdeps/powerpc/powerpc32/elf/start.S
(gdb) info source
Current source file is ../sysdeps/powerpc/powerpc32/elf/start.S
Compilation directory is /var/tmp/BUILD/glibc-2.3.2/csu Source language is
asm.
Compiled with DWARF 2 debugging format.
Does not include preprocessor macro info.
(gdb) list
1 in ../sysdeps/powerpc/powerpc32/elf/start.S
(gdb) info sharedlibrary
From To Syms Read Shared Object Library
0x0ff940c0 0x0ff9cc84 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libpthread.so.0
0x0ff5fc24 0x0ff63bb4 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/librt.so.1
0x0feb9a78 0x0ff198bc Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libstdc++.so.5
0x0fdae728 0x0fe1e998 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libm.so.6
0x0fd7da40 0x0fd86f3c Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/libgcc_s.so.1
0x0fc32ad0 0x0fd3a1fc Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/libc.so.6
0x30001f90 0x30013760 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/ld.so.1
(gdb) pwd
Working directory /home/chenxi/cpu_io_v106_20070910/cpu_v106_af/cpu_v/Debug.
(gdb) show directories
Source directories searched: $cdir:$cwd

Library loaded correctly. I try to use dir to add all my path, but gdb think
current source file is start.s. Actually root.cpp should be the current
file. How can I make it right.  BTW last month, gdbserver don't have this
bug when I use it debug.

Thx,
Xi





^ permalink raw reply	[flat|nested] 24+ messages in thread
* RE: (Rising Spam Alert)gdb search wrong source file
@ 2007-09-28  3:39 xchen
  0 siblings, 0 replies; 24+ messages in thread
From: xchen @ 2007-09-28  3:39 UTC (permalink / raw)
  To: 'xchen', gdb

I have solve this problem. 
I forgot to modify some makefile. 

-----Original Message-----
From: gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] On Behalf
Of xchen
Sent: 2007年9月27日 16:29
To: gdb@sourceware.org
Subject: (Rising Spam Alert)gdb search wrong source file

Hi,

    I use gdbserver run on my board. The problem is that gdb search wrong
source file.Blowed is my snapshot.

Breakpoint 1, 0x1000a5cc in main ()
(gdb) list
1 in ../sysdeps/powerpc/powerpc32/elf/start.S
(gdb) info source
Current source file is ../sysdeps/powerpc/powerpc32/elf/start.S
Compilation directory is /var/tmp/BUILD/glibc-2.3.2/csu Source language is
asm.
Compiled with DWARF 2 debugging format.
Does not include preprocessor macro info.
(gdb) list
1 in ../sysdeps/powerpc/powerpc32/elf/start.S
(gdb) info sharedlibrary
From To Syms Read Shared Object Library
0x0ff940c0 0x0ff9cc84 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libpthread.so.0
0x0ff5fc24 0x0ff63bb4 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/librt.so.1
0x0feb9a78 0x0ff198bc Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libstdc++.so.5
0x0fdae728 0x0fe1e998 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libm.so.6
0x0fd7da40 0x0fd86f3c Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/libgcc_s.so.1
0x0fc32ad0 0x0fd3a1fc Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/libc.so.6
0x30001f90 0x30013760 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/ld.so.1
(gdb) pwd
Working directory /home/chenxi/cpu_io_v106_20070910/cpu_v106_af/cpu_v/Debug.
(gdb) show directories
Source directories searched: $cdir:$cwd

Library loaded correctly. I try to use dir to add all my path, but gdb think
current source file is start.s. Actually root.cpp should be the current
file. How can I make it right.  BTW last month, gdbserver don't have this
bug when I use it debug.

Thx,
Xi





^ permalink raw reply	[flat|nested] 24+ messages in thread
* RE: (Rising Spam Alert)gdb search wrong source file
@ 2007-09-28  3:39 xchen
  0 siblings, 0 replies; 24+ messages in thread
From: xchen @ 2007-09-28  3:39 UTC (permalink / raw)
  To: 'xchen', gdb

I have solve this problem. 
I forgot to modify some makefile. 

-----Original Message-----
From: gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] On Behalf
Of xchen
Sent: 2007年9月27日 16:29
To: gdb@sourceware.org
Subject: (Rising Spam Alert)gdb search wrong source file

Hi,

    I use gdbserver run on my board. The problem is that gdb search wrong
source file.Blowed is my snapshot.

Breakpoint 1, 0x1000a5cc in main ()
(gdb) list
1 in ../sysdeps/powerpc/powerpc32/elf/start.S
(gdb) info source
Current source file is ../sysdeps/powerpc/powerpc32/elf/start.S
Compilation directory is /var/tmp/BUILD/glibc-2.3.2/csu Source language is
asm.
Compiled with DWARF 2 debugging format.
Does not include preprocessor macro info.
(gdb) list
1 in ../sysdeps/powerpc/powerpc32/elf/start.S
(gdb) info sharedlibrary
From To Syms Read Shared Object Library
0x0ff940c0 0x0ff9cc84 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libpthread.so.0
0x0ff5fc24 0x0ff63bb4 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/librt.so.1
0x0feb9a78 0x0ff198bc Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libstdc++.so.5
0x0fdae728 0x0fe1e998 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libm.so.6
0x0fd7da40 0x0fd86f3c Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/libgcc_s.so.1
0x0fc32ad0 0x0fd3a1fc Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/libc.so.6
0x30001f90 0x30013760 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/ld.so.1
(gdb) pwd
Working directory /home/chenxi/cpu_io_v106_20070910/cpu_v106_af/cpu_v/Debug.
(gdb) show directories
Source directories searched: $cdir:$cwd

Library loaded correctly. I try to use dir to add all my path, but gdb think
current source file is start.s. Actually root.cpp should be the current
file. How can I make it right.  BTW last month, gdbserver don't have this
bug when I use it debug.

Thx,
Xi





^ permalink raw reply	[flat|nested] 24+ messages in thread
* RE: (Rising Spam Alert)gdb search wrong source file
@ 2007-09-28  3:39 xchen
  0 siblings, 0 replies; 24+ messages in thread
From: xchen @ 2007-09-28  3:39 UTC (permalink / raw)
  To: 'xchen', gdb

I have solve this problem. 
I forgot to modify some makefile. 

-----Original Message-----
From: gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] On Behalf
Of xchen
Sent: 2007年9月27日 16:29
To: gdb@sourceware.org
Subject: (Rising Spam Alert)gdb search wrong source file

Hi,

    I use gdbserver run on my board. The problem is that gdb search wrong
source file.Blowed is my snapshot.

Breakpoint 1, 0x1000a5cc in main ()
(gdb) list
1 in ../sysdeps/powerpc/powerpc32/elf/start.S
(gdb) info source
Current source file is ../sysdeps/powerpc/powerpc32/elf/start.S
Compilation directory is /var/tmp/BUILD/glibc-2.3.2/csu Source language is
asm.
Compiled with DWARF 2 debugging format.
Does not include preprocessor macro info.
(gdb) list
1 in ../sysdeps/powerpc/powerpc32/elf/start.S
(gdb) info sharedlibrary
From To Syms Read Shared Object Library
0x0ff940c0 0x0ff9cc84 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libpthread.so.0
0x0ff5fc24 0x0ff63bb4 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/librt.so.1
0x0feb9a78 0x0ff198bc Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libstdc++.so.5
0x0fdae728 0x0fe1e998 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libm.so.6
0x0fd7da40 0x0fd86f3c Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/libgcc_s.so.1
0x0fc32ad0 0x0fd3a1fc Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/libc.so.6
0x30001f90 0x30013760 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/ld.so.1
(gdb) pwd
Working directory /home/chenxi/cpu_io_v106_20070910/cpu_v106_af/cpu_v/Debug.
(gdb) show directories
Source directories searched: $cdir:$cwd

Library loaded correctly. I try to use dir to add all my path, but gdb think
current source file is start.s. Actually root.cpp should be the current
file. How can I make it right.  BTW last month, gdbserver don't have this
bug when I use it debug.

Thx,
Xi





^ permalink raw reply	[flat|nested] 24+ messages in thread
* RE: (Rising Spam Alert)gdb search wrong source file
@ 2007-09-28  3:39 xchen
  0 siblings, 0 replies; 24+ messages in thread
From: xchen @ 2007-09-28  3:39 UTC (permalink / raw)
  To: 'xchen', gdb

I have solve this problem. 
I forgot to modify some makefile. 

-----Original Message-----
From: gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] On Behalf
Of xchen
Sent: 2007年9月27日 16:29
To: gdb@sourceware.org
Subject: (Rising Spam Alert)gdb search wrong source file

Hi,

    I use gdbserver run on my board. The problem is that gdb search wrong
source file.Blowed is my snapshot.

Breakpoint 1, 0x1000a5cc in main ()
(gdb) list
1 in ../sysdeps/powerpc/powerpc32/elf/start.S
(gdb) info source
Current source file is ../sysdeps/powerpc/powerpc32/elf/start.S
Compilation directory is /var/tmp/BUILD/glibc-2.3.2/csu Source language is
asm.
Compiled with DWARF 2 debugging format.
Does not include preprocessor macro info.
(gdb) list
1 in ../sysdeps/powerpc/powerpc32/elf/start.S
(gdb) info sharedlibrary
From To Syms Read Shared Object Library
0x0ff940c0 0x0ff9cc84 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libpthread.so.0
0x0ff5fc24 0x0ff63bb4 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/librt.so.1
0x0feb9a78 0x0ff198bc Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libstdc++.so.5
0x0fdae728 0x0fe1e998 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libm.so.6
0x0fd7da40 0x0fd86f3c Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/libgcc_s.so.1
0x0fc32ad0 0x0fd3a1fc Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/libc.so.6
0x30001f90 0x30013760 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/ld.so.1
(gdb) pwd
Working directory /home/chenxi/cpu_io_v106_20070910/cpu_v106_af/cpu_v/Debug.
(gdb) show directories
Source directories searched: $cdir:$cwd

Library loaded correctly. I try to use dir to add all my path, but gdb think
current source file is start.s. Actually root.cpp should be the current
file. How can I make it right.  BTW last month, gdbserver don't have this
bug when I use it debug.

Thx,
Xi





^ permalink raw reply	[flat|nested] 24+ messages in thread
* RE: (Rising Spam Alert)gdb search wrong source file
@ 2007-09-28  3:39 xchen
  0 siblings, 0 replies; 24+ messages in thread
From: xchen @ 2007-09-28  3:39 UTC (permalink / raw)
  To: 'xchen', gdb

I have solve this problem. 
I forgot to modify some makefile. 

-----Original Message-----
From: gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] On Behalf
Of xchen
Sent: 2007年9月27日 16:29
To: gdb@sourceware.org
Subject: (Rising Spam Alert)gdb search wrong source file

Hi,

    I use gdbserver run on my board. The problem is that gdb search wrong
source file.Blowed is my snapshot.

Breakpoint 1, 0x1000a5cc in main ()
(gdb) list
1 in ../sysdeps/powerpc/powerpc32/elf/start.S
(gdb) info source
Current source file is ../sysdeps/powerpc/powerpc32/elf/start.S
Compilation directory is /var/tmp/BUILD/glibc-2.3.2/csu Source language is
asm.
Compiled with DWARF 2 debugging format.
Does not include preprocessor macro info.
(gdb) list
1 in ../sysdeps/powerpc/powerpc32/elf/start.S
(gdb) info sharedlibrary
From To Syms Read Shared Object Library
0x0ff940c0 0x0ff9cc84 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libpthread.so.0
0x0ff5fc24 0x0ff63bb4 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/librt.so.1
0x0feb9a78 0x0ff198bc Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libstdc++.so.5
0x0fdae728 0x0fe1e998 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libm.so.6
0x0fd7da40 0x0fd86f3c Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/libgcc_s.so.1
0x0fc32ad0 0x0fd3a1fc Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/libc.so.6
0x30001f90 0x30013760 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/ld.so.1
(gdb) pwd
Working directory /home/chenxi/cpu_io_v106_20070910/cpu_v106_af/cpu_v/Debug.
(gdb) show directories
Source directories searched: $cdir:$cwd

Library loaded correctly. I try to use dir to add all my path, but gdb think
current source file is start.s. Actually root.cpp should be the current
file. How can I make it right.  BTW last month, gdbserver don't have this
bug when I use it debug.

Thx,
Xi





^ permalink raw reply	[flat|nested] 24+ messages in thread
* RE: (Rising Spam Alert)gdb search wrong source file
@ 2007-09-28  3:39 xchen
  0 siblings, 0 replies; 24+ messages in thread
From: xchen @ 2007-09-28  3:39 UTC (permalink / raw)
  To: 'xchen', gdb

I have solve this problem. 
I forgot to modify some makefile. 

-----Original Message-----
From: gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] On Behalf
Of xchen
Sent: 2007年9月27日 16:29
To: gdb@sourceware.org
Subject: (Rising Spam Alert)gdb search wrong source file

Hi,

    I use gdbserver run on my board. The problem is that gdb search wrong
source file.Blowed is my snapshot.

Breakpoint 1, 0x1000a5cc in main ()
(gdb) list
1 in ../sysdeps/powerpc/powerpc32/elf/start.S
(gdb) info source
Current source file is ../sysdeps/powerpc/powerpc32/elf/start.S
Compilation directory is /var/tmp/BUILD/glibc-2.3.2/csu Source language is
asm.
Compiled with DWARF 2 debugging format.
Does not include preprocessor macro info.
(gdb) list
1 in ../sysdeps/powerpc/powerpc32/elf/start.S
(gdb) info sharedlibrary
From To Syms Read Shared Object Library
0x0ff940c0 0x0ff9cc84 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libpthread.so.0
0x0ff5fc24 0x0ff63bb4 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/librt.so.1
0x0feb9a78 0x0ff198bc Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libstdc++.so.5
0x0fdae728 0x0fe1e998 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libm.so.6
0x0fd7da40 0x0fd86f3c Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/libgcc_s.so.1
0x0fc32ad0 0x0fd3a1fc Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/libc.so.6
0x30001f90 0x30013760 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/ld.so.1
(gdb) pwd
Working directory /home/chenxi/cpu_io_v106_20070910/cpu_v106_af/cpu_v/Debug.
(gdb) show directories
Source directories searched: $cdir:$cwd

Library loaded correctly. I try to use dir to add all my path, but gdb think
current source file is start.s. Actually root.cpp should be the current
file. How can I make it right.  BTW last month, gdbserver don't have this
bug when I use it debug.

Thx,
Xi





^ permalink raw reply	[flat|nested] 24+ messages in thread
* RE: (Rising Spam Alert)gdb search wrong source file
@ 2007-09-28  3:39 xchen
  0 siblings, 0 replies; 24+ messages in thread
From: xchen @ 2007-09-28  3:39 UTC (permalink / raw)
  To: 'xchen', gdb

I have solve this problem. 
I forgot to modify some makefile. 

-----Original Message-----
From: gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] On Behalf
Of xchen
Sent: 2007年9月27日 16:29
To: gdb@sourceware.org
Subject: (Rising Spam Alert)gdb search wrong source file

Hi,

    I use gdbserver run on my board. The problem is that gdb search wrong
source file.Blowed is my snapshot.

Breakpoint 1, 0x1000a5cc in main ()
(gdb) list
1 in ../sysdeps/powerpc/powerpc32/elf/start.S
(gdb) info source
Current source file is ../sysdeps/powerpc/powerpc32/elf/start.S
Compilation directory is /var/tmp/BUILD/glibc-2.3.2/csu Source language is
asm.
Compiled with DWARF 2 debugging format.
Does not include preprocessor macro info.
(gdb) list
1 in ../sysdeps/powerpc/powerpc32/elf/start.S
(gdb) info sharedlibrary
From To Syms Read Shared Object Library
0x0ff940c0 0x0ff9cc84 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libpthread.so.0
0x0ff5fc24 0x0ff63bb4 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/librt.so.1
0x0feb9a78 0x0ff198bc Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libstdc++.so.5
0x0fdae728 0x0fe1e998 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libm.so.6
0x0fd7da40 0x0fd86f3c Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/libgcc_s.so.1
0x0fc32ad0 0x0fd3a1fc Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/libc.so.6
0x30001f90 0x30013760 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/ld.so.1
(gdb) pwd
Working directory /home/chenxi/cpu_io_v106_20070910/cpu_v106_af/cpu_v/Debug.
(gdb) show directories
Source directories searched: $cdir:$cwd

Library loaded correctly. I try to use dir to add all my path, but gdb think
current source file is start.s. Actually root.cpp should be the current
file. How can I make it right.  BTW last month, gdbserver don't have this
bug when I use it debug.

Thx,
Xi





^ permalink raw reply	[flat|nested] 24+ messages in thread
* RE: (Rising Spam Alert)gdb search wrong source file
@ 2007-09-28  3:39 xchen
  0 siblings, 0 replies; 24+ messages in thread
From: xchen @ 2007-09-28  3:39 UTC (permalink / raw)
  To: 'xchen', gdb

I have solve this problem. 
I forgot to modify some makefile. 

-----Original Message-----
From: gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] On Behalf
Of xchen
Sent: 2007年9月27日 16:29
To: gdb@sourceware.org
Subject: (Rising Spam Alert)gdb search wrong source file

Hi,

    I use gdbserver run on my board. The problem is that gdb search wrong
source file.Blowed is my snapshot.

Breakpoint 1, 0x1000a5cc in main ()
(gdb) list
1 in ../sysdeps/powerpc/powerpc32/elf/start.S
(gdb) info source
Current source file is ../sysdeps/powerpc/powerpc32/elf/start.S
Compilation directory is /var/tmp/BUILD/glibc-2.3.2/csu Source language is
asm.
Compiled with DWARF 2 debugging format.
Does not include preprocessor macro info.
(gdb) list
1 in ../sysdeps/powerpc/powerpc32/elf/start.S
(gdb) info sharedlibrary
From To Syms Read Shared Object Library
0x0ff940c0 0x0ff9cc84 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libpthread.so.0
0x0ff5fc24 0x0ff63bb4 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/librt.so.1
0x0feb9a78 0x0ff198bc Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libstdc++.so.5
0x0fdae728 0x0fe1e998 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libm.so.6
0x0fd7da40 0x0fd86f3c Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/libgcc_s.so.1
0x0fc32ad0 0x0fd3a1fc Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/libc.so.6
0x30001f90 0x30013760 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/ld.so.1
(gdb) pwd
Working directory /home/chenxi/cpu_io_v106_20070910/cpu_v106_af/cpu_v/Debug.
(gdb) show directories
Source directories searched: $cdir:$cwd

Library loaded correctly. I try to use dir to add all my path, but gdb think
current source file is start.s. Actually root.cpp should be the current
file. How can I make it right.  BTW last month, gdbserver don't have this
bug when I use it debug.

Thx,
Xi





^ permalink raw reply	[flat|nested] 24+ messages in thread
* RE: (Rising Spam Alert)gdb search wrong source file
@ 2007-09-28  3:39 xchen
  0 siblings, 0 replies; 24+ messages in thread
From: xchen @ 2007-09-28  3:39 UTC (permalink / raw)
  To: 'xchen', gdb

I have solve this problem. 
I forgot to modify some makefile. 

-----Original Message-----
From: gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] On Behalf
Of xchen
Sent: 2007年9月27日 16:29
To: gdb@sourceware.org
Subject: (Rising Spam Alert)gdb search wrong source file

Hi,

    I use gdbserver run on my board. The problem is that gdb search wrong
source file.Blowed is my snapshot.

Breakpoint 1, 0x1000a5cc in main ()
(gdb) list
1 in ../sysdeps/powerpc/powerpc32/elf/start.S
(gdb) info source
Current source file is ../sysdeps/powerpc/powerpc32/elf/start.S
Compilation directory is /var/tmp/BUILD/glibc-2.3.2/csu Source language is
asm.
Compiled with DWARF 2 debugging format.
Does not include preprocessor macro info.
(gdb) list
1 in ../sysdeps/powerpc/powerpc32/elf/start.S
(gdb) info sharedlibrary
From To Syms Read Shared Object Library
0x0ff940c0 0x0ff9cc84 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libpthread.so.0
0x0ff5fc24 0x0ff63bb4 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/librt.so.1
0x0feb9a78 0x0ff198bc Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libstdc++.so.5
0x0fdae728 0x0fe1e998 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libm.so.6
0x0fd7da40 0x0fd86f3c Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/libgcc_s.so.1
0x0fc32ad0 0x0fd3a1fc Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/libc.so.6
0x30001f90 0x30013760 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/ld.so.1
(gdb) pwd
Working directory /home/chenxi/cpu_io_v106_20070910/cpu_v106_af/cpu_v/Debug.
(gdb) show directories
Source directories searched: $cdir:$cwd

Library loaded correctly. I try to use dir to add all my path, but gdb think
current source file is start.s. Actually root.cpp should be the current
file. How can I make it right.  BTW last month, gdbserver don't have this
bug when I use it debug.

Thx,
Xi





^ permalink raw reply	[flat|nested] 24+ messages in thread
* RE: (Rising Spam Alert)gdb search wrong source file
@ 2007-09-28  3:39 xchen
  0 siblings, 0 replies; 24+ messages in thread
From: xchen @ 2007-09-28  3:39 UTC (permalink / raw)
  To: 'xchen', gdb

I have solve this problem. 
I forgot to modify some makefile. 

-----Original Message-----
From: gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] On Behalf
Of xchen
Sent: 2007年9月27日 16:29
To: gdb@sourceware.org
Subject: (Rising Spam Alert)gdb search wrong source file

Hi,

    I use gdbserver run on my board. The problem is that gdb search wrong
source file.Blowed is my snapshot.

Breakpoint 1, 0x1000a5cc in main ()
(gdb) list
1 in ../sysdeps/powerpc/powerpc32/elf/start.S
(gdb) info source
Current source file is ../sysdeps/powerpc/powerpc32/elf/start.S
Compilation directory is /var/tmp/BUILD/glibc-2.3.2/csu Source language is
asm.
Compiled with DWARF 2 debugging format.
Does not include preprocessor macro info.
(gdb) list
1 in ../sysdeps/powerpc/powerpc32/elf/start.S
(gdb) info sharedlibrary
From To Syms Read Shared Object Library
0x0ff940c0 0x0ff9cc84 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libpthread.so.0
0x0ff5fc24 0x0ff63bb4 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/librt.so.1
0x0feb9a78 0x0ff198bc Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libstdc++.so.5
0x0fdae728 0x0fe1e998 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libm.so.6
0x0fd7da40 0x0fd86f3c Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/libgcc_s.so.1
0x0fc32ad0 0x0fd3a1fc Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/libc.so.6
0x30001f90 0x30013760 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/ld.so.1
(gdb) pwd
Working directory /home/chenxi/cpu_io_v106_20070910/cpu_v106_af/cpu_v/Debug.
(gdb) show directories
Source directories searched: $cdir:$cwd

Library loaded correctly. I try to use dir to add all my path, but gdb think
current source file is start.s. Actually root.cpp should be the current
file. How can I make it right.  BTW last month, gdbserver don't have this
bug when I use it debug.

Thx,
Xi





^ permalink raw reply	[flat|nested] 24+ messages in thread
* RE: (Rising Spam Alert)gdb search wrong source file
@ 2007-09-28  3:39 xchen
  0 siblings, 0 replies; 24+ messages in thread
From: xchen @ 2007-09-28  3:39 UTC (permalink / raw)
  To: 'xchen', gdb

I have solve this problem. 
I forgot to modify some makefile. 

-----Original Message-----
From: gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] On Behalf
Of xchen
Sent: 2007年9月27日 16:29
To: gdb@sourceware.org
Subject: (Rising Spam Alert)gdb search wrong source file

Hi,

    I use gdbserver run on my board. The problem is that gdb search wrong
source file.Blowed is my snapshot.

Breakpoint 1, 0x1000a5cc in main ()
(gdb) list
1 in ../sysdeps/powerpc/powerpc32/elf/start.S
(gdb) info source
Current source file is ../sysdeps/powerpc/powerpc32/elf/start.S
Compilation directory is /var/tmp/BUILD/glibc-2.3.2/csu Source language is
asm.
Compiled with DWARF 2 debugging format.
Does not include preprocessor macro info.
(gdb) list
1 in ../sysdeps/powerpc/powerpc32/elf/start.S
(gdb) info sharedlibrary
From To Syms Read Shared Object Library
0x0ff940c0 0x0ff9cc84 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libpthread.so.0
0x0ff5fc24 0x0ff63bb4 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/librt.so.1
0x0feb9a78 0x0ff198bc Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libstdc++.so.5
0x0fdae728 0x0fe1e998 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libm.so.6
0x0fd7da40 0x0fd86f3c Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/libgcc_s.so.1
0x0fc32ad0 0x0fd3a1fc Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/libc.so.6
0x30001f90 0x30013760 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/ld.so.1
(gdb) pwd
Working directory /home/chenxi/cpu_io_v106_20070910/cpu_v106_af/cpu_v/Debug.
(gdb) show directories
Source directories searched: $cdir:$cwd

Library loaded correctly. I try to use dir to add all my path, but gdb think
current source file is start.s. Actually root.cpp should be the current
file. How can I make it right.  BTW last month, gdbserver don't have this
bug when I use it debug.

Thx,
Xi





^ permalink raw reply	[flat|nested] 24+ messages in thread
* RE: (Rising Spam Alert)gdb search wrong source file
@ 2007-09-28  3:39 xchen
  0 siblings, 0 replies; 24+ messages in thread
From: xchen @ 2007-09-28  3:39 UTC (permalink / raw)
  To: 'xchen', gdb

I have solve this problem. 
I forgot to modify some makefile. 

-----Original Message-----
From: gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] On Behalf
Of xchen
Sent: 2007年9月27日 16:29
To: gdb@sourceware.org
Subject: (Rising Spam Alert)gdb search wrong source file

Hi,

    I use gdbserver run on my board. The problem is that gdb search wrong
source file.Blowed is my snapshot.

Breakpoint 1, 0x1000a5cc in main ()
(gdb) list
1 in ../sysdeps/powerpc/powerpc32/elf/start.S
(gdb) info source
Current source file is ../sysdeps/powerpc/powerpc32/elf/start.S
Compilation directory is /var/tmp/BUILD/glibc-2.3.2/csu Source language is
asm.
Compiled with DWARF 2 debugging format.
Does not include preprocessor macro info.
(gdb) list
1 in ../sysdeps/powerpc/powerpc32/elf/start.S
(gdb) info sharedlibrary
From To Syms Read Shared Object Library
0x0ff940c0 0x0ff9cc84 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libpthread.so.0
0x0ff5fc24 0x0ff63bb4 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/librt.so.1
0x0feb9a78 0x0ff198bc Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libstdc++.so.5
0x0fdae728 0x0fe1e998 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libm.so.6
0x0fd7da40 0x0fd86f3c Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/libgcc_s.so.1
0x0fc32ad0 0x0fd3a1fc Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/libc.so.6
0x30001f90 0x30013760 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/ld.so.1
(gdb) pwd
Working directory /home/chenxi/cpu_io_v106_20070910/cpu_v106_af/cpu_v/Debug.
(gdb) show directories
Source directories searched: $cdir:$cwd

Library loaded correctly. I try to use dir to add all my path, but gdb think
current source file is start.s. Actually root.cpp should be the current
file. How can I make it right.  BTW last month, gdbserver don't have this
bug when I use it debug.

Thx,
Xi





^ permalink raw reply	[flat|nested] 24+ messages in thread
* RE: (Rising Spam Alert)gdb search wrong source file
@ 2007-09-28  3:39 xchen
  0 siblings, 0 replies; 24+ messages in thread
From: xchen @ 2007-09-28  3:39 UTC (permalink / raw)
  To: 'xchen', gdb

I have solve this problem. 
I forgot to modify some makefile. 

-----Original Message-----
From: gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] On Behalf
Of xchen
Sent: 2007年9月27日 16:29
To: gdb@sourceware.org
Subject: (Rising Spam Alert)gdb search wrong source file

Hi,

    I use gdbserver run on my board. The problem is that gdb search wrong
source file.Blowed is my snapshot.

Breakpoint 1, 0x1000a5cc in main ()
(gdb) list
1 in ../sysdeps/powerpc/powerpc32/elf/start.S
(gdb) info source
Current source file is ../sysdeps/powerpc/powerpc32/elf/start.S
Compilation directory is /var/tmp/BUILD/glibc-2.3.2/csu Source language is
asm.
Compiled with DWARF 2 debugging format.
Does not include preprocessor macro info.
(gdb) list
1 in ../sysdeps/powerpc/powerpc32/elf/start.S
(gdb) info sharedlibrary
From To Syms Read Shared Object Library
0x0ff940c0 0x0ff9cc84 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libpthread.so.0
0x0ff5fc24 0x0ff63bb4 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/librt.so.1
0x0feb9a78 0x0ff198bc Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libstdc++.so.5
0x0fdae728 0x0fe1e998 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libm.so.6
0x0fd7da40 0x0fd86f3c Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/libgcc_s.so.1
0x0fc32ad0 0x0fd3a1fc Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/libc.so.6
0x30001f90 0x30013760 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/ld.so.1
(gdb) pwd
Working directory /home/chenxi/cpu_io_v106_20070910/cpu_v106_af/cpu_v/Debug.
(gdb) show directories
Source directories searched: $cdir:$cwd

Library loaded correctly. I try to use dir to add all my path, but gdb think
current source file is start.s. Actually root.cpp should be the current
file. How can I make it right.  BTW last month, gdbserver don't have this
bug when I use it debug.

Thx,
Xi





^ permalink raw reply	[flat|nested] 24+ messages in thread
* RE: (Rising Spam Alert)gdb search wrong source file
@ 2007-09-28  3:39 xchen
  0 siblings, 0 replies; 24+ messages in thread
From: xchen @ 2007-09-28  3:39 UTC (permalink / raw)
  To: 'xchen', gdb

I have solve this problem. 
I forgot to modify some makefile. 

-----Original Message-----
From: gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] On Behalf
Of xchen
Sent: 2007年9月27日 16:29
To: gdb@sourceware.org
Subject: (Rising Spam Alert)gdb search wrong source file

Hi,

    I use gdbserver run on my board. The problem is that gdb search wrong
source file.Blowed is my snapshot.

Breakpoint 1, 0x1000a5cc in main ()
(gdb) list
1 in ../sysdeps/powerpc/powerpc32/elf/start.S
(gdb) info source
Current source file is ../sysdeps/powerpc/powerpc32/elf/start.S
Compilation directory is /var/tmp/BUILD/glibc-2.3.2/csu Source language is
asm.
Compiled with DWARF 2 debugging format.
Does not include preprocessor macro info.
(gdb) list
1 in ../sysdeps/powerpc/powerpc32/elf/start.S
(gdb) info sharedlibrary
From To Syms Read Shared Object Library
0x0ff940c0 0x0ff9cc84 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libpthread.so.0
0x0ff5fc24 0x0ff63bb4 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/librt.so.1
0x0feb9a78 0x0ff198bc Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libstdc++.so.5
0x0fdae728 0x0fe1e998 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libm.so.6
0x0fd7da40 0x0fd86f3c Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/libgcc_s.so.1
0x0fc32ad0 0x0fd3a1fc Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/libc.so.6
0x30001f90 0x30013760 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/ld.so.1
(gdb) pwd
Working directory /home/chenxi/cpu_io_v106_20070910/cpu_v106_af/cpu_v/Debug.
(gdb) show directories
Source directories searched: $cdir:$cwd

Library loaded correctly. I try to use dir to add all my path, but gdb think
current source file is start.s. Actually root.cpp should be the current
file. How can I make it right.  BTW last month, gdbserver don't have this
bug when I use it debug.

Thx,
Xi





^ permalink raw reply	[flat|nested] 24+ messages in thread
* RE: (Rising Spam Alert)gdb search wrong source file
@ 2007-09-28  3:39 xchen
  0 siblings, 0 replies; 24+ messages in thread
From: xchen @ 2007-09-28  3:39 UTC (permalink / raw)
  To: 'xchen', gdb

I have solve this problem. 
I forgot to modify some makefile. 

-----Original Message-----
From: gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] On Behalf
Of xchen
Sent: 2007年9月27日 16:29
To: gdb@sourceware.org
Subject: (Rising Spam Alert)gdb search wrong source file

Hi,

    I use gdbserver run on my board. The problem is that gdb search wrong
source file.Blowed is my snapshot.

Breakpoint 1, 0x1000a5cc in main ()
(gdb) list
1 in ../sysdeps/powerpc/powerpc32/elf/start.S
(gdb) info source
Current source file is ../sysdeps/powerpc/powerpc32/elf/start.S
Compilation directory is /var/tmp/BUILD/glibc-2.3.2/csu Source language is
asm.
Compiled with DWARF 2 debugging format.
Does not include preprocessor macro info.
(gdb) list
1 in ../sysdeps/powerpc/powerpc32/elf/start.S
(gdb) info sharedlibrary
From To Syms Read Shared Object Library
0x0ff940c0 0x0ff9cc84 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libpthread.so.0
0x0ff5fc24 0x0ff63bb4 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/librt.so.1
0x0feb9a78 0x0ff198bc Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libstdc++.so.5
0x0fdae728 0x0fe1e998 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libm.so.6
0x0fd7da40 0x0fd86f3c Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/libgcc_s.so.1
0x0fc32ad0 0x0fd3a1fc Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/libc.so.6
0x30001f90 0x30013760 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/ld.so.1
(gdb) pwd
Working directory /home/chenxi/cpu_io_v106_20070910/cpu_v106_af/cpu_v/Debug.
(gdb) show directories
Source directories searched: $cdir:$cwd

Library loaded correctly. I try to use dir to add all my path, but gdb think
current source file is start.s. Actually root.cpp should be the current
file. How can I make it right.  BTW last month, gdbserver don't have this
bug when I use it debug.

Thx,
Xi





^ permalink raw reply	[flat|nested] 24+ messages in thread
* RE: (Rising Spam Alert)gdb search wrong source file
@ 2007-09-28  3:39 xchen
  0 siblings, 0 replies; 24+ messages in thread
From: xchen @ 2007-09-28  3:39 UTC (permalink / raw)
  To: 'xchen', gdb

I have solve this problem. 
I forgot to modify some makefile. 

-----Original Message-----
From: gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] On Behalf
Of xchen
Sent: 2007年9月27日 16:29
To: gdb@sourceware.org
Subject: (Rising Spam Alert)gdb search wrong source file

Hi,

    I use gdbserver run on my board. The problem is that gdb search wrong
source file.Blowed is my snapshot.

Breakpoint 1, 0x1000a5cc in main ()
(gdb) list
1 in ../sysdeps/powerpc/powerpc32/elf/start.S
(gdb) info source
Current source file is ../sysdeps/powerpc/powerpc32/elf/start.S
Compilation directory is /var/tmp/BUILD/glibc-2.3.2/csu Source language is
asm.
Compiled with DWARF 2 debugging format.
Does not include preprocessor macro info.
(gdb) list
1 in ../sysdeps/powerpc/powerpc32/elf/start.S
(gdb) info sharedlibrary
From To Syms Read Shared Object Library
0x0ff940c0 0x0ff9cc84 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libpthread.so.0
0x0ff5fc24 0x0ff63bb4 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/librt.so.1
0x0feb9a78 0x0ff198bc Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libstdc++.so.5
0x0fdae728 0x0fe1e998 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libm.so.6
0x0fd7da40 0x0fd86f3c Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/libgcc_s.so.1
0x0fc32ad0 0x0fd3a1fc Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/libc.so.6
0x30001f90 0x30013760 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/ld.so.1
(gdb) pwd
Working directory /home/chenxi/cpu_io_v106_20070910/cpu_v106_af/cpu_v/Debug.
(gdb) show directories
Source directories searched: $cdir:$cwd

Library loaded correctly. I try to use dir to add all my path, but gdb think
current source file is start.s. Actually root.cpp should be the current
file. How can I make it right.  BTW last month, gdbserver don't have this
bug when I use it debug.

Thx,
Xi





^ permalink raw reply	[flat|nested] 24+ messages in thread
* RE: (Rising Spam Alert)gdb search wrong source file
@ 2007-09-28  3:39 xchen
  0 siblings, 0 replies; 24+ messages in thread
From: xchen @ 2007-09-28  3:39 UTC (permalink / raw)
  To: 'xchen', gdb

I have solve this problem. 
I forgot to modify some makefile. 

-----Original Message-----
From: gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] On Behalf
Of xchen
Sent: 2007年9月27日 16:29
To: gdb@sourceware.org
Subject: (Rising Spam Alert)gdb search wrong source file

Hi,

    I use gdbserver run on my board. The problem is that gdb search wrong
source file.Blowed is my snapshot.

Breakpoint 1, 0x1000a5cc in main ()
(gdb) list
1 in ../sysdeps/powerpc/powerpc32/elf/start.S
(gdb) info source
Current source file is ../sysdeps/powerpc/powerpc32/elf/start.S
Compilation directory is /var/tmp/BUILD/glibc-2.3.2/csu Source language is
asm.
Compiled with DWARF 2 debugging format.
Does not include preprocessor macro info.
(gdb) list
1 in ../sysdeps/powerpc/powerpc32/elf/start.S
(gdb) info sharedlibrary
From To Syms Read Shared Object Library
0x0ff940c0 0x0ff9cc84 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libpthread.so.0
0x0ff5fc24 0x0ff63bb4 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/librt.so.1
0x0feb9a78 0x0ff198bc Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libstdc++.so.5
0x0fdae728 0x0fe1e998 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/mnt/cf/shared/lib/libm.so.6
0x0fd7da40 0x0fd86f3c Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/libgcc_s.so.1
0x0fc32ad0 0x0fd3a1fc Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/libc.so.6
0x30001f90 0x30013760 Yes
/opt/montavista/pro/devkit/ppc/8xx/target/lib/ld.so.1
(gdb) pwd
Working directory /home/chenxi/cpu_io_v106_20070910/cpu_v106_af/cpu_v/Debug.
(gdb) show directories
Source directories searched: $cdir:$cwd

Library loaded correctly. I try to use dir to add all my path, but gdb think
current source file is start.s. Actually root.cpp should be the current
file. How can I make it right.  BTW last month, gdbserver don't have this
bug when I use it debug.

Thx,
Xi





^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2007-09-28  1:23 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-28  3:39 (Rising Spam Alert)gdb search wrong source file xchen
  -- strict thread matches above, loose matches on Subject: below --
2007-09-28  3:39 xchen
2007-09-28  3:39 xchen
2007-09-28  3:39 xchen
2007-09-28  3:39 xchen
2007-09-28  3:39 xchen
2007-09-28  3:39 xchen
2007-09-28  3:39 xchen
2007-09-28  3:39 xchen
2007-09-28  3:39 xchen
2007-09-28  3:39 xchen
2007-09-28  3:39 xchen
2007-09-28  3:39 xchen
2007-09-28  3:39 xchen
2007-09-28  3:39 xchen
2007-09-28  3:39 xchen
2007-09-28  3:39 xchen
2007-09-28  3:39 xchen
2007-09-28  3:39 xchen
2007-09-28  3:39 xchen
2007-09-28  3:39 xchen
2007-09-28  3:39 xchen
2007-09-28  3:39 xchen
2007-09-28  3:39 xchen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox