mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-17 07:27:20 +08:00
readelf/objdump: support for SFrame section
This patch adds support for SFrame in readelf and objdump. The arguments of --sframe are optional for both readelf and objdump. include/ChangeLog: * sframe-api.h (dump_sframe): New function declaration. ChangeLog: * binutils/Makefile.am: Add dependency on libsframe for readelf and objdump. * binutils/Makefile.in: Regenerate. * binutils/doc/binutils.texi: Document --sframe=[section]. * binutils/doc/sframe.options.texi: New file. * binutils/objdump.c: Add support for SFrame format. * binutils/readelf.c: Likewise. * include/sframe-api.h: Add new API for dumping .sframe section. * libsframe/Makefile.am: Add sframe-dump.c. * libsframe/Makefile.in: Regenerate. * libsframe/sframe-dump.c: New file.
This commit is contained in:
@ -157,6 +157,9 @@ sframe_decoder_get_funcdesc (sframe_decoder_ctx *ctx,
|
||||
int32_t *func_start_address,
|
||||
unsigned char *func_info);
|
||||
|
||||
/* SFrame textual dump. */
|
||||
extern void
|
||||
dump_sframe (sframe_decoder_ctx *decoder, uint64_t addr);
|
||||
|
||||
/* Get the base reg id from the FRE info. Sets errp if fails. */
|
||||
extern unsigned int
|
||||
|
Reference in New Issue
Block a user