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: RFC patch mi-cmds.c table format (pedantic)


Hi Eli,

On Mar 17, 2004, at 9:54 PM, Eli Zaretskii wrote:

-  { "break-insert", { NULL, 0 }, 0, mi_cmd_break_insert},
+  { "break-insert", { NULL, 0 }, NULL, mi_cmd_break_insert},

-  { "exec-step", { NULL, 0 }, mi_cmd_exec_step},
+  { "exec-step", { NULL, 0 }, mi_cmd_exec_step, NULL},

-  { NULL, }
+  { NULL, { NULL, 0 }, NULL, NULL}

Don't these changes require changes to the GDB/MI documentation in gdb.texinfo? IIRC, there are examples there to what each command outputs.

No, with each of these changes the same code is generated by the compiler.



J



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