static globals for dealing with binary transmissions.
(remote_write_bytes): Add support for binary downloads
by shadowing the "M" packet with a new "X" packet. This
defaults to ON; if the stub does not understand this, it
will fall back to using "M".
(putpkt): Add support for binary downloading.
* monitor.c (monitor_expect): The mon2000 monitor
on the MSA2000 will also emit random DC1/DC3 chars.
* m32r-stub.c: Change all char's to unsigned char's
to support binary downloading.
(handle_exception): Add support for binary downloading
via a new "X" packet.
(getpacket): Do NOT strip eighth bit of incoming chars.
Watch out for escaped characters in the incoming stream.
(putpacket): Do NOT strip eighth bit of incoming chars.
(bin2mem): New function to write binary data directly to
memory.
* m32r-rom.c: Add new "mon2000" target.
* hp-psymtab-read.c (hpread_build_psymtabs): Coerce first arg
passed to make_cleanup to the correct type.
(hpread_quick_traverse): Change fifth arg to call to
hpread_end_psymtab to be 0.
Compare CURR_MODULE_END to 0 rather than NULL.
Get rid of ifdef'ed out code.
(scan_procs): Get rid of ifdef'ed out code.
* somread.c (som_symfile_read): Coerce first argument passed to
make_cleanup to the correct type.
* hp-psymtab-read.c (do_pxdb): New function. Check whether the
file needs to be processed by pxdb (an HP debug info massaging
tool), if so call it.
(hpread_build_psymtabs): Initialize scan_start to 0 and
simplify flow of control.
* somread.c (som_symfile_read): Add call to do_pxdb (),
in hp-psymtab-read.c.
* symfile.c (symbol_file_add): Remove ifdef'ed out HPUX specific
code.
(symfile_bfd_open): Remove HPUXHPPA ifdef'ed code. Code is now
in hp-psymtab-read.c.
* elfarm-oabi.c: Renamed from elf32-arm-oldabi.c
* Makefile.am: Use new files.
* Makefile.in: Regenerate.
* configure.in: Use new files.
* configure: Regenerate.
(INTEL_DWORD_MNEM_SUFFIX): Define.
(BYTE_PTR): Define.
(WORD_PTR): Define.
(DWORD_PTR): Define.
(XWORD_PTR): Define.
(SHORT): Define.
(OFFSET_FLAT): Define.
(FLAT): Define.
(NONE_FOUND): Define.
(No_dSuf): Define.
(No_xSuf): Define.
* config/tc-i386.c (set_intel_syntax): New routine.
(intel_syntax): Declare.
(allow_naked_reg): Declare.
(md_pseudo_table): Support .intel_syntax and .att_syntax.
(intel_float_operand): New routine.
(md_assemble): Handle INTEL_DWORD_MNEM_SUFFIX.
Handle brackets as well as parens. Call i386_intel_operand for
intel syntax. Reverse operands if appropriate. Handle new
suffixes. Handle movzx and movsx.
(i386_is_reg): New routine.
(i386_immediate): New routine.
(i386_scale): New routine.
(i386_displacement): New routine.
(i386_operand_modifier): New routine.
(build_displacement_string): New routine.
(i386_parse_seg): New routine.
(i386_intel_memory_operand): New routine.
(i386_intel_operand): New routine.
(i386_operand): Call i386_displacement, i386_immediate,
i386_scale, etc. instead of handling inline.
(parse_register): Handle registers without prefix.
at run-time. At the moment, the only thing this affects is the
set of registers visible.
* config/rs6000/tm-rs6000.h (REGISTER_NAME): Define this as a call
to the function rs6000_register_name.
(rs6000_register_name): Include extern decl.
(NUM_REGS): Bump to 183. What's the right way to do this?
(FIRST_UISA_SP_REGNUM, LAST_UISA_SP_REGNUM): Renamed from
FIRST_SP_REGNUM, LAST_SP_REGNUM.
(REGISTER_BYTES): Recompute this.
* rs6000-tdep.c: Renamed all uses of FIRST_SP_REGNUM and
LAST_SP_REGNUM to FIRST_UISA_SP_REGNUM and LAST_UISA_SP_REGNUM, with
some concomitant formatting changes.
#include "gdbcmd.h", so we can define commands here.
(struct variant): New structure.
(COMMON_UISA_REG_NAMES, PPC_UISA_SPR_NAMES, PPC_SEGMENT_REG_NAMES,
PPC_32_OEA_SPR_NAMES, num_registers): New macros.
(register_names_rs6000, register_names_uisa, register_names_403,
register_names_403GC, register_names_505, register_names_860,
register_names_601, register_names_602, register_names_603,
register_names_604, register_names_750, variants): New variables.
(rs6000_register_name, install_variant, find_variant_by_name,
install_variant_by_name, list_variants, show_current_variant,
set_processor, show_processor): New functions.
(_initialize_rs6000_tdep): Define new commands `set processor' and
`show processor', and call install_variant_by_name to set the
default variant.
* rs6000-nat.c: Renamed all uses of FIRST_SP_REGNUM and
LAST_SP_REGNUM to FIRST_UISA_SP_REGNUM and LAST_UISA_SP_REGNUM, with
some concomitant formatting changes.
* configure.in: Accept the `--with-cpu' flag, to specify a default
processor variant.
* acconfig.h: Provide a blurb for TARGET_CPU_DEFAULT, which is set
by configure's `--with-cpu' flag.
* config.in, configure: Regenerated.
* gdbtk-cmds.c: (gdb_set_bp): Change the "type" argument
to be ASCII instead of an integer. Currently accepts "temp"
or "normal". Fixed error messages.
(gdb_set_bp_addr): Ditto.