Subversion Repositories Kolibri OS

Rev

Rev 5191 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5191 Rev 6324
Line 1... Line 1...
1
/* This file defines the interface between the simulator and gdb.
1
/* This file defines the interface between the simulator and gdb.
Line 2... Line 2...
2
 
2
 
Line 3... Line 3...
3
   Copyright 1993-2013 Free Software Foundation, Inc.
3
   Copyright (C) 1993-2015 Free Software Foundation, Inc.
Line 4... Line 4...
4
 
4
 
5
   This file is part of GDB.
5
   This file is part of GDB.
Line 58... Line 58...
58
  SIM_RC_FAIL = 0,
58
  SIM_RC_FAIL = 0,
59
  SIM_RC_OK = 1
59
  SIM_RC_OK = 1
60
} SIM_RC;
60
} SIM_RC;
Line 61... Line 61...
61
 
61
 
Line 62... Line 62...
62
 
62
 
-
 
63
/* Some structs, as opaque types.  */
Line 63... Line 64...
63
/* The bfd struct, as an opaque type.  */
64
 
Line 138... Line 139...
138
   FIXME: For some hardware targets, before a loaded program can be
139
   FIXME: For some hardware targets, before a loaded program can be
139
   executed, it requires the manipulation of VM registers and tables.
140
   executed, it requires the manipulation of VM registers and tables.
140
   Such manipulation should probably (?) occure in
141
   Such manipulation should probably (?) occure in
141
   sim_create_inferior. */
142
   sim_create_inferior. */
Line 142... Line 143...
142
 
143
 
Line 143... Line 144...
143
SIM_RC sim_load (SIM_DESC sd, char *prog, struct bfd *abfd, int from_tty);
144
SIM_RC sim_load (SIM_DESC sd, const char *prog, struct bfd *abfd, int from_tty);
Line 144... Line 145...
144
 
145
 
Line 271... Line 272...
271
 
272
 
272
/* Passthru for other commands that the simulator might support.
273
/* Passthru for other commands that the simulator might support.
273
   Simulators should be prepared to deal with any combination of NULL
274
   Simulators should be prepared to deal with any combination of NULL
Line 274... Line 275...
274
   or empty CMD. */
275
   or empty CMD. */
Line 275... Line 276...
275
 
276
 
276
void sim_do_command (SIM_DESC sd, char *cmd);
277
void sim_do_command (SIM_DESC sd, const char *cmd);
Line 277... Line 278...
277
 
278