I think you might find something usefull here: http://www.gevawebsolutions.com/wiki/index.php?title=Acme_-_Debugging thanks to Geert Vancompernolle <http://www.gevawebsolutions.com/wiki/index.php?title=Main_Page#This_is_the_Tricky_Wiki_page_of_Geert_Vancompernolle>
emiliano pifferi schreef: > > tnks for all Ernst the motive of start serial_test autmoatically is > only to understand how fox work ( im new in fox and linux ) so im very > happy to have your answer that explain me this. greets Emiliano > i hope now someone can help me with gdb. > just another question : i can create a script that inizialize the port > and start the serial_Test automatically but the procedure for > autostarting it is the same ? > just make a new line: > ser:3:once:/path/to/the/file.sh it's right ? > > Ernst Mayerhofer <[EMAIL PROTECTED] > <mailto:ernst.mayerhofer%40gmail.com>> ha scritto: Hi, > > 1. I don't know why you want to start serial_test automatically at > startup, > because it doesn't help you at all and makes no difference at all. Because > if you login via ssh you cannot see the output. but anyway. you have > to make > a new entry in the file /etc/inittab. > > there are several entries (or none, whatever) after the line with sysinit > > just make a new line: > ser:3:once:/path/to/the/file > > 2. you can just save the file in /mnt/flash/root or /etc, whereever you > want. but /var is in RAM, so this is non-permanent memory. the other 4 > subdirs 1 2 3 4 are for mounting usb drives or harddisk, whatever, some > external media devices. > > and with 3, i cannot help you, anyway, i never used gdb and don't know why > you want to use it. > > greets,ernst > > 2007/2/5, fusermaximum81 <[EMAIL PROTECTED] > <mailto:fusermaximum81%40yahoo.it>>: > > > > well , im a new user of a fox board and i ve try to start an example > > of acmesystems about serial comunication . Now my qeustions are this : > > > > 1 How i can do for start the serial_test automaticaly at the boot of > fox ? > > > > 2 I ve noted that in mnt dir are there 4 subdir ( 1 2 3 flash )and > > i ve try to move here the serial_test.out for don't lose the program > > after > > that i disconnect the power supply . My question is : is correct this > > ? Is thare another way for save permanently the prog in the fox ? what > > are the 4 subdir ( 1 2 3 FLASH ) ? > > > > 3. I need to use gdb for eventually debug some progs that are running > > in the fox . How i can run it ? > > ive fedora 6 with ddd a graphical interface of gdb and i need to know > > a procedure to config gdb for comunicate with the fox . > > I must insert interrupt or watch directly in my serial_test code > > before to launch gdb on my fedora ? I ve read that i must start gdb > > server on the fox is it correct ? > > > > im newer in linux and fox develop and im grateful to anyone that can > > help me Emiliano > > > > > > > > [Non-text portions of this message have been removed] > > > > > > > --------------------------------- > Vinci i biglietti per FIFA World Cup in Germania! > > [Non-text portions of this message have been removed] > > > > __________ NOD32 2039 (20070205) Information __________ > > This message was checked by NOD32 antivirus system. > http://www.eset.com [Non-text portions of this message have been removed]
