aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2006-01-31*** empty log message ***gdbadmin1-1/+1
2006-01-30*** empty log message ***gdbadmin1-1/+1
2006-01-29* gdb.cp/bool.cc, gdb.cp/bool.exp: New files.Mark Kettenis3-0/+94
2006-01-29* amd64-tdep.c (amd64_classify): Handle TYPE_CODE_BOOL.Mark Kettenis2-1/+6
Fixes PR tdep/2075.
2006-01-29*** empty log message ***gdbadmin1-1/+1
2006-01-28*** empty log message ***gdbadmin1-1/+1
2006-01-27 * MAINTAINERS: Use a consistent email address for brobecker.Joel Brobecker2-2/+6
2006-01-27 * infcmd.c (post_create_inferior): Fix copy/paste error introducedJoel Brobecker2-1/+6
in the previous change.
2006-01-27*** empty log message ***gdbadmin1-1/+1
2006-01-26*** empty log message ***gdbadmin1-1/+1
2006-01-252006-01-25 Jim Blandy <jimb@redhat.com>Jim Blandy2-0/+11
* gdbint.texinfo (Testsuite): Explain how to run selected tests.
2006-01-252006-01-24 Jim Blandy <jimb@redhat.com>Jim Blandy2-0/+35
* gdbint.texinfo (Frames): Document the basics of GDB's register unwinding model, and explain the existence of the "sentinel" frame.
2006-01-25*** empty log message ***gdbadmin1-1/+1
2006-01-24 PR gdb/1914Daniel Jacobowitz10-73/+62
* fork-child.c (fork_inferior): Don't call solib_create_inferior_hook. * infcmd.c (post_create_inferior): Call solib_add, solib_create_inferior_hook, and re_enable_breakpoints_in_shlibs. (attach_command): Don't call solib_add or re_enable_breakpoints_in_shlibs. Call post_create_inferior instead. * remote.c (remote_open_1): Don't call solib_create_inferior_hook or observer_notify_inferior_created. Call post_create_inferior instead. * corelow.c: Don't include "observer.h". (solib_add_stub): Deleted. (core_open): Don't call observer_notify_inferior_created or solib_add_stub. Call post_create_inferior instead. * inf-ptrace.c: Don't include "observer.h". (inf_ptrace_attach): Don't call observer_notify_inferior_created. * inf-ttrace.c: Don't include "observer.h". (inf_ttrace_attach): Don't call observer_notify_inferior_created. * inferior.h (solib_create_inferior_hook): Remove redundant prototype. * inftarg.c: Don't include "observer.h". (child_attach): Don't call observer_notify_inferior_created. * Makefile.in: Update dependencies.
2006-01-24 * infcmd.c: Include "observer.h".Daniel Jacobowitz24-81/+90
(post_create_inferior): New function. (run_command_1): Call it. Also call proceed. * inferior.h (post_create_inferior): New prototype. * Makefile.in (infcmd.o): Update. * gnu-nat.c (gnu_create_inferior): Don't call proceed. * go32-nat.c (go32_create_inferior): Likewise. * nto-procfs.c (procfs_create_inferior): Likewise. * procfs.c (procfs_create_inferior): Likewise. * remote-sim.c (gdbsim_create_inferior): Likewise. * remote.c (extended_remote_create_inferior) (extended_remote_async_create_inferior): Likewise. * win32-nat.c (win32_create_inferior): Likewise. * wince.c (child_create_inferior): Likewise. * monitor.c (monitor_create_inferior): Don't call proceed. Set the PC manually. * ocd.c (ocd_create_inferior): Likewise. * remote-e7000.c (e7000_create_inferior): Likewise. * remote-m32r-sdi.c (m32r_create_inferior): Likewise. * remote-mips.c (mips_create_inferior): Likewise. * remote-rdp.c (remote_rdp_create_inferior): Likewise. * remote-sds.c (sds_create_inferior): Likewise. * remote-st.c (st2000_create_inferior): Likewise. * inf-ptrace.c (inf_ptrace_create_inferior): Don't call proceed or observer_notify_inferior_created. * inf-ttrace.c (inf_ttrace_create_inferior): Likewise. * inftarg.c (child_create_inferior): Likewise.
2006-01-24 * linux-thread-db.c (thread_db_mourn_inferior): Remove breakpointsDaniel Jacobowitz2-2/+9
after mourning the inferior.
2006-01-242006-01-24 Jim Blandy <jimb@redhat.com>Jim Blandy2-8/+15
* valarith.c (binop_user_defined_p): Handle refs to typedefs.
2006-01-24Reviewed and approved by Jim Blandy and Daniel JacobowitzFred Fish2-2/+23
2006-01-24 Fred Fish <fnf@specifix.com> * parse.c (source.h): Include. (parse_exp_in_context): Use static source context if no other context found.
2006-01-24*** empty log message ***gdbadmin1-1/+1
2006-01-232006-01-23 Andrew Stubbs <andrew.stubbs@st.com>Andrew Stubbs3-1/+51
* sh-tdep.c: Include reggroups.h. (sh_register_reggroup_p): New function. (sh_gdbarch_init): Add call to set_gdbarch_register_reggroup_p. * Makefile.in (sh-tdep.o): Add dependency on reggroups.h.
2006-01-232006-01-23 Andrew Stubbs <andrew.stubbs@st.com>Andrew Stubbs4-3/+36
* cli/cli-cmds.c: Include fcntl.h. (source_command): Use the GDB search path to find script files. doc/ * gdb.texinfo (Choosing files): Mention that -directory is used for script files. (Specifying source directories): Likewise. (Command files): Explain how script files are found.
2006-01-23 PR tdep/2029Daniel Jacobowitz2-3/+17
Suggested by Till Straumann <strauman@slac.stanford.edu>: * rs6000-tdep.c (skip_prologue): Update check for later mtlr instructions. Handle PIC bcl.
2006-01-23 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: NewDaniel Jacobowitz3-0/+119
files.
2006-01-23*** empty log message ***gdbadmin1-1/+1
2006-01-22 * config/djgpp/README: Typo fix.Daniel Jacobowitz3-1/+32
* config/djgpp/fnchange.lst: Update.
2006-01-22* sparc-tdep.h (struct gdbarch_tdep): Add step_trap member.Mark Kettenis6-10/+87
(sparc_address_from_register): New prototype. (sparcnbsd_step_trap): New prototype. * sparc-tdep.c (sparc_address_from_register): Make globally visible. (sparc_analyze_control_transfer): Change prototype to accept `struct gdbarch *' as first argument. Allow for optional hnadling for trap instructions. (sparc_step_trap): New function. (sparc_software_single_step): Adjust call to sparc_analyze_control_trabsfer. (sparc32_gdbarch_init): Initialize TDEP->step_trap. * sparcnbsd-tdep.c (sparcnbsd_step_trap): New function. (sparc32nbsd_init_abi): Set TDEP->step_trap. * sparc64obsd-tdep.c (sparc64obsd_init_abi): Set TDEP->step_trap. * sparc64nbsd-tdep.c (sparc64nbsd_init_abi): Set TDEP->step_trap.
2006-01-22* sparc-tdep.c (sparc32_return_value): Convert to useMark Kettenis2-28/+28
RETURN_VALUE_ABI_PRESERVES_ADDRESS instead of RETURN_VALUE_STRUCT_CONVENTION. (sparc32_extract_struct_value_address): Remove.
2006-01-22*** empty log message ***gdbadmin1-1/+1
2006-01-21 * avr-tdep.c (avr_address_to_pointer, avr_pointer_to_address)Daniel Jacobowitz2-4/+9
(avr_extract_return_value, avr_frame_prev_register): Use gdb_byte.
2006-01-21 * solib.c (info_sharedlibrary_command): Avoid internal_error.Daniel Jacobowitz2-10/+6
2006-01-21(Backtrace): Describe how to get backtrace of all the threads in aEli Zaretskii2-7/+24
multi-threaded program. (Threads): The threadno argument of "thread apply" can be a range of numbers.
2006-01-21* i386-tdep.c (i386_mxcsr_type): New variable.Mark Kettenis4-3/+40
(i386_init_types): Initialize i386_mxcsr_type. (i386_register_type): Return i386_mxcsr_type for %mxcsr. * i386-tdep.c (i386_mxcsr_type): New extern. * amd64-tdep.c (amd64_register_info): Return i386_mxcsr_type for %mxcsr.
2006-01-21 * Makefile.in (remote-rdi.o): Remove.Mark Mitchell60-26528/+68
(rdi-share/libangsd.a): Likewise. * README: Don't mention remote-rdi.c. * NEWS: Mention removal of rdi-share. * configure.ac: Don't configure rdi-share subdirectory. * remote-rdi.c: Remove. * config/arm/embed.mt (TDEPFILES): Remove remote-rdi.o. (TDEPLIBS): Remove rdi-share/libangsd.a. * rdi-share/Makefile.am: Remove. * rdi-share/Makefile.in: Likewise. * rdi-share/README.CYGNUS: Likewise. * rdi-share/aclocal.m4: Likewise. * rdi-share/adp.h: Likewise. * rdi-share/adperr.h: Likewise. * rdi-share/angel.h: Likewise. * rdi-share/angel_bytesex.c: Likewise. * rdi-share/angel_bytesex.h: Likewise. * rdi-share/angel_endian.h: Likewise. * rdi-share/ardi.c: Likewise. * rdi-share/ardi.h: Likewise. * rdi-share/armdbg.h: Likewise. * rdi-share/buffers.h: Likewise. * rdi-share/chandefs.h: Likewise. * rdi-share/channels.h: Likewise. * rdi-share/chanpriv.h: Likewise. * rdi-share/configure: Likewise. * rdi-share/configure.in: Likewise. * rdi-share/crc.c: Likewise. * rdi-share/crc.h: Likewise. * rdi-share/dbg_conf.h: Likewise. * rdi-share/dbg_cp.h: Likewise. * rdi-share/dbg_hif.h: Likewise. * rdi-share/dbg_rdi.h: Likewise. * rdi-share/devclnt.h: Likewise. * rdi-share/devices.h: Likewise. * rdi-share/devsw.c: Likewise. * rdi-share/devsw.h: Likewise. * rdi-share/drivers.c: Likewise. * rdi-share/drivers.h: Likewise. * rdi-share/etherdrv.c: Likewise. * rdi-share/ethernet.h: Likewise. * rdi-share/host.h: Likewise. * rdi-share/hostchan.c: Likewise. * rdi-share/hostchan.h: Likewise. * rdi-share/hsys.c: Likewise. * rdi-share/hsys.h: Likewise. * rdi-share/logging.c: Likewise. * rdi-share/logging.h: Likewise. * rdi-share/msgbuild.c: Likewise. * rdi-share/msgbuild.h: Likewise. * rdi-share/params.c: Likewise. * rdi-share/params.h: Likewise. * rdi-share/rx.c: Likewise. * rdi-share/rxtx.h: Likewise. * rdi-share/serdrv.c: Likewise. * rdi-share/serpardr.c: Likewise. * rdi-share/sys.h: Likewise. * rdi-share/tx.c: Likewise. * rdi-share/unixcomm.c: Likewise. * rdi-share/unixcomm.h: Likewise.
2006-01-21* hppa-linux-tdep.c (hppa_linux_sigtramp_frame_prev_register):Mark Kettenis2-1/+6
Change type of last argument to `gdb_byte *'.
2006-01-21*** empty log message ***gdbadmin1-1/+1
2006-01-20* hppa-tdep.h (hppa_in_solib_call_trampoline)Mark Kettenis5-185/+252
(hppa_skip_trampoline_code): New prototypes. * hppa-tdep.c (struct insn_pattern): New. (hppa_long_branch_stub, hppa_long_branch_pic_stub) (hppa_import_stub, hppa_import_pic_stub, hppa_plt_stub): Moved here from hppa-linux-tdep.c (HPPA_MAX_INSN_PATTERN_LEN): New define. (hppa_match_insns, hppa_match_insns_relaxed, hppa_in_dyncall) (hppa_in_solib_call_trampoline, hppa_skip_trampoline_code): New functions based on functions removed from hppa-linux-tdep.c. * hppa-linux-tdep.c (hppa_long_branch_stub) (hppa_long_branch_pic_stub, hppa_import_stub) (hppa_import_pic_stub, hppa_plt_stub): Moved to hppa-tdep.c. (insns_match_pattern_relaxed, hppa_linux_in_dyncall) (hppa_linux_in_solib_call_trampoline) (hppa_linux_skip_trampoline_code): Removed. (hppa_linux_init_abi): Set TDEP->in_solib_call_tranpoline to hppa_in_solib_call_trampoline and skip_trampoline_code to hppa_skip_trampoline_code. * hppabsd-tdep.c (hppabsd_init_abi): Set TDEP->in_solib_call_trampoline and skip_trampoline_code.
2006-01-20 * gdb.cp/maint.exp: Set complaints to a positive value.Daniel Jacobowitz2-2/+6
2006-01-20gdb/ChangeLog:Jim Blandy2-2/+4
2006-01-20 Jim Blandy <jimb@redhat.com> * MAINTAINERS: Change my E-mail address.
2006-01-20gdb/ChangeLog:Jim Blandy5-2/+21
2006-01-18 Jim Blandy <jimb@redhat.com> * configure.ac: Add -Wno-pointer-sign to list of build warnings. * configure: Regenerated. gdb/doc/ChangeLog: 2006-01-18 Jim Blandy <jimb@redhat.com> * gdbint.texinfo (Coding): Add entry for -Wno-pointer-sign to list of warning flags.
2006-01-20 * MAINTAINERS: Overhaul.Daniel Jacobowitz2-52/+215
2006-01-20*** empty log message ***gdbadmin1-1/+1
2006-01-19*** empty log message ***gdbadmin1-1/+1
2006-01-18* amd64-tdep.c (amd64_sse_type): Remove.Mark Kettenis4-102/+119
(amd64_register_info): Use i386_eflags_type and i386_sse_type where appropriate. (AMD64_NUM_REGS): Use ARRAY_SIZE. (amd64_register_type): Remove code to build amd_sse_type. * i386-tdep.c (i386_eflag_type): New variable. (i386_mmx_type, i386_sse_type): Make global. (i386_init_types): New function. (i386_build_mmx_type, i386_build_sse_type): Remove functions. (i386_register_type): Return i386_eflag_type, i386_sse_type and i386_mmx_type when appropriate. (_initialize_i386_tdep): Call i386_init_types. * i386-tdep.h (i386_eflags_type, i386_mmx_type, i386_sse_type): Declare extern. Based on a previous patch form Michal Ludvig:
2006-01-18Based on a previous patch form Michal Ludvig:Mark Kettenis10-11/+134
* gdbtypes.c (append_flags_type_flag, init_flags_type): New functions. (is_integral_type, rank_one_type, recursive_dump_type): Add support for TYPE_CODE_FLAGS. * gdbtypes.h (enum type_code): Add TYPE_CODE_FLAGS. (append_flags_type_field, init_flags_type): New prototypes. * ada-valprint.c (ada_val_print_1): Add support for TYPE_CODE_FLAGS. * c-valprint.c (c_val_print): Likewise. * f-valprint.c (f_val_print): Likewise. * p-valprint.c (pascal_val_print): Likewise. * valprint.c (val_print_type_code_flags): New function. * valprint.h (val_print_type_code_flags): New prototype. * value.c (unpack_long, value_from_longest): Add support for TYPE_CODE_FLAGS.
2006-01-18*** empty log message ***gdbadmin1-1/+1
2006-01-17* MAINTAINERS: Very belatedly remove myself from from the list of people caughtChristopher Faylor2-1/+5
up in the paper trail.
2006-01-17gdb/ChangeLog:Jim Blandy5-8/+14
2006-01-17 Jim Blandy <jimb@redhat.com> * symtab.h (struct general_symbol_info): Use gdb_byte for value.bytes. * stabsread.c (define_symbol): Use gdb_byte for the buffer holding a floating-point constant's value. * dwarf2read.c (dwarf2_const_value): Remove casts of value buffer to char *. * findvar.c (read_var_value): Eliminate needless temporary.
2006-01-17gdb/ChangeLog:Jim Blandy2-1/+6
2006-01-17 Jim Blandy <jimb@redhat.com> * dwarf2-frame.c (dwarf2_read_section): Update forward declaration to match prior change to dwarf2_read_section's type.
2006-01-172006-01-16 Paul Gilliam <pgilliam@us.ibm.com>Paul Gilliam3-0/+114
* ppc-tdep.h (PPC_MAX_EPILOGUE_INSTRUCTIONS): New define. * rs6000-tdep.c (insn_changes_sp_or_jumps) (rs6000_in_function_epilogue_p): New functions. (rs6000_gdbarch_init): Set in_function_epilogue_p.
2006-01-172006-01-17 Jim Blandy <jimb@redhat.com>Jim Blandy2-144/+162
* dwarf2read.c (struct dwarf2_per_objfile, struct comp_unit_head) (struct line_header, struct partial_die_info, struct dwarf_block): Use gdb_byte for members that refer to Dwarf section contents. (dwarf2_read_abbrevs, dwarf2_read_section, dwarf_decode_lines, dwarf_decode_macros, load_comp_unit, load_partial_dies, locate_pdi_sibling, partial_read_comp_unit_head, peek_die_abbrev, read_1_byte, read_1_signed_byte, read_2_bytes, read_4_bytes, read_8_bytes, read_address, read_attribute, read_attribute_value, read_comp_unit, read_comp_unit_head, read_die_and_children, read_die_and_siblings, read_full_die, read_indirect_string, read_initial_length, read_n_bytes, read_offset, read_partial_die, read_signed_leb128, read_string, read_unsigned_leb128, skip_children, skip_leb128, skip_one_die): Same.