aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2005-01-282005-01-28 Andrew Cagney <cagney@gnu.org>Andrew Cagney3-21/+40
* ada-lang.c (value_from_contents_and_address) (to_record_with_fixed_variant_part) (value_tag_from_contents_and_address, ada_to_fixed_type) (to_fixed_variant_branch_type, to_fixed_record_type) (ada_template_to_fixed_record_type, cond_offset_host) (ada_template_to_fixed_record_type_1): Make buffer a const bfd_byte. * ada-lang.h (ada_template_to_fixed_record_type_1) (value_from_contents_and_address, ada_to_fixed_type): Ditto.
2005-01-282005-01-28 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-6/+8
* ada-valprint.c (char_at, printstr): Make buffer a const bfd_byte.
2005-01-282005-01-28 Andrew Cagney <cagney@gnu.org>Andrew Cagney3-3/+6
* printcmd.c (print_scalar_formatted): Update. * gdbtypes.h (print_scalar_formatted): Make buffer a const bfd_byte.
2005-01-282005-01-28 Andrew Cagney <cagney@gnu.org>Andrew Cagney5-8/+17
* value.h (value_bit_index, print_floating) (find_rt_vbase_offset): Make buffer a const bfd_byte. * valprint.c (print_floating): Update. * valarith.c (value_bit_index): Update. * valops.c (find_rt_vbase_offset): Update.
2005-01-28Oops, fixed copyrights.Andrew Cagney2-3/+5
2005-01-282005-01-28 Andrew Cagney <cagney@gnu.org>Andrew Cagney3-15/+26
* valprint.h (print_octal_chars, print_char_chars) (print_hex_chars, print_decimal_chars, print_binary_chars): Make buffer a const bfd_byte. * valprint.c (print_binary_chars, print_octal_chars) (print_decimal_chars, print_hex_chars, print_char_chars): Make "valaddr"buffer a const bfd_byte, ditto for local variables referencing that buffer.
2005-01-282005-01-28 Andrew Cagney <cagney@gnu.org>Andrew Cagney4-16/+16
* m2-valprint.c: Include "c-lang.h". (c_val_print): Delete extern declaration. * scm-valprint.c: Include "c-lang.h". (c_val_print): Delete extern declaration. Makefile.in: Update dependencies.
2005-01-282005-01-28 Andrew Cagney <cagney@gnu.org>Andrew Cagney5-10/+22
* gnu-v2-abi.h (gnuv2_baseclass_offset): Make "valaddr" a const bfd_byte. * cp-abi.h (baseclass_offset): Make "valaddr" a const bfd_byte. (struct cp_abi_ops): Make baseclass_offset's "valaddr" a const bfd_byte. * cp-abi.c (baseclass_offset): Update. * gnu-v2-abi.c (gnuv2_baseclass_offset): Update.
2005-01-282005-01-28 Andrew Cagney <cagney@gnu.org>Andrew Cagney5-11/+49
* gnu-v2-abi.h: New file. * gnu-v2-abi.c: Include "gnu-v2-abi.h". (gnuv2_baseclass_offset): Delete declaration. * hpacc-abi.c: Include "gnu-v2-abi.h". (gnuv2_baseclass_offset): Delete extern declaration. * Makefile.in: Update dependencies.
2005-01-282005-01-28 Andrew Cagney <cagney@gnu.org>Andrew Cagney3-17/+22
* doublest.c (floatformat_is_negative, floatformat_is_nan) (floatformat_mantissa, get_field): Make the buffer a const bfd_byte, simplify.
2005-01-28*** empty log message ***gdbadmin1-1/+1
2005-01-272005-01-27 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-2/+5
* value.h (struct value): Change type of contents to bfd_byte. (VALUE_CONTENTS_RAW): Simplify.
2005-01-272005-01-27 Andrew Cagney <cagney@gnu.org>Andrew Cagney6-47/+23
* gdbarch.sh (integer_to_address): Change buf parameter to a const bfd_byte, make pure-multi-arch. * gdbarch.h, gdbarch.c: Regenerate. * mips-tdep.c (mips_integer_to_address): Update. * value.c (value_as_address): Update.
2005-01-272005-01-27 Andrew Cagney <cagney@gnu.org>Andrew Cagney3-10/+17
* cli/cli-dump.h (fopen_with_cleanup): Make "filename" const. * cli/cli-dump.c (dump_binary_file, dump_bfd_file): Make string parameters const, change buf to a const bfd_byte. (fopen_with_cleanup, bfd_openw_with_cleanup): Make all string parameters const.
2005-01-272005-01-27 Andrew Cagney <cagney@gnu.org>Andrew Cagney6-11/+38
* symfile-mem.c (do_target_read_memory): New function. (symbol_file_add_from_memory): Pass do_target_read_memory to bfd_elf_bfd_from_remote_memory. * corefile.c (write_memory): Update, make a copy of the read-only buffer. * target.c (target_read_memory): Update. (target_write_memory): Update, make a copy of the read-only buffer. * gdbcore.h (write_memory): Change buffer type to bfd_byte, make const. * target.h (target_read_memory, target_write_memory): Change buffer type to bfd_byte; for write_memory, make it const.
2005-01-272005-01-27 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-84/+86
* value.h: Indent using gdb_indent.sh.
2005-01-272005-01-27 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-2/+6
* gettext.m4: Don't use NONE as a default for CATOBJEXT.
2005-01-27*** empty log message ***gdbadmin1-1/+1
2005-01-262005-01-26 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-0/+61
* rs6000-tdep.c: Include "reggroups.h". (rs6000_gdbarch_init): Set register_reggroup_p. (rs6000_register_reggroup_p): New function.
2005-01-262005-01-26 Orjan Friberg <orjanf@axis.com>Orjan Friberg2-66/+402
* cris-tdep.c (enum cris_num_regs, enum cris_regnums) (cris_sigtramp_frame_unwind_cache, cris_register_size): Update for CRISv32. (crisv32_single_step_through_delay, cris_can_use_hardware_watchpoint) (cris_region_ok_for_watchpoint, cris_stopped_data_address) (crisv32_cannot_fetch_register, crisv32_cannot_store_register) (crisv32_register_type, cris_special_register_name) (crisv32_register_name): New functions. (cris_spec_reg_applicable): Recognize more versions. (cris_register_name): Update with call to cris_special_register_name. (find_cris_op): Filter out CRISv32 instructions. Tweaked comment and warning when unable to find step target. (CRISV10_ELF_NGREG, CRISV32_ELF_NGREG, crisv32_elf_gregset_t): Define. (supply_gregset): Add struct gdbarch_tdep. Set pseudo-PC register for CRISv32. (fetch_core_registers): Update for CRISv32. (cris_gdbarch_init): Set pc_regnum, register_type, num_regs, register_name, cannot_store_register, cannot_fetch_register, have_nonsteppable_watchpoint, single_step_through_delay for CRISv32.
2005-01-26(interpreter_exec_cmd): Use condition,Nick Roberts1-1/+1
e.reason < 0, to raise an error.
2005-01-26*** empty log message ***Nick Roberts1-0/+5
2005-01-26*** empty log message ***gdbadmin1-1/+1
2005-01-252005-01-25 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-109/+170
* ppc-linux-tdep.c: Include "tramp-frame.h" (struct ppc_linux_sigtramp_cache) (ppc_linux_sigtramp_this_id, ppc_linux_sigtramp_prev_register) (ppc_linux_sigtramp_unwind, ppc_linux_sigtramp_sniffer) (ppc_linux_sigtramp_cache): Delete. (ppc32_linux_sigaction_cache_init) (ppc64_linux_sigaction_cache_init) (ppc32_linux_sighandler_cache_init) (ppc64_linux_sighandler_cache_init) (ppc32_linux_sigaction_tramp_frame) (ppc64_linux_sigaction_tramp_frame) (ppc32_linux_sighandler_tramp_frame) (ppc64_linux_sighandler_tramp_frame) (ppc_linux_sigtramp_cache, ppc_linux_init_abi): Implement 32 and 64-bit, sigaction and siginfo tramp-frame unwinders.
2005-01-252005-01-25 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-9/+15
* ppc-linux-tdep.c (ppc_linux_init_abi): Always set long_double_bit to 8.
2005-01-25*** empty log message ***gdbadmin1-1/+1
2005-01-24Index: ChangeLogAndrew Cagney5-5/+194
2005-01-24 Andrew Cagney <cagney@gnu.org> * infrun.c (handle_inferior_event): Handle back-to-back and nested signals where the step_resume_breakpoint may have already been inserted. Index: testsuite/ChangeLog 2005-01-24 Andrew Cagney <cagney@gnu.org> * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
2005-01-242005-01-24 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-2/+8
* gettext.m4: Only fall back to ../intl/ when it's present.
2005-01-24*** empty log message ***gdbadmin1-1/+1
2005-01-23* NEWS: Mention new BSD user-level threads support.Mark Kettenis2-0/+15
2005-01-23* i386obsd-tdep.c: Update copyright year. IncludeMark Kettenis4-3/+134
"bsd-uthread.h". (i386obsd_uthread_reg_offset): New variable. (I386OBSD_UTHREAD_ESP_OFFSET): New define. (i386obsd_supply_uthread, i386obsd_collect_uthread): New functions. (i386obsd_init_abi): Set supply_uthread and collect_uthread. * Makefile.in (i386obsd-tdep.o): Update dependencies. * config/i386/obsd.mt (TDEPFILES): Add bsd-uthread.o.
2005-01-23* win32-nat.c: Update copyright year.Christopher Faylor3-2/+10
(child_init_thread_list): Set thread linked list point to NULL so that it won't be reused after clearing.
2005-01-23*** empty log message ***gdbadmin1-1/+1
2005-01-22*** empty log message ***gdbadmin1-1/+1
2005-01-21* acconfig.h (HAVE_STRUCT_REG_R_FS, HAVE_STRUCT_R_GS): RemoveMark Kettenis5-65/+214
undefs. * configure.ac: Use AC_CHECK_MEMBERS to check whether `struct thread' has a td_pcb member and whether `struct reg' has r_fs and r_gs members. * configure, config.in: Regenerate.
2005-01-21* configure.ac: Remove ia64-*-aix* junk.Mark Kettenis3-9/+3
* configure: Regenerate.
2005-01-21* configure.ac: Use AC_CHECK_DECLS instead of gcc_AC_CHECK_DECLSMark Kettenis6-627/+431
and BFD_NEED_DECLARATION. Don't check if a declaration of strdup is necessary. * configure, config.in: Regenerate. * utils.c: Adjust for usage of AC_CHECK_DECLS instead of BFD_NEED_DECLARATION. Never provide a prototype for caninicalize_file_name. * gdb_string.h: Adjust for usage of AC_CHECK_DECLS instead of BFD_NEED_DECLARATION.
2005-01-21* configure.ac (targ_archs): Use standard autoconf check forMark Kettenis5-66/+117
"struct stat.st_blocks" instead of rolling our own. * configure: Regenerated. * acconfig.h (HAVE_STRUCT_STAT_ST_BLOCKS): Remove undef. * config.in: Regenerated.
2005-01-21Remove stray newline.Mark Kettenis1-1/+0
2005-01-21*** empty log message ***gdbadmin1-1/+1
2005-01-20* configure.ac: Modernize checks for `long long' and `long double'Mark Kettenis5-438/+531
support. * configure: Regenerated. * acconfig.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG) (PRINT_HAS_LONG_DOUBLE, SCANF_HAS_LONG_DOUBLE): Remove undefs. * config.in: Regenerated.
2005-01-20* acconfig.h (HAVE_STRUCT_SAVE_STATE_T)Mark Kettenis4-84/+7
(HAVE_STRUCT_MEMBER_SS_WIDE): Remove undefs. * configure.ac: Remove checks for HP-UX save_state structure. * configure: Regenerated.
2005-01-20*** empty log message ***gdbadmin1-1/+1
2005-01-192005-01-19 Andrew Cagney <cagney@gnu.org>Andrew Cagney4-33/+31
* utils.c (quit): Simplify, call fatal. * exceptions.c: Include "serial.h" (print_flush): Mimic flush code found in utils.c:quit. * Makefile.in: Update dependencies.
2005-01-19* configure.tgt: Set build_rdi_share to "yes" on those targetsJim Blandy4-14/+106
that use that debugging protocol. Set build_nlm to yes to build NLM stub for Netware targets. * configure.ac: If build_rdi_share is "yes", then configure the rdi-share subdirectory. If build_nlm is "yes", the configure the "nlm" subdirectory. * configure: Regenerated.
2005-01-19* rdi-share/configure, rdi-share/aclocal.m4: Regenerated usingJim Blandy3-1408/+5765
autoconf 2.59 and automake 1.9.3.
2005-01-192005-01-19 Andrew Cagney <cagney@gnu.org>Andrew Cagney12-13/+28
* exceptions.h (deprecated_throw_reason): Rename throw_reason. * exceptions.c (deprecated_throw_reason): Rename throw_reason. * utils.c (internal_verror, quit): Update. * remote-sds.c (interrupt_query): Update. * remote-mips.c (mips_error, mips_kill): Update. * remote-fileio.c (remote_fileio_ctrl_c_signal_handler): Update. * remote.c (interrupt_query): Update. * ocd.c (interrupt_query): Update. * nto-procfs.c (interrupt_query): Update. * monitor.c (monitor_interrupt_query): Update. * breakpoint.c (break_command_1): Update.
2005-01-192005-01-19 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-1/+4
* gdb.stabs/Makefile.in (Makefile): Update dependencies - configure.ac not configure.in.
2005-01-192005-01-19 Andrew Cagney <cagney@gnu.org>Andrew Cagney5-14/+10
* gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL of powerpc*-*-*. * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto. * gdb.base/list.exp (test_list_function) (test_list_filename_and_function): Ditto. * gdb.base/callfuncs.exp (do_function_calls): Ditto.
2005-01-192005-01-19 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-53/+62
* infrun.c: (resume, proceed, wait_for_inferior) (handle_inferior_event, stop_stepping) (prepare_to_wait): Write debug output to gdb_stdlog.