Mail Archives: djgpp/2000/01/27/04:18:15
On 26 Jan 2000, axlq.comp.os.msdos.djgpp wrote:
> After a bout of frustration with gdb (having to step through too
> many iterations of a long loop and examine variables each time)
You might want to read the GDB manual where it describes how to automate
those mundane tasks. Put the commands you need on a .gdbinit file in the
directory where you debug, and you will not need to type them more than
once.
> I have longed for something like RHIDE in FreeBSD.
You have Emacs: it has a built-in support for debuggers, including GDB:
just type "M-x gdb RET".
> 2. tvision/include/intl.h tries to include a file called <libintl.h>
> which doesn't exist. I don't know what this is
This is a header file from the GNU gettext distribution. You need to
download and install gettext, and then you'll have that header.
> tflagent.cc:69: warning: passing `int' to argument 2 of `strcat(char *, const char *)' lacks a cast
>
> All right. Let me remove the -Werror option for now.
That's not really a solution: you should instead correct the problem which
triggers the error message.
- Raw text -