OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
14 years ago* opcodes/microblaze-dis.c: Add include for microblaze-dis.h,
eager [Wed, 7 Oct 2009 15:40:17 +0000 (15:40 +0000)]
* opcodes/microblaze-dis.c: Add include for microblaze-dis.h,
eliminate local extern decls.
* opcodes/microblaze-dis.h: New.

14 years agoSync with gcc repository.
Ian Lance Taylor [Wed, 7 Oct 2009 05:57:48 +0000 (05:57 +0000)]
Sync with gcc repository.

14 years agomerge from gcc
DJ Delorie [Wed, 7 Oct 2009 02:57:27 +0000 (02:57 +0000)]
merge from gcc

14 years ago*** empty log message ***
gdbadmin [Wed, 7 Oct 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago ARI fix: OP eol rule.
Pierre Muller [Tue, 6 Oct 2009 23:27:04 +0000 (23:27 +0000)]
ARI fix: OP eol rule.
* doublest.c (floatformat_from_length): Avoid operator at end of line.
* dwarf2-frame.c (dwarf2_build_frame_info): Idem.
* dwarf2read.c (read_array_order, dwarf_decode_macros): Idem.
* eval.c (evaluate_subexp_standard): Idem.
* event-loop.c (create_timer, handle_timer_event): Idem.
* expprint.c (print_subexp_standard): Idem.
* f-exp.y (variable): Idem.
* f-typeprint.c (f_print_type): Idem.

14 years ago ARI fix: OP eol rule.
Pierre Muller [Tue, 6 Oct 2009 22:47:18 +0000 (22:47 +0000)]
ARI fix: OP eol rule.
* blockframe.c (find_pc_partial_function): Avoid operator at end of
line.
* buildsym.c (find_symbol_in_list): Idem.
(start_subfile, patch_subfile_names): Idem.
* c-exp.y (variable, yylex): Idem.
* c-typeprint.c (c_print_type, c_type_print_base): Idem.
* c-valprint.c (c_val_print): Idem.
* coffread.c (patch_opaque_types, process_coff_symbol): Idem.
* corelow.c (core_open): Idem.
* cris-tdep.c (move_reg_to_mem_movem_op): Idem.
* cli/cli-decode.c (help_cmd_list, find_command_name_length): Idem.

14 years ago ARI fix: OP eol rule.
Pierre Muller [Tue, 6 Oct 2009 21:27:58 +0000 (21:27 +0000)]
ARI fix: OP eol rule.
* ada-exp.y (block_lookup): Avoid operator at end of line.
* aix-thread.c (pd_enable): Idem.
* alpha-tdep.c (alpha_next_pc): Idem.
* arm-tdep.c (arm_skip_prologue, arm_scan_prologue): Idem.
(condition_true, coff_sym_is_thumb): Idem.

14 years agoMerge from gcc repository.
Ian Lance Taylor [Tue, 6 Oct 2009 20:14:05 +0000 (20:14 +0000)]
Merge from gcc repository.

14 years ago2009-10-06 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 6 Oct 2009 19:41:12 +0000 (19:41 +0000)]
2009-10-06  H.J. Lu  <hongjiu.lu@intel.com>

* bfd-in2.h: Regenerated.

14 years ago* info (Contributors): Add self for Xilinx MicroBlaze.
eager [Tue, 6 Oct 2009 18:02:36 +0000 (18:02 +0000)]
* info (Contributors): Add self for Xilinx MicroBlaze.
(Embedded Processors): Add MicroBlaze.
(MicroBlaze): New.  Describe Xilinx MicroBlaze

14 years agoGDB 7.0 released.
gdbadmin [Tue, 6 Oct 2009 17:40:34 +0000 (17:40 +0000)]
GDB 7.0 released.

14 years agoMinor reformatting of the last entry.
Joel Brobecker [Tue, 6 Oct 2009 16:04:05 +0000 (16:04 +0000)]
Minor reformatting of the last entry.

