OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
13 years ago * peXXigen.c: Whitespace.
amodra [Mon, 6 Sep 2010 23:55:09 +0000 (23:55 +0000)]
* peXXigen.c: Whitespace.
(pe_print_idata): Correct section limit calculations.  Tidy array
indexing.
(_bfd_XX_print_ce_compressed_pdata): Don't leak memory.

13 years agogdb/testsuite/
jkratoch [Mon, 6 Sep 2010 15:48:34 +0000 (15:48 +0000)]
gdb/testsuite/
* gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
(test_float_rejected): ... here.
* gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
(test_float_rejected): ... here.
* gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
(test_float_rejected): ... here.
* gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
(test_float_rejected): ... here.

13 years agoSync bootstrap-lto.mk and dfp.m4 with gcc.
hjl [Mon, 6 Sep 2010 15:46:08 +0000 (15:46 +0000)]
Sync bootstrap-lto.mk and dfp.m4 with gcc.

13 years ago2010-09-06 Yao Qi <yao@codesourcery.com>
qiyao [Mon, 6 Sep 2010 15:15:50 +0000 (15:15 +0000)]
2010-09-06  Yao Qi  <yao@codesourcery.com>

* linux-low.c (linux_kill): Remove unused variable.
(linux_stabilize_threads): Likewise.
* server.c (start_inferior): Likewise.
(queue_stop_reply_callback): Likewise.
* tracepoint.c (do_action_at_tracepoint): Likewise.

13 years ago2010-09-06 Yao Qi <yao@codesourcery.com>
qiyao [Mon, 6 Sep 2010 15:10:15 +0000 (15:10 +0000)]
2010-09-06  Yao Qi  <yao@codesourcery.com>

* linux-low.c (maybe_move_out_of_jump_pad): Restore current_inferior
on return.

13 years ago * new-features.sgml (ov-new1.7.8): Document /proc/sys.
corinna [Mon, 6 Sep 2010 14:42:30 +0000 (14:42 +0000)]
* new-features.sgml (ov-new1.7.8): Document /proc/sys.

13 years ago * infrun.c (resume): Extend comment on ignoring single-step
palves [Mon, 6 Sep 2010 14:22:07 +0000 (14:22 +0000)]
* infrun.c (resume): Extend comment on ignoring single-step
requests on vfork parents waiting for a vfork-done.

13 years agogdb/
jkratoch [Mon, 6 Sep 2010 13:59:00 +0000 (13:59 +0000)]
gdb/
* corelow.c (core_open): Use target_signal_from_host if CORE_GDBARCH
is NULL.
* fork-child.c (startup_inferior) <resume_signal>: Use enum
target_signal type.
* linux-nat.c (linux_nat_resume): Use target_signal_to_host before
calling strsignal.  Use enum target_signal type for saved_signo.
(linux_handle_extended_wait) <signo>: Use enum target_signal type.
(linux_nat_wait_1): Use enum target_signal type for signo.  Use
target_signal_to_host before calling strsignal.
* remote-m32r-sdi.c (m32r_wait, m32r_detach): Replace 0 by
TARGET_SIGNAL_0.

gdb/gdbserver/
* target.c (mywait) <TARGET_WAITKIND_EXITED>: Fix to use INTEGER.

13 years agogdb/
jkratoch [Mon, 6 Sep 2010 13:34:01 +0000 (13:34 +0000)]
gdb/
* common/signals.c (ANY): Remove.
(SET): No longer use ANY.

include/gdb/
* signals.def: Replace all ANY uses by SET with specific numbers.
* signals.h (ANY): Remove.

13 years ago2010-09-06 Yao Qi <yao@codesourcery.com>
qiyao [Mon, 6 Sep 2010 13:10:27 +0000 (13:10 +0000)]
2010-09-06  Yao Qi  <yao@codesourcery.com>

* infrunc(resume): When inferior is waiting_for_vfork_done,
clear step and don't use displaced stepping.

13 years ago * Makefile.in (install-only): Replace $IPA_DEPFILES with
palves [Mon, 6 Sep 2010 10:43:58 +0000 (10:43 +0000)]
* Makefile.in (install-only): Replace $IPA_DEPFILES with
"$(IPA_DEPFILES)".

13 years ago * cygpath.cc (RtlEqualUnicodePathPrefix): New helper function.
corinna [Mon, 6 Sep 2010 09:48:54 +0000 (09:48 +0000)]
* cygpath.cc (RtlEqualUnicodePathPrefix): New helper function.
(HARDDISK_PREFIX): Move.
(GLOBALROOT_PREFIX): Define.
(get_device_name): Take GLOBALROOT_PREFIX into account.
Improve check for path to allow filesystem access via block devices.
Potentially drop \\.\ prefix if resulting path is a valid DOS
pathname.
(do_pathconv): Make sure to drop \\?\ prefix only if path is
actually a filesystem based path.
(print_version): Fix copyright.

