/* nto-tdep.h - QNX Neutrino target header.
- Copyright (C) 2003, 2007, 2008 Free Software Foundation, Inc.
+ Copyright (C) 2003, 2007, 2008, 2009 Free Software Foundation, Inc.
Contributed by QNX Software Systems Ltd.
#ifndef _NTO_TDEP_H
#define _NTO_TDEP_H
-#include "defs.h"
#include "solist.h"
#include "osabi.h"
#include "regset.h"
and stuff it into the last argument. If regno is -1, calculate the
size of the entire regset. Returns length of data, -1 if unknown
regset, 0 if unknown register. */
- int (*register_area) (int, int, unsigned *);
+ int (*register_area) (struct gdbarch *, int, int, unsigned *);
/* Build the Neutrino register set info into the data buffer.
Return -1 if unknown regset, 0 otherwise. */
void nto_set_target(struct nto_target_ops *);
-char **nto_parse_redirection (char *start_argv[], char **in,
- char **out, char **err);
+char **nto_parse_redirection (char *start_argv[], const char **in,
+ const char **out, const char **err);
int proc_iterate_over_mappings (int (*func) (int, CORE_ADDR));