Hui Zhu
7a2988756d
2010-05-14 Hui Zhu <teawater@gmail.com>
...
Michael Snyder <msnyder@vmware.com>
* linux-fork.c (gdbthread.h): New include.
(fork_info): Add parent_ptid.
(inferior_call_waitpid_cleanup, inferior_call_waitpid): New
functions.
(delete_checkpoint_command): Call inferior_call_waitpid.
(checkpoint_command): Set parent_ptid.
2010-05-14 06:38:44 +00:00
Alan Modra
e092cb30d2
PR ld/11583
...
* ldexp.c (exp_fold_tree_1): If assignment source expression is
invalid, make the destination symbol undefined.
2010-05-14 03:15:20 +00:00
Michael Snyder
6595d32bb2
2010-05-13 Michael Snyder <msnyder@vmware.com>
...
* dictionary.c: Re-indent to GNU coding standard.
2010-05-14 00:23:26 +00:00
Alan Modra
e98d11e779
daily update
2010-05-14 00:00:05 +00:00
gdbadmin
432116da31
*** empty log message ***
2010-05-14 00:00:02 +00:00
Michael Snyder
c5504eafbc
2010-05-13 Michael Snyder <msnyder@vmware.com>
...
* charset.c: White space.
* c-lang.c: White space.
* cli-out.c: White space.
* coffread.c: White space.
* complaints.c: White space.
* completer.c: White space.
* corefile.c: White space.
* corelow.c: White space.
* cp-abi.c: White space.
* cp-namespace.c: White space.
* cp-support.c: White space.
* cp-valprint.c: White space.
* c-typeprint.c: White space.
* c-valprint.c: White space.
2010-05-13 23:53:32 +00:00
Michael Snyder
cc59ec59c8
2010-05-13 Michael Snyder <msnyder@vmware.com>
...
* blockframe.c: White space.
* breakpoint.c: White space.
* buildsym.c: White space.
2010-05-13 22:44:02 +00:00
Michael Snyder
b6de9da444
2010-05-13 Michael Snyder <msnyder@vmware.com>
...
* bcache.c: White space.
2010-05-13 22:04:58 +00:00
Michael Snyder
05c547f629
2010-05-13 Michael Snyder <msnyder@vmware.com>
...
* gdbarch.sh: White space, add blank lines.
* arch-utils.c: Ditto.
* gdbarch.c: Regenerate.
2010-05-13 21:56:58 +00:00
Michael Snyder
1c4d3f9687
2010-05-13 Michael Snyder <msnyder@vmware.com>
...
* frame.c: White space, add blank lines.
2010-05-13 21:36:08 +00:00
Michael Snyder
f89b749f3c
2010-05-13 Michael Snyder <msnyder@vmware.com>
...
* stack.c: White space, add blank lines.
2010-05-13 21:24:21 +00:00
Michael Snyder
c14feecc50
2010-05-13 Michael Snyder <msnyder@vmware.com>
...
* stack.c (initialize_stack): Remove long-dead code.
2010-05-13 21:11:43 +00:00
Jan Kratochvil
a2d33775a1
gdb/
...
Code cleanup.
* dwarf2loc.c (dwarf2_evaluate_loc_desc): Change the parameter to type.
(locexpr_read_variable, loclist_read_variable): Update the callers.
2010-05-13 15:44:35 +00:00
Jan Kratochvil
33ac96f04d
gdb/
...
Code cleanup.
* dwarf2read.c (die_type, die_descriptive_type): Remove variable type.
Remove check of NULL returned by tag_type_to_type.
(die_containing_type): Remove variable type. Remove type_die variable
initialization. Remove check of NULL returned by tag_type_to_type.
2010-05-13 09:09:20 +00:00
Nathan Sidwell
bf3eeda76c
* config/tc-arm.c (md_assemble): Clarify current mode in error
...
messages about unsupported instructions.
(UT): Delete #define.
(insns): Adjust cbnz, cbz appropriately.
testsuite:
* gas/arm/armv1-bad.l: Adjust expected error text.
* gas/arm/arch7em-bad.l: Likewise.
* gas/arm/arch7m-bad.l: Likewise.
* gas/arm/thumb-w-bad.l: Likewise.
* gas/arm/arm7-bad.d: New.
* gas/arm/arm7-bad.l: New.
* gas/arm/arm7-bad.s: New.
2010-05-13 08:15:04 +00:00
Alan Modra
9e59393e69
* gas/all/gas.exp: Don't run byte test on powerpc.
2010-05-13 06:46:13 +00:00
Alan Modra
85d4ac0b3c
Correct wclr encoding.
2010-05-13 06:30:09 +00:00
Doug Kwan
da59ad79a2
2010-05-12 Doug Kwan <dougkwan@google.com>
...
elfcpp/ChangeLog
* arm.h (Tag_FP_arch, Tag_ABI_align_needed, Tag_ABI_align_preserved,
Tag_FP_HP_extension, Tag_MPextension_use_legacy): Rename from
existing tags.
(Tag_undefined40, Tag_undefined41, Tag_MPextension_use,
Tag_undefined43): New tags.
(Targ_VFP_arch, Tag_ABI_align8_needed, TAG_ABI_align8_preserved,
Tag_VFP_HP_extension): Define aliases for backward compatiblity.
gold/ChangeLog
* arm.cc (Target_arm::do_finalize_sections): Create an empty
attributes section only if there no attributes section after merging.
(Target_arm::merge_object_attributes): Move value of
Tag_MPextension_use_legacy to that of Tag_MPextension_use.
Handle Tag_DIV_use and Tag_MPextension_use_legacy.
* testsuite/Makefile.am (check_SCRIPTS): Add arm_attr_merge.sh
(check_DATA): Add arm_attr_merge_6.stdout, arm_attr_merge_6r_stdout
and arm_attr_merge_7.stdout.
(arm_attr_merge_6.stdout, arm_attr_merge_6 arm_attr_merge_6a.o
arm_attr_merge_6b.o, arm_attr_merge_6r.stdout, arm_attr_merge_6r,
arm_attr_merge_7.stdout, arm_attr_merge_7, arm_attr_merge_7a.o,
arm_attr_merge_7b.o): New rules.
(MOSTLYCLEANFILES): Add arm_attr_merge_6, arm_attr_merge_6r and
arm_attr_merge_7
* testsuite/Makefile.in: Regenerate.
* testsuite/arm_attr_merge.sh: New file.
* testsuite/arm_attr_merge_[67][ab].s: Same.
2010-05-13 02:41:15 +00:00
Alan Modra
235f101c07
daily update
2010-05-13 00:00:07 +00:00
gdbadmin
36d099ec67
*** empty log message ***
2010-05-13 00:00:04 +00:00
gdbadmin
32ecf4c853
*** empty log message ***
2010-05-12 00:00:34 +00:00
Alan Modra
4182ce15ad
daily update
2010-05-12 00:00:06 +00:00
Pierre Muller
f5a010c000
2010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
...
PR exp/11530.
* gdbtypes.c (lookup_struct_elt_type): Also lookup
names of unnamed structures or unions.
testsuite ChangeLog entry:
2010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
PR exp/11530.
* testsuite/gdb.base/gdb11530.c: New file.
* testsuite/gdb.base/gdb11530.exp: New file.
2010-05-11 22:03:04 +00:00
Pierre Muller
bf701c2c79
* procfs.c (proc_watchpoint_address): New function.
...
(procfs_stopped_by_watchpoint): Remove useless check after
find_procinfo_or_die call.
(procfs_stopped_data_address): New function.
(procfs_use_watchpoints): Register new watchpoint related function.
2010-05-11 21:55:47 +00:00
Kai Tietz
b804e4aff2
2010-05-11 Kai Tietz <kai.tietz@onevision.com>
...
* emultempl/pe.em (gld_${EMULATION_NAME}_before_parse):
Initialize pe(p)_leading_underscore variable.
(set_pe_name): Likewise.
* emultempl/pep.em: Likewise.
Additional change default to non-underscore for
pep_leading_underscore equal to -1.
2010-05-11 17:46:22 +00:00
Nick Clifton
4547cb569c
2010-05-10 Andrew Stubbs <ams@codesourcery.com>
...
gas/
* config/tc-arm.c (aeabi_set_public_attributes): Set Tag_DIV_use.
gas/testsuite/
* gas/arm/attr-cpu-directive.d: Add Tag_DIV_use.
* gas/arm/attr-default.d: Likewise.
* gas/arm/attr-march-armv1.d: Likewise.
* gas/arm/attr-march-armv2.d: Likewise.
* gas/arm/attr-march-armv2a.d: Likewise.
* gas/arm/attr-march-armv2s.d: Likewise.
* gas/arm/attr-march-armv3.d: Likewise.
* gas/arm/attr-march-armv3m.d: Likewise.
* gas/arm/attr-march-armv4.d: Likewise.
* gas/arm/attr-march-armv4t.d: Likewise.
* gas/arm/attr-march-armv4txm.d: Likewise.
* gas/arm/attr-march-armv4xm.d: Likewise.
* gas/arm/attr-march-armv5.d: Likewise.
* gas/arm/attr-march-armv5t.d: Likewise.
* gas/arm/attr-march-armv5te.d: Likewise.
* gas/arm/attr-march-armv5tej.d: Likewise.
* gas/arm/attr-march-armv5texp.d: Likewise.
* gas/arm/attr-march-armv5txm.d: Likewise.
* gas/arm/attr-march-armv6-m.d: Likewise.
* gas/arm/attr-march-armv6.d: Likewise.
* gas/arm/attr-march-armv6j.d: Likewise.
* gas/arm/attr-march-armv6k.d: Likewise.
* gas/arm/attr-march-armv6kt2.d: Likewise.
* gas/arm/attr-march-armv6t2.d: Likewise.
* gas/arm/attr-march-armv6z.d: Likewise.
* gas/arm/attr-march-armv6zk.d: Likewise.
* gas/arm/attr-march-armv6zkt2.d: Likewise.
* gas/arm/attr-march-armv6zt2.d: Likewise.
* gas/arm/attr-march-armv7-a.d: Likewise.
* gas/arm/attr-march-armv7.d: Likewise.
* gas/arm/attr-march-armv7a.d: Likewise.
* gas/arm/attr-march-iwmmxt.d: Likewise.
* gas/arm/attr-march-iwmmxt2.d: Likewise.
* gas/arm/attr-march-marvell-f.d: Likewise.
* gas/arm/attr-march-xscale.d: Likewise.
* gas/arm/attr-mcpu.d: Likewise.
* gas/arm/attr-mfpu-arm1020e.d: Likewise.
* gas/arm/attr-mfpu-arm1020t.d: Likewise.
* gas/arm/attr-mfpu-arm1136jf-s.d: Likewise.
* gas/arm/attr-mfpu-arm1136jfs.d: Likewise.
* gas/arm/attr-mfpu-arm7500fe.d: Likewise.
* gas/arm/attr-mfpu-fpa.d: Likewise.
* gas/arm/attr-mfpu-fpa10.d: Likewise.
* gas/arm/attr-mfpu-fpa11.d: Likewise.
* gas/arm/attr-mfpu-fpe.d: Likewise.
* gas/arm/attr-mfpu-fpe2.d: Likewise.
* gas/arm/attr-mfpu-fpe3.d: Likewise.
* gas/arm/attr-mfpu-maverick.d: Likewise.
* gas/arm/attr-mfpu-neon-fp16.d: Likewise.
* gas/arm/attr-mfpu-neon.d: Likewise.
* gas/arm/attr-mfpu-softfpa.d: Likewise.
* gas/arm/attr-mfpu-softvfp+vfp.d: Likewise.
* gas/arm/attr-mfpu-softvfp.d: Likewise.
* gas/arm/attr-mfpu-vfp.d: Likewise.
* gas/arm/attr-mfpu-vfp10-r0.d: Likewise.
* gas/arm/attr-mfpu-vfp10.d: Likewise.
* gas/arm/attr-mfpu-vfp3.d: Likewise.
* gas/arm/attr-mfpu-vfp9.d: Likewise.
* gas/arm/attr-mfpu-vfpv2.d: Likewise.
* gas/arm/attr-mfpu-vfpv3-d16.d: Likewise.
* gas/arm/attr-mfpu-vfpv3.d: Likewise.
* gas/arm/attr-mfpu-vfpv4-d16.d: Likewise.
* gas/arm/attr-mfpu-vfpv4.d: Likewise.
* gas/arm/attr-mfpu-vfpxd.d: Likewise.
* gas/arm/attr-order.d: Likewise.
* gas/arm/attr-override-cpu-directive.d: Likewise.
* gas/arm/attr-override-mcpu.d: Likewise.
* gas/arm/eabi_attr_1.d: Likewise.
ld/testsuite/
* ld-arm/attr-merge-2.attr: Add Tag_DIV_use.
* ld-arm/attr-merge-2a.s: Likewise.
* ld-arm/attr-merge-2b.s: Likewise.
* ld-arm/attr-merge-3a.s: Likewise.
* ld-arm/attr-merge-3b.s: Likewise.
* ld-arm/attr-merge-4.attr: Likewise.
* ld-arm/attr-merge-5.attr: Likewise.
* ld-arm/attr-merge-6.attr: Likewise.
* ld-arm/attr-merge-7.attr: Likewise.
* ld-arm/attr-merge-arch-1.attr: Likewise.
* ld-arm/attr-merge-arch-2.attr: Likewise.
* ld-arm/attr-merge-unknown-2.d: Likewise.
* ld-arm/attr-merge-unknown-2r.d: Likewise.
* ld-arm/attr-merge-unknown-3.d: Likewise.
* ld-arm/attr-merge-vfp-1.d: Likewise.
* ld-arm/attr-merge-vfp-1r.d: Likewise.
* ld-arm/attr-merge-vfp-2.d: Likewise.
* ld-arm/attr-merge-vfp-2r.d: Likewise.
* ld-arm/attr-merge-vfp-3.d: Likewise.
* ld-arm/attr-merge-vfp-3r.d: Likewise.
* ld-arm/attr-merge-vfp-4.d: Likewise.
* ld-arm/attr-merge-vfp-4r.d: Likewise.
* ld-arm/attr-merge-vfp-5.d: Likewise.
* ld-arm/attr-merge-vfp-5r.d: Likewise.
* ld-arm/attr-merge-wchar-00-nowarn.d: Likewise.
* ld-arm/attr-merge-wchar-00.d: Likewise.
* ld-arm/attr-merge-wchar-02-nowarn.d: Likewise.
* ld-arm/attr-merge-wchar-02.d: Likewise.
* ld-arm/attr-merge-wchar-04-nowarn.d: Likewise.
* ld-arm/attr-merge-wchar-04.d: Likewise.
* ld-arm/attr-merge-wchar-20-nowarn.d: Likewise.
* ld-arm/attr-merge-wchar-20.d: Likewise.
* ld-arm/attr-merge-wchar-22-nowarn.d: Likewise.
* ld-arm/attr-merge-wchar-22.d: Likewise.
* ld-arm/attr-merge-wchar-24-nowarn.d: Likewise.
* ld-arm/attr-merge-wchar-40-nowarn.d: Likewise.
* ld-arm/attr-merge-wchar-40.d: Likewise.
* ld-arm/attr-merge-wchar-42-nowarn.d: Likewise.
* ld-arm/attr-merge-wchar-44-nowarn.d: Likewise.
* ld-arm/attr-merge-wchar-44.d: Likewise.
* ld-arm/attr-merge.attr: Likewise.
2010-04-07 Jie Zhang <jie@codesourcery.com>
gas/
* config/tc-arm.c (aeabi_set_public_attributes): Set
Tag_ABI_HardFP_use to 1 if a single precision FPU is selected.
gas/testsuite/
* gas/arm/attr-mfpu-vfpxd.d: New test.
bfd/
* elf32-arm.c (elf32_arm_merge_eabi_attributes): Merge
Tag_ABI_HardFP_use correctly.
ld/testsuite/
* ld-arm/attr-merge-vfp-6.d: New test.
* ld-arm/attr-merge-vfp-6r.d: New test.
* ld-arm/attr-merge-vfpv3xd.s: New test.
* ld-arm/arm-elf.exp: Add attr-merge-vfp-6 and attr-merge-vfp-6r.
2010-05-11 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
* arm-dis.c (thumb_opcodes): Update ldmia entry to use new %W
format.
(print_insn_thumb16): Add support for new %W format.
* gas/arm/thumb32.d: Fix expected disassembly of ldmia
instruction.
2010-05-11 17:36:33 +00:00
Tom Tromey
d02691ef9a
* eval.c (evaluate_subexp_standard): Revert inadvertent change.
2010-05-11 16:54:28 +00:00
Joel Sherrill
941100245a
2010-04-20 Tiemen Schut <T.Schut@sron.nl>
...
* erc32.c (sis_memory_write): Change prototype to const unsigned char *.
* func.c (exec_cmd, event, advance_time, wait_for_irq): Use uint64
for counts.
* interf.c (run_sim): Change icount to uint64_t. Use strtol directly.
(sim_resume): Specify maximum run time as uint64.
* sis.c (run_sim): Change icount to uint64_t.
* sis.h: Define uint64 as uint64_t. Change various fields and
prototypes to uint64 to support longer simulations.
2010-05-11 14:18:20 +00:00
Alan Modra
3390ce3004
* coffcode.h (coff_write_object_contents): Enclose all occurrences
...
of hasdebug and is_reloc_section in #ifdef COFF_IMAGE_WITH_PE.
2010-05-11 04:42:10 +00:00
gdbadmin
9d9b811621
*** empty log message ***
2010-05-11 00:00:09 +00:00
Alan Modra
728398ef2b
daily update
2010-05-11 00:00:08 +00:00
Michael Snyder
e0627e85b1
2010-05-10 Michael Snyder <msnyder@vmware.com>
...
* utils.c: White space cleanup.
2010-05-10 20:58:00 +00:00
Tom Tromey
cc73bb8c7a
* eval.c (ptrmath_type_p): Add 'lang' argument.
...
(evaluate_subexp_standard): Update.
(evaluate_subexp_with_coercion): Update.
* language.h (CAST_IS_CONVERSION): Add 'LANG' argument.
2010-05-10 20:20:21 +00:00
Michael Snyder
c02866a09f
2010-05-10 Michael Snyder <msnyder@vmware.com>
...
* utils.c (do_fclose_cleanup) Restore local variable.
2010-05-10 17:26:36 +00:00
Alan Modra
862edab9b7
daily update
2010-05-10 00:00:05 +00:00
gdbadmin
d46835f770
*** empty log message ***
2010-05-10 00:00:03 +00:00
Doug Evans
06280d23c6
* record.c (init_record_core_ops): Rename record_core to record-core.
2010-05-09 20:04:52 +00:00
Alan Modra
f324cecf67
daily update
2010-05-09 00:00:06 +00:00
gdbadmin
56839c8495
*** empty log message ***
2010-05-09 00:00:03 +00:00
Joel Brobecker
fa07e785f2
Implement task switching on pa-hpux.
...
gdb/ChangeLog:
* inf-ttrace.c (inf_ttrace_get_ada_task_ptid): New function.
(inf_ttrace_target): Set t->to_get_ada_task_ptid.
2010-05-08 18:23:42 +00:00
Pierre Muller
4c680d1d4c
* valops.c (find_overload_match): Add missing i18n markup.
2010-05-08 09:26:47 +00:00
Pierre Muller
28e176a623
* p-exp.y (exp : SIZEOF '(' exp ')'): New rule.
2010-05-08 09:18:02 +00:00
Jan Kratochvil
48cb83fdd0
gdb/
...
* dwarf2read.c (typename_concat): Use (char *) NULL terminated stdarg
list for the obconcat call.
* mdebugread.c (parse_symbol): Likewise.
* stabsread.c (define_symbol, read_member_functions, read_cpp_abbrev):
Likewise.
* symfile.c (obconcat): Replace the s1, s2 and s3 parameters by `...'.
New variable ap. Remove variables len and val.
* symfile.h (obconcat): Likewise for the prototype.
2010-05-08 04:58:45 +00:00
Jan Kratochvil
8ef4892fb6
gdb/testsuite/
...
* gdb.dwarf2/dw2-modula2-self-type.exp: New.
* gdb.dwarf2/dw2-modula2-self-type.S: New.
2010-05-08 04:55:32 +00:00
Alan Modra
0a7fa8bc44
daily update
2010-05-08 00:00:05 +00:00
gdbadmin
9827512048
*** empty log message ***
2010-05-08 00:00:03 +00:00
Michael Snyder
f92adf3ccc
2010-05-07 Michael Snyder <msnyder@vmware.com>
...
* python/python.c (execute_gdb_command): Remove unused variables.
* python/py-block.c (gdbpy_block_for_pc): Remove unused variable.
* python/py-breakpoint.c (gdbpy_breakpoint_created):
Remove unused variable.
* python/py-cmd.c (cmdpy_function): Remove unused variable.
(cmdpy_completer): Remove unused variable.
* python/py-frame.c (frapy_find_sal): Remove unused variable.
* python/py-function.c (fnpy_call): Remove unused variable.
* python/py-objfile.c (objfile_to_objfile_object):
Remove unused variable.
* python/py-param.c (parmpy_init): Remove unused variable.
* python/py-prettyprint.c (apply_varobj_pretty_printer):
Remove unused variable.
(gdbpy_default_visualizer): Remove unused variable.
* python/py-progspace.c (pspace_to_pspace_object):
Remove unused variable.
* python/py-symtab.c (symtab_and_line_to_sal_object):
Remove unused variable.
* python/py-type.c (typy_template_argument):
Remove unused variable.
* python/py-value.c (valpy_string): Remove unused variable.
(convert_value_from_python): Remove unused variables.
2010-05-07 19:26:30 +00:00
Michael Snyder
d160942fa5
2010-05-07 Michael Snyder <msnyder@vmware.com>
...
* valops.c (value_cast_pointers): Restore unused variable 'type1',
and use it to compute variable 't1'.
2010-05-07 18:49:27 +00:00
Daniel Jacobowitz
92750f34a6
bfd/
...
* elf32-arm.c (struct a8_erratum_reloc): Add hash member. Move
sym_name to improve packing.
(cortex_a8_erratum_scan): Check for PLT entries.
(elf32_arm_size_stubs): Save the target symbol for a8 relocs.
ld/testsuite/
* ld-arm/cortex-a8-fix-bl-rel-plt.d: New file.
* ld-arm/arm-elf.exp (armelftests): Run cortex-a8-fix-bl-rel-plt.d.
2010-05-07 18:24:48 +00:00
Joel Brobecker
63db82b293
Fix formatting.
2010-05-07 16:07:32 +00:00