summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * netbsd-core.c (netbsd_core_core_file_pid): Renamed to ...Pedro Alves2010-09-012-1/+6
| | | | (netbsd_core_file_pid): ... this.
* Fix typoNick Clifton2010-09-012-2/+2
|
* * ld-scripts/section-match.exp: New file. Runs thsNick Clifton2010-09-015-0/+67
| | | | | | | section-match-1 test. * ld-scripts/section-match-1.d: New file. * ld-scripts/section-match-1.s: New file. * ld-scripts/section-match-1.t: New file.
* 2010-09-01 Tristan Gingold <gingold@adacore.com>Tristan Gingold2010-09-012-2/+7
| | | | | * coffcode.h (coff_slurp_line_table): Add a cast. (coff_slurp_reloc_table): Ditto.
* Compile memmem.o without -Werror.gdbadmin2010-09-012-2/+13
| | | | | | | | | | | | This reproduces the same approach as in GDB to allow us to build specific files without -Werror. gdb/gdbserver/ChangeLog: * Makefile.in (INTERNAL_CFLAGS_BASE): New variable. Extracted from INTERNAL_CFLAGS. (INTERNAL_WARN_CFLAGS): New variable. (INTERNAL_CFLAGS): Adjust, using INTERNAL_WARN_CFLAGS.
* use xsnprintf instead of snprintf.gdbadmin2010-09-018-17/+26
| | | | | | | | | | | | snprintf is not available on LynxOS, so I changed the calls to snprintf to calls to xsnprintf, which should be strictly equivalent. gdb/gdbserver/ChangeLog: * utils.c (xsnprintf): Make non-static. * server.h: Add xsnprintf declaration. * linux-low.c, nto-low.c, target.c, thread-db.c, tracepoint.c: replace calls to snprintf by calls to xsnprintf throughout.
* include alloca.h if available.gdbadmin2010-09-016-1/+229
| | | | | | | | | | | | On LynxOS, alloca is defined in allocal.h. This fixes one warning that occurs when building GDBserver for LynxOS. gdb/gdbserver/ChangeLog: * configure.ac: Add configure check for alloca. * configure, config.in: Regenerate. * server.h: Include alloca.h if it exists. * gdbreplay.c: Include alloca.h if it exists.
* *** empty log message ***gdbadmin2010-09-011-1/+1
|
* daily updateAlan Modra2010-09-011-1/+1
|
* Fix "pushw imm16" for x86-64 disassembler.H.J. Lu2010-08-316-88/+75
| | | | | | | | | | | | | | | | | | | | | | | | gas/testsuite/ 2010-08-31 H.J. Lu <hongjiu.lu@intel.com> PR binutils/11960 * gas/i386/opcode-intel.d: Updated. * gas/i386/x86-64-opcode.d: Likewise. * gas/i386/x86-64-opcode.s: Add a "pushw imm16" test. opcodes/ 2010-08-31 H.J. Lu <hongjiu.lu@intel.com> PR binutils/11960 * i386-dis.c (sIv): New. (dis386): Replace Iq with sIv on "pushT". (reg_table): Replace T with {T|} on callT, JcallT, jmpT and JjmpT. (x86_64_table): Replace {T|}/{P|} with P. (putop): Add 'w' to 'T'/'P' if needed for Intel syntax. (OP_sI): Update v_mode. Remove w_mode.
* Create and use a specialized bcache type for psymbolsSami Wagiaalla2010-08-317-16/+92
| | | | | | | | | | | | | | | | | | | | | | 2010-08-31 Sami Wagiaalla <swagiaal@redhat.com> * symfile.c (reread_symbols): Use psymbol_bcache_free, and psymbol_bcache_init. * psymtab.h (psymbol_bcache_init): New function prototype. (psymbol_bcache_free): New function prototype. (psymbol_bcache_get_bcache): New function prototype. * psymtab.c (psymbol_bcache_init): New function. (psymbol_bcache_free): New function. (psymbol_bcache_full): New function. (psymbol_bcache_get_bcache): New function. (add_psymbol_to_bcache): use psymbol_bcache_full. * objfiles.h (psymbol_cache): Change type of psymbol_cache to psymbol_bcache. * symmisc.c (print_symbol_bcache_statistics): Updated. (print_objfile_statistics): Updated. * objfiles.c (allocate_objfile): Use psymbol_bcache_init to initialize psymbol_cache. (free_objfile): Use psymbol_bcache_free.
* PR c++/11961:Tom Tromey2010-08-312-13/+20
| | | | | * dwarf2read.c (new_symbol_full) <DW_TAG_template_type_param>: Don't set TYPE_NAME on the type.
* 2010-08-31 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>Michael Snyder2010-08-312-0/+10
| | | | | * infrun.c (set_exec_direction_func): Error out if target does not support reverse execution.
* * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.Doug Evans2010-08-312-1/+6
|
* gdb/Jan Kratochvil2010-08-312-0/+42
| | | | | | | | | Make linux_get_siginfo_type `type *' unique. * linux-tdep.c (linux_gdbarch_data_handle, struct linux_gdbarch_data) (init_linux_gdbarch_data, get_linux_gdbarch_data): New. (linux_get_siginfo_type): New variable linux_gdbarch_data. Initialize it. Use linux_gdbarch_data->siginfo_type as a persistent storage. (_initialize_linux_tdep): New.
* gdb/Jan Kratochvil2010-08-3110-64/+45
| | | | | | | | | | | | | | | | | | | | | | | Code cleanup. * defs.h (find_memory_region_ftype): New typedef. (exec_set_find_memory_regions): Use it. * exec.c (exec_set_find_memory_regions): Use find_memory_region_ftype. * fbsd-nat.c (fbsd_find_memory_regions): Likewise. * gcore.c (objfile_find_memory_regions): Likewise. * gnu-nat.c (gnu_find_memory_regions): Likewise. * linux-nat.c (linux_nat_find_memory_regions): Likewise. * procfs.c (iterate_over_mappings_cb_ftype): Remove. (iterate_over_mappings): Rename iterate_over_mappings_cb_ftype to find_memory_region_ftype. (insert_dbx_link_bpt_in_region): Likewise. (iterate_over_mappings): Likewise. Drop the comment part about the function prototype. (find_memory_regions_callback): Use find_memory_region_ftype. (proc_find_memory_regions): Likewise. (info_mappings_callback): Rename iterate_over_mappings_cb_ftype to find_memory_region_ftype. * target.c (dummy_find_memory_regions): Use find_memory_region_ftype. * target.h (struct target_ops) <to_find_memory_regions>: Likewise.
* Enable custom bcache hash function.Sami Wagiaalla2010-08-318-26/+129
| | | | | | | | | | | | | | | | | | | | | | | 2010-08-25 Sami Wagiaalla <swagiaal@redhat.com> * psymtab.c (add_psymbol_to_bcache): Remove 'static' from 'static partial_symbol psymbol'. (psymbol_hash): New function. (psymbol_compare): New function. * bcache.c (hash_continue): New. (hash): Use hash_continue. * bcache.c: Add hash_function and compare_function pointers to bcache struct. (bcache_full): Use bcache->hash_function, and bcache->compare_function. (bcache_compare): New function. (bcache_xmalloc): Take hash_function and compare_function arguments and initialize the bcach's pointers. Updated comment. * objfiles.c (allocate_objfile): Updated. * symfile.c (reread_symbols): Updated. * python/py-type.c (typy_richcompare): Updated.
* * ldlex.l (WILDCHAR): Add the caret and exclamation pointNick Clifton2010-08-312-1/+6
| | | | characters, so that they can be used inside regexps.
* Remove an extra "@item".H.J. Lu2010-08-312-1/+4
| | | | | | 2010-08-31 H.J. Lu <hongjiu.lu@intel.com> * gdb.texinfo (i386 Features): Remove an extra "@item".
* 2010-08-31 Kai Tietz <kai.tietz@onevision.com>Kai Tietz2010-08-312-4/+9
| | | | | * config/obj-coff-seh.c (obj_coff_seh_save): Correct comparison. (obj_coff_seh_stackalloc): Likewise.
* * ld.texinfo (MEMORY): Clarify the behaviour of the ! character inNick Clifton2010-08-312-1/+6
| | | | a region's attributes.
* * config/obj-elf.c (obj_elf_init_stab_section): Fix assertion.Alan Modra2010-08-312-2/+6
|
* * scripttempl/mmo.sc: Move assignment to "Main" inside .textAlan Modra2010-08-312-1/+6
| | | | output section statement.
* *** empty log message ***gdbadmin2010-08-311-1/+1
|
* daily updateAlan Modra2010-08-311-1/+1
|
* * config/obj-coff-seh.c: Rewrite the entire file.Richard Henderson2010-08-303-1283/+690
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (symtab, symptr, reltab, relcount, relsize): Remove. (seh_ctx_root, seh_ctx): Remove. (xdata_seg, xdata_subseg, pdata_seg): New. (switch_xdata, switch_pdata): New. (verify_context, verify_context_and_target, skip_whitespace_and_comma): New parsing functions. Rewrite all parsing functions to use them. (obj_coff_seh_32): Fix != arm thinko. (obj_coff_seh_handler): For x64, don't accept handler pointer here, only flags. (obj_coff_seh_handlerdata): New. (do_seh_endproc): Split out of ... (obj_coff_seh_endproc): ... here. (obj_coff_seh_proc): Use it, if needed. (seh_x64_make_prologue_element): Use XRESIZEVEC, symbol_temp_new_now. (seh_x64_read_reg): Remove mm_regs alternative. Tidy integer reg alternatives. Don't slurp commas. (seh_read_offset): Remove. (obj_coff_seh_pushframe): Split out from obj_coff_seh_push. (obj_coff_seh_scope): Remove. (obj_coff_seh_save): Decide UWOP_SAVE_* vs _FAR immediately. (obj_coff_seh_stackalloc): Decide _SMALL vs _LARGE immediately. (out_one, out_two, out_four): New. (seh_x64_write_prologue_data, seh_x64_size_prologue_data, seh_x64_write_function_xdata, write_function_xdata): Rewrite from seh_x64_write_xdata, seh_needed_unwind_info, seh_store_elm_data, seh_getelm_data_size, seh_getsize_of_unwind_entry, seh_make_unwind_entry, seh_getsize_unwind_data, and seh_create_unwind_data. (seh_arm_write_function_pdata): Rewrite from seh_arm_create_pdata. (write_function_pdata): Rewrite from make_function_entry_pdata. (seh_write_text_eh_data, make_function_entry_pdata, seh_arm_create_pdata, seh_arm_write_pdata, seh_reloc, save_relocs, seh_symbol_init, seh_symbol, quick_section, seh_emit_rva, seh_emit_long, seh_make_globl, seh_make_section2, seh_make_section, seh_make_xlbl_name, make_seh_text_label, seh_fill_pcsyms, seh_needed_unwind_info, seh_store_elm_data, seh_getelm_data_size, seh_getsize_of_unwind_entry, seh_make_unwind_entry, seh_getsize_unwind_data, seh_create_unwind_data, seh_make_function_entry_xdata, seh_x64_makescope_elem): Remove. * config/obj-coff-seh.h (SEH_CMDS): Remove seh_savemm, seh_scope. Add seh_handlerdata. Adjust function/what arguments for seh_savereg, seh_pushframe, seh_stackalloc. (struct seh_prologue_element): Adjust members to closer match the elements of the UNWIND_CODE structure. (struct seh_scope_elem): Remove. (struct seh_context): Replace char* members with symbolS or expressionS as appropriate. Sort members by ARM/x64 applicability. Remove obsolete stuff wrt direct symbol and reloc manipulation.
* gdbTom Tromey2010-08-306-4/+111
| | | | | | | | | | | | | | | | | 2010-08-30 Andre Poenitz <andre.poenitz@nokia.com> Tom Tromey <tromey@redhat.com> PR python/11792: * python/py-value.c (valpy_get_dynamic_type): New function. (value_object_getset): Add "dynamic_type". (valpy_get_type): Fail on error. gdb/doc PR python/11792: * gdb.texinfo (Values From Inferior): Document dynamic_type. gdb/testsuite PR python/11792: * gdb.python/py-value.exp (test_subscript_regression): Add dynamic_type test.
* * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_functionDaniel Jacobowitz2010-08-303-8/+34
| | | | | | instead of running to main. Do not test the main function. * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function. Add new main.
* 2010-08-30 Yao Qi <yao@codesourcery.com>Yao Qi2010-08-304-10/+122
| | | | | | | | | | | * arm-linux-tdep.c (arm_linux_sigreturn_return_addr): New. (arm_linux_syscall_next_pc): New. (arm_linux_copy_svc): Use arm_linux_sigreturn_return_addr instead. (arm_linux_init_abi): Initialize syscall_next_pc. * arm-tdep.c (thumb_get_next_pc_raw): Get next pc of SWI in Thumb mode. (arm_get_next_pc_raw): Get next pc of SWI in ARM mode. * arm-tdep.h (struct gdbarch_tdep): Add a function pointer syscall_next_pc. Declare arm_frame_is_thumb.
* remove file committed by mistakeNathan Froyd2010-08-301-7/+0
|
* gdb/Jan Kratochvil2010-08-302-17/+23
| | | | | | | | | Code cleanup. * breakpoint.c (bpstat_alloc): Remove unused prototype. (bpstat_alloc): Change parameters cbs to bs_link_pointer. Adjust the code. (bpstat_stop_status): Change root_bs into bs_head and bs_link. Adjust calls of bpstat_alloc. Remove explicit bs chain termination.
* * cisco-core.c (cisco_core_file_pid): Define.Alan Modra2010-08-302-1/+6
|
* PR binutils/11953Alan Modra2010-08-302-17/+42
| | | | | | | * elf.c (copy_elf_program_header): Calculate map->header_size from lowest_section, not first_section. Validate program header p_paddr against section lma. Find lowest_section in second loop over headers.
* *** empty log message ***gdbadmin2010-08-301-1/+1
|
* daily updateAlan Modra2010-08-301-1/+1
|
* daily updateAlan Modra2010-08-291-1/+1
|
* *** empty log message ***gdbadmin2010-08-291-1/+1
|
* * linux-low.c (__SIGRTMIN): Define if not already defined.Pedro Alves2010-08-282-5/+59
| | | | | | | | | | | | | | (linux_create_inferior): Check for __ANDROID__ rather than __SIGRTMIN. (enqueue_one_deferred_signal): Don't requeue non-RT signals that are already deferred. (linux_wait_1): Check for __ANDROID__ rather than __SIGRTMIN. (linux_resume_one_thread): Don't queue a SIGSTOP if the lwp is stopped and already has a pending signal to report. (proceed_one_lwp): : Don't queue a SIGSTOP if the lwp already has a pending signal to report or is moving out of a jump pad. (linux_init_signals): Check for __ANDROID__ rather than __SIGRTMIN.
* * linux-low.c (linux_stabilize_threads): Wrap debug output in aPedro Alves2010-08-282-7/+14
| | | | | debug_threads check. Avoid a linear search when not doing debug output.
* gdb/Jan Kratochvil2010-08-282-4/+10
| | | | | | Code cleanup. * linux-nat.c (pull_pid_from_list): Rename status to statusp. (my_waitpid): Likewise.
* 2010-08-27 Doug Kwan <dougkwan@google.com>Doug Kwan2010-08-287-5/+177
| | | | | | | | | | * gold/resolve.cc (Symbol_table::should_override): Let a weak reference override an existing dynamic weak reference. * testsuite/Makefile.am: Add new test dyn_weak_ref. * testsuite/Makefile.in: Regenerate. * testsuite/dyn_weak_ref.sh: New file. * testsuite/dyn_weak_ref_1.c: Ditto. * testsuite/dyn_weak_ref_2.c: Ditto.
* * elflink.c (_bfd_elf_dynamic_symbol_p): Rename param. MakeAlan Modra2010-08-282-5/+20
| | | | | | common syms local. (_bfd_elf_symbol_refs_local_p): Expand comment. (elf_link_output_extsym): Fix style nit.
* daily updateAlan Modra2010-08-281-1/+1
|
* *** empty log message ***gdbadmin2010-08-281-1/+1
|
* * dwarf2read.c (dw2_require_line_header): Read from .debug_typesDoug Evans2010-08-272-3/+13
| | | | as appropriate.
* * dwarf2read.c (dwarf2_attach_fields_to_type): Don't setTom Tromey2010-08-272-3/+8
| | | | TYPE_FIELD_IGNORE_BITS.
* * incremental.h (class Incremental_input_entry): Add virtualIan Lance Taylor2010-08-272-0/+9
| | | | destructor.
* * testsuite/start_lib_test_3.c: Mark t3 as used.Ian Lance Taylor2010-08-272-1/+5
|
* * dwarf2read.c (dwarf2_per_objfile_free): Reorganize buffers to matchDoug Evans2010-08-272-2/+10
| | | | the order they're defined in. munmap .debug_types buffer.
* * event-loop.c (event_handle_func): Adjust to use gdb_fildes_t.Pedro Alves2010-08-275-15/+54
| | | | | | | | | | | | | | | | | (struct gdb_event) <fd>: Change type to gdb_fildes_t. (struct file_handler) <fd>: Change type to gdb_fildes_t. (process_event): Change local fd's type to gdb_fildes_t. (create_file_handler): Adjust prototype. (delete_file_handler): Adjust prototype. (handle_file_event): Adjust prototype. Use pfildes. (create_file_event): Adjsut prototype. * remote-utils.c (remote_desc, listen_desc): Change type to gdb_fildes_t. * server.h: New gdb_fildes_t typedef. [USE_WIN32API]: Include winsock2.h. (delete_file_handler, add_file_handler): Adjust prototypes. (pfildes): Declare. * utils.c (pfildes): New.
OpenPOWER on IntegriCloud