Yao Qi
08e1408309
2011-03-07 Yao Qi <yao@codesourcery.com>
...
* Makefile.in (aclocal_m4_deps): Remove gnulib/m4/memcmp.m4.
2011-03-07 11:42:54 +00:00
Joel Brobecker
c05d19c5b6
Minor reformatting in elfread.c:elf_symtab_read
...
gdb/ChangeLog:
* elfread.c (elf_symtab_read): Minor reformatting.
2011-03-07 11:13:08 +00:00
Joel Brobecker
3e6ef9e42e
minor reformatting in objc-lang.c:selectors_info
...
gdb/ChangeLog:
* objc-lang.c (selectors_info): Minor reformatting.
2011-03-07 10:41:34 +00:00
Joel Brobecker
dbb8534f73
add FALLTHROUGH comment in ada-lang.c:compare_names
...
gdb/ChangeLog:
* ada-lang.c (compare_names): Add FALLTHROUGH comment.
2011-03-07 10:05:20 +00:00
Joel Brobecker
dd70cc9388
simplify ada-valprint.c:ada_val_print_array
...
Two things:
- Move the declaration of a couple of variables inside the block
where they are actually used;
- Remove some code that checks against NULL/zero, because the
condition should always be false. Add some gdb_asserts to
make sure we never fail those assumptions.
gdb/ChangeLog:
* ada-valprint.c (ada_val_print_array): Move the declaration of
"byte_order" and "elttype" inside the block where these variables
are actually used. Remove some special handling for the case
where "elttype" and "eltlen" are null. Replace by a comment
and a couple of assertion checks.
2011-03-07 08:57:09 +00:00
H.J. Lu
acc69ddaff
Revert the last change on gas/elf/bad-size.err.
...
2011-03-06 H.J. Lu <hongjiu.lu@intel.com>
* gas/elf/bad-size.err: Revert the last change.
2011-03-07 05:42:53 +00:00
gdbadmin
c9ba9a3fa7
*** empty log message ***
2011-03-07 00:00:03 +00:00
Alan Modra
44d77c0ea0
daily update
2011-03-06 23:00:05 +00:00
Michael Snyder
4281caadcf
2011-03-05 Michael Snyder <msnyder@vmware.com>
...
* compress.c (bfd_compress_section_contents): Check for out of mem.
2011-03-06 18:37:07 +00:00
Michael Snyder
176720017d
2011-03-06 Michael Snyder <msnyder@vmware.com>
...
* elf64-x86-64.c (elf_x86_64_relocate_section): Document
that case statement falls through intentionally.
2011-03-06 18:27:03 +00:00
Michael Snyder
d59a60e937
2011-03-06 Michael Snyder <msnyder@vmware.com>
...
* elf32-i386.c (elf_i386_relocate_section): Document fall through.
2011-03-06 18:22:36 +00:00
H.J. Lu
49002d7f0e
Mention symbol name in non-constant .size expression.
...
gas/
2011-03-05 H.J. Lu <hongjiu.lu@intel.com>
* config/obj-elf.c (elf_frob_symbol): Mention symbol name in
non-constant .size expression.
gas/testsuite/
2011-03-05 H.J. Lu <hongjiu.lu@intel.com>
* gas/elf/bad-size.err: Updated.
2011-03-06 14:05:25 +00:00
Joel Brobecker
e51411190f
gdbserver: configure + make clean fails (no 'common' subdir)
...
This problem was noticed during the nightly snapshot build,
but can be reduced to:
% /path/to/gdb/gdbserver/configure
% make clean
The "make clean" fails, because it tries to do a "make clean"
in the common/ subdirectory. But the problem is that this
common/ subdirectory is NOT created during the configure phase,
but rather during the build phase. The error is fatal because
we had put the common subdirectory in the list of REQUIRED_SUBDIRS.
This fixes the problem by removing it from the REQUIRED_SUBDIRS
list.
gdb/gdbserver/ChangeLog:
* Makefile.in (REQUIRED_SUBDIRS): Remove $(LIBCOMMON_DIR).
2011-03-06 07:40:52 +00:00
Michael Snyder
b27cf2b3df
2011-03-05 Michael Snyder <msnyder@vmware.com>
...
* source.c (add_path): Replace semicolon at end of block.
* dwarf2expr.c (execute_stack_op): Ditto.
2011-03-06 01:32:47 +00:00
Mike Frysinger
5387a0c698
gdb: blackfin: enable simulator support
...
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-03-06 00:22:38 +00:00
Mike Frysinger
ef016f835f
sim: bfin: new port
...
This can boot Das U-Boot and a Linux kernel. It also supports Linux
userspace FLAT and FDPIC (dynamic and static) ELFs.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-03-06 00:20:21 +00:00
gdbadmin
7dcf22fd41
*** empty log message ***
2011-03-06 00:00:03 +00:00
Alan Modra
4b162076e8
daily update
2011-03-05 23:00:06 +00:00
Michael Snyder
82ae485463
2011-03-05 Michael Snyder <msnyder@vmware.com>
...
* dwarf2expr.c (execute_stack_op): Delete superfluous semicolon.
* mdebugread.c (parse_symbol): Ditto.
* parse.c (parse_exp_in_context): Ditto.
* source.c (add_path): Ditto.
* utils.c (gnu_debuglink_crc32): Ditto.
* varobj.c (variable_language): Ditto.
2011-03-05 22:02:47 +00:00
Michael Snyder
e3aa49afd5
2011-03-05 Michael Snyder <msnyder@vmware.com>
...
* linux-tdep.c (linux_get_siginfo_type): Stop memory leak.
2011-03-05 21:21:32 +00:00
Jan Kratochvil
dd19bd7059
* gdb.base/help.exp (help thread find): Fix one forgotten quote.
2011-03-05 13:15:02 +00:00
Ralf Wildenhues
626a5a0cb2
Guard against M4 versions with a buggy strstr.
...
config/:
* override.m4: Error out if a buggy M4 was detected, to
avoid spurious diffs in generated files.
2011-03-05 07:33:13 +00:00
H.J. Lu
61ff971fde
Revert the last change.
2011-03-05 04:31:41 +00:00
Joel Brobecker
64794aa4b4
fix make clean doesn't run in gdbserver/common
...
011-03-05 Yao Qi <yao@codesourcery.com>
* Makefile.in (CLEANDIRS, REQUIRED_SUBDIRS): New variable.
(subdir_do): New make target. Copied from gdb/Makefile.
(maintainer-clean, realclean, distclean, clean): Call corresponding
make targets in common/Makefile.
2011-03-05 03:45:26 +00:00
H.J. Lu
ac480657f1
Set x86_cie_data_alignment to -4 for x32.
...
gas/
2011-03-04 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (x86_cie_stack_alignment): New.
(md_begin): Set x86_cie_data_alignment if it isn't set. Set
x86_cie_stack_alignment.
(i386_target_format): Set x86_cie_data_alignment to -4 for x32.
(tc_x86_frame_initial_instructions): Use x86_cie_stack_alignment
instead of x86_cie_data_alignment on SP and RA.
gas/testsuite/
2011-03-04 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/ilp32/cfi/cfi-x86_64.d: Updated.
2011-03-05 02:16:36 +00:00
Michael Snyder
da3ecdc664
2011-03-04 Michael Snyder <msnyder@vmware.com>
...
* linux-fork.c (inferior_call_waitptid): Fix copy/paste error.
2011-03-05 01:12:05 +00:00
Michael Snyder
9cc8966527
2011-03-04 Michael Snyder <msnyder@vmware.com>
...
* symfile.c (simple_overlay_update): Check for null return value
from lookup_minimal_symbol.
2011-03-05 00:52:41 +00:00
Michael Snyder
cfdee94ab4
2011-03-04 Michael Snyder <msnyder@vmware.com>
...
* gdbserver/server.c (queue_stop_reply): Call xmalloc not malloc.
2011-03-05 00:21:10 +00:00
gdbadmin
6546fb77b8
*** empty log message ***
2011-03-05 00:00:33 +00:00
H.J. Lu
1715a13cc2
Report plugin symbols for --verbose=N.
...
2011-03-04 H.J. Lu <hongjiu.lu@intel.com>
* ld.texinfo: Document --verbose[=NUMBER].
* lexsup.c (ld_options): Update --verbose.
(parse_args): Set report_plugin_symbols.
* plugin.c (report_plugin_symbols): New.
(get_symbols): Report plugin symbols if report_plugin_symbols
is TRUE.
* plugin.h (report_plugin_symbols): New.
2011-03-04 23:44:01 +00:00
Alan Modra
51dc551dc2
daily update
2011-03-04 23:00:17 +00:00
Michael Snyder
154f592e0c
2011-03-04 Michael Snyder <msnyder@vmware.com>
...
* xml-syscall.c (syscall_start_syscall): Assert name is non null.
2011-03-04 21:55:45 +00:00
Thiago Jung Bauermann
63ffa6eea3
* eval.c (parse_and_eval_address_1): Remove function.
...
* linespec.c (decode_indirect): Call parse_to_comma_and_eval
instead of parse_and_eval_address_1.
* value.h (parse_and_eval_address_1): Remove prototype.
2011-03-04 20:07:22 +00:00
Michael Snyder
a17d146e2e
2011-03-04 Michael Snyder <msnyder@vmware.com>
...
* remote.c (putpkt_binary): Document that case stmt falls through.
2011-03-04 20:02:50 +00:00
Thiago Jung Bauermann
1a6a67de74
* breakpointc (print_it_typical): Move NULL check from here...
...
(print_bp_stop_message): ... to here.
2011-03-04 20:00:34 +00:00
Michael Snyder
488919c487
2011-03-04 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
...
* breakpoint.c (enable_command): Use break instead of continue,
and fill in a missing break.
(disable_command): Ditto.
2011-03-04 19:57:31 +00:00
Ulrich Weigand
1e182ce8c3
* inflow.c (terminal_init_inferior_with_pgrp): Copy ttystate.
...
(terminal_save_ours): Remove misleading comment.
(inflow_inferior_data_cleanup): Free ttystate.
(inflow_inferior_exit): Likewise.
(copy_terminal_info): Copy ttystate.
* serial.c (serial_copy_tty_state): New function.
* serial.h (serial_copy_tty_state): Add prototype.
(struct serial_ops): Add copy_tty_state callback.
* ser-base.c (ser_base_copy_tty_state): New function.
* ser-base.h (ser_base_copy_tty_state): Add prototype.
* ser-go32.c (dos_copy_tty_state): New function.
(dos_ops): Install copy_tty_state callback.
* ser-mingw.c (_initialize_ser_windows): Likewise.
* ser-pipe.c (_initialize_ser_pipe): Likewise.
* ser-unix.c (hardwire_copy_tty_state): New function.
(_initialize_ser_hardwire): Install it.
2011-03-04 19:23:42 +00:00
Michael Snyder
2abae99411
2011-03-04 Michael Snyder <msnyder@vmware.com>
...
* breakpoint.c (create_breakpoint): Add missing break statement.
2011-03-04 18:58:22 +00:00
Michael Snyder
7f5936f9fe
2011-03-04 Michael Snyder <msnyder@vmware.com>
...
Reverting this patch:
* infcall.c (call_function_by_hand): Add break statements for lint.
2011-03-04 18:31:22 +00:00
Michael Snyder
12f23c24fa
2011-03-04 Michael Snyder <msnyder@vmware.com>
...
* cplus-dem.c (ada_demangle): Stop memory leak.
Also fix a one line indent problem.
2011-03-04 18:25:32 +00:00
Michael Snyder
b2c5f112fe
2011-03-04 Michael Snyder <msnyder@vmware.com>
...
Reverting this patch:
* cli/cli-script.c (script_from_file): Add break for lint.
2011-03-04 18:20:43 +00:00
Michael Snyder
e35ea4e0fb
2011-03-04 Michael Snyder <msnyder@vmware.com>
...
* bind.c (rl_function_dumper): Free allocated memory.
2011-03-04 18:12:47 +00:00
Michael Snyder
42b1321cc8
2011-03-04 Michael Snyder <msnyder@vmware.com>
...
* solib.c (reload_shared_libraries_1): Close memory leak.
2011-03-04 18:02:54 +00:00
Yao Qi
7a76282913
2011-03-04 Yao Qi <yao@codesourcery.com>
...
* Makefile.in: Remove GNU make feature --directory.
2011-03-04 06:31:54 +00:00
Sebastian Pop
86ed8cf62c
Adjust test of with_ppl.
...
2011-03-03 Sebastian Pop <sebastian.pop@amd.com>
* configure.ac: Adjust test of with_ppl.
* configure: Regenerated.
2011-03-04 04:21:34 +00:00
Alan Modra
0e29e6e859
* archive.c (bsd_write_armap): Don't call stat in deterministic
...
mode, and don't use st_mtime if stat returns error.
2011-03-04 01:43:24 +00:00
Michael Snyder
08c135952e
2011-03-03 Michael Snyder <msnyder@vmware.com>
...
* elf64-x86-64.c (elf_x86_64_relocate_section): Remove dead code.
2011-03-04 00:38:29 +00:00
gdbadmin
b6977ef1bd
*** empty log message ***
2011-03-04 00:00:32 +00:00
Michael Snyder
d543c50d66
2011-03-03 Michael Snyder <msnyder@vmware.com>
...
* coff-x86_64.c (coff_amd64_rtype_to_howto): Fencepost error.
2011-03-03 23:49:21 +00:00
Michael Snyder
c38eb2a67d
2011-03-03 Michael Snyder <msnyder@vmware.com>
...
* aoutx.h (aout_final_link): Use sizeof int not sizeof int*.
(aout_link_write_other_symbol): Missing break statement.
2011-03-03 23:47:21 +00:00