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]

[COMMIT] Obvious - compilation failure in proc-api.c


Dear all,

It's been a while since I committed something, but here's one for the
obvious fix rule.   Someone prod me if I forgot to do something ;-)  

The old version failed to compile with Sun's Forte tools on Solaris 10
for Opteron (and you should've seen the code formatting!) 

Regards
David

2005-03-09  David Lecomber  <david@lecomber.net>
 
        * proc-api.c (_initialize_proc_api): Fix invalid multi-line
        i18n text.


Index: proc-api.c
===================================================================
RCS file: /cvs/src/src/gdb/proc-api.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -c -p -r1.22 -r1.23
*** proc-api.c  18 Feb 2005 15:25:27 -0000      1.22
--- proc-api.c  9 Mar 2005 23:33:52 -0000       1.23
*************** _initialize_proc_api (void)
*** 780,795 ****
  {
    struct cmd_list_element *c;
   
!   add_setshow_boolean_cmd ("procfs-trace", no_class, &procfs_trace,
_("\
! Set tracing for /proc api calls."), _("\
! Show tracing for /proc api calls."), NULL,
                           set_procfs_trace_cmd,
                           NULL, /* FIXME: i18n: */
                           &setlist, &showlist);
   
!   add_setshow_filename_cmd ("procfs-file", no_class, &procfs_filename,
_("\
! Set filename for /proc tracefile."), _("\
! Show filename for /proc tracefile."), NULL,
                            set_procfs_file_cmd,
                            NULL, /* FIXME: i18n: */
                            &setlist, &showlist);
--- 780,795 ----
  {
    struct cmd_list_element *c;
   
!   add_setshow_boolean_cmd ("procfs-trace", no_class, &procfs_trace,
!                          _("Set tracing for /proc api calls."),
!                          _("Show tracing for /proc api calls."), NULL,
                           set_procfs_trace_cmd,
                           NULL, /* FIXME: i18n: */
                           &setlist, &showlist);
   
!   add_setshow_filename_cmd ("procfs-file", no_class, &procfs_filename,
!                           _("Set filename for /proc tracefile."),
!                           _("Show filename for /proc tracefile."),
NULL,
                            set_procfs_file_cmd,
                            NULL, /* FIXME: i18n: */
                            &setlist, &showlist);

-- 
David Lecomber <david@allinea.com>


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