13 years ago * Makefile.in (DLL_OFILES): Add fhandler_procsys.o.
corinna [Mon, 6 Sep 2010 09:47:00 +0000 (09:47 +0000)]
* Makefile.in (DLL_OFILES): Add fhandler_procsys.o.
* devices.h (enum fh_devices): Add FH_PROCSYS.
* devices.in (dev_procsys_storage): New device.
* devices.cc: Regenerate.
* dtable.cc (build_fh_pc): Add code to allocate fhandler_procsys.
* fhandler.h (proc_len): Convert to size_t.
(procsys): Declare.
(procsys_len): Declare.
(enum virtual_ftype_t): Move here from fhandler_virtual.h.
Add members supported by fhandler_procsys.
(fhandler_virtual::exists): Return virtual_ftype_t.  Change
in all derived classes.
(class fhandler_procsys): New class.
(fhandler_union): Add fhandler_procnet and fhandler_procsys members.
* fhandler_disk_file.cc (__DIR_mounts::check_missing_mount): Use
ro_u_proc.
(fhandler_base::fstat_by_handle): Don't copy attributes if file is an
NT device.
(fhandler_base::fstat_by_name): Ditto.
* fhandler_netdrive.cc (fhandler_netdrive::exists): Return
virtual_ftype_t.
* fhandler_proc.cc (proc_tab): Sort alphabetically.  Use _VN macro
to store length.
(proc_len): Change to size_t.
(proc_tab_cmp): New static function.
(virt_tab_search): New function to search entry in virt_tab_t
arrays.  Use throughout in /proc and sibling classes instead of
loop.
(fhandler_proc::exists): Return virtual_ftype_t.
* fhandler_process.cc (process_tab): Sort alphabetically.  Use _VN
macro to store length.
(fhandler_process::exists): Return virtual_ftype_t.
(fhandler_process::open): Simplify code.
* fhandler_procnet.cc (procnet_tab): Sort alphabetically.  Use _VN
macro to store length.
(fhandler_procnet::exists): Return virtual_ftype_t.
(fhandler_procnet::open): Simplify.
* fhandler_procsys.cc: New file.
* fhandler_registry.cc (fhandler_registry::exists): Return
virtual_ftype_t.
* fhandler_virtual.cc (fhandler_virtual::exists): Ditto.
* fhandler_virtual.h (enum virtual_ftype_t): Move to fhandler.h.
(virt_tab_t): Add name_len member.
(_VN): New macro.
(virt_tab_search): Declare.
* mount.cc (mount_info::conv_to_win32_path): Fix comment.  Backslashify
isprocsys_dev paths.
* ntdll.h (STATUS_OBJECT_TYPE_MISMATCH): Define
(STATUS_INSTANCE_NOT_AVAILABLE): Define.
(STATUS_PIPE_NOT_AVAILABLE): Define.
(STATUS_INVALID_PIPE_STATE): Define.
(STATUS_PIPE_BUSY): Define.
(SYMBOLIC_LINK_QUERY): Define.
(NtOpenSymbolicLinkObject): Declare.
(NtQuerySymbolicLinkObject): Declare.
* path.cc (path_conv::check): Accommodate fact that exists method
returns virtual_ftype_t now.  Add cases for new virtual_ftype_t
types.
(cygwin_conv_path): Add GLOBALROOT prefix to native device paths.
Make sure to strip \\?\ prefix only for actual filesystem-based
paths, not for all paths.
* path.h (isproc_dev): Add FH_PROCSYS.
(isprocsys_dev): Define.

13 years agodaily update
amodra [Mon, 6 Sep 2010 00:00:05 +0000 (00:00 +0000)]
daily update

