aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-10-24 * configure.tgt: Remove hppa*64*-*-hpux11* special case.Ulrich Weigand14-24/+339
* config/pa/hppa64.mt: Delete file. * config/pa/hppahpux.mt (MT_CFLAGS): Remove. (TDEPFILES): Move somread.o to ... * config/pa/hpux.mh (NATDEPFILES): ... here. * configure.ac: Add check for elf_hp.h header. Search libdl and libxpdl for dlgetmodinfo. * config.in, configure: Regenerate. * solib-pa64.c: Conditionalize compilation on #ifdef HAVE_ELF_HP_H instead of #ifndef PA_SOM_ONLY. Include "solib.h". (pa64_solib_select): Take gdbarch instead of tdep argument. Call set_solib_ops instead of modifying current_target_so_ops. * solib-pa64.h (pa64_solib_select): Update prototype. * solib-som.c: Remove include of "som.h". Include "solib.h". (som_solib_select): Take gdbarch instead of tdep argument. Call set_solib_ops instead of modifying current_target_so_ops. * solib-som.h (som_solib_select): Update prototype. * hppa-hpux-tdep.c (hppa_hpux_som_init_abi): Pass gdbarch instead of tdep to som_solib_select call. (hppa_hpux_elf_init_abi): Pass gdbarch instead of tdep to pa64_solib_select call. * Makefile.in: Update dependencies.
2007-10-24 * frv-tdep.c: Include "solib.h".Ulrich Weigand5-5/+20
(frv_gdbarch_init): Call set_solib_ops. * frv-tdep.h (struct target_so_ops): Add forward reference. (frv_so_ops): Add extern declaration. * solib-frv.c (frv_so_ops): Make global. (_initialize_frv_solib): Do not set current_target_so_ops. * Makefile.in: Update dependencies.
2007-10-24 * solib.c (solib_global_lookup): Use solib_ops instead of globalUlrich Weigand2-3/+9
current_target_so_ops.
2007-10-24 * gdb.texinfo (Files): Correct formatting. Mention ExpatDaniel Jacobowitz2-6/+37
requirement. (Requirements for Building GDB): Expand the list of Expat uses. (Library List Format, Memory Map Format): Mention Expat. (Target Descriptions): Update Expat wording.
2007-10-24 * config/frv/frv.mt (DEPRECATED_TM_FILE): Remove.Ulrich Weigand3-41/+5
* config/frv-tm-frv.h: Delete file.
2007-10-24 * NEWS: Mention gdbserver support for non-libthread_db operation.Daniel Jacobowitz2-0/+7
2007-10-24 * amd64-tdep.c (amd64_convert_register_p): Delete.Daniel Jacobowitz10-37/+75
(amd64_init_abi): Use i387_convert_register_p. * alpha-tdep.c (alpha_convert_register_p): Return zero for eight byte types. (alpha_register_to_value, alpha_value_to_register): Do not handle eight byte types. * i386-tdep.c (i386_convert_register_p): Use i387_convert_register_p. * i387-tdep.c (i387_convert_register_p): New. (i387_register_to_value, i387_value_to_register): Update comments. * i387-tdep.h (i387_convert_register_p): Declare. * ia64-tdep.c (ia64_convert_register_p): Return zero for builtin_type_ia64_ext. (ia64_gdbarch_init): Do not initialize builtin_type_ia64_ext here. (_initialize_ia64_tdep): Initialize builtin_type_ia64_ext here. * m68k-tdep.c (m68k_convert_register_p): Return zero for builtin_type_m68881_ext. (m68k_register_to_value, m68k_value_to_register): Update comments. * gdbint.texinfo (Register and Memory Data, Target Conditionals): Document that gdbarch_convert_register_p should return zero for no-op conversions.
2007-10-242007-10-24 Nathan Sidwell <nathan@codesourcery.com>Daniel Jacobowitz2-2/+7
* target-memory.c (claim_memory): Propagate baton for split memory requests.
2007-10-24Use AC_GNU_SOURCE.Ian Lance Taylor7-4/+20
2007-10-24gas/H.J. Lu9-2574/+2589
2007-10-24 H.J. Lu <hongjiu.lu@intel.com> * configure.in: Move AM_PROG_LIBTOOL after AC_GNU_SOURCE. * configure: Regenerated. gprof/ 2007-10-24 H.J. Lu <hongjiu.lu@intel.com> * configure.in: Move AM_PROG_LIBTOOL after AC_GNU_SOURCE. * configure: Regenerated. ld/ 2007-10-24 H.J. Lu <hongjiu.lu@intel.com> * configure.in: Move AM_PROG_LIBTOOL after AC_GNU_SOURCE. * configure: Regenerated.
2007-10-242007-10-24 Pedro Alves <pedro_alves@portugalmail.pt>Daniel Jacobowitz2-2/+11
PR gdb/2341 * sol-thread.c (sol_thread_fetch_registers): Work around gcc 3.4 alias warning bug.
2007-10-24 * linux-low.c (handle_extended_wait): Handle unexpected signals.Daniel Jacobowitz2-4/+28
2007-10-24 * symtab.c (find_line_symtab): scan through psymtabsCarlos Eduardo Seo2-0/+13
when exact_match is zero.
2007-10-24missed from last commitAlan Modra1-0/+8
2007-10-24 * po/POTFILES.in: Regenerate.Alan Modra2-0/+5
2007-10-24 * Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.Alan Modra7-8/+30
* configure.in: Invoke AC_GNU_SOURCE. * Makefile.in: Regenerate. * config.in: Regenerate. * configure: Regenerate. * po/POTFILES.in: Regenerate.
2007-10-24 * Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.Alan Modra5-3814/+3255
* configure.in: Invoke AC_GNU_SOURCE. * Makefile.in: Regenerate. * configure: Regenerate. * gconfig.in: Regenerate.
2007-10-24 * Makefile.am (INCLUDES, DEP_INCLUDES): Remove -D_GNU_SOURCE.Alan Modra6-1624/+1558
Run "make dep-am". * configure.in: Invoke AC_GNU_SOURCE. * Makefile.in: Regenerate. * config.in: Regenerate. * configure: Regenerate.
2007-10-24 * Makefile.am: Run "make dep-am".Alan Modra4-321/+344
* Makefile.in: Regenerate. * po/POTFILES.in: Regenerate.
2007-10-24 * Makefile.am: Run "make dep-am".Alan Modra4-20/+29
* Makefile.in: Regenerate. * po/SRC-POTFILES.in: Regenerate.
2007-10-24 * strings.c (print_strings): Don't use %L, use %ll in printfAlan Modra2-12/+11
format strings.
2007-10-24 * readelf.c (process_program_headers): Use dynamic segment unlessAlan Modra2-10/+19
dynamic section is found.
2007-10-24*** empty log message ***gdbadmin1-1/+1
2007-10-24daily updateAlan Modra1-1/+1
2007-10-23gas/testsuite/H.J. Lu13-144/+210
2007-10-23 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/katmai.s: Remove cmpps opcode test. * gas/i386/simd.s: Add tests for cmpss and cmpsd. * gas/i386/x86-64-simd.s: Likewise. * gas/i386/katmai.d: Updated. * gas/i386/simd-intel.d: Likewise. * gas/i386/simd-suffix.d: Likewise. * gas/i386/simd.d: Likewise. * gas/i386/x86-64-simd-intel.d: Likewise. * gas/i386/x86-64-simd-suffix.d: Likewise. * gas/i386/x86-64-simd.d: Likewise. opcodes/ 2007-10-23 H.J. Lu <hongjiu.lu@intel.com> * i386-dis.c (OP_SIMD_Suffix): Renamed to ... (CMP_Fixup): This. Rewrite. (OPSIMD): Renamed to ... (CMP): This. Updated. (prefix_table): Update PREFIX_0FC2 entry.
2007-10-23 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.Daniel Jacobowitz3-0/+135
2007-10-23 * inferiors.c (change_inferior_id): Delete.Daniel Jacobowitz7-106/+392
(add_pid_to_list, pull_pid_from_list): New. * linux-low.c (PTRACE_SETOPTIONS, PTRACE_GETEVENTMSG) (PTRACE_O_TRACESYSGOOD, PTRACE_O_TRACEFORK, PTRACE_O_TRACEVFORK) (PTRACE_O_TRACECLONE, PTRACE_O_TRACEEXEC, PTRACE_O_TRACEVFORKDONE) (PTRACE_O_TRACEEXIT, PTRACE_EVENT_FORK, PTRACE_EVENT_VFORK) (PTRACE_EVENT_CLONE, PTRACE_EVENT_EXEC, PTRACE_EVENT_VFORK_DONE) (PTRACE_EVENT_EXIT, __WALL): Provide default definitions. (stopped_pids, thread_db_active, must_set_ptrace_flags): New variables. (using_threads): Always set to 1. (handle_extended_wait): New. (add_process): Do not set TID. (linux_create_inferior): Set must_set_ptrace_flags. (linux_attach_lwp): Remove TID argument. Do not check using_threads. Use PTRACE_SETOPTIONS. Call new_thread_notify. Update all callers. (linux_thread_alive): Rename TID argument to LWPID. (linux_wait_for_process): Handle unknown processes. Do not use TID. (linux_wait_for_event): Do not use TID or check using_threads. Update call to dead_thread_notify. Call handle_extended_wait. (linux_create_inferior): Use PTRACE_SETOPTIONS. (send_sigstop): Delete sigstop_sent. (wait_for_sigstop): Avoid TID. (linux_supports_tracefork_flag, linux_tracefork_child, my_waitpid) (linux_test_for_tracefork): New. (linux_lookup_signals): Use thread_db_active and linux_supports_tracefork_flag. (initialize_low): Use thread_db_active and linux_test_for_tracefork. * linux-low.h (get_process_thread): Avoid TID. (struct process_ifo): Move thread_known and tid to the end. Remove sigstop_sent. (linux_attach_lwp, thread_db_init): Update prototypes. * server.h (change_inferior_id): Delete prototype. (add_pid_to_list, pull_pid_from_list): New prototypes. * thread-db.c (thread_db_use_events): New. (find_first_thread): Rename to... (find_one_thread): ...this. Update callers and messages. Do not call fatal. Check thread_db_use_events. Do not call change_inferior_id or new_thread_notify. (maybe_attach_thread): Update. Do not call new_thread_notify. (thread_db_init): Set thread_db_use_events. Check use_events. * utils.c (fatal, warning): Correct message prefix.
2007-10-232007-10-23 Atsushi Nemoto <anemo@mba.ocn.ne.jp>Daniel Jacobowitz2-0/+114
* mips-tdep.c (LL_OPCODE, LLD_OPCODE, SC_OPCODE, SCD_OPCODE): Define. (deal_with_atomic_sequence): New. (mips_software_single_step): Use it.
2007-10-23 * elf64-ppc.c (ppc_build_one_stub): Don't duplicate relocsAlan Modra2-45/+60
emitted for ".brlt" entries. (toc_adjusting_stub_needed): Don't treat ".fixup" specially here.. (ppc64_elf_next_input_section): ..instead do so here.
2007-10-23 PR gdb/2336Daniel Jacobowitz6-6/+18
* Makefile.def (dependencies): Make configure-gdb depend on all-intl. * Makefile.in: Regenerated. * configure.ac: Modify $LIBINTL before the BFD check. * configure: Regenerated.
2007-10-23 * buildsym.c (free_pending_blocks): Remove commented-out code.Joel Brobecker2-30/+9
(make_blockvector): Likewise. Re-use free_pending_blocks. (end_symtab): Remove commented-out code.
2007-10-23Add support for PT_GNU_STACK.Ian Lance Taylor13-24/+233
2007-10-23daily updateAlan Modra1-1/+1
2007-10-23*** empty log message ***gdbadmin1-1/+1
2007-10-22Fix versions of copied symbols.Ian Lance Taylor9-49/+187
2007-10-22sim/mips/Richard Sandiford2-23/+98
* mips.igen (check_fmt_p): Provide a separate mips32r2 definition that unconditionally allows fmt_ps. (ALNV.PS, CEIL.L.fmt, CVT.L.fmt, CVT.PS.S, CVT.S.PL, CVT.S.PU) (FLOOR.L.fmt, LWXC1, MADD.fmt, MSUB.fmt, NMADD.fmt, NMSUB.fmt) (PLL.PS, PLU.PS, PUL.PS, PUU.PS, ROUND.L.fmt, TRUNC.L.fmt): Change filter from 64,f to 32,f. (PREFX): Change filter from 64 to 32. (LDXC1, LUXC1): Provide separate mips32r2 implementations that use do_load_double instead of do_load. Make both LUXC1 versions unpredictable if SizeFGR () != 64. (SDXC1, SUXC1): Extend to mips32r2, using do_store_double instead of do_store. Remove unused variable. Make both SUXC1 versions unpredictable if SizeFGR () != 64.
2007-10-222007-10-22 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-111/+116
* i386-dis.c (prefix_table): Reordered by opcode. (mod_table): Likewise.
2007-10-22Implement -Bstatic/-Bdynamic.Ian Lance Taylor3-3/+12
2007-10-22Correct locking if a file could not be opened.Ian Lance Taylor2-10/+69
2007-10-22 * sim/cris/asm/testutils.inc (test_move_cc): Add missing call toHans-Peter Nilsson14-31/+225
test_cc. * sim/cris/asm/asr.ms: Correct expected condition code flags. * sim/cris/asm/boundr.ms: Ditto. * sim/cris/asm/dstep.ms: Ditto. * sim/cris/asm/lsr.ms: Ditto. * sim/cris/asm/movecr.ms: Ditto. * sim/cris/asm/mover.ms: Ditto. * sim/cris/asm/neg.ms: Ditto. Use test_cc, not test_move_cc. * sim/cris/asm/op3.ms: Check the condition code flags after the insn under test. * sim/cris/asm/movecrt10.ms: Update expected number of simulated cycles. * sim/cris/asm/movecrt32.ms: Ditto. * sim/cris/asm/jsr.ms: Don't use local label 8. * sim/cris/asm/nonvcv32.ms: New test.
2007-10-22 * top.c (command_loop): Fix output for shrinkage.Daniel Jacobowitz2-2/+6
2007-10-22 * cp-name-parser.y (exp1): Add & ( var ) as a reference expression.Daniel Jacobowitz2-12/+14
(exp): Remove and document function-like casts.
2007-10-22 * cris/arch.c, cris/arch.h, cris/cpuall.h, cris/cpuv10.c,Hans-Peter Nilsson19-222/+265
cris/cpuv10.h, cris/cpuv32.c, cris/cpuv32.h, cris/cris-desc.c, cris/cris-desc.h, cris/cris-opc.h, cris/decodev10.c, cris/decodev10.h, cris/decodev32.c, cris/decodev32.h, cris/modelv10.c, cris/modelv32.c, cris/semcrisv10f-switch.c, cris/semcrisv32f-switch.c: Regenerate.
2007-10-22 * cris.cpu (movs, movu): Use result of extension operation whenHans-Peter Nilsson2-6/+13
updating flags.
2007-10-22 * cp-support.c: Include "safe-ctype.h".Daniel Jacobowitz5-54/+127
(cp_already_canonical): New function. (cp_canonicalize_string): Use it. Return NULL for already canonical strings. (mangled_name_to_comp): Update call to cp_demangled_name_to_comp. (cp_func_name, remove_params): Likewise. (cp_find_first_component_aux): Use ISSPACE. * cp-support.h (cp_demangled_name_to_comp): Correct comment. Remove MEMORY_P argument. * cp-name-parser.y (ALLOC_CHUNK): Define. (struct demangle_info): Add PREV and NEXT. Increase the size of COMPS. (d_grab): Convert to a function. (allocate_info): Rewrite. (cp_demangled_name_to_comp): Remove MEMORY argument. Do not use strlen. Update call to allocate_info. Do not free it on failure. (main): Update calls to cp_demangled_name_to_comp. * Makefile.in (cp-support.o): Update.
2007-10-22 * gdbarch.texi (Compiler Characteristics): Move documentationUlrich Weigand2-32/+38
of set_gdbarch_sofun_address_maybe_missing back to ... (Target Conditionals): ... here to fix build break.
2007-10-222007-10-22 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-11/+22
* std-regs.c (value_of_builtin_frame_fp_reg) value_of_builtin_frame_pc_reg, value_of_builtin_frame_sp_reg) value_of_builtin_frame_ps_reg): Use get_frame_arch to get at the current architecture by frame_info.
2007-10-222007-10-22 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-5/+8
* reggroups.c (default_register_reggroup_p): Replace current_gdbarch by gdbarch.
2007-10-222007-10-22 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-31/+40
* infcmd.c (default_print_registers_info, print_return_value) (print_vector_info, print_float_info): Replace current_gdbarch by gdbarch. (registers_info): Use get_frame_arch to get at the current architecture by frame_info.
2007-10-222007-10-22 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-2/+7
* i387-tdep.c (i387_collect_fsave, i387_collect_fxsave): Use get_regcache_arch to get at the current architecture by regcache.