Comments (5)
There are a lot of problem hard to solve with the regular target
command from gdb
so I have implemented another which should work better: see https://gef.readthedocs.org/en/latest/features/#gef-remote-debugging
If it is still triggers exception, please provide more details.
from gef.
In function context_regs(), if str(new_value)=='void' then long(new_value) will cause this exception.
from gef.
@sigma-d new_value
in context_regs()
should never produce a string. Can you tell me how to reproduce? And also give me the output of your info reg
command when this exception occurs?
Thanks.
from gef.
cmdline I used:
./openwrt/trunk/staging_dir/toolchain-mipsel_mips32_gcc-4.8-linaro_musl-1.1.11/bin/mipsel-openwrt-linux-musl-gdb --data-directory /usr/share/gdb ./openwrt-malta-le-vmlinux-initramfs.elf
./qemu-2.6.0-rc3/mipsel-softmmu/qemu-system-mipsel -gdb tcp::4321 -S -nographic -m 256 -kernel openwrt-malta-le-vmlinux-initramfs.elf
openwrt-malta-le-vmlinux-initramfs.elf can get from:
https://downloads.openwrt.org/snapshots/trunk/malta/generic/
gdb version:
GNU gdb (GDB) 7.8
It looks like this issue happens after context_regs() got a value "void"(type:gdb.Value) from register "$status"
from gef.
It looks related to #13 (i.e. OpenWRT support) ?
If so, OWRT support is a WIP so if you can submit a patch or PR that would break with the existing arch, I'll be happy to integrate it.
from gef.
Related Issues (20)
- gef invoked oom-killer for core file from a mem-leak process HOT 7
- how to use gef-remote command when debuging by gdb-multiarch, and target is localhost:1234 HOT 1
- Permission Error while loading gef in GDB HOT 1
- display ascii char with x/c command HOT 2
- how to show filename:lineNumber in trace view ? HOT 4
- [Bug] vmmap command not showing memory regions of QEMU emulated x86-64 binary HOT 2
- any possible to add vmmap to show kernel memory in qemu? HOT 6
- bp_prefix not set on breakpoints declared with function name instead of hex_address ( HOT 5
- [Bug] Weird memory mapping with rr replay HOT 3
- [Bug] pyenv site_packages_dir assertion fails when setting multiple python versions in pyenv HOT 5
- [Bug] GEF installation error with GDB 8.2 with Python3.6 bindings HOT 3
- [Bug] read_cstring length can be set so that it reads into an unmapped region HOT 1
- [Bug] Missing update of local `/proc/{pid}/maps` in remote session when new shared library is loaded HOT 5
- [Bug] cant open under ubuntu 16.0.4 python 3.6 HOT 2
- Question about pyenv HOT 5
- [Docs] Add `pre-commit` documentation
- sth. about function and UI HOT 1
- gef for windows HOT 1
- The Gef Frame Is small HOT 1
- [Bug] AssertionError HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gef.