Skip to content

[Bug] GEF with openocd #96

@AnduinBrian

Description

@AnduinBrian

GEF+GDB version

GEF: rev:295cbf7afa5fd59a88c066e478bd3ef22760a6de (Git - clean)
GDB: 12.1
GDB-Python: 3.10

Operating System

Ubuntu

Describe the issue you encountered

No Stack and Code segment

Architecture impacted

  • ARM

Describe your issue. Without a proper reproduction step-by-step, your issue will be ignored.

I use openocd to debug my STM32 chip.
openocd command:

openocd -f /usr/share/openocd/scripts/interface/stlink.cfg -f /usr/share/openocd/scripts/target/stm32f1x.cfg

gdb-multiarch command:

file <xxx> # my ELF file
b * loop
gef-remote localhost 3333

I can see there is no Code or Stack segment.
image

I can see stack value and code only when i type the command like

x/10x $sp
disass $pc

image

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions