Re: conditional watchpoint in gdb



hotmail_spam@xxxxxxxxxxx (Martin Jørgensen) writes:

apple:~/Desktop/bachelor2006/c_programming/output_to_latex mac$ gdb --version
GNU gdb 6.3.50-20050815 (Apple version gdb-477) (Sun Apr 30 20:06:22 GMT 2006)

And you are asking in a *linux* newsgroup because?

Linux is a kind unix right?

Yes.

gdb is a linux program right?

Not at all. Gdb is a debugger that works on Linux and many other OSes.
Gdb predates Linux by a couple of years: gdb version 3.1 was released
in 1989.

At least it's widely used on linux, right?

Correct.

Perhaps you don't use gdb in linux, but

Oh, I do use it on Linux (and elsewhere) every day.

My point was that gdb (and any other portable debugger) necessarily
has many OS-specific parts, and if something works on Linux, it
doesn't at all mean that the same thing will work on Mac OS.

So, if I'm doing linux or unix programming and use
gdb to debug my program, where else do you think I should ask?

If you are doing Linux programming, you should ask here.

If gdb doesn't work on Mac OS, you should ask in the Mac OS group,
probably in the comp.sys.mac.*

Cheers,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
.



Relevant Pages

  • Re: debugging under linux
    ... >>gdb is just too much work to use and too primitive. ... > How do you expect the debugger to know which numbers are supposed to ... but sure, I want to debug my program, not write a linux debugger... ... >>displaying the disassembly in one window, the registers ...
    (comp.os.linux.development.system)
  • Re: Development / Debugging tools - advice needed.
    ... >> I need to be able to load a raw ... >> debugger but not necessarily GUI. ... > DDD is merely a gdb wrapper. ... >> file if it is not in linux executable ...
    (comp.os.linux.development.system)
  • Re: debugging under linux
    ... jacob navia wrote: ... > gdb is just too much work to use. ... > I need something like the MSVC debugger for linux, ...
    (comp.lang.asm.x86)
  • Re: conditional watchpoint in gdb
    ... Are there os-specific commands in gdb for setting conditional ... My program is a linux program... ... do when it is used to debug your program on Linux and on Mac OS. ... It's supposed to be a debugger, so I don't think it's too much to demand ...
    (comp.os.linux.development.apps)
  • Re: Development / Debugging tools - advice needed.
    ... > command to make gdb show stuff in ... comparison to Linux as an OS. ... that the reason that Turbo Debugger ... control of the hardware away from it, ...
    (comp.os.linux.development.system)