[
https://issues.apache.org/jira/browse/MYNEWT-172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sterling Hughes updated MYNEWT-172:
-----------------------------------
Fix Version/s: (was: v0_10_0)
v1_0_0_beta1
> gdb debugging of sim target on Linux is challenging
> ---------------------------------------------------
>
> Key: MYNEWT-172
> URL: https://issues.apache.org/jira/browse/MYNEWT-172
> Project: Mynewt
> Issue Type: Bug
> Components: OS
> Affects Versions: v0_8_0_beta1
> Environment: Linux ubuntu 3.13.0-77-generic (Ubuntu 14.04)
> Reporter: Gordon Chaffee
> Assignee: Marko Kiiskila
> Fix For: v1_0_0_beta1
>
>
> When using gdb to debug, step over works unreliably when the context switches
> in the middle of the execution. This is on a Linux system. Example:
> gdb ./project/slinky/bin/slinky/slinky.elf
> (gdb) b log_nmgr_append
> Breakpoint 1 at 0x804a275: file log_nmgr.c, line 144.
> (gdb) run
> Breakpoint 1, log_nmgr_append (njb=0x806a5c0 <nmgr_task_jbuf>) at
> log_nmgr.c:144
> 144 {
> (gdb) n
> 145 char msg_str[256] = {0};
> (gdb) n
> Warning:
> Cannot insert breakpoint 0.
> Cannot access memory at address 0x34e37066
> 0xf7e3d1d1 in siglongjmp () from /lib32/libc.so.6
> (gdb)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)