Hui Zhu
77d7dc9283
2009-08-29 Hui Zhu <teawater@gmail.com>
...
* i386-tdep.c (i386_process_record): Fix the error of string
ops instructions's handler.
2009-08-29 05:32:16 +00:00
H.J. Lu
791f39718a
binutils/
...
2009-08-28 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.am (sysinfo$(EXEEXT_FOR_BUILD)): Replace
CFLAGS/LDFLAGS with CFLAGS_FOR_BUILD/LDFLAGS_FOR_BUILD.
(syslex.o): Likewise.
(sysinfo.o): Likewise.
(bin2c$(EXEEXT_FOR_BUILD)): Likewise.
* Makefile.in: Regenerated.
opcodes/
2009-08-28 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.am (COMPILE_FOR_BUILD): Remove BUILD_CPPFLAGS.
Replace BUILD_CFLAGS with CFLAGS_FOR_BUILD.
(LINK_FOR_BUILD): Replace BUILD_CFLAGS/BUILD_LDFLAGS with
CFLAGS_FOR_BUILD/LDFLAGS_FOR_BUILD.
* Makefile.in: Regenerated.
2009-08-29 00:41:25 +00:00
Alan Modra
d08422b334
daily update
2009-08-29 00:00:05 +00:00
gdbadmin
bbc06122ec
*** empty log message ***
2009-08-29 00:00:03 +00:00
Doug Evans
648bf66730
* top.c (execute_command): Remove redundant comment.
2009-08-28 23:26:54 +00:00
H.J. Lu
3632d14b13
gas/
...
2009-08-28 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (cpu_arch): Use PROCESSOR_L1OM on "l1om".
(i386_align_code): Handle PROCESSOR_L1OM.
(check_cpu_arch_compatible): Fix a typo in comments.
(set_cpu_arch): Check cpu_arch_isa instead of
cpu_arch_isa_flags.bitfield.cpul1om.
(i386_mach): Likewise.
(i386_target_format): Likewise.
* config/tc-i386.h (processor_type): Add PROCESSOR_L1OM.
gas/testsuite/
2009-08-28 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/l1om.d: Check elf64-l1om format.
2009-08-28 21:42:16 +00:00
Daniel Jacobowitz
4a76eae594
PR gdb/10565
...
* value.c (value_primitive_field): Do not save value_offset for
bitfields.
(unpack_bits_as_long): Do not read an entire ULONGEST.
testsuite/
PR gdb/10565
* gdb.base/bitfields.c (struct container, container): New.
(main): Initialize it and call break5.
* gdb.base/bitfields.exp (bitfield_at_offset): New test.
2009-08-28 18:50:49 +00:00
Jan Kratochvil
d4b96c9a78
gdb/
...
Support constant DW_AT_data_member_location by GCC PR debug/40659.
* dwarf2read.c
(dwarf2_add_field <DW_TAG_member> <DW_AT_data_member_location>):
Initialize BYTE_OFFSET to 0 by default. Explicitly check if
attr_form_is_block.
(dwarf2_add_field <DW_TAG_inheritance> <DW_AT_data_member_location>)
(read_common_block <DW_AT_data_member_location>): New variable
byte_offset. Fix crash on non-DW_BLOCK ATTR values.
gdb/testsuite/
Support constant DW_AT_data_member_location by GCC PR debug/40659.
* gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
2009-08-28 10:49:06 +00:00
Hui Zhu
12b1a97932
2009-08-28 Hui Zhu <teawater@gmail.com>
...
* record.c (record_list_release_next): Change the first
record_reg to record_end.
2009-08-28 02:10:18 +00:00
Alan Modra
34e39bb73e
daily update
2009-08-28 00:00:05 +00:00
gdbadmin
1af1412dea
*** empty log message ***
2009-08-28 00:00:03 +00:00
Doug Evans
725e88af6f
* value.c (free_all_values): Tweak comment.
2009-08-27 23:37:35 +00:00
Doug Evans
55333a841d
* NEWS: Add note on "info sharedlibrary".
...
Remove note on "set print symbol-loading".
* main.c (captured_main): Pass !batch for from_tty when calling
symbol_file_add_main.
* objfiles.h (objfile_has_partial_symbols): Declare.
(objfile_has_full_symbols): Declare.
* objfiles.c (objfile_has_partial_symbols): New function.
(have_partial_symbols): Use it.
(objfile_has_full_symbols): New function.
(have_full_symbols): Use it.
* solib.c: Include interps.h.
(solib_read_symbols): Back out patch of 2008-07-10.
Add test for info_verbose for symbol loading messages for
consistency with symfile.c.
(info_sharedlibrary_command): Handle optional parameter of regex of
libraries to list. Inform user of libraries without debugging info.
Rewrite to use ui_out routines to format output.
* symfile.c (print_symbol_loading): Delete.
(symbol_file_add_with_addrs_or_offsets): Back out patch of 2008-07-10.
Print "no debugging symbols found" only if from_tty || info_verbose;
and only check file being loaded, not all files.
(reread_symbols): Test file being loaded for whether it has symbols,
not all files.
(__initialize_symfile): Delete `set print symbol-loading'.
* symfile.h (print_symbol_loading): Delete.
* doc/gdb.texinfo (Symbols): Delete `set print symbol-loading'.
(Files): Add note on new optional regex arg to `info sharedlibrary'.
2009-08-27 21:56:38 +00:00
Dave Korn
b96fec5e99
* doc/binutils.texi (--only-keep-debug): Relocate stray para here ...
...
(--subsystem): ... from here.
2009-08-27 14:58:08 +00:00
Alan Modra
600b868636
PR ld/10518
...
correct changelog pr number (was 10515)
2009-08-27 13:56:55 +00:00
Jan Kratochvil
4e22772d17
gdb/
...
* varobj.c (varobj_create): Error if the specified frame was not found
and it is needed.
gdb/testsuite/
* gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
2009-08-27 06:33:25 +00:00
Ralf Wildenhues
573e8a1cd2
Do not create $(bfdlibdir) and $(bfdincludedir) if !INSTALL_LIBBFD.
...
opcodes/:
* Makefile.am (bfdlibdir, bfdincludedir): Move definition ...
[INSTALL_LIBBFD]: ... here, ...
[INSTALL_LIBBFD]: ... and empty overrides here.
[!INSTALL_LIBBFD]: (rpath_bfdlibdir): New variable.
[!INSTALL_LIBBFD] (libbfd_la_LDFLAGS): Use it.
* Makefile.in: Regenerate.
* configure: Regenerate.
bfd/:
* acinclude.m4 (AM_INSTALL_LIBBFD): Call AM_SUBST_NOTMAKE for
bfdlibdir and bfdincludedir.
* Makefile.am (bfdlibdir, bfdincludedir): Move definition ...
[INSTALL_LIBBFD]: ... here, ...
[INSTALL_LIBBFD]: ... and empty overrides here.
[!INSTALL_LIBBFD]: (rpath_bfdlibdir): New variable.
[!INSTALL_LIBBFD] (libbfd_la_LDFLAGS): Use it.
* Makefile.in: Regenerate.
* configure: Regenerate.
bfd/doc/:
* Makefile.in: Regenerate.
2009-08-27 05:24:43 +00:00
Michael Snyder
2efab443eb
2009-08-26 Michael Snyder <msnyder@vmware.com>
...
* gdb.base/i386-reverse.c: New file.
* gdb.base/i386-reverse.exp: New file.
* gdb.base/Makefile.in: Add new files to be removed.
2009-08-27 00:05:08 +00:00
gdbadmin
38d9e59d53
*** empty log message ***
2009-08-27 00:00:33 +00:00
Alan Modra
2bff125aa2
daily update
2009-08-27 00:00:05 +00:00
Michael Snyder
d691bec739
2009-08-22 Michael Snyder <msnyder@vmware.com>
...
* i386-tdep.c (i386_process_record): Break out of prefix loop
if not amd64. Otherwise inc/dec instructions are lost.
2009-08-26 23:59:19 +00:00
DJ Delorie
4e7defc130
* config/tc-mep.c (md_pcrel_from_section): Handle any other
...
forced-relocation cases.
2009-08-26 23:28:12 +00:00
Joseph Myers
07ab73a053
* gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
...
environment-pwd for remote host.
* gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
2009-08-26 19:12:17 +00:00
Ralf Wildenhues
2cbd221121
moxie fixes in gas.
...
gas/:
* Makefile.am (TARGET_CPU_CFILES): Add config/tc-moxie.c.
* config/tc-moxie.c (md_assemble): Fix typos in strings. Fix
syntax error.
* Makefile.in: Regenerate.
* po/POTFILES.in: Likewise.
* po/gas.pot: Likewise.
2009-08-26 18:27:36 +00:00
Nick Clifton
325e58c76a
* elf32-m68k.c: Rewrite initialization of GOT entries for TLS
...
relocations. Rewrite output of dynamic TLS relocations.
(DTP_OFFSET, TP_OFFSET): New constants.
(dtpoff_base): Update.
(tpoff): Rename to tpoff_base, update.
(elf_m68k_init_got_entry_static, elf_m68k_init_got_entry_local_shared):
New functions. Move code from elf_m68k_relocate_section here.
(elf_m68k_relocate_section): Update.
(elf_m68k_finish_dynamic_symbol): Fix handling of local TLS symbols.
2009-08-26 13:42:27 +00:00
Nick Clifton
e5f2b1de7c
* elf32-m68k.c (elf_m68k_copy_indirect_symbol): Propagate non_got_ref
...
value.
(elf_m68k_check_relocs): Handle dynamic TLS relocations.
Handle non_got_ref field.
(elf_m68k_adjust_dynamic_symbol): Handle non_got_ref field.
* tls-def-1.s, tls-def-1.d, tls-gd-1.d2, tls-gd-1.d3, tls-main-1.s,
* tls-main-1.d: New files.
* m68k.exp: Run new TLS tests.
2009-08-26 13:35:37 +00:00
Nick Clifton
f7922329bf
* m68k-dis.c (print_insn_arg): Add movecr register names for
...
coldfire v4e families.
2009-08-26 13:16:29 +00:00
Nick Clifton
e9e0a58e87
PR ld/10555
...
* emultempl/elf32.em (_after_open): Do not create a
.note.gnu-build-id section if there are no input files.
2009-08-26 13:08:07 +00:00
Nick Clifton
604ab327fd
* config/obj-coff-seh.c (seh_arm_write_pdata): Test for
...
seh_ctx_root being NULL.
2009-08-26 08:26:53 +00:00
Alan Modra
0666b2c367
PR ld/10515
...
* linker.c (bfd_find_version_for_sym): Revert warning.
2009-08-26 04:33:42 +00:00
Ralf Wildenhues
bc3a0b4d79
Fix confusing sentence about autoconf in gdbint.texinfo.
...
gdb/doc/:
* gdbint.texinfo (Releasing GDB): Fix confusing sentence
about autoconf.
2009-08-26 04:16:38 +00:00
Alan Modra
78a0329753
PR ld/10515
...
* linker.c (bfd_find_version_for_sym): Override a "*" match by any
other wildcard match. Warn on multiple wildcard matches.
2009-08-26 01:21:56 +00:00
Alan Modra
27b0c844fe
daily update
2009-08-26 00:00:05 +00:00
gdbadmin
3fda4e3e4d
*** empty log message ***
2009-08-26 00:00:03 +00:00
Keith Seitz
ec7f2efef8
* c-exp.y (yylex): Add cxx_only check for tokentab2 and tokentab3
...
searches.
(tokentab3): Add cxx_only for DOT_STAR.
2009-08-25 18:40:45 +00:00
Pedro Alves
3a1ff0b639
gdb/
...
* inferior.c (print_inferior): Align columns left. Remove header
for the the "current" column. Rename column "Id" to "Num".
Rename column "PID" to "Description". Print if there's no selected
inferior.
gdb/doc/
* gdb.texinfo (Debugging Multiple Inferiors): Add "info inferiors"
small example, and describe its columns. Replace "inferior-id" by
"infno" throughout.
2009-08-25 15:24:12 +00:00
Jan Kratochvil
924d6a4f7f
gdb/
...
Fix ia64 start crash when GDB built with -lmcheck.
* ia64-tdep.c (ia64_gdbarch_init): Allocate TDEP as cleared. Remove
specific clearing of TDEP SIGCONTEXT_REGISTER_ADDRESS and
PC_IN_SIGTRAMP.
2009-08-25 14:06:47 +00:00
Ralf Wildenhues
ff13a42d5c
Build cleanups in opcodes: cross-compilation and generators.
...
opcodes/:
* Makefile.am (SUBDIRS): Build '.' before 'po'.
(COMPILE_FOR_BUILD, LINK_FOR_BUILD, BUILD_LIBIBERTY)
(MOSTLYCLEANFILES, MAINTAINERCLEANFILES): New variables.
(i386-gen$(EXEEXT_FOR_BUILD)): Renamed from i386-gen, rewrite
using *BUILD variables, depend upon $(BUILD_LIBIBERTY).
(i386-gen.o): New rule.
($(srcdir)/i386-init.h): Adjust.
(i386-opc.lo): Depend on $(srcdir)/i386-tbl.h.
(ia64-gen$(EXEEXT_FOR_BUILD)): Rename from ia64-gen, adjust likewise.
(ia64-gen.o): New rule.
(ia64_asmtab_deps): New variable.
($(srcdir)/ia64-asmtab.c): Use it; adjust likewise.
(ia64-opc.lo): Depend on $(srcdir)/ia64-asmtab.c.
(s390-mkopc$(EXEEXT_FOR_BUILD)): Rename from s390-mkopc, adjust
likewise.
(s390-opc.tab): Adjust.
(z8kgen$(EXEEXT_FOR_BUILD), z8kgen.o, $(srcdir)/z8k-opc.h): New
rules.
(z8k-dis.lo): Depend on $(srcdir)/z8k-opc.h.
* Makefile.in: Regenerate.
* z8kgen.c (gas): Avoid '/*' in comment.
* z8k-opc.h (func): Regenerate.
2009-08-25 03:13:44 +00:00
Cary Coutant
293c13867a
* options.h (Command_line::Pre_options): New class.
...
(Command_line::pre_options): New member.
* options.cc (gold::options::ready_to_register): New variable.
(One_option::register_option): Do nothing if not registering options.
Assert if same short option registered twice.
(General_options::General_options): Turn off option registration when
done constructing.
(Command_line::Pre_options::Pre_options): New constructor.
2009-08-25 01:10:48 +00:00
Keith Seitz
c1af96a0c5
* c-exp.y (tokentab3): Add new token, ARROW_STAR. Changed all users.
...
(tokentab2): Add new token, DOT_STAR. Changed all users.
2009-08-25 00:23:07 +00:00
Alan Modra
36271639f5
daily update
2009-08-25 00:00:04 +00:00
gdbadmin
a9a069ecbd
*** empty log message ***
2009-08-25 00:00:03 +00:00
Cary Coutant
06a73cfe76
Fixed typo in ChangeLog.
2009-08-24 23:33:33 +00:00
Cary Coutant
f773f3d2dc
(General_options::no_keep_memory): Remove incorrect short option.
2009-08-24 23:31:45 +00:00
Keith Seitz
676accff0e
* gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
...
Add two new C++ completer tests which limit the output to a
given class.
2009-08-24 22:01:30 +00:00
Keith Seitz
95699ff037
* symtab.c (default_make_symbol_completion_list): Keep
...
':', too, so that we can limit searches in namespaces
and classes.
2009-08-24 22:00:55 +00:00
Michael Snyder
f9f7ad22a0
2009-08-24 Michael Snyder <msnyder@vmware.com>
...
* gdb.base/del.exp: Fix typo in comment.
* gdb.base/step-bt.exp: Fix cut and paste error in comment.
2009-08-24 20:27:17 +00:00
Ralf Wildenhues
d444d2baea
Sync from GCC: Update AC_PREREQ entries to 2.64.
...
/:
* configure.ac (AC_PREREQ): Bump to 2.64.
intl/:
* configure.ac (AC_PREREQ): Bump to 2.64.
libdecnumber/:
* configure.ac (AC_PREREQ): Bump to 2.64.
libiberty/:
* configure.ac (AC_PREREQ): Bump to 2.64.
2009-08-24 19:12:57 +00:00
Ralf Wildenhues
6f01793dbb
More build fixes in opcodes
...
opcodes/:
* Makefile.am (TARGET_LIBOPCODES_CFILES): New variable, taken
from $(CFILES), sorted, with dis-buf.c, dis-init.c, disassemble.c,
i386-gen.c, ia64-opc-a.c, ia64-opc-b.c, ia64-opc-f.c, ia64-opc-i.c,
ia64-opc-m.c, ia64-opc-d.c, ia64-gen.c, ia64-asmtab.c removed, and
msp430-dis.c added.
(LIBOPCODES_CFILES): New variable, adding to
TARGET_LIBOPCODES_CFILES also non-target library sources.
(CFILES): Factorize based on $(LIBOPCODES_CFILES), adding generator
files.
(ALL_MACHINES): Factorize based on $(TARGET_LIBOPCODES_CFILES).
(EXTRA_libopcodes_la_SOURCES): Use $(LIBOPCODES_CFILES).
* Makefile.in: Regenerate.
* po/POTFILES.in: Regenerate.
2009-08-24 19:05:01 +00:00
Tom Tromey
f02779d8c5
* python/python-value.c (valpy_richcompare): Don't return from
...
inside a TRY_CATCH.
2009-08-24 18:55:21 +00:00