summaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* *** empty log message ***Mark Mitchell2005-06-131-9/+0
|
* * corelow.c (core_open): Use bfd_fopen, not bfd_fdopenr.Mark Mitchell2005-06-131-0/+9
| | | | | | | | * exec.c (exec_file_attach): Likewise. * solib-frv.c (enable_break2): Likewise. * solib-svr4.c (enable_break): Likewise. * solib.c (solib_map_sections): Likewise. * symfile.c (symfile_bfd_open): Likewise.
* * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserverDaniel Jacobowitz2005-03-251-117/+0
| | | | | downloads. * config/gdbserver.exp (gdb_load): Likewise.
* * ser-base.c (ser_unix_write): Rename to ...Mark Mitchell2005-03-251-0/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (ser_base_write): ... this. (ser_unix_nop_flush_output): Rename to ... (ser_base_flush_output): ... this. (ser_unix_flush_input): Rename to ... (ser_base_flush_input): ... this. (ser_unix_nop_send_break): Rename to ... (ser_base_send_break): ... this. (ser_unix_nop_drain_output): Rename to ... (ser_base_drain_output): ... this. (ser_unix_nop_raw): Rename to ... (ser_base_raw): ... this. (ser_unix_nop_get_tty_state): Rename to ... (ser_base_set_tty_state): ... this. (ser_unix_nop_noflush_set_tty_state): Rename to ... (ser_base_noflush_set_tty_state): ... this. (ser_unix_nop_print_tty_state): Rename to ... (ser_base_print_tty_state): ... this. (ser_unix_nop_setbaudrate): Rename to ... (ser_base_setbaudrate): ... this. (ser_unix_nop_setstopbits): Rename to ... (ser_base_setstopbits): ... this. (ser_unix_async): Rename to ... (ser_base_async): ... this. * ser-base.h (ser_unix_write): Rename to ... (ser_base_write): ... this. (ser_unix_nop_flush_output): Rename to ... (ser_base_flush_output): ... this. (ser_unix_flush_input): Rename to ... (ser_base_flush_input): ... this. (ser_unix_nop_send_break): Rename to ... (ser_base_send_break): ... this. (ser_unix_nop_drain_output): Rename to ... (ser_base_drain_output): ... this. (ser_unix_nop_raw): Rename to ... (ser_base_raw): ... this. (ser_unix_nop_get_tty_state): Rename to ... (ser_base_set_tty_state): ... this. (ser_unix_nop_noflush_set_tty_state): Rename to ... (ser_base_noflush_set_tty_state): ... this. (ser_unix_nop_print_tty_state): Rename to ... (ser_base_print_tty_state): ... this. (ser_unix_nop_setbaudrate): Rename to ... (ser_base_setbaudrate): ... this. (ser_unix_nop_setstopbits): Rename to ... (ser_base_setstopbits): ... this. (ser_unix_async): Rename to ... (ser_base_async): ... this. * ser-pipe.c (_initialize_ser_pipe): Update accordingly. * ser-tcp.c (_initialize_ser_tcp): Likewise. * ser-unix.c (hardwire_flush_input): Likewise. (_initializer_ser_hardwire): Likewise.
* * Makefile.in (SFILES): Add ser-base.c.Mark Mitchell2005-03-251-0/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (ser_base_h): New variable. (ser-base.o): New target. (ser-pipe.o): Depend on $(ser_base_h). (ser-tcp.o): Likewise. (ser-unix.o): Likewise. Do not depend on $(event_loop_h). * configure.ac (SER_HARDWIRE): Include ser-base.o where appropriate. * ser-base.c: New file. (push_event): Move from ser-unix.c. (fd_event): Likewise. (reschedule): Likewise. (ser_unix_write): Likewise. (ser_unix_nop_flush_output): Likewise. (ser_unix_flush_input): Likewise. (ser_unix_nop_send_break): Likewise. (ser_unix_nop_drain_output): Likewise. (ser_unix_nop_raw): Likewise. (ser_unix_nop_get_tty_state): Likewise. (ser_unix_nop_set_tty_state): Likewise. (ser_unix_nop_noflush_set_tty_state): Likewise. (ser_unix_nop_print_tty_state): Likewise. (ser_unix_nop_setbaudrate): Likewise. (ser_unix_nop_setstopbits): Likewise. (ser_unix_async): Likewise. * ser-base.h: New file. * ser-pipe.c (ser-base.h): Include it. * ser-tcp.c (ser-base.h): Likewise. * ser-unix.h (ser_unix_nop_flush_output): Remove. (ser_unix_flush_input): Likewise. (ser_unix_nop_send_break): Likewise. (ser_unix_nop_raw): Likewise. (ser_unix_nop_get_tty_state): Likewise. (ser_unix_nop_set_tty_state): Likewise. (ser_unix_nop_print_tty_state): Likewise. (ser_unix_nop_noflush_set_tty_state): Likewise. (ser_unix_nop_setbaudrate): Likewise. (ser_unix_nop_setstopbits): Likewise. (ser_unix_nop_drain_output): Likewise. (ser_unix_wait_for): Likewise. (ser_unix_write): Likewise. (ser_unix_async): Likewise. * ser-unix.c (event-loop.h): Do not include it. (push_event): Move to ser-base.c. (fd_event): Likewise. (reschedule): Likewise. (ser_unix_write): Likewise. (ser_unix_nop_flush_output): Likewise. (ser_unix_flush_input): Likewise. (ser_unix_nop_send_break): Likewise. (ser_unix_nop_drain_output): Likewise. (ser_unix_nop_raw): Likewise. (ser_unix_nop_get_tty_state): Likewise. (ser_unix_nop_set_tty_state): Likewise. (ser_unix_nop_noflush_set_tty_state): Likewise. (ser_unix_nop_print_tty_state): Likewise. (ser_unix_nop_setbaudrate): Likewise. (ser_unix_nop_setstopbits): Likewise. (ser_unix_async): Likewise. (ser_unix_wait_for): Make it static. * configure: Regenerated.
* * dwarf2-frame.h: Update copyrigh year.csl-arm-20050325-branchpointMark Kettenis2005-03-251-0/+9
| | | | | | | | (enum dwarf2_frame_reg_rule): Add DWARF2_FRAME_REG_RA_OFFSET. * dwarf2-frame.c: Update copyright year. (struct dwarf2_frame_cache): Add member `retaddr_reg'. (dwarf2_frame_cache): Deal with DWARF2_FRAME_REG_RA_OFFSET. (dwarf2_frame_prev_register): Handle DWARF2_FRAME_REG_RA_OFFSET.
* 2005-03-23 Martin Hunt <hunt@redhat.com>Martin Hunt2005-03-231-0/+5
| | | | | * configure.ac: Remove -fwritable-strings from CFLAGS. * configure: Regenerate.
* 2005-03-21 Michael Snyder <msnyder@redhat.com>Michael Snyder2005-03-211-0/+8
| | | | | | | | * mn10300-prologue.c (fix_frame_pointer): Delete. (set_movm_offsets) Don't return just because movm_args is zero -- still need to save pc and sp in saved_regs. (mn10300_analyze_prologue): Don't return prematurely without calling set_movm_offsets (for pc and sp at minimum).
* * configure.ac (stat.st_blksize): Check for it.Mark Mitchell2005-03-211-0/+10
| | | | | | | | | (getuid): Likewise. (getgid): Likewise. * configure: Regenerated. * config.in: Likewise. * remote-fileio.c (remote_fileio_to_fio_stat): Check HAVE_STRUCT_STAT_ST_BLKSIZE.
* * win32-nat.c (do_initial_child_stuff): Don't clear the thread list here.Christopher Faylor2005-03-211-0/+8
| | | | | | (do_initial_child_stuff): Move clearing of thread list to a place before a thread ould be created. (child_attach): Ditto.
* 2005-03-21 Michael Snyder <msnyder@redhat.com>Michael Snyder2005-03-211-0/+5
| | | | | * mn10300-tdep.c (mn10300_frame_unwind_cache): Use func addr instead of pc addr for frame_id. Otherwise "until" won't work.
* * frv-linux-tdep.c (frv_linux_sigcontext_reg_addr): Fix typo inKevin Buettner2005-03-211-0/+5
| | | | comment.
* * dwarf2loc.c (dwarf_expr_tls_address): Mark addr as volatile.Mark Kettenis2005-03-201-0/+3
| | | | * varobj.c (my_value_equal): Mark val2 as volatile.
* Fix typo.Mark Kettenis2005-03-201-1/+1
|
* * cp-names.y: Add prototype for yylex.Mark Kettenis2005-03-201-1/+5
|
* * dwarf2loc.c (dwarf_expr_tls_address): Initialize ADDR.Daniel Jacobowitz2005-03-191-0/+6
| | | | | * gnu-v3-abi.c (gnuv3_baseclass_offset): Update type of VALADDR.
* Move printing of TLS related error messages to dwarf2loc.c.Kevin Buettner2005-03-181-0/+13
|
* * utils.c (safe_strerror): Use xsnprintf instead of sprintf.Mark Kettenis2005-03-181-1/+12
| | | | | | | | | | (decimal2str, octal2str): Change to return a string allocated by get_cell. Use xsnprint instead of snprintf. (paddr_u, paddr_d): Adjust for changed calling convention of decimal2str. (phex, phex_nz, hex_string): Use xsnprintf instead of snprintf. (int_string): Likewise. Adjust for changed calling convention of decimal2str and octal2str.
* * frv-linux-tdep.c (frv_linux_sigcontext_reg_addr): Update comments.Kevin Buettner2005-03-181-0/+5
| | | | Adjust incorrectly computed constant for realtime signal frame.
* From Ralf Corsepius <ralf.corsepius@rtems.org>Mark Kettenis2005-03-181-0/+5
| | | | * configure.tgt: Add m68*-*-rtems*.
* * defs.h (xsnprintf): New prototype.Mark Kettenis2005-03-171-0/+3
| | | | * utils.c (xsnprintf): New function.
* * corelow.c (get_core_register_section): Replace usage of sprintfMark Kettenis2005-03-171-0/+3
| | | | and strcpy with xstrprintf and xstrdup.
* * mips-tdep.c (mips_single_step_through_delay): Put back check forMark Kettenis2005-03-171-0/+5
| | | | breakpoint lost with the introduction of this function.
* 2005-03-17 Paul Brook <paul@codesourcery.com>Paul Brook2005-03-171-0/+5
| | | | | * amd64-tdep.c (amd64_dwarf_reg_to_regnum): Fix broken logic. * s390-tdep.c (s390_dwarf_reg_to_regnum): Ditto.
* * event-top.c (handle_sigquit): Do not define for systems withoutMark Mitchell2005-03-161-1/+4
| | | | | | | | SIGQUIT. (sigquit_token): Likewise. (async_init_signals): Allow for systems that do not define SIGQUIT. * ser-tcp.c (net_open): Allow for systems that do not have SIGPIPE.
* * event-top.c (async_init_signals): Allow for systems that do notMark Mitchell2005-03-161-0/+6
| | | | | define SIGQUIT. * ser-tcp.c (net_open): Allow for systems that do not have SIGPIPE.
* * utils.c (internal_vproblem): Guard call to fork withMark Mitchell2005-03-161-0/+11
| | | | | | | | | | HAVE_WORKING_FORK. * cli/cli-cmds.c (shell_escape): Guard call to vfork with HAVE_WORKING_VFORK and HAVE_WORKING_FORK. * remote-fileo.c (remote_fileio_mode_to_host): Accomodate lack of S_IRGRP and related macros. (remote_fileio_mode_to_target): Likewise.
* * Makefile.in (CLIBS): Link libbfd after libopcodes, as it is aBen Elliston2005-03-141-0/+5
| | | | more primitive library.
* * inf-ttrace.c (inf_ttrace_pid_to_str): Use snprintf instead ofMark Kettenis2005-03-131-1/+8
| | | | | | | | sprintf. * target.c (normal_pid_to_str): Likewise. * remote.c (remote_pid_to_str): Use snprint instead of sprintf. Change capitalization of "thread". Use ptid_get_pid instead of GETPID.
* * cp-abi.c (set_cp_abi_as_auto_default): Use xasprintf instead ofMark Kettenis2005-03-131-0/+5
| | | | a combination of xmalloc and sprintf.
* * configure.ac: Use '=', not '=='; the latter is a GNU extension.Jim Blandy2005-03-131-0/+5
| | | | * configure: Regenerated.
* 2005-03-11 Michael Snyder <msnyder@redhat.com>Michael Snyder2005-03-111-0/+7
| | | | | | | * mn10300-tdep.c (mn10300_dummy_unwind_dummy_id): Replace stub fn with real implementatin mn10300_unwind_dummy_id. (mn10300_push_dummy_call): Implement. Bare bones version, does not handle structs or floats.
* Avoid warnings due to the use of -Wuninitialized without -O.Jim Blandy2005-03-111-0/+6
| | | | | | | * configure.ac (build_warnings): Include -Wuninitialized only if CFLAGS is unset at configure time, or CFLAGS is set and includes some -O option other than -O0. * configure: Regenerated.
* * mips-tdep.c (show_mips_abi): Change calling conventions to matchJim Blandy2005-03-111-0/+6
| | | | | those expected by add_setshow_enum_cmd. Use 'file' argument as appropriate.
* * Makefile.in (SFILES): Add cp-names.y.Daniel Jacobowitz2005-03-111-1/+20
| | | | | | | | | | | | | | | | | | (libiberty_h, safe_ctype_h): New. (YYFILES): Add cp-names.c. (YYOBJ): Add cp-names.o. (test-cp-names.o, test-cp-names$(EXEEXT), cp-names.o): New rules. (clean): Remove test-cp-names$(EXEEXT). (local-maintainer-clean): Remove cp-names.c. * cp-names.y: New file. * cp-support.c (find_last_component): Delete. (d_left, d_right): Define. (cp_canonicalize_string, mangled_name_to_comp): New functions. (cp_class_name_from_physname, method_name_from_physname): Rewrite to use mangled_name_to_comp. * cp-support.h (cp_canonicalize_string, cp_demangled_name_to_comp) (cp_comp_to_string): New prototypes. * config/djgpp/fnchange.lst: Add cp-names.c.
* Remove the --[no]async command line switch from --helpBob Rossi2005-03-101-0/+4
|
* * proc-api.c: Update copyright year.Mark Kettenis2005-03-101-0/+6
| | | | | (_initialize_proc_api): Revert previous patch, removing spurious space instead.
* * regcache.c: Fix typo in comment.Joel Brobecker2005-03-101-0/+4
|
* 2005-03-09 David Lecomber <david@lecomber.net>David Lecomber2005-03-091-0/+5
| | | | | * proc-api.c (_initialize_proc_api): Fix invalid multi-line i18n text.
* * sparc-tdep.c (sparc_frame_cache): Adjust cached frame baseMark Kettenis2005-03-091-0/+17
| | | | | | | | | | | | | | | | address for 64-bit code. (sparc_unwind_dummy_id): Likewise. * sparc64-tdep.c (sparc64_frame_prev_register): Adjust for new frame base address convention. (sparc64_push_dummy_call): Likewise. * sparc64nbsd-tdep.c: Update copyright year. (sparc64nbsd_sigcontext_frame_cache): Adjust cached frame base address for 64-bit code. (sparc64nbsd_init_abi): Tweak comment. * sparc64obsd-tdep.c: Update copyright year. (sparc64obsd_frame_cache): Adjust cached frame base address for 64-bit code. (sparc64obsd_init_abi): Tweak comment.
* Fix my email address in 2005-03-05 entry.Mark Kettenis2005-03-091-1/+1
|
* * exceptions.h (TRY_CATCH): Define setjmp/sigsetjmp macro safe.Corinna Vinschen2005-03-091-3/+7
| | | | (plus a tiny ChangeLog fix)
* * dwarf2read.c (dwarf_decode_lines): Use the complete filenameJoel Brobecker2005-03-091-0/+5
| | | | when creating include psymtabs.
* * environ.h (struct environ): Rename to ...Mark Mitchell2005-03-081-0/+22
| | | | | | | | | | | | | | | | | | | | | (struct gdb_environ): ... this. (make_environ): Update prototype. (free_environ): Likewise. (init_environ): Likewise. (get_in_environ): Likewise. (set_in_environ): Likewise. (unset_in_environ): Likewise. (environ_vector): Likewise. * environ.c (make_environ): Replace "struct environ" with "struct gdb_environ". (free_environ): Likewise. (init_environ): Likewise. (environ_vector): Likewise. (get_in_environ): Likewise. (set_in_environ): Likewise. (unset_in_environ): Likewise. * infcmd.c (inferior_environ): Likewise. * inferior.h (inferior_environ): Likewise.
* * infcmd.c (run_command_1): New function, extracted fromJoel Brobecker2005-03-081-0/+9
| | | | | | | | run_command. (run_command): Replace implementation by call to run_command_1. (start_command): Use run_command_1 to insert the temporary breakpoint and run the program. Remove code that's no longer needed, as already done at the proper time by run_command_1.
* * symfile.c (clear_symtab_users): CallDaniel Jacobowitz2005-03-081-0/+5
| | | | clear_current_source_symtab_and_line first.
* * ax-gdb.c (gen_expr): Add UNOP_PLUS case.Nathan Sidwell2005-03-081-0/+7
| | | | | | | | | | | | | | * c-exp.y (exp): Add unary plus. * eval.c (evaluate_subexp_standard): Add UNOP_PLUS case. * valarith.c (value_x_unop): Add UNOP_PLUS case. (value_pos): New. * value.h (value_pos): Declare. * gdb.cp/userdef.cc (A1::operator+): New unary plus. (A2): New class. (main): Test operator+. * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for breakpoint test.
* * remote.c (MIN_REMOTE_PACKET_SIZE): Set to 20.Nathan Sidwell2005-03-081-0/+6
| | | | | | | (remote_fetch_registers): Allow uppercase hex when resyncing. (remote_write_bytes): Only call get_memory_write_packet_size once. Robustify packet size calculation for very small packets. Check that at least one byte will be written.
* * tracepoint.c (target_is_remote): Allow extended-remote.Nathan Sidwell2005-03-081-0/+8
| | | | | | | (struct collection_list): Allow 256 registers, like the comment said. (add_memrange): Fix comment. (read_actions): Turn EOF into 'end'.
* * Makefile.in: Add dependencies for iq2000-tdep.o.Corinna Vinschen2005-03-081-0/+7
| | | | | | * configure.tgt: Add iq2000-*-* target. * iq2000-tdep.c: New file. * config/iq2000/iq2000.mt: New file.