Hello-
i am trying to get familiar with gdb so i wrote this code knowing that i will
get a core dump.
when i try to run the following command i get some error about not being in the
proper format.
what can i do to remedy the problem?
thanks,
brian

>gcc -ggdb gen_core.c
>./a.out
>gdb core
"/home/henninb/core": not in executable format: File format not recognized

gen_core.c
-----------
#include <stdio.h>

int main() {
    int x = 1/0;
    return 0;
}

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to