GDB Problems

1999-02-13 Thread Philip Thiem
I have recently been expriencing problems with GDB. I will compiling a program with the -g symbol and run it in gdb. After setting a break point(typically line one worked in the past) and running the program I get this: Cannot insert breakpoint 1: Cannot access memory at address: some memory add

Re: GDB problems

1999-01-25 Thread Scott J. Geertgens
> Breakpoint 1 at 0xbab4: file program.c, line 4. > (gdb) r > Starting program: /home/IA/baptista/./program > Breakpoint 1 at 0x81f6c80: file program.c, line 4. > Cannot insert breakpoint 1: > Cannot access memory at address 0x81f6c80. > > Regards,Paulo Henrique > I

Re: GDB problems

1999-01-25 Thread Paulo Henrique Baptista de Oliveira
Hi Henning, thank you for you help. But it didnt work. See bellow. [EMAIL PROTECTED]: ~$ more program.c #include void main() { int i=1; printf("%d", i); } [EMAIL PROTECTED]: ~$ gcc -o program -g program.c [EMAIL PROTECTED]: ~$ gdb ./program GNU gdb 4.17.19981224.m6

Re: GDB problems

1999-01-25 Thread Henning Makholm
Paulo Henrique Baptista de Oliveira <[EMAIL PROTECTED]> writes: > [EMAIL PROTECTED]: /home/IA/baptista$ gcc -g -o teste teste.c > [EMAIL PROTECTED]: /home/IA/baptista$ gdb teste [...] > (gdb) l > warning: Source file is more recent than executable. This suggests that there is a 'teste' executable

GDB problems

1999-01-25 Thread Paulo Henrique Baptista de Oliveira
Hi Debian users, I have some problems with gdb. Bellow I put the error that occurs when I try to insert a breakpoint using gdb: [EMAIL PROTECTED]: /home/IA/baptista$ more teste.c #include void main() { int i=1; printf("%d", i); } [EMAIL PROTECTED]: /home/IA/baptista

gdb problems

1998-07-27 Thread Luiz Otavio L. Zorzella
Hi, my gdb seems to be having problems lately. I need to make SIGSEGV a "nostop" and "noprint" for gdb, but it's refusing to do it, lately. Take a look: GNU gdb 4.17 Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcom