07-12-2006
you shoud first compile your program with -g.
then dbx your exe file.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
this is the seventh problem i'm having with samba.
for some reason, i cannot logon to the domain.
i've created user accounts... and i was able to establish a connection between
the samba server (my PDC) and my workstations by logging in as "root."
however now when i try to logon it gives... (5 Replies)
Discussion started by: xyyz
5 Replies
2. Shell Programming and Scripting
Hi,
If we want to debug a shell script, then set -vx has to be included in the begining of the script. Just i want to know what purpose -vx is used.
Thanks in advace
Sarwan (2 Replies)
Discussion started by: sarwan
2 Replies
3. Programming
Hi,
How to precompile the c program which has proc statements within it.
If it is only c, I will use the following cmd
cc filename.c -o output
so please tell me what command I have to use for precompilation.
I beleave that this is not an oracle or proc forum, but still I hope will... (1 Reply)
Discussion started by: sweta
1 Replies
4. Solaris
when I tried to debug my application i got the following.
gdb -v
GNU gdb 6.6
file is in C and Xmotiff Languages
(gdb) attach 25499
Attaching to process 25499
Retry #1:
Retry #2:
Retry #3:
Retry #4:
0xfea40b68 in ?? ()
(gdb) where
#0 0xfea40b68 in ?? () (0 Replies)
Discussion started by: satish@123
0 Replies
5. Programming
Hi i want to debug the C program with GDB debugger. I want to debug the program by line by line. I want to debug program like as we debug the program in Turbo-C using the F8. Can any one help me?
I know i have to use single stepping. But i don't know how to use it. Any help can be appreciated..... (5 Replies)
Discussion started by: ps_sach
5 Replies
6. UNIX for Dummies Questions & Answers
Are the programs written on schedulers ,thread library , process management, memory management, et al called systems programs ? How are they different from the programs that implement functions like open() , printf() , scanf() , read() .. they have a prefix sys_open, sys_close, sys_read etc , right... (1 Reply)
Discussion started by: vishwamitra
1 Replies
7. UNIX for Dummies Questions & Answers
hey,
can any one please tell me how can i debug blcr??
actually i have checkpointd a client using blcr and i want to check out what actually happens when we checkpoint any program. so i want to see what happen when we type
$cr_checkpoint pid
i mean i want to debug when i enter this... (0 Replies)
Discussion started by: pratibha
0 Replies
8. Programming
hey
i have a problem with a switch case in program and the debugger is messy has hell ( we use normal VI and gdb in our schoool to make it more diffiacult)
any way i have a problom where for some unknown reason the debugger just skips a switch statment as if it wasent even there
the rest... (2 Replies)
Discussion started by: gotenxds
2 Replies
9. UNIX for Dummies Questions & Answers
Hey guys,
Suppose i run passwd via bash shell. It is a suid program, which temporarily runs as root(owner) and modifies the user entries.
However, when i write a C file and give 4755 permission and root ownership to the 'a.out' file , it doesn't run as root in bash shell. I verified this by... (2 Replies)
Discussion started by: syncmaster
2 Replies
LEARN ABOUT DEBIAN
exexedat
exexedat(3alleg4) Allegro manual exexedat(3alleg4)
NAME
exexedat - Appending datafiles onto your executable. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
Example exexedat
DESCRIPTION
This program demonstrates how to access the contents of an Allegro datafile (created by the grabber utility) linked to the executable by
the exedat tool. It is basically the exdata example with minor modifications.
You may ask: how do you compile, append and exec your program?
Answer: like this...
1) Compile your program like normal. Use the magic filenames with '#' to load your data where needed.
2) Once you compressed your program, run "exedat foo.exe data.dat"
3) Finally run your program.
Note that appending data to the end of binaries may not be portable across all platforms supported by Allegro.
SEE ALSO
DATAFILE(3alleg4), END_OF_MAIN(3alleg4), allegro_error(3alleg4), allegro_init(3alleg4), allegro_message(3alleg4), blit(3alleg4),
font(3alleg4), install_keyboard(3alleg4), line(3alleg4), load_datafile(3alleg4), makecol(3alleg4), readkey(3alleg4), screen(3alleg4),
set_color_conversion(3alleg4), set_gfx_mode(3alleg4), set_palette(3alleg4), textout_ex(3alleg4), unload_datafile(3alleg4)
Allegro version 4.4.2 exexedat(3alleg4)