markiemrboo Posted July 24, 2005 Posted July 24, 2005 Dev-C++ uses GDB... 515344[/snapback] Uh huh. Tried using that one without a shiny GUI covering it up? It's not too pretty... Share this post Link to post Share on other sites More sharing options...
Kamikaze_Badger Posted July 24, 2005 Posted July 24, 2005 Verran, each person learns at different rates and in different ways. I for example can't learn any algorithms or something without seeing the cold hard code with a few comments. However, I respect your opinion, and I thank you for staying mature throughout the debate despite my posts. EDIT: Markie, you may be right... the only debugging I've done is with Ollydbg32.exe and my Haaaandie Daaandie... Notebook- I mean Win32 System Kernel Interrupt List! Share this post Link to post Share on other sites More sharing options...
markiemrboo Posted July 24, 2005 Posted July 24, 2005 EDIT: Markie, you may be right... the only debugging I've done is with Ollydbg32.exe and my Haaaandie Daaandie... Notebook- I mean Win32 System Kernel Interrupt List! 515366[/snapback] Have an example of it (about as good of an example as you're gonna get from me lol) (mrboo|bone)/home/mrboo$ gdb badpointer badpointer.coreGNU gdb 4.18 (FreeBSD) Copyright 1998 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-unknown-freebsd"...Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 2627 in elfstab_build_psymtabs Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 933 in fill_symbuf Core was generated by `badpointer'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/lib/libc.so.4...done. Reading symbols from /usr/libexec/ld-elf.so.1...done. #0 0x804848c in main () at badpointer.c:5 5 *bp = '\n'; (gdb) list 5 1 #include <stdio.h> 2 3 int main(void) { 4 int *bp = NULL; 5 *bp = '\n'; 6 return 0; 7 } (gdb) break 4 Breakpoint 1 at 0x8048482: file badpointer.c, line 4. (gdb) run Starting program: /usr/home/mrboo/badpointer Breakpoint 1, main () at badpointer.c:4 4 int *bp = NULL; (gdb) next 5 *bp = '\n'; (gdb) next Program received signal SIGSEGV, Segmentation fault. 0x804848c in main () at badpointer.c:5 5 *bp = '\n'; (gdb) Share this post Link to post Share on other sites More sharing options...
Kamikaze_Badger Posted July 24, 2005 Posted July 24, 2005 Ahhh! Hexadecimal code! EVILNESS! Share this post Link to post Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now