aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-10-22 PR gdb/921Daniel Jacobowitz8-6/+68
PR gdb/1646 PR gdb/2175 PR gdb/2176 * Makefile.def (flags_to_pass): Add CPPFLAGS_FOR_BUILD and CPPFLAGS. * Makefile.tpl (BUILD_EXPORTS): Set CPPFLAGS. (EXTRA_BUILD_FLAGS): Correct typo. Pass CPPFLAGS. (HOST_EXPORTS): Pass CPPFLAGS. (CPPFLAGS_FOR_BUILD, CPPFLAGS, CPPFLAGS_FOR_TARGET): Define. (LDFLAGS_FOR_TARGET): Initialize from configure script. (EXTRA_TARGET_FLAGS): Set CPPFLAGS. * Makefile.in, configure: Regenerated. * configure.ac: Set CPPFLAGS_FOR_TARGET, LDFLAGS_FOR_TARGET, and CPPFLAGS_FOR_BUILD. libiberty/ * Makefile.in (CPPFLAGS): Define. (FLAGS_TO_PASS, COMPILE.c): Add CPPFLAGS.
2008-10-22 * emulparams/elf32_i960.sh (TEMPLATE_NAME): "generic", not "elf32".Alan Modra2-1/+7
(EXTRA_EM_FILE): Define.
2008-10-22 * scripttempl/elf.sc (NO_REL_RELOCS, NO_RELA_RELOCS, NON_ALLOC_DYN):Alan Modra47-8/+123
Handle these defines. * emulparams/criself.sh, * emulparams/crislinux.sh, * emulparams/elf32am33lin.sh, * emulparams/elf32fr30.sh, * emulparams/elf32_i860.sh, * emulparams/elf32ip2k.sh, * emulparams/elf32mcore.sh, * emulparams/elf32ppccommon.sh, * emulparams/elf32ppcwindiss.sh, * emulparams/elf32_sparc.sh, * emulparams/elf32_spu.sh, * emulparams/elf32vax.sh, * emulparams/elf64alpha.sh, * emulparams/elf64mmix.sh, * emulparams/elf64ppc.sh, * emulparams/elf64_s390.sh, * emulparams/elf64_sparc.sh, * emulparams/elf_s390.sh, * emulparams/elf_x86_64.sh, * emulparams/h8300elf.sh, * emulparams/hppa64linux.sh, * emulparams/hppalinux.sh, * emulparams/m68kelf.sh, * emulparams/mn10200.sh, * emulparams/pjelf.sh, * emulparams/ppclynx.sh, * emulparams/shelf32.sh, * emulparams/shelf_nto.sh, * emulparams/shelf.sh, * emulparams/shelf_vxworks.sh, * emulparams/shlelf32_linux.sh, * emulparams/shlelf_linux.sh, * emulparams/shlelf_nto.sh (NO_REL_RELOCS): Set. * emulparams/arcelf.sh, * emulparams/elf32_i960.sh, * emulparams/elf32openrisc.sh, * emulparams/elf_i386_be.sh, * emulparams/elf_i386_ldso.sh, * emulparams/elf_i386.sh, * emulparams/elf_i386_vxworks.sh, * emulparams/i386lynx.sh, * emulparams/i386moss.sh, * emulparams/i386nto.sh, * emulparams/or32elf.sh, * emulparams/scoreelf.sh (NO_RELA_RELOCS): Set.
2008-10-22daily updateAlan Modra1-1/+1
2008-10-22*** empty log message ***gdbadmin1-1/+1
2008-10-21 * ldlang.c (lang_output_section_find_by_flags): Handle non-allocAlan Modra3-9/+53
sections. * emultempl/elf32.em (enum orphan_save_index): Add orphan_nonalloc. (hold): Likewise. (gld${EMULATION_NAME}_place_orphan): Handle non-alloc orphans.
2008-10-21missing changelog entryAlan Modra1-0/+9
2008-10-21 * emultempl/armelf.em (PARSE_AND_LIST_OPTIONS): Correct typo inAlan Modra2-4/+9
help text of --be8.
2008-10-21 * Makefile.in (BFD_DIR,BFD,BFD_SRC,BFD_CFLAGS): Delete.Doug Evans2-13/+9
(READLINE_DIR,READLINE_DEP): Delete. (INTERNAL_CFLAGS): Update. (LINTFLAGS): Update.
2008-10-21 * Make-common.in (run$(EXEEXT)): Add LDFLAGS.Daniel Jacobowitz2-1/+5
2008-10-21 * mips-tdep.c (mips_n32n64_fp_arg_chunk_p): Update TYPE_FIELD_STATICJan Kratochvil2-1/+6
removed before.
2008-10-21missing changelog entryAlan Modra1-0/+5
2008-10-21Remove unnecessary casts on obstack_alloc invocations.Alan Modra8-12/+12
2008-10-21*** empty log message ***gdbadmin1-1/+1
2008-10-21daily updateAlan Modra1-1/+1
2008-10-20 * obstack.h (obstack_finish <!__GNUC__>): Cast result to void *.Alan Modra2-2/+6
2008-10-20 * NEWS: Add entry mentioning thread-support on Tru64Joel Brobecker2-0/+6
2008-10-20 * dec-thread.c: New file.Joel Brobecker3-1/+691
* config/alpha/alpha-osf3.mh (NATDEPFILES): Add dec-thread.o. (NAT_CLIBS): Define.
2008-10-20 * readelf.c: Tidy up code formatting.Nick Clifton2-55/+46
2008-10-20 * ldemul.h (ldemul_place_orphan): Update prototype.Alan Modra8-27/+37
(struct ld_emulation_xfer_struct <place_orphan>): Likewise. * ldemul.c (ldemul_place_orphan): Return pointer to output section statement. * emultempl/beos.em (gld${EMULATION_NAME}_place_orphan): Likewise. * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise. * emultempl/mmo.em (mmo_place_orphan): Likewise. * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise. * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
2008-10-20 * elf64-ppc.c (ppc64_elf_process_dot_syms): Renamed fromAlan Modra3-13/+14
ppc64_elf_check_directives. * elf32-sh-symbian.c (sh_symbian_process_directives): Combine.. (sh_symbian_check_directives): ..this (bfd_elf32_sh_symbian_process_directives) ..and this function.
2008-10-20 * elflink.c (bfd_elf_final_link): Move code reading relocs to..Alan Modra4-26/+30
* elf32-spu.c (spu_elf_count_relocs): ..here. Adjust params. * elf-bfd.h (struct elf_backend_data): Update elf_backend_count_relocs params.
2008-10-20 * elflink.c (bfd_elf_final_link): Use d_ptr rather than d_valAlan Modra2-6/+12
where Elf_Internal_Dyn holds an address.
2008-10-202008-10-19 Hui Zhu <teawater@gmail.com>Hui Zhu2-0/+6
* infrun.c (handle_inferior_event): Set "stop_pc" when TARGET_WAITKIND_NO_HISTORY.
2008-10-20 * config/bfin-parse.y: Use C style comments.Alan Modra5-11/+18
* config/tc-bfin.c: Likewise. * config/tc-m68k.c: Likewise. * config/tc-mips.c: Likewise.
2008-10-20*** empty log message ***gdbadmin1-1/+1
2008-10-20daily updateAlan Modra1-1/+1
2008-10-19 * python/python-value.c (value_object_methods)Pedro Alves2-78/+73
(value_object_as_number, value_object_as_mapping): Move to bottom of file. (valpy_dealloc, valpy_new, valpy_length, valpy_getitem) (valpy_setitem, valpy_str, valpy_add, valpy_subtract) (valpy_multiply, valpy_divide, valpy_remainder, valpy_power) (valpy_negative, valpy_positive, valpy_absolute, valpy_nonzero) (valpy_richcompare, valpy_dereference): Don't forward-declare. (valpy_length) [HAVE_LIBPYTHON2_4]: Change return type to `int'.
2008-10-19 * configure.ac: Output gdb.python/Makefile.Pedro Alves4-11/+51
* configure: Regenerate. * gdb.python/Makefile.in: New.
2008-10-19*** empty log message ***gdbadmin1-1/+1
2008-10-19daily updateAlan Modra1-1/+1
2008-10-18 * infrun.c (adjust_pc_after_break): Do nothing if executing inPedro Alves2-0/+34
reverse.
2008-10-18Line breakMichael Snyder1-1/+2
2008-10-18daily updateAlan Modra1-1/+1
2008-10-18*** empty log message ***gdbadmin1-1/+1
2008-10-17 * infcmd.c (GO_USAGE): Delete.Pedro Alves2-3/+6
(go_command): Adjust.
2008-10-172008-10-17 Michael Snyder <msnyder@vmware.com>Michael Snyder2-0/+151
* gdb.texinfo: Add documentation for reverse execution.
2008-10-172008-10-17 Michael Snyder <msnyder@vmware.com>Michael Snyder11-55/+556
Target interface for reverse debugging. * target.h (enum target_waitkind): Add new wait event, TARGET_WAITKIND_NO_HISTORY. (struct target_ops): New method to_can_execute_reverse. (target_can_execute_reverse): New macro. * target.c (update_current_target): Inherit to_can_execute_reverse. Remote interface for reverse debugging. * remote.c (remote_can_execute_reverse): New target method. (remote_resume): Check for reverse exec direction, and send appropriate command to target. (remote_wait_as): Check target response for NO_HISTORY status. Also check for empty reply (target doesn't understand "bs" or "bc). (remote_vcont_resume): Jump out if attempting reverse execution. Event handling interface for reverse debugging. * infrun.c (execution_direction): New state variable. (enum inferior_stop_reason): Add NO_HISTORY reason. (handle_inferior_event): Handle TARGET_WAITKIND_NO_HISTORY. Handle stepping over a function call in reverse. Handle stepping thru a line range in reverse. Handle setting a step-resume breakpoint in reverse. Handle stepping into a function in reverse. Handle stepping between line ranges in reverse. (print_stop_reason): Print reason for NO_HISTORY. (step_into_function): Rename to handle_step_into_function. (handle_step_into_function_backward): New function. (set_exec_direction_func, show_exec_direction_func): New funcs. (proceed): No need to singlestep over a breakpoint when resuming in reverse. * inferior.h (enum exec_direction_kind): New enum. (execution_direction): Export new execution state variable. * breakpoint.c (make_breakpoint_silent): New function. * breakpoint.h (make_breakpoint_silent): Export. * infcmd.c (finish_command): Check for reverse exec direction. (finish_backward): New function, handle finish cmd in reverse. User interface for reverse execution. * Makefile.in (reverse.c): New file. * reverse.c: New file. User interface for reverse execution.
2008-10-17 * remote.c (record_currthread): Add inferior before child threads.Pedro Alves2-11/+21
(remote_threads_info): Check for exited threads. Mention notification order.
2008-10-17*** empty log message ***gdbadmin1-1/+1
2008-10-17daily updateAlan Modra1-1/+1
2008-10-16Mention Eli in the changelog entry for Python values.Thiago Jung Bauermann1-0/+1
2008-10-16 * gdb.base/foll-fork.exp: Adjust the expected output to matchJoel Brobecker2-14/+16
the new description for fork/vfork catchpoints in the "info breakpoints" output.
2008-10-16 * breakpoint.h (enum bptype): New enum bp_catchpoint.Joel Brobecker4-127/+299
Delete bp_catch_fork and bp_catch_vfork. (struct breakpoint_ops): Add new methods "insert", "remove" and "breakpoint_hit". * breakpoint.c (create_fork_vfork_event_catchpoint) (create_fork_event_catchpoint, create_vfork_event_catchpoint): Remove. (insert_catchpoint): Remove handling of bp_catch_fork and bp_catch_vfork catchpoints, and handle them as bp_catchpoint catchpoints instead. (insert_bp_location, update_breakpoints_after_exec) (remove_breakpoint, bpstat_check_location, bpstat_what) (allocate_bp_location): Likewise. (print_it_typical, print_one_breakpoint_location, mention): Remove handling of bp_catch_fork and bp_catch_vfork breakpoints. (ep_is_catchpoint, user_settable_breakpoint) (breakpoint_address_is_meaningful, adjust_breakpoint_address) (breakpoint_re_set_one, disable_command, enable_command): Remove use of bp_catch_fork and bp_catch_vfork. Add handling of bp_catchpoint breakpoints. (insert_catch_fork, remove_catch_fork, breakpoint_hit_catch_fork) (print_it_catch_fork, print_one_catch_fork, print_mention_catch_fork): New functions. (catch_fork_breakpoint_ops): New static constant. (insert_catch_vfork, remove_catch_vfork, breakpoint_hit_catch_vfork) (print_it_catch_vfork, print_one_catch_vfork) (print_mention_catch_vfork): New functions. (catch_vfork_breakpoint_ops): New static constant. (create_catchpoint, create_fork_vfork_event_catchpoint): New functions. (catch_fork_command_1): Use create_fork_vfork_event_catchpoint to create the fork and vfork catchpoints. (gnu_v3_exception_catchpoint_ops): Set new breakpoint_ops fields. * ada-lang.c (catch_exception_breakpoint_ops): Set new breakpoint_ops fields. (catch_exception_unhandled_breakpoint_ops): Likewise. (catch_assert_breakpoint_ops): Likewise.
2008-10-162008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>Thiago Jung Bauermann2-1/+5
* Makefile.in: Add gdb.python to ALL_SUBDIRS.
2008-10-16Add gdb/python/python-value.c, which I forgot to do in my previous commit.Thiago Jung Bauermann1-0/+689
2008-10-16 * remote.c (set_general_process): New.Pedro Alves2-0/+32
(remote_check_symbols): Use it.
2008-10-16 * remote.c (push_remote_target): Delete.Pedro Alves3-20/+5
* target.h (push_remote_target): Delete declaration.
2008-10-162008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>Thiago Jung Bauermann13-15/+430
Tom Tromey <tromey@redhat.com> gdb/ * Makefile.in (SUBDIR_PYTHON_OBS): Add python-value.o. (SUBDIR_PYTHON_SRCS): Add python-value.c. (python-value.o): New target. * configure.ac (CONFIG_OBS): Add python-value.o. (CONFIG_SRCS): Add python/python-value.c * configure: Regenerate. * python-internal.h (value_object_type): Add external declaration. (gdbpy_get_value_from_history, value_to_value_object, convert_value_from_python, gdbpy_initialize_values): Add function prototype. * python/python-value.c: New file. * python/python.c (GdbMethods): Add gdbpy_get_value_from_history. (_initialize_python): Call gdbpy_initialize_values. * python/python.h (values_in_python): Add external declaration. * value.c (value_prepend_to_list, value_remove_from_list): New functions. (preserve_values): Iterate over values_in_python list as well. * value.h (value_prepend_to_list, value_remove_from_list): Add function prototypes. gdb/doc/ * gdb.texinfo. (Values From Inferior): New subsubsection. gdb/testsuite/ * gdb.python/python-value.c: New file. * gdb.python/python-value.exp: New file.
2008-10-16merge from gccDJ Delorie2-5/+10