aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2005-03-09 * dwarf2read.c (dwarf_decode_lines): Use the complete filenameJoel Brobecker2-3/+28
when creating include psymtabs.
2005-03-09 * gdb.dwarf2/dup-psym.S: New file.Joel Brobecker3-0/+265
* gdb.dwarf2/dup-psym.exp: New testcase.
2005-03-09*** empty log message ***gdbadmin1-1/+1
2005-03-08 * gdb.ada/exec_changed/first.adb: New file.Joel Brobecker4-0/+101
* gdb.ada/exec_changed/second.adb: New file. * gdb.ada/exec_changed.exp: New testcase.
2005-03-08 * environ.h (struct environ): Rename to ...Mark Mitchell5-22/+45
(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.
2005-03-08 * infcmd.c (run_command_1): New function, extracted fromJoel Brobecker2-10/+26
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.
2005-03-08 * symfile.c (clear_symtab_users): CallDaniel Jacobowitz2-1/+10
clear_current_source_symtab_and_line first.
2005-03-08 * ax-gdb.c (gen_expr): Add UNOP_PLUS case.Nathan Sidwell9-3/+93
* 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.
2005-03-08 * remote.c (MIN_REMOTE_PACKET_SIZE): Set to 20.Nathan Sidwell2-8/+24
(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.
2005-03-08 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.Nathan Sidwell10-41/+80
* gdb.base/signull.exp: Disable if gdb,nosignals. * gdb.cp/bs15503.exp: Disable if skip_cplus_tests * gdb.cp/exception.exp: Disable if skip_cplus_tests. * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio. * gdb.mi/mi2-console.exp: Likewise. * gdb.trace/collection.exp (run_trace_experiment): Consume the continue output at start. (gdb_collect_locals_test): Robustify regexp. * gdb.trace/passc-dyn.exp: Fix comment typo. * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
2005-03-08 * tracepoint.c (target_is_remote): Allow extended-remote.Nathan Sidwell2-3/+15
(struct collection_list): Allow 256 registers, like the comment said. (add_memrange): Fix comment. (read_actions): Turn EOF into 'end'.
2005-03-08 * Makefile.in: Add dependencies for iq2000-tdep.o.Corinna Vinschen5-0/+889
* configure.tgt: Add iq2000-*-* target. * iq2000-tdep.c: New file. * config/iq2000/iq2000.mt: New file.
2005-03-08 * gdb.asm/asm-source.exp: Add iq2000 case.Corinna Vinschen3-0/+49
* gdb.asm/iq2000.inc: New file.
2005-03-08 * doc/observer.texi (executable_changed): New observer.Joel Brobecker6-8/+88
* symtab.c: Include "observer.h". (find_main_name): New function. (main_name): If name_of_main is unset, then compute it using find_main_name. (symtab_observer_executable_changed): New function. (_initialize_symtab): Attach executable_changed observer. * exec.c: Include "observer.h". (exec_file_attach): Emit executable_changed notification. * symfile.c: Include "observer.h". (reread_symbols): Send an executable_changed if appropriate. * Makefile.in (exec.o): Add dependency on observer.h. (symfile.o): Likewise. (symtab.o): Likewise.
2005-03-08*** empty log message ***gdbadmin1-1/+1
2005-03-07 * findvar.c (read_var_value): Don't allocate V when it will notDaniel Jacobowitz2-3/+17
be used. Add missing break for LOC_INDIRECT.
2005-03-072005-03-07 Manoj Iyer <manjo@austin.ibm.com>Manoj Iyer3-1/+8
* gdb.base/command.exp: Change hardcoded value to regular expression. * gdb.base/float.exp: Add powerpc to the list of targets checked.
2005-03-07 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,Daniel Jacobowitz14-0/+26
gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc, gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc, gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc, gdb.asm/x86_64.inc: Use .purgem before redefining macros.
2005-03-07fix obvious problem with compiler.c and compiler.cc: for xlc, used 'regsub',Paul Gilliam2-2/+2
but for get_compiler_info, line must start with 'set'.
2005-03-07*** empty log message ***gdbadmin1-1/+1
2005-03-06* sparc64fbsd-tdep.c: Include "solib-svr4.h".Mark Kettenis3-1/+14
(sparc64fbsd_init_abi): Set skip_trampoline_code and solib_svr4_fetch_link_map_offsets. * Makefile.in (sparc64fbsd-tdep.o): Update dependencies.
2005-03-06Correct email address in last commit.Daniel Jacobowitz1-1/+1
2005-03-06 * linux-nat.c (child_follow_fork): Call target_terminal_ours beforeDaniel Jacobowitz2-6/+20
printing output. Use fprintf_unfiltered. Only print output when debugging.
2005-03-06*** empty log message ***gdbadmin1-1/+1
2005-03-05* sparc64-tdep.c (sparc64_store_floating_fields): Constify thirdMark Kettenis2-2/+8
argument. (sparc64_store_arguments): Constify.
2005-03-05* alphabsd-nat.c: Update copyright year. Include "inf-ptrace.h".Mark Kettenis7-26/+53
(alphabsd_fetch_inferior_registers): Rename from fetch_inferior_registers. Make static. (alphabsd_store_inferior_registers): Rename from store_inferior_registers. Make static. (_initialize_alphabsd_nat): New function. * Makefile.in (alphabsd-nat.o): Update dependencies. * config/alpha/fbsd.mh (NATDEPFILES): Remove infptrace.o and inftarg.o. Add inf-ptrace.o, fbsd-nat.o and gcore.o. * config/alpha/nbsd.mh (NAT_CLIBS): Remove variable. (NATDEPFILES): Remove infptrace.o and inftarg.o. Add alphabsd-nat.o. * config/alpha/nm-fbsd.h: Update copyright year. Don't include "config/nm-bsd.h" and "elf/common.h". * config/alpha/nm-nbsd.h: Update copyright year. Don't include "config/nm-nbsd.h".
2005-03-05* gdb.cp/ovldbreak.exp: Adjust regular expression for recentMark Kettenis2-2/+6
changes.
2005-03-05Fix botched checkin.Mark Kettenis1-2/+0
2005-03-05* mips64obsd-tdep.c (mips64obsd_init_abi): Don't setMark Kettenis1-2/+0
software_single_step.
2005-03-05* mips64obsd-tdep.c (mips64obsd_init_abi): Don't setMark Kettenis1-0/+7
software_single_step. * acconfig.h: Remove #undef.
2005-03-052005-03-04 Michael Snyder <msnyder@redhat.com>Michael Snyder4-37/+599
* mn10300-prologue.c: New file. Prologue analysis. * mn10300-tdep.c: Move REGNUM values to mn10300-tdep.h. (mn10300_frame_unwind_cache): Don't call trad_frame_set_id until after analyze_prologue, and don't call trad_frame_set_base at all (let analyze_prologue do it).
2005-03-052005-03-04 Michael Snyder <msnyder@redhat.com>Michael Snyder3-0/+17
* trad-frame.c (trad_frame_set_reg_value): New function. * trad-frame.h (trad_frame_set_reg_value): Export.
2005-03-05*** empty log message ***gdbadmin1-1/+1
2005-03-04 * Makefile.in (stamp-h): Set CONFIG_HEADERS explicitly.Daniel Jacobowitz2-1/+5
2005-03-04 * Makefile.in (remote.o): Update dependencies.Daniel Jacobowitz3-1/+7
* remote.c: Include "observer.h".
2005-03-04 * target.c (target_read_memory_partial): Always initializeDaniel Jacobowitz2-5/+47
ERR. (target_write_memory_partial): Likewise.
2005-03-042004-03-03 Paul Gilliam <pgilliam@us.ibm.com>Paul Gilliam3-0/+18
* lib/compiler.c: Add test for IBM's xlc compiler. * lib/compiler.cc: Likewise.
2005-03-04*** empty log message ***gdbadmin1-1/+1
2005-03-03 * inferiors.c (change_inferior_id, add_thread, find_inferior_id):Daniel Jacobowitz8-57/+84
Take unsigned long arguments for PIDs. * linux-low.c (add_process, linux_attach_lwp, linux_attach) (linux_thread_alive, linux_wait_for_event, kill_lwp, send_sigstop) (wait_for_sigstop, linux_resume_one_process) (regsets_fetch_inferior_registers, linux_send_signal) (linux_read_auxv): Likewise. Update the types of variables holding PIDs. Update format string specifiers. * linux-low.h (struct process_info, linux_attach_lwp): Likewise. * remote-utils.c (prepare_resume_reply): Likewise. * server.c (cont_thread, general_thread, step_thread) (thread_from_wait, old_thread_from_wait, signal_pid): Change type to unsigned long. (handle_query): Update format specifiers. (handle_v_cont, main): Use strtoul for thread IDs. * server.h (struct inferior_list_entry): Use unsigned long for ID. (add_thread, find_inferior_id, change_inferior_id, cont_thread) (general_thread, step_thread, thread_from_wait) (old_thread_from_wait): Update. * target.h (struct thread_resume): Use unsigned long for THREAD. (struct target_ops): Use unsigned long for arguments to attach and thread_alive.
2005-03-03 * remote.c (remote_open_1): Call observer_notify_inferior_created.Daniel Jacobowitz2-1/+7
2005-03-03 * arm-tdep.c (arm_make_stub_cache, arm_stub_this_id)Daniel Jacobowitz2-0/+57
(arm_stub_unwind, arm_stub_unwind_sniffer): New. (arm_gdbarch_init): Add arm_stub_unwind_sniffer.
2005-03-03*** empty log message ***gdbadmin1-1/+1
2005-03-02 * linux-nat.c (linux_supports_tracevforkdone, child_follow_fork):Daniel Jacobowitz2-3/+13
Use LWP IDs.
2005-03-02*** empty log message ***gdbadmin1-1/+1
2005-03-01*** empty log message ***gdbadmin1-1/+1
2005-02-28 * dwarf2loc.c (loclist_read_variable): Set optimized_outDaniel Jacobowitz12-77/+119
instead of reporting an error. * valprint.c (value_check_printable): New function. (common_val_print): New function. Use value_check_printable. (value_print): Use value_check_printable. * value.h (common_val_print): Add prototype. * c-valprint.c (c_val_print): Use common_val_print. * cp-valprint.c (cp_print_value_fields): Likewise. (cp_print_hpacc_virtual_table_entries): Likewise. * f-valprint.c (f_val_print): Likewise. * jv-valprint.c (java_value_print, java_print_value_fields): Likewise. * scm-valprint.c (scm_value_print): Likewise. * stack.c (print_frame_args): Likewise. * varobj.c (c_value_of_variable): Likewise. * p-valprint.c (pascal_val_print, pascal_value_print): Likewise. (pascal_object_print_value_fields): Likewise. Update call to pascal_object_print_static_field. (pascal_object_print_static_field): Remove TYPE argument. Use common_val_print.
2005-02-28*** empty log message ***gdbadmin1-1/+1
2005-02-27*** empty log message ***gdbadmin1-1/+1
2005-02-262005-02-25 Mark Kettenis <kettenis@gnu.org>Elena Zannoni2-30/+43
Committed by Elena Zannoni <ezannoni@redhat.com> * dwarf2read.c (dwarf2_build_psymtabs_hard): Adjust info_ptr before building psymtabs for included files. (create_all_comp_units): Initailize initial length size of compilation header to zero. (read_initial_length): Complain if both 32-bit and 64-bit DWARF sections are encountered within the same compilation header. (dwarf_decode_line_header): Pass compilation header in call to read_initial_length.
2005-02-26*** empty log message ***gdbadmin1-1/+1