OSDN Git Service
jjohnstn [Tue, 18 Nov 2008 21:39:10 +0000 (21:39 +0000)]
2008-11-18 Craig Howland <howland@LGSInnovations.com>
* libc/unix/ttyname.c: Add ttyname_r and change ttyname to use
ttyname_r.
ppluzhnikov [Tue, 18 Nov 2008 21:31:26 +0000 (21:31 +0000)]
2008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
* objfiles.h: New MULTI_OBJFILE_P macro.
* printcmd.c (sym_info): Print object name.
* maint.c (maintenance_translate_address): Likewise.
joel [Tue, 18 Nov 2008 21:30:36 +0000 (21:30 +0000)]
2008-11-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure: Regenerated.
* configure.ac: Add test for System V shared memory and semaphore.
* debug.c, debug.h: Add trace support for new devices.
* hw_sem.c, hw_shm.c: New files.
* Makefile.in: Add hw_sem.c and hw_shm.c.
brobecke [Tue, 18 Nov 2008 20:43:12 +0000 (20:43 +0000)]
* gdb.texinfo (Set Catchpoints): Remove the documentation of
commands "catch load" and "catch unload".
brobecke [Tue, 18 Nov 2008 20:41:42 +0000 (20:41 +0000)]
* NEWS: Document the removal of "catch load" and "catch unload".
clm [Tue, 18 Nov 2008 15:45:01 +0000 (15:45 +0000)]
Add support for ARM half-precision conversion instructions.
nickc [Tue, 18 Nov 2008 14:04:54 +0000 (14:04 +0000)]
* dwarf2.c (read_section): Fix formatting.
(read_n_bytes): Remove unhelpful comment.
(read_indirect_string): Pass symbol table to read_section in case
the .debug_str section needs relocating.
PR 7037
* elf32-cr16.c (cr16_elf_howto_table): Zero the src_mask field of
the reloc descriptions.
devans [Tue, 18 Nov 2008 00:13:01 +0000 (00:13 +0000)]
* infcall.c (call_function_by_hand): Fix punctuation and capitalization
on error messages.
* gdb.mi/mi-syn-frame.exp: Update expected output.
* gdb.mi/mi2-syn-frame.exp: Update expected output.
gdbadmin [Tue, 18 Nov 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Tue, 18 Nov 2008 00:00:08 +0000 (00:00 +0000)]
daily update
jjohnstn [Mon, 17 Nov 2008 22:08:05 +0000 (22:08 +0000)]
2008-11-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.host: RTEMS now uses posix subdirectory.
jjohnstn [Mon, 17 Nov 2008 22:05:11 +0000 (22:05 +0000)]
2008-11-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* sys/rtems/include/limits.h: Add _POSIX2_RE_DUP_MAX.
* sys/rtems/sys/param.h: sys/rtprio.h not needed.
jjohnstn [Mon, 17 Nov 2008 21:58:28 +0000 (21:58 +0000)]
2008-11-17 Jeff Johnston <jjohnstn@redhat.com>
* m32r/Makefile.in: Add building m32r-stub.o from local copy instead
of up and over in gdb.
* m32r/m32r-stub.c: New file copied from gdb.
uweigand [Mon, 17 Nov 2008 20:11:48 +0000 (20:11 +0000)]
* configure.tgt [spu-*-elf*]: Set NATIVE_LIB_DIRS to '/lib'.
uweigand [Mon, 17 Nov 2008 18:50:21 +0000 (18:50 +0000)]
PR gdb/2250
* infrun.c (clear_proceed_status_thread): New function.
(clear_proceed_status_callback): New function.
(clear_proceed_status): In all-stop mode, clear per-thread
proceed status of *all* threads, not only the current.
(handle_inferior_event): In all-stop mode, if we're stepping
one thread, but got some inferior event in another thread
that does not cause GDB to break to the user interface,
ensure the interrupted stepping operation continues in the
original thread.
(currently_stepping): Move thread-related tests to ...
(currently_stepping_thread): ... this new function.
(currently_stepping_callback): New function.
nickc [Mon, 17 Nov 2008 17:44:31 +0000 (17:44 +0000)]
Update copyright year in --version messages.
vprus [Mon, 17 Nov 2008 16:43:32 +0000 (16:43 +0000)]
Implement =thread-selected notification.
* mi/mi-common.h (struct mi_interp): New, moved from ...
* mi/mi-interp.c: ...here.
* mi/mi-main.c (mi_execute_command): If the thread changed
as result of command, report that.
vprus [Mon, 17 Nov 2008 16:39:50 +0000 (16:39 +0000)]
Implement continue/interrupt of thread groups.
* mi/mi-main.c (proceed_thread_callback): New.
(mi_cmd_exec_continue): If --thread-group is specified, resume all
threads in that group.
(interrupt_thread_callback): New.
(mi_cmd_exec_interrupt): If --thread-group is specified, interrupt
all threads in that group.
vprus [Mon, 17 Nov 2008 16:37:32 +0000 (16:37 +0000)]
Implement '-target-detach pid'.
* infcmd.c (detach_command): Make nonstatic.
* inferior.h (detach_command): Declare.
* mi/mi-cmds.c (mi_cmds): Don't route -target-detach via CLI.
* mi/mi-cmds.h (mi_cmd_target_detach): Declare.
* mi/mi-main.c (find_thread_of_process, mi_cmd_target_detach): New.
vprus [Mon, 17 Nov 2008 12:34:18 +0000 (12:34 +0000)]
Include group-id in thread-created notification.
* mi/mi-interp.c (mi_new_thread, mi_thread_exit): Include
group id in the output.
vprus [Mon, 17 Nov 2008 12:28:05 +0000 (12:28 +0000)]
Notification for attach/detach.
* inferior.c: Call the process observers.
* mi/mi-interp.c (mi_new_inferior, mi_inferior_exit): New.
(mi_interpreter_init): Register the above.
vprus [Mon, 17 Nov 2008 12:13:49 +0000 (12:13 +0000)]
Implement -list-thread-groups.
* thread.c (print_thread_info): New parameter pid, to print
threads of specific process.
* gdbthread.h (print_thread_info): New parameter pid.
* mi/mi-cmds.c (mi_cmds): Register -list-thread-groups.
* mi/mi-cmds.h (mi_cmd_list_thread_groups): New.
* mi/mi-main.c (mi_cmd_thread_info): Adjust.
(print_one_process, mi_cmd_list_thread_groups): New.
gdbadmin [Mon, 17 Nov 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Mon, 17 Nov 2008 00:00:05 +0000 (00:00 +0000)]
daily update
brobecke [Sun, 16 Nov 2008 18:05:26 +0000 (18:05 +0000)]
Remove some unused macros related to the old load/unload catchpoints.
* breakpoint.c (SOLIB_LOADED_LIBRARY_PATHNAME)
(SOLIB_UNLOADED_LIBRARY_PATHNAME, SOLIB_CREATE_CATCH_LOAD_HOOK)
(SOLIB_CREATE_CATCH_UNLOAD_HOOK): Delete. No longer used.
brobecke [Sun, 16 Nov 2008 18:03:25 +0000 (18:03 +0000)]
* gdb.base/help.exp: Remove the "catch load" and "catch unload"
commands from the expected output for "help catch".
brobecke [Sun, 16 Nov 2008 18:01:46 +0000 (18:01 +0000)]
Remove support for catch load and catch unload commands.
* breakpoint.h (enum bptype): Remove bp_catch_load and bp_catch_unload.
(struct breakpoint): Remove fields dll_pathname and
triggered_dll_pathname.
(bpstat_get_triggered_catchpoints, ep_is_shlib_catchpoint): Delete.
* breakpoint.c (ep_is_catchpoint): Remove handling of
bp_catch_load and bp_catch_unload.
(print_it_typical, bpstat_check_location, bpstat_what)
(print_one_breakpoint_location, print_one_breakpoint_location)
(user_settable_breakpoint, allocate_bp_location)
(set_raw_breakpoint_without_location, mention, delete_breakpoint,
(breakpoint_re_set_one, disable_command, enable_command): Likewise.
(ep_is_shlib_catchpoint, bpstat_get_triggered_catchpoints)
(catch_load_command_1, catch_unload_command_1): Delete.
(_initialize_breakpoint): Remove the "catch load" and "catch unload"
command creation.
* infrun.c (handle_inferior_event): Remove the handling of
load/unload catchpoint events.
dannysmith [Sun, 16 Nov 2008 06:00:41 +0000 (06:00 +0000)]
* dlltool.c (identify_search_section): Cast argument, not return
value, of xstrdup to 'char*'.
amodra [Sun, 16 Nov 2008 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Sun, 16 Nov 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
brobecke [Sat, 15 Nov 2008 18:49:50 +0000 (18:49 +0000)]
From Jerome Guitton <guitton@adacore.com>
* dwarf2read.c (dwarf2_debug_line_missing_end_sequence_complaint):
New function.
(dwarf_decode_lines): Detect null file numbers. Detect the end of
the line program sequence when no end sequence is emitted.
brobecke [Sat, 15 Nov 2008 18:30:38 +0000 (18:30 +0000)]
* gdb.ada/int_deref.exp: New testcase.
brobecke [Sat, 15 Nov 2008 18:27:27 +0000 (18:27 +0000)]
* ada-lang.c (ada_evaluate_subexp): Improve handling of integer
type dereferencing.
cwilson [Sat, 15 Nov 2008 18:15:18 +0000 (18:15 +0000)]
Added --identify option to dlltool.
drow [Sat, 15 Nov 2008 16:09:50 +0000 (16:09 +0000)]
* NEWS: Mention sparc64-linux-gnu gdbserver support.
ccoutant [Sat, 15 Nov 2008 01:40:23 +0000 (01:40 +0000)]
* reloc.cc (Sized_relobj::do_read_relocs): Use constant invalid_address
instead of -1U.
amodra [Sat, 15 Nov 2008 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 15 Nov 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
drow [Fri, 14 Nov 2008 22:06:41 +0000 (22:06 +0000)]
2008-11-14 Daniel Gutson <dgutson@codesourcery.com>
* configure.tgt (sparc64-*-linux*): Added gdbserver support.
* regformats/reg-sparc64.dat: New file.
gdbserver/
2008-11-14 Daniel Gutson <dgutson@codesourcery.com>
* Makefile.in (SFILES, clean): Added sparc64 files.
(reg-sparc64.o, reg-sparc64.c): New.
* configure.srv (sparc*-*-linux*): New configuration.
* linux-low.c (regsets_fetch_inferior_registers): Swap ptrace
syscall arguments for SPARC.
(regsets_store_inferior_registers): Likewise.
* linux-sparc-low.c: New file.
eweddington [Fri, 14 Nov 2008 21:37:52 +0000 (21:37 +0000)]
/bfd:
2008-11-14 Eric B. Weddington <eric.weddington@atmel.com>
PR 7022
* elf32-avr.c (bfd_elf_avr_final_write_processing):
Add missing break statements.
tromey [Fri, 14 Nov 2008 18:38:31 +0000 (18:38 +0000)]
gdb
PR mi/2549:
* mi/mi-main.c (get_register): Use get_formatted_print_options.
gdb/testsuite
2008-11-14 Nick Roberts <nickrob@snap.net.nz>
* gdb.mi/gdb2549.exp: New file.
bwilson [Fri, 14 Nov 2008 17:37:28 +0000 (17:37 +0000)]
* xtensa-modules.c (xtensa_state_id): New enum, replacing STATE macros.
(xtensa_field_id, xtensa_regfile_id, xtensa_operand_id)
(xtensa_iclass_id, xtensa_opcode_id): New enums.
Replace hardcoded constants throughout this file with enum values.
dj [Fri, 14 Nov 2008 16:02:56 +0000 (16:02 +0000)]
merge from gcc
ktietz [Fri, 14 Nov 2008 15:13:05 +0000 (15:13 +0000)]
2008-11-14 Kai Tietz <kai.tietz@onevision.com>
* emultempl/pep.em (..._before_parse): initialize
pei386_runtime_pseudo_reloc by version 2.
(OPTION_DLL_ENABLE_RUNTIME_PSEUDO_RELOC_V1): New option.
(OPTION_DLL_ENABLE_RUNTIME_PSEUDO_RELOC_V2): New option.
(make_import_fixup): Use relocation size to read addend.
* emultempl/pe.em (..._before_parse): initialize
pei386_runtime_pseudo_reloc by version 1.
(OPTION_DLL_ENABLE_RUNTIME_PSEUDO_RELOC_V1): New option.
(OPTION_DLL_ENABLE_RUNTIME_PSEUDO_RELOC_V2): New option.
* pe-dll.c (pe-dll.h): Remove useless include.
(make_runtime_pseudo_reloc): Change addend to use bfd_vma.
Handle the two variants of pseudo-relocation.
(pe_create_import_fixup): Change addend to type bfd_vma.
Modify for the two pseudo_relocation variants.
(runtime_pseudp_reloc_v2_init): New static variable.
* pe-dll.h (pe_create_import_fixup): Change addend argument type
to bfd_vma.
* pep-dll.h (pep_create_import_fixup): Likewise.
* NEWS: Add comment.
drow [Fri, 14 Nov 2008 15:10:49 +0000 (15:10 +0000)]
Revert:
2008-10-24 Daniel Jacobowitz <dan@codesourcery.com>
* Makefile.tpl (HOST_EXPORTS): Correct CPPFLAGS typo.
* Makefile.in: Regenerated.
2008-10-22 Daniel Jacobowitz <dan@codesourcery.com>
* Makefile.def (flags_to_pass): Add CPPFLAGS_FOR_BUILD and CPPFLAGS.
* Makefile.tpl (BUILD_EXPORTS): Set CPPFLAGS.
(EXTRA_BUILD_FLAGS): Correct typo. Pass CPPFLAGS.
(HOST_EXPORTS): Pass CPPFLAGS.
(CPPFLAGS_FOR_BUILD, CPPFLAGS, CPPFLAGS_FOR_TARGET): Define.
(LDFLAGS_FOR_TARGET): Initialize from configure script.
(EXTRA_TARGET_FLAGS): Set CPPFLAGS.
* Makefile.in, configure: Regenerated.
* configure.ac: Set CPPFLAGS_FOR_TARGET, LDFLAGS_FOR_TARGET,
and CPPFLAGS_FOR_BUILD.
gingold [Fri, 14 Nov 2008 14:56:51 +0000 (14:56 +0000)]
2008-11-14 Tristan Gingold <gingold@adacore.com>
Remove outdated mach-o specific tests.
* objdump.c (load_debug_section): Remove mach-o specific test.
(mach_o_uncompressed_dwarf_sections): Removed.
(mach_o_compressed_dwarf_sections): Removed.
(generic_uncompressed_dwarf_sections): Removed.
(generic_compressed_dwarf_sections): Removed.
(check_mach_o_dwarf): Removed.
(dump_dwarf): Remove call to check_mach_o_dwarf.
nickc [Fri, 14 Nov 2008 14:44:08 +0000 (14:44 +0000)]
bfd/
* elf.c (assign_file_positions_for_load_sections): Use header_size
to avoid moving the load address of file headers.
(assign_file_positions_for_load_sections): Set header_size for
segments containing the file header.
include/elf/
* internal.h (struct elf_segment_map): Add header_size field.
nickc [Fri, 14 Nov 2008 13:03:25 +0000 (13:03 +0000)]
* read.c (emit_expr): Grow frag before filling it so that
dot_value remains valid.
gingold [Fri, 14 Nov 2008 09:57:33 +0000 (09:57 +0000)]
bfd/
2008-11-14 Tristan Gingold <gingold@adacore.com>
* configure.com: Handle bfd_default_target_size, BFD_HOST_LONG_LONG,
BFD_HOST_64BIT_LONG_LONG, BFD_HOSTPTR_T, bfd_file_ptr.
Generate bfdver.h.
* vms-hdr.c (_bfd_vms_write_hdr): Use strdup/free instead of alloca.
* hosts/alphavms.h: Defines macros to bypass i18n.
* makefile.vms (OBJS): Update file list.
(DEFS): Remove VMS_DEBUG, const, add DEBUGDIR.
(CFLAGS): Update flags.
* bfdio.c (real_fopen): Add code specific to VMS: extract attributes
from modes.
binutils/
2008-11-14 Tristan Gingold <gingold@adacore.com>
* configure.com: Get version from configure.in of bfd.
* makefile.vms-in (DEBUG_OBJS): Add dwarf.obj.
(CFLAGS): Update flags.
include/
2008-11-14 Tristan Gingold <gingold@adacore.com>
* fopen-vms.h (FOPEN_RB): Use a single string to match the
standard prototype.
(FOPEN_WB): Ditto.
(FOPEN_AB): Ditto.
(FOPEN_RUB): Ditto.
(FOPEN_WUB): Ditto.
(FOPEN_AUB): Ditto.
libiberty/
2008-11-14 Tristan Gingold <gingold@adacore.com>
* makefile.vms (OBJS): Update objects list.
(CFLAGS): Update.
(libiberty.olb): Remove alloca-conf.h dependency.
* config.h-vms: Use new macro sets, use builtin alloca.
opcodes/
2008-11-14 Tristan Gingold <gingold@adacore.com>
* makefile.vms (OBJS): Update list of objects.
(DEFS): Update
(CFLAGS): Update.
nickc [Fri, 14 Nov 2008 09:02:37 +0000 (09:02 +0000)]
PR 7026
* config/tc-arm.c: Ensure that all uses of as_bad have a
formatting string.
devans [Fri, 14 Nov 2008 06:55:40 +0000 (06:55 +0000)]
(set_lang_c): Delete.
(runto_main): If it fails, call fail instead of gdb_suppress_tests.
amodra [Fri, 14 Nov 2008 06:54:39 +0000 (06:54 +0000)]
* Makefile.am (spu_ovl.o_c): Add missing line continuations.
* Makefile.in: Regenerate.
amodra [Fri, 14 Nov 2008 00:00:09 +0000 (00:00 +0000)]
daily update
gdbadmin [Fri, 14 Nov 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
brobecke [Thu, 13 Nov 2008 23:09:47 +0000 (23:09 +0000)]
* configure.in: Deactivate large-file support on native 32bit
sparc-solaris unless the user explicitly requested it.
* configure: Regenerate.
brobecke [Thu, 13 Nov 2008 22:26:15 +0000 (22:26 +0000)]
* printcmd.c: define PRINTF_HAS_LONG_LONG only if not yet defined.
fche [Thu, 13 Nov 2008 18:06:41 +0000 (18:06 +0000)]
2008-11-13 Frank Ch. Eigler <fche@elastic.org>
From Alon Bar-Lev <alon.barlev@gmail.com>:
* configure.am (EXTRA_INCLUDES): New macro.
* Makefile.am: Use it to supplement CPPFLAGS.
* aclocal.m4, configure.in, Makefile.in: Regenerated.
uweigand [Thu, 13 Nov 2008 15:07:53 +0000 (15:07 +0000)]
gdb/ChangeLog:
* auxv.c (fprint_target_auxv): Handle AT_BASE_PLATFORM and
AT_EXECFN. Re-sort AT_SECURE.
include/elf/ChangeLog:
* common.h (AT_BASE_PLATFORM, AT_EXECFN): Define.
jkratoch [Thu, 13 Nov 2008 15:02:12 +0000 (15:02 +0000)]
* monitor.c (monitor_insert_breakpoint): Remove unused variable `bp'.
hp [Thu, 13 Nov 2008 10:56:59 +0000 (10:56 +0000)]
* nm.c (filter_symbols): Only call memcpy when from != to.
brobecke [Thu, 13 Nov 2008 05:05:07 +0000 (05:05 +0000)]
* ia64-tdep.c: Remove commented out #define.
hp [Thu, 13 Nov 2008 03:01:14 +0000 (03:01 +0000)]
PR ld/7028
* elf.c (assign_file_positions_for_load_sections): Allocate phrds
with bfd_zalloc2 instead of bfd_alloc2. For the amount, use
the possibly-preset header-size, not the computed one.
brobecke [Thu, 13 Nov 2008 01:26:43 +0000 (01:26 +0000)]
* remote-sim.c (gdbsim_mourn_inferior): Use "target" parameter
instead of the "gdbsim_ops" global.
amodra [Thu, 13 Nov 2008 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Thu, 13 Nov 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
joel [Wed, 12 Nov 2008 22:05:17 +0000 (22:05 +0000)]
2008-11-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* aclocal.m4: Fix underquoting of function names.
amodra [Wed, 12 Nov 2008 22:04:03 +0000 (22:04 +0000)]
PR 7023
* elf.c (bfd_section_from_shdr <SHT_SYMTAB>): Fail on invalid sh_info.
corinna [Wed, 12 Nov 2008 11:04:26 +0000 (11:04 +0000)]
* autoload.cc (GetSystemDEPPolicy): Define.
(GetProcessDEPPolicy): Ditto.
(SetProcessDEPPolicy): Ditto.
* dcrt0.cc (disable_dep): New static function.
(dll_crt0_0): Call disable_dep on platforms requiring it. Add longish
comment to explain the circumstances.
* wincap.h (wincaps::ts_has_dep_problem): New element.
* wincap.cc: Implement above element throughout.
(wincapc::init): Set ts_has_dep_problem to true on 2008 Terminal
Servers.
* winsup.h (WINVER): Set to 0x0601.
gingold [Wed, 12 Nov 2008 10:27:57 +0000 (10:27 +0000)]
2008-11-12 Tristan Gingold <gingold@adacore.com>
* bfd.c (bfd_get_sign_extend_vma): Return 0 for mach-o.
hp [Wed, 12 Nov 2008 03:09:31 +0000 (03:09 +0000)]
* config/tc-cris.c (cris_number_to_imm): Except for
BFD_RELOC_NONE, always set contents. Where previously this was
skipped, set contents to 0.
hp [Wed, 12 Nov 2008 02:42:46 +0000 (02:42 +0000)]
PR gas/7025
* input-scrub.c (input_scrub_include_sb): Make the position
after the input have defined contents, a 0 character.
hp [Wed, 12 Nov 2008 02:36:55 +0000 (02:36 +0000)]
* gas/cris/rd-bcnst2-pic.d, gas/cris/rd-bcnst2.d,
gas/cris/rd-bcnst2.s: New tests.
hp [Wed, 12 Nov 2008 02:35:28 +0000 (02:35 +0000)]
* config/tc-cris.c (cris_relax_frag): Add missing case for
ENCODE_RELAX (STATE_COND_BRANCH_PIC, STATE_DWORD).
hp [Wed, 12 Nov 2008 02:04:39 +0000 (02:04 +0000)]
PR gas/7020
* read.c (read_a_source_file): Rearrange evaluation order when
looking for '=' to avoid conditional on undefined contents of
input_line_pointer[1].
hp [Wed, 12 Nov 2008 01:41:11 +0000 (01:41 +0000)]
* read.c (read_a_source_file): Rearrange evaluation order when
looking for '=' to avoid conditional on undefined contents of
input_line_pointer[1].
devans [Wed, 12 Nov 2008 00:39:27 +0000 (00:39 +0000)]
* infcall.c (call_function_by_hand): Handle inferior exit.
* gdb.base/callexit.exp: New file.
* gdb.base/callexit.c: New file.
gdbadmin [Wed, 12 Nov 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Tue, 11 Nov 2008 23:58:59 +0000 (23:58 +0000)]
daily update
joel [Tue, 11 Nov 2008 22:20:54 +0000 (22:20 +0000)]
2008-11-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* erc32.c, exec.c: Fix warnings.
bauermann [Tue, 11 Nov 2008 22:07:40 +0000 (22:07 +0000)]
* remote-sim.c (gdbsim_create_inferior, gdbsim_mourn_inferior): Add
missing struct target_ops argument.
joel [Tue, 11 Nov 2008 22:05:44 +0000 (22:05 +0000)]
2008-11-11 Joel Sherrill <joel.sherrilL@oarcorp.com>
* MAINTAINERS: Add myself for write after approval privileges.
corinna [Tue, 11 Nov 2008 14:44:53 +0000 (14:44 +0000)]
* include/winbase.h (PROCESS_DEP_ENABLE,
PROCESS_DEP_DISABLE_ATL_THUNK_EMULATION): Define for >= Vista SP1.
(enum _DEP_SYSTEM_POLICY_TYPE): Ditto.
(GetProcessDEPPolicy, GetSystemDEPPolicy, SetProcessDEPPolicy): Ditto.
corinna [Tue, 11 Nov 2008 11:45:04 +0000 (11:45 +0000)]
* mount.cc (mount_info::cygdrive_win32_path): Always upper case
DOS drive letter to accommodate case sensitivity.
(cygdrive_getmntent): Ditto.
* path.cc (path_conv::check): Invalidate wide_path after making path
relative.
corinna [Tue, 11 Nov 2008 10:51:45 +0000 (10:51 +0000)]
* cygwinenv.sgml: Add description for upcaseenv option.
corinna [Tue, 11 Nov 2008 10:51:03 +0000 (10:51 +0000)]
* environ.cc (create_upcaseenv): New static variable.
(renv_arr): New static array to keep track of environment variables
which have to be always uppercased.
(idx_arr): Ditto.
(start_at): Ditto.
(ucreqenv): New function to uppercase only the environment variables
from renv_arr.
(parse_thing): Add "upcaseenv" setting.
(environ_init): Parse $CYGWIN before doing anything else. Call
ucreqenv instead of ucenv if CYGWIN=noupcaseenv is set.
amodra [Tue, 11 Nov 2008 04:26:13 +0000 (04:26 +0000)]
* elf.c (assign_file_positions_for_non_load_sections): Consolidate
PT_GNU_RELRO handling.
cgf [Tue, 11 Nov 2008 03:51:55 +0000 (03:51 +0000)]
* path.cc (normalize_win32_path): Don't add a trailing '\' if the cwd returns a
path with a trailing '\'.
devans [Tue, 11 Nov 2008 01:23:34 +0000 (01:23 +0000)]
* lib/gdb.exp (GDBFLAGS): Move -nx ...
(INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
(default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
(default_gdb_start,default_gdb_exit): Ditto.
* lib/mi-support.exp (default_mi_gdb_start): Ditto.
(mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
* gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
* gdb.base/dbx.exp (dbx_gdb_start): Ditto.
* gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
* gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
gdbadmin [Tue, 11 Nov 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Mon, 10 Nov 2008 23:59:04 +0000 (23:59 +0000)]
daily update
amodra [Mon, 10 Nov 2008 23:39:19 +0000 (23:39 +0000)]
PR 7012
* dwarf2.c (find_line): Don't keep stale pointers into realloc'd
memory. Return on errors. Fix memory leak.
(_bfd_dwarf2_cleanup_debug_info): Free dwarf_str_buffer.
schwab [Mon, 10 Nov 2008 22:47:58 +0000 (22:47 +0000)]
PR 7011
* elf.c (assign_file_positions_for_non_load_sections): Handle
PT_GNU_RELRO specially.
tromey [Mon, 10 Nov 2008 20:53:43 +0000 (20:53 +0000)]
* gdbtypes.c (copy_type_recursive): Clear new fields.
tromey [Mon, 10 Nov 2008 20:38:24 +0000 (20:38 +0000)]
* cli/cli-cmds.c (source_script): Clean up full_pathname. Run
cleanups on early return.
amodra [Mon, 10 Nov 2008 08:45:12 +0000 (08:45 +0000)]
* objdump.c (disassemble_bytes): Don't skip leading zeros when
end of section calculation overflows.
gdbadmin [Mon, 10 Nov 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 9 Nov 2008 23:59:09 +0000 (23:59 +0000)]
daily update
vprus [Sun, 9 Nov 2008 11:27:17 +0000 (11:27 +0000)]
Kill pthread_ops_hack
* target.h (struct target_ops): Make to_attach, to_detach,
to_create_inferior and to_mourn_inferior accept a pointer
to struct target_ops.
(target_attach, target_create_inferior, target_create_inferior):
Convert from macros to function. Find the right target to
invoke a method of.
(find_default_attach, find_default_create_inferior): New parameter
ops.
* corefile.c (core_file_command): Pass target to to_detach.
* corelow.c (core_detach): Add 'ops' parameter.
* fork-child.c (fork_inferior): Return the pid. Allow
init_trace_fun to be NULL.
* inf-ptrace (ptrace_ops_hack): Remove.
(inf_ptrace_him): Remove, moving all logic into....
(inf_ptrace_create_inferior): ... here. Push the target
passed as parameter.
(inf_ptrace_mourn_inferior, inf_ptrace_attach, inf_ptrace_detach):
Push/pop target passed as parameter, no ptrace_ops_hack.
(inf_ptrace_target): Don't remember result.
* inferior.h (fork_inferior): Adjust prototype.
* linux-nat.c (linux_nat_create_inferior, linux_nat_attach)
(linux_nat_detach, linux_nat_mourn_inferior): New parameter ops.
Pass it to linux_ops target.
* linux-thread-db.c (thread_db_detach, thread_db_mourn_inferior):
New parameter ops. Pass it to the target beneath.
* remote.c (remote_mourn, extended_remote_mourn, remote_detach)
(extended_remote_create_inferior): New parameter ops. Pass it
further.
* target.c (debug_to_attach, debug_to_detach)
(debug_to_mourn_inferior): New parameter ops.
(target_create_inferior): New.
(update_current_target): Do not inherit to_attach, to_detach,
to_create_inferiour, to_mourn_inferior. Do not default
to_detach and to_mourn_inferior.
(target_detach): Find the right target to use.
(target_mourn_inferior): New.
(find_default_attach, find_default_create_inferior): New parameter
ops. Pass the found target when calling its method.
(init_dummy_target): Provide fallback definition of to_detach.
(target_attach): New.
(debug_to_attach, debug_to_detach, debug_to_create_inferior)
(debug_to_mourn_inferiour): New parameter ops.
* aix-thread.c: Adjust.
* bsd-uthread.c: Adjust.
* gnu-nat.c: Adjust.
* go32-nat.c: Adjust.
* hpux-thread.c: Adjust.
* inf-ttrace.c: Ajust.
* monitor.c: Adjust.
* nto-procfs.c: Adjust.
* procfs.c: Adjust.
* remote-m32r-sdi.c: Adjust.
* remote-mips.c: Adjust.
* remote-sim.c: Adjust.
* rs6000-nat.c: Adjust.
* sol-thread.c: Adjust.
* win32-nat.c: Adjust.
* dec-thread.c: Adjust.
vprus [Sun, 9 Nov 2008 07:54:27 +0000 (07:54 +0000)]
* thread.c (print_thread_info): Eliminate now useless checks
for exited threads.
gdbadmin [Sun, 9 Nov 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***