aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2005-03-17* corelow.c (get_core_register_section): Replace usage of sprintfMark Kettenis2-3/+7
and strcpy with xstrprintf and xstrdup.
2005-03-17* mips-tdep.c (mips_single_step_through_delay): Put back check forMark Kettenis2-0/+8
breakpoint lost with the introduction of this function.
2005-03-172005-03-17 Paul Brook <paul@codesourcery.com>Paul Brook3-2/+7
* amd64-tdep.c (amd64_dwarf_reg_to_regnum): Fix broken logic. * s390-tdep.c (s390_dwarf_reg_to_regnum): Ditto.
2005-03-17*** empty log message ***gdbadmin1-1/+1
2005-03-16 * event-top.c (handle_sigquit): Do not define for systems withoutMark Mitchell1-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.
2005-03-16 * event-top.c (async_init_signals): Allow for systems that do notMark Mitchell3-0/+16
define SIGQUIT. * ser-tcp.c (net_open): Allow for systems that do not have SIGPIPE.
2005-03-16 * utils.c (internal_vproblem): Guard call to fork withMark Mitchell4-3/+37
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.
2005-03-16*** empty log message ***gdbadmin1-1/+1
2005-03-15*** empty log message ***gdbadmin1-1/+1
2005-03-142005-03-14 Paul Brook <paul@codesourcery.com>Paul Brook2-8/+8
* lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote targets.
2005-03-14 * Makefile.in (CLIBS): Link libbfd after libopcodes, as it is aBen Elliston2-1/+6
more primitive library.
2005-03-14*** empty log message ***gdbadmin1-1/+1
2005-03-13* inf-ttrace.c (inf_ttrace_pid_to_str): Use snprintf instead ofMark Kettenis4-9/+23
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.
2005-03-13* cp-abi.c (set_cp_abi_as_auto_default): Use xasprintf instead ofMark Kettenis2-6/+8
a combination of xmalloc and sprintf.
2005-03-13* configure.ac: Use '=', not '=='; the latter is a GNU extension.Jim Blandy3-2/+7
* configure: Regenerated.
2005-03-13*** empty log message ***gdbadmin1-1/+1
2005-03-12*** empty log message ***gdbadmin1-1/+1
2005-03-112005-03-11 Michael Snyder <msnyder@redhat.com>Michael Snyder2-11/+119
* 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.
2005-03-11Avoid warnings due to the use of -Wuninitialized without -O.Jim Blandy3-2/+34
* 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.
2005-03-11* mips-tdep.c (show_mips_abi): Change calling conventions to matchJim Blandy2-9/+23
those expected by add_setshow_enum_cmd. Use 'file' argument as appropriate.
2005-03-11 * Makefile.in (SFILES): Add cp-names.y.Daniel Jacobowitz6-105/+2368
(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.
2005-03-11*** empty log message ***gdbadmin1-1/+1
2005-03-10Remove the --[no]async command line switch from --helpBob Rossi2-3/+4
2005-03-10Add 2005 to doco copyrightBob Rossi2-4/+10
2005-03-10* proc-api.c: Update copyright year.Mark Kettenis2-7/+13
(_initialize_proc_api): Revert previous patch, removing spurious space instead.
2005-03-10 * regcache.c: Fix typo in comment.Joel Brobecker2-1/+5
2005-03-10*** empty log message ***gdbadmin1-1/+1
2005-03-092005-03-09 David Lecomber <david@lecomber.net>David Lecomber2-6/+11
* proc-api.c (_initialize_proc_api): Fix invalid multi-line i18n text.
2005-03-09* sparc-tdep.c (sparc_frame_cache): Adjust cached frame baseMark Kettenis5-11/+37
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.
2005-03-09Fix my email address in 2005-03-05 entry.Mark Kettenis1-1/+1
2005-03-09 * exceptions.h (TRY_CATCH): Define setjmp/sigsetjmp macro safe.Corinna Vinschen2-7/+14
(plus a tiny ChangeLog fix)
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'.