Michael Snyder
fc133f2406
2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
...
* gdb.threads/manythreads.exp: Use $message string for
consistancy; add a default (timeout) case.
2007-03-02 22:16:06 +00:00
Michael Snyder
7646a51d49
2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
...
* gdb.base/watchpoint.exp: Fix truncated comment.
2007-03-02 22:11:15 +00:00
Michael Snyder
dcfff61f44
2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
...
* Makefile.in: Remove spurious single-quotes from sed command.
2007-03-02 18:42:40 +00:00
Daniel Jacobowitz
664e3ee9c3
* gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
...
func.
* gdb.mi/mi2-var-cmd.exp: Likewise.
2007-02-28 17:32:51 +00:00
Joel Brobecker
e26f076c67
Move dw2-producer.* from gdb.arch to gdb.dwarf2 where it was supposed to
...
be checked in.
2007-02-28 16:28:17 +00:00
Joel Brobecker
d7cc6f2f7e
* gdb.dwarf2/dw2-producer.S: New file.
...
* gdb.dwarf2/dw2-producer.exp: New testcase.
2007-02-27 23:01:17 +00:00
Nick Roberts
c0e3bc0797
*** empty log message ***
2007-02-27 21:51:57 +00:00
Nick Roberts
3fddb3adb4
* gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
...
* gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
* gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
* gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
* gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
Revert tests to use mi_gdb_test and include value field in output
of -var-create.
2007-02-27 21:45:34 +00:00
Daniel Jacobowitz
93d42b302e
* dwarf2-frame.c (dwarf2_frame_cache, dwarf2_frame_this_id)
...
(dwarf2_frame_sniffer): Update.
(dwarf2_signal_frame_this_id): New function.
(dwarf2_signal_frame_unwind): Use it.
(dwarf2_frame_base_sniffer): Use frame_unwind_address_in_block.
* frame.c (frame_func_unwind): Add this_type argument.
(get_frame_func): Update.
(frame_unwind_address_in_block): Add this_type argument and check it.
Fix a typo.
(get_frame_address_in_block): Update.
* frame.h (enum frame_type): Move higher in the file.
(frame_unwind_address_in_block, frame_func_unwind): Add enum frame_type
argument.
* alpha-mdebug-tdep.c, alpha-tdep.c, amd64-tdep.c, amd64obsd-tdep.c,
arm-tdep.c, avr-tdep.c, cris-tdep.c, frv-tdep.c, h8300-tdep.c,
hppa-tdep.c, i386-tdep.c, i386obsd-tdep.c, ia64-tdep.c,
libunwind-frame.c, m32c-tdep.c, m32r-linux-tdep.c, m32r-tdep.c,
m68hc11-tdep.c, m68k-tdep.c, m88k-tdep.c, mips-mdebug-tdep.c,
mips-tdep.c, mn10300-tdep.c, mt-tdep.c, rs6000-tdep.c, s390-tdep.c,
score-tdep.c, sh-tdep.c, sh64-tdep.c, sparc-tdep.c,
sparc64obsd-tdep.c, spu-tdep.c, v850-tdep.c, vax-tdep.c,
xstormy16-tdep.c, xtensa-tdep.c: Update calls to
frame_func_unwind and frame_unwind_address_in_block to specify
the frame type. Use frame_unwind_address_in_block instead of
frame_pc_unwind in sniffers.
* gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
2007-02-27 20:17:19 +00:00
Daniel Jacobowitz
c499ed39b6
* gdb.base/maint.exp: Remove full paths from test names.
...
* gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
2007-02-27 13:54:04 +00:00
Joel Brobecker
9836f81b1e
* gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
2007-02-27 06:43:27 +00:00
Daniel Jacobowitz
c74d0ad827
* gdb.texinfo (Monitor commands for gdbserver): New subsection.
...
* remote-utils.c (monitor_output): New function.
* server.c (debug_threads): Define here.
(monitor_show_help): New function.
(handle_query): Handle qRcmd.
(main): Do not handle 'd' packet.
* server.h (debug_threads, remote_debug, monitor_output): Declare.
* linux-low.c, spu-low.c, win32-i386-low.c: Remove definitions
of debug_threads.
* gdb.server/server-mon.exp: New test.
2007-02-26 20:10:18 +00:00
Daniel Jacobowitz
2711e4564f
* symfile.c (place_section): Check SEC_ALLOC. Do not check VMA.
...
(default_symfile_offsets): Check VMA here. Update section VMAs.
* gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
2007-02-26 20:04:38 +00:00
Daniel Jacobowitz
ff6f572f8b
* arm-tdep.c (arm_scan_prologue): Do not record FPA register saves
...
if there are no FPA registers.
(arm_dwarf_reg_to_regnum): New function.
(arm_register_type, arm_register_name): Return minimal values for
unsupported registers.
(arm_register_sim_regno): Handle iWMMXt registers.
(arm_gdbarch_init): Record missing FPA registers if indicated by
a target description. Recognize iWMMXt registers. Only register
"info float" for FPA. Use ARM_NUM_REGS. Register
arm_dwarf_reg_to_regnum.
* arm-tdep.h (enum gdb_regnum): Add ARM_NUM_REGS and iWMMXt
constants.
(struct gdbarch_tdep): Add have_fpa_registers.
* features/xscale-iwmmxt.xml: Update capitalization.
* regformats/arm-with-iwmmxt.dat: Regenerated.
* src/gdb/doc/gdb.texinfo (Standard Target Features): Mention
case insensitivity.
(ARM Features): Describe org.gnu.gdb.xscale.iwmmxt.
* gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
register capitalization.
2007-02-26 19:18:53 +00:00
Denis Pilat
fada3febe5
2007-02-13 Denis Pilat <denis.pilat@st.com>
...
* gdb.mi/mi-var-invalidate.exp: New file.
2007-02-13 08:21:00 +00:00
Daniel Jacobowitz
fb1e4ffce3
* features/Makefile, features/arm-with-iwmmxt.xml,
...
features/gdbserver-regs.xsl, features/number-regs.xsl,
features/sort-regs.xsl, features/xscale-iwmmxt.xml: New files.
* regformats/arm-with-iwmmxt.dat: Generate.
* NEWS: Mention iWMMXt.
* gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
* Makefile.in (OBS): Add $(XML_BUILTIN).
(XML_DIR, XML_TARGET, XML_FILES, XML_BUILTIN): New.
(clean): Update.
(target.xml, xml-builtin.c, stamp-xml, arm-with-iwmmxt.o)
(arm-with-iwmmxt.c): New.
* config.in, configure: Regenerate.
* configure.ac: Check for iWMMXt. Handle srv_xmltarget,
srv_xmlbuiltin, and srv_xmlfiles. Define USE_XML.
* configure.srv: Mention srv_xmltarget and srv_xmlfiles.
(arm*-*-linux*): Add iWMMXt and regset support.
* linux-arm-low.c (PTRACE_GETWMMXREGS, PTRACE_SETWMMXREGS): Define.
(arm_fill_gregset, arm_store_gregset, arm_fill_wmmxregset)
(arm_store_wmmxregset, target_regsets): New.
* server.c (get_features_xml): Take annex argument. Check builtin
XML documents.
(handle_query): Handle multiple annexes.
2007-02-08 21:39:04 +00:00
Daniel Jacobowitz
3da939d742
* tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
2007-02-08 21:14:12 +00:00
Daniel Jacobowitz
123dc83914
* Makefile.in (arm-tdep.o, eval.o, target-descriptions.o)
...
(xml-tdesc.o): Update.
* xml-support.c: Add a comment.
(gdb_xml_enums_boolean): New variable.
(gdb_xml_parse_attr_enum): Use strcasecmp.
* xml-support.h (gdb_xml_enums_boolean): Declare.
* xml-tdesc.c (struct tdesc_parsing_data): Record current_feature,
next_regnum, and current_union.
(tdesc_start_feature, tdesc_start_reg, tdesc_start_union)
(tdesc_end_union, tdesc_start_field, tdesc_start_vector)
(field_attributes, union_children, reg_attributes, union_attributes)
(vector_attributes, feature_attributes, feature_children): New.
(target_children): Make static. Add <feature>.
(tdesc_elements): Make static.
* target-descriptions.c (struct tdesc_reg, tdesc_reg_p, type_p)
(struct tdesc_feature, tdesc_feature_p): New types.
(struct target_desc): Add features member.
(struct tdesc_arch_data, tdesc_data): New.
(target_find_description): Clarify error message. Warn about
ignored register descriptions.
(tdesc_has_registers, tdesc_find_feature, tdesc_feature_name)
(tdesc_named_type, tdesc_data_init, tdesc_data_alloc)
(tdesc_data_cleanup, tdesc_numbered_register)
(tdesc_numbered_register_choices, tdesc_find_register)
(tdesc_register_name, tdesc_register_type)
(tdesc_remote_register_number, tdesc_register_reggroup_p)
(set_tdesc_pseudo_register_name, set_tdesc_pseudo_register_type)
(set_tdesc_pseudo_register_reggroup_p, tdesc_use_registers)
(tdesc_free_reg, tdesc_create_reg, tdesc_free_feature)
(tdesc_create_feature, tdesc_record_type): New.
(free_target_description): Free features.
(_initialize_target_descriptions): Initialize tdesc_data.
* arch-utils.c (default_remote_register_number): New.
* arch-utils.h (default_remote_register_number): New prototype.
* target-descriptions.h (set_tdesc_pseudo_register_name)
(set_tdesc_pseudo_register_type, set_tdesc_pseudo_register_reggroup_p)
(tdesc_use_registers, tdesc_data_alloc, tdesc_data_cleanup)
(tdesc_numbered_register, tdesc_numbered_register_choices)
(tdesc_has_registers, tdesc_find_feature, tdesc_feature_name)
(tdesc_named_type, tdesc_create_feature, tdesc_record_type)
(tdesc_create_reg): Declare.
* gdbarch.sh (remote_register_number): New entry.
* gdbarch.c, gdbarch.h: Regenerate.
* remote.c (init_remote_state): Use gdbarch_remote_register_number.
* features/gdb-target.dtd: Add feature, reg, vector, union, and field.
* arm-tdep.c (arm_register_aliases): New.
(arm_register_name_strings): Rename to...
(arm_register_names): ...this. Make const. Delete the old version.
(current_option, arm_register_byte): Delete.
(set_disassembly_style): Simplify. Do not adjust arm_register_names.
(value_of_arm_user_reg): New.
(arm_gdbarch_init): Verify any described registers. Call
tdesc_use_registers. Don't use arm_register_byte. Create aliases
for standard register names.
(_initialize_arm_tdep): Do not adjust arm_register_names.
* user-regs.c (struct user_reg): Add baton member.
(append_user_reg, user_reg_add_builtin, user_regs_init)
(user_reg_add, value_of_user_reg): Use a baton for user
register functions.
* std-regs.c: Update.
* user-regs.h (user_reg_read_ftype, user_reg_add_builtin)
(user_reg_add): Add baton argument.
* NEWS: Mention target description register support.
* features/arm-core.xml, features/arm-fpa.xml: New.
* eval.c (evaluate_subexp_standard): Allow ptype $register
when the program is not running.
* gdb.texinfo (-target-disconnect): Use @smallexample.
(Requirements): Add anchor for Expat. Update description.
(Target Descriptions): Mention Expat.
(Target Description Format): Document new elements. Use
@smallexample.
(Predefined Target Types, Standard Target Features): New sections.
* doc/gdbint.texinfo (Target Descriptions): New section.
* gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
2007-02-08 21:00:36 +00:00
Nick Roberts
1183581f7f
*** empty log message ***
2007-02-08 20:39:42 +00:00
Nick Roberts
983c9c8fbf
Update tests to include value field in output of -var-create.
...
mi/mi-cmd-var.c (mi_cmd_var_create): Add value field.
2007-02-08 20:35:08 +00:00
Daniel Jacobowitz
877e3645b4
Formatting fix.
2007-02-08 20:24:16 +00:00
Nick Roberts
43343e8bda
Update tests to include value field in output of -var-create.
...
mi/mi-cmd-var.c (mi_cmd_var_create): Add value field.
2007-02-08 19:51:14 +00:00
Nick Roberts
8760422267
*** empty log message ***
2007-02-08 19:48:31 +00:00
Andreas Schwab
3c0a296091
* gdb.mi/mi-var-child.exp: Fix matching display of function value.
2007-02-08 17:06:01 +00:00
Daniel Jacobowitz
108546a0ea
* Makefile.in (XMLFILES): New.
...
(COMMON_OBS): Add xml-builtin.o.
(xml-builtin.c, stamp-xml): New rules.
(xml-tdesc.o): Update.
* features/feature_to_c.sh: New file.
* xml-support.c (MAX_XINCLUDE_DEPTH): Define.
(struct gdb_xml_parser): Add dtd_name and is_xinclude.
(gdb_xml_start_element): Initialize scope after possibly reallocating
scopes. Move cleanup later. Handle the XInclude description
specially.
(gdb_xml_end_element): Only parse the body if there is a current element.
Call XML_DefaultCurrent if there is no element.
(gdb_xml_fetch_external_entity, gdb_xml_use_dtd): New.
(struct xinclude_parsing_data, xinclude_start_include)
(xinclude_end_include, xml_xinclude_default)
(xml_xinclude_start_doctype, xml_xinclude_end_doctype)
(xml_xinclude_xml_decl, xml_xinclude_cleanup, xinclude_attributes)
(xinclude_elements, xml_process_xincludes, fetch_xml_builtin): New.
* xml-support.h (xml_fetch_another, xml_process_xincludes)
(fetch_xml_builtin, xml_builtin, gdb_xml_use_dtd): New declarations.
* xml-tdesc.c (tdesc_parse_xml): Add fetcher_baton argument. Expand
XInclude directives. Use the compiled in DTD.
(fetch_xml_from_file): Add baton argument. Treat it as a containing
directory name. Do not warn here.
(file_read_description_xml): Update call. Warn here instead. Pass
a dirname as baton.
(fetch_available_features_from_target): New.
(target_read_description_xml): Use it.
* features/gdb-target.dtd: Add copyright notice. Use xinclude.dtd
to handle XInclude.
* features/xinclude.dtd: New file.
* gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
* gdb.texinfo (Target Description Format): Add section on XInclude.
2007-02-07 22:48:06 +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
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
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
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
Mark Kettenis
e741bf94ae
* gdb.threads/sigthread.c (NSIGS): Make bigger.
2007-01-28 16:45:35 +00:00
Mark Kettenis
4590cfcbee
Wrap long line.
2007-01-28 14:23:13 +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
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
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
Daniel Jacobowitz
e515b47028
* Makefile.in (ALL_SUBDIRS): Add gdb.xml.
...
* configure: Regenerated.
* configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
* gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
* lib/gdb.exp (gdb_skip_xml_test): New function.
2007-01-23 17:11:55 +00:00
Daniel Jacobowitz
08d8bcd7cf
From Nick Hudson:
...
* target.c (update_current_target): Correct typo.
* gdb.base/sigrepeat.exp: Correct error message.
2007-01-23 13:03:20 +00:00
Jan Kratochvil
43a9b631fc
* gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
...
gdb.arch/i386-gnu-cfi-asm.S: New files.
2007-01-21 22:41:41 +00:00
Jan Kratochvil
97c3f1f3a2
* lib/gdb.exp: Abort on missing `site.exp'.
2007-01-21 22:25:34 +00:00
Daniel Jacobowitz
cb1df416fb
2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
...
Daniel Jacobowitz <dan@codesourcery.com>
* buildsym.c (end_symtab): Use preallocated symtab if available.
Fill in SYMBOL_SYMTAB.
* buildsym.h (struct subfile): Add symtab member.
* dwarf2read.c (struct dwarf2_cu): Add line_header.
(struct file_entry): Add symtab.
(free_cu_line_header): New function.
(read_file_scope): Use it. Save line_header in the cu. Process
lines before DIEs.
(add_file_name): Initialize new symtab member.
(dwarf_decode_lines): Create symtabs for included files.
(new_symbol): Set SYMBOL_SYMTAB.
* symtab.c (lookup_symbol): Use SYMBOL_SYMTAB.
(search_symbols): Likewise.
* symtab.h (struct symbol): Add symtab member.
(SYMBOL_SYMTAB): Define.
* gdb.base/included.c, gdb.base/included.exp,
gdb.base/included.h: New files.
2007-01-21 16:49:40 +00:00
Daniel Jacobowitz
3599012060
* gdb.base/bigcore.c (RLIMIT_CAP): Define.
...
(maximize_rlimit): Reduce limits on 64-bit systems.
2007-01-20 18:33:27 +00:00
Daniel Jacobowitz
6e81a11699
Correct date on last entry.
2007-01-20 17:42:43 +00:00
Mark Kettenis
2429decf93
From Marcus Deuling <deuling@de.ibm.com>:
...
* gdb.arch/altivec-regs.exp: Initialise variable endianness in
every case.
2007-01-19 11:14:52 +00:00
Nick Roberts
18ef391a79
* gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
...
(test_path_specification): Use objdir instead of srcdir to always
get an absolute filename.
2007-01-12 21:31:35 +00:00
Nick Roberts
6c3c41f329
*** empty log message ***
2007-01-12 21:30:07 +00:00
Daniel Jacobowitz
2f12c31222
* gdb.cp/member-ptr.cc (class Padding): Make contents public.
2007-01-12 20:15:47 +00:00