14 years agoUpdated Finnish translation
Nick Clifton [Tue, 6 Oct 2009 15:44:39 +0000 (15:44 +0000)]
Updated Finnish translation

14 years ago * ARI fix: "%p" rule.
Pierre Muller [Tue, 6 Oct 2009 15:32:17 +0000 (15:32 +0000)]
* ARI fix: "%p" rule.
target.c (debug_to_thread_architecture): Replace %p by %s using
host_address_to_string function.

14 years ago* microblaze/interp.c: Add include microblaze-dis.h.
eager [Tue, 6 Oct 2009 15:19:52 +0000 (15:19 +0000)]
* microblaze/interp.c: Add include microblaze-dis.h.

14 years ago * gdb.base/annota1.exp: Remove obsolete match_max increase.
Pierre Muller [Tue, 6 Oct 2009 15:12:06 +0000 (15:12 +0000)]
* gdb.base/annota1.exp: Remove obsolete match_max increase.
* gdb.base/annota3.exp: Idem.
* gdb.base/maint.exp: Idem.

14 years ago2009-10-06 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Tue, 6 Oct 2009 07:23:05 +0000 (07:23 +0000)]
2009-10-06  Tristan Gingold  <gingold@adacore.com>

* darwin-nat.c: Add __TEXT __info_plist content.
(darwin_attach_pid): Update error message.

14 years ago * MAINTAINERS: Add Tristan Gingold as Maintainer of the Darwin port.
Joel Brobecker [Tue, 6 Oct 2009 05:14:46 +0000 (05:14 +0000)]
    * MAINTAINERS: Add Tristan Gingold as Maintainer of the Darwin port.

14 years ago * MAINTAINERS: Add Jan Kratochvil as Maintainer of the ia64 target.
Joel Brobecker [Tue, 6 Oct 2009 02:56:04 +0000 (02:56 +0000)]
    * MAINTAINERS: Add Jan Kratochvil as Maintainer of the ia64 target.

