2009-05-18 15:22:55 -05:00
|
|
|
/** @page bugs Bug Reporting
|
2008-04-23 08:13:38 -05:00
|
|
|
|
2009-05-18 15:22:55 -05:00
|
|
|
Please report bugs by subscribing to the OpenOCD mailing list and
|
|
|
|
posting a message with your report:
|
|
|
|
|
|
|
|
openocd-development@lists.berlios.de
|
2008-04-23 08:13:38 -05:00
|
|
|
|
|
|
|
To minimize work for OpenOCD developers, you can include
|
|
|
|
all the information below. If you feel that some of the
|
2009-03-12 09:48:51 -05:00
|
|
|
items below are unnecessary for a clear bug report, you
|
2008-04-23 08:13:38 -05:00
|
|
|
leave them out.
|
|
|
|
|
|
|
|
- Target PCB/board description
|
|
|
|
- Config scripts
|
|
|
|
- OpenOCD command line
|
|
|
|
- List of commands issued or GDB operations performed
|
|
|
|
- Expected result
|
|
|
|
- Actual result
|
2009-05-18 15:22:55 -05:00
|
|
|
- Logs using @c debug_level 3 (e.g. add '-d 3' to the command line)
|
|
|
|
- If this is a regression, include logs for working and broken version
|
|
|
|
- If this is a regression, please find out the precise version that
|
|
|
|
caused the regression. This can be done via a binary search; For
|
|
|
|
example: if testing version 550 works but 600 fail, then try 575, etc.
|
2008-04-23 08:13:38 -05:00
|
|
|
|
2009-05-18 15:22:55 -05:00
|
|
|
- If OpenOCD is crashing, you can use GDB to get a trace:@par
|
|
|
|
@code
|
|
|
|
% gdb --args openocd ....
|
2008-05-19 02:29:45 -05:00
|
|
|
(gdb) run
|
|
|
|
(gdb) bt
|
|
|
|
=> here a stack trace is dumped.
|
2009-05-18 15:22:55 -05:00
|
|
|
@endcode
|
|
|
|
|
|
|
|
- To run or debug the in-tree executable (not recommended), you must
|
|
|
|
use libtool to set up the correct shared library paths:
|
|
|
|
@code
|
|
|
|
libtool gdb --args openocd ....
|
|
|
|
@endcode
|
|
|
|
or the more pedantic (and forward-compatible):
|
|
|
|
@code
|
|
|
|
libtool --mode=execute gdb --args openocd ....
|
|
|
|
@endcode
|
|
|
|
- Attach files directly to the posting. The mailing list knows to
|
|
|
|
transform attachments to links so you will not be bloating anyones mail
|
|
|
|
box. Please keep attachments to less than 100KB.
|
2008-04-23 08:13:38 -05:00
|
|
|
|
2009-05-18 15:22:55 -05:00
|
|
|
*/
|