Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
70 user(s) are online (60 user(s) are browsing Forums)

Members: 0
Guests: 70

more...

Support us!

Headlines

Report message:*
 

Re: GDB

Subject: Re: GDB
by jabirulo on 2021/3/22 21:45:55

Using "FILE" command:
gdb) file helloworld
file helloworld
target_close (0)
Load new symbol table from "/Devel/SDK/ejemplos/helloworld"? (y or n) [answered Y; input not from terminal]
Reading symbols from /Devel/SDK/ejemplos/helloworld...done.
(gdb) list
list
target_memory_map ()
target_get_section_table ()
target_get_section_table () for exec
exec:target_xfer_partial (2, (null), 0x572de498, 0x0, 0x10004d4, 4) = 4, bytes = 3d 20 01 00
target_get_section_table ()
target_get_section_table () for exec
exec:target_xfer_partial (2, (null), 0x572de568, 0x0, 0x10004d4, 4) = 4, bytes = 3d 20 01 00
1 ;/*
2 ppc-amigaos-gcc helloworld.c -o helloworld -gstabs -Wall
3 quit
4 */
5 #include <stdio.h>
6
7 int main(void)
8 {
9 printf("asd\n");
10 }
(gdb)


But I didn't press Y/N it just "automagically "answered" Y::
Load new symbol table from "/Devel/SDK/ejemplos/helloworld"? (y or n) [answered Y; input not from terminal]


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project