This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] implements MI "-file-list-exec-sections"


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm not quite sure this is the way to go:

- - Add ui_out parameter to target_ops.to_files_info + followups.
- - Converted print_section_info (exec.c) to use ui_out system.
- - Made mi/mi-cmds use target_info(...) (target.c)

Help anyone?

I think your theory is right, and this is a good incremental approach. It's going to also need a test case and edits to the doco (assignment form sent). Depending on how you stand on that front I might be able to juggle something.


BTW, how are you using the output?

+ ui_out_text(uiout, "\tEntry point: ");

NB: Space before the paren.


Andrew



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]