Remove gdbarch.sh

This patch runs gdbarch.py and removes gdbarch.sh.
This commit is contained in:
Tom Tromey
2021-12-15 14:38:30 -07:00
parent 7c8bb2ed1c
commit fb14eb0829
3 changed files with 66 additions and 1879 deletions

View File

@ -20,7 +20,7 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* This file was created with the aid of ``gdbarch.sh''. */
/* This file was created with the aid of ``gdbarch.py''. */
@ -1403,13 +1403,13 @@ extern void set_gdbarch_guess_tracepoint_registers (struct gdbarch *gdbarch, gdb
/* Return the "auto" target charset. */
typedef const char * (gdbarch_auto_charset_ftype) (void);
typedef const char * (gdbarch_auto_charset_ftype) ();
extern const char * gdbarch_auto_charset (struct gdbarch *gdbarch);
extern void set_gdbarch_auto_charset (struct gdbarch *gdbarch, gdbarch_auto_charset_ftype *auto_charset);
/* Return the "auto" target wide charset. */
typedef const char * (gdbarch_auto_wide_charset_ftype) (void);
typedef const char * (gdbarch_auto_wide_charset_ftype) ();
extern const char * gdbarch_auto_wide_charset (struct gdbarch *gdbarch);
extern void set_gdbarch_auto_wide_charset (struct gdbarch *gdbarch, gdbarch_auto_wide_charset_ftype *auto_wide_charset);

View File

@ -20,7 +20,7 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* This file was created with the aid of ``gdbarch.sh''. */
/* This file was created with the aid of ``gdbarch.py''. */
/* Maintain the struct gdbarch object. */
@ -48,29 +48,6 @@ struct gdbarch
unsigned nr_data;
void **data;
/* Multi-arch values.
When extending this structure you must:
Add the field below.
Declare set/get functions and define the corresponding
macro in gdbarch.h.
gdbarch_alloc(): If zero/NULL is not a suitable default,
initialize the new field.
verify_gdbarch(): Confirm that the target updated the field
correctly.
gdbarch_dump(): Add a fprintf_unfiltered call so that the new
field is dumped out
get_gdbarch(): Implement the set/get functions (probably using
the macro's as shortcuts).
*/
int short_bit;
int int_bit;
int long_bit;

File diff suppressed because it is too large Load Diff