Source layout
#4096
Replies: 2 comments 2 replies
-
@mumbel If I read your comment correctly, you're talking about the mismatch between Ghidra processor architecture descriptions and the descriptions provided by gdb's "set architecture"? Or did I miss the point? Not sure what you mean by "out of tree modules". If you can elaborate, happy to discuss! |
Beta Was this translation helpful? Give feedback.
2 replies
-
These "MappingOpinion" files should be deleted along with the deprecated debugger object model stuff. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
@d-millar @nsadeveloper789
Just an open question, was just messing around with the debugger for the first time really, just a qemu-system with a bare metal RISC-V elf (https://github.com/TrustworthyComputing/csaw_esc_2020/blob/master/qual-esc2020.elf). Was attempting to use
gdb-multiarch
and then(gdb) target set architecture riscv
,(gdb) target remote :1234
. Didn't get too far and just started reading through some of the source, wasn't a real attempt more of just a wonder what happens.Where do you see the source layout moving once things settle down? Obviously the supported architectures are at different levels and usages. I noticed the architecture specifics are a little different for ARM, probably coded out a bit more due to your mac preference and supported OS/technologies. The package <-> classes match for like MIPS/PPC/M68K/x86 and then flipped for ARM, with the
arm
package. Which I didn't trace down how those get treated any differently since its not in the same package as the other architectures.Do you think some of that code would ever end up in
Ghidra/Processors/
and then those gradle includeapi project(:Debugger)
(right?) if they want? (Would that support out of tree modules?)Beta Was this translation helpful? Give feedback.
All reactions