svn commit: r298358 - in head: contrib/gdb/gdb gnu/usr.bin/gdb/kgdb

Ngie Cooper (yaneurabeya) yaneurabeya at gmail.com
Wed Apr 20 20:09:37 UTC 2016


> On Apr 20, 2016, at 10:58, Wojciech Macek <wma at FreeBSD.org> wrote:
> 
> Author: wma
> Date: Wed Apr 20 17:58:13 2016
> New Revision: 298358
> URL: https://svnweb.freebsd.org/changeset/base/298358
> 
> Log:
>  Fix KGDB backtrace on ARM
> 
>  Modify trapframe decoding to properly analyze trapframe.
> 
>  Provide method for fixup_pc. It happens, that in some kernel
>  functions, the GDB stack frame decoder cannot determine both
>  func name and frame size. This is because these functions
>  either contain invalid instruction, or their format does
>  not match standard schema. Detect that scenarios and move
>  PC accordingly to jump into known function schema, which
>  GDB is able to parse.
> 
>  Obtained from:         Semihalf
>  Sponsored by:          Juniper Networks
>  Reviewed by:           kib, zbb
>  Differential Revision: https://reviews.freebsd.org/D5976

This broke the build on i386: https://jenkins.freebsd.org/job/FreeBSD_HEAD_i386/2909/ .


More information about the svn-src-head mailing list