aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2005-04-282005-04-28 Paul Brook <paul@codesourcery.com>Paul Brook2-2/+9
* exceptions.c (print_flush): Handle NULL gdb_stdout_serial.
2005-04-28*** empty log message ***gdbadmin1-1/+1
2005-04-272005-04-27 Paul Gilliam <pgilliam@us.ibm.com>Paul Gilliam2-1/+11
* gdb.base/annota1.exp : Deal with messages caused by breakpoints in shared objects being adjusted and update copyright.
2005-04-27* solib-svr4.c (_initialize_svr4_solib)Mark Kettenis2-5/+4
[SVR4_FETCH_LINK_MAP_OFFSETS]: Don't set non-existent variable svr4_legacy_fetch_link_map_offsets.
2005-04-27* sh-tdep.c (sh_linux_svr4_fetch_link_map_offsets): Remove function.Mark Kettenis6-49/+58
(sh_gdbarch_init): Remove redundant prototype. * sh-linux-tdep.c: New file. * config/sh/tm-linux.h (sh_linux_svr4_fetch_link_map_offsets): Remove prototype. (SVR4_FETCH_LINK_MAP_OFFSETS): Remove define. * config/sh/linux.mt (TDEPFILES): Add sh64-tdep.o, remove solib-legacy.o. * Makefile.in (sh-linux-tdep.o): New.
2005-04-27 * ChangeLog: Correct some 2003-01-13 dates.Daniel Jacobowitz12-13/+22
* gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp, gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp, gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp, gdb.trace/collection.exp, gdb.trace/passc-dyn.exp, gdb.trace/tfind.exp: Update copyright years.
2005-04-27* solib-svr4.c: Update copyright year. Include "gdb_assert.h".Mark Kettenis3-93/+84
(SVR4_FETCH_LINK_MAP_OFFSETS): Don't define if not already defined. (legacy_fetch_link_map_offsets): Remove prototype. (fetch_link_map_offsets_gdbarch_data): Remove. (LM_ADDR, LM_NEXT, IGNORE_FIRST_LINK_MAP_ENTRY) (first_link_map_member, open_symbol_file_object, svr4_current_sos) (svr4_fetch_objfile_link_map): Call svr4_fetch_link_map_offsets instead of SVR4_FETCH_LINK_MAP_OFFSETS. (solib_svr4_data): New variable. (struct solib_svr4_ops): New. (solib_svr4_init): New fynction. (legacy_fetch_link_map_offsets, init_fetch_link_map_offsets): Remove functions. (svr4_fetch_link_map_offsets, svr4_have_link_map_offsets): Rewrite using the new `struct solib_svr4_ops'. (_initialize_svr4_solib): Replace registration of per-architecture data. Add temporary hack to set svr4_legacy_fetch_link_map_offsets if SVR4_FETCH_LINK_MAP_OFFSETS is set. * Makefile.in (solib-svr4.o): Update dependencies.
2005-04-27 * gdb.texinfo (Backtrace): Describe backtraces with arguments thatEli Zaretskii2-0/+34
were optimized away.
2005-04-27*** empty log message ***gdbadmin1-1/+1
2005-04-26* configure.tgt (*-*-freebsd*): Set gdb_osabi toMark Kettenis2-0/+6
GDB_OSABI_FREEBSD_ELF. Partial fix for PR gdb/1922.
2005-04-262005-04-26 Andrew Cagney <cagney@gnu.org>Andrew Cagney6-63/+42
* remote.c (remote_open_1): Move "ex"'s declaration to where it is used. (remote_get_thread_local_address): Use throw_error, include a printed string. * linux-thread-db.c (thread_db_get_thread_local_address): Ditto. * dwarf2loc.c (dwarf_expr_tls_address): Ditto. * cli/cli-script.c (script_from_file): Mark up throw_error message. * linespec.c (symtab_from_filename, decode_variable): Ditto.
2005-04-262005-04-26 Andrew Cagney <cagney@gnu.org>Andrew Cagney16-70/+90
Rename 'struct exception' to 'struct gdb_exception'. * wrapper.c: Update. * varobj.c: Update. * tui/tui-interp.c: Update. * remote.c: Update. * mi/mi-main.c: Update. * mi/mi-interp.c: Update. * linux-thread-db.c: Update. * interps.h: Update. * interps.c: Update. * exceptions.h: Update. * exceptions.c: Update. * dwarf2loc.c: Update. * cli/cli-interp.c: Update. * cli/cli-script.c: Update. * breakpoint.c: Update.
2005-04-26*** empty log message ***gdbadmin1-1/+1
2005-04-25 * event-loop.c (gdb_select): Program defensively.Mark Mitchell2-5/+12
2005-04-25 * event-loop.c (gdb_assert.h): Include.Mark Mitchell3-7/+95
(<windows.h>): Include under Windows. (<io.h>): Likeiwse. (gdb_select): New function. (gdb_wait_for_event): Use it. * Makefile.in (event-loop.o): Depend on $(gdb_assert_h).
2005-04-25*** empty log message ***gdbadmin1-1/+1
2005-04-24*** empty log message ***gdbadmin1-1/+1
2005-04-23* sparc64-tdep.c: Include "dwarf2-frame.h".Mark Kettenis1-5/+5
(sparc64_dwarf2_frame_init_reg): New function. * Makefile.in (sparc64-tdep.o): Update dependencies.
2005-04-23* sparc64-tdep.c: Include "dwarf2-frame.h".Mark Kettenis2-0/+38
(sparc64_dwarf2_frame_init_reg): New function. * Makefile.in (sparc64-tdep.o): Update dependencies.
2005-04-23*** empty log message ***gdbadmin1-1/+1
2005-04-222005-04-22 David S. Miller <davem@davemloft.net>David S. Miller2-0/+7
* sparc64-linux-tdep.c (sparc64_linux_init_abi): Add call to sparc64_init_abi().
2005-04-22* ser-base.c: Include "ser-base.h" instead of "ser-unix.h".Mark Kettenis2-2/+7
2005-04-22 * ser-base.c (<sys/time.h>): Include.Mark Mitchell2-0/+5
2005-04-22* ppcobsd-tdep.c (ppcobsd_init_abi): Set return_value.Mark Kettenis2-0/+5
2005-04-22* sparc-linux-tdep.c: Reorder includes. Tweak a few comments.Mark Kettenis1-4/+4
(LINUX32_SIGTRAMP_INSN0, LINUX32_SIGTRAMP_INSN1) (LINUX32_RT_SIGTRAMP_INSN0, LINUX32_RT_SIGTRAMP_INSN1): Remove macros. (sparc32_linux_sigframe, sparc32_linux_rt_sigframe): Hardcode instructions. * sparc64-linux-tdep.c: Reorder includes. Tweak a few comments. (LINUX64_RT_SIGTRAMP_INSN0, LINUX64_RT_SIGTRAMP_INSN1): Remove macros. (sparc64_linux_rt_sigframe): Hardcode instructions. * Makefile.in (sparc-linux-tdep.o, sparc64-linux-tdep.o): Update
2005-04-22* sparc-linux-tdep.c: Reorder includes. Tweak a few comments.Mark Kettenis3-66/+58
(LINUX32_SIGTRAMP_INSN0, LINUX32_SIGTRAMP_INSN1) (LINUX32_RT_SIGTRAMP_INSN0, LINUX32_RT_SIGTRAMP_INSN1): Remove macros. (sparc32_linux_sigframe, sparc32_linux_rt_sigframe): Hardcode instructions. * sparc64-linux-tdep.c: Reorder includes. Tweak a few comments. (LINUX64_RT_SIGTRAMP_INSN0, LINUX64_RT_SIGTRAMP_INSN1): Remove macros. (sparc64_linux_rt_sigframe): Hardcode instructions. * Makefile.in (sparc-linux-tdep.o, sparc64-linux-tdep.o): Update dependencies.
2005-04-22* sparc-linux-tdep.c: Update copyright year.Mark Kettenis3-10/+31
(sparc32_linux_init_abi): Set skip_trampoline_code and solib_svr4_fetch_link_map_offsets. Set TDEP->plt_entry_size. Don't set software_single_step and don't call sparc32_sol2_init_abi. * sparc64-linux-tdep.c: Update copyright year. (sparc64_linux_init_abi): Set skip_trampoline_code and solib_svr4_fetch_link_map_offsets. Set TDEP->plt_entry_size. Don't set software_single_step and don't call sparc64_sol2_init_abi.
2005-04-22 * gdb.texinfo (Remote configuration): Document "set/showEli Zaretskii2-0/+26
get-thread-local-storage-address". Add cross-reference to the description of the qGetTLSAddr packet. (General Query Packets): Mention "set remote get-thread-local-storage-address" and add a reference to its description.
2005-04-22 * remote-st.c (_initialize_remote_st2000): Remove the extraneousEli Zaretskii5-4/+15
"<command>" string from the call to add_com. * remote-sim.c (_initialize_remote_sim): Ditto. * remote-utils.c (_initialize_sr_support): Ditto. * remote-mips.c (_initialize_remote_mips): Ditto.
2005-04-22*** empty log message ***gdbadmin1-1/+1
2005-04-21 * sparc-linux-tdep.c (sparc32_linux_sigframe_init): New function.David S. Miller4-320/+132
(sparc32_linux_sigframe, sparc32_linux_rt_sigframe): New tramp_frames. (sparc_linux_sigtramp_start, sparc32_linux_sigtramp_start, sparc32_linux_rt_sigtramp_start, sparc32_linux_sigtramp_p, sparc32_linux_sigtramp_frame_cache, sparc32_linux_sigtramp_frame_this_id, sparc32_linux_sigtramp_frame_prev_register, sparc32_linux_sigtramp_frame_unwind, sparc32_linux_sigtramp_frame_sniffer): Delete. (sparc32_linux_init_abi): Register new tramp unwinders. Kill register of old sigtramp sniffer. * sparc64-linux-tdep.c (sparc64_linux_sigframe_init): New function. (sparc64_linux_rt_sigframe): New tramp frame. (sparc64_linux_sigtramp_start, sparc64_linux_sigtramp_p, sparc64_linux_sigtramp_frame_cache, sparc64_linux_sigtramp_frame_this_id, sparc64_linux_sigtramp_frame_prev_register, sparc64_linux_sigtramp_frame_unwind, sparc64_linux_sigtramp_frame_sniffer): Delete. (sparc64_linux_init_abi): Register new tramp unwinders. Kill register of old sigtramp sniffer. Makefile.in (sparc64-linux-tdep.o): Update dependencies. (sparc-linux-tdep.o): Likewise.
2005-04-21* ser-base.c: Include "gdb_string.h".Mark Kettenis2-0/+7
* Makefile.in (ser-base.o): Update dependencies.
2005-04-21 * sparc-linux-tdep.c (sparc32_linux_sigtramp_p): FixDavid S. Miller4-8/+208
signal return stub symbol names, __restore and __restore_rt are the i386 symbol names not the sparc ones. (sparc32_linux_sigtramp_frame_cache): Document bits/sigcontext.h as where the offsets were obtained from. * sparc64-linux-tdep.c (LINUX64_RT_SIGTRAMP_INSN0, LINUX64_RT_SIGTRAMP_INSN1): New defines. (sparc64_linux_sigtramp_start, sparc64_linux_sigtramp_p, sparc64_linux_sigtramp_frame_cache, sparc64_linux_sigtramp_frame_this_id, sparc64_linux_sigtramp_frame_prev_register, sparc64_linux_sigtramp_frame_sniffer): New functions. (sparc64_linux_sigtramp_frame_unwind): New frame unwinder. (sparc64_linux_init_abi): Register sigtramp frame sniffer. * Makefile.in (sparc64-linux-tdep.o): Update dependencies.
2005-04-21 * configure.ac: On MinGW, define USE_WIN32API and link withMark Mitchell10-208/+347
-lws2_32. * ser-tcp.c (<winsock2.h>): Include, for Windows. (ETIMEDOUT): Define, for Windows. (ioctl): Likewise. (closesocket): Define, for POSIX. (net_open): Adjust for differences in socket functions between Windows and UNIX. (net_close): Likweise. (net_read_prim): New function. (net_write_prim): Likewise. (_initialize_ser_tcp): Initialize winsock. Fill in read_prim and write_prim. * ser-unix.h (ser_unix_readcchar): Remove. (ser_unix_read_prim): Declare. (ser_unix_write_prim): Likewise. * ser-unix.c (generic_readchar): Move to ser-base.c. (ser_unix_wait_for): Likewise. (do_unix_readchar): Likewise. (ser_unix_readchar): Likewise. (_initialize_ser_hardwire): Initialize read_prim and write_prim. (ser_unix_read_prim): New function. (ser_unix_write_prim): Likewise. * ser-base.h (generic_readchar): Declare. (ser_base_readchar): Likewise. * ser-base.c (<winsock2.h>): Include, for windows. (fd_event): Use the read primitive specified by the serial interface. (ser_base_wait_for): Moved from ser-unix.c (do_ser_base_read_char): Likewise. (generic_readchar): Likewise. (ser_base_readchar): Likewise. (ser_base_write): Use the write primitive specified by the serial interface. * ser-pipe.c (_initialize_ser_pipe): Use ser_base_readchar, not ser_unix_readchar. Initialize read_prim and write_prim. * serial.c (struct serial_ops): Add read_prim and write_prim. * configure: Regenerate.
2005-04-21*** empty log message ***gdbadmin1-1/+1
2005-04-20*** empty log message ***gdbadmin1-1/+1
2005-04-19 * c-lang.c (c_create_fundamental_type): Comment fix.Ben Elliston2-1/+5
2005-04-19*** empty log message ***gdbadmin1-1/+1
2005-04-18dos2unixMichael Snyder1-4/+4
2005-04-182005-04-18 Michael Snyder <msnyder@redhat.com>Michael Snyder5-540/+468
* mn10300-tdep.c: Assimilate code from mn10300-prologue.c. * mn10300-prologue.c: Remove. * mn10300-tdep.h: Add enums from mn10300-prologue.c. Remove prototypes. * config/mn10300/mn10300.mt: Remove mn10300-prologue module.
2005-04-182005-04-18 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+2
* config/mn10300/mn10300.mt: Add mn10300-prologue module.
2005-04-182005-04-18 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+5
* ia64-tdep.c (ia64_get_dyn_info_list): Fix indent.
2005-04-18(Backtrace): Describe 'bt full'.Nick Roberts1-0/+4
2005-04-18*** empty log message ***Nick Roberts1-0/+4
2005-04-18*** empty log message ***gdbadmin1-1/+1
2005-04-17* config/nm-bsd.h: Remove file.Mark Kettenis2-23/+2
2005-04-17* hppabsd-nat.c: Update copyright year. Include "target.h" andMark Kettenis4-8/+38
"inf-ptrace.h". (hppabsd_fetch_registers): Renamed from fetch_inferior_registers; made static. (hppabsd_store_registers): Renamed from store_inferior_registers; made static. (_initialize_hppabsd_nat): New function and prototype. * config/pa/obsd.mh (NATDEPFILES): Remove infptrace.o and inftarg.o. Add inf-ptrace.o. (NAT_FILE): Remove. * Makefile.in (hppabsd-nat.o): Update dependencies.
2005-04-17* pa64solib.c, pa64solib.h: Remove files.Mark Kettenis4-1405/+6
* Makefile.in (pa64solib_h): Remove variable (pa64solib.o): Remove dependency.
2005-04-17*** empty log message ***gdbadmin1-1/+1
2005-04-16* ppcobsd-nat.c: Update copyright year. Include "inf-ptrace.h".Mark Kettenis4-8/+27
(ppcobsd_fetch_registers): Renamed from fetch_inferior_registers; made static. (ppcobsd_store_registers): Renamed from store_inferior_registers; made static. (_initialize_ppcobsd_nat): Construct and add target vector. * config/powerpc/obsd.mh (NATDEPFILES): Remove infptrace.o and inftarg.o. Add inf-ptrace.o. (NAT_FILE): Remove. * Makefile.in (ppcobsd-nat.o): Update dependencies.