Nick Roberts
7eb368b352
* configure.ac: Test for sys/resource.h and getrusage.
...
* configure, config.in: Regenerate.
2007-02-02 22:55:54 +00:00
Nick Roberts
cd3756991a
*** empty log message ***
2007-02-02 22:52:06 +00:00
Eli Zaretskii
f4b3909f86
* gdbint.texinfo (Operation System ABI Variant Handling): Update
...
descriptions for new/deleted elements in gdb_osabi. Add missing
description for function generic_elf_osabi_sniff_abi_tag_sections.
2007-02-02 19:48:50 +00:00
Denis Pilat
d701dcab23
2007-02-02 Denis Pilat <denis.pilat@st.com>
...
* gdb.threads/threadapply.exp: check that frame is not changed by
the thread apply all command.
2007-02-02 12:40:11 +00:00
Denis Pilat
99b3d57478
2007-02-02 Denis Pilat <denis.pilat@st.com>
...
* thread.c (make_cleanup_restore_current_thread): New function.
(info_threads_command): Use of make_cleanup_restore_current_thread
to restore the current thread and the selected frame.
(restore_selected_frame): New function.
(struct current_thread_cleanup): Add frame_id field.
(do_restore_current_thread_cleanup): Add restoring of the selected
frame.
(make_cleanup_restore_current_thread): Likewise.
(thread_apply_all_command): backup the selected frame while
entering the function and restore it at exit.
(thread_apply_command): Likewise.
2007-02-02 12:18:37 +00:00
Denis Pilat
d3c598de8e
2007-02-02 Denis Pilat <denis.pilat@st.com>
...
* MAINTAINERS (Write After Approval): Add myself to the list.
2007-02-02 10:09:38 +00:00
gdbadmin
efd37f3573
*** empty log message ***
2007-02-02 00:00:39 +00:00
Kazuhiro Inaoka
3e41d55fb4
2006-02-01 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
...
* gdb/remote-m32r.sdi.c (m32r_fetch_register): Change PWD mask.
(m32r_store_register): Ditto.
2007-02-01 05:05:10 +00:00
gdbadmin
bd3ebfefd2
*** empty log message ***
2007-02-01 00:00:32 +00:00
Andreas Schwab
6d9c3a8703
* gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
2007-01-31 19:32:12 +00:00
Andreas Schwab
3c50d7b90e
* gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
...
in the dwarf sections.
* gdb.dwarf2/mac-fileno.S: Likewise.
2007-01-31 16:43:00 +00:00
Andreas Schwab
783e3e2f8e
* gdb.base/callfuncs.exp (do_get_all_registers): Filter out
...
bspstore register on ia64.
2007-01-31 15:37:49 +00:00
gdbadmin
9d46b7956a
*** empty log message ***
2007-01-31 00:00:02 +00:00
Vladimir Prus
ef7723ebe7
* ser-mingw.c (pipe_windows_open)
...
(pipe_windows_read, pipe_windows_write): Declare
variables at the top of the function.
2007-01-30 09:12:43 +00:00
gdbadmin
9a3372409b
*** empty log message ***
2007-01-30 00:00:02 +00:00
Andreas Schwab
cc8e9b1294
* gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
...
"frame-begin" annotation.
2007-01-29 19:09:47 +00:00
Andreas Schwab
78ff580ec9
* gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
...
number of "frames-invalid" annotations.
2007-01-29 18:58:24 +00:00
Daniel Jacobowitz
8da61cc40a
* doublest.c (floatformat_from_length): Use the right element from
...
gdbarch floatformats.
(floatformat_from_type, extract_typed_floating)
(store_typed_floating): Likewise.
* doublest.h: Remove declarations for undefined floatformat arrays.
* gdbarch.sh (float_format, double_format, long_double_format): Change
to pairs.
(pformat): Update for pairs.
* gdbarch.c, gdbarch.h: Regenerated.
* gdbtypes.c (floatformats_ieee_single, floatformats_ieee_double)
(floatformats_ieee_double_littlebyte_bigword)
(floatformats_i387_ext, floatformats_m68881_ext, floatformats_arm_ext)
(floatformats_ia64_spill, floatformats_ia64_quad, floatformats_vax_f)
(floatformats_vax_d): New variables.
(builtin_type_ieee_single, builtin_type_ieee_double)
(builtin_type_arm_ext, builtin_type_ia64_spill)
(builtin_type_ia64_quad): Replace arrays with individual types.
(builtin_type_ieee_single_big, builtin_type_ieee_single_little)
(builtin_type_ieee_double_big, builtin_type_ieee_double_little)
(builtin_type_ieee_double_littlebyte_bigword, builtin_type_i960_ext)
(builtin_type_m88110_ext, builtin_type_m88110_harris_ext)
(builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword)
(builtin_type_ia64_spill_big, builtin_type_ia64_spill_little)
(builtin_type_ia64_quad_big, builtin_type_ia64_quad_little): Delete
unused and endian-specific types.
(recursive_dump_type): Update for floatformat pairs.
(build_flt): Move higher. Handle bit == -1. Take a floatformat pair.
(build_gdbtypes): Use build_flt.
(_initialize_gdbtypes): Update set of initialized types.
* gdbtypes.h: Update declarations to match gdbtypes.c.
(struct main_type): Store a pointer to two floatformats.
* arch-utils.c (default_float_format, default_double_format): Delete.
* arch-utils.h (default_float_format, default_double_format): Delete.
* arm-tdep.c, avr-tdep.c, hppa-tdep.c, hppabsd-tdep.c, i386-tdep.c,
ia64-tdep.c, iq2000-tdep.c, m68k-tdep.c, m88k-tdep.c,
mips-linux-tdep.c, mips-tdep.c, mt-tdep.c, ppcobsd-tdep.c,
sparc-linux-tdep.c, sparc-tdep.c, sparcnbsd-tdep.c, spu-tdep.c,
vax-tdep.c, alpha-tdep.c, ppc-sysv-tdep.c: Update.
2007-01-29 17:31:06 +00:00
Joel Brobecker
c7ba131ee0
* gdb.texinfo (Maintenance Commands): Add documentation for
...
the new "maint print target-stack" command.
2007-01-29 16:37:34 +00:00
Joel Brobecker
87680a1410
* target.c (maintenance_print_target_stack): New function.
...
(initialize_targets): Add new "maintenance print target-stack"
command.
2007-01-29 16:36:01 +00:00
Daniel Jacobowitz
704a4f78bb
* gdb.base/commands.exp: Call if_commands_test.
...
(gdb_test_no_prompt, if_commands_test): New.
2007-01-29 16:22:36 +00:00
Daniel Jacobowitz
0f48aa010e
* remote-utils.c [USE_WIN32API] (read, write): Define.
...
(putpkt_binary, input_interrupt, readchar, getpkt): Use read and
write.
2007-01-29 13:22:09 +00:00
gdbadmin
69554603f0
*** empty log message ***
2007-01-29 00:00:32 +00:00
Mark Kettenis
e741bf94ae
* gdb.threads/sigthread.c (NSIGS): Make bigger.
2007-01-28 16:45:35 +00:00
Mark Kettenis
1c3d648d5a
* dwarf2read.c (new_symbol): Handle DW_AT_decl_file being zero.
2007-01-28 14:42:12 +00:00
Mark Kettenis
4590cfcbee
Wrap long line.
2007-01-28 14:23:13 +00:00
Daniel Jacobowitz
607269ae71
* dwarf2loc.h (struct dwarf2_locexpr_baton): Change size to a long.
...
(struct dwarf2_loclist_baton): Likewise.
2007-01-28 01:38:40 +00:00
gdbadmin
aab432b0ca
*** empty log message ***
2007-01-28 00:00:03 +00:00
Eli Zaretskii
40c03ae8b3
* cli/cli-script.c: Include breakpoint.h.
...
(build_command_line): Require arguments only for if and while commands.
(get_command_line, execute_user_command, execute_control_command):
Fix wording of warning messages.
(print_command_lines): Print breakpoint commands.
(execute_control_command): Call commands_from_control_command to
handle the `commands' command inside a body of a flow-control command.
(read_next_line): Recognize the `commands' command and build a
command line structure for it.
(recurse_read_control_structure, read_command_lines): Handle
`commands' similarly to `if' and `while'.
* breakpoint.c (get_number_trailer): Document the special meaning
of NULL as the first argument PP.
(commands_from_control_command): New function.
* breakpoint.h (commands_from_control_command): Add prototype.
* defs.h (commands_control): New enumerated value for enum
command_control_type.
2007-01-27 12:30:46 +00:00
Andreas Schwab
474d0ad39b
* gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
...
.short/.int/.quad in the dwarf sections.
* gdb.dwarf2/dw2-intercu.S: Likewise.
* gdb.dwarf2/dw2-intermix.S: Likewise.
2007-01-27 11:09:35 +00:00
gdbadmin
a0cd56b3ba
*** empty log message ***
2007-01-27 00:00:03 +00:00
Joel Brobecker
4b9eee8cc6
* ada-lang.c (ada_exception_breakpoint_ops): Fix typo in function name.
...
(ada_exception_sal): Update accordingly.
2007-01-26 21:31:06 +00:00
Jan Kratochvil
e1f48eadc1
* c-valprint.c (c_val_print): Require strings to be of no-signed CHARs.
...
* NEWS: Describe CHAR array vs. string identifcation rules.
2007-01-26 20:54:16 +00:00
Jan Kratochvil
3a60f64edd
* gdb.texinfo: Describe CHAR array vs. string identifcation rules.
2007-01-26 20:53:52 +00:00
Jan Kratochvil
e784b426e6
* gdb.base/charsign.exp, gdb.base/charsign.c: New files.
...
* gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number array.
* gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
* gdb.base/setvar.exp: Likewise.
2007-01-26 20:53:15 +00:00
Andreas Schwab
9a01813aed
* gdb.base/corefile.exp: Allow non-empty argument list in reinit
...
test.
2007-01-26 14:55:27 +00:00
Andreas Schwab
37f08e0480
* gdb.base/multi-forks.exp ("restart $i"): Also match
...
__kernel_syscall_via_break.
2007-01-26 14:53:10 +00:00
Eli Zaretskii
c582f8b627
*** empty log message ***
2007-01-26 08:57:09 +00:00
Eli Zaretskii
e22ea45271
* gdb.texinfo (Compilation, Files, Bootstrapping, Bug Reporting):
...
Use @value{NGCC} instead of @value{GCC}.
2007-01-26 08:54:01 +00:00
gdbadmin
7cc7335ab6
*** empty log message ***
2007-01-26 00:00:34 +00:00
Paul Brook
e150acc778
2007-01-25 Paul Brook <paul@codesourcery.com>
...
gdb/
* arm-tdep.c (arm_get_next_pc): Fix bitfield off-by-one error.
2007-01-25 20:17:26 +00:00
gdbadmin
c88fa7e550
*** empty log message ***
2007-01-25 00:00:02 +00:00
Jim Blandy
10fb19b6ab
2007-01-24 Jim Blandy <jimb@codesourcery.com>
...
* dwarf2loc.c (dwarf2_evaluate_loc_desc): When the location
expression is empty, bother to return the 'optimized out' value we
construct. (Thanks to Carl Burch.)
2007-01-24 22:04:48 +00:00
Vladimir Prus
85d93f1df0
* varobj.c (c_value_of_root, c_value_of_child)
...
(cplus_describe_child): Don't call release_value.
2007-01-24 19:54:13 +00:00
Thiemo Seufer
fcbd8a5cb7
* mips-linux-tdep.c (mips_linux_n64_rt_sigframe): Fix struct
...
initialization.
2007-01-24 13:37:07 +00:00
Vladimir Prus
2024f65ab8
Refactor getting children name, value and type access
...
for varobjs in C++.
* varobj.c (get_type_deref): Remove.
(adjust_value_for_child_access): New.
(c_number_of_children): Use the above.
(c_describe_child): Likewise.
(enum accessibility): New.
(match_accessibility): New function.
(cplus_describe_child): New function.
(cplus_name_of_child, cplus_value_of_child)
(cplus_type_of_child): Reimplement in terms
of cplus_describe_child.
(cplus_number_of_children): Use
adjust_value_for_child_access.
2007-01-24 11:08:47 +00:00
Vladimir Prus
6e2a9270a0
Fix computation of the 'editable' attribute and
...
value changeability for for references.
* varobj.c (get_value_type): New function.
(c_variable_editable): Use get_value_type.
(varobj_value_is_changeable): Likewise.
2007-01-24 10:49:31 +00:00
Joel Brobecker
56163ce1d3
* source.c (find_and_open_source): Try rewriting the source
...
path inside filename if dirname is NULL.
2007-01-24 00:03:15 +00:00
gdbadmin
3ba257ccb2
*** empty log message ***
2007-01-24 00:00:34 +00:00
Joel Brobecker
8c6860bbe0
* dwarf2read.c (add_partial_symbol): Create an extra partial
...
symbol in the VAR_DOMAIN for Ada structures, unions or enums.
(new_symbol): Likewise for symbols.
2007-01-23 23:57:47 +00:00