14 years ago*** empty log message ***
gdbadmin [Tue, 6 Oct 2009 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
Alan Modra [Mon, 5 Oct 2009 23:00:04 +0000 (23:00 +0000)]
daily update

14 years ago Revert:
Pedro Alves [Mon, 5 Oct 2009 13:46:47 +0000 (13:46 +0000)]
Revert:
2009-10-04  Pedro Alves  <pedro@codesourcery.com>
* gdbinit.in: Set data-directory to @srcdir@.

14 years ago * opc2c.c: Include "libiberty.h" and <errno.h>.
Nick Clifton [Mon, 5 Oct 2009 13:14:55 +0000 (13:14 +0000)]
    * opc2c.c: Include "libiberty.h" and <errno.h>.
        (orig_filename): Constify.
        (dump_lines): Fix line number directive.
        (main): Set orig_filename to basename of input file.  Use
        xstrerror.

        * Makefile.am (rx-dis.lo): Remove explicit dependencies.
        ($(srcdir)/rx-decode.c): Use @MAINT@.  Use $(EXEEXT_FOR_BUILD)
        instead of $(EXEEXT).
        (opc2c$(EXEEXT_FOR_BUILD)): Renamed from opc2c$(EXEEXT) and use
        $(LINK_FOR_BUILD).  Link with libiberty.
        (MOSTLYCLEANFILES): Add opc2c$(EXEEXT_FOR_BUILD).
        (MAINTAINERCLEANFILES): Add $(srcdir)/rx-decode.c.
        * Makefile.in: Regenerated.
        * rx-decode.c: Regenerated.

14 years ago * lib/gdb.exp (default_gdb_init): Set current value of match_max
Pierre Muller [Mon, 5 Oct 2009 06:27:45 +0000 (06:27 +0000)]
* lib/gdb.exp (default_gdb_init): Set current value of match_max
to default.

14 years ago*** empty log message ***
gdbadmin [Mon, 5 Oct 2009 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
Alan Modra [Sun, 4 Oct 2009 23:00:04 +0000 (23:00 +0000)]
daily update

14 years ago * NEWS: Mention non-stop mode.
Pedro Alves [Sun, 4 Oct 2009 17:39:30 +0000 (17:39 +0000)]
* NEWS: Mention non-stop mode.

14 years ago * gdb.texinfo (Remote Protocol): Don't mention vCont;T.
Pedro Alves [Sun, 4 Oct 2009 17:37:57 +0000 (17:37 +0000)]
* gdb.texinfo (Remote Protocol): Don't mention vCont;T.

14 years ago * gdbinit.in: Set data-directory to @srcdir@.
Pedro Alves [Sun, 4 Oct 2009 13:50:06 +0000 (13:50 +0000)]
* gdbinit.in: Set data-directory to @srcdir@.

14 years ago*** empty log message ***
gdbadmin [Sun, 4 Oct 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
Alan Modra [Sat, 3 Oct 2009 23:00:05 +0000 (23:00 +0000)]
daily update

14 years agoRevert the last change.
H.J. Lu [Sat, 3 Oct 2009 17:00:16 +0000 (17:00 +0000)]
Revert the last change.

14 years ago2009-10-03 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sat, 3 Oct 2009 14:36:34 +0000 (14:36 +0000)]
2009-10-03  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am ($(srcdir)/rx-decode.c): Add @MAINT@.
(rx-dis.lo): Remove a space.
(pc2c$(EXEEXT)): Remove a space. Use $(LINK_FOR_BUILD) instead
of gcc.
(MAINTAINERCLEANFILES): Add $(srcdir)/rx-decode.c.
* Makefile.in: Regenerated.

14 years ago * arm-dis.c (print_insn): Check symtab_size not *symtab.
Alan Modra [Sat, 3 Oct 2009 00:39:53 +0000 (00:39 +0000)]
* arm-dis.c (print_insn): Check symtab_size not *symtab.

14 years ago*** empty log message ***
gdbadmin [Sat, 3 Oct 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago PR gdb/10649
Joel Brobecker [Fri, 2 Oct 2009 22:06:10 +0000 (22:06 +0000)]
    PR gdb/10649
        * Makefile.in (GDB_DATADIR_PATH): Renamed to ...
        (GDB_DATADIR): This.
        (xml-syscall-install): Updated.

14 years ago*** empty log message ***
gdbadmin [Fri, 2 Oct 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago * MAINTAINERS: Move Don Lee to the correct section (Write After
Joel Brobecker [Thu, 1 Oct 2009 23:12:43 +0000 (23:12 +0000)]
    * MAINTAINERS: Move Don Lee to the correct section (Write After
        Approval).

14 years ago * configure.ac: Disable -Werror by default.
Joel Brobecker [Thu, 1 Oct 2009 19:37:31 +0000 (19:37 +0000)]
    * configure.ac: Disable -Werror by default.
        * configure: Regenerate.

14 years ago*** empty log message ***
gdbadmin [Thu, 1 Oct 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

14 years agoSet version to 6.8.92.20090930-cvs
gdbadmin [Wed, 30 Sep 2009 20:50:21 +0000 (20:50 +0000)]
Set version to 6.8.92.20090930-cvs

14 years agoGDB 6.8.92 released.
gdbadmin [Wed, 30 Sep 2009 20:48:41 +0000 (20:48 +0000)]
GDB 6.8.92 released.

14 years agoUpdate GDB version number in README and version.in
gdbadmin [Wed, 30 Sep 2009 20:20:50 +0000 (20:20 +0000)]
Update GDB version number in README and version.in

14 years ago * windows-nat.c (ctrl_c_handler): Also handle CTRL_BREAK_EVENT.
Pierre Muller [Wed, 30 Sep 2009 07:40:09 +0000 (07:40 +0000)]
* windows-nat.c (ctrl_c_handler): Also handle CTRL_BREAK_EVENT.
* doc/gdb.texinfo (Cygwin Native): Mention support for Ctrl-BREAK.

14 years ago*** empty log message ***
gdbadmin [Wed, 30 Sep 2009 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

14 years agogdb/testsuite/
Jan Kratochvil [Tue, 29 Sep 2009 19:27:16 +0000 (19:27 +0000)]
gdb/testsuite/
* gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
* gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
* gdb.arch/ia64-breakpoint-shadow.S: New file.

14 years agogdb/
Jan Kratochvil [Tue, 29 Sep 2009 19:09:38 +0000 (19:09 +0000)]
gdb/
* ia64-tdep.c (ia64_convert_from_func_ptr_addr): New variable buf.
Check first the descriptor memory is readable.

14 years ago * gdb.objc/basicclass.exp: Disable pending breakpoint query.
Ulrich Weigand [Tue, 29 Sep 2009 19:03:33 +0000 (19:03 +0000)]
* gdb.objc/basicclass.exp: Disable pending breakpoint query.
* gdb.objc/nondebug.exp: Likewise.

14 years ago Revert 2009-09-28 commit:
Ulrich Weigand [Tue, 29 Sep 2009 18:59:38 +0000 (18:59 +0000)]
Revert 2009-09-28 commit:
* eval.c (evaluate_subexp_standard) [OP_OBJC_MSGCALL]: Support
platforms that use function descriptors.  Prefer to use function
pointer types instead of function types.
* linespec.c (decode_objc): Support function descriptors.  Fully
initialize SAL result.
* objc-lang.c (find_methods): Support function descriptors.
Do not require function symbol to point to text section.

* ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): When calling
via a function pointer, use the descriptor it points to.

14 years ago * python/py-value.c (valpy_string): NULL-terminate 'keywords'.
Tom Tromey [Tue, 29 Sep 2009 15:17:26 +0000 (15:17 +0000)]
* python/py-value.c (valpy_string): NULL-terminate 'keywords'.

14 years ago * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
Ulrich Weigand [Tue, 29 Sep 2009 13:03:47 +0000 (13:03 +0000)]
* gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
target_info setting.

* gdb.threads/thread-specific.exp (get_thread_list): Support targets
that detect new threads during "info threads".

14 years ago * s390-tdep.c (s390_displaced_step_fixup): Use type ULONGEST
Ulrich Weigand [Tue, 29 Sep 2009 12:52:25 +0000 (12:52 +0000)]
* s390-tdep.c (s390_displaced_step_fixup): Use type ULONGEST
instead of CORE_ADDR for "amode".

14 years ago * gdbarch.sh (displaced_step_hw_singlestep): New callback.
Ulrich Weigand [Tue, 29 Sep 2009 12:09:18 +0000 (12:09 +0000)]
* gdbarch.sh (displaced_step_hw_singlestep): New callback.
* gdbarch.c, gdbarch.h: Regenerate.
* arch-utils.c (default_displaced_step_hw_singlestep): New function.
* arch-utils.h (default_displaced_step_hw_singlestep): Add prototype.

* ppc-linux-tdep.c (ppc_displaced_step_hw_singlestep): New function.
(rs6000_gdbarch_init): Install it.

* infrun.c (displaced_step_fixup): Use new callback to determine
whether to "step" or "continue" displaced copy.
(resume): Likewise.  Do not call maybe_software_singlestep
for displaced stepping.
(maybe_software_singlestep): Do not handle displaced stepping.

14 years ago2009-09-29 Hui Zhu <teawater@gmail.com>
Hui Zhu [Tue, 29 Sep 2009 01:53:24 +0000 (01:53 +0000)]
2009-09-29  Hui Zhu  <teawater@gmail.com>

* record.c (record_open): Change "query" to "error".
(cmd_record_stop): Change "query" to "printf_unfiltered".

14 years ago * ia64-tdep.c: Update the comments on how we insert/remove
Joel Brobecker [Tue, 29 Sep 2009 01:29:10 +0000 (01:29 +0000)]
    * ia64-tdep.c: Update the comments on how we insert/remove
        breakpoints for L-X instructions.
        (ia64_memory_insert_breakpoint, ia64_memory_remove_breakpoint):
        Update the comments inside these functions.

14 years ago * eval.c (evaluate_subexp_standard) [OP_OBJC_MSGCALL]: Support
Ulrich Weigand [Tue, 29 Sep 2009 00:49:18 +0000 (00:49 +0000)]
* eval.c (evaluate_subexp_standard) [OP_OBJC_MSGCALL]: Support
platforms that use function descriptors.  Prefer to use function
pointer types instead of function types.
* linespec.c (decode_objc): Support function descriptors.  Fully
initialize SAL result.
* objc-lang.c (find_methods): Support function descriptors.
Do not require function symbol to point to text section.

* ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): When calling
via a function pointer, use the descriptor it points to.

14 years ago * valops.c (value_assign): Respect parent offset when
Ulrich Weigand [Tue, 29 Sep 2009 00:41:23 +0000 (00:41 +0000)]
* valops.c (value_assign): Respect parent offset when
assigning to a bitfield.

14 years ago * s390-tdep.c (op_bctr, op_bctgr, op_bct, op1_bctg, op2_bctg,
Ulrich Weigand [Tue, 29 Sep 2009 00:40:22 +0000 (00:40 +0000)]
* s390-tdep.c (op_bctr, op_bctgr, op_bct, op1_bctg, op2_bctg,
op_bxh, op1_bxhg, op2_bxhg, op_bxle, op1_bxleg, op2_bxleg,
op1_brct, op2_brct, op1_brctg, op2_brctg, op_brxh, op1_brxhg,
op2_brxhg, op_brxle, op1_brxlg, op2_brxlg): New enum values.
(is_rsi, is_rie): New insn format decoder routines.
(s390_displaced_step_fixup): New function.
(s390_gdbarch_init): Install displaced stepping routines.

14 years ago * spu-low.c (spu_kill): Wait for inferior to terminate.
Ulrich Weigand [Tue, 29 Sep 2009 00:39:01 +0000 (00:39 +0000)]
* spu-low.c (spu_kill): Wait for inferior to terminate.
Call clear_inferiors.
(spu_detach): Call clear_inferiors.

14 years ago * gdb.threads/manythreads.c (main): Increase thread stack size
Ulrich Weigand [Tue, 29 Sep 2009 00:38:01 +0000 (00:38 +0000)]
* gdb.threads/manythreads.c (main): Increase thread stack size
to 2*PTHREAD_STACK_MIN.
* gdb.threads/multi-create.c (main): Likewise.
(create_function): Likewise.

14 years ago * gdb.base/dump.exp: Pass difference of pointer types instead
Ulrich Weigand [Tue, 29 Sep 2009 00:36:49 +0000 (00:36 +0000)]
* gdb.base/dump.exp: Pass difference of pointer types instead
of integer types as offset to restore in intarr3.srec case.

14 years ago * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
Ulrich Weigand [Tue, 29 Sep 2009 00:35:39 +0000 (00:35 +0000)]
* gdb.cp/gdb2495.exp: Skip test on spu*-*-*.

14 years ago * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
Ulrich Weigand [Tue, 29 Sep 2009 00:34:42 +0000 (00:34 +0000)]
* gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.

14 years ago*** empty log message ***
gdbadmin [Tue, 29 Sep 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago Fix ia64 breakpoints in the L-X slot.
Joel Brobecker [Mon, 28 Sep 2009 23:59:23 +0000 (23:59 +0000)]
    Fix ia64 breakpoints in the L-X slot.
        * ia64-tdep.c (ia64_memory_insert_breakpoint): Extend the comment.
        New variable shadow_slotnum, use it appropriately instead of slotnum.
        Move shadow_len initialization before SLOTNUM adjustment, cover now the
        whole remaining bundle.  Error now on breakpoints requested for the
        slot 2 of L-X bundles.  Better sanity check the requested slot 1 of L-X
        bundles.
        (ia64_memory_remove_breakpoint): New variable shadow_slotnum, use it
        appropriately instead of slotnum.  Warn now on breakpoints requested
        for the slot 2 of L-X bundles.  Better sanity check the requested slot
        1 of L-X bundles.  Update the assertio check of PLACED_SIZE.
        (ia64_breakpoint_from_pc): New variable shadow_slotnum, use it
        appropriately instead of slotnum.  Move *lenptr initialization before
        SLOTNUM adjustment, cover now the whole remaining bundle.  Error now
        on breakpoints requested for the slot 2 of L-X bundles.  Better sanity
        check the requested slot 1 of L-X bundles.  Simplify the returned
        expression.

14 years ago * ia64-tdep.c (ia64_memory_insert_breakpoint): Check the slotnum
Joel Brobecker [Mon, 28 Sep 2009 23:56:52 +0000 (23:56 +0000)]
    * ia64-tdep.c (ia64_memory_insert_breakpoint): Check the slotnum
        and the type of instruction before deciding which slot to save
        in the breakpoint shadown contents.

14 years ago2009-09-28 Hui Zhu <teawater@gmail.com>
Hui Zhu [Mon, 28 Sep 2009 07:20:45 +0000 (07:20 +0000)]
2009-09-28  Hui Zhu  <teawater@gmail.com>

* i386-tdep.c (i386_process_record): Remove "0x" that
don't need.

14 years ago*** empty log message ***
gdbadmin [Mon, 28 Sep 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago*** empty log message ***
gdbadmin [Sun, 27 Sep 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago gdb ChangeLog entry:
Pierre Muller [Sat, 26 Sep 2009 12:10:57 +0000 (12:10 +0000)]
gdb ChangeLog entry:
* i386-nat.c (i386_stopped_data_address): Also check that
hitted watch register is not vacant.

gdb/testsuite ChangeLog entry:
New test for two watchpoints, with disabling of
the first inserted.
* testsuite/gdb.base/watchpoints.c: New file.
* testsuite/gdb.base/watchpoints.exp: New file.

14 years ago*** empty log message ***
gdbadmin [Sat, 26 Sep 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago*** empty log message ***
gdbadmin [Fri, 25 Sep 2009 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago * record.c (record_open, record_store_registers, record_xfer_partial):
Joel Brobecker [Thu, 24 Sep 2009 17:59:12 +0000 (17:59 +0000)]
    * record.c (record_open, record_store_registers, record_xfer_partial):
        Replace calls to nquery by calls to query.

14 years ago*** empty log message ***
gdbadmin [Thu, 24 Sep 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago2009-09-23 John Wright <john.wright@hp.com>
Tom Tromey [Wed, 23 Sep 2009 17:33:05 +0000 (17:33 +0000)]
2009-09-23  John Wright  <john.wright@hp.com>

PR gdb/10684:
* event-top.c (command_line_handler): Terminate linebuffer before
xstrdup.

14 years ago*** empty log message ***
gdbadmin [Wed, 23 Sep 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago * solib.c (solib_bfd_open): Relax a bit the compatibility check.
Joel Brobecker [Tue, 22 Sep 2009 23:04:30 +0000 (23:04 +0000)]
    * solib.c (solib_bfd_open): Relax a bit the compatibility check.

14 years ago * source.c (forget_cached_source_info): Clear last_source_visited.
Daniel Jacobowitz [Tue, 22 Sep 2009 22:33:46 +0000 (22:33 +0000)]
* source.c (forget_cached_source_info): Clear last_source_visited.
(init_last_source_visited): Delete.
(directory_command): Do not clear last_source_visited.  Call
forget_cached_source_info only if required.
(unset_substitute_path_command, set_substitute_path_command): Call
forget_cached_source_info.
* mi/mi-cmd-env.c (mi_cmd_env_dir): Do not call
init_last_source_visited.
* defs.h (init_last_source_visited): Delete declaration.

14 years ago PR gdb/10583:
Tom Tromey [Tue, 22 Sep 2009 21:17:21 +0000 (21:17 +0000)]
PR gdb/10583:
* python/py-value.c (valpy_int): Use PyLong_FromLongLong.
(valpy_long): Likewise.

14 years agogdb
Tom Tromey [Tue, 22 Sep 2009 17:38:28 +0000 (17:38 +0000)]
gdb
PR python/10680:
* eval.c (evaluate_subexp_standard) <do_call_it>: Handle internal
functions in EVAL_AVOID_SIDE_EFFECTS case.
gdb/testsuite
* gdb.python/py-function.exp: Add regression tests.

14 years ago * main.c: Fix spelling error.
Joel Brobecker [Tue, 22 Sep 2009 15:45:07 +0000 (15:45 +0000)]
   * main.c: Fix spelling error.

14 years ago*** empty log message ***
gdbadmin [Tue, 22 Sep 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago2009-09-21 Jason Orendorff <jason.orendorff@gmail.com>
Tom Tromey [Mon, 21 Sep 2009 16:19:16 +0000 (16:19 +0000)]
2009-09-21  Jason Orendorff  <jason.orendorff@gmail.com>

PR python/10666:
* python/py-function.c (fnpy_init): Use xstrdup.

14 years ago2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
pmuldoon [Mon, 21 Sep 2009 10:25:29 +0000 (10:25 +0000)]
2009-09-21  Phil Muldoon  <pmuldoon@redhat.com>

PR python/10633

* c-lang.c (c_printstr): Do not loop past  options->print_max when
iterating with wchar_iterate.

2009-09-21  Phil Muldoon  <pmuldoon@redhat.com>

PR python/10633

* gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
Function.
(run_lang_tests): Add print elements test.

14 years ago2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
pmuldoon [Mon, 21 Sep 2009 10:19:59 +0000 (10:19 +0000)]
2009-09-21  Phil Muldoon  <pmuldoon@redhat.com>

* python/py-value.c (valpy_getitem): Test value before allowing
subscript operation.

2009-09-21  Phil Muldoon  <pmuldoon@redhat.com>

* gdb.python/py-value.exp (test_subscript_regression): New
function.  Test for invalid subscripts.
* gdb.python/py-value.c (main): Add test array, and pointer to it.
(ptr_ref): New function.

14 years ago2009-09-21 Hui Zhu <teawater@gmail.com>
Hui Zhu [Mon, 21 Sep 2009 06:57:02 +0000 (06:57 +0000)]
2009-09-21  Hui Zhu  <teawater@gmail.com>
    Michael Snyder  <msnyder@vmware.com>

* amd64-linux-tdep.c (amd64_all_but_ip_registers_record): New
function.
(amd64_linux_syscall_record): Call
amd64_all_but_ip_registers_record if syscall is
sys_rt_sigreturn.
(AMD64_LINUX_redzone, AMD64_LINUX_xstate,
AMD64_LINUX_frame_size): New macros.
(amd64_linux_record_signal): New function.
(amd64_linux_init_abi): Call set_gdbarch_process_record_signal.

2009-09-21  Hui Zhu  <teawater@gmail.com>
    Michael Snyder  <msnyder@vmware.com>

* i386-linux-tdep.c (i386_all_but_ip_registers_record): New
function.
(i386_linux_intx80_sysenter_record): Call
i386_all_but_ip_registers_record if syscall is sys_sigreturn
or sys_rt_sigreturn.
(I386_LINUX_xstate, I386_LINUX_frame_size): New macros.
(i386_linux_record_signal): New function.
(i386_linux_init_abi): Call set_gdbarch_process_record_signal.

2009-09-21  Hui Zhu  <teawater@gmail.com>
    Michael Snyder  <msnyder@vmware.com>

* record.c (record_end_entry): New struct.
(record_type): Add end.
(record_arch_list_add_end): Set rec->u.end.sigval to
TARGET_SIGNAL_0.
(record_message_args): New struct.
(record_message): Call gdbarch_process_record_signal.
(do_record_message): Add argument "signal".
(record_resume): Ditto.
(record_wait): Ditto.  Check record_list->u.end.sigval
in replay mode.

2009-09-21  Hui Zhu  <teawater@gmail.com>
    Michael Snyder  <msnyder@vmware.com>

* gdbarch.sh (process_record_signal): New interface.

14 years ago*** empty log message ***
gdbadmin [Mon, 21 Sep 2009 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago*** empty log message ***
gdbadmin [Sun, 20 Sep 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago2009-09-19 Maxim Grigoriev <maxim2405@gmail.com>
Maxim Grigoriev [Sat, 19 Sep 2009 16:36:08 +0000 (16:36 +0000)]
2009-09-19  Maxim Grigoriev  <maxim2405@gmail.com>

        * xtensa-tdep.c (call0_analyze_prologue): Replace INT_MAX by UNIT_MAX.

14 years ago * varobj.c (varobj_update): Initialize children_changed.
Joel Brobecker [Sat, 19 Sep 2009 16:06:19 +0000 (16:06 +0000)]
    * varobj.c (varobj_update): Initialize children_changed.

14 years agoFix last entry's date.
Eli Zaretskii [Sat, 19 Sep 2009 09:47:45 +0000 (09:47 +0000)]
Fix last entry's date.

14 years ago * config/djgpp/fnchange.lst: Add missing edits.
Eli Zaretskii [Sat, 19 Sep 2009 09:42:28 +0000 (09:42 +0000)]
* config/djgpp/fnchange.lst: Add missing edits.

14 years ago*** empty log message ***
gdbadmin [Sat, 19 Sep 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago * gdb.texinfo (GDB/MI Variable Objects): -enable-pretty-printing
Tom Tromey [Fri, 18 Sep 2009 18:02:54 +0000 (18:02 +0000)]
* gdb.texinfo (GDB/MI Variable Objects): -enable-pretty-printing
is experimental.

14 years agogdb/
Jan Kratochvil [Fri, 18 Sep 2009 17:39:36 +0000 (17:39 +0000)]
gdb/
* objfiles.c (free_objfile): Clear SYMFILE_OBJFILE if it is OBJFILE.
* rs6000-nat.c (vmap_ldinfo): Only assertion check SYMFILE_OBJFILE now.
* symfile.c (syms_from_objfile, symbol_file_clear): Likewise.

14 years ago * rs6000-tdep.c (rs6000_builtin_type_vec128): Add v2_double
Ulrich Weigand [Fri, 18 Sep 2009 15:50:14 +0000 (15:50 +0000)]
* rs6000-tdep.c (rs6000_builtin_type_vec128): Add v2_double
union member.

14 years ago*** empty log message ***
gdbadmin [Fri, 18 Sep 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago Fix a build failure on pa-hpux:
Joel Brobecker [Thu, 17 Sep 2009 19:22:30 +0000 (19:22 +0000)]
    Fix a build failure on pa-hpux:
        * gdb_ptrace.h (PT_SYSCALL): Define here if not already defined.
        * inf-ttrace.c (inf_ttrace_wait): Fix compilation failure
        introduced after field syscall_id inside struct target_waitstatus
        has been renamed into syscall_number.

14 years ago*** empty log message ***
gdbadmin [Thu, 17 Sep 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

14 years agoSet version to 6.8.91.20090916-cvs
gdbadmin [Wed, 16 Sep 2009 23:25:11 +0000 (23:25 +0000)]
Set version to 6.8.91.20090916-cvs