13 years ago*** empty log message ***
gdbadmin [Mon, 6 Sep 2010 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

13 years ago*** empty log message ***
gdbadmin [Sun, 5 Sep 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

13 years agodaily update
amodra [Sun, 5 Sep 2010 00:00:05 +0000 (00:00 +0000)]
daily update

13 years ago * breakpoint.c (can_use_hardware_watchpoint): Handle the first
drow [Sat, 4 Sep 2010 15:30:00 +0000 (15:30 +0000)]
* breakpoint.c (can_use_hardware_watchpoint): Handle the first
value specially.

testsuite/
* gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
before disabling hardware watchpoints.
(test_inaccessible_watchpoint): Check that hardware watchpoints
are used.  Test for watchpoints on a constant address.

13 years agogdb/
jkratoch [Sat, 4 Sep 2010 14:27:43 +0000 (14:27 +0000)]
gdb/
Code cleanup - split print_stop_reason.
* infrun.c (enum inferior_stop_reason): Remove.
(print_stop_reason): Remove by splitting into ...
(print_exited_reason, print_signal_exited_reason)
(print_no_history_reason, print_signal_received_reason)
(print_end_stepping_range_reason): ... these new functions.  Update
the preceding comment.
(handle_inferior_event): Change the calls to print_exited_reason,
print_signal_exited_reason, print_no_history_reason,
print_signal_received_reason, print_end_stepping_range_reason.
(handle_step_into_function, handle_step_into_function_backward):
Change the calls to print_end_stepping_range_reason.

13 years ago * mount.cc (mount_info::from_fstab_line): Reorder to make sure all
corinna [Sat, 4 Sep 2010 08:44:58 +0000 (08:44 +0000)]
* mount.cc (mount_info::from_fstab_line): Reorder to make sure all
mounts from user fstab are user mounts.
(mount): Make sure all mounts are user mounts, even those added via
mount -a.

13 years ago*** empty log message ***
gdbadmin [Sat, 4 Sep 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

13 years agodaily update
amodra [Sat, 4 Sep 2010 00:00:05 +0000 (00:00 +0000)]
daily update

13 years agoCheck flag_code instead of use_rela_relocations for 64bit.
hjl [Fri, 3 Sep 2010 17:38:36 +0000 (17:38 +0000)]
Check flag_code instead of use_rela_relocations for 64bit.

gas/

2010-09-03  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/11974
* config/tc-i386.c (i386_finalize_immediate): Check flag_code
instead of use_rela_relocations for 64bit.

gas/testsuite/

2010-09-03  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/11974
* gas/i386/immed64.s: Add more movabs tests.
* gas/i386/immed64.d: Updated.

13 years agobinutils/
jkratoch [Fri, 3 Sep 2010 15:54:30 +0000 (15:54 +0000)]
binutils/
* dwarf.c (regname): New declaration.
(decode_location_expression): Print for registers also regname output.

binutils/testsuite/
* binutils-all/objdump.W: Update DW_OP_reg5 expected output.

gas/testsuite/
* gas/elf/dwarf2-1.d: Update DW_OP_reg5 expected output.
* gas/elf/dwarf2-2.d: Likewise.
* gas/i386/dw2-compress-1.d: Likewise.

13 years agogdb/
jkratoch [Fri, 3 Sep 2010 15:41:59 +0000 (15:41 +0000)]
gdb/
* breakpoint.c (save_breakpoints): Use RETURN_MASK_ALL.
* cli-out.c: Include vec.h.
(cli_field_fmt, cli_spaces, cli_text, cli_message, cli_flush): New
variable stream, initialize it, use it.
(cli_redirect): New function comment.  Replace the stream and
original_stream fields by the new streams field.  Remove the
original_stream != NULL conditional, assert error on NULL instead.
(out_field_fmt, field_separator): New variable stream, initialize it, use it.
(cli_out_data_ctor): Assert non-NULL stream.  Replace the stream and
original_stream fields by the new streams field.
(cli_out_set_stream): Replace the stream field by the new streams
field.
* cli-out.h: Include vec.h.
(ui_filep): New typedef, call DEF_VEC_P for it.
(struct cli_ui_out_data): Replace the stream and original_stream
fields by the new streams field.
* cli/cli-logging.c (set_logging_redirect): Call ui_out_redirect with
NULL first.  Extend the comment.
(handle_redirections): Call ui_out_redirect with output.
* python/py-breakpoint.c (bppy_get_commands): Move ui_out_redirect
calls outside of the TRY_CATCH block.

gdb/testsuite/
* gdb.base/ui-redirect.exp: New file.

13 years ago * gas/cfi/cfi-i386.d: Use objdump -Wf instead of readelf.
rth [Fri, 3 Sep 2010 14:57:55 +0000 (14:57 +0000)]
    * gas/cfi/cfi-i386.d: Use objdump -Wf instead of readelf.
        * gas/cfi/cfi-i386.s: Remove .type directives.
        * gas/cfi/reloc-pe-i386.d: Adjust test for i386.

13 years agolibdecnumber/
krebbel [Fri, 3 Sep 2010 13:30:58 +0000 (13:30 +0000)]
libdecnumber/

2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

    * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
    * Makefile.in: Add aclocal.m4 dependency to dfp.m4.
    * configure: Regenerate.
    * aclocal.m4: Regenerate.
config/

2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

    * dfp.m4: New file.

13 years agoGDB 7.2 released.
gdbadmin [Fri, 3 Sep 2010 01:29:09 +0000 (01:29 +0000)]
GDB 7.2 released.

13 years agodaily update
amodra [Fri, 3 Sep 2010 00:00:05 +0000 (00:00 +0000)]
daily update

13 years ago*** empty log message ***
gdbadmin [Fri, 3 Sep 2010 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

13 years agoSelect 32-bit pei for 64-bit pei configurations.
rth [Thu, 2 Sep 2010 22:54:41 +0000 (22:54 +0000)]
Select 32-bit pei for 64-bit pei configurations.

13 years agoBack out the change introducing the "record pic" feature.
brobecke [Thu, 2 Sep 2010 22:52:05 +0000 (22:52 +0000)]
Back out the change introducing the "record pic" feature.

gdb/ChangeLog:

Back out the following change:
| 2010-06-29  Hui Zhu  <teawater@gmail.com>
| * record.c (set_record_pic_cmdlist,
| show_record_pic_cmdlist): New variables.
| (set_record_pic_command,
| show_record_pic_command): New functions.
| (record_pic_function, record_pic_line, record_pic_enum,
| set_record_pic_type, record_pic_hide_nofunction,
| record_pic_hide_nosource, record_pic_hide_same): New variables.
| (record_pic_fputs): New function.
| (function_list, node_list, edge_list): New struct.
| (function_list, node_list, edge_list): New variables.
| (record_pic_cleanups, record_pic_node,
| record_pic_edge, cmd_record_pic): New functions.
| (_initialize_record): Add new commands for record pic.

13 years ago * gas/cfi/reloc-pe-i386.d, gas/cfi/reloc-pe-i386.s: New test.
rth [Thu, 2 Sep 2010 22:44:09 +0000 (22:44 +0000)]
* gas/cfi/reloc-pe-i386.d, gas/cfi/reloc-pe-i386.s: New test.

13 years ago * dw2gencfi.c (TC_DWARF2_EMIT_OFFSET): Provide default.
rth [Thu, 2 Sep 2010 22:43:44 +0000 (22:43 +0000)]
* dw2gencfi.c (TC_DWARF2_EMIT_OFFSET): Provide default.
(output_fde): Use it.  Make sure to fully init exp before using it.
testsuite/
* gas/cfi/cfi-common-1.d: Use objdump instead of readelf to dump.
* gas/cfi/cfi-common-2.d, gas/cfi/cfi-common-3.d,
gas/cfi/cfi-common-4.d, gas/cfi/cfi-common-6.d,
gas/cfi/cfi-common-7.d, gas/cfi/cfi-x86_64.d: Likewise.
* gas/cfi/cfi-x86_64.s: Remove .type directives.
* gas/cfi/cfi.exp: Run for pecoff objects too.
* gas/cfi/reloc-pe-i386.d, gas/cfi/reloc-pe-i386.s: New test.

13 years ago * dwarf.c (init_dwarf_regnames_i386, init_dwarf_regnames_x86_64): New.
rth [Thu, 2 Sep 2010 22:35:18 +0000 (22:35 +0000)]
* dwarf.c (init_dwarf_regnames_i386, init_dwarf_regnames_x86_64): New.
(init_dwarf_regnames): Use them.
* dwarf.h: Declare them.
* objdump.c (dump_dwarf): Use bfd_get_arch + bfd_get_mach to set up
the regnames, rather than using elf_machine_code.

13 years ago * objdump.c (dump_dwarf): Use bfd_arch_bits_per_address.
rth [Thu, 2 Sep 2010 21:34:21 +0000 (21:34 +0000)]
    * objdump.c (dump_dwarf): Use bfd_arch_bits_per_address.

13 years agoFix ChangeLog entries cli-logging.c -> cli/cli-logging.c .
jkratoch [Thu, 2 Sep 2010 18:40:12 +0000 (18:40 +0000)]
Fix ChangeLog entries cli-logging.c -> cli/cli-logging.c .

13 years ago * config.in, configure: Regenerated.
drow [Thu, 2 Sep 2010 17:12:32 +0000 (17:12 +0000)]
* config.in, configure: Regenerated.
* configure.ac: Check for waitpid.
* ser-pipe.c (pipe_close): Wait for the program to exit.

13 years agogdb/
jkratoch [Thu, 2 Sep 2010 15:42:01 +0000 (15:42 +0000)]
gdb/
* cli-logging.c: Include gdb_assert.h.
(set_logging_overwrite): New function.
(logging_redirect): New comment.
(logging_no_redirect_file, set_logging_redirect)
(pop_output_files) <logging_no_redirect_file>: New.
(handle_redirections) <!logging_redirect>: New variable
no_redirect_file.  Remove file autoclose for tee_file_new.  No longer
discard cleanup for the close of former OUTPUT.  Set
LOGGING_NO_REDIRECT_FILE.
(handle_redirections) <logging_redirect>: gdb_assert
LOGGING_NO_REDIRECT_FILE.
(show_logging_command) <logging_redirect handling>: Adjust messages
for SAVED_FILENAME not NULL.
(_initialize_cli_logging): Install set_logging_overwrite and
set_logging_redirect.

13 years agoAdd test for -file-list-exec-source-files
brobecke [Thu, 2 Sep 2010 15:19:56 +0000 (15:19 +0000)]
Add test for -file-list-exec-source-files

gdb/testsuite/ChangeLog:

        * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.

13 years agogdb/
jkratoch [Thu, 2 Sep 2010 14:00:21 +0000 (14:00 +0000)]
gdb/
* iq2000-tdep.c (iq2000_scan_prologue): Initialize SAL.END.

13 years agogdb/
jkratoch [Thu, 2 Sep 2010 13:58:04 +0000 (13:58 +0000)]
gdb/
* Makefile.in (GDB_WARN_CFLAGS_NO_FORMAT): Convert it to the no- form.
(monitor.o): Replace $(INTERNAL_WARN_CFLAGS) by $(INTERNAL_CFLAGS) and
add $(GDB_WARN_CFLAGS_NO_FORMAT).
(printcmd.o): Replace $(INTERNAL_CFLAGS_BASE) by $(INTERNAL_CFLAGS).

13 years ago* sigoproc.cc (sigproc_init): Use American spelling in comment.
cgf [Thu, 2 Sep 2010 05:34:00 +0000 (05:34 +0000)]
* sigoproc.cc (sigproc_init): Use American spelling in comment.

13 years ago2010-09-02 Yao Qi <yao@codesourcery.com>
qiyao [Thu, 2 Sep 2010 01:19:31 +0000 (01:19 +0000)]
2010-09-02  Yao Qi  <yao@codesourcery.com>

        * linux-nat.c (status_to_str): Use WTERMSIG to extract the signal
        number from a WIFSIGNALED status.

13 years ago*** empty log message ***
gdbadmin [Thu, 2 Sep 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

13 years agodaily update
amodra [Thu, 2 Sep 2010 00:00:06 +0000 (00:00 +0000)]
daily update

13 years ago * symtab.h (lookup_type_symbol): Declare.
tromey [Wed, 1 Sep 2010 21:50:24 +0000 (21:50 +0000)]
* symtab.h (lookup_type_symbol): Declare.
* symtab.c (lookup_symbol_in_language_full): Rename from
lookup_symbol_in_language.  Add 'for_type' argument.
(lookup_symbol_in_language): New function.
(lookup_type_symbol): Likewise.
(lookup_symbol_aux): Add 'for_type' argument.
(match_symbol_aux): New function.
(lookup_symbol_aux_symtabs): Use expand_one_symtab_matching.
(match_transparent_type): New function.
(basic_lookup_transparent_type): Use expand_one_symtab_matching.
* symfile.h (struct quick_symbol_functions)
<pre_expand_symtabs_matching>: Remove.
<expand_one_symtab_matching>: New field.
* psymtab.c (expand_one_symtab_matching_psymtabs): New function.
(pre_expand_symtabs_matching_psymtabs): Remove.
(psym_functions): Update.
* gdbtypes.c (lookup_typename): Use lookup_type_symbol.
* dwarf2read.c (dw2_lookup_symbol): Update comment.
(dw2_pre_expand_symtabs_matching): Remove.
(dw2_expand_one_symtab_matching): New function.
(dwarf2_gdb_index_functions): Update.

13 years ago* dcrt0.cc (dll_crt0_0): Remove myself settings.
cgf [Wed, 1 Sep 2010 21:06:35 +0000 (21:06 +0000)]
* dcrt0.cc (dll_crt0_0): Remove myself settings.
* fork.cc (fork): Set myself process_state
* pinfo.cc (pinfo_init): Ditto.
(pinfo::thisproc): Make sure any sendsig setting is correctly copied.
* pinfo.h: Update copyright.  Remove unused code.

13 years ago[NEWS] powerpc-lynxos gdbserver support
brobecke [Wed, 1 Sep 2010 20:47:01 +0000 (20:47 +0000)]
[NEWS] powerpc-lynxos gdbserver support

This adds an entry in the NEWS file announcing the GDBserver support
on powerpc-lynxos.

gdb/ChangeLog:

        * NEWS: Add entry announcing GDBserver support on powerpc-lynxos.

13 years ago * mi/mi-main.c (mi_cmd_list_target_features): Add `reverse'
marckhouzam [Wed, 1 Sep 2010 19:03:51 +0000 (19:03 +0000)]
   * mi/mi-main.c (mi_cmd_list_target_features): Add `reverse'
       as a feature reported by -list-target-features.

       * gdb.texinfo (GDB/MI Miscellaneous Commands): Document new
       feature `reverse' output by -list-target-features.

13 years agogdbserver support for powerpc-lynxos (4.x)
brobecke [Wed, 1 Sep 2010 18:57:12 +0000 (18:57 +0000)]
gdbserver support for powerpc-lynxos (4.x)

This patch adds support for powerpc-lynxos.

gdbserver/ChangeLog:

        * gdbserver/lynx-low.c, gdbserver/lynx-low.h,
        gdbserver/lynx-ppc-low.c: New files.
        * Makefile.in (lynx_low_h): New variable.
        (lynx-low.o, lynx-ppc-low.o): New rules.
        * configure.ac: On LynxOS, link with -lnetinet.
        * configure.srv: Add handling of powerpc-*-lynxos* targets.
        * configure: regenerate.

13 years agoImport vsnprintf from libiberty if not available.
brobecke [Wed, 1 Sep 2010 18:56:45 +0000 (18:56 +0000)]
Import vsnprintf from libiberty if not available.

vasprintf and vsnprintf are not available on LynxOS, at least not on
version 4.0.0.  This patch updates the configury to import them from
libiberty if not available out of the box.

gdbserver/
        * Makefile.in (vasprintf.o, vsnprintf.o): New rules.
        * configure.ac: Add check for vasprintf and vsnprintf.
        * configure, config.in: Regenerate.
        * server.h (vasprintf, vsnprintf): Add conditional declarations.

13 years agoGenerate regformats/rs6000/powerpc-32.dat
brobecke [Wed, 1 Sep 2010 18:56:34 +0000 (18:56 +0000)]
Generate regformats/rs6000/powerpc-32.dat

I will need this description for the ppc-lynxos debugger where, AFAICT,
we only have access to the core GP and FP registers.  So this adds
powerpc-32 to the list of targets for which a .dat file needs  to be
generated.

2010-04-30  Joel Brobecker  <brobecker@adacore.com>

        * features/Makefile (WHICH): Add rs6000/powerpc-32.
        (powerpc-32.o, powerpc-32.c): New rules.
        (clean): Also remove powerpc-32.c.
        * regformats/rs6000/powerpc-32.dat: Generate.

13 years ago* cygthread.cc (cygthread::create): Fix incorrect use of name rather than
cgf [Wed, 1 Sep 2010 18:24:10 +0000 (18:24 +0000)]
* cygthread.cc (cygthread::create): Fix incorrect use of name rather than
__name.
* cygthread.h (cygthread::cygthread): Create versions which eliminate 'n'
parameter.
* dcrt0.cc (dll_crt0_1): Remove check for threadfunc_ix.  Remove obsolete
comments.  Set process_state to active here.
* fhandler_netdrive.cc (create_thread_and_wait): Use shortened cygthread
constructor.
* timer.cc (timer_tracker::settime): Ditto.
* window.cc (HWND): Ditto.
* fhandler_tty.cc: Use shortened cygthread constructor, where appropriate,
throughout.
* select.cc: Ditto.
* fork.cc (frok::child): Remove wait_for_sigthread.
(fork): Reformat if for slightly better clarity.
* init.cc (dll_finished_loading): New variable.
(dll_entry): Use dll_finished_loading to determine when we should call
merge_threadfunc.
* sigproc.cc (no_signals_available): Simplify by using my_readsig.
(wait_sig_inited): Delete.
(wait_sig): Define as void function.
(pending_signals): Accommodate change to wait_sig definition.
(wait_for_sigthread): Delete definition.
(sigproc_init): Initialize signal pipe here, before wait_sig thread is created.
Use void form of cygthread creation.
(init_sig_pipe): Delete.
(wait_sig): Return void rather than DWORD.  Assume previous initialization of
signal pipe.  Set my_sendsig to NULL when exiting.
* sigproc.h (wait_for_sigthread): Delete declaration.

13 years ago[gdbserver] Move malloc.h include to server.h.
gdbadmin [Wed, 1 Sep 2010 17:29:32 +0000 (17:29 +0000)]
[gdbserver] Move malloc.h include to server.h.

This patch moves all includes of malloc.h, which were introduced
purely to get access to alloca's declaration, to server.h, next
to the include of alloca.h.

There is one exception: gdbreplay.c, which does not include server.h.
In this case, the include of alloca.h was simply moved up a bit, next
to the include of malloc.h.

gdb/gdbserver/ChangeLog:

        * gdbreplay.c: Move include of alloca.h up, next to include of
        malloc.h.
        * server.h: Add include of malloc.h.
        * mem-break.c: Remove include of malloc.h.
        * server.c, tracepoint.c, utils.c, win32-low.c: Likewise.

13 years agoPut ChangeLog entries in the right ChangeLog file.
gdbadmin [Wed, 1 Sep 2010 17:27:48 +0000 (17:27 +0000)]
Put ChangeLog entries in the right ChangeLog file.

13 years ago * netbsd-core.c (netbsd_core_core_file_pid): Renamed to ...
palves [Wed, 1 Sep 2010 13:51:34 +0000 (13:51 +0000)]
* netbsd-core.c (netbsd_core_core_file_pid): Renamed to ...
(netbsd_core_file_pid): ... this.

13 years ago * fhandler_netdrive.cc (fhandler_netdrive::readdir): Set d_type.
corinna [Wed, 1 Sep 2010 10:30:51 +0000 (10:30 +0000)]
* fhandler_netdrive.cc (fhandler_netdrive::readdir): Set d_type.
(fhandler_netdrive::seekdir): Fix test for readdir return value.
* fhandler_registry.cc (fhandler_registry::seekdir): Ditto.

13 years agoFix typo
nickc [Wed, 1 Sep 2010 08:06:58 +0000 (08:06 +0000)]
Fix typo

13 years agoFix typo
nickc [Wed, 1 Sep 2010 08:05:57 +0000 (08:05 +0000)]
Fix typo

13 years ago * ld-scripts/section-match.exp: New file. Runs ths
nickc [Wed, 1 Sep 2010 08:05:15 +0000 (08:05 +0000)]
    * ld-scripts/section-match.exp: New file.  Runs ths
        section-match-1 test.
        * ld-scripts/section-match-1.d: New file.
        * ld-scripts/section-match-1.s: New file.
        * ld-scripts/section-match-1.t: New file.

13 years ago2010-09-01 Tristan Gingold <gingold@adacore.com>
gingold [Wed, 1 Sep 2010 07:50:47 +0000 (07:50 +0000)]
2010-09-01  Tristan Gingold  <gingold@adacore.com>

* coffcode.h (coff_slurp_line_table): Add a cast.
(coff_slurp_reloc_table): Ditto.

13 years ago * include/cygwin/version.h: Bump DLL minor version number to 8.
corinna [Wed, 1 Sep 2010 07:16:47 +0000 (07:16 +0000)]
* include/cygwin/version.h: Bump DLL minor version number to 8.

13 years agoCompile memmem.o without -Werror.
gdbadmin [Wed, 1 Sep 2010 01:56:04 +0000 (01:56 +0000)]
Compile memmem.o without -Werror.

This reproduces the same approach as in GDB to allow us to build
specific files without -Werror.

gdb/gdbserver/ChangeLog:

        * Makefile.in (INTERNAL_CFLAGS_BASE): New variable. Extracted
        from INTERNAL_CFLAGS.
        (INTERNAL_WARN_CFLAGS): New variable.
        (INTERNAL_CFLAGS): Adjust, using INTERNAL_WARN_CFLAGS.

13 years agouse xsnprintf instead of snprintf.
gdbadmin [Wed, 1 Sep 2010 01:53:42 +0000 (01:53 +0000)]
use xsnprintf instead of snprintf.

snprintf is not available on LynxOS, so I changed the calls to snprintf
to calls to xsnprintf, which should be strictly equivalent.

gdb/gdbserver/ChangeLog:

        * utils.c (xsnprintf): Make non-static.
        * server.h: Add xsnprintf declaration.
        * linux-low.c, nto-low.c, target.c, thread-db.c, tracepoint.c:
        replace calls to snprintf by calls to xsnprintf throughout.

13 years agoinclude alloca.h if available.
gdbadmin [Wed, 1 Sep 2010 01:51:05 +0000 (01:51 +0000)]
include alloca.h if available.

On LynxOS, alloca is defined in allocal.h.  This fixes one warning that
occurs when building GDBserver for LynxOS.

gdb/gdbserver/ChangeLog:

        * configure.ac: Add configure check for alloca.
        * configure, config.in: Regenerate.
        * server.h: Include alloca.h if it exists.
        * gdbreplay.c: Include alloca.h if it exists.

13 years ago*** empty log message ***
gdbadmin [Wed, 1 Sep 2010 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

13 years agodaily update
amodra [Wed, 1 Sep 2010 00:00:05 +0000 (00:00 +0000)]
daily update

13 years agoFix "pushw imm16" for x86-64 disassembler.
hjl [Tue, 31 Aug 2010 21:56:56 +0000 (21:56 +0000)]
Fix "pushw imm16" for x86-64 disassembler.

gas/testsuite/

2010-08-31  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/11960
* gas/i386/opcode-intel.d: Updated.
* gas/i386/x86-64-opcode.d: Likewise.

* gas/i386/x86-64-opcode.s: Add a "pushw imm16" test.

opcodes/

2010-08-31  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/11960
* i386-dis.c (sIv): New.
(dis386): Replace Iq with sIv on "pushT".
(reg_table): Replace T with {T|} on callT, JcallT, jmpT and JjmpT.
(x86_64_table): Replace {T|}/{P|} with P.
(putop): Add 'w' to 'T'/'P' if needed for Intel syntax.
(OP_sI): Update v_mode.  Remove w_mode.

13 years agoCreate and use a specialized bcache type for psymbols
swagiaal [Tue, 31 Aug 2010 20:10:42 +0000 (20:10 +0000)]
Create and use a specialized bcache type for psymbols

2010-08-31  Sami Wagiaalla  <swagiaal@redhat.com>

* symfile.c (reread_symbols): Use psymbol_bcache_free, and
psymbol_bcache_init.
* psymtab.h (psymbol_bcache_init): New function prototype.
(psymbol_bcache_free): New function prototype.
(psymbol_bcache_get_bcache): New function prototype.
* psymtab.c (psymbol_bcache_init): New function.
(psymbol_bcache_free): New function.
(psymbol_bcache_full): New function.
(psymbol_bcache_get_bcache): New function.
(add_psymbol_to_bcache): use psymbol_bcache_full.
* objfiles.h (psymbol_cache): Change type of psymbol_cache to
psymbol_bcache.
* symmisc.c (print_symbol_bcache_statistics): Updated.
(print_objfile_statistics): Updated.
* objfiles.c (allocate_objfile): Use psymbol_bcache_init to initialize
psymbol_cache.
(free_objfile): Use psymbol_bcache_free.

13 years ago PR c++/11961:
tromey [Tue, 31 Aug 2010 20:03:20 +0000 (20:03 +0000)]
PR c++/11961:
* dwarf2read.c (new_symbol_full) <DW_TAG_template_type_param>:
Don't set TYPE_NAME on the type.

13 years ago2010-08-31 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
msnyder [Tue, 31 Aug 2010 19:31:00 +0000 (19:31 +0000)]
2010-08-31  Michael Snyder  <msnyder@msnyder-server.eng.vmware.com>

* infrun.c (set_exec_direction_func): Error out if target does not
support reverse execution.

13 years ago * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
devans [Tue, 31 Aug 2010 18:40:09 +0000 (18:40 +0000)]
* gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.

13 years agogdb/
jkratoch [Tue, 31 Aug 2010 18:11:48 +0000 (18:11 +0000)]
gdb/
Make linux_get_siginfo_type `type *' unique.
* linux-tdep.c (linux_gdbarch_data_handle, struct linux_gdbarch_data)
(init_linux_gdbarch_data, get_linux_gdbarch_data): New.
(linux_get_siginfo_type): New variable linux_gdbarch_data.  Initialize
it.  Use linux_gdbarch_data->siginfo_type as a persistent storage.
(_initialize_linux_tdep): New.

13 years agogdb/
jkratoch [Tue, 31 Aug 2010 18:08:42 +0000 (18:08 +0000)]
gdb/
Code cleanup.
* defs.h (find_memory_region_ftype): New typedef.
(exec_set_find_memory_regions): Use it.
* exec.c (exec_set_find_memory_regions): Use find_memory_region_ftype.
* fbsd-nat.c (fbsd_find_memory_regions): Likewise.
* gcore.c (objfile_find_memory_regions): Likewise.
* gnu-nat.c (gnu_find_memory_regions): Likewise.
* linux-nat.c (linux_nat_find_memory_regions): Likewise.
* procfs.c (iterate_over_mappings_cb_ftype): Remove.
(iterate_over_mappings): Rename iterate_over_mappings_cb_ftype to
find_memory_region_ftype.
(insert_dbx_link_bpt_in_region): Likewise.
(iterate_over_mappings): Likewise.  Drop the comment part about the
function prototype.
(find_memory_regions_callback): Use find_memory_region_ftype.
(proc_find_memory_regions): Likewise.
(info_mappings_callback): Rename iterate_over_mappings_cb_ftype to
find_memory_region_ftype.
* target.c (dummy_find_memory_regions): Use find_memory_region_ftype.
* target.h (struct target_ops) <to_find_memory_regions>: Likewise.

13 years agoEnable custom bcache hash function.
swagiaal [Tue, 31 Aug 2010 17:26:06 +0000 (17:26 +0000)]
Enable custom bcache hash function.

2010-08-25  Sami Wagiaalla  <swagiaal@redhat.com>

* psymtab.c (add_psymbol_to_bcache): Remove 'static' from
'static partial_symbol psymbol'.
(psymbol_hash): New function.
(psymbol_compare): New function.
* bcache.c (hash_continue): New.
(hash): Use hash_continue.
* bcache.c: Add hash_function and compare_function
pointers to bcache struct.
(bcache_full): Use bcache->hash_function, and
bcache->compare_function.
(bcache_compare): New function.
(bcache_xmalloc): Take hash_function and
compare_function arguments and initialize the
bcach's pointers.
Updated comment.
* objfiles.c (allocate_objfile): Updated.
* symfile.c (reread_symbols): Updated.
* python/py-type.c (typy_richcompare): Updated.

13 years ago * ldlex.l (WILDCHAR): Add the caret and exclamation point
nickc [Tue, 31 Aug 2010 16:08:22 +0000 (16:08 +0000)]
    * ldlex.l (WILDCHAR): Add the caret and exclamation point
        characters, so that they can be used inside regexps.

13 years agoRemove an extra "@item".
hjl [Tue, 31 Aug 2010 14:45:41 +0000 (14:45 +0000)]
Remove an extra "@item".

2010-08-31  H.J. Lu  <hongjiu.lu@intel.com>

* gdb.texinfo (i386 Features): Remove an extra "@item".

13 years ago2010-08-31 Kai Tietz <kai.tietz@onevision.com>
ktietz [Tue, 31 Aug 2010 14:45:34 +0000 (14:45 +0000)]
2010-08-31  Kai Tietz  <kai.tietz@onevision.com>

        * config/obj-coff-seh.c (obj_coff_seh_save): Correct comparison.
        (obj_coff_seh_stackalloc): Likewise.

13 years ago * path.cc (normalize_posix_path): Preserve //./ and //?/ prefixes.
corinna [Tue, 31 Aug 2010 13:48:03 +0000 (13:48 +0000)]
* path.cc (normalize_posix_path): Preserve //./ and //?/ prefixes.
(path_conv::check): Allow access to root directory of native NT disk
devices.

13 years ago * ld.texinfo (MEMORY): Clarify the behaviour of the ! character in
nickc [Tue, 31 Aug 2010 10:26:10 +0000 (10:26 +0000)]
    * ld.texinfo (MEMORY): Clarify the behaviour of the ! character in
        a region's attributes.

13 years ago * include/cygwin/version.h: Bump DLL minor version number to 7.
corinna [Tue, 31 Aug 2010 07:47:51 +0000 (07:47 +0000)]
* include/cygwin/version.h: Bump DLL minor version number to 7.

13 years ago * config/obj-elf.c (obj_elf_init_stab_section): Fix assertion.
amodra [Tue, 31 Aug 2010 05:34:45 +0000 (05:34 +0000)]
* config/obj-elf.c (obj_elf_init_stab_section): Fix assertion.

13 years ago * scripttempl/mmo.sc: Move assignment to "Main" inside .text
amodra [Tue, 31 Aug 2010 05:11:27 +0000 (05:11 +0000)]
* scripttempl/mmo.sc: Move assignment to "Main" inside .text
output section statement.

13 years ago*** empty log message ***
gdbadmin [Tue, 31 Aug 2010 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

13 years agodaily update
amodra [Tue, 31 Aug 2010 00:00:05 +0000 (00:00 +0000)]
daily update

13 years ago* dcrt0.cc (dll_crt0_0): Move sigproc_init later, after cygheap initialization
cgf [Mon, 30 Aug 2010 23:23:28 +0000 (23:23 +0000)]
* dcrt0.cc (dll_crt0_0): Move sigproc_init later, after cygheap initialization
since it relies on the cygheap existing (even if it shouldn't matter do to dll
initialization serialization).

13 years ago * config/obj-coff-seh.c: Rewrite the entire file.
rth [Mon, 30 Aug 2010 21:51:28 +0000 (21:51 +0000)]
* config/obj-coff-seh.c: Rewrite the entire file.
(symtab, symptr, reltab, relcount, relsize): Remove.
(seh_ctx_root, seh_ctx): Remove.
(xdata_seg, xdata_subseg, pdata_seg): New.
(switch_xdata, switch_pdata): New.
(verify_context, verify_context_and_target, skip_whitespace_and_comma):
New parsing functions.  Rewrite all parsing functions to use them.
(obj_coff_seh_32): Fix != arm thinko.
(obj_coff_seh_handler): For x64, don't accept handler pointer here,
only flags.
(obj_coff_seh_handlerdata): New.
(do_seh_endproc): Split out of ...
(obj_coff_seh_endproc): ... here.
(obj_coff_seh_proc): Use it, if needed.
(seh_x64_make_prologue_element): Use XRESIZEVEC, symbol_temp_new_now.
(seh_x64_read_reg): Remove mm_regs alternative.  Tidy integer reg
alternatives.  Don't slurp commas.
(seh_read_offset): Remove.
(obj_coff_seh_pushframe): Split out from obj_coff_seh_push.
(obj_coff_seh_scope): Remove.
(obj_coff_seh_save): Decide UWOP_SAVE_* vs _FAR immediately.
(obj_coff_seh_stackalloc): Decide _SMALL vs _LARGE immediately.
(out_one, out_two, out_four): New.
(seh_x64_write_prologue_data, seh_x64_size_prologue_data,
seh_x64_write_function_xdata, write_function_xdata): Rewrite
from seh_x64_write_xdata, seh_needed_unwind_info, seh_store_elm_data,
seh_getelm_data_size, seh_getsize_of_unwind_entry,
seh_make_unwind_entry, seh_getsize_unwind_data, and
seh_create_unwind_data.
(seh_arm_write_function_pdata): Rewrite from seh_arm_create_pdata.
(write_function_pdata): Rewrite from make_function_entry_pdata.
(seh_write_text_eh_data, make_function_entry_pdata,
seh_arm_create_pdata, seh_arm_write_pdata, seh_reloc, save_relocs,
seh_symbol_init, seh_symbol, quick_section, seh_emit_rva,
seh_emit_long, seh_make_globl, seh_make_section2, seh_make_section,
seh_make_xlbl_name, make_seh_text_label, seh_fill_pcsyms,
seh_needed_unwind_info, seh_store_elm_data, seh_getelm_data_size,
seh_getsize_of_unwind_entry, seh_make_unwind_entry,
seh_getsize_unwind_data, seh_create_unwind_data,
seh_make_function_entry_xdata, seh_x64_makescope_elem): Remove.
* config/obj-coff-seh.h (SEH_CMDS): Remove seh_savemm, seh_scope.
Add seh_handlerdata.  Adjust function/what arguments for
seh_savereg, seh_pushframe, seh_stackalloc.
(struct seh_prologue_element): Adjust members to closer match
the elements of the UNWIND_CODE structure.
(struct seh_scope_elem): Remove.
(struct seh_context): Replace char* members with symbolS or
expressionS as appropriate.  Sort members by ARM/x64 applicability.
Remove obsolete stuff wrt direct symbol and reloc manipulation.

13 years agogdb
tromey [Mon, 30 Aug 2010 20:28:27 +0000 (20:28 +0000)]
gdb
2010-08-30  Andre Poenitz  <andre.poenitz@nokia.com>
    Tom Tromey  <tromey@redhat.com>

PR python/11792:
* python/py-value.c (valpy_get_dynamic_type): New function.
(value_object_getset): Add "dynamic_type".
(valpy_get_type): Fail on error.
gdb/doc
PR python/11792:
* gdb.texinfo (Values From Inferior): Document dynamic_type.
gdb/testsuite
PR python/11792:
* gdb.python/py-value.exp (test_subscript_regression): Add
dynamic_type test.

13 years ago * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
drow [Mon, 30 Aug 2010 17:38:10 +0000 (17:38 +0000)]
* gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
instead of running to main.  Do not test the main function.
* gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
Add new main.

13 years ago * rtl-c.scm (s-float-predop): New function.
devans [Mon, 30 Aug 2010 16:51:27 +0000 (16:51 +0000)]
* rtl-c.scm (s-float-predop): New function.
(nan, qnan, snan): Call it.

13 years ago2010-08-30 Yao Qi <yao@codesourcery.com>
qiyao [Mon, 30 Aug 2010 15:26:28 +0000 (15:26 +0000)]
2010-08-30  Yao Qi  <yao@codesourcery.com>

* arm-linux-tdep.c (arm_linux_sigreturn_return_addr): New.
(arm_linux_syscall_next_pc): New.
(arm_linux_copy_svc): Use arm_linux_sigreturn_return_addr instead.
(arm_linux_init_abi): Initialize syscall_next_pc.
* arm-tdep.c (thumb_get_next_pc_raw):  Get next pc of SWI in Thumb mode.
(arm_get_next_pc_raw): Get next pc of SWI in ARM mode.
* arm-tdep.h (struct gdbarch_tdep): Add a function pointer syscall_next_pc.
Declare arm_frame_is_thumb.

13 years ago * posix.sgml (std-notes): Fix typos and incorrectnesses.
corinna [Mon, 30 Aug 2010 14:16:00 +0000 (14:16 +0000)]
* posix.sgml (std-notes): Fix typos and incorrectnesses.

13 years agoremove file committed by mistake
froydnj [Mon, 30 Aug 2010 14:07:01 +0000 (14:07 +0000)]
remove file committed by mistake

13 years ago * new-features.sgml (ov-new1.7.7): Document change to binmode/textmode
corinna [Mon, 30 Aug 2010 13:19:39 +0000 (13:19 +0000)]
* new-features.sgml (ov-new1.7.7): Document change to binmode/textmode
link libs.
* textbinary.sgml (textbin-devel): Ditto.

13 years ago * autoload.cc (MsgWaitForMultipleObjectsEx): Define.
corinna [Mon, 30 Aug 2010 10:39:43 +0000 (10:39 +0000)]
* autoload.cc (MsgWaitForMultipleObjectsEx): Define.
(MsgWaitForMultipleObjects): Remove.
* select.cc (select_stuff::wait): Use MsgWaitForMultipleObjectsEx with
QS_ALLPOSTMESSAGE and, if possible, MWMO_INPUTAVAILABLE flags.  Explain
why.  Fix a potential crash due to a NULL pointer in WAIT_FAILED case.
(peek_windows): Use filter pattern on NT4.  Explain why.
* wincap.h (wincaps::has_mwmo_inputavailable): New element.
* wincap.cc: Implement above element throughout.

13 years agogdb/
jkratoch [Mon, 30 Aug 2010 09:49:11 +0000 (09:49 +0000)]
gdb/
Code cleanup.
* breakpoint.c (bpstat_alloc): Remove unused prototype.
(bpstat_alloc): Change parameters cbs to bs_link_pointer.  Adjust the
code.
(bpstat_stop_status): Change root_bs into bs_head and bs_link.  Adjust
calls of bpstat_alloc.  Remove explicit bs chain termination.

13 years ago * cisco-core.c (cisco_core_file_pid): Define.
amodra [Mon, 30 Aug 2010 09:35:25 +0000 (09:35 +0000)]
* cisco-core.c (cisco_core_file_pid): Define.

13 years ago PR binutils/11953
amodra [Mon, 30 Aug 2010 06:01:19 +0000 (06:01 +0000)]
PR binutils/11953
* elf.c (copy_elf_program_header): Calculate map->header_size
from lowest_section, not first_section.  Validate program
header p_paddr against section lma.  Find lowest_section in
second loop over headers.

13 years agoadd missing file
cgf [Mon, 30 Aug 2010 02:09:30 +0000 (02:09 +0000)]
add missing file