aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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-23daily updateAlan Modra1-1/+1
2006-01-23sim/ChangeLog:Jim Blandy35-0/+17347
2005-10-06 Jim Blandy <jimb@redhat.com> Add simulator for Renesas M32C and M16C. * m32c: New directory. * configure.ac: Add entry for Renesas M32C. * configure: Regenerate. sim/m32c/ChangeLog: 2005-10-06 Jim Blandy <jimb@redhat.com> Simulator for Renesas M32C and M16C, by DJ Delorie <dj@redhat.com>, with further work from Jim Blandy <jimb@redhat.com> and Kevin Buettner <kevinb@redhat.com>. * ChangeLog: New. * Makefile.in: New. * blinky.S: New. * config.in: New. * configure: New. * configure.in: New. * cpu.h: New. * gdb-if.c: New. * gloss.S: New. * int.c: New. * int.h: New. * load.c: New. * load.h: New. * m32c.opc: New. * main.c: New. * mem.c: New. * mem.h: New. * misc.c: New. * misc.h: New. * opc2c.c: New. * r8c.opc: New. * reg.c: New. * safe-fgets.c: New. * safe-fgets.h: New. * sample.S: New. * sample.ld: New. * sample2.c: New. * srcdest.c: New. * syscalls.c: New. * syscalls.h: New. * trace.c: New. * trace.h: New.
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-22daily updateAlan Modra1-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-21daily updateAlan Modra1-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-21merge from gccDJ Delorie4-5/+327
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-20daily updateAlan Modra1-1/+1
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 * config/bfin-parse.y (asm_1): Check value range for 16 bit immediateJie Zhang2-14/+20
in load immediate intruction.
2006-01-20 * config/bfin-parse.y (value_match): Use correct conversionJie Zhang2-3/+10
specifications in template string for __FILE__ and __LINE__. (binary): Ditto. (unary): Ditto.
2006-01-20*** empty log message ***gdbadmin1-1/+1
2006-01-19daily updateAlan Modra1-1/+1
2006-01-192006-01-18 Roger Sayle <roger@eyesopen.com>Eric Christopher2-2/+6
* emultempl/irix.em: Use lbasename instead of basename.
2006-01-19*** empty log message ***gdbadmin1-1/+1
2006-01-18daily updateAlan Modra1-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-18include/elf/ChangeLog:Alexandre Oliva46-113/+4756
Introduce TLS descriptors for i386 and x86_64. * common.h (DT_TLSDESC_GOT, DT_TLSDESC_PLT): New. * i386.h (R_386_TLS_GOTDESC, R_386_TLS_DESC_CALL, R_386_TLS_DESC): New. * x86-64.h (R_X86_64_GOTPC32_TLSDESC, R_X86_64_TLSDESC_CALL, R_X86_64_TLSDESC): New. bfd/ChangeLog: Introduce TLS descriptors for i386 and x86_64. * reloc.c (BFD_RELOC_386_TLS_GOTDESC, BFD_RELOC_386_TLS_DESC, BFD_RELOC_386_TLS_DESC_CALL, BFD_RELOC_X86_64_GOTPC32_TLSDESC, BFD_RELOC_X86_64_TLSDESC, BFD_RELOC_X86_64_TLSDESC_CALL): New. * libbfd.h, bfd-in2.h: Rebuilt. * elf32-i386.c (elf_howto_table): New relocations. (R_386_tls): Adjust. (elf_i386_reloc_type_lookup): Map new relocations. (GOT_TLS_GDESC, GOT_TLS_GD_BOTH_P): New macros. (GOT_TLS_GD_P, GOT_TLS_GDESC_P, GOT_TLS_GD_ANY_P): New macros. (struct elf_i386_link_hash_entry): Add tlsdesc_got field. (struct elf_i386_obj_tdata): Add local_tlsdesc_gotent field. (elf_i386_local_tlsdesc_gotent): New macro. (struct elf_i386_link_hash_table): Add sgotplt_jump_table_size. (elf_i386_compute_jump_table_size): New macro. (link_hash_newfunc): Initialize tlsdesc_got. (elf_i386_link_hash_table_create): Set sgotplt_jump_table_size. (elf_i386_tls_transition): Handle R_386_TLS_GOTDESC and R_386_TLS_DESC_CALL. (elf_i386_check_relocs): Likewise. Allocate space for local_tlsdesc_gotent. (elf_i386_gc_sweep_hook): Handle R_386_TLS_GOTDESC and R_386_TLS_DESC_CALL. (allocate_dynrelocs): Count function PLT relocations. Reserve space for TLS descriptors and relocations. (elf_i386_size_dynamic_sections): Reserve space for TLS descriptors and relocations. Set up sgotplt_jump_table_size. Don't zero reloc_count in srelplt. (elf_i386_always_size_sections): New. Set up _TLS_MODULE_BASE_. (elf_i386_relocate_section): Handle R_386_TLS_GOTDESC and R_386_TLS_DESC_CALL. (elf_i386_finish_dynamic_symbol): Use GOT_TLS_GD_ANY_P. (elf_backend_always_size_sections): Define. * elf64-x86-64.c (x86_64_elf_howto): Add R_X86_64_GOTPC32_TLSDESC, R_X86_64_TLSDESC, R_X86_64_TLSDESC_CALL. (R_X86_64_standard): Adjust. (x86_64_reloc_map): Map new relocs. (elf64_x86_64_rtype_to_howto): New, split out of... (elf64_x86_64_info_to_howto): ... this function, and... (elf64_x86_64_reloc_type_lookup): ... use it to map elf_reloc_val. (GOT_TLS_GDESC, GOT_TLS_GD_BOTH_P): New macros. (GOT_TLS_GD_P, GOT_TLS_GDESC_P, GOT_TLS_GD_ANY_P): New macros. (struct elf64_x86_64_link_hash_entry): Add tlsdesc_got field. (struct elf64_x86_64_obj_tdata): Add local_tlsdesc_gotent field. (elf64_x86_64_local_tlsdesc_gotent): New macro. (struct elf64_x86_64_link_hash_table): Add tlsdesc_plt, tlsdesc_got and sgotplt_jump_table_size fields. (elf64_x86_64_compute_jump_table_size): New macro. (link_hash_newfunc): Initialize tlsdesc_got. (elf64_x86_64_link_hash_table_create): Initialize new fields. (elf64_x86_64_tls_transition): Handle R_X86_64_GOTPC32_TLSDESC and R_X86_64_TLSDESC_CALL. (elf64_x86_64_check_relocs): Likewise. Allocate space for local_tlsdesc_gotent. (elf64_x86_64_gc_sweep_hook): Handle R_X86_64_GOTPC32_TLSDESC and R_X86_64_TLSDESC_CALL. (allocate_dynrelocs): Count function PLT relocations. Reserve space for TLS descriptors and relocations. (elf64_x86_64_size_dynamic_sections): Reserve space for TLS descriptors and relocations. Set up sgotplt_jump_table_size, tlsdesc_plt and tlsdesc_got. Make room for them. Don't zero reloc_count in srelplt. Add dynamic entries for DT_TLSDESC_PLT and DT_TLSDESC_GOT. (elf64_x86_64_always_size_sections): New. Set up _TLS_MODULE_BASE_. (elf64_x86_64_relocate_section): Handle R_386_TLS_GOTDESC and R_386_TLS_DESC_CALL. (elf64_x86_64_finish_dynamic_symbol): Use GOT_TLS_GD_ANY_P. (elf64_x86_64_finish_dynamic_sections): Set DT_TLSDESC_PLT and DT_TLSDESC_GOT. Set up TLS descriptor lazy resolver PLT entry. (elf_backend_always_size_sections): Define. binutils/ChangeLog: Introduce TLS descriptors for i386 and x86_64. * readelf.c (get_dynamic_type): Handle DT_TLSDESC_GOT and DT_TLSDESC_PLT. gas/ChangeLog: Introduce TLS descriptors for i386 and x86_64. * config/tc-i386.c (tc_i386_fix_adjustable): Handle BFD_RELOC_386_TLS_GOTDESC, BFD_RELOC_386_TLS_DESC_CALL, BFD_RELOC_X86_64_GOTPC32_TLSDESC, BFD_RELOC_X86_64_TLSDESC_CALL. (optimize_disp): Emit fix up for BFD_RELOC_386_TLS_DESC_CALL and BFD_RELOC_X86_64_TLSDESC_CALL immediately, and clear the displacement bits. (build_modrm_byte): Set up zero modrm for TLS desc calls. (lex_got): Handle @tlsdesc and @tlscall. (md_apply_fix, tc_gen_reloc): Handle the new relocations. ld/testsuite/ChangeLog: Introduce TLS descriptors for i386 and x86_64. * ld-i386/i386.exp: Run on x86_64-*-linux* and amd64-*-linux*. Add new tests. * ld-i386/pcrel16.d: Add -melf_i386. * ld-i386/pcrel8.d: Likewise. * ld-i386/tlsbindesc.dd: New. * ld-i386/tlsbindesc.rd: New. * ld-i386/tlsbindesc.s: New. * ld-i386/tlsbindesc.sd: New. * ld-i386/tlsbindesc.td: New. * ld-i386/tlsdesc.dd: New. * ld-i386/tlsdesc.rd: New. * ld-i386/tlsdesc.s: New. * ld-i386/tlsdesc.sd: New. * ld-i386/tlsdesc.td: New. * ld-i386/tlsgdesc.dd: New. * ld-i386/tlsgdesc.rd: New. * ld-i386/tlsgdesc.s: New. * ld-x86-64/x86-64.exp: Run new tests. * ld-x86-64/tlsbindesc.dd: New. * ld-x86-64/tlsbindesc.rd: New. * ld-x86-64/tlsbindesc.s: New. * ld-x86-64/tlsbindesc.sd: New. * ld-x86-64/tlsbindesc.td: New. * ld-x86-64/tlsdesc.dd: New. * ld-x86-64/tlsdesc.pd: New. * ld-x86-64/tlsdesc.rd: New. * ld-x86-64/tlsdesc.s: New. * ld-x86-64/tlsdesc.sd: New. * ld-x86-64/tlsdesc.td: New. * ld-x86-64/tlsgdesc.dd: New. * ld-x86-64/tlsgdesc.rd: New. * ld-x86-64/tlsgdesc.s: New.
2006-01-18merge from gccDJ Delorie2-0/+6
2006-01-18fix typoArnold Metselaar2-3/+3
2006-01-18Add tests for instructions with offsets.Arnold Metselaar4-0/+55
2006-01-18fixes related to indexed operandsArnold Metselaar2-17/+28
2006-01-18PR binutils/1391Nick Clifton4-3/+56
* objcopy.c (copy_object): For PE format targets set the VMA of a newly created gnu_debuglink section to a non-zero, aligned, contiguous value. * Makefile.am (objcopy.c): Add a dependency upon libbfd.h. * Makefile.in: Regenerate.
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-17daily updateAlan Modra1-1/+1
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.