Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH: mi-cmd-file.c]
@ 2008-01-10  3:30 Nick Roberts
  2008-01-29 18:08 ` Daniel Jacobowitz
  0 siblings, 1 reply; 7+ messages in thread
From: Nick Roberts @ 2008-01-10  3:30 UTC (permalink / raw)
  To: gdb-patches


Emacs currently uses "info source" as part of it's front end to GDB.  This
patch allows it to use -file-list-exec-source-file instead.

-- 
Nick                                           http://www.inet.net.nz/~nickrob


2008-01-10  Nick Roberts  <nickrob@snap.net.nz>

	* mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Add field
	for preprocessor macro information.



*** mi-cmd-file.c.~1.7.~	2008-01-04 10:24:34.000000000 +1300
--- mi-cmd-file.c	2008-01-10 16:15:10.000000000 +1300
*************** mi_cmd_file_list_exec_source_file(char *
*** 59,64 ****
--- 59,66 ----
    if (st.symtab->fullname)
    ui_out_field_string (uiout, "fullname", st.symtab->fullname);
  
+   ui_out_field_int (uiout, "macro-info", st.symtab->macro_table ? 1 : 0);
+ 
    return MI_CMD_DONE;
  }


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-01-30  8:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-10  3:30 [PATCH: mi-cmd-file.c] Nick Roberts
2008-01-29 18:08 ` Daniel Jacobowitz
2008-01-30  1:57   ` Nick Roberts
2008-01-30  3:06     ` Daniel Jacobowitz
2008-01-30  3:32       ` Nick Roberts
2008-01-30  7:19         ` Vladimir Prus
2008-01-30  9:30           ` Nick Roberts

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox