aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
AgeCommit message (Collapse)AuthorFilesLines
2008-01-02 * array_subscript_addr/p.adb: New file.Joel Brobecker3-0/+79
* array_subscript_addr.exp: New testcase.
2008-01-02 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:Joel Brobecker4-0/+96
New files. * gdb.ada/str_cmp_ref.exp: New testcase.
2008-01-01 Updated copyright notices for most files.Daniel Jacobowitz613-625/+647
2008-01-01 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,Joel Brobecker5-0/+128
gdb.ada/fun_in_declare/foo.adb: New files. * gdb.ada/fun_in_declare.exp: New testcase.
2008-01-01 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,Joel Brobecker5-0/+128
gdb.ada/ref_param/pck.ads: New files. * gdb.ada/ref_param.exp: New testcase.
2008-01-01 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,Joel Brobecker5-0/+150
gdb.ada/interface/foo.adb: New files. * gdb.ada/interface.exp: New testcase.
2007-12-31* gdb.base/multi-forks.exp: Consume all output from childJim Blandy2-4/+45
processes before proceeding to next test.
2007-12-29* configure: Regenerated.Jim Blandy2-1/+7
2007-12-28 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,Joel Brobecker5-0/+132
gdb.ada/fixed_cmp/fixed.adb: New files. * gdb.ada/fixed_cmp.exp: New testcase.
2007-12-28 * gdb.ada/boolean_expr.exp: New testcase.Joel Brobecker2-0/+46
2007-12-26 * gdb.base/multi-forks.exp: Doc fix.Jim Blandy2-3/+12
2007-12-26 * gdb.ada/Makefile.in (EXECUTABLES): Update list.Joel Brobecker4-5/+23
* gdb.ada/char_param.exp: Do not compile our test program with -gnata, this is unnecessary. * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
2007-12-24 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,Joel Brobecker5-0/+115
gdb.ada/print_chars/foo.adb: New files. * gdb.ada/print_chars.exp: New testcase.
2007-12-24 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,Joel Brobecker5-0/+160
gdb.ada/char_param/foo.adb: New files. * gdb.ada/char_param.exp: New testcase.
2007-12-22 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead ofJim Blandy4-13/+38
hard-coding source line numbers into the test. * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for gdb_get_line_number to find.
2007-12-22 * gdb.base/ptype.c (highest): New struct type.Joel Brobecker3-0/+35
(the_highest): New variable of that type. (main): Add dummy assignment to a field of variable the_highest. * gdb.base/ptype.exp: Test type printing of our new variable.
2007-12-192007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>Pierre Muller2-5/+29
* (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function and record first explicitly generated thread number. Use that thread number for thread specific watchpoint test. Add iteration number to repetitive tests.
2007-12-17 * gdb.base/expand-psymtabs.c: New testcaseCarlos Eduardo Seo3-0/+102
source file. * gdb.base/expand-psymtabs.exp: New testcase expect file.
2007-12-17 * breakpoint.c: (watch_command_1): Parse additional optionalLuis Machado3-0/+132
"thread" parameter to the watchpoint command and set the "thread" member of the breakpoint struct. * doc/gdb.texinfo: Add new parameter's description. * testsuite/gdb.base/watch_thread_num.c: New testcase source file. * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
2007-12-17 * gdb.ada/frame_args/foo.adb: New file.Joel Brobecker5-0/+160
* gdb.ada/frame_args/pck.ads: New file. * gdb.ada/frame_args/pck.adb: New file. * gdb.ada/frame_args.exp: New testcase.
2007-12-17 * gdb.base/frame-args.c: New file.Joel Brobecker3-0/+126
* gdb.base/frame-args.exp: New testcase.
2007-12-162007-12-16 Daniel Jacobowitz <dan@codesourcery.com>Joseph Myers3-0/+146
Joseph Myers <joseph@codesourcery.com> * configure.ac: Check for *-*-solaris2.1[[0-9]]* instead of *-*-solaris2.1[[0-9]]. * configure: Regenerate. * procfs.c (proc_set_current_signal): If redelivering a signal, reuse the current siginfo if possible. testsuite: * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
2007-12-14 Add support for pending breakpoints in MI.Vladimir Prus4-0/+147
* gdb.h (gdb_breakpoint): Add parameter pending. * breakpoint.c (gdb_breakpoint): Add parameter pending. * mi/mi-cmd-break.c (mi_break_insert): Change comment to refer to manual. Add support for the -f flag, for pending breakpoint.
2007-12-13Remove unused support for target-based exception catching.Jim Blandy2-1/+5
* target.h (struct target_ops): Delete to_enable_exception_callback and to_get_current_exception_event members. (target_enable_exception_callback) (target_get_current_exception_event): Delete macros. * target.c (update_current_target): Remove code to inherit and default those members. (debug_to_enable_exception_callback) (debug_to_get_current_exception_event): Delete functions. (setup_target_debug): Don't install those methods. * inf-child.c (inf_child_enable_exception_callback) (inf_child_get_current_exception_event): Delete dummy functions. (inf_child_target): Don't install them in the target vector. * breakpoint.h (enum bptype): Delete bp_catch_catch, bp_catch_throw. * breakpoint.c (cover_target_enable_exception_callback) (ep_is_exception_catchpoint, create_exception_catchpoint): Delete functions. (insert_bp_location, update_breakpoints_after_exec) (remove_breakpoint, ep_is_catchpoint, print_it_typical) (bpstat_stop_status, bpstat_what) (bpstat_get_triggered_catchpoints, print_one_breakpoint_location) (user_settable_breakpoint, allocate_bp_location) (disable_watchpoints_before_interactive_call_start) (enable_watchpoints_after_interactive_call_stop, mention) (delete_breakpoint, breakpoint_re_set_one, disable_command) (enable_command): Remove exception catchpoint cases. (catch_exception_command_1): Don't try target-based exception handling. * stack.c (catch_info): Call print_frame_label_vars unconditionally.
2007-12-10 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being readJan Kratochvil2-0/+6
must be set to binary.
2007-12-09 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.Pedro Alves2-34/+4
2007-11-30 * remote.c (remote_cmdlist): New variable.Daniel Jacobowitz4-0/+196
(PACKET_vFile_open, PACKET_vFile_pread, PACKET_vFile_pwrite) (PACKET_vFile_close, PACKET_vFile_unlink): New constants. (remote_buffer_add_string, remote_buffer_add_bytes) (remote_buffer_add_int, remote_hostio_parse_result) (remote_hostio_send_command, remote_hostio_open, remote_hostio_pwrite) (remote_hostio_pread, remote_hostio_close, remote_hostio_unlink) (remote_fileio_errno_to_host, remote_hostio_error, fclose_cleanup) (remote_hostio_close_cleanup, remote_file_put, remote_file_get) (remote_file_delete, remote_put_command, remote_get_command) (remote_delete_command, remote_command): New functions. (_initialize_remote): Register new packets and commands. * Makefile.in (gdb_fileio_h): New variable. (remote.o): Update. (SUBDIR_MI_OBS): Add mi-cmd-target.o. (SUBDIR_MI_SRCS): Add mi/mi-cmd-target.c. (mi-cmd-target.o): New rule. * mi/mi-cmd-target.c: New file. * mi/mi-cmds.c (mi_cmds): Add target-file-delete, target-file-get, and target-file-put. * mi/mi-cmds.h (mi_cmd_target_file_get, mi_cmd_target_file_put) (mi_cmd_target_file_delete): Declare. * remote.h (remote_file_put, remote_file_get, remote_file_delete): Declare. * NEWS: Describe new file transfer support. * gdb.texinfo (Debugging Programs with Multiple Processes): Correct formatting. (Remote Debugging): Add File Transfer section. (Remote Configuration): Document Host I/O packets. (GDB/MI): Add GDB/MI File Transfer Commands section. (Remote Protocol): Add Host I/O Packets section. (Packets): Add vFile. * Makefile.in (OBS): Add hostio.o. (hostio.o): New rule. * server.h (handle_vFile): Declare. * hostio.c: New file. * server.c (handle_v_requests): Take packet_len and new_packet_len for binary packets. Call handle_vFile. (main): Update call to handle_v_requests. * gdb.server/file-transfer.exp, gdb.server/transfer.txt, gdb.mi/mi-file-transfer.exp: New.
2007-11-25gdb/Jan Kratochvil3-0/+93
* dwarf2read.c (dwarf2_get_pc_bounds): Moved the `DW_AT_ranges' parsing code with its variables OBJFILE, CU_HEADER and OBFD into ... (dwarf2_ranges_read): ... a new function. (read_partial_die): Implemented the parsing of `DW_AT_ranges'. gdb/testsuite/ * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
2007-11-22* gdb.trace/backtrace.exp: Fix a typo.Maciej W. Rozycki8-7/+17
* gdb.trace/circ.exp: Likewise. * gdb.trace/collection.exp: Likewise. * gdb.trace/limits.exp: Likewise. * gdb.trace/report.exp: Likewise. * gdb.trace/tfind.exp: Likewise. * gdb.trace/while-dyn.exp: Likewise.
2007-11-20Variables objects of pointers that can't be dereferenced are nowNick Roberts2-4/+4
"noneditable".
2007-11-20*** empty log message ***Nick Roberts1-0/+6
2007-11-17 * config/alpha/alpha-linux.mt: Remove file.Ulrich Weigand2-2/+6
* config/alpha/alpha.mt: Remove file. * config/alpha/alpha-osf1.mt: Remove file. * config/alpha/fbsd.mt: Remove file. * config/alpha/nbsd.mt: Remove file. * config/alpha/obsd.mt: Remove file. * config/arm/embed.mt: Remove file. * config/arm/linux.mt: Remove file. * config/arm/nbsd.mt: Remove file. * config/arm/obsd.mt: Remove file. * config/arm/wince.mt: Remove file. * config/avr/avr.mt: Remove file. * config/cris/cris.mt: Remove file. * config/frv/frv.mt: Remove file. * config/h8300/h8300.mt: Remove file. * config/i386/cygwin.mt: Remove file. * config/i386/fbsd64.mt: Remove file. * config/i386/fbsd.mt: Remove file. * config/i386/i386gnu.mt: Remove file. * config/i386/i386.mt: Remove file. * config/i386/i386sol2.mt: Remove file. * config/i386/linux64.mt: Remove file. * config/i386/linux.mt: Remove file. * config/i386/mingw.mt: Remove file. * config/i386/nbsd64.mt: Remove file. * config/i386/nbsd.mt: Remove file. * config/i386/nto.mt: Remove file. * config/i386/obsd64.mt: Remove file. * config/i386/obsd.mt: Remove file. * config/i386/sol2-64.mt: Remove file. * config/ia64/ia64.mt: Remove file. * config/ia64/linux.mt: Remove file. * config/iq2000/iq2000.mt: Remove file. * config/m32c/m32c.mt: Remove file. * config/m32r/linux.mt: Remove file. * config/m32r/m32r.mt: Remove file. * config/m68hc11/m68hc11.mt: Remove file. * config/m68k/linux.mt: Remove file. * config/m68k/monitor.mt: Remove file. * config/m68k/nbsd.mt: Remove file. * config/m68k/obsd.mt: Remove file. * config/m88k/obsd.mt: Remove file. * config/mep/mep.mt: Remove file. * config/mips/embed.mt: Remove file. * config/mips/irix5.mt: Remove file. * config/mips/irix6.mt: Remove file. * config/mips/linux.mt: Remove file. * config/mips/nbsd.mt: Remove file. * config/mips/obsd64.mt: Remove file. * config/mn10300/linux.mt: Remove file. * config/mn10300/mn10300.mt: Remove file. * config/mt/mt.mt: Remove file. * config/pa/hppahpux.mt: Remove file. * config/pa/hppa.mt: Remove file. * config/pa/linux.mt: Remove file. * config/pa/obsd.mt: Remove file. * config/powerpc/aix.mt: Remove file. * config/powerpc/linux.mt: Remove file. * config/powerpc/nbsd.mt: Remove file. * config/powerpc/obsd.mt: Remove file. * config/powerpc/ppc-eabi.mt: Remove file. * config/s390/s390.mt: Remove file. * config/score/embed.mt: Remove file. * config/sh/embed.mt: Remove file. * config/sh/linux.mt: Remove file. * config/sh/nbsd.mt: Remove file. * config/sh/obsd.mt: Remove file. * config/sh/sh64.mt: Remove file. * config/sparc/embed.mt: Remove file. * config/sparc/fbsd.mt: Remove file. * config/sparc/linux64.mt: Remove file. * config/sparc/linux.mt: Remove file. * config/sparc/nbsd64.mt: Remove file. * config/sparc/nbsd.mt: Remove file. * config/sparc/obsd64.mt: Remove file. * config/sparc/obsd.mt: Remove file. * config/sparc/sol2-64.mt: Remove file. * config/sparc/sol2.mt: Remove file. * config/sparc/sparc64.mt: Remove file. * config/sparc/sparc.mt: Remove file. * config/spu/spu.mt: Remove file. * config/v850/v850.mt: Remove file. * config/vax/nbsd.mt: Remove file. * config/vax/obsd.mt: Remove file. * config/vax/vax.mt: Remove file. * config/xstormy16/xstormy16.mt: Remove file. * config/xtensa/xtensa.mt: Remove file. * configure.tgt (gdb_target_cpu): Remove. Do not set anywhere. (gdb_target): Likewise. (gdb_target_obs): Document. Set for every target to contents of TDEPFILES in former .mt makefile fragment. * configure.ac (TARGET_OBS): Define. (target_makefile_frag, gdb_target_cpu): Do not define. * configure: Regenerate. * Makefile.in (MT_FLAGS): Remove. (GLOBAL_CFLAGS): Update. (TARGET_OBS): Substitute from configure. (DEPFILES): Remove TDEPFILES, add TARGET_OBS. (@target_makefile_frag@): Remove. doc/ChangeLog: * Makefile.in (Makefile): Do not depend on target_makefile_frag. testsuite/ChangeLog: * Makefile.in (Makefile): Do not depend on target_makefile_frag. (target_cpu): Remove.
2007-11-15 Prevent clear_command from directly modifying breakpoint list.Vladimir Prus2-3/+8
* Makefile.in (breakpoint_h): Update dependency. * breakpoint.c (clear_command): Do not remove breakpoints from breakpoint_chain. Collect breakpoints to delete in a vector. * breakpoint.h (breakpoint_p): New typedef for pointer to breakpoint. Register vector of breakpoint_p.
2007-11-07 Fix crash when a variable object being deletedVladimir Prus3-0/+31
has any of its children deleted previously. * varobj.c (delete_variable_1): Don't recurse into deleted children.
2007-11-05 * printcmd.c: (printf_command): Add support for new DFPLuis Machado2-0/+57
modifiers %H, %D and %DD. * configure.ac: Add check for DECFLOAT printf support. * configure: Regenerated. * doc/gdb.texinfo: Update printf command's description. * testsuite/gdb.base/printcmds.exp: New function test_printf_with_dfp.
2007-11-02 * gdb.disasm/t01_mov.s: Remove carriage returns.Doug Evans14-9010/+9026
* gdb.disasm/t02_mova.s: Ditto. * gdb.disasm/t03_add.s: Ditto. * gdb.disasm/t04_sub.s: Ditto. * gdb.disasm/t05_cmp.s: Ditto. * gdb.disasm/t06_ari2.s: Ditto. * gdb.disasm/t07_ari3.s: Ditto. * gdb.disasm/t08_or.s: Ditto. * gdb.disasm/t09_xor.s: Ditto. * gdb.disasm/t10_and.s: Ditto. * gdb.disasm/t11_logs.s: Ditto. * gdb.disasm/t12_bit.s: Ditto. * gdb.disasm/t13_otr.s: Ditto.
2007-11-01 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.Jan Kratochvil3-0/+100
2007-10-30 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does notUlrich Weigand2-2/+9
provide DFP support.
2007-10-30 * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Check the selectedDaniel Jacobowitz2-67/+103
soft float and vector ABIs. Support the generic vector ABI for AltiVec types. (do_ppc_sysv_return_value): Likewise. Correct argument types and casts. (ppc64_sysv_abi_push_dummy_call): Assert that floating point is supported. * ppc-tdep.h (enum powerpc_vector_abi): New. (struct gdbarch_tdep): Add soft_float and vector_abi. * rs6000-tdep.c (setpowerpccmdlist, showpowerpccmdlist) (powerpc_soft_float_global, powerpc_vector_strings) (powerpc_vector_abi_global, powerpc_vector_abi_string): New. (rs6000_gdbarch_init): Check for soft-float and vector ABI markings. (set_powerpc_command, show_powerpc_command, powerpc_set_soft_float) (powerpc_set_vector_abi): New. (_initialize_rs6000_tdep): Register "set powerpc" and "show powerpc" commands. * Makefile.in (elf_ppc_h): New. (rs6000-tdep.o): Update. * gdb.texinfo (PowerPC): Document "set powerpc vector-abi" and "set powerpc soft-float". * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux. Test "set powerpc vector-abi". Skip auto-detection tests for old toolchains.
2007-10-30 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and nePedro Alves3-4/+9
with [string compare].
2007-10-30 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.Pedro Alves3-2/+7
* gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
2007-10-25 * gdb.opt/clobbered-registers-O2.c: New testcase source file.Luis Machado7-4/+145
* gdb.opt/clobbered-registers-O2.exp: New testcase expect file. * gdb.opt/Makefile.in: New makefile. * Makefile.in: Create new directory "gdb.opt". * configure.ac: Add "gdb.opt" directory. * configure: Regenerated.
2007-10-25 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.Doug Evans3-0/+9
* gdb.cp/mb-templates.exp: Check skip_cplus_tests.
2007-10-252007-10-15 Wu Zhou <woodzltc@cn.ibm.com>Thiago Jung Bauermann4-0/+443
Thiago Jung Bauermann <bauerman@br.ibm.com> * gdb.base/dfp-exprs.exp: new file adding tests for Decimal Floating Point expressions. * gdb.base/dfp-test.exp: new file adding tests for Decimal Floating Point variables. * gdb.base/dfp-test.c: new file containing program with Decimal Floating variables, used by gdb.base/dfp-test.exp.
2007-10-23 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.Daniel Jacobowitz3-0/+135
2007-10-21 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec whenUlrich Weigand3-2/+8
compiling test case with GCC. * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
2007-10-21 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for outputUlrich Weigand2-2/+7
format changes.
2007-10-182007-10-18 Michael Snyder <msnyder@specifix.com>Michael Snyder2-1/+5
* gdb.base/dbx.exp: Add missing "-re " operator.
2007-10-16* configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.Gaius Mulley5-3/+153
* configure.ac: Removed trailing spaces after backslash. * gdb.modula2: New directory. * gdb.modula2/Makefile.in: New file. * gdb.modula2/unbounded-array.exp: New file. * gdb.modula2/unbounded1.c: New file.
2007-10-15 * NEWS: Document target described register support for PowerPC.Daniel Jacobowitz2-2/+11
* ppc-tdep.h: Remove ppc_spr constants. (struct gdbarch_tdep): Remove regs, ppc_sr0_regnum, and ppc_builtin_type_vec128 members. (PPC_R0_REGNUM, PPC_F0_REGNUM, PPC_PC_REGNUM, PPC_MSR_REGNUM) (PPC_CR_REGNUM, PPC_LR_REGNUM, PPC_CTR_REGNUM, PPC_XER_REGNUM) (PPC_FPSCR_REGNUM, PPC_MQ_REGNUM, PPC_SPE_UPPER_GP0_REGNUM) (PPC_SPE_ACC_REGNUM, PPC_SPE_FSCR_REGNUM, PPC_VR0_REGNUM) (PPC_VSCR_REGNUM, PPC_VRSAVE_REGNUM, PPC_NUM_REGS): New constants. * rs6000-tdep.c: Include preparsed descriptions. (init_sim_regno_table): Do not iterate over pseudo registers. Look up segment registers by name. Use sim_spr_register_name for SPRs. (rs6000_register_sim_regno): Call init_sim_regno_table here. (rs6000_builtin_type_vec128): Delete. (rs6000_register_name): Only handle SPE pseudo registers and upper halves. Call tdesc_register_name for everything else. (rs6000_register_type): Delete. Replace with... (rs6000_pseudo_register_type): ...this new function. Only handle SPE pseudo registers. (rs6000_register_reggroup_p): Delete. Replace with... (rs6000_pseudo_register_reggroup_p): ...this new function. Only handle SPE pseudo registers. (rs6000_convert_register_p): Use ppc_fp0_regnum instead of "struct reg". (rs6000_register_to_value, rs6000_value_to_register): Remove check of reg->fpr. (e500_register_reggroup_p): Delete. (STR, R, R4, R8, R16, F, P8, R32, R64, R0, A4, S, S4, SN4, S64) (COMMON_UISA_REGS, PPC_UISA_SPRS, PPC_UISA_NOFP_SPRS) (PPC_SEGMENT_REGS, PPC_OEA_SPRS, PPC_ALTIVEC_REGS, PPC_SPE_GP_REGS) (PPC_SPE_UPPER_GP_REGS, PPC_EV_PSEUDO_REGS): Delete macros. (registers_powerpc, registers_403, registers_403GC, registers_505) (registers_860, registers_601, registers_602, registers_603) (registers_604, registers_750, registers_7400, registers_e500): Delete variables. (struct variant): Delete nregs, npregs, num_tot_regs, and regs. Add tdesc. (tot_num_registers, num_registers, num_pseudo_registers): Delete. (variants): Delete outdated comment. Use standard target descriptions instead of "struct reg" arrays. (init_variants): Delete. (rs6000_gdbarch_init): Do not guess word size from the BFD architecture if we have a target description. Select a variant before creating a new architecture. Use the variant's target description if the target did not define a register layout. Validate target-supplied registers. Reject mismatches. Use fixed register numbers and new constants instead of magic numbers. Call set_gdbarch_ps_regnum. Call tdesc_use_registers. (_initialize_rs6000_tdep): Initialize the preparsed target descriptions. * target-descriptions.c (tdesc_predefined_types): Add int128 and uint128. (tdesc_find_register_early): New function. (tdesc_numbered_register): Use it. (tdesc_register_size): New function. (tdesc_use_registers): Take a target_desc argument. Do not use gdbarch_target_desc. * target-descriptions.h (tdesc_use_registers): Update prototype and comment. (tdesc_register_size): New prototype. * Makefile.in (powerpc_32_c, powerpc_403_c, powerpc_403gc_c) (powerpc_505_c, powerpc_601_c, powerpc_602_c, powerpc_603_c) (powerpc_604_c, powerpc_64_c, powerpc_7400_c, powerpc_750_c) (powerpc_860_c, powerpc_e500_c, rs6000_c): New macros. (rs6000-tdep.o): Update. * arm-tdep.c (arm_gdbarch_init): Update call to tdesc_use_registers. * m68k-tdep.c (m68k_gdbarch_init): Likewise. * mips-tdep.c (mips_gdbarch_init): Likewise. * gdb.texinfo (Predefined Target Types): Add int128 and uint128. (Standard Target Features): Add PowerPC features. * gdb.xml/tdesc-regs.exp: Add PowerPC support. * sim-ppc.h (sim_spr_register_name): New prototype. * gdb-sim.c (regnum2spr): Rename to... (sim_spr_register_name): ... this. Make global.