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] (dagnabbit) QNX Neutrino i386 support


> FYI, the ARI tossed up a few things in the new NTO files:
> http://sources.redhat.com/gdb/current/ari/
> PARAMS (it's 2003, not the seventies :-), gdb_stat.h, ^func.

This should do it.  BTW, when the ARI says that I'm using something which is
deprecated, is there any way to find out exactly what it found?

cheers,

Kris

ChangeLog:
    * nto-tdep.c: Change stat.h include to gdb_stat.h.
    * nto-tdep.h: Remove PARAMS and grep ^func ARI hits.

Index: nto-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/nto-tdep.c,v
retrieving revision 1.1
diff -c -r1.1 nto-tdep.c
*** nto-tdep.c 5 May 2003 13:57:20 -0000 1.1
--- nto-tdep.c 6 May 2003 12:15:43 -0000
***************
*** 21,27 ****
     Foundation, Inc., 59 Temple Place - Suite 330,
     Boston, MA 02111-1307, USA.  */

! #include <sys/stat.h>
  #include "gdb_string.h"
  #include "nto-tdep.h"
  #include "top.h"
--- 21,27 ----
     Foundation, Inc., 59 Temple Place - Suite 330,
     Boston, MA 02111-1307, USA.  */

! #include "gdb_stat.h"
  #include "gdb_string.h"
  #include "nto-tdep.h"
  #include "top.h"
Index: nto-tdep.h
===================================================================
RCS file: /cvs/src/src/gdb/nto-tdep.h,v
retrieving revision 1.1
diff -c -r1.1 nto-tdep.h
*** nto-tdep.h 5 May 2003 13:57:20 -0000 1.1
--- nto-tdep.h 6 May 2003 12:15:43 -0000
***************
*** 29,51 ****

  /* Generic functions in nto-tdep.c.  */

! extern void nto_init_solib_absolute_prefix PARAMS ((void));

! char **nto_parse_redirection
! PARAMS ((char *start_argv[], char **in, char **out, char **err));

! int proc_iterate_over_mappings PARAMS ((int (*func) (int, CORE_ADDR)));

! void nto_relocate_section_addresses
! PARAMS ((struct so_list *, struct section_table *));

! int nto_map_arch_to_cputype PARAMS ((const char *));

! int nto_find_and_open_solib PARAMS ((char *, unsigned, char **));

  /* Dummy function for initializing nto_target_ops on targets which do
     not define a particular regset.  */
! void nto_dummy_supply_regset PARAMS ((char *regs));

  /* Target operations defined for Neutrino targets (<target>-nto-tdep.c).
*/

--- 29,50 ----

  /* Generic functions in nto-tdep.c.  */

! extern void nto_init_solib_absolute_prefix (void);

! char **nto_parse_redirection (char *start_argv[], char **in,
!          char **out, char **err);

! int proc_iterate_over_mappings (int (*func) (int, CORE_ADDR));

! void nto_relocate_section_addresses (struct so_list *, struct
section_table *);

! int nto_map_arch_to_cputype (const char *);

! int nto_find_and_open_solib (char *, unsigned, char **);

  /* Dummy function for initializing nto_target_ops on targets which do
     not define a particular regset.  */
! void nto_dummy_supply_regset (char *regs);

  /* Target operations defined for Neutrino targets (<target>-nto-tdep.c).
*/



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