| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(__MINGW_USE_NAMESPACES): Define as _GLIBCPP_USE_NAMESPACES.
* include/ctype.h: Whitespace changes.
* include/locale.h: Remove duplicate inclusion of <stddef.h>.
* include/stdlib.h: (strtof, strtold): Move out of std namespace.
(wcstof, wcstold): Likewise.
* include/time.h (strftime): Remove duplicate declaration.
(_wasctime): Qualify tm with __CSTD.
* include/wchar.h (wcstof, wcstold): Move out of std namespace.
(wcstoll, wcstoull): Likewise.
* include/sys/types.h (__MINGW_USE_NAMESPACES): Use instead of
__USE_STD_CXX.
|
|
|
|
|
|
| |
(__HAVE_STD_CXX): Rename to __MINGW_USE_MAMESPACES.
Depend on _GLIBCPP_USE_NAMESPACES, not __GNUC__ version.
* include/time.h (_wctime): Qualify time_t with __CSTD.
|
|
|
|
|
|
| |
* samples/dlltest/dll.def (LIBRARY): Add.
Add ChangeLog entry for above.
|
| |
|
| |
|
|
|
|
| |
namespace.
|
| |
|
|
|
|
| |
GCC < 3.3.
|
| |
|
| |
|
|
|
|
|
|
| |
* include/stdlib.h: Likewise.
* include/wchar.h: Qualify size_t with __CSTD,
when in global namespace.
|
|
|
|
|
|
|
|
|
|
|
|
| |
when in global namespace.
* include/wctype:Likewise.
* include/stdio.h: Qualify wint_t and size_t with __CSTD
when in global namespace.
* include/stdlib.h: Qualify size_t with __CSTD
when in global namespace.
* include/string.h: Likewise.
* include/time.h: Likewise.
* include/sys/types.h: Inject time_t into global namespace.
|
| |
|
|
|
|
|
|
| |
patch.
* include/wctype.h: Add missing space before __wc, throughout.
(is_wctype): Move into non-ANSI space.
|
|
|
|
|
|
|
|
|
|
| |
with '__', throughout.
* include/inttypes.h: Likewise.
* include/math.h: Likewise.
* include/stdio.h: Likewise.
* include/stdlib.h: Likewise.
* include/wchar.h: Likewise.
* include/wctype.h: Likewise.
|
|
|
|
|
|
|
| |
std namespace.
(_tolower): Likewise.
(is_wctype): Move into non-ANSI, block. Qualify wctype_t with
__CSTD.
|
|
|
|
| |
(FILE): Qualify with __CSTD when in global namespace.
|
|
|
|
|
| |
* include/wchar.h (__VA_LIST): Define as __builtin_va_list
or char*.
|
|
|
|
|
|
|
|
| |
(__VA_LIST): Define as __builtin_va_list or char* instead.
* include/stdarg.h: #include _mingw.h.
In C++, #include_next<stdarg.g> in namespace __ginclude.
Push va_list into std:: if whole file is needed, else
push __gnuc_va_list into global.
|
|
|
|
|
|
|
|
| |
Protect _Wint_t typedef with __STRICT_ANSI__. Remove from std
namespace.
Fix comment about string functions.
Correct spelling of setjmp.h in ChangeLog.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* include/time.h: Don't include non-ISO sys/types.h.
(struct tm): Define in __CSTD, if not already done.
(_wasctime): Qualify tm with __CSTD.
(_wctime): Qualify time_t with __CSTD.
* include/wchar.h (ctype.h): Don't #include.
(stdio.h): Don't #include.
(time.h): Don't #include.
(wctype.h): Include in C, but not in C++ in ANSI mode.
(time_t): Define in __CSTD, if not already done. Qualify
with __CSTD throughout.
(struct tm): Likewise.
(FILENAME_MAX): Replace with numeric constant throughout.
Whitespace.
* include/io.h (stdio.h): Don't #include.
(time_t): Define in __CSTD, if not already done. Qualify
with __CSTD throughout.
(FILENAME_MAX): Replace with numeric constant throughout.
Consolidate RC_INVOKED. __cplusplus blocks.
* include/dir.h: Add header guard.
* include/sys/time.h: Add header guard.
* include/sys/types.h (time_t): Define in __CSTD.
* include/sys/utime.h (_utimbuf, utimbuf): Qualify
time_t with __CSTD.
Correct spelling of compatibility in ChangeLog.
|
|
|
|
|
|
|
|
| |
(FILE): Declare in __CSTD.
(fpos_t): Likewise.
(FILE): Qualify with __CSTD when used in non-std functions,
throughout.
* include/io.h (fileno): Remove prototype.
|
|
|
|
|
|
|
|
|
|
| |
* include/string.h: Untangle wide char protototypes.
Use C++ c-header compatability defines.
*include/wchar.h: Copy wide char string prototypes from
string.h.
Resync with io.h.
* include/signal.h: Use C++ c-header compatability defines.
* include/stdio.h: Add guard for __HAVE_STD_CXX.
|
|
|
|
|
|
|
|
| |
Use C++ c-header compatability defines.
* include/wchar.h: Likewise.
* include/time.h: Use C++ c-header compatability defines.
* include/tchar.h: ANSI-fy comment.
|
|
|
|
| |
Use C++ c-header compatability defines.
|
|
|
|
|
|
| |
* mingwex.math/fpclassify.c: Add non-underscored alias.
* mingwex.math/fpclassifyf.c: Likewise.
* mingwex.math/fpclassifyl.c: Likewise.
|
| |
|
|
|
|
|
|
|
|
| |
__BEGIN_CGLOBAL_NAMESPACE, __END_CGLOBAL_NAMESPACE, __CSTD,
__CGLOBAL): Add defines for for ISO C++ c-header compatability.
* include/ctype.h: Use C++ c-header compatability defines.
* include/wctype.h: Likewise.
|
|
|
|
|
|
|
|
|
| |
string.h.
Guard only non-ANSI names with #ifndef __STRICT_ANSI__,
* include/stdio.h: Add __STRICT_ANSI__ guard for underscored
wide char functions and oldnames.
(__mingw_fseek, __mingw_fwrite): Move into !__STRICT_ANSI__
block.
|
|
|
|
|
| |
elf_parse_notes. Use bfd_malloc_and_get_section.
(elf_parse_notes): Validate note namesz and descsz.
|
|
|
|
|
|
|
|
|
|
|
| |
PR gdb/1158:
* valops.c (value_struct_elt): Treat function-valued field as a
static method.
gdb/testsuite:
* gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
(function_struct, function_struct_ptr): New globals.
* gdb.base/callfuncs.exp (do_function_calls): Test calling via a
function pointer in a struct.
|
|
|
|
|
|
|
|
| |
PR gdb/1136:
* macroexp.c (get_punctuator) <punctuators>: Rearrange to put
longer tokens first.
gdb/testsuite:
* gdb.base/macscp.exp: Add test for macro lexing bug.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* cli/cli-decode.h (CMD_ASYNC_OK, set_cmd_async_ok)
(get_cmd_async_ok): Remove.
* cli/cli-decode.c (set_cmd_async_ok, get_cmd_async_ok): Remove.
* cli/cli-cmds.c (init_cli_cmds): Don't use set_cmd_async_ok.
* infcmd.c (_initialize_infcmd): Likewise.
* thread.c (_initialize_thread): Likewise.
|
|
|
|
|
|
|
|
|
|
|
| |
128-bit long doubles in even-odd pairs of FPRs. Do not
right-align float arguments for big-endian.
(mips_n32n64_return_value): Apply return value convention for
structs containing one or two floating-point values to soft-float
as well as hard-float. Handle 128-bit long doubles in such
structs.
(mips_o32_push_dummy_call): Only skip one integer register for a
float argument passed in an FPR.
|
| |
|
| |
|
|
|
|
|
| |
functions.
* tcl.m4: New file.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tui/tui-hooks.c: Include observer.h.
(tui_event_default, tui_old_event_hooks, tui_event_hooks):
Remove.
(tui_bp_created_observer, tui_bp_deleted_observer,
tui_bp_modified_observer): New globals.
(tui_install_hooks): Use observers, not events.
(tui_remove_hooks): Likewise.
* mi/mi-cmd-break.c: Include observer.h, not gdb-events.h.
(mi_breakpoint_observers_installed, mi_can_breakpoint_notify): New
globals.
(breakpoint_notify): Check mi_can_breakpoint_notify.
(breakpoint_hooks): Remove.
(mi_cmd_break_insert): Attach observers. Don't use events.
* tracepoint.c: Include observer.h, not gdb-events.h.
(tracepoint_operation, trace_pass_command): Notify observer.
* interps.c: Don't include gdb-events.h.
(clear_interpreter_hooks): Don't call clear_gdb_event_hooks.
* gdbarch.c: Rebuild.
* gdbarch.sh: Emit include for observer.h, not gdb-events.h.
(deprecated_current_gdbarch_select_hack): Notify observer.
* breakpoint.h: Don't include gdb-events.h.
* breakpoint.c: Don't include gdb-events.h.
(condition_command): Notify observer.
(commands_command): Likewise.
(commands_from_control_command): Likewise.
(mention, delete_breakpoint, set_ignore_count): Likewise.
(disable_breakpoint, do_enable_breakpoint): Likewise.
* Makefile.in (gdb_events_h): Remove.
(breakpoint_h): Update.
(COMMON_OBS): Remove gdb-events.o.
(gdb-events.o): Remove.
(breakpoint.o, gdbarch.o, interps.o, tracepoint.o, gdbtk-bp.o,
gdbtk-hooks.o, mi-cmd-break.o, tui-hooks.o): Update.
* gdb-events.c: Remove.
* gdb-events.h: Remove.
* gdb-events.sh: Remove.
gdb/doc:
* observer.texi (GDB Observers): Document new observers:
breakpoint_created, breakpoint_deleted, breakpoint_modified,
tracepoint_created, tracepoint_deleted, tracepoint_modified,
architecture_changed.
gdb/gdbtk:
* generic/gdbtk-hooks.c: Include observer.h, not gdb-events.h.
(gdbtk_add_hooks): Use observers, not events.
(gdbtk_architecture_changed): Add argument, for observer.
* generic/gdbtk-bp.c: Include observer.h.
(gdb_set_bp): Notify observer.
(gdb_set_bp_addr): Likewise.
|
| |
|
| |
|
| |
|
|
|
|
| |
server about info on the internally added main thread.
|
| |
|
|
|
|
| |
(procfs_wait): Return new pid, built from the inferior status.
|
|
|
|
| |
error assigning sections to segments.
|
| |
|
| |
|