From: Andrew Burgess Date: Fri, 23 Jul 2021 09:30:36 +0000 (+0100) Subject: gdb: move remaining ChangeLogs to legacy files X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=730afdd1399f12b6683b70b7cba0ef67651e4e05;p=binutils-gdb.git gdb: move remaining ChangeLogs to legacy files In commit: commit f069ea46a03ae868581d1c852da28e979ea1245a Date: Sat Jul 3 16:29:08 2021 -0700 Rename gdb/ChangeLog to gdb/ChangeLog-2021 The gdb/ChangeLog file was renamed, but all of the other ChangeLog files relating to gdb were left in place. As I understand things, the no ChangeLogs policy applies to all the GDB related directories, so this commit renames all of the remaining GDB related ChangeLog files. As with the original commit, the intention behind this commit is to hopefully stop people merging ChangeLog entries by mistake. The renames carried out in this commit are: gdb/doc/ChangeLog -> gdb/doc/ChangeLog-1991-2021 gdb/stubs/ChangeLog -> gdb/stubs/ChangeLog-2012-2020 gdb/testsuite/ChangeLog -> gdb/testsuite/ChangeLog-2014-2021 gdbserver/ChangeLog -> gdbserver/ChangeLog-2002-2021 gdbsupport/ChangeLog -> gdbsupport/ChangeLog-2020-2021 --- diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog deleted file mode 100644 index 0df8399caa3..00000000000 --- a/gdb/doc/ChangeLog +++ /dev/null @@ -1,14036 +0,0 @@ -2021-07-02 Pedro Alves - - * gdb.texinfo (TUI): : New node/section. - -2021-06-25 Andrew Burgess - - * gdb.texinfo (Symbols): Document new output format for 'info - sources'. - -2021-06-25 Andrew Burgess - - * gdb.texinfo (GDB/MI File Commands): Document --group-by-objfile - extension for -file-list-exec-source-files. - -2021-06-25 Andrew Burgess - - * gdb.texinfo (GDB/MI File Commands): Document extensions to - -file-list-exec-source-files. - -2021-06-25 Andrew Burgess - - * python.texinfo (Breakpoints In Python): Add BP_CATCHPOINT - description. - -2021-06-25 Andrew Burgess - - * guile.texinfo (Breakpoints In Guile): Add BP_CATCHPOINT - description. - -2021-06-21 Andrew Burgess - - * gdb.texinfo (RISC-V Features): Mention vector register feature. - -2021-06-21 Andrew Burgess - - * python.texi (Unwinding Frames in Python): Mention - PendingFrame.level. - (Frames In Python): Mention Frame.level. - -2021-06-16 Felix Willgerodt - - * gdb.texinfo (Process Record and Replay): Stop mentioning lines - for "record function-call-history" and - "set record function-call-history-size". - -2021-06-08 Lancelot Six - - * python.texi (Writing a Pretty-Printer): Use 'is None' instead of - '== None'. - -2021-06-05 Shahab Vahedi - - * gdb.texinfo (Source and Machine Code): Document 'set - disassembler-options' support for the ARC target. - -2021-06-04 Hannes Domani - - * python.texi (TUI Windows In Python): Document Window.click. - -2021-05-29 Hannes Domani - - * python.texi (Writing a Frame Filter): Fix example. - -2021-05-27 Hannes Domani - - * python.texi (TUI Windows In Python): Document "full_window" - argument. - -2021-05-27 Hannes Domani - - * python.texi (Symbols In Python): Document gdb.SYMBOL_LOC_LABEL. - -2021-05-25 Hannes Domani - - * python.texi (Symbols In Python): Fix gdb.SYMBOL_LOC_COMMON_BLOCK. - -2021-05-24 Andrew Burgess - - * gdb.texi (Initialization Files): Add '@:' after 'e.g.'. - (Source Path): Likewise. - (GDB/MI Development and Front Ends): Likewise. - (ARM Features): Likewise. - (gdb man): Likewise. - -2021-05-14 Tankut Baris Aktemur - - * python.texi (Inferiors In Python): Mention the 'connection_num' - attribute. - -2021-05-12 George Barrett - - * guile.texi (Values From Inferior In Guile): Add documentation - for value-const-value. - -2021-05-12 George Barrett - - * guile.texi (Values From Inferior In Guile): Add documentation - for value-reference-value. Add documentation for - value-rvalue-reference-value. - -2021-05-12 George Barrett - - * guile.texi (Types In Guile): Add documentation for - TYPE_CODE_RVALUE_REF. - -2021-05-10 Andrew Burgess - - * guile.texinfo (Breakpoints In Guile): Reword sentence. - * python.texinfo (Breakpoints In Python): Reword sentence. - -2021-05-09 Andrew Burgess - - * python.texinfo (Python Commands): Document 'set debug - py-unwind' and 'show debug py-unwind'. - -2021-05-09 Andrew Burgess - - * python.texinfo (Python Commands): Document 'set debug - py-breakpoint' and 'show debug py-breakpoint'. - -2021-05-06 Tankut Baris Aktemur - - * gdb.texinfo (GDB/MI Breakpoint Commands): Mention the - '--force' flag of the '-break-condition' command. - -2021-05-06 Tankut Baris Aktemur - - * gdb.texinfo (GDB/MI Breakpoint Commands): Mention the - '--force-condition' flag of the '-break-insert' and - '-dprintf-insert' commands. - -2021-05-04 Simon Marchi - - * python.texi (Types In Python): Re-organize Type.fields doc. - Mention handling of array types. Correct doc for when calling - the method on another type. - -2021-04-28 Andrew Burgess - - * gdb.texinfo (Initialization Files): Use @env when referencing - environment variables. - (Shell Commands): Likewise. - (Starting): Likewise. - (Arguments): Likewise. - (Environment): Likewise. - (Edit): Likewise. - (Compiling and Injecting Code): Likewise. - (Files): Likewise. - (Command History): Likewise. - (Screen Size): Likewise. - (Emacs): Likewise. - -2021-04-28 Andrew Burgess - - * python.texinfo (Python Commands): Mention new commands. - -2021-04-25 Lancelot Six - - PR gdb/22640 - * gdb.texinfo (Symbols): Describe the 'x' and 'd' flags of the - ptype command, describe 'set print type hex' and 'show print - type hex' commands. Update 'ptype/o' examples. - -2021-04-21 Tankut Baris Aktemur - - * gdb.texinfo (GDB/MI Breakpoint Information): Update the - description for the 'enabled' field of breakpoint locations. - -2021-04-15 Tom Tromey - Andrew Burgess - - * gdb.texinfo (Mode Options): Mention "set startup-quietly". - -2021-04-15 Andrew Burgess - - PR cli/25956 - * gdb.texinfo (File Options): Mention new command line options. - (Startup): Discuss when early init files are processed. - (Initialization Files): Add description of early init files. - (Output Styling): Update description of 'version' style. - (gdb man): Mention early init files. - -2021-04-14 Andrew Burgess - - * gdb.texinfo (GDB/MI Miscellaneous Commands): Add missing - parentheses to GDB prompt in example, and replace '(gdb)' with - '(@value{GDBP})' in one example where the latter was already in - use. - -2021-03-29 Luis Machado - - * gdb.textinfo (Memory Tagging): Make it a @section. - -2021-03-24 Luis Machado - - * gdb.texinfo (Data): Document memory tagging changes to the "print" - command. - (Examining Memory): Document memory tagging changes to the "x" - command. - (Memory Tagging): Update with more information on changes to the "x" - and "print" commands. - -2021-03-24 Luis Machado - - * gdb.texinfo (Memory Tagging): New subsection and node. - (AArch64 Memory Tagging Extension): New subsection. - -2021-03-24 Luis Machado - - * gdb.texinfo (General Query Packets): Document qMemTags and - QMemTags. Document the "memory-tagging" feature. - (ARM-Specific Protocol Details): Document memory tag types. - -2021-03-18 Andrew Burgess - - * python.texinfo (Parameters In Python): Return empty string in - small example code. - -2021-02-24 Andrew Burgess - - * gdb.texinfo (Files): Document new 'maint info target-sections' - command. - -2021-02-17 Lancelot Six - - PR cli/17290 - * gdb.texinfo (Remote Configuration): Fix show remote - interrupt-sequence and show remote interrupt-on-connect. - -2021-02-11 Andrew Burgess - - * gdb.texinfo (Files): Update documentation for 'maint info - sections'. - -2021-02-08 Andrew Burgess - - * python.texinfo (TUI Windows In Python): Extend description of - TuiWindow.is_valid. - -2021-02-02 Lancelot SIX - - * gdb.texinfo (Inferiors Connections and Programs): Document the - inferior command when used without argument. - -2021-01-27 Tom Tromey - - * gdb.texinfo (Auto-loading extensions): Remove extraneous space. - -2021-01-25 Marco Barisione - - * python.texi: Add parentheses to print statements/functions. - -2021-01-25 Andrew Burgess - - * gdb.texinfo (Specify Location): Move menu to the end of the - node. - (Auto-loading): Likewise. - (Extending GDB): Likewise. - (TUI): Likewise. - (Operating System Information): Likewise. - -2021-01-22 Andrew Burgess - - PR cli/25956 - * gdb.texinfo (Output Styling): Document version style. - -2021-01-22 Andrew Burgess - - * gdb.texinfo (Auto-loading extensions): Add additional cross - references and move @menu to the end of the node. - -2021-01-22 Andrew Burgess - - * gdb.texinfo (Aliases): Move @menu to the end of the node. - -2021-01-22 Andrew Burgess - - * gdb.texinfo (PowerPC Embedded): Down case contents of @var. - -2021-01-21 Andrew Burgess - - * gdb.texinfo (Commands): Update menu. - (Extending GDB): Likewise. - (Command aliases default args): Moved later into the document, - added a cindex entry. Renamed the section 'Automatically prepend - default arguments to user-defined aliases' to 'Default Arguments'. - (Aliases): Moved earlier in the document. Minor rewording of the - first paragraph, down-cased the text inside all uses of @var, and - added a cross reference to the Python code. Renamed the section - 'Creating new spellings of existing commands' to 'Command - Aliases'. - -2021-01-21 Hannes Domani - - PR python/19151 - * python.texi (Breakpoints In Python): Document - gdb.BP_HARDWARE_BREAKPOINT. - -2021-01-01 Joel Brobecker - - * gdb.texinfo, refcard.tex: Update copyright year range. - -2020-12-29 Hannes Domani - - * python.texi (Frame Decorator API): Fix method name. - -2020-12-23 Alex Bennée - - * gdb.texinfo (Packets): Clarify language for ? packet. - -2020-12-21 Joel Brobecker - - * gdb.texinfo (Requirements): Add GMP to list of requirements. - -2020-12-18 Hannes Domani - - * python.texi (TUI Windows In Python): Remove erroneous 'a'. - -2020-12-18 Hannes Domani - - * python.texi (Values From Inferior): Document the address keyword. - -2020-12-17 Simon Marchi - - PR gdb/27088 - * gdb.texinfo (Range Checking): Fix "show check range" command - name. - -2020-12-13 Andrew Burgess - - * gdb.texinfo (Caching Target Data): Document 'maint flush - dcache'. - -2020-12-13 Andrew Burgess - - * gdb.texinfo (Symbols): Document 'maint flush symbol-cache'. - (Maintenance Commands): Document 'maint flush register-cache'. - -2020-12-04 Bernd Edlinger - - * Makefile.in: Delete GDBvn.texi and version.subst only in - the maintainer-clean target. - -2020-11-29 Hannes Domani - - PR python/26974 - * python.texi: Fix docu for static members argument. - -2020-11-19 Andrew Burgess - - * gdb.texinfo (Debugging Output): Document 'set/show debug - fortran-array-slicing'. - (Special Fortran Commands): Document 'set/show fortran - repack-array-slices'. - -2020-11-12 Andrew Burgess - - * gdb.texinfo (Maintenance Commands): Update description of 'maint - print c-tdesc'. - -2020-11-02 Andrew Burgess - - * gdb.texinfo (Mode Options): Descriptions of initialization files - has been moved to 'Initialization Files'. - (Startup): Likewise. - (Initialization Files): New node. - (gdb man): Update to mention alternative file paths. - (gdbinit man): Likewise. - -2020-10-27 Tankut Baris Aktemur - - * gdb.texinfo (Set Breaks): Document the '-force-condition' flag - of the 'break'command. - * gdb.texinfo (Conditions): Document the '-force' flag of the - 'condition' command. - -2020-10-27 Tankut Baris Aktemur - - * gdb.texinfo (Set Breaks): Document disabling of breakpoint - locations for which the breakpoint condition is invalid. - -2020-10-06 Michael Forney - - * Makefile.in (HAVE_NATIVE_GCORE_HOST): Add for gcore.1 - install condition. - -2020-10-04 Simon Marchi - - * gdb.texinfo (Debugging Output): Add set/show debug event-loop. - -2020-10-04 Simon Marchi - - * gdb.texinfo (Debugging Output): Add empty lines, fix typo. - -2020-09-13 Pedro Alves - - * gdb.texinfo (GDB/MI Breakpoint Commands): Document - "-break-insert --qualified" and "-dprintf-insert --qualified". - -2020-08-25 Shahab Vahedi - - * gdb.texinfo (Synopsys ARC): Document LP_START, LP_END and BTA. - -2020-08-25 Shahab Vahedi - - * gdb.texinfo (Synopsys ARC): Update the documentation for ARC - Features. - -2020-08-07 Tom Tromey - - * gdb.texinfo (Ravenscar Profile): Add examples. - Document runtime initialization limitation. - -2020-08-04 Jose E. Marchesi - - * gdb.texinfo (Contributors): Add information for the eBPF - support. - (BPF): New section. - -2020-07-28 Andrew Burgess - - * python.texi (Unwinding Frames in Python): Update descriptions - for PendingFrame.read_register and - gdb.UnwindInfo.add_saved_register. - (Frames In Python): Update description of Frame.read_register. - -2020-07-28 Andrew Burgess - - * python.texi (Registers In Python): Document new find function. - -2020-07-22 Kevin Buettner - - * gdb.texinfo (Maintenance Commands): Add documentation for - new command "maintenance print core-file-backed-mappings". - -2020-07-22 Reuben Thomas - - * gdb.texinfo (Remote Protocol, Overview): Correct the description - of which remote protocol commands are mandatory for a stub to - implement. - -2020-07-20 Ludovic Courtès - - * doc/guile.texi (Guile Introduction): Mention Guile 3.0. - -2020-07-20 Ludovic Courtès - - * guile.texi (Memory Ports in Guile): Mark - 'memory-port-read-buffer-size', - 'set-memory-port-read-buffer-size!', - 'memory-port-write-buffer-size', - 'set-memory-port-read-buffer-size!' as deprecated. - (Guile Introduction): Clarify which Guile - versions are supported. - -2020-07-13 Paul Carroll - - PR gdb/25716 - - * gdb.texinfo (Frame Apply): Remove anchor for 'frame - apply' and adjust xrefs to it. - -2020-07-11 Philippe Waroquiers - - * gdb.texinfo (Attach): Update exec-file-mismatch doc. - -2020-07-08 Hannes Domani - - * gdb.texinfo: Document Windows drive conversion of - 'set auto-load scripts-directory'. - -2020-07-06 Andrew Burgess - - * gdb.texi (Registers): Add @anchor for 'info registers - ' command. - * python.texi (Architectures In Python): Document new - register_groups method. - (Registers In Python): Document two new object types related to - register groups. - -2020-07-06 Andrew Burgess - - * python.texi (Python API): Add new section to the menu. - (Frames In Python): Add new @anchor. - (Architectures In Python): Document new registers method. - (Registers In Python): New section. - -2020-07-06 Andrew Burgess - - * python.texi (Unwinding Frames in Python): Document - PendingFrame.architecture method. - -2020-06-26 Eli Zaretskii - - * gdb.texinfo (Shell Commands): More accurate description of use - of $SHELL. Reported by Sandra Loosemore . - -2020-06-23 Andrew Burgess - - * gdb.texinfo (Maintenance Commands): Document new 'maint print - xml-desc' command. - -2020-06-22 Philippe Waroquiers - - * gdb.texinfo (Command aliases default args): New node documenting - how to use default args for a command using aliases. - (Aliases): Document the new 'DEFAULT-ARGS...' option. - (Help): Update help aliases text and describe when full alias - definition is provided. - -2020-06-11 Tom Tromey - - * gdb.texinfo (Index Files): Reword. Remove Ada limitation. - -2020-06-10 Jonny Grant - - * gdb.texinfo: Remove broken links Previous and Up from - contents. - -2020-05-23 Tom Tromey - - * gdb.texinfo (Output Styling): Don't mention completion styling. - (Editing): Don't mention readline completion styling. - -2020-05-23 Tom Tromey - - * gdb.texinfo (Output Styling): Mention completion styling. - (Editing): Mention readline completion styling. - -2020-05-19 Pedro Alves - - * gdb.texinfo (Attach): Update exec-file-mismatch description to - mention build IDs. - (Separate Debug Files): Add "build id" anchor. - -2020-05-15 Philippe Waroquiers - - * gdb.texinfo (Help): Document the help and apropos changes. - (Aliases): Document new meaning of -a abbreviation flag. - -2020-05-05 Kamil Rytarowski - - * gdb.texinfo (info proc, info proc cmdline, info proc cwd) - (info proc exe, info proc mappings, info proc stat): Mention - NetBSD support. - -2020-04-28 Tom Tromey - - * python.texi (Commands In Python): Document gdb.COMMAND_TUI. - -2020-04-27 Tom Tromey - - * python.texi (Types In Python): Mention missing fields. Add - dynamic type example. - -2020-04-24 Tom Tromey - - PR python/23662: - * python.texi (Types In Python): Document new features. - -2020-04-15 Artur Shepilko - - * gdb.texinfo: Transform @var{[host]} to [@var{host}]; this - clears makeinfo warnings. - * python.texi: Add a missing period trailing an @xref{} clause; - this clears a makeinfo warning. - -2020-03-06 Tom de Vries - - * gdb.texinfo: Fix "the the". - -2020-03-04 Tom de Vries - - * gdb.texinfo: Remove trailing "done." in "Reading symbols from" lines. - * python.texi: Same. - -2020-03-02 Andrew Burgess - - * gdb.texinfo (Command History): Extend description for - GDBHISTFILE and GDBHISTSIZE, add detail about the filename for - 'set history filename' being optional. Describe the effect of an - empty history filename on 'set history save on'. - -2020-02-24 Andrew Burgess - - * gdb.texinfo (Threads): Fix alignment in 'info threads' example - output. - -2020-02-22 Tom Tromey - - * python.texi (Python API): Add menu item. - (TUI Windows In Python): New node. - -2020-02-22 Tom Tromey - - PR tui/17850: - * gdb.texinfo (TUI Commands): Document horizontal layouts. - -2020-02-22 Tom Tromey - - * gdb.texinfo (TUI Overview): Mention user layouts. - (TUI Commands): Document "tui new-layout". - -2020-01-26 Tom Tromey - - * gdb.texinfo (M68K Features): Document floating-point feature - correspondence. - -2020-01-25 Philippe Waroquiers - - * gdb.texinfo (Attach): Document the new option and the - set/show commands. - (Connecting): Reference the exec-file-mismatch option. - -2020-01-10 Pedro Alves - - * gdb.texinfo (Starting): Say "current inferior not connected" - instead of "GDB not connected". - (Inferiors and Programs): Rename node to ... - (Inferiors Connections and Programs): ... this. Update all - references. Talk about multiple target connections. Update "info - inferiors" info to mention the connections column. Describe "info - connections". Document "add-inferior -no-connection". - * guile.texi, python.texi: Update cross references. - -2020-01-01 Joel Brobecker - - * gdb.texinfo, refcard.tex: Update copyright year range. - -2019-12-14 Andrew Burgess - - * python.texi (Symbols In Python): Remove duplicate description of - gdb.lookup_global_symbol. - -2019-12-11 Simon Marchi - - * gdb.texinfo (Writing JIT Debug Info Readers): Fix typo. - -2019-12-11 Philippe Waroquiers - - * gdb.texinfo (Command Options): Use -p and -pretty in the example, - as -r is ambiguous. Update the print - TAB TAB completion result. - (Data): Document new option -raw-values. Use -p and -pretty in the - example, as -r is ambiguous. - (Print Settings): Document set print raw values. - (Pretty-Printer Commands): Document interaction between enabled - pretty printers and -raw-values/-raw-frame-arguments. - -2019-12-10 Tom Tromey - - * python.texi (gdb.prompt): Use correct quotes in example. - Shorten sample text. - -2019-12-04 Andrew Burgess - - * doc/gdb.texinfo (GDB/MI Symbol Query): Add documentation of - -max-results to some -symbol-info-* commands. - -2019-12-04 Andrew Burgess - - * doc/gdb.texinfo (GDB/MI Symbol Query): Document new MI command - -symbol-info-module-functions and -symbol-info-module-variables. - -2019-12-01 Tom Tromey - - * gdb.texinfo (TUI Configuration): Mention TUI border styles. - (Output Styling): Document new settings. - -2019-12-01 Tom Tromey - - * gdb.texinfo (TUI Configuration): Document new setting. - -2019-11-30 Philippe Waroquiers - - * gdb.texinfo (Define): Indicate that user-defined prefix can - be used in 'define' command. Document 'define-prefix' command. - -2019-11-27 Andrew Burgess - - * doc/gdb.texinfo (GDB/MI Symbol Query): Document new MI command - -symbol-info-modules. - -2019-11-27 Andrew Burgess - - * doc/gdb.texinfo (GDB/MI Symbol Query): Document new MI command - -symbol-info-functions, -symbol-info-types, and - -symbol-info-variables. - -2019-11-26 Tom Tromey - - * gdb.texinfo (Maintenance Commands): Document new maint - commands. - -2019-11-25 Luis Machado - - * gdb.texinfo (Debugging Output): Document set debug - remote-packet-max-chars. - -2019-11-14 Tom de Vries - - * gdb.texinfo: Fix typos. - * python.texi: Same. - * stabs.texinfo: Same. - -2019-11-12 Tom Tromey - - * gdb.texinfo (Maintenance Commands): Document new command. - -2019-11-11 Tom Tromey - - * gdb.texinfo (TUI Keys): Document readline function names. - -2019-11-11 Tom Tromey - - * gdb.texinfo (Editing): Document operate-and-get-next. - -2019-11-11 Tom Tromey - - * gdb.texinfo (Host I/O Packets): Fix typo in "vFile:pwrite". - -2019-11-10 Andrew Burgess - - * python.texi (Symbols In Python): Add documentation for - gdb.lookup_static_symbols. - -2019-11-10 Andrew Burgess - - * python.texi (Symbols In Python): Extend documentation for - gdb.lookup_static_symbol. - -2019-10-31 Andrew Burgess - - * gdb.texinfo (Symbols): Document new 'info module variables' and - 'info module functions' commands. - -2019-10-31 Andrew Burgess - - * gdb.texinfo (Symbols): Document new 'info modules' command. - -2019-10-31 Philippe Waroquiers - - * gdb.texinfo (Convenience Funs): Document the new - $_gdb_setting_str, $_gdb_maint_setting and $_gdb_maint_setting_str - convenience functions. - -2019-10-29 Christian Biesinger - - * Makefile.in: Also set SYSTEM_GDBINIT_DIR for the info manual - generation. - * gdb.texinfo (many sections): Document new --with-system-gdbinit-dir - option. - -2019-10-23 Tom Tromey - - * Makefile.in (READLINE_DIR): Update. - -2019-10-23 Christian Biesinger - - * python.texi (Threads In Python): Add a note for how to get the - list of threads. - -2019-10-07 Tom de Vries - - * gdb.texinfo: Fix typo. - * guile.texi: Same. - * python.texi: Same. - -2019-10-03 Bernhard Heckel - - * doc/gdb.texinfo (Fortran Operators): Describe scope operator. - -2019-10-02 Tom Tromey - - * gdb.texinfo (Set Catchpoints, Convenience Vars): Document - $_ada_exception. - -2019-09-20 Ulrich Weigand - - * doc/gdb.texinfo (Remote Configuration): Remove documentation for - qXfer:spu:read and qXfer:spu:write. - (General Query Packets): Likewise. - (Cell Broadband Engine SPU architecture): Remove subsection. - -2019-09-18 Tom Tromey - - * gdb.texinfo (Editing): Document readline application name. - (TUI Single Key Mode): Document TUI SingleKey keymap name. - -2019-09-17 Andrew Burgess - - * gdb.texinfo (Source Path): Additional text to better describe - how the source path directory list is used when searching for - source files. - -2019-09-12 Philippe Waroquiers - - * gdb.texinfo (Ada Tasks): Tell the task name is printed, update - examples. - -2019-09-10 Tom Tromey - - * gdb.texinfo (Index Files): Update Ada text. - -2019-08-27 Andrew Burgess - - * gdb.texinfo (Symbols): Add information about the -n flag to - "info variables" and "info functions". - -2019-08-25 Yoshinori Sato - - * gdb.texinfo (Standard Target Features): Add RX Features sub-section. - -2019-08-16 Alan Hayward - - * gdb.texinfo (AArch64 Pointer Authentication) - (GDB/MI Breakpoint Information) (Frame Information): Document - addr_field. - -2019-08-12 Tom Tromey - - * gdb.texinfo (Configure Options): Document minimum version of - readline. - -2019-08-09 Alan Hayward - - * gdb.texinfo (AArch64 Pointer Authentication): Fix typo. - -2019-08-07 Alan Hayward - - * gdb.texinfo (AArch64 Pointer Authentication): New subsection. - -2019-08-05 Christian Biesinger - - * python.texi (Blocks In Python): Document dictionary access on blocks. - -2019-08-03 Philippe Waroquiers - - * gdb.texinfo (Symbols): Document new args -dirname and -basename - of "info sources" command. - -2019-07-30 Christian Biesinger - - * python.texi (Symbols In Python): Document new function - gdb.lookup_static_symbol. - -2019-07-29 Christian Biesinger - - * python.texi (Objfiles In Python): Document new functions - Objfile.lookup_{global,static}_symbol. - -2019-07-29 Philippe Waroquiers - - * gdb.texinfo (Backtrace): Document the new '-frame-info' - backtrace option. Reference 'set print frame-info'. - (Print Settings): Document 'set|show print frame-info'. - Document new 'presence' value for 'set print frame-arguments. - -2019-07-22 Andrew Burgess - - * gdb.texinfo (Symbols): Add information about -q flag to "info - types". - -2019-07-20 Kevin Buettner - - * python.texi (python command): Revise example to match - command behavior. - -2019-07-09 Pedro Alves - - * gdb.texinfo (C++ Exception GDB/MI Catchpoint Commands): Adjust - examples to show type=catchpoint instead of type=breakpoint and an - address. - -2019-07-03 Pedro Alves - Philippe Waroquiers - - * gdb.texinfo (Command Settings): New node documenting the general - concept of settings, how to change them, and the new "with" - command. - (Maintenance Commands): Document "maint with". - -2019-07-03 Pedro Alves - - * gdb.texinfo (Maintenance Commands): Document "maint set/show - test-settings" instead of "maint test-settings set/show". - -2019-06-18 Simon Marchi - - * gdb.texinfo (Invoking GDB): Remove sentence about how GDB - deals with a file that has the same name as the specified pid to - attach to. Add example using -p option. - (gdb man): Remove same sentence as in previous item. - -2019-06-15 Andrew Burgess - - * gdb.texinfo (GDB/MI Catchpoint Commands): Add menu entry to new - node. - (C++ Exception GDB/MI Catchpoint Commands): New node to describe - new MI commands. - -2019-06-13 Pedro Alves - - * gdb.texinfo (Command Completion): Mention command options too. - (Command Options): New node. - (Threads): Add anchors. Extend descriptions of the "taas" and - "tfaas" commands. - (Backtrace): Describe new options of the "backtrace" command. Add - anchors. - (Frame Apply): Describe new options of the "frame apply" and - "faas" commands. Add anchors. - (Data): Describe new options of the "print" command. Add anchors. - (Compiling and Injecting Code): Mention options of the "compile - print" command. - (Maintenance Commands): Mention "maint test-options" subcommands - and the "maint show test-options-completion-result" command. - -2019-06-13 Pedro Alves - - * gdb.texinfo (Print Settings): Document "set/show print - raw-frame-arguments" instead of "set/show print raw - frame-arguments". - -2019-06-13 Pedro Alves - - * gdb.texinfo (Maintenance Commands): Document "maint - test-settings" commands. - -2019-06-06 Amos Bird - - * annotate.texinfo (Multi-threaded Apps): Add entry for thread-exited - annotation. - -2019-06-04 Christian Biesinger - - * python.texi: Document new gdb.Type.objfile property. - -2019-06-03 Philippe Waroquiers - - * gdb.texinfo (Help): Document the new -v apropos flag. - (Output Styling): Document the style name styling done by "show style". - Document the new title and highlight styles. - -2019-05-31 Philippe Waroquiers - - * gdb.texinfo (Shell Commands): Document pipe command. - (Logging Output): Add a reference to pipe command. - (Convenience Variables): Document $_shell_exitcode and - $_shell_exitstatus. - -2019-05-29 Tom Tromey - - * gdb.texinfo (Continuing and Stepping): Document new - commands. - -2019-05-22 Alan Hayward - - * gdb.texinfo (Shell Commands): Add debugredirect. - -2019-05-22 Jan Vrany - - * gdb.texinfo: Minor formatting fixes. - -2019-01-28 Jan Vrany - - * gdb.texinfo (Miscellaneous GDB/MI Commands): Document new - MI command -complete. - -2019-05-14 Tom de Vries - - * gdb.texinfo (Automatic symbol index cache): Add concept and command - index entries. - -2019-05-14 Tom de Vries - - * gdb.texinfo (Maintenance Commands): Remove superfluous - quoting on command index entry for "maint info selftests". - -2019-05-10 Tom Tromey - - * python.texi (Pretty Printing API): Mention lazy computation for - "children". - -2019-05-10 Tom Tromey - - * gdb.texinfo (Set Catchpoints): Add text for parameter to "catch - exception" and "catch handlers". Move "catch exception unhandled" - text. Use @var for "catch load" and "catch unload" - -2019-05-08 Tom Tromey - - * gdb.texinfo (Symbols): Document change to ptype/o. - -2019-05-03 Eli Zaretskii - - * gdb.texinfo (Separate Debug Files): Document how the - subdirectory of the global debug directory is computed on - MS-Windows/MS-DOS. - -2019-04-29 Andrew Burgess - - * gdb.texinfo (Print Settings): Document 'print max-depth'. - * guile.texi (Guile Pretty Printing API): Document that 'print - max-depth' can effect the display of a values children. - * python.texi (Pretty Printing API): Likewise. - (Values From Inferior): Document max_depth keyword. - -2019-04-27 Philippe Waroquiers - - * gdb.texinfo (Calling): Document the new - set|show may-call-functions. - -2019-04-22 Pedro Alves - - * gdb.texinfo (Reverse Execution): Mention and xref process record - and replay. Mention remote and system emulators. - (Process Record and Replay): List supported architectures. - Mention that "record btrace" is only supported on Intel - processors. - -2019-04-17 Alan Hayward - - * gdb.texinfo (Other Command-Line Arguments for gdbserver) - (Monitor Commands for gdbserver) - (gdbserver man): Add debug-file option. - -2019-04-08 Kevin Buettner - - * python.texi (Inferiors In Python): Rename - Inferior.thread_from_thread_handle to Inferior.thread_from_handle. - Add note about the former being deprecated. - -2019-04-08 Kevin Buettner - - * python.texi (Threads In Python): Add description for method - InferiorThread.handle. - -2019-04-07 Tom Tromey - - * Makefile.in (all): Depend on "info". - -2019-04-01 Andrew Burgess - - * gdb.texinfo (Convenience Funs): Document '$_creal' and - '$_cimag'. - -2019-03-30 Eli Zaretskii - - * gdb.texinfo (Convenience Vars): Document $_gdb_major and - $_gdb_minor. - -2019-03-26 Andrew Burgess - - * python.texi (Pretty Printing API): Document use of None for the - display_hint. - -2019-03-22 Alan Hayward - Jiong Wang - - * gdb.texinfo (AArch64 Features): Describe pauth feature. - -2019-03-20 Tom Tromey - - * python.texi (Selecting Pretty-Printers): Use @defvar for - gdb.pretty_printers. - -2019-03-14 Simon Marchi - - * gdb.texinfo (GDB/MI Development and Front Ends): Fix closing - of table, "@end @table" -> "@end table". - -2019-03-14 Tom Tromey - - * gdb.texinfo (Output Styling): Document "set style source" and - "show style source". - -2019-03-13 Simon Marchi - - * gdb.texinfo (Mode Options): Mention mi3. - (Interpreters): Likewise. - (GDB/MI Development and Front Ends): Add entry for MI 3 in - version table. Document -fix-multi-location-breakpoint-output. - (GDB/MI Breakpoint Information): Document format of breakpoint - location output. - -2019-03-05 Simon Marchi - - * python.texi (Values From Inferior): Change synopsys of the - second form of Value.__init__. - -2019-03-02 Eli Zaretskii - - * gdb.texinfo (Output Styling): Fix typos. Document the default - foreground colors of the available styles. - -2019-02-27 Kevin Buettner - - * gdb.texinfo (Configure Options): Document minimum python - version. - -2019-02-26 Kevin Buettner - - * python.texi (Values From Inferior): Document second form - of Value.__init__. - -2019-02-23 Joel Brobecker - - * gdb.texinfo: Update copyright year ranges. - * refcard.tex: Likewise. - -2019-02-21 Alan Hayward - - * gdb.texinfo: Update style defaults. - -2019-02-21 Tom Tromey - - * gdb.texinfo (Remote Configuration): Remove trailing "." from - @item. - -2019-01-16 Simon Marchi - - * gdb.texinfo (GDB/MI Development and Front Ends): Add table of - MI versions. Update text around it. - -2019-01-14 Pedro Franco de Carvalho - - * gdb.texinfo (PowerPC Features): Document the alias - pseudo-registers for the org.gnu.gdb.power.altivec feature. - -2019-01-09 Simon Marchi - - * gdb.texinfo (Print Settings): Remove mention of specific - demangle-style values, just refer to the in-process help. - -2018-12-28 Tom Tromey - - * gdb.texinfo (Output Styling): New node. - -2018-12-13 John Baldwin - - * gdb.texinfo (Set Catchpoints): Add an anchor for 'catch syscall'. - (Native): Add a FreeBSD subsection. - (FreeBSD): Document use of system call aliases for compatibility - system calls. - -2018-11-21 Andrew Burgess - - * gdb.texinfo (Standard Target Features): Add RISC-V Features - sub-section. - -2018-11-20 Philippe Waroquiers - - * gdb.texinfo (Examining the Symbol Table): Document language choice - for 'info types|functions|variables' commands. - (Setting Breakpoints): Document language choice to print - the functions in which a breakpoint is set. - -2018-11-09 Pedro Franco de Carvalho - - * gdb.texinfo (PowerPC Features): Document the altivec and fpu - requirements for the org.gnu.gdb.power.vsx feature. - -2018-11-01 Joel Brobecker - - * gdb.texinfo (Ada Tasks): Update the "info task 2" example - output to match the current implementation. - -2018-10-27 Philippe Waroquiers - - * gdb.texinfo (Information About a Frame): Document changes - to 'info args' and 'info locals'. - (Examining the Symbol Table): Document changes to 'info functions' - and 'info variables'. - -2018-10-26 Pedro Franco de Carvalho - - * gdb.texinfo (PowerPC Features): Describe new features - "org.gnu.gdb.power.htm.spr", "org.gnu.gdb.power.htm.core", - "org.gnu.gdb.power.htm.fpu", "org.gnu.gdb.power.htm.altivec", - "org.gnu.gdb.power.htm.vsx", "org.gnu.gdb.power.htm.ppr", - "org.gnu.gdb.power.htm.dscr", "org.gnu.gdb.power.htm.tar". - -2018-10-26 Pedro Franco de Carvalho - - * gdb.texinfo (PowerPC Features): Describe new features - "org.gnu.gdb.power.ebb" and "org.gnu.gdb.power.linux.pmu". - -2018-10-26 Pedro Franco de Carvalho - - * gdb.texinfo (PowerPC Features): Describe new feature - "org.gnu.gdb.power.tar". - -2018-10-26 Pedro Franco de Carvalho - - * gdb.texinfo (PowerPC Features): Describe new features - "org.gnu.gdb.power.ppr" and "org.gnu.gdb.power.dscr". - -2018-10-20 Tom Tromey - - * gdb.texinfo (TUI Commands): Add @end table. - (TUI Configuration): Remove stray @end table. - -2018-10-19 Tom Tromey - - PR tui/18388: - * gdb.texinfo (TUI Commands): Remove tabset documentation. - (TUI Configuration): Document "set tui tab-width". - -2018-10-09 Tom Tromey - - * python.texi (Inferiors In Python): Link to "Frames In Python", - not "Unwinding Frames in Python". - -2018-10-09 Tom Tromey - - * gdb.texinfo (Configure Options): Update --enable-ubsan - documentation. - -2018-10-08 John Baldwin - - * gdb.texinfo (Contributors): Add SRI International and University - of Cambridge for FreeBSD/riscv. - -2018-10-06 Tom Tromey - - PR python/19399: - * python.texi (Inferiors In Python): Document - Inferior.Architecture. - -2018-10-06 Tom Tromey - - PR python/21765: - * python.texi (Symbols In Python): Document the module and - common-block domains. Remove documentation for incorrect - domains. - -2018-10-03 Tom Tromey - - * gdb.texinfo (Configure Options): Document --enable-ubsan. - -2018-10-02 John Darrington - - * gdb.texinfo (Remote Connection Commands): Describe - the changes to target remote and target extended-remote - relating to Unix domain sockets. - -2018-10-01 Tom Tromey - - * gdb.texinfo (Configure Options): Document configure options. - -2018-09-29 Tom Tromey - - * gdb.texinfo (Requirements): Mention C++, GNU make. - (Requirements): Sort the table. Add more libraries. - (Running Configure): Remove obsolete text. - (Separate Objdir): Likewise. - (Configure Options): Likewise. - -2018-09-28 Andrew Burgess - - * gdb.texinfo (Frames): Rewrite the description of 'frame number' - to highlight that the number is also the frame's level. - (Selection): Rewrite documentation for 'frame' and 'select-frame' - commands. - (Frame Info): Rewrite documentation for 'info frame' command. - -2018-09-23 Tom Tromey - - PR python/18852: - * python.texi (Parameters In Python): Document exception behavior - of get_set_string. - -2018-09-18 John Baldwin - - * gdb.texinfo (info proc): Remove "running". - (info proc mappings): Replace "program" with "process". - -2018-09-18 John Baldwin - - * gdb.texinfo (Process Information): Document "info proc files" - command. - -2018-09-17 Tom Tromey - - * gdb.texinfo (Index Files): Update for cache directory change on - macOS. - -2018-09-16 Tom Tromey - - * python.texi (Basic Python): Update docs for find_pc_line, - solib_name. - (Progspaces In Python): Update docs for current_progspace. - Document block_for_pc, find_pc_line, is_valid, nsolib_name. - Move method documentation before example. - -2018-09-13 Simon Marchi - - * python.texi (Objfiles In Python): Update gdb.objfiles() doc. - -2018-09-13 Simon Marchi -2018-09-13 Tom Tromey - - * python.texi (Program Spaces In Python): Document the - Progspace.objfiles method. - (Objfiles In Python): Mention that gdb.objfiles() is identical - to gdb.selected_inferior().progspace.objfiles(). - -2018-09-13 Simon Marchi -2018-09-13 Tom Tromey - - * python.texi (Inferiors In Python): Document - Inferior.progspace. - (Program Spaces In Python): Document that - gdb.current_progspace() is the same as - gdb.selected_inferior().progspace. - -2018-09-13 Simon Marchi - - * python.texi (Basic Python): Mention the string representation - of GDB Python objects. - -2018-09-12 Simon Marchi - - * gdb.texinfo (Skipping Over Functions and Files): Document - set/show debug skip. - -2018-09-10 Tom Tromey - - * python.texi (Frames In Python, Blocks In Python) - (Symbols In Python, Symbol Tables In Python) - (Lazy Strings In Python): Remove periods from section titles. - -2018-09-10 Tom Tromey - - * python.texi (Pretty Printing API): Swap sentence order. - -2018-09-10 Tom Tromey - - PR python/16461: - * python.texi (Values From Inferior): Mention use of virtual - table. - -2018-09-10 Tom Tromey - - * python.texi (Basic Python): Parenthesize argument to - decode_line. - -2018-09-10 Tom Tromey - - * python.texi (Python): Mention Python versions. Don't mention - execfile. - -2018-09-10 Tom Tromey - - PR python/19808: - * python.texi (Unwinding Frames in Python): Rewrite - create_unwind_info documentation. Update read_register - documentation and add a note about unwinder caution. - -2018-09-10 Tom Tromey - - PR python/18909: - * python.texi (Events In Python): Fix inferior_call - documentation. - -2018-09-10 Tom Tromey - - PR python/17752: - * python.texi (Frame Filter API): Remove period from subsection - title. Mention 100 as good default priority. - (Frame Decorator API): Remove period from subsection title. - Mention FrameDecorator module. - -2018-09-10 Tom Tromey - - PR python/23108: - * python.texi (Exception Handling): Rearrange gdb.GdbError text - and add a table. - -2018-09-10 Tom Tromey - - * gdb.texinfo (Compilation): Use "gcc", not "gcc.info", in @xref. - (Machine Code): Use "binutils", not "binutils.info", in @pxref. - (Separate Debug Files): Use "ld", not "ld.info", in @ref. - * python.texi (Objfiles In Python): Use "ld", not "ld.info", in @ref. - -2018-09-10 Tom Tromey - - PR python/16484: - * python.texi (Frames In Python): Document that Frame.block can - throw. - -2018-09-10 Tom Tromey - - PR python/23487: - * gdb.texinfo (Pretty-Printer Commands): Fix typo in example. - -2018-09-10 Tom Tromey - - PR python/16033: - * python.texi (Blocks In Python): Document that Block.end is - exclusive. - -2018-08-29 Keith Seitz - - * gdb.texinfo (Compiling and injecting code in GDB): Document - set/show "compile-oracle" and "compile-cplus-types" commands. - -2018-08-22 Jan Vrany - - * gdb.texinfo (The -stack-list-frames Command): Update description - to mention "arch". - Update MI examples throughout the document to contain "arch" in - frame output. - -2018-08-21 Alan Hayward - - * gdb.texinfo (AArch64 SVE): New subsubsection. - -2018-08-14 Jan Vrany - - * gdb.texinfo (GDB/MI Data Manipulation): Document - "-data-disassemble -a addr". - (GDB/MI Support Commands): Document "data-disassemble-a-option" - feature. - -2018-08-07 Simon Marchi - - * gdb.texinfo (Index Files Speed Up GDB): Add section about - symbol index cache. - -2018-07-27 Sergio Durigan Junior - - * gdb.texinfo (gcore man): Rewrite "Description" and "-o" - option sections to further clarify that gcore can take more - than one PID, and that "-o" is used to specify a prefix, not a - filename. - -2018-07-26 Andrew Burgess - - * gdb.texinfo (Maintenance Commands): Add description of - maintenance command to control dwarf unwinders. - -2018-07-12 Philippe Waroquiers - - * gdb.texinfo (Debugging Programs with Multiple Threads): - Document changes to 'thread apply'. Document 'taas'. - Document 'tfaas'. - (Examining the Stack): Document 'frame apply'. Document 'faas'. - -2018-07-11 Sergio Durigan Junior - Jan Kratochvil - Paul Fertser - Tsutomu Seki - - * gdb.texinfo (Remote Connection Commands): Add explanation - about new IPv6 support. Add new connection prefixes. - -2018-07-09 Andrew Burgess - - * gdb.texinfo (Remote Configuration): Update descriptions for - set/show of hardware-watchpoint-limit, hardware-breakpoint-limit, - and hardware-watchpoint-length-limit variables. - -2018-07-02 Maciej W. Rozycki - - PR tdep/8282 - * gdb.texinfo (Source and Machine Code): Document `set - disassembler-options' support for the MIPS target. - -2018-06-28 Petr Tesarik - - * gdb.texinfo (Files): Document "add-symbol-file -o offset". - -2018-06-28 Petr Tesarik - - * gdb.texinfo (Files): The address argument for "add-symbol-file" - is no longer mandatory. - -2018-06-28 Petr Tesarik - - * gdb.texinfo (Files): Document "symbol-file -o offset". - -2018-06-14 Tom de Vries - - * gdb.texinfo (Background Execution): Add @cindex for '&'. - -2018-06-11 Eli Zaretskii - - * gdb.texinfo (Maintenance Commands): Add a missing @anchor. - -2018-06-08 Gary Benson - - * gdb.texinfo (Maintenance Commands): Document "maint check - libthread-db" and "maint set/show check-libthread-db". - -2018-06-05 Tom Tromey - - PR cli/12326: - * gdb.texinfo (Screen Size): Document "c" response to pagination - prompt. - -2018-05-31 Maciej W. Rozycki - - * gdb.texinfo (Choosing Target Byte Order): Document endianness - selection details with the `set endian auto' mode. - -2018-05-31 Alan Hayward - - * gdb.texinfo: Describe SVE feature. - -2018-05-04 Tom Tromey - - PR python/22731: - * python.texi (Breakpoints In Python): Mention that "commands" is - writable. - -2018-05-02 Tom Tromey - - PR python/20084: - * python.texi (Parameters In Python): Document PARAM_ZUINTEGER and - PARAM_ZUINTEGER_UNLIMITED. - -2018-04-30 Tom Tromey - - * python.texi (Types In Python): Document Type.align. - -2018-04-13 Andreas Arnez - - * gdb.texinfo (Symbols): Mention the fact that "info - variables/functions/types" show source files and line numbers. - -2018-04-13 Markus Metzger - - * gdb.texinfo: Document set/show record btrace cpu. - -2018-03-27 Joel Brobecker - - * gdb.texinfo (Ada Settings): New subsubsection. - -2018-03-26 Tom Tromey - - PR backtrace/15582: - * gdb.texinfo (Backtrace): Mention "hide" argument. - -2018-03-26 Tom Tromey - - * gdb.texinfo (Backtrace): Describe options individually. - -2018-03-19 Tom Tromey - - * observer.texi: Remove. - -2018-03-04 John Baldwin - - * gdb.texinfo (Debugging Output): Document "set/show debug - fbsd-nat". - -2018-02-19 Andrew Burgess - - * gdb.texinfo (Machine Code): Additional information about "info - line" command. - -2018-01-15 Szabolcs Nagy - - * gdb.texinfo (gdb-add-index man): Add pindex. - -2018-01-15 Szabolcs Nagy - - * gdb.texinfo (set cwd): Add period. - (gdb-add-index man): Move anchor. - -2017-01-12 Tom Tromey - Sergio Durigan Junior - - * gdb.texinfo (Index Files): Mention gdb-add-index. - (gdb-add-index man): New section. - * Makefile.in (gdb-add-index.1): New rule to generate manpage - from gdb.texinfo. - -2018-01-11 Szabolcs Nagy - - * gdb.texinfo (pwd): Fix whitespace. - -2018-01-09 John Baldwin - - * gdb.texinfo (pwd): Update cross-reference for Process Information - node and remove explicit /proc reference. - (Native): Rename subsection from SVR4 Process Information to - Process Information. - (Process Information): Reword introduction to be less /proc - centric. Document support for "info proc" on FreeBSD. - -2018-01-03 Xavier Roirand - - * gdb.texinfo (Set Catchpoints): Add documentation for new - "catch handlers" action. - -2017-12-27 Stafford Horne - - * gdb.texinfo (Target Description Format): Explain that arbitrary - strings are now allowed for register groups. - -2017-12-27 Stafford Horne - - * gdb.texinfo (Registers): Document info reg $reggroup feature. - -2017-12-15 Sergio Durigan Junior - - PR cli/16224 - * gdb.texinfo (ptype): Add documentation for new flag '/o'. - -2017-12-13 Simon Marchi - - * python.texi (Manipulating breakpoints using Python): Document - qualified parameter to gdb.Breakpoint. - -2017-12-13 Simon Marchi - - * python.texi (Manipulating breakpoints using Python): Split doc - of Breakpoint.__init__ in two, split text in multiple - paragraphs, don't nest parameter square brackets. - -2017-12-12 Stafford Horne - Stefan Wallentowitz - Franck Jullien - Jeremy Bennett - - * gdb.texinfo: Add OpenRISC documentation. - -2017-12-08 Jan Kratochvil - - * gdb.texinfo (Index Files): Document .debug_names and -dwarf-5. - -2017-12-07 Keith Seitz - - * gdb.texinfo (Symbols): Document "set print type nested-type-limit" - and "show print type nested-type-limit". - -2017-12-07 Phil Muldoon - - * python.texi (Breakpoints In Python): Add text relating - to allowed explicit locations and keywords in gdb.Breakpoints. - -2017-12-04 Tom Tromey - - * gdb.texinfo (Rust): Update trait object status - -2017-12-01 Andrew Cagney - Joel Brobecker - Sergio Durigan Junior - - * gdb.texinfo (File Options): Document --readnever. - (Commands to Specify Files): Likewise, for 'symbol-file' and - 'add-symbol-file'. - -2017-11-29 Pedro Alves - - PR c++/19436 - * gdb.texinfo (Debugging C Plus Plus): Document setting - breakpoints in functions with ABI tags. - -2017-11-29 Pedro Alves - - * gdb.texinfo (Linespec Locations): Document how "function" is - interpreted in C++ and Ada. Document "-qualified". - (Explicit Locations): Document how "-function" is interpreted in - C++ and Ada. Document "-qualified". - -2017-11-26 Dominik Czarnota - - PR gdb/21945 - * gdb.texinfo (Search Memory): Update description and example - about how to search a string without NULL terminator. - -2017-11-24 Joel Brobecker - - * gdb.texinfo (GDB/MI Ada Exception Information): Document - new "exception-message" field. - -2017-11-24 Simon Marchi - - * gdb.texinfo (Memory Map Format): Update gdb-memory-map.dtd. - -2017-11-24 Pedro Alves - - * gdb.texinfo (Completion): Update need-quoting examples. Remove - false claim that GDB inserts quoting automatically. - (Symbols): Add anchor. - -2017-11-22 Ulrich Weigand - - * gdb.texinfo (Requirements): Document use of GNU MPFR. - -2017-11-16 Phil Muldoon - - * python.texi (Basic Python): Add rbreak documentation. - -2017-11-07 Xavier Roirand - Pedro Alves - - * gdb.texinfo (Set Breaks): Document support for breakpoint - location ranges in the enable/disable commands. - -2017-10-04 Sergio Durigan Junior - - * gdb.texinfo (Starting your Program) : - Mention remote debugging. - (Working Directory) : - Likewise. - (Connecting) : Add "set-working-dir" - and "QSetWorkingDir" to the table. - (Remote Protocol) : New item, explaining the - packet. - -2017-10-04 Sergio Durigan Junior - - * gdb.texinfo (Starting your Program) : - Mention new "set cwd" command. - (Working Directory) : - Rephrase to explain that "set cwd" exists and is the default - way to change the inferior's cwd. - -2017-09-25 Andreas Arnez - - * gdb.texinfo (S/390 and System z Features): Document the new - features org.gnu.gdb.s390.gs and org.gnu.gdb.s390.gsbc. - -2017-09-21 Kevin Buettner - - * gdb.texinfo (qXfer:threads:read): Add documentation for handle - attribute. - -2017-09-21 Kevin Buettner - - * python.texi (Inferiors In Python): Add description for method - Inferior.thread_from_thread_handle. - -2017-09-19 John Baldwin - - * gdb.texinfo (Starting your Program): Add description of - starti command. Mention starti command as an alternative for - debugging the elaboration phase. - -2017-09-16 Simon Marchi - - * gdb.texinfo (Maintenance Commands): Document filter parameter - of "maint selftest". Document "maint info selftests" command. - -2017-09-11 Tom Tromey - - * python.texi (Events In Python): Document new events. - -2017-09-04 Pedro Alves - - * gdb.texinfo (Variables) : Document inspecting - no-debug-info variables. - (Symbols) : Document inspecting - no-debug-info types. - (Calling) : New subsection, - documenting calling no-debug-info functions. - (Non-debug DLL Symbols) : Update. - -2017-08-31 Sergio Durigan Junior - - * gdb.texinfo (set environment): Add @anchor. Explain that - environment variables set by the user are sent to GDBserver. - (unset environment): Likewise, but for unsetting variables. - (Connecting) : Add "environment-hex-encoded", - "QEnvironmentHexEncoded", "environment-unset", "QEnvironmentUnset", - "environment-reset" and "QEnvironmentReset" to the table. - (Remote Protocol) : New item, explaining the packet. - -2017-08-23 Jan Kratochvil - - * gdb.texinfo (Compiling and Injecting Code): Add to subsection - "Compiler search for the compile command" descriptions of set - compile-gcc and show compile-gcc. - -2017-08-07 Weimin Pan - - * gdb.texinfo (Architectures): Add new Sparc64 section to document - ADI support. - * NEWS: Add "adi examine" and "adi assign" commands. - -2017-08-18 Yao Qi - - * gdb.texinfo (Server): Document "--selftest". - -2017-08-16 Ruslan Kabatsayev - - * gdb.texinfo (TUI Single Key Mode): Document the new shortcuts in - Single-Key mode. - -2017-08-12 Sergio Durigan Junior - - PR gdb/21925 - * gdb.texinfo (Starting) : Fix typo ("show - set..."). - -2017-08-09 Simon Marchi - - * gdb.texinfo (Packets): Fix Z0 cmd_list doc referring to - conditional expression. - -2017-07-31 Simon Marchi - - * agentexpr.texi (rot): Fix symbolic description, improve - textual description. - -2017-07-26 Yao Qi - - * gdb.texinfo (Maintenance Commands): Document command - "maint check xml-descriptions". - -2017-07-26 Yao Qi - - * gdb.texinfo (Maintenance Commands): Document optional - argument of "maint print c-tdesc". - -2017-07-18 Yao Qi - - * gdb.texinfo (Maintenance Commands): Improve the doc to - command "maint print c-tdesc". - -2017-06-20 Sergio Durigan Junior - - PR gdb/21606 - * python.texi (Python representation of Symbols.): Replace - SYMBOL_FUNCTION_DOMAIN by SYMBOL_FUNCTIONS_DOMAIN, fixing typo. - * guile.texi (Guile representation of Symbols.): Likewise. - -2017-06-11 Simon Marchi - - * gdb.texinfo (Optional Messages about Internal Happenings): - Document {set,show} debug separate-debug-file commands. - -2017-06-07 Sergio Durigan Junior - - * gdb.texinfo (Starting) : Add @anchor. - (Connecting) : Add "startup-with-shell" - and "QStartupWithShell" to the table. - (Remote Protocol) : New item, explaining the - packet. - -2017-05-22 Andrew Burgess - - * gdb.texinfo (Packets): Document vMustReplyEmpty packet. - -2017-05-01 Tim Wiederhake - - * python.texi (Recording in Python): Factor out the documentation of - gdb.RecordInstruction's super class. - -2017-05-01 Tim Wiederhake - - * python.texi (Recording in Python): Replace gdb.BtraceFunction with - gdb.RecordFunctionSegment. Rename prev_sibling and next_sibling to - prev and next. - -2017-05-01 Tim Wiederhake - - * python.texi (Recording in Python): Replace gdb.BtraceInstruction with - gdb.RecordInstruction - -2017-05-01 Tim Wiederhake - - * python.texi (Recording in Python): Add documentation for - gdb.RecordGap and remove documentation of special cases for - gdb.BtraceInstruction. - -2017-05-01 Tim Wiederhake - - * python.texi (Recording in Python): Remove Record.ptid defvar. - -2017-04-21 Simon Marchi - - * gdb.texinfo (GDB/MI Thread Information): Add missing - fields, re-word some things. - (GDB/MI Thread Commands): Describe fields found in the output of - -thread-info, remove description of fields in the - thread output tuple, replace with a cross-reference to "GDB/MI - Thread Information". - -2017-04-21 Simon Marchi - - * gdb.texinfo (GDB/MI Thread Commands): Remove "current" field - from -thread-info output. - -2017-03-28 Anton Kolesov - - * gdb.texinfo (Synopsys ARC): Document "set debug arc 2". - -2017-03-28 Anton Kolesov - - * gdb.texinfo (Synopsys ARC): Add "maint print arc arc-instruction". - -2017-03-22 Yao Qi - - * python.texi (Inferiors In Python): Remove @code from Python. - -2017-03-21 Tim Wiederhake - - * python.texi (Recordings In Python): Document return type of - gdb.BtraceInstruction.data. - -2017-03-20 Marc-Andre Laperle - - * gdb.texinfo (gdb/mi Symbol Query Commands): Document new MI - command file-list-shared-libraries - (GDB/MI Async Records): Update documentation of library-loaded with new - field. - -2017-03-20 Artemiy Volkov - - PR gdb/14441 - * doc/gdb.texinfo (C Plus Plus Expressions): Mention that GDB - supports both lvalue and rvalue references. - -2017-03-20 Artemiy Volkov - - PR gdb/14441 - * python.texi (Types in Python): Add TYPE_CODE_RVALUE_REF to - table of constants. - -2017-03-16 Doug Evans - - * guile.texi (Lazy Strings In Guile): Mention arrays. - * python.texi (Lazy Strings In Python): Ditto. - -2017-03-08 Jiong Wang - - * gdb.texinfo (Memory Protection Extensions): Add missing escape - character "@". - -2017-03-07 Walfred Tedeschi - - * Memory Protection Extensions: Add information about inferior - calls. - -2017-02-28 Peter Bergner - - * gdb.texinfo: Document new set/show disassembler-options - commands. - -2017-02-20 Jan Kratochvil - - * gdb.texinfo (Print Settings, Tail Call Frames): Rename DW_OP_GNU_*, - DW_TAG_GNU_* and DW_AT_GNU_*. - -2017-02-14 Tim Wiederhake - - * python.texi (Recordings In Python): New section. - -2017-02-14 Tom Tromey - - PR python/13598: - * python.texi (Events In Python): Document events.before_prompt. - -2017-02-13 Luis Machado - - * gdb.texinfo (Target Commands): Document the optional offset - argument for the load command. - -2017-02-10 Martin Galvan - - PR gdb/21122 - * gdb.texinfo (Breakpoints): Reword documentation to speak in terms of - space-separated breakpoint lists. Also add a missing @table command - and @cindex for breakpoint lists. - -2017-02-06 Ivo Raisr - - PR tdep/20936 - * gdb.texinfo: (Standard Target Features): Document SPARC features. - (Sparc Features): New node. - -2017-01-27 Walfred Tedeschi - - * gdb.texinfo (i386 Features): Add system segment registers - as feature. - -2017-01-24 Simon Marchi - - * python.texi (Events In Python): Fix typo. - -2017-01-20 Mike Wrighton - Luis Machado - - * gdb.texinfo (-target-flash-erase): New MI command description. - (flash-erase): New CLI command description. - -2017-01-04 John Baldwin - - * gdb.texinfo (Contributors): Add SRI International and University - of Cambridge for FreeBSD/mips. - -2016-12-22 Doug Evans - - * gdb.texinfo (Symbols): Update docs for symbol printing maintenance - commands. - -2016-12-02 Pedro Alves - - * gdb.texinfo (User-defined Commands): Limit on number of - arguments passed to user-defined commands removed; update. - -2016-12-02 Pedro Alves - - PR cli/20559 - * gdb.texinfo (Define): Add example of using "eval" to process a - variable number of arguments. - (Output) : Add anchor. - -2016-11-30 Simon Marchi - - * Makefile.in: Likewise. - -2016-11-18 Andreas Arnez - - * gdb.texinfo (GDB/MI Async Records): Add missing comma after - xref. - -2016-10-29 Pedro Alves - - * gdb.texinfo (Packets) : Remove mention of default - actions. - -2016-10-26 Pedro Alves - - * gdb.texinfo (Packets): Clarify vCont packets with multiple - actions that match a thread, and what happens when an action - matches a thread that is already running. - -2016-10-14 Simon Marchi - - * gdb.texinfo (Using Trace Files): Fix typo. - (GDB/MI Tracepoint Commands): Likewise. - -2016-10-14 Simon Marchi - - * gdb.texinfo (GDB/MI Tracepoint Commands): Document -ctf switch - of -trace-save. - -2016-10-06 Tom Tromey - - * guile.texi (Types In Guile): Remove Java mentions. - * python.texi (Types In Python): Remove Java mentions. - * gdb.texinfo (Address Locations, Supported Languages) - (Index Section Format): Remove Java mentions. - -2016-08-15 Doug Evans - - * gdb.texinfo (Target Description Format): Update docs on "end" - field spec and field default type. - -2016-10-03 Antoine Tremblay -2016-10-03 Simon Marchi - - PR gdb/20487 - * gdb.texinfo (Context management): Update mention of frame - change notifications. - (gdb/mi Async Records): Document frame field in - =thread-select event. - * observer.texi (GDB Observers): New user_selected_context_changed - observer. - -2016-09-28 Tom Tromey - - * gdb.texinfo (Packets) : Use "software breakpoint" rather - than "memory breakpoint". Further document "kind". Move - protocol-details link earlier. - : Document the cmd_list argument. Fix typo. - : Remove incorrect sentence. - (Stop Reply Packets): Document "OK" response to requests when in - non-stop mode. - : Use "software breakpoint" rather than "memory - breakpoint". - : Document that "R" is ignored. - : Document formatting of "AA". - (Notification Packets): Use "%Stop", not "%%Stop". - -2016-09-21 Anton Kolesov - - * gdb.texinfo (Embedded Processors): Document ARC. - (Synopsys ARC): New section. - (Standard Target Features): Document ARC features. - (ARC Features): New section. - -2016-09-21 Simon Marchi - - * .gitignore: New file. - -2016-08-24 Simon Marchi - - * gdb.texinfo (Input/Output): Mention possibility to unset - inferior-tty. - -2016-07-25 Tim Wiederhake - - * gdb.texinfo: Resume btrace on reconnect. - -2016-07-23 Gabriel Krisman Bertazi - - * gdb.texinfo (Set Catchpoints): Add 'group' argument to catch - syscall. - -2016-06-30 Руслан Ижбулатов - - * gdb.texinfo (Cygwin Native): Document the new 'signal-event' - command. - -2016-07-13 Tom Tromey - - PR python/15620, PR python/18620: - * python.texi (Events In Python): Document new breakpoint events. - -2016-07-13 Tom Tromey - - PR python/17698: - * python.texi (Breakpoints In Python): Document - Breakpoint.pending. - -2016-07-13 Tom Tromey - - * python.texi (Breakpoints In Python): Move table of types and - table of watchpoint types earlier in node. - -2016-07-12 Tom Tromey - - PR python/19293: - * python.texi (Frames In Python): Document - gdb.invalidate_cached_frames. - -2016-06-21 Pedro Alves - - * gdb.texinfo (Interpreters): Update intepreter-exec section, - document new-ui and explain use case. - -2016-06-17 Yan-Ting Lin - - * gdb.texinfo (Standard Target Features): Document NDS32 features. - (NDS32 Features): New Section. - -2016-06-09 Toshihito Kikuchi - - * gdb.texinfo (Examining Memory): Document negative repeat - count in the 'x' command. - -2016-06-06 Simon Marchi - - * gdb.texinfo (GDB/MI Async Records): Document method and - format fields in =record-started. - * observer.texi (record_changed): Add method and format - parameters. - -2016-05-27 Eli Zaretskii - - * gdb.texinfo (General Query Packets): Move the description of the - response before the long list of the specific 'read' and 'write' - requests. - -2016-05-23 Tom Tromey - - * python.texi (Basic Python): Document gdb.breakpoints return. - -2016-05-24 Tom Tromey - - PR gdb/19194: - * gdb.texinfo (gdb man): Fix typo. - -2016-05-17 Tom Tromey - - * gdb.texinfo (Supported Languages): Mention Rust. Update menu. - (Rust): New node. - -2016-05-17 Tom Tromey - - * gdb.texinfo (Maintenance Commands): Document "maint selftest". - -2016-04-27 Yao Qi - - * gdb.texinfo (tfind): Complete doc about tfind without - argument. - -2016-04-13 Antoine Tremblay - - * agentexpr.texi (byte): Fix zero_ext description. - -2016-03-31 Pedro Alves - - * gdb.texinfo (M32R/SDI): Delete node. - (MIPS Embedded): Remove references to the MIPS remote debugging - protocol, PMON and variants, and the associated commands. - -2016-03-15 Doug Evans - - * gdb.texinfo (Target Descriptions): New menu item "Enum Target Types". - (Target Description Format): Mention enum types. Update docs on - flags types. - (Predefined Target Types): Add "bool". - (Enum Target Types): New node. - -2016-03-15 Pedro Alves - - * gdb.texinfo (Tracepoint Actions): Fix typo. - -2016-03-15 Pedro Alves - Andreas Arnez - Marcin Kościelnicki - - * gdb.texinfo (Tracepoint Actions): Document possible - unreliability of '$_ret'. - -2016-03-11 Andrew Burgess - - * gdb.texinfo (Symbols): Document new 'maint info line-table' - command. - -2016-03-10 Simon Marchi - - * gdb.texinfo (Convenience Functions): Document $_as_string. - -2016-02-23 Doug Evans - - * gdb.texinfo (Skipping Over Functions and Files): Document new - options to "skip" command. Update docs of output of "info skip". - -2016-02-18 Walfred Tedeschi - - * gdb.texinfo (Signals): Add bound violation display hints for - a SIGSEGV. - -2016-02-18 Marcin Kościelnicki - - * gdb.texinfo (Trace File Format): Add documentation for description - section lines. - -2016-02-10 Marcin Kościelnicki - - * gdb.texinfo (Trace File Format): Remove misleading information - about register block ordering. - -2016-02-01 Doug Evans - - * gdb.texinfo (Value Sizes): Fix typo. - -2016-02-01 Doug Evans - - * gdb.texinfo (Skipping Over Functions and Files): Fix typo. - -2016-02-01 Andrew Burgess - - * gdb.texinfo (Value Sizes): New section. - (Data): Add the 'Value Sizes' node to the menu. - -2016-01-26 John Baldwin - - * gdb.texinfo (Debugging Output): Fix subject verb disagreements. - -2016-01-19 John Baldwin - - * gdb.texinfo (Debugging Output): Document "set/show debug fbsd-lwp". - -2016-01-18 Pedro Alves - - * gdb.texinfo (Threads): Mention that GDB displays the ID and name - of the thread that hit a breakpoint or received a signal. - -2016-01-15 Pedro Alves - - * gdb.texinfo (Threads) : Document star ranges. - -2016-01-13 Pedro Alves - - * gdb.texinfo (Threads): Document the $_gthread convenience - variable. - (Convenience Vars): Likewise. - -2016-01-13 Pedro Alves - - * gdb.texinfo (Threads): Document "info threads -gid". - -2016-01-13 Pedro Alves - - * python.texi (Breakpoints In Python) : Add - anchor. - (Threads In Python): Document new InferiorThread.global_num - attribute. - -2016-01-07 Pedro Alves - - * gdb.texinfo (Threads): Document per-inferior thread IDs, - qualified thread IDs, global thread IDs and thread ID lists. - (Set Watchpoints, Thread-Specific Breakpoints): Adjust to refer to - thread IDs. - (Convenience Vars): Document the $_thread convenience variable. - (Ada Tasks): Adjust to refer to thread IDs. - (GDB/MI Async Records, GDB/MI Thread Commands, GDB/MI Ada Tasking - Commands, GDB/MI Variable Objects): Update to mention global - thread IDs. - * guile.texi (Breakpoints In Guile) - : Mention - global thread IDs instead of thread IDs. - * python.texi (Threads In Python): Adjust documentation of - InferiorThread.num. - (Breakpoint.thread): Mention global thread IDs instead of thread - IDs. - -2016-01-13 Pedro Alves - - * python.texi (Threads In Python): Document - InferiorThread.inferior. - -2016-01-13 Pedro Alves - - * gdb.texinfo (Inferiors and Programs): Document the $_inferior - convenience variable. - (Convenience Vars): Likewise. - -2016-01-12 Josh Stone - Philippe Waroquiers - - * gdb.texinfo (Remote Configuration): List the QCatchSyscalls packet. - (Stop Reply Packets): List the syscall entry and return stop reasons. - (General Query Packets): Describe QCatchSyscalls, and add it to the - table and the detailed list of stub features. - -2016-01-12 Pedro Alves - - Remove use of the registered trademark symbol throughout. - -2016-01-12 Yao Qi - - * gdb.texinfo (Interrupts): Update the document on handling - interrupt when program is stopped. - -2015-12-11 Don Breazeal - - * gdb.texinfo (Forks): Correct Linux kernel version where - fork and exec events are supported, add notes about support - of these events in target remote mode. - (Connecting): Reorganize and clarify distinctions between - target remote, extended-remote, and multiprocess. - Reorganize related text from separate sections into new - sections. - (Server): Note effects of target extended-remote mode. - Delete section on Multi-Process Mode for gdbserver. - Move some text to "Connecting" node. - -2015-12-10 Pedro Alves - - * gdb.texinfo (Threads): Replace warning with explanation - about single-threaded programs. - -2015-12-10 Pedro Alves - - * gdb.texinfo (Threads): Remove mention of SGI. - (Forks): Remove mention of HP-UX. - (Breakpoints): Remove mention of HP-UX. - (Set Watchpoints) : Don't mention HP-UX. - Reword in terms of architectures. - (Set Catchpoints) : Don't - mention supported systems. - (Convenience Vars): Don't mention HP-UX. - (Jumping): Remove mention of HP-UX in comment. - (Files) : Update supported shared library types - list. Remove mention of HP-UX. - (Native): Remove HP-UX subsection. - (SVR4 Process Information): Remove mention of HP-UX. - -2015-12-10 Pedro Alves - - * gdb.texinfo (Stack): Reorder menu. - -2015-12-09 Luis Machado - - * gdb.texinfo (GDB/MI Variable Objects): Update text to mention - -var-set-format's new zero-hexadecimal format. - -2015-12-08 Pierre-Marie de Rodat - - * gdb.texinfo (Ada Mode Into): Move overloading support - description to its own node. - (Overloading support for Ada): New node. - -2015-11-30 Pedro Alves - - PR 14618 - * gdb.texinfo (Stop Reply Packets): Document the N stop reply. - (Remote Configuration): Add the "set/show remote - no-resumed-stop-reply" to the available settings table. - (General Query Packets): Document the "no-resumed" qSupported - feature. - -2015-11-30 Pedro Alves - - * gdb.texinfo (Remote Configuration): List "set/show remote - thread-events" command in configuration table. - (Stop Reply Packets): Document "T05 create" stop - reason and 'w' stop reply. - (General Query Packets): Document QThreadEvents packet. Document - QThreadEvents qSupported feature. - -2015-11-30 Pedro Alves - - * gdb.texinfo (Bootstrapping): Add "interrupting remote targets" - anchor. - (Packets): Document vCtrlC. - -2015-11-26 Simon Marchi - - * gdb.texinfo (Thread List Format): Mention thread names. - -2015-11-24 Pedro Alves - - PR 17539 - * gdb.texinfo (Inferiors and Programs): Adjust "maint info - program-spaces" example to ascending order listing. - (Threads): Adjust "info threads" example to ascending order - listing. - (Forks): Adjust "info inferiors" example to ascending order - listing. - -2015-11-04 Markus Metzger - - * gdb.texinfo (Process Record and Replay): Document "record - instruction-history" modifiers. - -2015-10-12 Andrew Burgess - - * gdb.texinfo (Frames): Remove 'frame' and 'select-frame' - description. - (Frame Filter Management): Move to later in the 'Examining the - Stack' chapter. - (Selection): Add entry for 'select-frame'. - -2015-09-25 Doug Evans - - * gdb.texinfo (Process Record and Replay): Fix syntax of - "record instruction-history begin, end" and - "record function-call-history begin, end". - -2015-09-22 Simon Marchi - - * gdb.texinfo (Specifying Source Directories): Fix - substitute-path example. - -2015-09-18 Markus Metzger - - * gdb.texinfo (All-Stop Mode): Describe new scheduler-locking mode. - -2015-09-15 Pedro Alves - - PR remote/18965 - * gdb.texinfo (Stop Reply Packets): Revert previous change to - the vforkdone description. - -2015-09-15 Pedro Alves - - PR remote/18965 - * gdb.texinfo (Stop Reply Packets): Explain that vforkdone's 'r' - part indicates the thread ID of the parent process. - -2015-09-15 Yao Qi - - * gdb.texinfo (General Query Packets): Add vContSupported to - tables of 'gdbfeatures' and 'stub features' supported in the - qSupported packet, as well as to the list containing stub - feature details. - -2015-09-11 Don Breazeal - - * gdb.texinfo (Remote Configuration): Add exec event - feature to table of packet settings. - (Stop Reply Packets): Add exec events to the list of stop - reasons. - (General Query Packets): Add exec events to tables of - 'gdbfeatures' and 'stub features' supported in the qSupported - packet, as well as to the list containing stub feature - details. - -2015-08-24 Pedro Alves - - * gdb.texinfo (Remote Configuration): Document the "set/show - remote multiprocess-extensions-packet" commands. - -2015-08-24 Pedro Alves - - * gdb.texinfo (Embedded Processors) : Remove references to RDI. - : Remove references to M32R/D. - : Remove references to target dbug. - : Remove references to target r3900 and target - array. - : Remove references to target dink32 and target - ppcbug, target sds - : Delete nodes. - -2015-08-18 Andrew Burgess - - * gdb.texinfo (GDB Files): Add 'File Caching' menu entry. - -2015-08-18 Andrew Burgess - - * gdb.texinfo (File Caching): Document "set/show debug bfd-cache". - -2015-08-18 Andrew Burgess - - * gdb.texinfo (Maintenance Commands): Move documentation of "main - info bfds" to... - (File Caching): A New section. Outline bfd caching, and add new - description for "main set/show bfd-sharing". - -2015-08-14 Doug Evans - - * gdb.texinfo (Machine Code): Update docs for mixed source/assembly - disassembly. - (GDB/MI Data Manipulation): Update docs for new disassembly modes. - -2015-08-11 Keith Seitz - - * gdb.texinfo (Thread-Specific Breakpoints, Printing Source Lines): - Use "location(s)"instead of "linespec(s)". - (Specifying a Location): Rewrite. - Add subsections describing linespec, address, and explicit locations. - Add node/menu for each subsection. - (Source and Machine Code, C Preprocessor Macros) - (Create and Delete Trace points) - (Extensions for Ada Tasks): Use "location(s)" instead of "linespec(s)". - (Continuing at a Different Address): Remove "linespec" examples. - Add reference to "Specify a Location" - (The -break-insert Command): Rewrite. Add anchor. - Add reference to appropriate manual section discussing locations. - (The -dprintf-insert Command): Refer to -break-insert for - specification of 'location'. - -2015-08-07 Pedro Alves - - * gdb.texinfo (Maintenance Commands): Document "maint set/show - target-non-stop". - -2015-08-07 Markus Metzger - - * gdb.texinfo (Process Record and Replay): Document prefixing of - speculatively executed instructions in the "record instruction-history" - command. - -2015-07-20 Doug Evans - - * Makefile.in (STABS_DOC_BUILD_INCLUDES): Add gdb-cfg.texi, GDBvn.texi. - -2015-07-16 Doug Evans - - * stabs.texinfo: @include gdb-cfg.texi. - -2015-07-15 Jan Kratochvil - - Revert the previous 2 commits: - gdbserver build-id attribute generator - Validate symbol file using build-id - -2015-07-15 Jan Kratochvil - - * gdb.texinfo (Files): Add 'set validate-build-id' - and 'show validate-build-id'. - -2015-07-15 Aleksandar Ristovski - - gdbserver build-id attribute generator. - * gdb.texinfo (Library List Format for SVR4 Targets): Add - 'build-id' in description, example, new attribute in dtd. - -2015-07-08 Andrew Burgess - - * gdb.texinfo (Selection): Update documentation for 'frame' - command. - -2015-07-06 Andrew Burgess - - * gdb.texinfo (TUI): Restructure documentation on TUI layout and - focus commands. - -2015-07-06 Andrew Burgess - - * gdb.texinfo (TUI): Add comma after @xref. - -2015-07-02 Markus Metzger - - * gdb.texinfo (Maintenance Commands): Document "maint btrace" - commands. - -2015-07-02 Markus Metzger - - * gdb.texinfo (Process Record and Replay): Spell out that variables - and registers are not available during btrace replay. - Describe the new "record btrace pt" command. - Describe the new "set|show record btrace pt buffer-size" options. - (General Query Packets): Describe the new Qbtrace:pt and - Qbtrace-conf:pt:size packets. - Expand "bts" to "Branch Trace Store". - Update the branch trace DTD. - -2015-06-26 Patrick Palka - - * gdb.texinfo (Command History): Document the new option - "history remove-duplicates". - -2015-06-19 Doug Evans - - * stabs.texinfo (ELF Linker Relocation): Mention Sun stabs is no - longer supported. - -2015-06-17 Patrick Palka - - * gdb.texinfo (Command History): Mention that setting - GDBHISTSIZE to the empty string disables history truncation. - -2015-06-17 Patrick Palka - - PR gdb/16999 - * gdb.texinfo (Command History): Mention new GDBHISTSIZE - behavior. - -2015-06-17 Patrick Palka - - * gdb.texinfo (Command History): Replace occurrences of HISTSIZE - with GDBHISTSIZE. - -2015-06-15 Simon Marchi - - * gdb.texinfo (GDB/MI Data Manipulation): Clarify usage of - bytes and memory units for -data-{read,write}-memory-bytes. - (Packets): Same for m, M and X packets. - * python.texi (Inferiors In Python): Same for read_memory and - write_memory. - -2015-06-10 Jon Turney - - * gdb.texinfo (Separate Debug Files): Document that PE is also - supported. - -2015-06-13 Andrew Burgess - - * gdb.texinfo (TUI Commands): Bring all 'tui reg' commands into a - single table entry. - -2015-06-10 Walfred Tedeschi - - * gdb.textinfo (i386): Fix "@end table" end and "@table" placement. - - -2015-06-10 Gary Benson - - * gdb.texinfo (Remote Configuration): Document the - "set/show remote hostio-setfs-packet" command. - (Host I/O Packets): Document the vFile:setfs packet. - -2015-06-10 Gary Benson - - * gdb.texinfo (Debugging Output): Document the "set/show debug - linux-namespaces" command. - -2015-06-10 Walfred Tedeschi - Mircea Gherzan - - * gdb.texinfo (i386): Add documentation about "show mpx bound" - and "set mpx bound". - -2015-05-27 Doug Evans - - * gdb.texinfo (Debugging Output): Mention set/show debug dwarf-line. - -2015-05-26 Doug Evans - - * gdb.texinfo (Debugging Output): Update for DWARF "set debug" - command renamings. - (Maintenance Commands): Update for DWARF "set debug" command renamings. - -2015-05-26 Andrew Burgess - - * gdb.texinfo (TUI Commands): Add 'tui reg prev' details. - -2015-05-22 Andrew Burgess - - * gdb.texinfo (TUI): Include 'tui enable' in the introduction. - (TUI Commands): Add 'tui enable' and 'tui disable' details. - -2015-05-16 Doug Evans - - * guile.texi (Memory Ports in Guile): Document support for unbuffered - memory ports. - -2015-05-16 Jan Kratochvil - - * gdb.texinfo (Compiling and Injecting Code): Add compile print. - -2015-05-12 Don Breazeal - - * gdb.texinfo (Forks): Note that fork debugging is - supported in extended mode. - (Remote Configuration): Add fork event features to table - of packet settings. - (Stop Reply Packets): Add fork events to list of stop reasons. - (General Query Packets): Add fork events to tables of - 'gdbfeatures' and 'stub features' supported in the qSupported - packet, as well as to the list containing stub feature - details. - -2015-05-12 Gary Benson - - * gdb.texinfo (General Query Packets): Document - qXfer:exec-file:read with empty annex. - -2015-05-09 Siva Chandra Reddy - - * python.texi (Values From Inferior): Add descriptions of new - methods gdb.Value.reference_value and gdb.Value.const_value. - -2015-05-06 Joel Brobecker - - * gdb.texinfo (Files): Add "info dll" documentation. - (Cygwin Native): Remove "info dll" documentation. - -2015-04-29 Doug Evans - - * python.texi (Xmethod API) : - Document. - (Writing an Xmethod): Add get_result_type to example. - -2015-04-28 Sasha Smundak - - * python.texi: New method documented. - -2015-04-24 Andrew Burgess - - * gdb.texinfo (Dump/Restore Files): Add detail about verilog dump - format. - -2015-04-24 Doug Evans - - * python.texi (Xmethods In Python): Fix name of method to call the - xmethod. - -2015-04-17 Gary Benson - - * gdb.texinfo (Connecting to a Remote Target): Mention that - GDB can access program files from remote targets that support - qXfer:exec-file:read and Host I/O packets. - -2015-04-17 Gary Benson - - * gdb.texinfo (Remote Configuration): Document the "set/show - remote pid-to-exec-file-packet" command. - (General Query Packets): Document the qXfer:exec-file:read - qSupported features. Document the qXfer:exec-file:read packet. - -2015-04-17 Gary Benson - - * gdb.texinfo (set sysroot): Document that "set sysroot" also - applies to executable paths if supplied to GDB as absolute. - -2015-04-11 Jan Kratochvil - - * gdb.texinfo (Mode Options): Remove -xdb. - -2015-04-10 Jan Kratochvil - Eli Zaretskii - - * gdb.texinfo (Compiling and Injecting Code): Describe set debug - compile, show debug compile. New subsection Compilation options for - the compile command. New subsection Compiler search for the compile - command. - -2015-04-09 Andy Wingo - - * guile.texi (Frames In Guile): Describe frame-read-register. - -2015-04-02 Gary Benson - - * gdb.texinfo (set sysroot): Document "target:". - -2015-04-01 Sasha Smundak - - * doc/python.texi (Writing a Frame Unwinder in Python): Add - section. - -2015-03-31 Sergio Durigan Junior - - PR corefiles/16092 - * gdb.texinfo (gcore): Mention new command 'set - use-coredump-filter'. - (set use-coredump-filter): Document new command. - -2015-03-31 Antoine Tremblay - - * gdb.texinfo (Operating System Auxiliary Information): Add info os cpus - documentation, reorder the info os entries in alphabetical order. - -2015-03-26 Simon Marchi - - * gdb.texinfo (GDB/MI Data Manipulation): Fix copy-paste typo in - -data-write-memory-bytes. - -2015-03-24 Pedro Alves - - * gdb.texinfo (test_step) : No longer - mention that threads may sometimes run unlocked. - -2015-03-23 Yurij Grechishhev - - * gdb.texinfo (Remote configuration): Document "set/show - serial parity" command. - -2015-03-18 Gary Benson - - * gdb.texinfo (General Query Packets): Remove documentation - for now-removed vFile:fstat qSupported features. - -2015-03-11 Gary Benson - - * gdb.texinfo (Remote Configuration): Document the - "set/show remote hostio-fstat-packet" command. - (General Query Packets): Document the vFile:fstat - qSupported features. - (Host I/O Packets): Document the vFile:fstat packet. - -2015-03-11 Andy Wingo - - * guile.texi (Objfiles In Guile): Document objfile-progspace. - -2015-03-04 Pedro Alves - - * gdb.texinfo (Remote Configuration): Document the "set/show - remote swbreak-feature-packet" and "set/show remote - hwbreak-feature-packet" commands. - (Packets) : Add cross link to the "swbreak" stop reason's - decription. - (Stop Reply Packets): Document the swbreak and hwbreak stop - reasons. - (General Query Packets): Document the swbreak and hwbreak - qSupported features. - (Remote Non-Stop): Explain that swbreak and hwbreak are required. - -2015-03-03 Philippe Proulx - - * gdb.texinfo (gdb/mi Async Records): Fix duplicate syscall-entry - under *stopped. - -2015-03-02 Doug Evans - - * gdb.texinfo (Specify Location): Fix syntax of filename:function. - -2015-03-02 Andreas Arnez - - * gdb.texinfo (S/390 and System z Features): Describe new feature - "org.gnu.gdb.s390.vx". - -2015-02-23 Sergio Durigan Junior - - PR gdb/18008 - * gdb.texinfo (maint internal-error, maint internal-warning, maint - demangler-warning): Fix typo ("problam"). - -2015-02-19 David Taylor - - * agentexpr.texi (Bytecode Descriptions): Fix summary line for setv. - -2015-02-17 Jose E. Marchesi - - * gdb.texinfo (Static Probe Points): Add cindex `static probe - point, DTrace'. - (Static Probe Points): Modified to cover DTrace probes in addition - to SystemTap probes. Also modified to cover the `enable probe' - and `disable probe' commands. - -2015-02-17 Jose E. Marchesi - - * gdb.texinfo (Static Probe Points): Cover the `enable probe' and - `disable probe' commands. - -2015-02-12 David Taylor - - * gdb.texinfo (Tracepoint Packets): Document the builtin and name - fields of the QTDV packet. - -2015-02-09 Markus Metzger - - * gdb.texinfo (Branch Trace Configuration Format): Add size. - (Process Record and Replay): Describe new set|show commands. - (General Query Packets): Describe Qbtrace-conf:bts:size packet. - -2015-02-09 Markus Metzger - - * gdb.texinfo (Process Record and Replay): Describe the "record - btrace bts" command. - (General Query Packets): Describe qXfer:btrace-conf:read packet. - (Branch Trace Configuration Format): New. - -2015-01-31 Gary Benson - Doug Evans - - * gdb.texinfo (Command Completion): Document new - "set/show max-completions" option. - -2015-01-31 Doug Evans - - * gdb.texinfo (Symbols): Document new commands - "maint print symbol-cache", "maint print symbol-cache-statistics", - "maint flush-symbol-cache". Document new option - "maint set symbol-cache-size". - -2015-01-31 Doug Evans - - * gdb.texinfo (dotdebug_gdb_scripts section): Update docs to - distinguish script files vs inlined scripts. - * python.texi (Python Auto-loading): Ditto. - -2015-01-30 Doug Evans - - * gdb.texinfo (Symbols) : Output now contains producer - string if present. - -2015-01-27 Doug Evans - - * python.texi (Objfiles In Python): Document Objfile.username. - -2015-01-27 Doug Evans - - * python.texi (Objfiles In Python) : Improve docs. - * guile.texi (Objfiles In Guile) : Improve docs. - -2015-01-22 Jan Kratochvil - - * gdb.texinfo (Threads): Describe -ascending for thread apply all. - -2015-01-16 Eli Zaretskii - - * doc/gdb.texinfo (TUI Commands): Document the possible - values of NAME argument to 'winheight' command. Explain the - effect of 'tabset' setting better. - -2015-01-11 Doug Evans - - PR gdb/15830 - * gdb.texinfo (Debugging C Plus Plus): Mention "demangle". - (Symbols): Ditto. - (Maintenance Commands): Delete docs for "maint demangle". - -2014-12-31 Joel Brobecker - - * gdb.texinfo (Files): Remove documentation of the - "add-shared-symbol-files" and "assf" commands. - (Cygwin Native): Remove documentation of the "dll-symbols" - command. - -2014-12-17 Doug Evans - - * gdb.texinfo (Debugging Output): Document "debug symbol-lookup". - -2014-12-12 Phil Muldoon - Jan Kratochvil - - * gdb.texinfo (Altering): Update. - (Compiling and Injecting Code): New node. - -2014-12-12 Doug Evans - - * python.texi (Objfiles In Python): Document gdb.lookup_objfile. - -2014-12-12 Andreas Arnez - - * gdb.texinfo: Document "maint print user-registers". - -2014-12-08 Doug Evans - - * python.texi (Objfiles In Python): Document Objfile.owner. - -2014-12-04 Doug Evans - - * python.texi (Objfiles In Python): Document - Objfile.add_separate_debug_file. - -2014-12-04 Doug Evans - - * python.texi (Objfiles In Python): Document Objfile.build_id. - -2014-12-02 Nick Bull - - * observer.texi (inferior_call_pre, inferior_call_post) - (memory_changed, register_changed): New observers. - -2014-12-02 Nick Bull - - * python.texi (Events In Python): Document new events - InferiorCallPreEvent, InferiorCallPostEvent, MemoryChangedEvent - and RegisterChangedEvent. - -2014-11-30 Jan Kratochvil - - Add add-auto-load-scripts-directory. - * gdb.texinfo (Auto-loading): Add add-auto-load-scripts-directory link. - (objfile-gdbdotext file): Add add-auto-load-scripts-directory. - -2014-11-30 Jan Kratochvil - - * gdb.texinfo (Auto-loading safe path): Fix add-auto-load-safe-path - description typo. - -2014-10-30 Doug Evans - - * python.texi (Progspaces In Python): Document ability to add - random attributes to gdb.Progspace objects. - (Objfiles In Python): Document ability to add random attributes to - gdb.objfile objects. - -2014-10-27 Pedro Alves - - * gdb.texinfo (Continuing and Stepping): Add cross reference to - info on stepping and signal handlers. - (Signals): Explain stepping and signal handlers. Add context - index entry, and cross references. - -2014-10-20 Simon Marchi - - * python.texi (Breakpoints In Python): Add parenthesis after - Breakpoint.delete. Clarify Breakpoint.enabled description so - that it contains "disable". - -2014-10-17 Doug Evans - - * python.texi (Events In Python): Document clear_objfiles event. - -2014-10-17 Doug Evans - - * python.texi (Objfiles In Python): Document new progspace attribute. - -2014-10-17 Pedro Alves - - * gdb.texinfo (Ada Tasks and Core Files): Delete mention of Tru64. - (SVR4 Process Information): Delete mention of OSF/1. - -2014-10-01 Simon Marchi - - * gdb.texinfo (Miscellaneous gdb/mi Commands): Document new - exit-code field in -list-thread-groups output. - -2014-09-22 Jan-Benedict Glaw - - * gdb.texinfo (Set Breaks): Add missing "@end table". - -2014-09-22 Pedro Alves - - * gdb.texinfo (Set Breaks): Document that "set breakpoint - always-inserted off" is the default mode now. Delete - documentation of "set breakpoint always-inserted auto". - -2014-09-18 Doug Evans - - * python.texi (Symbol Tables In Python): Document "producer" - attribute of gdb.Symtab objects. - -2014-09-16 Pedro Alves - - * gdb.texinfo (Starting) : Don't mention VxWorks. - (Embedded OS): Remove VxWorks menu entry. - (VxWorks): Remove node. - -2014-09-13 Doug Evans - - * gdb.texinfo (Signaling): Document new queue-signal command. - -2014-09-06 Doug Evans - - PR 15276 - * gdb.texinfo (Convenience Funs): Document $_caller_is, - $_caller_matches, $_any_caller_is, $_any_caller_matches. - -2014-09-03 Justin Lebar - - * python.texi (Types In Python): Type.template_argument(n) returns a - gdb.Value or a gdb.Type and throws an exception if n is out of - range. - -2014-09-03 Sasha Smundak - - * python.texi (Frames in Python): Add read_register description. - -2014-08-04 Tom Tromey - - * gdb.texinfo (Debugging Output): Update for change to "set debug - target". - -2014-08-01 Masaki Muranaka - - Pushed by Joel Brobecker . - * Makefile.in (transform): New variable. - (install-man1, install-man5): Apply $(transform) to man file names. - -2014-07-26 Doug Evans - - PR guile/17177 - * guile.texi (Guile Pretty Printing API): Fix typo. - Document set-pretty-printers!, pretty-printers. - (Selecting Guile Pretty-Printers): Update. - Mention program-space based pretty-printers. - -2014-07-25 Pedro Alves - Eli Zaretskii - - * gdb.texinfo (Signaling) : Explain what happens - with multi-threaded programs. - -2014-07-19 Ajit Agarwal - - * gdb.texinfo (MicroBlaze Features): Added. - -2014-06-27 Yao Qi - - * gdb.texinfo (Maintenance Commands): Update the output of - 'maint print dummy-frames' command. - -2014-06-24 Eli Zaretskii - - * gdb.texinfo (Screen Size): Improve indexing. - -2014-06-19 Gary Benson - - * gdb.texinfo (Maintenance Commands): Document new - "maint set/show catch-demangler-crashes" option. - -2014-06-19 Gary Benson - - * gdb.texinfo (Maintenance Commands): Document new - "maint demangler-warning" command and new - "maint set/show demangler-warning" option. - -2014-06-09 Siva Chandra Reddy - - * python.texi (Xmethod API): Add space before the opening - parenthesis in function descriptions. - -2014-06-06 Doug Evans - - * guile.texi (Guile Configuration): Document guile-data-directory. - -2014-06-06 Mingjie Xing - - * gdb.texinfo (Invoking GDB): Add -q and --quiet. - -2014-06-04 Doug Evans - - * guile.texi (Breakpoints In Guile): Update. - -2014-06-03 Joel Brobecker - - * python.texi (Xmethod API): Fix reference to "Progspaces In - Python". - -2014-06-03 Siva Chandra Reddy - - * python.texi (Xmethods In Python, XMethod API) - (Writing an Xmethod): New nodes. - (Python API): New menu entries "Xmethods In Python", - "Xmethod API", "Writing an Xmethod". - -2014-06-02 Doug Evans - - * guile.texi (Guile API): Add entry for Parameters In Guile. - (GDB Scheme Data Types): Mention object. - (Parameters In Guile): New node. - -2014-06-02 Doug Evans - - * guile.texi (Guile API): Add entry for Commands In Guile. - (Basic Guile) : Add reference. - (Basic Guile) argv>: Move definition to Commands In Guile. - (GDB Scheme Data Types): Mention object. - (Commands In Guile): New node. - -2014-06-02 Doug Evans - - * guile.texi (Guile API): Add entry for Progspaces In Guile. - (GDB Scheme Data Types): Mention object. - (Progspaces In Guile): New node. - -2014-05-30 Andrew Burgess - - * guile.texi (Frames In Guile): Mention FRAME_UNWIND_MEMORY_ERROR. - * python.texi (Frames In Python): Mention - gdb.FRAME_UNWIND_MEMORY_ERROR. - -2014-05-29 Pedro Alves - Tom Tromey - - * gdb.texinfo (Non-Stop Mode): Remove "set target-async 1" - from example. - (Asynchronous and non-stop modes): Document '-gdb-set mi-async'. - Mention that target-async is now deprecated. - (Maintenance Commands): Document maint set/show target-async. - -2014-05-29 Pedro Alves - - * observer.texi (sync_execution_done, command_error): New - subjects. - -2014-05-29 Pedro Alves - - PR gdb/13860 - * observer.texi (signal_received, end_stepping_range) - (signal_exited, exited, no_history): New observer subjects. - -2014-05-26 Andy Wingo - - * guile.texi (GDB Scheme Data Types): Remove documentation for - removed interfaces. Update spelling of gdb-object-kind. - -2014-05-26 Andy Wingo - - * guile.texi (Basic Guile): Fix some typos. - -2014-05-26 Andy Wingo - - * guile.texi (Writing a Guile Pretty-Printer) - (Guile Types Module): Fix excess parentheses in use-modules forms. - -2014-05-24 Eli Zaretskii - - * guile.texi (Types In Guile, Basic Guile, Frames In Guile) - (Breakpoints In Guile, Guile Printing Module) - (Guile Exception Handling, Values From Inferior In Guile) - (Objfiles In Guile, Breakpoints In Guile, Memory Ports in Guile): - Don't use @var at the beginning of a sentence. - - * gdb.texinfo (Frame Filter Management, Trace Files) - (C Operators, Ada Tasks, Calling, Bootstrapping, ARM) - (PowerPC Embedded, Define, Annotations for Running) - (IPA Protocol Commands, Packets, General Query Packets) - (Tracepoint Packets, Notification Packets, Environment) - (Inferiors and Programs, Set Breaks, Set Catchpoints) - (Continuing and Stepping, Signals, Thread-Specific Breakpoints) - (Frames, Backtrace, Selection, Expressions, Registers) - (Trace State Variables, Built-In Func/Proc, Signaling, Files) - (Numbers, GDB/MI Async Records, GDB/MI Data Manipulation) - (Source Annotations, Using JIT Debug Info Readers, Packets) - (Stop Reply Packets, Host I/O Packets) - (Target Description Format): Don't use @var at the beginning of a - sentence. - - * python.texi (Basic Python, Types In Python) - (Commands In Python, Frames In Python, Line Tables In Python) - (Breakpoints In Python, gdb.printing, gdb.types) - (Type Printing API): Don't use @var at the beginning of a - sentence. - -2014-05-23 Markus Metzger - - * gdb.texinfo (Process Record and Replay): Document "set/show btrace - replay-memory-access". - -2014-05-21 Pedro Alves - - * gdb.texinfo (Starting): Document "set/show - auto-connect-native-target". - (Target Commands): Document "target native". - -2014-05-20 Pedro Alves - - * gdb.texinfo (Memory) : Generalize comments to - not be remote specific. Add cross reference to the qCRC packet. - (Separate Debug Files): Update cross reference to the qCRC packet. - (General Query Packets) : Add anchor. - -2014-05-17 Doug Evans - - Copy over changes from guile.texi. - * python.texi (Basic Python) : Add text. - (Basic Python) : Remove "main" from "main GDB thread". - (Values From Inferior) : Add text. - (Values From Inferior) : Clarify string length handling. - (Pretty Printing API): Add cindex. - (Types In Python) : Use vtable instead of table. - Remove unnecessary index of gdb.TYPE_CODE_*. Replace @findex with - @vindex. - (Commands In Python) : Similarly. - (Symbols In Python) : Similarly. - (Breakpoints In Python) : Similarly. - (Breakpoints In Python) : Similarly. - -2014-05-17 David Taylor - - * gdb.texinfo (General Query Packets): Add a note about thread IDs - mentioned in the qfThreadInfo reply. - -2014-05-16 Doug Evans - - * gdb.texinfo (Mode Options): Add -D. - -2014-05-09 Samuel Bronson - - * Makefile.in (PACKAGE): Copy from ../Makefile.in in case of - "make -C". - -2014-04-29 Tom Tromey - - * gdb.texinfo (Debugging Output): Rename to "set debug varobj" and - "show debug varobj". - -2014-05-01 David Taylor - - * gdb.texinfo (compare-sections): Document the new -r (read-only) - option. - -2014-04-24 Michael Sturm - Walfred Tedeschi - - * gdb.texinfo (i386 Features): Add description of AVX512 - registers. - -2014-03-31 Doug Evans - - * gdb.texinfo (Symbols): Document set/show print symbol-loading. - -2014-03-30 Doug Evans - - * gdb.texinfo (Non-Stop Mode): Remove trailing whitespace. - (Background Execution): Ditto. - -2014-03-21 Pedro Alves - Stan Shebs - Hui Zhu - - * gdb.texinfo (Packets): Add anchor to "? packet". - Remove fixme and update introduction of "k packet". - Add anchor to "vKill packet". - -2014-03-12 Stan Shebs - - * Doxyfile-gdb-api.in (INPUT): Add gdbtypes.h. - -2014-02-26 Ludovic Courtès - - * guile.texi (Basic Guile): Document 'history-append!'. - -2014-02-20 Joel Brobecker - - * gdb.texinfo (Files): Document "add-shared-symbol-files" - and "assf" as being deprecated. - (Cygwin Native): Likewise for "dll-symbols". - (Non-debug DLL Symbols): Remove reference to "dll-symbols" - as a way to force the loading of symbols from a DLL. - -2014-02-19 Siva Chandra Reddy - - * python.texi (Values From Inferior): Add description about the - new feature. - -2014-02-17 Doug Evans - - * Makefile.in (GDB_DOC_FILES): Add python.texi. - * gdb.texinfo (Python): Moved to ... - * python.texi: ... here. New file. - -2014-02-17 Ludovic Courtès - - * guile.texi (Writing a Guile Pretty-Printer) : - Remove 'string-begins-with' procedure. Add 'pretty-printer' - parameter to 'str-lookup-function' procedure. Look for - the "std::string<" prefix. - (Frames In Guile): Add 'frame' parameter to 'frame-read-var'. - Adjust description. - -2014-02-11 Tejas Belagod - - * guile.texi (Values From Inferior In Guile): Remove stray - parantheses for deffn. - (Disassembly In Guile): Ditto. - -2014-02-10 Stan Shebs - - Add Doxygen support. - * Makefile.in (doxy): New action, generates Doxygen files. - (DOXYGEN): New. - (doxyedit): New. - * Doxyfile-base.in: New file. - * Doxyfile-gdb-api.in: New file. - * Doxyfile-gdb-xref.in: New file. - * Doxyfile-gdbserver.in: New file. - * doxy-index.in: New file. - * filter-for-doxygen: New file. - * filter-params.pl: New file. - -2014-02-10 Doug Evans - - * Makefile.in (GDB_DOC_FILES): Add guile.texi. - * gdb.texinfo (Auto-loading): Add set/show auto-load guile-scripts. - (Extending GDB): New menu entries Guile, Multiple Extension Languages. - (Guile docs): Include guile.texi. - (objfile-gdbdotext file): Add objfile-gdb.scm. - (dotdebug_gdb_scripts section): Mention Guile scripts. - (Multiple Extension Languages): New node. - * guile.texi: New file. - -2014-01-28 Joel Brobecker - - * gdb.texinfo (Ada Glitches): Document the new "maint ada set/show - ignore-descriptive-types". commands. - -2014-01-22 Doug Evans - - * gdb.texinfo (Server): Mention --debug-format=all|none|timestamp. - (gdbserver man): Ditto. - -2014-01-16 Markus Metzger - - * gdb.texinfo: Document limited reverse/replay support - for target record-btrace. - -2014-01-16 Markus Metzger - - * gdb.texinfo (Process Record and Replay): Update documentation. - -2014-01-16 Markus Metzger - - * gdb.texinfo (Process Record and Replay): Document new /c - modifier accepted by "record function-call-history". - Add /i modifier to "record function-call-history" example. - -2014-01-15 Yuanhui Zhang - Joel Brobecker - - * gdb.texinfo (GDB/MI Output Syntax): Add some missing "nl" - markers. Remove one that was misplaced. - -2014-01-10 Pedro Alves - - * gdb.texinfo (Your Program's Environment) : - Mention the shell, and point at 'set exec-wrapper'. - -2014-01-07 Joel Brobecker - - * gdb.texinfo (Types In Python): Document new attribute Types.name. - -2013-12-30 Joel Brobecker - - * gdb.texinfo (Types In Python): Clarify the documentation - of attribute gdb.Field.bitpos. - -2013-12-28 Joel Brobecker - - * gdb.texinfo (Types In Python): Fix the documentation of - attribute "bitpos" in class gdb.Field for enum types. Add - documentation for attribute "enumval" in that same class. - -2013-12-28 Joel Brobecker - - * gdb.texinfo (GDB/MI Support Commands): Change @table into - @ftable. - -2013-12-23 Doug Evans - - * gdb.texinfo (Auto-loading): Move menu up. Move discussion of - auto-loaded objfile scripts and .debug_gdb_scripts section to their - corresponding section in Extending GDB. - (Extending GDB): Move menu up. New menu item "Auto-loading - extensions". - (Sequences): New menu item "Auto-loading sequences". - (Auto-loading sequences): New node. - (Python): Rename section from Scripting GDB to Extending GDB. - (Python Auto-loading): Update xref, refer to "Auto-loading extensions". - Move docs on ways to auto-load extensions to ... - (Auto-loading extensions): ... here. New node. - -2013-12-23 Joel Brobecker - - * gdb.texinfo (GDB/MI): Add "GDB/MI Support Commands" entry - in menu. - (GDB/MI Variable Objects): Adjust reference to "-list-features" - command, now in a new node. - (GDB/MI Support Commands): New node, with its contents being - extracted from the "GDB/MI Miscellaneous Commands" node. - A small paragraph introducing the section is also added at - the start. - (GDB/MI Miscellaneous Commands): Delete the description of the - -info-gdb-mi-command, -list-features and -list-target-features - commands, now hosted in the "GDB/MI Support Commands" node. - -2013-12-12 Siva Chandra Reddy - - PR python/16113 - * gdb.texinfo (Values From Inferior): Add a note about using - gdb.Field objects as subscripts on gdb.Value objects. - (Types In Python): Add description about the new attribute - "parent_type" of gdb.Field objects. - -2013-12-12 Joel Brobecker - - * gdb.texinfo (GDB/MI Miscellaneous Commands): Add @cindex - entry for section docuumenting the -list-features GDB/MI command. - -2013-12-10 Joel Brobecker - - * gdb.texinfo (GDB/MI Miscellaneous Commands): Document the new - "exec-run-start-option" entry in the output of the "-list-features" - command. - -2013-12-04 Eli Zaretskii - - * gdb.texinfo (i386): Fix yesterday's commit. - -2013-12-03 Tom Tromey - - * gdb.texinfo (Set Catchpoints): Add @kindex for each command - documented here. - -2013-12-03 Tom Tromey - - * gdb.texinfo (@direntry): Add menu item for gdbserver. - -2013-12-03 Walfred Tedeschi - - * gdb.texinfo (i386 Features): Add MPX feature registers. - (x86 Specific featuresx86 Architecture-specific Issues): Adds - a subsubsection for MPX and describes the display of the - boundary registers. - -2013-12-03 Joel Brobecker - - * gdb.texinfo (GDB/MI Miscellaneous Commands): Remove the - documentation of the "ada-exceptions" entry. - -2013-12-03 Joel Brobecker - - * gdb.texinfo (GDB/MI Result Records): Fix the syntax of the - "^error" result record concerning the error message. Document - the error code that may also be part of that result record. - (GDB/MI Miscellaneous Commands): Document the - "undefined-command-error-code" element in the output of - the "-list-features" GDB/MI command. - -2013-12-03 Joel Brobecker - - * gdb.texinfo (GDB/MI Miscellaneous Commands): Document - the new -info-gdb-mi-command GDB/MI command. Document - the meaning of "-info-gdb-mi-command" in the output of - -list-features. - -2013-11-29 Pedro Alves - - * gdb.texinfo (Frames In Python) : - Update comment. - -2013-11-24 Yao Qi - - * gdb.texinfo (Caching Remote Data): Document new - "set/show stack-cache" option. - -2013-11-24 Yao Qi - - * gdb.texinfo (Caching Target Data): Replace "ON" with "on". - (Maintenance Commands): Replace "ON" and "OFF" with "on" and - "off" respectively. - -2013-11-23 Yao Qi - - * gdb.texinfo (GDB/MI Variable Objects): Add the description - of "displayhint" to the table about child results. - -2013-11-21 Yao Qi - - * gdb.texinfo (GDB/MI Variable Objects): Add attribute - 'dynamic' for the output of command -var-list-children. - -2013-11-21 Yao Qi - - * gdb.texinfo (Caching Target Data): Remove "see" before - @pxref. - -2013-11-20 Yao Qi - - * gdb.texinfo (Caching Target Data): Update doc for - per-address-space dcache. - -2013-11-20 Yao Qi - - * gdb.texinfo (Data): Rename menu item. - (Caching Remote Data): Rename to ... - (Caching Target Data): ... it. Update. - -2013-11-18 Joel Brobecker - - * gdb.texinfo (GDB/MI Miscellaneous Commands): Document the new - "language-option" entry in the output of the "-list-features" - command. - -2013-11-15 Tom Tromey - - * gdb.texinfo (Variables): Note gdb rules for ambiguous cases. - Add example. - -2013-11-14 Tom Tromey - - * gdb.texinfo (Breakpoints In Python): Replace "as" with "in". - -2013-11-14 Joel Brobecker - - * gdb.texinfo (Show): Add xref anchor for "show language" command. - (Context management): Place current subsection text into its own - subsubsection. Add new subsubsection describing the "--language" - command option. - -2013-11-13 Joel Brobecker - - * gdb.texinfo (GDB/MI Miscellaneous Commands): Delete - the documentation of "info-ada-exceptions" in the output - of the "-list-features" command. Add the documentation - of the "ada-exception" entry instead. - -2013-11-12 Joel Brobecker - - - * gdb.texinfo (GDB/MI Miscellaneous Commands): Fix the first - word of a couple of sentences to start with a capital letter. - -2013-11-12 Joel Brobecker - - * gdb.texinfo (Ada): Add entry in menu for new "Ada Exceptions" node. - (Ada Exceptions): New node. - (GDB/MI): Add entry in menu for new "GDB/MI Ada Exceptions - Commands" node. - (GDB/MI Ada Exceptions Commands): New node. - (GDB/MI Miscellaneous Commands): Document new "info-ada-exceptions" - field in the output of the "-list-features" command. - * NEWS: Add entry for the new "info exceptions" CLI command, - and for the new "-info-ada-exceptions" GDB/MI command. - -2013-11-11 Phil Muldoon - - * gdb.texinfo (Symbol Tables In Python): Add linetable method entry. - (Line Tables In Python): New node. - -2013-11-08 Doug Evans - - * gdb.texinfo (Debugging Output): Update text for - "set debug dwarf2-read". - -2013-11-08 Doug Evans - - * gdb.texinfo (Debugging Output): Update text for - "set debug symtab-create". - -2013-11-07 Phil Muldoon - - * gdb.texinfo (Commands In Python): Document COMPLETE_EXPRESSION - constant. - -2013-11-07 Phil Muldoon - - * gdb.texinfo (Breakpoints In Python): Document temporary - option in breakpoint constructor, and add documentation to the - temporary attribute. - -2013-11-07 Yao Qi - - * gdb.texinfo (GDB/MI Variable Objects): Update doc about the - output of "-var-info-expression". - -2013-11-06 Pedro Alves - - * gdb.texinfo (Starting) : Mention - non-interactive mode. - (Environment) : Mention - non-interactive mode. Mention .zshenv for Z shell, and talk about - BASH_ENV instead of .bashrc for BASH. - -2013-10-29 Nicolas Blanc - - * gdb.texinfo (Commands to Specify Files): Add description - of the remove-symbol-file command. - * observer.texi: New free_objfile event - -2013-10-24 Pedro Alves - - * gdb.texinfo (Starting): Document set/show startup-with-shell. - -2013-10-11 Joel Brobecker - - * gdb.texinfo (Shared Library GDB/MI Catchpoint Commands): - New subsection inside which the "-catch-load" and "-catch-unload" - commands documentation is now placed. - (Ada Exception GDB/MI Catchpoint Commands): New subsection - documenting the "-catch-assert" and "-catch-exception" new - GDB/MI commands. - -2013-10-10 Joel Brobecker - - * gdb.texinfo (Connecting): Remove unnecessary @w{}. - -2013-10-10 Joel Brobecker - - * gdb.texinfo (Connecting): Replace "set remotebaud" by "set - serial baud". - (Remote Configuration): Replace "set remotebaud" by "set serial - baud". Replace "show remotebaud" by "show serial baud". - -2013-10-07 Pedro Alves - - PR breakpoints/11568 - * gdb.texinfo (Thread-Specific Breakpoints): Mention what happens - when the thread is removed from the thread list. - -2013-10-06 Sergio Durigan Junior - - * gdb.texinfo (Convenience Variables): Document $_exitsignal. - Update entry for $_exitcode. - -2013-10-04 Joel Brobecker - - * gdb.texinfo (GDB/MI Program Execution): Document "-exec-run"'s - new "--start" option. - -2013-10-02 Pedro Alves - - * gdb.texinfo (Registers): Expand description of saved registers - in frames. Explain . - -2013-09-25 Doug Evans - - * gdb.texinfo (Debugging Output): Document set/show debug symfile. - -2013-09-16 Stan Shebs - - Remove the internals manual gdbint.texinfo. - * Makefile.in (INFO_DEPS): Remove gdbint.info. - (PDFFILES): Remove gdbint.pdf. - (HTMLFILES): Remove gdbint/index.html. - (HTMLFILES_INSTALL): Remove gdbint. - (GDBINT_DOC_FILES): Remove. - (dvi): Remove gdbint.dvi. - (ps): Remove gdbint.ps. - * gdbint.texinfo: Remove file. - * gdb.texinfo (Maintenance Commands): Remove reference to gdbint. - -2013-09-16 Sergio Durigan Junior - - * gdb.texinfo (Convenience Functions): Mention new convenience - function $_isvoid. - -2013-09-13 Andreas Arnez - - * gdb.texinfo (Decimal Floating Point format): Mention S/390. - (Standard Target Features): Add new node to menu. - (S/390 and System z Features): New node. - -2013-09-13 Sanimir Agovic - - * gdb.texinfo (GDB/MI Miscellaneous Commands): Use - -list-target-features in the example. - -2013-09-11 Jan Kratochvil - - * gdb.texinfo (MiniDebugInfo): Prepare file debug and use it to create - mini_debuginfo. Strip binary before adding mini_debuginfo to it. - -2013-09-11 Jan Kratochvil - - Sync documentation with gdb.base/gnu-debugdata.exp. - * gdb.texinfo (MiniDebugInfo): Add comment and "D" in the example. - -2013-09-11 Jan Kratochvil - - * gdb.texinfo (MiniDebugInfo): Fix two trailing dots. - -2013-08-27 Pedro Alves - Yao Qi - - * gdb.texinfo (GDB/MI Stack Manipulation) <-stack-list-locals>: - Document new --skip-unavailable option. - <-stack-list-variables>: Document new --skip-unavailable option. - -2013-08-26 Doug Evans - - * gdb.texinfo (Maintenance Commands): "maint print objfiles" now takes - an optional regexp. - -2013-08-13 Tom Tromey - - * gdbint.texinfo (Testsuite): Use @table, not @itemize. - Document GDB_PARALLEL and GDB_INOTIFY. - -2013-08-09 Stan Shebs - - * LRS: Remove file, describes a long-abandoned live-range - splitting extension to stabs. - -2013-07-25 Andrew Burgess - - * gdb.texinfo (Output Formats): Mention the new 'z' formatter. - -2013-07-17 Doug Evans - - * gdb.texinfo (Print Settings): Document "print raw frame-arguments". - -2013-07-02 Tom Tromey - - * gdb.texinfo (Target Commands): Don't mention "target nrom". - -2013-06-28 Tom Tromey - - * Makefile.in (version.subst): Use version.in, not - common/version.in. - * gdbint.texinfo (Versions and Branches, Releasing GDB): - Likewise. - -2013-06-27 Pedro Alves - - * gdbint.texinfo (Algorithms) : New section, based on infrun.c - comment. - -2013-06-26 Tom Tromey - - * gdbint.texinfo (Versions and Branches): Use common/version.in. - Update. - (Releasing GDB): Likewise. - -2013-06-26 Pedro Alves - Yao Qi - - * gdb.texinfo (GDB/MI Tracepoint Commands): Document - -trace-frame-collected. - -2013-06-26 Pedro Alves - - * gdb.texinfo (Traceframe Info Format): Document tvar element - and its attributes. - -2013-06-25 Yao Qi - - * gdbint.texinfo (Testsuite): Document 'gdb,predefined_tsv'. - -2013-06-24 Tom Tromey - - * Makefile.in (POD2MAN1, POD2MAN5): Use version.subst. - (GDBvn.texi): Use version.subst. - (version.subst): New target. - (mostlyclean): Remove version.subst. - -2013-06-20 Pedro Alves - - * gdb.texinfo (GDB/MI Data Manipulation) - <-data-list-register-values>: Document the --skip-unavailable - option. - -2013-06-07 Yao Qi - - * gdb.texinfo (Symbols): Add kindex and cindex for - 'maint print msymbols'. - -2013-06-05 Simon Marchi (tiny change) - - * gdb.texinfo (Miscellaneous gdb/mi Commands): Fix -add-inferior - response field name (thread-group to inferior). - -2013-06-04 Gary Benson - - * gdb.texinfo (General Query Packets/qSupported): Added - "qXfer:libraries-svr4:read" and "augmented-libraries-svr4-read". - to the table of currently defined stub features. - Added a more detailed entry for "augmented-libraries-svr4-read". - (General Query Packets/qXfer:libraries-svr4:read): Documented - the augmented form of this packet. - -2013-05-23 Joel Brobecker - - * gdb.texinfo (System-wide Configuration Scripts): Renames - "Installed System-wide Configuration Scripts". Add associated - @menu block. - -2013-05-23 Yao Qi - Pedro Alves - - * gdb.texinfo (Packets): Document 'vCont;r'. - (Continuing and Stepping): Document target-assisted range - stepping, and the 'set range-stepping' and 'show range-stepping' - commands. - -2013-05-23 Joel Brobecker - - * gdb.texinfo (Installed System-wide Configuration Scripts): - Add subsection describing the scripts now available under - the data-dir's system-gdbbinit subdirectory. - * NEWS: Add entry announcing the availability of system-wide - configuration scripts for ElinOS and Wind River Linux. - -2013-05-21 Hui Zhu - - * gdb.texinfo (GDB/MI Breakpoint Commands): Describe the - "-dprintf-insert" command. - -2013-05-17 Doug Evans - - * gdb.texinfo (Maintenance Commands): Update doc for - "maint check-psymtabs". Add doc for "maint check-symtabs", - "maint expand-symtabs". - -2013-05-15 Markus Metzger - - * gdb.texinfo (Process Record and Replay): Document the - "record goto" command and its sub-commands. - -2013-05-10 Phil Muldoon - - * gdb.texinfo (Backtrace): Add "no-filter" argument. - (Python API): Add Frame Filters API, Frame Wrapper API, - Writing a Frame Filter/Wrapper, Managing Management of Frame - Filters chapter entries. - (Frame Filters API): New Node. - (Frame Wrapper API): New Node. - (Writing a Frame Filter): New Node. - (Managing Frame Filters): New Node. - (Progspaces In Python): Add note about frame_filters attribute. - (Objfiles in Python): Ditto. - (GDB/MI Stack Manipulation): Add -enable-frame-filters command, - @anchors and --no-frame-filters option to -stack-list-variables, - -stack-list-frames, -stack-list-locals and -stack-list-arguments - commands. - -2013-05-08 Joel Brobecker - - * gdbint.texinfo (Native Debugging): Add "AIX Shared Library - Support" subsection documenting the XML format used to transfer - shared library info on AIX. - -2013-05-08 Joel Brobecker - - * gdb.texinfo (Debugging Output): Add documentation of - "set debug aix-solib" and "show debug aix-solib" commands. - -2013-05-06 Sandra Loosemore - - * gdb.texinfo (Nios II): New section. - (Nios II Features): New section. - -2013-05-06 Joel Brobecker - - * gdbint.texinfo (Algorithms): Remove entries documenting - DEPRECATED_IBM6000_TARGET, SOLIB_ADD, and - SOLIB_CREATE_INFERIOR_HOOK. - -2013-04-29 Tom Tromey - - PR python/14204: - * gdb.texinfo (Python API): Fix menu entry. - (Blocks In Python): Fix subsubsection text. Rewrite intro. - Define global and static block. Add example. Clarify - block relationship for inline functions. - -2013-04-29 Tom Tromey - - * gdb.texinfo (Python API): Mention Python help and keyword - arguments. Move pagination text to Basic Python. - (Basic Python): Put pagination text here. Document - close-on-exec, SIGCHLD, and SIGINT. - -2013-04-19 Pedro Alves - - * gdbint.texinfo (Misc Guidelines) : Write - "signedness" instead of "signness". - -2013-04-19 Pedro Alves - - * gdbint.texinfo (Misc Guidelines) : Replace - -Wno-pointer-sign text with text on -Wpointer-sign. - -2013-04-16 Tom Tromey - - * gdb.texinfo (Set Catchpoints): Mention earliest version of - GCC that has the SDT probe points. - -2013-04-15 Tom Tromey - - * gdb.texinfo (Set Catchpoints): Document regexp syntax for - exception catchpoints. - -2013-04-15 Tom Tromey - - * gdb.texinfo (Set Catchpoints): Document $_exception. - (Convenience Vars): Mention $_exception. - -2013-04-15 Tom Tromey - - * gdb.texinfo (Set Catchpoints): Reorganize exception - catchpoints. Document "catch rethrow". - (Debugging C Plus Plus): Mention "catch rethrow". - -2013-04-15 Tom Tromey - - * gdb.texinfo (Set Catchpoints): Remove obsolete text. - -2013-04-12 Jan Kratochvil - Eli Zaretskii - - * gdb.texinfo (Auto-loading safe path): Add quick -iex using command - line below the sample output. - -2013-04-12 Eli Zaretskii - - * gdb.texinfo (Mode Options): Document '-configuration'. - (Help): Document "show configuration". - (Bug Reporting): Add requirements to include the configuration - details in bug reports. - -2013-04-11 Jan Kratochvil - - * Makefile.in (MAN1S): Add gcore.1. - Remove "Host, target, and site specific Makefile fragments" comment. - (@host_makefile_frag@, HAVE_NATIVE_GCORE_TARGET): New. - (install-man1, uninstall-man1): Conditionalize gcore.1. - (gcore.1): New. - * gdb.texinfo (Man Pages): Add gcore man. - (gcore man): New node. - -2013-04-10 Pedro Alves - - * gdb.texinfo (Process Record and Replay): Document that "set - record full insn-number-max", "set record - instruction-history-size" and "set record - function-call-history-size" accept "unlimited". - (Backtrace): Document that "set backtrace limit" accepts - "unlimited". - (List): Document that "set listsize" accepts "unlimited". - (Print Settings)" Document that "set print max-symbolic-offset", - "set print elements" and "set print repeats" accept "unlimited". - (Starting and Stopping Trace Experiments): Document that "set - trace-buffer-size" accepts "unlimited". - (Remote Configuration): Document that "set tcp connect-timeout" - accepts "unlimited". - (Command History): Document that "set history size" accepts - "unlimited". - (Screen Size): Document that "set height" and "set width" accepts - "unlimited". Adjust "set pagination"'s description to suggest - "set height unlimited" instead of "set height 0". - -2013-04-10 Yao Qi - - * gdb.texinfo (Trace Files): Add "target ctf". - -2013-04-06 Jan Kratochvil - - * Makefile.in (POD2MAN1, POD2MAN5): Replace $(VERSION) by ../version.in. - - * Makefile.in (install-man1, install-man5, uninstall-man1) - (uninstall-man5): Replace $(MANS) by $(MAN1S) and $(MAN5S) respectively. - - * Makefile.in (gdb.1, gdbserver.1, gdbinit.5): Use $(srcdir). - -2013-04-06 Jan Kratochvil - Eli Zaretskii - - * gdb.texinfo (gdbserver man): Rename tty to comm. Swap --attach - parameters order. Remove "On some targets" for --attach. Document the - --multi parameter and extended-remote command. Document all the - options. - -2013-04-05 Jan Kratochvil - - * gdb.texinfo (gdb man): Mention option -p. Include Fortran to - the list of supported languages. - -2013-04-05 Jan Kratochvil - - Convert man pages to texinfo, new gdbinit.5 texinfo page. - * Makefile.in (mandir, man1dir, man5dir, SYSTEM_GDBINIT, MANCONF, - (TEXI2POD, POD2MAN1, POD2MAN5, MAN1S, MAN5S, MANS, man): New. - (diststuff): Add man. - (install-man, install-man1, install-man5, uninstall-man, uninstall-man1) - (uninstall-man5): New. - (STAGESTUFF): Add *.1 and *.5. - (GDBvn.texi): Add SYSTEM_GDBINIT. - (gdb.1, gdbserver.1, gdbinit.5): New. - (maintainer-clean realclean): Add $(MANS). - (install): Add install-man. - (uninstall): Add uninstall-man. - * gdb.texinfo (@include gdb-cfg.texi): Wrap it by @c man begin INCLUDE. - (@copying): Wrap it by @c man begin COPYRIGHT. - (Top): Add Man Pages. - (Man Pages, gdb man, gdbserver man, gdbinit man): New. - -2013-04-02 Pedro Alves - - * gdb.texinfo (Debugging Output): Document "set/show debug - aarch64", "set/show debug coff-pe-read" and "set/show debug - mach-o". - -2013-04-02 Pedro Alves - - * gdb.texinfo (Remote Configuration) : Add entry for "trace-buffer-size". - -2013-03-28 Pedro Alves - - * gdb.texinfo (Remote Configuration) : Add entry for "trace-status". - -2013-03-28 Eli Zaretskii - - * gdb.texinfo (Maintenance Commands): Use @enumerate, not "@table - @bullet", which is invalid (makeinfo 5.1 barfs). - -2013-03-28 Pedro Alves - - PR gdb/15294 - - * gdb.texinfo (List) : Adjust to document that - listsize 0 means no limit, and remove mention of -1. - -2013-03-22 Yao Qi - - * gdb.texinfo (Embedded Processors): Remove menu item - "OpenRISC 1000". - (OpenRISC 1000): Remove. - -2013-03-21 Doug Evans - - * gdb.texinfo (Maintenance Commands): Add docs for - "mt set per-command {space,time,symtab} {on,off}". - -2013-03-14 Hui Zhu - Yao Qi - - * gdb.texinfo (Trace Files): Add "tsave -ctf". - -2013-03-13 Keith Seitz - - * gdb.texinfo (Maintenance Commands): Add missing ')' for - "maint agent" reference to Dynamic printf. - -2013-03-11 Eli Zaretskii - - * gdb.texinfo (General Query Packets): Don't use colon in index - entries visible to Info format. - -2013-03-11 Markus Metzger - - * gdb.texinfo (Process Record and Replay): Document record - changes. - -2013-03-11 Markus Metzger - - * gdb.texinfo (Requirements): List qXfer:btrace:read requiring expat. - (General Query Packets): Describe Qbtrace:bts, Qbtrace:off, and - qXfer:btrace:read. - -2013-03-09 Eli Zaretskii - - * gdb.texinfo (General Query Packets, Tracepoint Packets): Don't - use colons in @anchor and @cindex entries. - -2013-03-09 Hafiz Abid Qadeer - - * gdb.texinfo (QTBuffer:size): Add cindex and anchor. - -2013-03-08 Stan Shebs - Hafiz Abid Qadeer - - * gdb.texinfo (Starting and Stopping Trace Experiments): Document - trace-buffer-size set and show commands. - (Tracepoint Packets): Document QTBuffer:size. - (General Query Packets): Document QTBuffer:size. - -2013-02-21 Tom Tromey - - * gdb.texinfo: Remove bad @syncodeindex. - (Values From Inferior, Types In Python, Inferiors In Python) - (Events In Python, Threads In Python, Frames In Python, Blocks In - Python, Symbols In Python, Symbol Tables In Python): Remove - @tables. - (Packets, General Query Packets, Tracepoint Packets) - (Host I/O Packets): Use @w{} for empty @item. - -2013-02-20 Siva Chandra Reddy - - * gdb.texinfo (Architectures In Python): Add description about - the new method gdb.Architecture.disassemble. - -2013-02-15 Pedro Alves - Hafiz Abid Qadeer - - * gdb.texinfo (GDB/MI Tracepoint Commands) <-trace-status>: - Document the "trace-file" field. - -2013-02-07 Doug Evans - - * gdb.texinfo (Machine Code): Clarify argument to disassemble - command. - -2013-02-06 Yao Qi - - * gdb.texinfo (GDB/MI Async Records): Document new MI - notification "=tsv-modified". Update the document of MI - notification "=tsv-created". - * observer.texi (GDB Observers): New observer tsv_modified. - Update observer tsv_created and tsv_delete. - -2013-02-05 Yufeng Zhang - - * gdb.texinfo (AArch64 Features): New section; document - org.gnu.gdb.aarch64.core and org.gnu.gdb.aarch64.fpu. - (Architectures): Add new AArch64 section to document AArch64 - architecture specific commands. - (ABI): Add description of the new OS ABI "Newlib" and its influence - on the longjmp handling. - -2013-02-03 Eldar Gaynetdinov - Jan Kratochvil - - * gdb.texinfo (Backtrace): Added description of 'filename-display' - variable in 'set/show backtrace' section. - -2013-01-31 Tom Tromey - - * gdb.texinfo (Target Commands): Fix typo. - -2013-01-23 Siva Chandra Reddy - - * doc/gdb.texinfo (Architectures In Python): New sub-sub-section - describing the gdb.Architecture class. - (Frames In Python): Add description about the new method - gdb.Frame.architecture(). - -2013-01-23 Doug Evans - - * gdb.texinfo (Index Section Format): Document .gdb_index version 8. - -2013-01-21 Marc Khouzam - - * gdb.texinfo (GDB/MI Breakpoint Commands): Document new - 'thread-groups' field when printing a breakpoint in MI. - -2012-01-17 Sanjoy Das - * gdb.texinfo (Using JIT Debug Info Readers): Change documentation - to reflect that jit-reader-load now supports absolute file-names. - -2013-01-16 Tom Tromey - - * gdb.texinfo (Set Catchpoints): Document "catch signal". - (Signals): Likewise. - -2013-01-16 Tom Tromey - - * gdb.texinfo (GDB/MI Breakpoint Information): Document - "catch-type" field. - (GDB/MI Catchpoint Commands): Add "catch-type" to examples. - -2013-01-07 Tom Tromey - - * gdb.texinfo (Mode Options): Don't mention -epoch. - (Data, Emacs): Remove obsolete comments. - -2013-01-02 Tom Tromey - - * gdb.texinfo (GDB/MI Output Records): Update menu. - (GDB/MI Breakpoint Information): New node. - (GDB/MI Breakpoint Commands) <-break-info>: Link to new node. - <-break-insert>: Likewise. - -2012-12-31 Yao Qi - - * gdb.texinfo (Remote Non-Stop): Move paragraphs to ... - (Packets): Move "vStopped" packet to ... - (Notification Packets): ... here. Describe the components - of notification. Add a table of supported notifications. - Add an example on the process of he async notification. - -2012-12-25 Jan Kratochvil - - * gdb.texinfo (GDB/MI Data Manipulation) (fullname): Make it always - present. - (GDB/MI File Commands) (-file-list-exec-source-files): Make the - fullname output always present. - -2012-12-23 Pierre Muller - - * gdbint.texinfo (Function prototypes): Require use of "extern" - modifier for function prototypes in headers. - -2012-12-19 Joel Brobecker - - * refcard.tex: Update copyright notice to GPL v3 or later. - Update contact info. - -2012-12-16 Jan Kratochvil - - * gdbint.texinfo (Coding Standards) (C Usage): New rule for 0 vs. NULL. - -2012-12-15 Yao Qi - - * gdb.texinfo (Debugging Output): Document 'set debug - notification' and 'show debug notification'. - -2012-12-15 Yao Qi - - * gdb.texinfo (Listing Tracepoints): New item and example about - 'installed on target' output. - Add more in the example about 'installed on target'. - (GDB/MI Breakpoint Commands): Doc about 'installed field. - -2012-12-14 Tom Tromey - - * gdb.texinfo (SVR4 Process Information): Mention core files. - -2012-12-12 Mircea Gherzan - - * gdb.texinfo (GDB/MI Catchpoint Commands): New section. - -2012-12-12 Paul Koning - - Add support for Python 3. - * gdb.texinfo (Inferior.read_memory): Mention that the return - value is a memoryview object if Python 3. - -2012-12-11 Pedro Alves - - * gdb.texinfo: Remove all mentions of Unixware throughout. - -2012-12-09 Jan Kratochvil - - * gdbint.texinfo (Host Definition): Remove CC_HAS_LONG_LONG. - -2012-11-29 Tom Tromey - - * gdb.texinfo (SVR4 Process Information): Document missing - "info proc" subcommands. - -2012-11-29 Yao Qi - - PR gdb/1477. - * gdb.texinfo (Print Settings): Correct the default 'demangle-style' - to 'auto' instead of 'gnu'. - -2012-11-26 Tom Tromey - - * gdb.texinfo (MiniDebugInfo): New node. - (GDB Files): Update. - -2012-11-16 Doug Evans - - * gdb.texinfo (System-wide configuration): If the system-wide init - file lives in the data-directory, and --data-directory is provided, - look for it there. - -2012-11-15 Tom Tromey - - * gdb.texinfo (Signaling): Fix typo. - -2012-11-13 Giuseppe Montalto - - * gdb.texinfo (GDB/MI Data Manipulation): Document new optional - parameter "count" of -data-write-memory-bytes, and add an example. - -2012-11-12 Tom Tromey - - * gdb.texinfo (Symbols): Document "info type-printers", - "enable type-printer" and "disable type-printer". - (Python API): Add new node to menu. - (Type Printing API): New node. - (Progspaces In Python): Document type_printers field. - (Objfiles In Python): Likewise. - (gdb.types) : Document. - -2012-11-12 Tom Tromey - - * gdb.texinfo (Symbols): Document "set print type methods", - "set print type typedefs", and flags to ptype and whatis. - -2012-11-09 Andrew Burgess - - * gdb.texinfo (GDB/MI Data Manipulation): Add fullname field to - the example -data-disassemble output. Extend the description of - the -data-disassemble results to document all fields. Document - the cli disassemble command as being related to -data-disassemble. - -2012-11-09 Yao Qi - - PR gdb/14777. - * gdb.texinfo (OS Information): Remove doc on command - 'info udot'. - -2012-11-08 Joel Brobecker - - * gdb.texinfo (Startup): Minor rewording, and clarify scope of - gdb.ini warning for Windows port. - -2012-11-08 Yao Qi - - * gdb.texinfo (Search): Add kindex for 'fo'. - -2012-11-05 Tom Tromey - - PR python/14802: - * gdb.texinfo (Functions In Python): Add example. - -2012-11-03 Yao Qi - - * observer.texi (GDB Observers): Remove observer - 'tracepoint_modified', 'tracepoint_created' and - 'tracepoint_deleted'. - -2012-10-26 Tom Tromey - - * gdb.texinfo (General Query Packets): Use @itemx for QAgent. - -2012-10-25 Tom Tromey - - * gdb.texinfo (General Query Packets): Use @itemx. - -2012-10-17 Yao Qi - - * observer.texi (GDB Observers): Update observer - 'memory_changed'. - * gdb.texinfo (GDB/MI Async Records): Document for - "memory-changed" notification. - -2012-10-15 Doug Evans - - * gdb.texinfo (Mode Options): Document -nh. - Elaborate on docs for -nx. - -2012-09-26 Siddhesh Poyarekar - - * observer.texi (memory_changed): Expand parameter LEN to ssize_t. - -2012-09-21 Yao Qi - Pedro Alves - - * gdb.texinfo (GDB/MI Async Records): Document notification - 'record-started' and 'record-stopped'. - * observer.texi (GDB Observers): New observer 'record-changed'. - -2012-09-19 Thomas Schwinge - - * gdb.texinfo: Document the removal of SH's 'regs' command. - -2012-09-18 Sergio Durigan Junior - - * gdb.texinfo (jump): Mention new alias `j' for `jump'. - -2012-09-18 Yao Qi - - * gdb.texinfo (GDB/MI Async Records): Document new MI - notifications '=tsv-created' and '=tsv-deleted'. - * observer.texi (GDB Observers): New observer tsv_created and - tsv_deleted. - -2012-09-18 Yao Qi - - * observer.texi (GDB Observers): New observer 'traceframe_changed'. - * gdb.texinfo (GDB/MI Async Records): Mention new MI notification - '=traceframe-changed'. - -2012-09-17 Yao Qi - - * gdb.texinfo (List): Describe the meaning of 0 and -1 in - 'set listsize'. - -2012-09-13 Jan Kratochvil - Eli Zaretskii - - * gdbint.texinfo (Defining Other Architecture Features): Clarify *pcptr - encoding for gdbarch_breakpoint_from_pc, bp_addr for - gdbarch_push_dummy_call and bp_addr for gdbarch_push_dummy_code. - -2012-08-27 Jan Kratochvil - - * gdb.texinfo (objfile-gdb.py file): New paragraph for .exe stripping. - -2012-08-23 Khoo Yit Phang - - Document how to return from "python-interactive" to GDB. - * gdb.texinfo (Python Commands): Update documentation. - -2012-08-22 Khoo Yit Phang - - Add a new "python-interactive" command that starts a standard - Python interactive prompt with "pi" as alias, and add "py" as - an alias to "python". - * gdb.texinfo (Python Commands): Document the new commands. - -2012-08-22 Tom Tromey - - * gdbint.texinfo (Host Definition): Remove documentation for - SIGWINCH_HANDLER and SIGWINCH_HANDLER_BODY. - -2012-08-17 Keith Seitz - - PR c++/13356 - * gdb.texinfo (Type and Range Checking): Remove warning. - Remove spurious commas. - Update text and examples for re-implementation of set/show - check type. - (C and C++ Type and Range Checks): Likewise. - -2012-08-16 Yao Qi - - * gdb.texinfo (Types In Python): Mention gdb.TYPE_CODE_BITSTRING - is deprecated. - -2012-08-13 Doug Evans - - * gdb.texinfo (Convenience Vars): Update text for "show convenience" - to include functions. - -2012-08-10 Doug Evans - - * gdb.texinfo (Convenience Funs): New node. - (Types In Python): Document Type.vector. - -2012-08-09 Yao Qi - - * observer.texi: New observer command_param_changed. - * gdb.texinfo (GDB/MI Async Records): Doc for '=cmd-param-changed'. - -2012-08-07 Jan Kratochvil - - * gdbint.texinfo (Debugging GDB): In section - 'Debugging @value{GDBN} with itself' change .gdbinit for gdb-gdb.gdb. - Mention also gdb-gdb.py. - -2012-08-07 Yao Qi - - Revert the folloing patch: - 2012-08-06 Yao Qi - * gdb.texinfo (Remote Configuration): Add kindex for 'set - remote hardware-watchpoint-limit' and 'set - remote hardware-breakpoint-limit'. - -2012-08-06 Nathaniel Flath - - * gdb.texinfo (Working Directory): Added information about new - default argument for 'cd' command. - -2012-08-06 Yao Qi - - * gdb.texinfo (Remote Configuration): Add kindex for 'set - remote hardware-watchpoint-limit' and 'set - remote hardware-breakpoint-limit'. - -2012-08-06 Yao Qi - - Fix PR14371. - - * gdb.texinfo (GDB/MI Async Records): Fix the doc for - '=breakpoint-deleted'. - -2012-08-02 Yao Qi - - * gdb.texinfo (Native): Remove node Neutrino. - -2012-07-27 Yao Qi - - * gdb.texinfo (IPA Protocol Commands): Document new command - 'close'. - -2012-07-25 Tom Tromey - - * gdb.texinfo (Maintenance Commands): Document maint info bfds. - -2012-07-20 Doug Evans - - * gdb.texinfo (Mode Options): Delete --use-deprecated-index-sections. - (Index Files): Document how to control the use of deprecated index - sections. - (Index Section Format): Replace --use-deprecated-index-sections with - "set use-deprecated-index-sections on". - -2012-07-12 Eli Zaretskii - - * gdbint.texinfo: Remove @syncodeindex directives that put all the - indices into a single node "Index". Instead, join function and - variable indices into a single index, separate from the concept - index. Requested in - http://sourceware.org/ml/gdb-patches/2012-07/msg00146.html. - (Top): Update the top-level menu: instead of one "Index" there are - now separate entries "Concept Index" and "Function and Variable - Index". - (Concept Index, Function and Variable Index): New nodes. - (Index): Node deleted. - -2012-07-05 Hui Zhu - - * gdb.texinfo (Maintenance Commands): Change help for "maint agent" - and "maint agent-eval". - -2012-07-03 Eli Zaretskii - - * gdb.texinfo: Separate the index into 2 indices, cp and fn, to - avoid file-name clashes between Index.html and index.html on - case-insensitive filesystems. See the discussion starting in - http://sourceware.org/ml/gdb-patches/2012-06/msg00457.html for the - details of the problem. - (Top): Update the master menu for the above. - (Concept Index, Command and Variable Index): New nodes, instead of - the old "Index" node that was deleted. All cross-references - updated. - -2012-07-02 Stan Shebs - - * gdb.texinfo (Dynamic Printf): Mention agent style and - disconnected dprintf. - (Maintenance Commands): Describe maint agent-printf. - (General Query Packets): Mention BreakpointCommands feature. - (Packets): Document commands extension to Z0 packet. - * agentexpr.texi (Bytecode Descriptions): Document printf - bytecode. - -2012-07-02 Jan Kratochvil - - * gdb.texinfo (File Options): Change -ix and -iex commands that apply - only after gdbinit files. - (Startup): Move -iex and -iex commands down after gdbinit files. - -2012-07-02 Jan Kratochvil - - * gdb.texinfo (Auto-loading safe path): Note the shell wildcard - possibility. - -2012-06-29 Tom Tromey - - * gdb.texinfo (Index Section Format): Update for version 7. - -2012-06-28 Stan Shebs - - * gdb.texinfo (Miscellaneous GDB/MI Commands): Update -info-os - example, add note about title column. - -2012-06-26 Siva Chandra Reddy - - * gdb.texinfo (Symbol Tables In Python): Add description about - the new 'last' attribute of gdb.Symtab_and line. - -2012-06-26 Siva Chandra Reddy - - * gdb.texinfo (Symbol Tables In Python): Correct the description - of the 'pc' attribute of gdb.Symtab_and_line. - -2012-06-26 Doug Evans - - * gdb.texinfo (Debugging Output): Document debug options dwarf2-read - and symtab-create. - -2012-06-25 Keith Seitz - - * gdb.texinfo (GDB/MI Breakpoint Commands): Remove "-r" option - from example. Remove "rbreak" from list of corresponding - gdb commands. - -2012-06-23 Doug Evans - - * gdb.texinfo (Index Section Format): Document version 7 format. - -2012-06-22 Yao Qi - - * gdb.texinfo: Add missing cindex for some packets. - -2012-06-20 Keith Seitz - - * gdb.texinfo (GDB/MI Breakpoint Commands): Re-order options - for -break-insert and document -p. - -2012-06-20 Yao Qi - - * gdb.texinfo (Inferiors In Python): Replace "gdb.read_memory" - and "gdb.write_memory" with "Inferior.read_memory" and - "Inferior.write_memory". - -2012-06-15 Patrice Dumas (tiny change) - - * gdb.texinfo (Summary): Add a link to "Free Documentation". - (Free Documentation): Add @node line. - (Continuing and Stepping) : Use @item instead of - @itemx. - (Reverse Execution) : Use @item instead of - @itemx. - (Embedded Processors): Put the link to "PA" to its correct place, - according to document structure. - (Python API): Put the link to "Lazy Strings In Python" to its - correct place. - (Index): Use @@ in @tex block to get a literal @. - - * gdbint.texinfo: Fix the @subtitle line. - - * stabs.texinfo (Top): Put the link to "Symbol Types Index" to its - correct place. - -2012-06-08 Yao Qi - - * gdb.texinfo (In-Process Agent): Add 'In-Process Agent - Protocol'. - (In-Process Agent Protocol, IPA Protocol Objects) - (IPA Protocol Commands): New nodes. - (Tracepoint Packets): Add anchors. - -2012-06-06 Thomas Schwinge - - * gdb.texinfo: Document the deprecation of SH's 'regs' command. - -2012-06-06 Yao Qi - - * gdb.texinfo: Update copyright year. - -2012-05-23 Stan Shebs - Kwok Cheung Yeung - - * gdb.texinfo (Miscellaneous GDB/MI Commands): Document -info-os. - -2012-05-20 Jan Kratochvil - - * gdb.texinfo (Separate Debug Files): New anchor debug-file-directory. - Mention also --with-separate-debug-dir. - (Auto-loading): Prepend $debugdir in the sample output. - (Auto-loading safe path): Likewise. Mention also $debugdir for the - auto-load safe-path variable. - (objfile-gdb.py file): Remove the extra debug-file-directory paragraph. - Mention also $debugdir for 'set auto-load scripts-directory'. - -2012-05-19 Eli Zaretskii - - * gdb.texinfo (Continuing and Stepping, Selection, Byte Order) - (MIPS Embedded, MIPS, MIPS Register packet Format) - (Target Descriptions, MIPS Features): Use @acronym{MIPS} where - appropriate. - -2012-05-18 Sandra Loosemore - Maciej W. Rozycki - - * gdb.texinfo (MIPS): Document "set mips compression" and "show - mips compression". - (MIPS Breakpoint Kinds): New subsubsection. - -2012-05-18 Eli Zaretskii - - * gdb.texinfo (Architecture-Specific Protocol Details): Define - nodes for subsections. Add @acronym mark-ups and adjust - formatting. - -2012-05-18 Jan Kratochvil - - Rename $ddir to $datadir. - * gdb.texinfo (Auto-loading, Auto-loading safe path) - (objfile-gdb.py file): Rename $ddir to $datadir. - -2012-05-18 Tom Tromey - - * gdb.texinfo (Print Settings): Document 'set print symbol'. - -2012-05-14 Stan Shebs - - * gdb.texinfo (Dynamic Printf): New subsection. - -2012-05-13 Siva Chandra Reddy - - * gdb.texinfo (Basic Python): Add description about the function - gdb.find_pc_line - -2012-05-12 Jan Kratochvil - Eli Zaretskii - - * gdb.texinfo (Separate Debug Files): Use plural form for global - debugging information directory. - -2012-05-11 Stan Shebs - Kwok Cheung Yeung - - * gdb.texinfo (Operating System Auxiliary Information): Document new - 'info os' subcommands. - -2012-05-11 Jan Kratochvil - - * gdb.texinfo (Auto-loading, Init File in the Current Directory) - (libthread_db.so.1 file, objfile-gdb.gdb file, objfile-gdb.py file) - (dotdebug_gdb_scripts section): Add reference - to 'Auto-loading safe path'. - -2012-05-11 Jan Kratochvil - - Implement multi-component --with-auto-load-dir. - * gdb.texinfo (Auto-loading): New references - for 'set auto-load scripts-directory' - and 'show auto-load scripts-directory'. - (Auto-loading safe path): Describe the new default. Move $ddir - substituation reference to 'objfile-gdb.py file'. - (objfile-gdb.py file): Describe script-name alias. Change real-name to - script-name. Describe new 'set auto-load scripts-directory' - and 'show auto-load scripts-directory'. - -2012-05-11 Jan Kratochvil - - Provide $ddir substitution for --with-auto-load-safe-path. - * gdb.texinfo (Auto-loading): Replace /usr/local by $ddir/auto-load. - (Auto-loading safe path): Likewise. Mention the default value, - $ddir substitution, --with-auto-load-safe-path and - --without-auto-load-safe-path. - * observer.texi (gdb_datadir_changed): New. - -2012-05-09 Jan Kratochvil - - * gdb.texinfo (Auto-loading): Wrap too long lines in @smallexample. - Twice. - - * gdb.texinfo (Separate Debug Files, Auto-loading safe path): Replace - directory separator by path separator. - -2012-05-06 Jan Kratochvil - - * gdb.texinfo (Auto-loading safe path): Make 'directories' - for 'set auto-load safe-path' optional. Mention if it is omitted. - Change disabling security protection condition to "/", twice. - -2012-05-03 Siva Chandra Reddy - - * gdb.texinfo (Symbol Tables In Python): Add documentation about - the new methods global_block and static_block on gdb.Symtab - objects. - -2012-05-02 Siva Chandra Reddy - - * gdb.texinfo (Blocks In Python): Add a note saying that future - improvements to GDB and its infrastructure can move symbols - across blocks within a symbol table. - -2012-04-29 Yao Qi - - * gdb.texinfo (Architectures): Remove menu entry `A29K'. - (A29K): Remove. - -2012-04-27 Sergio Durigan Junior - Tom Tromey - - * gdb.texinfo (Static Probe Points): New entry, explaining SystemTap - and generic static probe support on GDB. - -2012-04-25 Doug Evans - - * gdb.texinfo (Go): Fix thinko. - - * gdb.texinfo (Supported Languages): Add Go. - (Go): New node. - -2012-04-25 Yao Qi - - * gdbint.texinfo (Testsuite): New section `Board settings'. - -2012-04-23 Jan Kratochvil - - * gdb.texinfo (Auto-loading safe path): Remove trailing [@dots{}]. - Three times. - - * gdb.texinfo (Auto-loading safe path): Add trailing @dots{}. - Three times. - -2012-04-22 Jan Kratochvil - - * gdb.texinfo (Auto-loading safe path): Replace @itemize @bullet - by @table @asis. Fix formatting of one item. - -2012-04-18 Jan Kratochvil - - * gdb.texinfo (Auto-loading verbose mode): Fix smallexample typo. - -2012-04-17 Jan Kratochvil - - New option "set debug auto-load". - * gdb.texinfo (Auto-loading): New menu item for auto-load verbose mode. - (auto-load verbose mode): New node. - -2012-04-17 Jan Kratochvil - - New option "set auto-load safe-path". - * gdb.texinfo (Auto-loading): Extend the "show auto-load" - and "info auto-load" examples for safe-path. Put there also references - for "set auto-load safe-path" and "show auto-load safe-path". - New menu item for Auto-loading safe path. - (Auto-loading safe path): New node. - (Python Auto-loading): Update the expected output from "Missing" - to "No". - -2012-04-17 Jan Kratochvil - - auto-load: Implementation. - * gdb.texinfo (Mode Options): New anchor for -nx. - (Startup): New anchors for Option -init-eval-command, - Home Directory Init File - and Init File in the Current Directory during Startup. - Mention set auto-load local-gdbinit with a reference. - Change the sample code to "set auto-load python-scripts". - (Threads): New anchor set libthread-db-search-path. - Provide references to libthread_db.so.1 file. - (Controlling GDB): New menu item for Auto-loading. - (Auto-loading, Init File in the Current Directory) - (libthread_db.so.1 file, objfile-gdb.gdb file): New nodes. - (Python): Rename the menu item Auto-loading to Python Auto-loading. - (Writing a Pretty-Printer, Objfiles In Python): Update the renamed - reference. - (Auto-loading): Rename to ... - (Python Auto-loading): ... here. Change "set auto-load-scripts" to - "set auto-load python-scripts", new anchor for it. Change - "show auto-load-scripts" to "show auto-load python-scripts", new anchor - for it. Change "info auto-load-scripts" - to "info auto-load python-scripts", new anchor for it. Change "scripts" - to "Python scripts". - -2012-04-14 Anton Gorenkov - - PR mi/13393 - * gdb.texinfo (Print Settings): Extend the description for "set print - object". - (GDB/MI Variable Objects): Extend the description for -var-create and - -var-list-children. - -2012-04-11 Siva Chandra Reddy - - * gdb.texinfo (Examining Data): Document the 'explore' command. - -2012-03-28 Joel Brobecker - - * gdb.texinfo (GDB/MI Variable Objects): Document what happens - to the children of a varobj and its update range when -var-update - returns that the varobj's type changed. - -2012-03-27 Jan Kratochvil - - * gdb.texinfo (Auto-loading): Move @menu to the end of @node. - Create two new links fir 'objfile-gdb.py file' - and 'dotdebug_gdb_scripts section'. - -2012-03-27 Jan Kratochvil - - * gdb.texinfo (Auto-loading): Rename node reference - '.debug_gdb_scripts section' to 'dotdebug_gdb_scripts section'. - Twice. - (.debug_gdb_scripts section): Rename the node ... - (dotdebug_gdb_scripts section): ... here. - (Maintenance Commands): Also rename this node reference. - -2012-03-22 Siva Chandra Reddy - - * gdb.texinfo (Python API/Values From Inferior): Add description - about the new method Value.referenced_value. Add description on - how Value.dereference is different (and similar) to - Value.referenced_value. - -2012-03-19 Jan Kratochvil - - * gdb.texinfo (File Options): Describe --init-command=FILE, -ix and - --init-eval-command=COMMAND, -iex. - (Startup): Describe -iex and -ix. Simplify the example - for "set auto-load-scripts off". - -2012-03-16 Gary Benson - - PR breakpoints/10738 - * gdb.texinfo (Inline Functions): Remove the now-unnecessary @item - stating that GDB cannot set breakpoints on inlined functions. - (Mode Options): Document --use-deprecated-index-sections. - (Index Section Format): Document new index section version format. - -2012-03-15 Tom Tromey - - * gdb.texinfo (Debugging C Plus Plus): Document "info vtbl". - -2012-03-13 Doug Evans - - * gdb.texinfo (Help): Change apropos example to use "alias" instead - of "reload". - (Symbols): Delete docs for set/show symbol-reloading. - * gdbint.texinfo (Defining Other Architecture Features): Delete - SYMBOL_RELOADING_DEFAULT. - * refcard.tex: Delete reference to symbol-reloading. - -2012-03-07 Pedro Alves - - * gdb.texinfo (General Query Packets): Document new - QProgramSignals packet. - * gdb.texinfo (Remote configuration): Mention - "program-signals-packet". - -2012-03-05 Tristan Gingold - - * gdb.texinfo (General Query Packets): Document xfer:uib:read. - -2012-03-03 Yao Qi - - * gdb.texinfo (In-Process Agent): New node. - Document new commands. - (General Query Packets): Add packet `QAgent'. - -2012-03-01 Maciej W. Rozycki - - * gdb.texinfo (MIPS Features): Add org.gnu.gdb.mips.dsp. - -2012-03-01 Scott J. Goldman - - * gdb.texinfo (Commands In Python): Put example python macro in - COMMAND_USER category rather than COMMAND_OBSCURE. - Document gdb.COMMAND_USER. - (User-defined Commands): Update documentation to clarify - "set/show max-user-call-depth" and "show user" don't apply to python - commands. Update documentation to clarify "help user-defined" may - also include python commands defined as COMMAND_USER. - -2012-02-25 Jan Kratochvil - - * gdb.texinfo (Startup): Add option -ex description to the option -x - description. - -2012-02-24 Luis Machado - - * gdb.texinfo (Setting Breakpoints): Mention and explain the - condition-evaluation breakpoint parameter. - Mention condition-evaluation mode being shown in "info break". - (Break Conditions): Add description for target-side - conditional breakpoints. - (Remote Configuration): Mention conditional-breakpoints-packet. - (Packets): Add cond-expr parameter to Z0/Z1 packets and explain - cond-expr. - (General Query Packets): Mention new ConditionalBreakpoint feature. - -2012-02-22 Tom Tromey - - * gdb.texinfo (Blocks In Python): Clarify block iteration. - -2012-02-17 Tom Tromey - - PR python/10753: - * gdb.texinfo (objfile-gdb.py file): Fix location of auto-load - directory. - -2012-02-14 Stan Shebs - - * gdb.texinfo (Disabling Breakpoints): Document enable count. - -2012-02-13 Pedro Alves - - * gdb.texinfo (MIPS boards): Refer to mips-elf instead of - mips-idt-ecoff. - -2012-02-09 Yao Qi - - * gdb.texinfo (Symbols In Python): Add missing `@end defvar'. - -2012-02-07 Tom Tromey - - * gdb.texinfo (Symbols In Python): Document Symbol.needs_frame and - Symbol.value. - -2012-02-07 Tom Tromey - - * gdb.texinfo (Symbols In Python): Document Symbol.line. - -2012-01-27 Thomas Schwinge - - * gdb.textinfo (Packets): Move vCont paragraph to the correct place. - -2012-01-24 Tom Tromey - - * gdb.texinfo (Set Catchpoints): Document "catch load" and "catch - unload". - (Files): Mention new catch commands. - (GDB/MI Async Records): Likewise. - -2012-01-24 Gary Benson - - Delete #if 0'd out code. - * gdb.texinfo (Frame Info): Remove "info catch". - -2012-01-20 Ulrich Weigand - - * gdb.texinfo (Remote Configuration): Document - "set remote hostio-readlink-packet" command. - (General Query Packets): Document vFile:readlink packet. - -2012-01-16 Tom Tromey - - * gdb.texinfo (Specify Location): Document relative file name - handling. - -2012-01-16 Tom Tromey - - * gdb.texinfo (gdb.printing): Document FlagEnumerationPrinter. - -2012-01-13 Jan Kratochvil - Eli Zaretskii - - * gdbint.texinfo (Coding Standards): Require braces for two lines of - code. - -2012-01-11 Paul Hilfinger - - * gdb.texinfo (Variables): Document use of :: for non-static - variables. - -2012-01-05 Joel Brobecker - - * gdbint.texinfo (Start of New Year Procedure): Update - to replace use of copyright.sh by use of copyright.py. - -2012-01-02 Jan Kratochvil - - Remove the gdbtui binary. - * all-cfg.texi (GDBTUI): Remove. - * gdb.texinfo (Mode Options): Remove the GDBTUI reference. - (TUI): Remove GDBTUI pindex. Remove the GDBTUI reference. - * gdbint.texinfo (Testsuite): Replace `gdbtui' by `gdb -tui'. - -2011-12-23 Kevin Pouget - - Introduce gdb.FinishBreakpoint in Python. - * gdb.texinfo (Finish Breakpoints in Python): New subsection. - (Python API): Add menu entry for Finish Breakpoints. - -2011-12-19 Jan Kratochvil - - * gdbint.texinfo (Testsuite): Describe KFAIL and XFAIL in Writing - tests. - -2011-12-16 Doug Evans - - * gdb.texinfo (Server): Document -/stdio argument to gdbserver. - -2011-12-16 Phil Muldoon - - * gdb.texinfo (Python Commands): Remove "maint set/show print - stack". Add documentation for "set/show python print-stack". - -2011-12-14 Pedro Alves - - * gdb.texinfo (Implementing a Remote Stub): Explain that you - should transfer control to the stub in the startup code instead of - in main. Mention the need to get past the initial breakpoint. - -2011-12-06 Tom Tromey - - * gdb.texinfo (Set Breaks): Update for new behavior. - -2011-12-02 Jan Kratochvil - - * gdb.texinfo (Requirements, Remote Protocol): Reference also `Library - List Format for SVR4 Targets'. - (General Query Packets): New item qXfer:libraries-svr4:read. - (Library List Format for SVR4 Targets): New node. - -2011-12-01 Tom Tromey - - * gdb.texinfo (Writing a Pretty-Printer): Use append method, not - add. - -2011-11-22 Tom Tromey - - * gdb.texinfo (GDB/MI Async Records): Document new *stopped - reasons. - -2011-11-20 Stan Shebs - - * gdb.texinfo (Starting and Stopping Trace Experiments): Document - note-related options and variables. - (Tracepoint Packets): Document packet changes. - -2011-11-20 Sanjoy Das - - * gdb.texinfo (JIT Interface): Add documentation on writing and - usind JIT debug info readers. - (Custom Debug Info, Using JIT Debug Info Readers, Writing JIT - Debug Info Readers): New nodes. - -2011-11-18 Yao Qi - - * gdb.texinfo (Create and Delete Tracepoints): Mention pending - tracepoint. - -2011-11-15 Doug Evans - - * gdb.texinfo (Files): Document basenames-may-differ. - -2011-11-14 Doug Evans - - * gdb.texinfo (Shell Commands): Document "!". - -2011-11-14 Stan Shebs - Kwok Cheung Yeung - - * gdb.texinfo (Create and Delete Tracepoints): Describe what is - needed to get shorter fast tracepoints. - (Tracepoint Packets): Document new qTMinFTPILen packet. - -2011-11-14 Yao Qi - - * gdb.texinfo (Create and Delete Tracepoints): Describe changed - behavior of tracepoint. - (General Query Packets): New feature InstallInTrace. - (Remote Configuration): Document "set remote - install-in-trace-packet". - -2011-11-12 Matt Rice - - * gdb.texinfo (C Preprocessor Macros): Remove info definitions. - Add arguments to info macro. - -2011-11-10 Tom Tromey - - * gdb.texinfo (Compilation): Don't mention -gdwarf-2. Link to GCC - manual. - (Variables): Don't mention -gdwarf-2. Link to Compilation node. - (Macros): Add a footnote. - (C): Remove paragraph about compiler options. - (C Constants): Mention wide character and string constants. - (C Plus Plus Expressions): Update compiler option advice. Mention - using declarations. Mention ADL. Remove old HP compiler - information. - -2011-11-10 Tom Tromey - - PR c++/9257: - * gdb.texinfo (Print Settings): Add an extra note about the need - for a vtable. - -2011-11-08 Maciej W. Rozycki - - * gdb.texinfo (MIPS): Remove duplicate "auto" reference from - "set mips abi" documentation. - -2011-11-04 Doug Evans - - * gdb.texinfo (Maintenance Commands): Update docs of "maint time". - -2011-11-03 Tom Tromey - - * gdb.texinfo (Stopping): Add menu entry. - (Continuing and Stepping): Restore @node. Use @section, not - @subsection. - -2011-11-03 Maciej W. Rozycki - - * gdb.texinfo (Skipping Over Functions and Files): Remove node - designation. Fix "Specify Location" cross-reference. - -2011-11-02 Stan Shebs - - * gdb.texinfo (Tracepoint Action Lists): Document collect/s. - (General Query Packets): Describe tracenz feature. - * agentexpr.texi (Bytecode Descriptions): Describe tracenz. - -2011-10-28 Paul Koning - - * gdb.texinfo (gdb.types): Rename deepitems to deep_items. - -2011-10-27 Kevin Pouget - - * gdb.texinfo ((Frames In Python): Document - gdb.FRAME_UNWIND_FIRST_ERROR contant. - -2011-10-26 Paul Koning - - * gdb.texinfo (gdb.types): Document new deepitems function. - -2011-10-25 Paul Koning - - PR python/13327 - - * gdb.texinfo (Values From Inferior): Add is_lazy attribute, - fetch_lazy method. - -2011-10-20 Phil Muldoon - - PR python/12656 - - * gdb.texinfo (Blocks In Python): Document is_static, is_global, - global_block, static_block function. - -2011-10-19 Tom Tromey - - * gdb.texinfo (Commands In Python): Add missing "@"s. - -2011-10-13 Kevin Pouget - - PR python/13285 Document named constants for frame unwind stop reasons - * gdb.texinfo (Frames In Python): Document gdb.FRAME_UNWIND_* - constants. - -2011-10-12 Jan Kratochvil - - Fix compatibility with texinfo versions older than 4.12. - * Makefile.in (MAKEINFO): Set to @MAKEINFO@. - (MAKEINFOFLAGS, MAKEINFO_EXTRA_FLAGS, MAKEINFO_CMD): New. - (MAKEHTMLFLAGS): Use MAKEINFO_CMD. - (gdb.info, gdbint.info, stabs.info, annotate.info): Use MAKEINFO_CMD. - * gdb.texinfo (Tail Call Frames): Convert @arrow{} to @click, when possible. - Make the conversion conditional on HAVE_MAKEINFO_CLICK, using variables - CALLSEQ1A, CALLSEQ1B, CALLSEQ2A and CALLSEQ2B. - -2011-10-09 Doug Evans - - * gdb.texinfo (Extending GDB): Document alias command. - -2011-10-09 Jan Kratochvil - - Support @entry in input expressions. - * gdb.texinfo (Variables): Describe @entry names suffix. - (Print Settings): Add anchor for `set print entry-values'. - -2011-10-09 Jan Kratochvil - Eli Zaretskii - - Display @entry parameter values (without references). - * gdb.texinfo (Tail Call Frames): Add anchor. Add self tail call - example. - (Print Settings): New description of set print entry-values and show - print entry-values. - -2011-10-09 Jan Kratochvil - Eli Zaretskii - - Recognize virtual tail call frames. - * gdb.texinfo (Optimized Code): Add reference to Tail Call Frames. - (Tail Call Frames): New node. - (Frames In Python): Add gdb.TAILCALL_FRAME. - -2011-10-07 Doug Evans - - * gdb.texinfo (gdb.printing): Document new `replace' arg to - register_pretty_printer. - -2011-10-07 Phil Muldoon - - PR python/12930 - PR python/12802 - - * gdb.texinfo (Breakpoints In Python): Clarify behavior in the - stop method. - -2011-10-07 Ulrich Weigand - - * gdb.texinfo (Starting your Program): "set disable-randomization" - is no longer Linux-specific. - (Remote Configuration): Document "set remote - disable-randomization-packet". - (General Query Packets): Document "QDisableRandomization" packet - and add it to "qSupported" list. - -2011-10-07 Kevin Pouget - - Allow Python notification of new object-file loadings. - * gdb.texinfo (Events In Python): Document `gdb.NewObjFileEvent' - event type. - -2011-10-04 Kevin Pouget - - PR python/12691: Add the inferior to Python exited event - * gdb.texinfo (Events In Python): Describe exited inferior attribute. - -2011-10-03 Joel Brobecker - - * gdb.texinfo (GDB/MI Miscellaneous Commands): Minor - rephasing. - -2011-10-03 Joel Brobecker - - * gdb.texinfo (GDB/MI Ada Tasking Commands): New node. - (GDB/MI Miscellaneous Commands): Add `ada-task-info' - as possible feature returned by the `-list-features' - command. - -2011-09-28 Paul Koning - - * gdb.texinfo (gdb.Type): Document field access by dictionary - key syntax. - -2011-09-28 Yao Qi - - * gdb.texinfo (Files): Update options for `add-symbol-file'. - Add one space after option `-s'. Remove @r{} markup. - -2011-09-27 Stan Shebs - - * gdb.texinfo (Tracepoint Action Lists): Document $_ret. - -2011-09-16 Hui Zhu - - * gdb.texinfo (Tracepoint Restrictions): Change *$esp@300 - to *(unsigned char *)$esp@300. - -2011-09-15 Paul Koning - - * gdb.texinfo: Make style of Python functions and methods match - the syntax of Python. Also put class and module names explicitly - on function, member, and variable names, matching Python - documentation conventions. - -2011-09-15 Kevin Pouget - - PR Python/12692 Add gdb.selected_inferior() to Python interface. - * gdb.texinfo (Inferiors In Python): Describe new - gdb.selected_inferior() function. - -2011-09-15 Kevin Pouget - - Handle multiple breakpoint hits in Python interface: - * gdb.texinfo (Events In Python): New function documentation: - gdb.BreakpointEvent.breakpoints. Indicate that - gdb.BreakpointEvent.breakpoint is now deprecated. - -2011-09-04 Joel Brobecker - - * gdb.texinfo: Set EDITION to "Tenth" and change ISBN. - -2011-08-25 Andrew Oakley - - * gdb.texinfo (Types In Python): Document 'bitpos' for enums. - -2011-08-17 Phil Muldoon - - * gdb.texinfo (Prompt): Add set/show extended-prompt - documentation - (Basic Python): Add prompt_hook anchor. - (Python modules): Reword module text to reflect multiple modules. - (gdb.prompt): Document gdb.prompt module. - -2011-08-14 Yao Qi - - * gdb.texinfo (General Query Packets): Document qXfer:fdpic:read packet. - -2011-08-14 Yao Qi - - * gdb.texinfo (Standard Target Features): Document C6x features. - (TIC6x Features): New node. - -2011-08-12 Doug Evans - - * gdb.texinfo (Symbols In Python): Document symbol.type. - -2011-08-09 Phil Muldoon - - * gdb.texinfo (Python): Document command and function - auto-loading. - -2011-07-26 Jan Kratochvil - Eli Zaretskii - - * gdb.texinfo (whatis, ptype): Highlight their differences. Describe - typedefs unrolling. Extend the sample code by an inner typedef and - outer typedefs unrolling. - -2011-07-26 Paul Pluzhnikov - - * gdb.texinfo (Caching Remote Data): Document {set,show} dcache - size and line-size. - -2011-07-21 Matt Rice - - PR macros/12999 - * gdb.texinfo (Macros): Add info definitions and info macros commands. - Update text and cindex entries for info macro command. - -2011-07-21 Phil Muldoon - - * observer.texi (GDB Observers): Add before_prompt observer. - * gdb.texinfo (Basic Python): Add documentation for prompt - substitution. - -2011-07-11 Phil Muldoon - - PR python/12438 - * gdb.texinfo (Python Commands): Add deprecate note to maint - set/show python print-stack. Document set/show python - print-backtrace. - -2011-07-05 Thiago Jung Bauermann - - * gdb.texinfo: Fix typos. - -2011-07-01 Tom Tromey - - * gdb.texinfo (Debugging Output): Document set debug - check-physname. - -2011-06-29 Tom Tromey - - * gdb.texinfo (GDB/MI Miscellaneous Commands): Document - breakpoint-notifications feature. - -2011-06-29 Ulrich Weigand - - * gdb.texinfo (Target Description): Remove warning about - possibly unstable format. - -2011-06-03 Tom Tromey - - * gdb.texinfo (GDB/MI Async Records): Document 'exit-code' field. - (Events In Python): Note that exit_code is optional. - -2011-05-17 Pedro Alves - - * gdb.texinfo (Remote Protocol) : Mention vCont is - required for multi-threading support. - (Remote Protocol) : Mention that 'c', 's', 'C', 'S' and - Hc are deprecated for multi-threading debugging. Point readers at - the vCont packet. - -2011-05-15 Doug Evans - - * gdb.texinfo (Auto-loading): Document printing of missing scripts. - -2011-05-13 Doug Evans - - * gdb.texinfo (Threads): Document $sdir,$pdir. - (Server): Document $pdir exception. - - * gdb.texinfo (Auto-loading): Document "info auto-load-scripts". - - * gdb.texinfo (Threads): Clarify default value for - libthread-db-search-path. - - * gdb.texinfo (Completion): Update example. - (Debugging Output): Delete `set/show debug lin-lwp-async'. - -2011-05-12 Kwok Cheung Yeung - - * gdb.texinfo: Document change in the behaviour of the enable and - disable GDB commands when applied to tracepoints. - Document the EnableDisableTracepoints remote stub feature. - Document QTEnable and QTDisable in the list of tracepoint packets. - -2011-05-11 Jan Kratochvil - - * Makefile.in (GDB_DOC_SOURCE_INCLUDES): Rename inc-hist.texinfo to - hsuser.texi. - * gdb.texinfo : Rename inc-hist.texinfo inclusion and - comment to hsuser.texi. Change rluser.texi name in the comment. - -2011-05-10 Doug Evans - - * gdb.texinfo (Threads): If an empty path is provided for - libthread-db-search-path it is reset to its default value. - (Server): Ditto. - -2011-05-09 Doug Evans - - * gdb.texinfo (Requirements): Fix typo. Mention --with-iconv-bin. - -2011-05-06 Sergio Durigan Junior - Thiago Jung Bauermann - - Implement support for PowerPC BookE masked watchpoints. - * gdb.texinfo (Set Watchpoints): Document mask parameter. - (PowerPC Embedded): Mention support of masked watchpoints. - -2011-05-03 Joel Brobecker - - * gdb.texinfo (In Memoriam): Replace litteral uses of `GDB' with - `@value{GDBN}'. - -2011-05-03 Joel Brobecker - - * gdb.texinfo (titlepage): Remove dedication. - (In Memoriam): New appendix. - -2011-04-27 Jan Kratochvil - Eli Zaretskii - - * gdb.texinfo (Index Section Format): Change the version to 5. - Describe the different formula. - -2011-04-24 Jan Kratochvil - Eli Zaretskii - - * gdb.texinfo (Starting and Stopping Trace Experiments): New anchor - for disconnected tracing. - (Multi-Process Mode for @code{gdbserver}): Mention --multi and - extended-remote relationship. Mention --once. - (TCP port allocation lifecycle of @code{gdbserver}): New. - -2011-04-23 Eli Zaretskii - - * gdb.texinfo (Server): Improve indexing. Index all optional - switches to gdbserver. - -2011-04-20 Tom Tromey - - * gdb.texinfo (Index Section Format): New node. - (Top): Add new node to menu. - -2011-04-20 Pedro Alves - - * gdb.texinfo (Maintenance Commands): Document `maint print - remote-registers'. - -2011-04-20 Tom Tromey - - * gdb.texinfo (Trace File Format): Move node later. - -2011-04-19 Tom Tromey - - * gdbint.texinfo (Register Information Functions): Remove - duplicate "the". - * gdb.texinfo (Emacs): Remove duplicate "to". - (GDB/MI Variable Objects): Remove duplicate "the". - (General Query Packets): Likewise. - -2011-04-02 Joel Brobecker - - * gdb.texinfo (GDB/MI Output Records): Fix menu entry for - "GDB/MI Ada Exception Information" node. - -2011-04-01 Joel Brobecker - - * gdb.texinfo (GDB/MI Ada Exception Information): Document - the "exception-name" field in the *stopped async record. - -2011-03-31 Thiago Jung Bauermann - Sergio Durigan Junior - - Implement support for PowerPC BookE ranged breakpoints. - * gdb.texinfo (PowerPC Embedded): Document ranged breakpoints. - -2011-03-28 Tom Tromey - - * gdb.texinfo (Set Tracepoints): Fix typo. - -2011-03-24 Tom Tromey - - * gdb.texinfo (Specify Location): Document `function:label' - linespec. - -2011-03-18 Phil Muldoon - - PR python/12149 - - * gdb.texinfo (Basic Python): Update gdb.write and flush text. - -2011-03-17 Phil Muldoon - - * gdb.texinfo (Blocks In Python): Add is_valid method description. - (Inferiors In Python): Likewise. - (Threads In Python): Likewise. - (Symbols In Python): Likewise. - (Objfiles In Python): Likewise. - (Symbol Tables In Python): Likewise. - -2011-03-15 Pedro Alves - - * gdb.texinfo (Auto Display) : Explain that the commands accept number ranges. - -2011-03-14 Phil Muldoon - - * gdb.texinfo (Breakpoints In Python): Add description and example - of Python stop function operation. - -2011-03-10 Phil Muldoon - - * gdb.texinfo (Parameters In Python): Document get_set_string and - get_show_string methods. - -2011-02-28 Jan Kratochvil - - * gdb.texinfo (Tracepoint Conditions): Fix missing parenthesis. - - * gdb.texinfo (Starting and Stopping Trace Experiments): Fix - circular-trace-buffer name. - -2011-02-28 Joel Brobecker - - * gdb.texinfo (Inferiors and Programs): Fix small error introduced - in the previous change. - -2011-02-27 Michael Snyder - - * gdb.texinfo (Inferiors and Programs): Update commands to show - that they can accept multiple arguments. - -2011-02-24 Joel Brobecker - - Revert the following patch (code patch was not approved): - 2011-02-21 Hui Zhu - * agentexpr.texi (bytecode descriptions): add printf. - * gdb.texinfo (tracepoint action lists): add printf. - -2011-02-23 Doug Evans - - * gdb.texinfo (Symbols In Python): Fix mention of C++, use C@t{++}. - -2011-02-23 Michael Snyder - - * gdb.texinfo (Set Breaks): Add @dots{} to arguments of info break. - (Set Watchpoints): Add @dots{} to argument of info watchpoints. - (Listing Tracepoints): Add @dots{} to argument of info tracepoints. - -2011-02-22 Doug Evans - - * gdb.texinfo (Symbols In Python): Document lookup_global_symbol. - Clarify behaviour of lookup_symbol when `block' argument is omitted, - add description of result, fix @defun formatting. - -2011-02-21 Hui Zhu - - * agentexpr.texi (Bytecode Descriptions): Add printf. - * gdb.texinfo (Tracepoint Action Lists): Add printf. - -2011-02-18 Tom Tromey - - * agentexpr.texi (Bytecode Descriptions): Document pick and rot. - -2011-02-14 Michael Snyder - - * gdb.texinfo (threads): Document argument for "info threads" cmd. - Document new command "thread find". - -2011-02-14 Michael Snyder - - * gdb.texinfo (Threads): Update example of new thread message. - -2011-02-14 Pedro Alves - - * gdb.texinfo (Remote Configuration): Mention set/show remote - traceframe-info. - (Tools/Packages Optional for Building GDB): Mention that expat is - used for traceframe info. - (Remote Protocol) : Add "Traceframe Info Format". - (General Query Packets) : Describe the - qXfer:traceframe-info:read feature. - (qXfer::read): Describe qXfer:traceframe-info:read. - (Traceframe Info Format): New section. - -2011-02-04 Pedro Alves - - * gdbint.texinfo (Formatting): Mention some formatting guidelines - for casts and unary operators. - -2011-02-04 Tom Tromey - - * gdb.texinfo (GDB/MI Async Records): Document that symbols-loaded - is not useful. - -2011-01-25 Pedro Alves - - * gdb.texinfo: s/value optimized out/optimized out/g - -2011-01-21 Joel Brobecker - - * gdb.texinfo (Other Misc Settings): Rework part of the - documentation of the "set interactive mode" command. - -2011-01-19 Tom Tromey - - * gdb.texinfo (Threads): Document thread name output and `thread - name' command. - (Threads In Python): Document Thread.name attribute. - (GDB/MI Thread Commands): Document thread attributes. - -2011-01-12 Andrew Burgess - - * gdb.texinfo (GDB/MI Data Manipulation): Update to reflect - changes in mi/mi-cmd-disas.c - -2011-01-12 Tom Tromey - - * gdb.texinfo (Threads): Remove duplicate text. Update examples. - Fix "thread apply" text. - -2011-01-11 Sergio Durigan Junior - Thiago Jung Bauermann - - Implement support for PowerPC BookE ranged watchpoints. - * gdb.texinfo (PowerPC Embedded): Document ranged watchpoints and - the "set powerpc exact-watchpoints" flag. - -2011-01-07 Tom Tromey - - * gdb.texinfo (Python API): Add descriptions to @menu items. - -2011-01-06 Tom Tromey - - * gdb.texinfo (Frames In Python): Document gdb.newest_thread. - -2010-01-06 Paul Pluzhnikov - - * gdb.texinfo (Debugging Output): Document "set debug jit". - -2011-01-06 Tom Tromey - - PR python/12133: - * gdb.texinfo (Frames In Python): Document various frame - constants. - -2011-01-05 Joel Brobecker - - * doc/agentexpr.texi, doc/all-cfg.texi, doc/annotate.texinfo, - doc/gdb.texinfo, doc/gdbint.texinfo, doc/observer.texi, - doc/refcard.tex, doc/stabs.texinfo: Copyright year update. - -2011-01-03 Jan Kratochvil - - * Makefile.in (diststuff): Remove gdb-cfg.texi and GDBvn.texi. - (clean): Add GDBvn.texi. - -2010-12-29 Joel Brobecker - - * gdb.texinfo (Ada Glitches): Remove paragraph describing the - occasional case where the debugger prints an array address - instead of the array itself. - -2010-12-23 Pedro Alves - - * gdb.texinfo (Packets) : Document support - for registers that were not collected. - -2010-12-15 Doug Evans - - * gdb.texinfo (Startup): Document auto-loading of scripts during - startup. - (Auto-loading): Delete "maint set python auto-load on|off". - Add "set auto-load-scripts on|off". - -2010-12-07 Doug Evans - - * gdb.texinfo (Mode Options): Document -data-directory. - (Data Files): Add reference to -data-directory. - -2010-11-29 Doug Evans - - * gdb.texinfo (Pretty-Printer Introduction): Change - printer-name:subprinter-name to printer-name;subprinter-name. - -2010-11-29 Phil Muldoon - - PR python/12199 - - * gdb.texinfo (Breakpoints In Python): Document "delete" method. - -2010-11-23 Tom Tromey - - * gdb.texinfo (Top): Check SYSTEM_READLINE. - (Editing): Likewise. - (Command History): Likewise. - (TUI Keys): Likewise. - (Bug Reporting): Conditionally include rluser.texi and - inc-history.texinfo. - * Makefile.in (READLINE_TEXI_INCFLAG): New variable. - (GDB_DOC_SOURCE_INCLUDES): Add comment. - (GDBvn.texi): Set SYSTEM_READLINE when appropriate. - (gdb.dvi): Use READLINE_TEXI_INCFLAG. - (gdb.pdf): Likewise. - (gdb.info): Likewise. - (gdb/index.html): Likewise. - -2010-11-23 Tom Tromey - - * Makefile.in (Makefile): Run ../config.status. - (distclean): Update. - * configure: Remove. - * configure.ac: Remove. - -2010-11-12 Tom Tromey - - * gdb.texinfo (Basic Python): Update. Add xref. - (Exception Handling): Document new exception classes. - (Types In Python): Update. - (Frames In Python): Update. - -2010-11-11 Phil Muldoon - - * gdb.texinfo (Breakpoints In Python): Document "internal" - parameter, and visible attribute. - -2010-11-05 Doug Evans - - * gdb.texinfo (Source Path): Document "set directories". - -2010-11-05 Ken Werner - - * gdb.texinfo: (Summary) Add mention about OpenCL C language support. - (OpenCL C): New node. - -2010-11-02 Doug Evans - - * gdb.texinfo (Pretty Printing): Expand into three sections, - introduction, example, and commands. - (Python API): Delete section Disabling Pretty-Printers, merge into - Selecting Pretty-Printers. - (Writing a Pretty-Printer): New section. Move the pretty-printer - example here, and reformat to match python coding style. Add a second - example using the gdb.printing module. - (Python modules): Add gdb.printing. - -2010-10-29 Doug Evans - - * gdb.texinfo (Python): Fix long line. - -2010-10-20 Doug Evans - - * gdbint.texinfo (Misc Guidelines): Renamed from Coding. - All references updated. Correct sections marked as subsections. - (Coding Standards): New chapter. Move the coding standard related - subsections here. Add section on Python coding standards. - -2010-10-13 Doug Evans - - * gdb.texinfo (Python): Add "Python modules". - (Types in Python): Add reference to gdb.types section. - (Python modules): New node. - -2010-10-11 Doug Evans - - * gdb.texinfo (Values From Inferior): Add reference to "Types in - Python" from gdb.Value.type description. - -2010-09-28 Joel Brobecker - - * gdb.texinfo (Ravenscar Profile): New node. - -2010-09-22 Tom Tromey - - * gdb.texinfo (Values From Inferior): Mention Value.__init__. - -2010-09-22 Eli Zaretskii - - * gdb.texinfo (Values From Inferior): Clarify that - value.dynamic_type works only in C++ programs with RTTI. - -2010-09-15 Paul Bolle - - * gdb.texinfo (Character Sets): Correctly reference host-charset - in example. - -2010-09-13 Tom Tromey - - * gdb.texinfo (GDB/MI Stack Manipulation) <-stack-list-frames>: - Document "fullname" and "from". - -2010-09-01 Marc Khouzam - - * gdb.texinfo (GDB/MI Miscellaneous Commands): Document new - feature `reverse' output by -list-target-features. - -2010-08-31 H.J. Lu - - * gdb.texinfo (i386 Features): Remove an extra "@item". - -2010-08-30 Tom Tromey - - PR python/11792: - * gdb.texinfo (Values From Inferior): Document dynamic_type. - -2010-08-24 Daniel Jacobowitz - - * gdb.texinfo (ARM Features): Document - org.gnu.gdb.arm.m-profile. - -2010-08-23 Tom Tromey - - PR python/11145: - * gdb.texinfo (Values From Inferior): Document dynamic_cast and - reinterpret_cast methods. - -2010-08-23 Tom Tromey - - PR python/11915: - * gdb.texinfo (Types In Python): Document array method. - -2010-08-18 Thiago Jung Bauermann - - * gdb.texinfo (PowerPC Embedded): Mention support for the DVC register. - -2010-08-16 Tom Tromey - - * gdb.texinfo (Set Watchpoints): Document -location option. - -2010-08-13 Doug Evans - - * gdb.texinfo (.debug_gdb_scripts section): Fix typo. - -2010-08-13 Vladimir Prus - - * gdb.texinfo (GDB/MI Data Manipulation): Document - -data-read-memory-raw and -data-write-memory-raw. - -2010-08-11 Tom Tromey - Phil Muldoon - - * gdb.texinfo (Basic Python): Describe post_event API. - -2010-08-11 Phil Muldoon - - * gdb.texinfo (Basic Python): Describe solib_address and - decode_line Python APIs - -2010-08-10 Tom Tromey - - * gdb.texinfo (Pretty Printing API): Document - gdb.default_visualizer. - -2010-08-10 Tom Tromey - - Revert gdb-add-index addition: - * gdb.texinfo (Index Files): Don't document gdb-add-index. - -2010-08-07 Jan Kratochvil - Eli Zaretskii - - * gdb.texinfo (Mode Options) <-batch> - (Basic Python) : Describe setting width and height. - -2010-07-31 Paul Pluzhnikov - - * gdb.texinfo (Threads): Document 'debug libthread-db'. - -2010-07-30 Tom Tromey - - * gdb.texinfo (Index Files): Mention gdb-add-index. - -2010-07-30 Hui Zhu - - * gdb.texinfo (Inferiors and Programs): Update the introduce of - "detach inferior" and "kill inferior". - -2010-07-28 CHENG Renquan - - * gdb.texinfo (Machine Code): Update description of two forms of - arguments, and add new example to demonstrate the new form. - -2010-07-27 Phil Muldoon - - * gdb.texinfo (Values From Inferior): Add value inferior function - call description. - -2010-07-19 Jan Kratochvil - - * gdb.texinfo (Active Targets): Fix wrong comma placement. - -2010-07-19 Jan Kratochvil - Eli Zaretskii - - Make core files the process_stratum. - * gdb.texinfo (Active Targets): Remove core_stratum. Include - record_stratum example. - -2010-07-13 Tom Tromey - - * gdb.texinfo (Index Files): New node. - -2010-07-13 Tom Tromey - - * gdb.texinfo (GDB/MI Variable Objects): Remove extra 'for'. - -2010-07-13 Tom Tromey - - * gdb.texinfo (Specify Location): Document labels. - -2010-07-01 Pedro Alves - - * gdb.texinfo (Create and Delete Tracepoints): Add more index - entries for fast tracepoints and static tracepoints. - -2010-07-01 Pedro Alves - - * gdb.texinfo (General Query Packets) : Spell out `l' as ell. - -2010-07-01 Pedro Alves - - * gdb.texinfo (Convenience Variables): Document $_sdata. - (Commands to Set Tracepoints): Describe static tracepoints. Add - `Listing Static Tracepoint Markers' menu entry. Document - "strace". - (Tracepoint Action Lists): Document collecting $_sdata. - (Listing Static Tracepoint Markers): New subsection. - (Tracepoints support in gdbserver): Mention static tracepoints. - (remote packets, enabling and disabling): Mention - read-sdata-object. - (General Query Packets) : Document qXfer:sdata:read - and StaticTracepoint. - Mention qTfSTM, qTsSTM and qTSTMat as tracepoint packets. - Document qXfer:sdata:read. - (Tracepoint packets): Document qTfSTM, qTsSTM and qTSTMat. - -2010-06-29 Joel Brobecker - - * gdb.texinfo (Threads In Python): Fix unmatched @end table. - -2010-06-28 Phil Muldoon - Tom Tromey - Thiago Jung Bauermann - - * gdb.texinfo (Inferiors In Python): New node. - * gdb.texinfo (Threads In Python): New node. - -2010-06-28 Joel Brobecker - - * gdb.texinfo (Python): Document what the python directory is - and what its location is. - (Basic Python): Document the gdb.PYTHONDIR constant. - -2010-06-25 Tom Tromey - - PR python/10808: - * gdb.texinfo (Basic Python): Document new gdb.execute argument. - -2010-06-24 Hui Zhu - - * gdb.texinfo: (Commands for Controlled Output): Add - documentation for command "eval". - -2010-06-21 Stan Shebs - - * gdb.texinfo: Add explicit @node and @appendix for GFDL. - * annotate.texinfo: Ditto. - * gdbint.texinfo: Ditto. - * stabs.texinfo: Ditto. - -2010-06-22 Hui Zhu - - * gdb.texinfo: (Process Record and Replay): Add documentation - for command "set record memory-query". - -2010-06-21 Stan Shebs - - * gdb.texinfo: Relicense under GFDL version 1.3. - * annotate.texinfo: Relicense under GFDL version 1.3. - * gdbint.texinfo: Relicense under GFDL version 1.3. - * stabs.texinfo: Relicense under GFDL version 1.3. - * fdl.texi: Update to version 1.3. - -2010-06-18 Stan Shebs - - * gdb.texinfo (Operating System Auxiliary Information): Describe - "info os" when no arguments given. - - * gdb.texinfo (Debugging Programs with Multiple Threads): Describe - $_thread. - -2010-06-18 Hui Zhu - - * gdb.texinfo: (Process Record and Replay): Add documentation - for commands "record save" and "record restore". - -2010-06-16 Jan Kratochvil - - * gdb.texinfo: Include information about the correct use - of addresses in the `watch' command. - -2010-06-11 Stan Shebs - - * gdb.texinfo (Observer Mode): New section. - (General Query Packets): Document QAllow. - -2010-06-04 Doug Evans - - * gdb.texinfo (Python API): New node `Disabling Pretty-Printers'. - -2010-06-03 Doug Evans - - * gdbint.texinfo (Coding): Add subsection on command names. - -2010-06-02 Tom Tromey - - * gdb.texinfo (Maintenance Commands): Document maint set dwarf2 - always-disassemble. - -2010-06-01 Pedro Alves - - * gdb.texinfo (Set Tracepoints): Mention tracepoints support in - gdbserver, and add cross reference. - (Tracepoints support in gdbserver): New subsection. - -2010-05-26 Pedro Alves - - * gdb.texinfo (General Query Packets) : Describe the - `qRelocInsn' feature. - (Relocate instruction reply packet): New subsection - of `Tracepoint Packets'. - (Tracepoint Packets): Mention that packets QTDP and QTStart - support the qRelocInsn request, and add cross reference to new - subsection. - -2010-05-25 Doug Evans - - * gdb.texinfo (Exception Handling): Document gdb.GdbError. - (Commands In Python): Document gdb.string_to_argv. - -2010-05-02 Jan Kratochvil - - * gdbint.texinfo (Host Definition): Remove items NORETURN and - ATTR_NORETURN. - -2010-04-29 Phil Muldoon - Tom Tromey - Thiago Jung Bauermann - - * gdb.texinfo (Parameters In Python): New Node. - -2010-04-29 Mihail Zenkov - - * gdb.texinfo: (Summary) Add mention about D language support. - (Filenames): Add D suffixes. - (D): New node. - -2010-04-26 Pierre Muller - - * gdbint.texinfo (CANNOT_STEP_HW_WATCHPOINTS): Remove explanation - of macro deleted from GDB code. - -2010-04-24 Pedro Alves - - * gdb.texinfo (Commands to specify files): Describe what how GDB - looks up DOS-based filesystem paths on the system root. Document - the new `set/show target-file-system-kind' commands. - -2010-04-23 Doug Evans - - * gdb.texinfo (Python): Move Auto-loading section here ... - (Python API): from here. - (Auto-loading): Add docs for .debug_gdb_scripts auto-loaded scripts. - (Maintenance Commands): Add docs for "maint print section-scripts". - -2010-04-20 Chris Moller - - * gdb.texinfo (Setting Breakpoints): Added description of - filename-qualified rbreak. - * refcard.tex (Breakpoints and Watchpoints): Added brief - description of filename-qualified rbreak. - -2010-04-22 Jan Kratochvil - - * gdb.texinfo (Data): New @menu reference to Pretty Printing. - (Python API): Change the reference to Pretty Printing API. - (Pretty Printing): Move the user part under the Data node. Reformat - the sample output to 72 columns. Create a new reference to Pretty - Printing API. Rename the API part ... - (Pretty Printing API): To a new node name. - (Selecting Pretty-Printers, Progspaces In Python, Objfiles In Python) - (GDB/MI Variable Objects): Change references to Pretty Printing API. - -2010-04-21 Stan Shebs - - * gdb.texinfo (Tracepoint Actions): Mention synonymy of actions - and commands. - (Listing Tracepoints): Update to reflect current behavior. - -2010-04-22 Pierre Muller - - * gdb.texinfo (Examining memory): Update for change in string - display with explicit size. - -2010-04-19 Pedro Alves - - PR breakpoints/8554. - - * gdb.texinfo (Save Breakpoints): New node. - (save-tracepoints): Rename to ... - (save tracepoints): ... this. Mention that `save-tracepoints' is - a deprecated alias to `save tracepoints'. - -2010-04-16 Pierre Muller - - * gdb.texinfo ($_tlb): Document new automatic convinience variable. - (info w32 thread-information-block): Document new command. - (qGetTIBAddress): Document new gdbserver query. - (maint set/show show-all-tib): Document new command. - -2010-04-15 Doug Evans - - * gdb.texinfo (Python API): Add progspaces section. - (Selecting Pretty-Printers): Progspace pretty-printers are - searched too. - (Progspaces In Python): New section. - - * gdb.texinfo (Command Files): Add docs for new "source -s" option. - -2010-04-14 Phil Muldoon - - * gdb.texinfo (Pretty Printing): Document behaviour when to_string - returns None. - -2010-04-09 Stan Shebs - - * gdb.texinfo (gdb/mi Tracepoint Commands) <-trace-status>: - Describe the `frames-created' field, tweak grammar. - -2010-04-09 Pedro Alves - - * gdb.texinfo (gdb/mi Tracepoint Commands) <-trace-status>: - Describe the `circular' and `disconnected' fields. - -2010-04-09 H.J. Lu - - * gdb.texinfo (maint print registers): Mention unavailable and - invisible registers. - -2010-04-09 Phil Muldoon - Thiago Jung Bauermann - Tom Tromey - - * gdb.texinfo (Breakpoints In Python): New Node. - -2010-04-08 Stan Shebs - - * gdb.texinfo (Tracepoint Packets): Describe disconn and circular - trace status fields. - -2010-04-08 H.J. Lu - - * gdb.texinfo (i386 Features): Make org.gnu.gdb.i386.avx - optional. Make org.gnu.gdb.i386.avx requires - org.gnu.gdb.i386.avx. - -2010-04-08 Doug Evans - - * gdb.texinfo (Command Files): Document that gdb skips $cdir in - search path, and document that gdb only scans the search path if - the script's path doesn't specify a directory. - -2010-04-05 Doug Evans - - * gdb.texinfo (maint show python auto-load): Fix typo. - -2010-04-04 Stan Shebs - - * gdb.texinfo (Setting Breakpoints): "info watch" no longer a synonym. - (Setting Watchpoints): Update description of "info watch". - (Disabling Breakpoints): Only "info break" lists all. - - * gdb.texinfo (Tracepoint Restrictions): Document PC inference. - (tdump): Explain how tdump works. - -2010-04-01 Pedro Alves - - * gdb.texinfo (Break Commands): Clarify `commands' changes, and - add cross reference. - -2010-03-31 Pedro Alves - - * gdb.texinfo (TUI Commands): Mention that in some cases, these - commands error out. - -2010-03-30 H.J. Lu - - * gdb.texinfo (i386 Features): Add org.gnu.gdb.i386.avx. - -2010-03-30 H.J. Lu - - * gdb.texinfo (General Query Packets): Add xmlRegisters. - -2010-03-29 Stan Shebs - Nathan Sidwell - - * gdb.texinfo (GDB/MI Tracepoint Commands): Add notes about the - GDBN equivalent. - (Set Tracepoints): Remove mention that conditional tracepoints - don't exist. - (Tracepoint Actions): Clarify when while-stepping collection - happens, note that while-stepping does not automatically collect - $pc. - -2010-03-29 Stan Shebs - - * gdb.texinfo (Tracepoint Packets): Describe QTDPsrc. - (General Query Packets): Describe TracepointSource. - -2010-03-27 Matt Rice - - * gdb.texinfo (ARM): Document arguments to "target sim". - (Set Catchpoints): Use @dots{} instead of @r{...}. - -2010-03-26 Pedro Alves - - * gdb.texinfo (Tracepoint Packets): Remove mention that - terror:string may be plain text, and drop mention of X prefix. - -2010-03-26 Vladimir Prus - - * gdb.texinfo (GDB/MI Tracepoint Commands): Add comma after @xref. - -2010-03-24 Stan Shebs - - * gdb.texinfo (Tracepoint Packets): Document trace error status. - -2010-03-24 Tom Tromey - - PR breakpoints/9352: - * gdb.texinfo (Break Commands): Update. - -2010-03-24 Vladimir Prus - - * gdb.texinfo (GDB/MI Tracepoint Commands): Document MI tracepoint - commands. - -2010-03-16 Stan Shebs - - * gdb.texinfo (Starting and Stopping Trace Experiments): Describe - circular-trace-buffer. - (Tracepoint Packets): Describe QTBuffer, and details of the - qTStatus reply. - -2010-03-12 Stan Shebs - Nathan Sidwell - - * gdb.texinfo (Tracepoint Actions): Clarify that while-stepping is - doing instruction stepping. - (Tracepoint Restrictions): New node. - -2010-03-10 Tom Tromey - - * gdbint.texinfo (Symbol Handling): Update. - -2010-03-08 Tom Tromey - - PR cli/9591: - * gdb.texinfo (Mode Options): Mention lack of pagination and - confirmation with --batch. - (Screen Size): Mention --batch. - (Messages/Warnings): Likewise. - -2010-03-05 Tom Tromey - - * gdb.texinfo (Basic Python): Document target_charset and - target_wide_charset. - -2010-03-05 Tom Tromey - - * gdb.texinfo (Data): Link to pretty-printing. - (Output Formats): Likewise. Correct text. - -2010-03-01 Daniel Jacobowitz - - * gdb.texinfo (Types): Describe and . - -2010-02-28 Phil Muldoon - - * gdb.texinfo (Frames In Python): Add block parameter and - description to read_var text. - -2010-02-26 Phil Muldoon - Tom Tromey - - * gdb.texinfo (Types In Python): Describe block argument in - template_argument and gdb.lookup_type. - -2010-02-24 Tom Tromey - - * gdb.texinfo (Cygwin Native): Fix typo. - -2010-02-24 Phil Muldoon - - * gdb.texinfo (Frames In Python): Add block, find_sal, function - and select method descriptions. - (Python API): Add Blocks In Python, Symbols in Python and Symbol - Tables in Python to menu. - (Blocks In Python): New node. - (Symbols In Python): New node. - (Symbol Tables in Python): New node. - -2010-02-24 Vladimir Prus - - Multiexec MI - - gdb/ - * breakpoint.c (clear_syscall_counts): Take struct inferior*. - - gdb/doc/ - * gdb.texinfo (GDB/MI Command Syntax): Document notification - changes. - (GDB/MI Program Execution): Document current behaviour of - --all and --thread-group. - (GDB/MI Miscellaneous Commands): Document -add-inferior and - -remove-inferior. - * observer.texi (inferior_added, inferior_removed): New - observers. - -2010-02-19 Tom Tromey - - * gdbint.texinfo (Getting Started): Fix @node. - (Debugging GDB): Likewise. - -2010-02-13 Joel Brobecker - - * gdbint.texinfo (Testsuite): New section "Testsuite Configuration", - documenting the gdb_test_timeout variable. - -2010-02-12 Jakob Engblom - - * gdb.texinfo (MI commands): Added documentation of --reverse - option to a set of MI commands. Restructured documentation of MI - commands --exec-continue to reflect the complexity of reverse - execution. - -2010-02-12 Pedro Alves - - * gdb.texinfo (Using the Collected Data): Specify that the address - range of `tfind outsize' is exclusive, and that the address range - of `tfind range' is inclusive. - (Tracepoint Packets): Specify that the address range of - `QTFrame:range' is inclusive, and that the address range of - `QTFrame:outside' is exclusive - -2010-02-12 Vladimir Prus - - * gdb.texinfo (GDB/MI Result Records): Clarify ^running. - -2010-02-10 Tom Tromey - - * gdb.texinfo (Debugging Output): Document set debug parser and - show debug parser. - -2010-02-09 H.J. Lu - - * gdb.texinfo (Predefined Target Types): Add i387_ext, - i386_eflags and i386_mxcsr. - -2010-02-08 H.J. Lu - - * gdb.texinfo: Document i386 target features. - -2010-02-05 Doug Evans - - * gdbint.texinfo (Testsuite): Add a new section to document the - various DejaGnu variables that may be overridden. - Document INTERNAL_GDBFLAGS. - -2010-02-04 Tom Tromey - - PR cli/8830: - * gdb.texinfo (Files): -readnow comes before the filename for file - and symbol-file. - -2010-02-01 Daniel Jacobowitz - - * gdb.texinfo (Architecture-Specific Protocol Details): New section. - Document ARM breakpoint types. - (Register Packet Format): Move into the new section. - (Packets): Describe the KIND argument for Z0, z0, Z1, and z1 packets. - -2010-01-21 Joel Brobecker - - * gdb.texinfo (File Options): Adjust the documentation of this - switch to refer to the "source" command rather than partially - duplicating some of the relevant information. - (Extending GDB): Introduce and document the set/show script-extension - setting. - (Command Files): Add note explaining that the "source" command - is also used to evalute scripts written in other languages. - Remove the short slightly incorrect reference to sourcing Python - scripts. - (Python Commands): Document how to execute a Python script from GDB. - -2010-01-19 Joel Brobecker - - * gdb.texinfo (Command Files): Fix typo. - -2010-01-18 Tom Tromey - - * gdb.texinfo (File Options): Document -x on .py files. - (Command Files): Document handling of Python scripts. - -2010-01-18 Jie Zhang - - * Makefile.in (ANNOTATE_DOC_BUILD_INCLUDES): Add GDBvn.texi. - -2010-01-15 Stan Shebs - - * gdb.texinfo (Trace Files): New section. - (Tracepoint Packets): Document QTSave and qTBuffer. - (Trace File Format): New appendix. - -2010-01-13 Phil Muldoon - - * gdb.texinfo (Values From Inferior): Document lazy_string value - method. - (Python API): Add Lazy strings menu item. - (Lazy Strings In Python): New node. - -2010-01-13 Vladimir Prus - - * gdb.texinfo (GDB/MI Thread Information): New. - (GDB/MI Async Records): Document the core field in *stopped. - (GDB/MI Miscellaneous Commands): Expand -list-thread-groups - documentation - (Process list): Document that osdata document may contain - threads. - (Remote Serial Protocol): Document qXfer:threads. - -2010-01-06 Stan Shebs - - * gdb.texinfo (Starting and Stopping Trace Experiments): Document - disconnected tracing. - (Tracepoint Packets): Document new protocol. - -2010-01-05 Stan Shebs - - * gdb.texinfo (Create and Delete Tracepoints): Describe fast - tracepoints. - (Tracepoint Packets): Describe remote protocol for fast - tracepoints. - -2010-01-01 Joel Brobecker - - Update the "Start of New Year Procedure". - * gdbint.texinfo: Add the list of files that need to be updated - manually. Minor reformatting. - -2010-01-01 Joel Brobecker - - * refcard.tex: Update copyright year in header and text. - -2010-01-01 Joel Brobecker - - * agentexpr.texi: Add 2010 to the list of copyright years. - * annotate.texinfo: Likewise. - * gdb.texinfo: Likewise. - * gdbint.texinfo: Likewise. - * observer.texi: Likewise. - * stabs.texinfo: Likewise. - -2009-12-31 Stan Shebs - - * gdb.texinfo (Tracepoint Actions): Describe teval. - -2009-12-29 Stan Shebs - - * gdb.texinfo (Tracepoint Actions): Describe default-collect. - -2009-12-28 Stan Shebs - - * gdb.texinfo (Trace State Variables): New section. - (Tracepoint Packets): Describe trace state variable packets. - * agentexpr.texi (Bytecode Descriptions): Describe trace state - variable bytecodes. - -2009-12-28 Daniel Jacobowitz - - * gdb.texinfo (Symbols): "info variables" prints definitions, not - declarations. - -2009-12-21 Vladimir Prus - - * gdb.texinfo (GDB/MI Miscellaneous Commands): Clarify that - -gdb-exit behaviour. - -2009-12-20 Joel Brobecker - - * gpl.texi: Update to version 3 of the GPL. - -2009-12-20 Joel Brobecker - - * Makefile.in: Update copyright header. - * observer.texi: Fix the copyright header of the generated files. - -2009-12-08 Phil Muldoon - - * gdb.texinfo (Types In Python): Describe range function. - -2009-12-03 Richard Ward - - * gdb.texinfo (Types In Python): Describe "is_base_class". - -2009-12-03 Tom Tromey - - * gdb.texinfo (Basic Python): Document gdb.parse_and_eval. - -2009-12-02 Paul Pluzhnikov - - * observer.texi: New memory_changed observer. - -2009-12-01 Tom Tromey - - * gdb.texinfo (Reverse Execution): Fix typo. - -2009-11-24 Daniel Jacobowitz - - PR gdb/8704 - - * gdb.texinfo (Thread-Specific Breakpoints): Thread specifiers - are allowed after the breakpoint condition. - -2009-11-23 Tom Tromey - - PR python/10782: - * gdb.texinfo (Types In Python): Document Type.pointer. - -2009-11-23 Paul Pluzhnikov - - * gdb.texinfo (Machine Code): Adjust. - -2009-11-11 Pedro Alves - - * agentexpr.texi (Tracing On Symmetrix): Delete section. - (Using Agent Expressions): Delete cross reference. - -2009-11-07 Joel Brobecker - - * gdbint.texinfo, stabs.texinfo: Move the @setchapternewpage - and @settitle directives up to help makeinfo find them. - -2009-11-02 Jan Kratochvil - - * gdb.texinfo (set debug-file-directory, show debug-file-directory) - (Auto-loading): Use plural and note one can use multiple components now. - -2009-11-01 Vladimir Prus - - * gdb.texinfo (GDB/MI Stack Manipulation): Make - -stack-list-arguments have the same documentation for parameter - as -stack-list-locals. Add comas. - -2009-10-27 Tom Tromey - Eli Zaretskii - - PR python/10781 - - * gdb.texinfo (Values From Inferior): Document cast method. - -2009-10-22 Paul Pluzhnikov - - * gdb.texinfo (Machine Code): Mention function name in disasssembly - and adjust example. - -2009-10-22 Michael Snyder - - * gdb.texinfo (Process Record and Replay): Document new form of - info record command. Also document the new save and restore - commands. - -2009-10-21 Paul Pluzhnikov - - * gdb.texinfo (Machine Code): Mention current pc marker. - (Memory): Likewise. - -2009-10-19 Pedro Alves - Stan Shebs - - * observer.texi (new_inferior): Rename to... - (inferior_appeared): ... this. - - * gdb.texinfo (Inferiors): Rename node to ... - (Inferiors and Programs): ... this. Mention running multiple - programs in the same debug session. - : Mention the new 'Executable' column if "info - inferiors". Update examples. Document the "add-inferior", - "clone-inferior", "remove-inferior" and "maint info - program-spaces" commands. - (Process): Rename node to... - (Forks): ... this. Document "set|show follow-exec-mode". - -2009-10-11 Michael Snyder - - * gdb.texinfo (ReverseStep): Show default as "unsupported". - (ReverseContinue): Ditto. - -2009-10-08 Paul Pluzhnikov - - * gdb.texinfo (Server): Document libthread-db-search-path. - -2009-10-08 Jan Kratochvil - - * gdbint.texinfo (i386_stopped_by_hwbp): Remove. - -2009-10-06 Michael Eager - - * gdb.texinfo (Contributors): Add self for Xilinx MicroBlaze. - (Embedded Processors): Add MicroBlaze. - (MicroBlaze): New. Describe Xilinx MicroBlaze - -2009-10-04 Pedro Alves - - * gdb.texinfo (Remote Protocol): Don't mention vCont;T. - -2009-09-26 Pierre Muller - - * gdb.texinfo (Cygwin Native): Mention support for Ctrl-BREAK. - -2009-09-23 Joel Brobecker - - * observer.texi (solib_unloaded): Document explicitly the fact that - this observer is called before the associated symbols are unloaded. - -2009-09-21 Jie Zhang - - * gdb.texinfo: Escape "{" and "}". - -2009-09-19 Vladimir Prus - - * gdb.texinfo (GDB/MI Stack Manipulation): Document - -stack-list-variables. - -2009-09-18 Tom Tromey - - * gdb.texinfo (GDB/MI Variable Objects): -enable-pretty-printing - is experimental. - -2009-09-17 Paul Pluzhnikov - - * gdb.texinfo (convenince variables): Mention - $_siginfo could be empty. - -2009-09-15 Tom Tromey - - * gdb.texinfo (GDB/MI Variable Objects): Document - -enable-pretty-printing, -var-set-update-range, dynamic varobjs. - Expand -var-update documentation. - -2009-09-14 Sergio Durigan Junior - - * gdb.texinfo (Set Catchpoints): Documentation about the catch syscall - feature. - -2009-09-13 Daniel Jacobowitz - - * gdbint.texinfo (Unwinding the Frame ID): Reference outer_frame_id. - -2009-09-10 Michael Snyder - - * gdb.texinfo (qSupported): Mention new ReverseContinue and - ReverseStep replies to the qSupported query. - -2009-09-10 Joel Brobecker - - Add documentation for set/show interactive-mode. - * gdb.texinfo (Other Misc Settings): New node. - -2009-09-01 Doug Evans - - * gdb.texinfo (Caching Data of Remote Targets): Add note on - non-stop mode's affect on remote caching. - -2009-08-31 Jacob Potter - Doug Evans - - * gdb.texinfo (Caching Data of Remote Targets): Update text. - Mark `set/show remotecache' options as obsolete. - Document new `set/show stack-cache' option. - Update text for `info dcache'. - -2009-08-27 Doug Evans - - * gdb.texinfo (Symbols): Delete `set print symbol-loading'. - (Files): Add note on new optional regex arg to `info sharedlibrary'. - -2009-08-26 Ralf Wildenhues - - * gdbint.texinfo (Releasing GDB): Fix confusing sentence - about autoconf. - -2009-08-25 Pedro Alves - - * gdb.texinfo (Debugging Multiple Inferiors): Add "info inferiors" - small example, and describe its columns. Replace "inferior-id" by - "infno" throughout. - -2009-08-22 Ralf Wildenhues - - * gdbint.texinfo (Releasing GDB): Point to - README-maintainer-mode file for required autoconf version. - * configure.ac: Do not substitute datarootdir, htmldir, - pdfdir, docdir. Do not process --with-datarootdir, - --with-htmldir, --with-pdfdir, --with-docdir. - * configure: Regenerate. - - * configure: Regenerate. - -2009-08-20 Reid Kleckner - - * gdb.texinfo: Add chapter on JIT interface. - -2009-08-07 Nick Roberts - - * gdb.texinfo (Server Prefix): Explain that server prefix suppresses - confirmation request. - -2009-08-05 Jeremy Bennett - - * gdb.texinfo (Separate Debug Files, Remote Protocol): Clarified - CRC definitions. - -2009-08-03 Vladimir Prus - - * gdb.texinfo (GDB/MI Breakpoint Commands): Document - -break-commands. - -2009-07-31 Ulrich Weigand - - * gdb.texinfo (Cell Broadband Engine SPU architecture): Document the - "set spu auto-flush-cache" and "show spu auto-flush-cache" commands. - -2009-07-31 Ulrich Weigand - - * gdb.texinfo (Cell Broadband Engine SPU architecture): Document the - "set spu stop-on-load" and "show spu stop-on-load" commands. - -2009-07-31 Ulrich Weigand - - * gdb.texinfo (Target Descriptions): Document element. - -2009-07-28 Daniel Jacobowitz - - * gdb.texinfo (ARM Features): Document org.gnu.gdb.arm.vfp and - org.gnu.gdb.arm.neon. - -2009-07-20 Pedro Alves - - * gdb.texinfo (Target Description Format): Mention the new - optional element. - (subsection OS ABI): New subsection. - -2009-07-14 Stan Shebs - - * gdb.texinfo (Tracepoint Conditions): New section. - (General Query Packets): Describe ConditionalTracepoints. - (Tracepoint Packets): Describe condition field. - (Maintenance Commands): Describe maint agent-eval. - * agentexpr.texi (Using Agent Expressions): Mention eval usage. - -2009-07-11 Hui Zhu - - * gdb.texinfo (disassemble): Add a new modifier /r - to "disassemble" command to make it print the raw instructions - in hex as well as in symbolic form. - -2009-07-09 Tom Tromey - - * gdbint.texinfo (Testsuite): Document parallel make check. - -2009-07-09 Tom Tromey - - * gdbint.texinfo (Testsuite): Document test transcripts. - -2009-07-10 Phil Muldoon - - * gdb.texinfo (Values From Inferior): Add length parameter - description. - -2009-07-04 Chris Genly - - * gdb.texinfo (GDB/MI Variable Objects): Document child definition - in -var-list-children. Fix example according to what the code - does. - -2009-07-02 Pedro Alves - - * gdb.texinfo (Debugging multiple inferiors): Document the - "inferior", "detach inferior" and "kill inferior" commands. - (Debugging Programs with Multiple Processes): Adjust to mention - generic "inferior" commands. Delete mention of "detach fork" and - "delete fork". Cross reference to "Debugging multiple inferiors" - section. - -2009-07-02 Ulrich Weigand - - * gdbint.texinfo (Item Output Functions): Update signature - for ui_out_field_core_addr. - -2009-07-02 Ulrich Weigand - - * gdbint.texinfo (Examples of Use of @code{ui_out} functions): - Update example code extrated from breakpoint.c. - -2009-06-28 Paul Pluzhnikov - - * gdb.texinfo (GDB/MI Program Context): @ignore unimplemented - MI commands. - (GDB/MI Symbol Query): Likewise. - (GDB/MI File Commands): Likewise. - (GDB/MI File Transfer Commands): Likewise. - (GDB/MI Target Manipulation): Likewise. - (GDB/MI Miscellaneous Commands): Likewise. - -2009-06-27 Daniel Jacobowitz - - * gdb.texinfo (Debugging Optimized Code): New chapter. - (Compiling for Debugging): Reference it. Move some - text to the new section. - -2009-06-15 Phil Muldoon - - * doc/gdb.texinfo (Calling): Document - set-unwind-on-terminating-exception usage. - -2009-06-11 Pedro Alves - - * gdb.texinfo (All-Stop): Document new 'set schedule-multiple' - command. - -2009-06-07 Pedro Alves - - * gdbint.texinfo (TARGET_HAS_HARDWARE_WATCHPOINTS): Delete all - references. - -2009-06-04 Ulrich Weigand - - * gdbint.texinfo: Rename formal parameters to gdbarch function - protoypes from "current_gdbarch" to "gdbarch". - -2009-05-28 Tom Tromey - - * gdb.texinfo (Basic Python): Change get_parameter to parameter. - -2009-05-27 Tom Tromey - - * gdb.texinfo (GDB/MI Miscellaneous Commands): Document "python" - feature. - (GDB/MI Variable Objects): Document -var-set-visualizer. - -2009-04-02 Tom Tromey - - * gdb.texinfo (GDB/MI Miscellaneous Commands): Document "python" - feature. - (GDB/MI Variable Objects): Document -var-set-visualizer. - -2009-05-27 Tom Tromey - Thiago Jung Bauermann - Phil Muldoon - - * gdb.texinfo (Objfiles In Python): Reference pretty printing. - (Pretty Printing): New node. - (Selecting Pretty-Printers): Likewise. - (Python API): Update. - (Output Formats): Document /r format. - -2009-05-27 Thiago Jung Bauermann - Tom Tromey - - * gdb.texinfo (Types In Python): New node. - (Values From Inferior): "type" is now an attribute. - (Python API): Update. - -2009-05-27 Tom Tromey - Thiago Jung Bauermann - Phil Muldoon - - * gdb.texinfo: Add @syncodeindex for `tp'. - (Python API): Update. - (Auto-loading): New node. - (Objfiles In Python): New node. - -2009-05-15 Paul Pluzhnikov - - * gdb.texinfo (Threads): Document libthread-db-search-path. - -2009-05-15 Nick Roberts - - * gdb.texinfo (GDB/MI General Design): Break up into four nodes. - -2009-05-12 Pedro Alves - - * gdb.texinfo: Document 'set/show debug gnu-nat'. Replace 'maint - show-debug-regs' docs by 'maint set show-debug-regs' and 'maint - show show-debug-regs' docs. - -2009-05-08 Eli Zaretskii - - * gdb.texinfo (Process Record and Replay): Add description of - reverse execution. - -2009-05-07 Joel Brobecker - - * gdbint.texinfo (Adding support for debugging core files): New node. - (Native Debugging): Remove the ``Native core file Support'' section. - -2009-05-01 Eli Zaretskii - - * gdb.texinfo (Process Record and Replay): Improve and clarify. - Add index entries. - -2009-04-30 Hui Zhu - Michael Snyder - - * gdb.texinfo: (Process Record and Replay): Add documentation for - process record and replay. - -2009-04-29 Jan Kratochvil - - * gdb.texinfo (Macros): Note command-line for `info macro'. Append - a new part on command-line defined macros. - -2009-04-25 Eli Zaretskii - - * gdb.texinfo (Machine Code) : Improve and - clarify the wording. - -2009-04-23 Tom Tromey - - * gdb.texinfo (Data Files): New node. - (GDB Files): Update menu. - -2009-04-23 Joel Brobecker - - * gdbint.texinfo (Defining Other Architecture Features): Remove - entry for PROCESS_LINENUMBER_HOOK. - -2009-04-22 Vladimir Prus - - * gdb.texinfo (GDB/MI Program Execution): Document -exec-jump. - -2009-04-22 Hui Zhu - - * gdb.texinfo (disassemble-next-line): Set the default of - disassemble-next-line to off. - -2009-04-21 Joseph Myers - - * configure.ac (--with-datarootdir, --with-docdir, --with-pdfdir, - --with-htmldir): New. - * configure: Regenerate. - * Makefile.in (datarootdir, docdir): Define. - (gdb.dvi, gdb.pdf): Use same -I options as for building gdb.info - instead of $(SET_TEXINPUTS). - (gdbint.dvi, gdbint.pdf): Use same -I options as for building - gdbint.info instead of $(SET_TEXINPUTS). - (gdbint/index.html): Use same -I options as for building - gdbint.info. - (stabs.dvi, stabs.pdf): Use same -I options as for building - stabs.info instead of $(SET_TEXINPUTS). - (stabs/index.html): Use same -I options as for building - stabs.info. - (annotate.dvi, annotate.pdf): Use same -I options as for building - annotate.info instead of $(SET_TEXINPUTS). - (annotate/index.html): Use same -I options as for building - annotate.info. - -2009-04-21 David Daney - - * gdb.texinfo (maint show-debug-regs): Remove mention of x86. - -2009-04-21 Joseph Myers - - * gdb.texinfo (Source Path): Document --with-relocated-sources. - -2009-04-18 Carlos O'Donell - Joseph Myers - - * Makefile.in (MAKEHTML): Set to makeinfo --html. - (MAKEHTMLFLAGS): Set to empty. - (html__strip_dir): Define. - (HTMLFILES): Define. - (HTMLFILES_INSTALL): Define. - (install-html): Copy new automake rule. - (html): Depend on $(HTMLFILES). - (gdb_toc.html): Rename to gdb/index.html. - (gdbint_toc.html): Rename to gdbint/index.html. - (stabs_toc.html): Rename to stabs/index.html. - (annotate_toc.html): Rename to annotate/index.html. - -2009-04-17 Carlos O'Donell - - * Makefile.in: Set pdfdir and htmldir from configure - substitutions. - * configure.ac: AC_SUBST datarootdir, docdir, htmldir, pdfdir. - * configure: Regenerate. - -2009-04-16 Joel Brobecker - - * gdbint.texinfo (Native Debugging): Remove entry for PROC_NAME_FMT. - This macro is no longer used. - -2009-04-15 Tom Tromey - - * gdb.texinfo (Character Sets): Document default character set. - -2009-04-14 Pierre Muller - - * gdbint.texinfo: Change server name from sources.redhat.com to - sourceware.org throughout. - -2009-04-09 Joel Brobecker - - * gdb.texinfo (Set Breaks): Rewrite a paragraph to avoid a warning - about a missing dot or coma after @xref. - -2009-04-02 Joel Brobecker - - * gdb.texinfo (Backtrace): Add a parameter in frame 1 of the first - example, and add a small explanation about it. - (Print Settings): Change the documentation of the "set print - frame-arguments" to reflect the fact that the default is now "scalars". - -2009-04-02 Joel Brobecker - - * gdb.texinfo (Print Settings): Add kindex for command "set - print frame-arguments". - -2009-03-31 Joel Brobecker - - * gdb.texinfo (Ada Tasks): Add documentation about task-specific - breakpoints. - (Set Breaks): Add reference to thread-specific and task-specific - breakpoints. - -2009-03-31 Joel Brobecker - - * gdb.texinfo (Ada Tasks): Remove the documentation about - the "Running" state, as this state has been eliminated. - Now all runnable tasks are shown as "Runnable". - -2009-03-30 Stan Shebs - - * gdb.texinfo (Tracepoints): Describe tracepoints as a - special case of breakpoints. - (Enable and Disable Tracepoints): Mention deprecation. - (Listing Tracepoints): Update description and example. - -2009-03-30 Thiago Jung Bauermann - - * gdb.texinfo (Frames in Python): New node. - (Python API): Update. - -2009-03-29 Thiago Jung Bauermann - - * gdb.texinfo (Values From Inferior): Change gdb.Value.address - from a method to an attribute. - -2009-03-26 Thiago Jung Bauermann - - * gdb.texinfo (Values From Inferior): Document is_optimized_out - attribute. - -2009-03-25 Pedro Alves - - * observer.texi (thread_exit): Add "silent" parameter. - -2009-03-22 Pedro Alves - - * observer.texi (about_to_proceed): New. - -2009-03-21 Jeremy Bennett - - * gdbint.texinfo (everywhere): Use braces {} in @deftypeXX type - field throughout to handle types with spaces in them. Fix typos - found by aspell. - (Summary, Requirements, Contributors): New first chapter, - "Summary" added, old Requirements section moved there, and new - section, "Contributors" added. - (Initializing a New Architecture, Register Representation) - (Frame Interpretation, Inferior Call Setup, Adding a New Target) - (Porting gdb): These sections extended and updated. - (Compiler Characteristics): This section (empty) deleted. - (Defining Other Architecture Features): This section renamed and - duplicate material removed from (formerly "Target Conditionals"). - Use braces {} in @deftypeXX type field throughout to handle types - with spaces in them. Typos found by aspell fixed. - - * stack_frame.svg: New file, source of image for gdbint.texinfo. - * stack_frame.pdf: Version of image for PDF output. - * stack_frame.png: Version of image for HTML output and for Emacs. - * stack_frame.txt: Version of image for Info output. - * stack_frame.eps: Version of image for TeX DVI output. - -2009-03-21 Eli Zaretskii - - * gdb.texinfo (Character Sets): Fix last change. - -2009-03-21 Thiago Jung Bauermann - - * gdb.texinfo (Values From Inferior): Fix optional arguments - markup. - (Commands In Python): Adjust argument names of gdb.Command.__init__ - to what the function accepts as keywords. - -2008-03-20 Tom Tromey - - * gdb.texinfo (Convenience Vars): Document convenience functions. - (Functions In Python): New node. - (Python API): Update. - -2009-03-20 Tom Tromey - - * gdb.texinfo (Character Sets): Remove obsolete text. Document - set target-wide-charset. - (Requirements): Mention iconv. - -2009-03-17 Hui Zhu - - * gdb.texinfo: Change the introduce of "disassemble-next-line". - -2009-03-17 Hui Zhu - - * gdb.texinfo: Add documentation for disassemble-next-line. - -2009-03-16 Thiago Jung Bauermann - - * gdb.texinfo (Commands In Python): Remove tindex entries. - -2009-03-15 Jan Kratochvil - - * gdb.texinfo (Returning): New description for missing debug info. - -2009-03-14 Pedro Alves - - * gdb.texinfo (Remote Configuration): Document query-attached. - (General Query Packets): Document qAttached. - -2009-03-05 Pedro Alves - - * gdb.texinfo (Background Execution): Better describe the set - target-async command. - (Maintenance Commands): Delete description of the `maint set/show - linux-async' and `maint set/show remote-async' commands. - -2009-02-18 Vladimir Prus - - * gdb.texinfo (GDB/MI Async Records): Add double-spaces - between sentences. - -2009-02-18 Vladimir Prus - - * gdb.texinfo (GDB/MI Async Records): Document the - =library-loaded and =library-unloaded notifications. - -2009-02-17 Vladimir Prus - - * observer.texi (test_notification): New observer. - -2009-02-14 Vladimir Prus - - * observer.texi: Add parameter 'print_frame' to normal_stop - observer. - -2009-02-07 Eli Zaretskii - - * gdb.texinfo (Basic Python): Fix change from 2009-02-04. - (Commands In Python): Fix COMMAND_* constants in last change. Use - @kbd for interactive input. Add cross-references and index - entries. - -2009-02-06 Pedro Alves - - * gdb.texinfo (Signals): Document $_siginfo. - (Convenience Variables): Mention $_siginfo. - (Remote Configuration): Document qXfer:siginfo:read, - qXfer:siginfo:write packets, and the read-siginfo-object, - write-siginfo-object commands. - -2009-02-06 Pedro Alves - - * gdbint.texinfo (Values): New chapter. - -2009-02-06 Tom Tromey - - * gdb.texinfo (Python API): Add entry for Commands In Python. - (Commands In Python): New node. - -2009-02-05 Tom Tromey - - * gdb.texinfo (Values From Inferior): Document Value.string. - -2009-02-05 Tom Tromey - - * gdb.texinfo (Basic Python): Document execute's from_tty - argument. - -2009-02-04 Tom Tromey - - * gdb.texinfo (Basic Python): Document gdb.history. - -2009-01-30 Vladimir Prus - - * gdb.texinfo (GDB/MI Thread Commands): Document the - 'current-thread-id' field. Remove the example with zero threads, - since current GDB won't ever report that if there's inferior. - -2009-01-30 Vladimir Prus - - * gdb.texinfo (GDB/MI Breakpoint Commands): Document the -d - option to -break-insert. - -2009-01-28 Daniel Jacobowitz - Jerome Guitton - - * gdb.texinfo (Startup): Document --with-system-gdbinit. - (System-wide configuration): New section. - -2009-01-26 Pedro Alves - - PR gdb/7580: - * gdb.texinfo (Maintenance Commands): Document "maint set|show - internal-error|internal-warning quit|corefile ask|yes|no". - -2009-01-26 Pedro Alves - - * gdb.texinfo (Using the `gdbserver' Program): Document - --remote-debug. - -2009-01-23 Doug Evans - - * gdb.texinfo: Add nexti to list of commands that support - background execution. - -2009-01-14 Daniel Jacobowitz - - * gdb.texinfo (Define, Hooks): Document prefix command support. - -2009-01-14 Joseph Myers - Carlos O'Donell - - Fixes for makeinfo --html. - - * annotate.texinfo: Use @copying and @insertcopying. Use - @ifnottex in place of @ifinfo. - * gdb.texinfo: Use @copying and @insertcopying. Use @ifnottex in - place of @ifinfo. Use @ifnotinfo for one index entry. - * gdbint.texinfo: Use @copying and @insertcopying. Use @ifnottex - in place of @ifinfo. - * stabs.texinfo: Use @copying and @insertcopying. Use @ifnottex - in place of @ifinfo. Include contents at start unconditionally. - -2009-01-13 Pedro Alves - - * gdb.texinfo (General Query Packets): Remove @var{} around the - "spu" literal string. - -2009-01-07 Pedro Alves - - * gdb.texinfo (Error in Breakpoints): Delete mention of "The same - program may be running in another process" errors. - * gdbint.texinfo (Native Conditionals): Delete - ONE_PROCESS_WRITETEXT description. - -2009-01-07 Joel Brobecker - - * gdbint.texinfo (Start of New Year Procedure): Add the "coding" - emacs local variable to be placed at the end of the ChangeLog. - Add server.c and gdbreplay.c to the list of files where the - copyright year needs to be updated. - -2009-01-06 Sandra Loosemore - - * gdb.texinfo (Remote Configuration): Document new - "set/show tcp auto-retry" and "set/show tcp connect-timeout" - commands. - -2008-12-28 Pedro Alves - - * gdbint.texinfo (gdbarch_cannot_fetch_register): Don't mention - FETCH_INFERIOR_REGISTERS. - (Native Conditionals): Remove obsolete CHILD_PREPARE_TO_STORE, - FETCH_INFERIOR_REGISTERS descriptions. Remove - gdbarch_get_longjmp_target descrition, since already described in - Target Conditionals. Move gdbarch_fp0_regnum description to ... - (Target Conditionals): ... here. - -2008-12-16 Joel Brobecker - - * gdb.texinfo (Omissions from Ada): Add missing GDB prompt in - examples. - (Additions to Ada): Likewise. Add the missing opening and closing - parenthesis of the GDB prompt in one of the examples. - -2008-12-14 Joel Brobecker - - * gdb.texinfo (Omissions from Ada): Remove incorrect documentation - about the result of 'Address not being of type System.Address. - This problem has been fixed a while ago. - -2008-12-02 Vladimir Prus - - MI non-stop and multiprocess docs. - - * gdb.texinfo (GDB/MI): New section 'GDB/MI General Design' - (GDB/MI Output Records): New section 'GDB/MI Frame Information' - Adjust documentation for *stopped, document =thread-created, - =thread-exited, =thread-group-created and =thread-group-exited. - (GDB/MI Thread Commands): Document the 'state' field in - -thread-info output. - (GDB/MI Program Execution): Mention --all and --thread-group - options. - (GDB/MI Variable Objects): Describe floating and fixed variable - objects. - (GDB/MI Miscellaneous Commands): Document -list-thread-groups. - -2008-12-02 Vladimir Prus - - * gdb.texinfo (Operating System Information): New appendix. - (Operating System Auxiliary Information): Document 'info os processes' - (Remote Configuration): Document 'osdata' - (General Query Packets): Document qXfer:osdata:read. - -2008-11-27 Tristan Gingold - - * gdb.texinfo (Darwin): Document Darwin specific features. - -2008-11-25 Jan Kratochvil - - * gdbint.texinfo (Target Conditionals): Extend the - gdbarch_breakpoint_from_pc description. - -2008-11-22 Vladimir Prus - - * gdb.texinfo (M68K Features): Fix typo. - -2008-11-18 Paul Pluzhnikov - - * gdb.texinfo (Symbols): Mention printing containing - image name in "info symbol". - (Maint translate-address): Likewise. - -2008-11-18 Joel Brobecker - - * gdb.texinfo (Set Catchpoints): Remove the documentation of - commands "catch load" and "catch unload". - -2008-11-17 Vladimir Prus - - * gdb.texinfo (GDB/MI Async Records): Document - =thread-selected. - -2008-11-17 Vladimir Prus - - * observer.texi (new_inferior, inferior_exit): New observers. - -2008-10-27 Pedro Alves - - * gdbint.texinfo (Adding a New Target): Don't mention TDEPFILES, - .mt files, TM_CLIBS or TM_CDEPS. - (x86 Watchpoints): Don't mention TDEPFILES. - -2008-10-24 Sandra Loosemore - - * gdb.texinfo (Remote Protocol): Add new nodes to menu. - (Overview): Mention notifications and non-stop mode behavior. - (Packets): Update documentation of ?, vAttach, vCont, and vRun - with non-stop mode behavior. Add vStopped description. - (Stop Reply Packets): Update list of packets that return - stop replies. Mention non-stop behavior. - (General Query Packets): Document QNonStop packet and associated - qSupported query response. - (Interrupts): Clarify multi-threaded behavior. Mention non-stop - behavior. - (Notification Packets): New section. - (Remote Non-Stop): New section. - (File-I/O Overview): Mention non-stop behavior. - -2008-10-24 Hui Zhu - Pedro Alves - - * gdb.texinfo (displaced-stepping): Describe the auto mode - setting, and say it's the default. This is now a mainstream - setting instead of a maintenance setting. - -2008-10-23 Pedro Alves - - * observer.texi (thread_stop_requested): New. - -2008-10-22 Joel Brobecker - - * gdb.texinfo (Ada Tasks, Ada Tasks and Core Files): New nodes. - (Patching): Replace incorrect usage of @samp by @kbd. - -2008-10-17 Michael Snyder - - * gdb.texinfo: Add documentation for reverse execution. - -2008-10-16 Thiago Jung Bauermann - Eli Zaretskii - - * gdb.texinfo. (Values From Inferior): New subsubsection. - -2008-10-06 Doug Evans - - * gdb.texinfo (set debug dwarf2-die): Document it. - -2008-10-01 Joel Brobecker - - * gdb.texinfo (catch) [exception]: Document how to insert - a breakpoint on user-defined exceptions when the exception - name is identical to one of the language-defined ones. - -2008-09-27 Tom Tromey - - * gdb.texinfo (Macros): Remove text about stringification, - varargs, and splicing. - -2008-09-27 Tom Tromey - - * gdbint.texinfo (Language Support): Remove text about omitting - support for a language. - -2008-09-23 Doug Evans - - * gdb.texinfo (info dcache): Update. - -2008-09-22 Sandra Loosemore - - * gdb.texinfo (Packets): Add info on thread-id syntax and - multiprocess extensions. - : Document multiprocess form of packet. - : Use thread-id syntax. - : Likewise. - : Likewise. Note this is required for multiprocess. - : New packet. - (Stop Reply Packets) : Use thread-id syntax. - : Document multiprocess form of reply. - : Likewise. - (General Query Packets) : Use thread-id syntax. - : Likewise. - : Likewise. - : Likewise. - : Add "multiprocess" feature. - : Use thread-id syntax. - -2008-09-22 Stan Shebs - - * gdb.texinfo (Inferiors): New section. - -2008-09-12 Pedro Alves - - * gdbint.texinfo (Native Debugging): Mention NAT_GENERATED_FILES. - -2008-09-11 Ulrich Weigand - - * gdbint.texinfo (Target Conditionals): Remove documentation - for gdbarch_name_of_malloc. - -2008-09-03 Angela Marie Thomas - - * gdb.texinfo (Interrupts): Mention TCP interface for - sending BREAK. - -2008-08-26 Ulrich Weigand - - * gdb.texinfo (Commands to Specify Files): Document "remote:" - argument prefix to "set sysroot". - -2008-08-21 Paul N. Hilfinger - - * gdb.texinfo (Omissions from Ada): Describe new treatment of True - and False. - -2008-08-20 Vladimir Prus - - * gdb.textinfo (GDB/MI Miscellaneous Commands): Use @table - for possible features of -list-features. - -2008-08-19 Vladimir Prus - - * gdb.texinfo (Background execution): Adjust example - (GDB/MI Miscellaneous Commands): Document -list-target-features. - -2008-08-19 Vladimir Prus - - * doc/gdb.texinfo (PowerPC): Fix typo. - (PowerPC features): Fix typo. - -2008-08-18 Pedro Alves - - * observer.texi (thread_ptid_changed): New. - -2008-08-18 Luis Machado - - * doc/gdb.texinfo (PowerPC): Mention Extended FPR's for POWER7. - (PowerPC features): Mention feature set for VSX registers. - -2008-08-13 Joel Brobecker - - * gdb.texinfo (Ada Mode Intro): Improve the documentation regarding - the direct visibility of all names in user-written packages. - -2008-08-13 Pedro Alves - - * gdb.texinfo (breakpoint always-inserted) Describe the auto mode - setting, and make it the default. - (Non-Stop Mode): Remove "set breakpoints always-inserted 1" from - non-stop script example. - -2008-08-12 Thiago Jung Bauermann - - * gdbint.texinfo (Raw and Virtual Register Representations): Fix - reference to the "Using Different Register and Memory Data - Representation" section. - -2008-08-12 Sandra Loosemore - - * gdb.texinfo (Remote Configuration): Document set remote noack-packet. - (Remote Protocol): Add Packet Acknowledgment to menu. - (Overview): Mention +/- can be disabled, and point to new section - where this is discussed in detail. - (General Query Packets): Document QStartNoAckMode packet, and - corresponding qSupported reply. - (Packet Acknowledgment): New section. - -2008-08-11 Sandra Loosemore - Pedro Alves - - * gdb.texinfo (Threads): Move paragraph about automatic thread - selection to All-Stop Mode subsection. - (Thread Stops): Reorganize existing material into subsections. - Add introductory blurb and menu. - (Non-Stop Mode): New subsection. - (Background Execution): New subsection. - (Maintenance Commands): Add cross-references from async mode - commands to the new Background Execution section. - -2008-08-06 Tom Tromey - - * gdb.texinfo (Extending GDB): New chapter. - (Sequences): Demoted chapter, now a section under the new - Extending GDB chapter. - (Python): New section. - -2008-07-31 Stan Shebs - - * gdbint.texinfo: Remove FUNCTION_EPILOGUE_SIZE. - -2008-07-29 Stan Shebs - - * gdbint.texinfo: General round of cleanup and minor - clarifications. - (Breakpoint Handling): Remove mention of BREAKPOINT macro. - (Longjmp Support): Update description to reflect how it is done - for targets without using native header. - (Symbol Handling): Add a little more general explanation. - (COFF, ELF): Mention stabs encapsulation. - (DWARF 3): New section. - (Adding a New Host): Scrub out some obsolete bits. - (Generic Host Support Files): Mention ser-pipe.c, ser-mingw.c. - (Host Conditionals): Remove descriptions of NO_STD_REGS, - HAVE_MMAP, HAVE_TERMIO, INT_MAX etc, LONGEST, HAVE_LONG_DOUBLE, - PRINTF_HAS_LONG_DOUBLE, SCANF_HAS_LONG_DOUBLE, L_SET, SEEK_CUR, - SEEK_SET, STOP_SIGNAL, USG. - (Raw and Virtual Register Representations): Ditto for - DEPRECATED_REGISTER_RAW_SIZE, DEPRECATED_REGISTER_VIRTUAL_SIZE, - DEPRECATED_REGISTER_VIRTUAL_TYPE, REGISTER_CONVERT_TO_TYPE. - (Target Conditionals): Ditto for DEPRECATED_FP_REGNUM, - DEPRECATED_FRAMELESS_FUNCTION_INVOCATION, DEPRECATED_FRAME_CHAIN, - DEPRECATED_FRAME_CHAIN_VALID, DEPRECATED_FRAME_INIT_SAVED_REGS, - DEPRECATED_FRAME_SAVED_PC, DEPRECATED_FUNCTION_START_OFFSET, - DEPRECATED_REGISTER_VIRTUAL_SIZE, - DEPRECATED_REGISTER_VIRTUAL_TYPE, - DEPRECATED_USE_STRUCT_CONVENTION. - Describe gdbarch_deprecated_fp_regnum. - Update description of gdbarch_print_insn. - (Adding a New Target): Scrub out obsolete bits. - (Obsolete Conditionals): Remove entire section. - -2008-07-25 Tom Tromey - - * observer.texi (GDB Observers): Document new observers: - breakpoint_created, breakpoint_deleted, breakpoint_modified, - tracepoint_created, tracepoint_deleted, tracepoint_modified, - architecture_changed. - -2008-07-21 Stan Shebs - - * gdbint.texinfo: Refer to target_so_ops.in_dynsym_resolve_code - instead of IN_SOLIB_DYNSYM_RESOLVE_CODE. - -2008-07-21 Tom Tromey - - * observer.texi (GDB Observers): Remove obsolete comment. - : Remove argument. - -2008-07-18 Tom Tromey - - * gdb.texinfo (Macros): Update. Use @code rather than @command. - -2008-07-10 Doug Evans - - * doc/gdb.texinfo: Document "set print symbol-loading on|off". - -2008-07-10 Jan Kratochvil - - * gdb.texinfo (Starting): Document "set disable-randomization". - -2008-07-07 Andreas Schwab - - * gdb.texinfo (GDB/MI Target Manipulation): Fix last change. - -2008-07-06 Vladimir Prus - - * gdb.texinfo (GDB/MI Target Manipulation): Add - example of -target-attach. - -2008-06-10 Vladimir Prus - - * observer.texi (target_resumed): New observer. - * gdb.texinfo (GDB/MI Output Records): Document *running. - -2008-06-06 Tom Tromey - - * gdb.texinfo (Completion): Add field name example. - -2008-06-06 Marc Khouzam - - * gdb.texinfo (GDB/MI Program Context): Added example - to -exec-arguments - -2008-06-05 Nick Roberts - - * annotate.texinfo (Multi-threaded Apps): Add entry for thread-changed - annotation. - -2008-06-05 Vladimir Prus - Nathan Sidwell - Joseph Myers - - * configure.ac: Include ../../config/acx.m4. Use ACX_PKGVERSION - and ACX_BUGURL. - * configure: Regenerate. - * Makefile.in (PKGVERSION, BUGURL_TEXI): Define. - (GDBvn.texi): Define VERSION_PACKAGE, BUGURL and BUGURL_DEFAULT. - * gdb.texinfo: Use VERSION_PACKAGE and BUGURL. Remove - mailing-list-specific text about bug reporting unless - BUGURL_DEFAULT. - -2008-06-05 Pedro Alves - - * gdb.texinfo (-target-select): Remove reference to target async. - (Maintenance Commands): Document "maint set/show remote-async". - -2008-06-04 Marc Khouzam - - * gdb.texinfo (GDB/MI File Transfer Commands): Typo - in -target-file-get section. - -2008-05-22 Pedro Alves - - * gdb.texinfo (vAttach, vRun): Re-remove requirement of the stub - killing the inferior when it is already debugging a process. - -2008-05-21 Joel Brobecker - - * gdb.texinfo (Continuing and Stepping): Document the new "fin" - abbreviation for "finish". - -2008-05-21 Nick Roberts - - * annotate.texinfo (Multi-threaded Apps): New node for new annotation. - -2008-05-15 Daniel Jacobowitz - - * gdbint.texinfo (Target Conditionals): Delete entry for - gdbarch_dwarf_reg_to_regnum. - -2008-05-09 Doug Evans - - * gdb.texinfo: Document "find" command, qSearch:memory packet. - -2008-05-05 Doug Evans - - * gdb.texinfo (disassemble): Document /m modifier. - -2008-05-05 Vladimir Prus - - * gdb.texinfo (Maintenance Commands): Clarify that "maint time" - will not report the time of commands that run the target. - -2008-05-03 Vladimir Prus - - * gdb.texinfo (GDB/MI Output Records): Add - missing semicolon. - -2008-05-03 Vladimir Prus - - * gdb.texinfo (GDB/MI Output Records): - Document =thread-create and =thread-exited. - -2008-05-03 Vladimir Prus - - * gdb.texinfo (GDB/MI Development and Front Ends): - Remove mention of dmi-discuss. - -2008-05-03 Pedro Alves - - * observer.texi (thread_exit): New. - -2008-05-02 Pedro Alves - - * gdb.texinfo (Debugging Output): Document "set/show debug - displaced". - (Maintenance Commands): Document "maint set/show - can-use-displaced-stepping". - -2008-05-02 Daniel Jacobowitz - - * gdb.texinfo (ARM): Document set/show arm fallback-mode - and set/show arm force-mode. - -2008-05-02 Andreas Schwab - - * gdbint.texinfo (Algorithms): Describe - target_watchpoint_addr_within_range. - -2008-04-30 Daniel Jacobowitz - - * gdbint.texinfo (Stack Frames): New chapter. - (Algorithms): Move Frames text to the new chapter. - (Target Conditionals): Delete SAVE_DUMMY_FRAME_TOS. Document - gdbarch_dummy_id instead of gdbarch_unwind_dummy_id. - -2008-04-24 Vladimir Prus - - * gdb.texinfo (GDB/MI Output Syntax): Clarify that async - output does not necessary include any tokens. - -2008-04-22 Corinna Vinschen - - * gdb.texinfo (Set SH Calling convention): New @item. - (Show SH Calling convention): Ditto. - -2008-04-22 Markus Deuling - - * gdb.texinfo (Fortran Operators): Describe '%' operator. - -2008-04-20 Eli Zaretskii - - * gdb.texinfo (Set Breaks): Mention that multiple location - breakpoints need line number info. Add index entries. - -2008-04-19 Craig Silverstein - - * gdb.texinfo (Requirements): Add an optional requirement on - zlib. - * gdbint.texinfo (Debugging File Formats): Add new subsection for - Compressed DWARF 2. - -2008-04-16 Aleksandar Ristovski - - * gdb.texinfo (GDB/MI Simple Examples): Added 'disp' field to the - sample output for 'stopped,reason="breakpoint-hit"' message. - (GDB/MI Program Execution): Likewise. - -2008-04-09 Marc Khouzam - - * gdb.texinfo (GDB/MI Variable Objects): Add anchor to - -var-set-format. Add -f option to -var-evaluate-expression. - -2008-04-03 Joel Brobecker - - * gdb.texinfo (Breakpoint Menus): Delete. Contents moved inside - new node "Ambiguous Expressions". Replace references to this - node by references to "Ambiguous Expressions" throughout. - (Ambiguous Expressions): New node. - -2008-03-26 Daniel Jacobowitz - - * gdb.texinfo (MIPS Features, PowerPC Features): Add @node. - -2008-03-21 Pedro Alves - - * gdb.texinfo (Debugging Output): Document - "set/show debug lin-lwp-async". - (Maintenance Commands): Document "maint set/show linux-async". - -2008-03-21 Daniel Jacobowitz - - * gdb.texinfo (Expressions): Update description of malloced arrays. - -2008-03-15 Vladimir Prus - - * gdb.texinfo (Thread Commands): Document - -thread-info. Remove -thread-list-all-threads. - -2008-03-14 Vladimir Prus - - Implement MI notification for new threads. - * observer.texi (new_thread): Document. - -2008-03-14 Pedro Alves - Sandra Loosemore - - * gdb.texinfo (Library List Format): Update to mention the - possibility to pass section addresses instead of segment - addresses. - -2008-03-10 Daniel Jacobowitz - - * gdb.texinfo (Starting): Document "set exec-wrapper". - (Server): Document gdbserver --wrapper. - -2008-03-03 Daniel Jacobowitz - - * gdb.texinfo (Set Watchpoints): Mention watchpoints on - unreadable memory. Delete obsolete SPARClite reference. - -2008-02-28 Daniel Jacobowitz - - * gdb.texinfo (Starting): Mention always-running targets. - (Target Commands): Add an anchor for load. - (Connecting): Explain continue instead of run. - -2008-02-27 Daniel Jacobowitz - - * gdb.texinfo (Debugging Output): Document "set debug timestamp". - -2008-02-26 Nick Roberts - - * gdb.texinfo (Set Breaks): Revert description of Enb column of - breakpoint table. - -2008-02-19 Pedro Alves - - * gdb.texinfo (vAttach, vRun): Remove requirement of the stub - killing the inferior when it is already debugging a process. - -2008-02-13 Markus Deuling - - * gdbint.texinfo (Build Script): New section. Mention new build script - gdb_buildall.sh. - -2008-02-01 Jim Blandy - - * gdb.texinfo (Help): Summarize 'info args' correctly. - -2008-01-30 Thiago Jung Bauermann - - * gdb.texinfo: (Decimal Floating Point): Mention pseudo-registers - available in PowerPC architecture. - (Embedded Processors): Change node name of PowerPC item in menu. - (PowerPC): Rename to... - (PowerPC Embedded): this. - (Architectures): Add new PowerPC item in menu. - (PowerPC): New node. - -2008-01-30 Daniel Jacobowitz - - * gdb.texinfo (Multi-Process Mode for gdbserver): Use @kbd for - commands. - -2008-01-30 Daniel Jacobowitz - - * gdb.texinfo (Setting Catchpoints): Mention features - supported on GNU/Linux. - -2008-01-30 Nick Roberts - - * gdb.texinfo (GDB/MI File Commands): Describe new output - field for MI command -file-list-exec-source-file. - -2008-01-29 Daniel Jacobowitz - - * gdb.texinfo (Using the `gdbserver' Program): Add security - warning. Rearrange into subsections and subsubsections. Document - --multi and --debug. Correct --with-sysroot typo. Update --attach - usage. Make load reference clearer. Document monitor exit. - (Remote Configuration): Document set remote exec-file, attach-packet, - and run-packet. - (Packets): Document vAttach and vRun. - -2008-01-29 Nick Roberts - - * gdb.texinfo (Processes): Mention process command. - detach-on-follow -> detach-on-fork. - -2008-01-28 Daniel Jacobowitz - - * gdbint.texinfo (Native Conditionals): Remove - SHELL_COMMAND_CONCAT and SHELL_FILE. - -2008-01-26 Eli Zaretskii - - * gdb.texinfo (Specify Location): Improve wording. - -2008-01-23 Chris Demetriou - - * gdb.texinfo (Threads): Document new "set print thread-events" - and "show print thread-events" commands. - -2008-01-19 Eli Zaretskii - - * gdb.texinfo (Specify Location): New section. - (Delete Breaks, Edit, Set Breaks): Remove description of - locations. Instead, add a reference to "Specify Location". - (Machine Code, Jumping, Thread Stops, Continuing and Stepping) - (Symbols): Refer to "Specify Location" for the valid forms of - linespecs and locations. - -2008-01-18 Markus Deuling - - * gdbint.texinfo (Target Conditionals): Replace the description of - BITS_BIG_ENDIAN with a description of gdbarch_bits_big_endian. - -2008-01-12 Paul Hilfinger - - * gdb.texinfo (C Operators): Remove incorrect parenthetical comment - about &&var, which is rejected by the expression parser. - -2008-01-09 Luis Machado - - * gdb.texinfo (Output): Update documentation on using printf with DFP - types. - -2008-01-07 Thiago Jung Bauermann - - * gdb.texinfo (C and C++): Add Decimal Floating Point format - subsubsection. - (Decimal Floating Point format): New subsubsection. - -2008-01-05 Pedro Alves - - * gdb.texinfo (File Options): Remove mention of the attempt to - open a core file with the -p option. Don't list -c as a valid - option to attach to a process. - -2008-01-05 Pedro Alves - - * gdbint.texinfo (Host Conditionals): Remove mention of - ALIGN_STACK_ON_ENTRY. - -2008-01-05 Joel Brobecker - - * gdbint.texinfo (Start of New Year Procedure): Add item - describing how to update the source and documentation copyright - notices. - -2007-12-18 Jim Blandy - - * gdb.texinfo (Set Watchpoints): Integrate per-thread - watchpoint explanation into the main description of the watchpoint - command; update synopses of 'watch', 'rwatch', and 'awatch' - commands. - -2007-12-18 Vladimir Prus - - * gdb.texinfo (Miscellaneous gdb/mi Commands): - Document 'pending-breakpoints' feature of - -list-features. - -2007-12-17 Luis Machado - - * gdb.texinfo: Add new parameter's description. - -2007-12-16 Daniel Jacobowitz - - * gdb.texinfo (Overview): Clarify run-length encoding - example. Remove the restriction on "+" and "-" characters. - -2007-12-15 Eli Zaretskii - - * gdb.texinfo (Host I/O Packets): Fix xref syntax. - -2007-12-14 Vladimir Prus - - * gdb.texinfo (GDB/MI Breakpoint Commands): Document - the -f option for -break-insert, remove -r option, - and clarify specification of location. - -2007-11-30 Daniel Jacobowitz - - * gdb.texinfo (Debugging Programs with Multiple Processes): Correct - formatting. - (Remote Debugging): Add File Transfer section. - (Remote Configuration): Document Host I/O packets. - (GDB/MI): Add GDB/MI File Transfer Commands section. - (Host I/O Packets): New section in "Remote Protocol". - (Packets): Add vFile. - -2007-11-17 Eli Zaretskii - - * gdb.texinfo (Set Breaks, Disabling): Clarify behavior of - breakpoints with multiple locations. - (Breakpoint Menus): Improve wording. - (Output): Fix last change. - -2007-11-17 Ulrich Weigand - - * Makefile.in (Makefile): Do not depend on target_makefile_frag. - -2007-11-15 Doug Evans - - * gdb.texinfo (Symbols): Update output of "maint info symtabs". - -2007-11-15 Vladimir Prus - - * gdbint.texinfo (Native Conditionals): Remove - mention of CLEAR_SOLIB. - -2007-11-11 Joel Brobecker - - * gdb.texinfo (Print Settings): Add documentation for "set/show - print frame-arguments". - -2007-11-05 Luis Machado - - * gdb.texinfo (Output): Update printf command's description. - -2007-10-30 Daniel Jacobowitz - - * gdb.texinfo (PowerPC): Document "set powerpc vector-abi" and "set - powerpc soft-float". - -2007-10-24 Daniel Jacobowitz - - * gdb.texinfo (Files): Correct formatting. Mention Expat - requirement. - (Requirements for Building GDB): Expand the list of Expat - uses. - (Library List Format, Memory Map Format): Mention Expat. - (Target Descriptions): Update Expat wording. - -2007-10-24 Daniel Jacobowitz - - * gdbint.texinfo (Register and Memory Data, Target Conditionals): - Document that gdbarch_convert_register_p should return zero for no-op - conversions. - -2007-10-22 Ulrich Weigand - - * gdbint.texi (Compiler Characteristics): Move documentation - of set_gdbarch_sofun_address_maybe_missing back to ... - (Target Conditionals): ... here to fix build break. - -2007-10-19 Ulrich Weigand - - * gdbint.texi (Target Conditionals): Remove documentation of - SOFUN_ADDRESS_MAYBE_MISSING, replaced by ... - (Compiler Characteristics): ... documentation of - set_gdbarch_sofun_address_maybe_missing. - -2007-10-17 Daniel Jacobowitz - - * gdbint.texinfo (Target Conditionals): Use - frame_unwind_register_unsigned in examples instead of - frame_unwind_unsigned_register. - -2007-10-16 Gaius Mulley - - * gdb.texinfo: Add TSIZE definition, removed statement about - unbounded arrays being unimplemented. - -2007-10-15 Daniel Jacobowitz - - * gdb.texinfo (Predefined Target Types): Add int128 - and uint128. - (Standard Target Features): Add PowerPC features. - -2007-10-15 Daniel Jacobowitz - - * gdb.texinfo (Maintenance Commands): Document "maint print c-tdesc". - -2007-10-12 Ulrich Weigand - - * gdbint.texi (Target Conditionals): Remove documentation - of and references to DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS, - gdbarch_extract_return_value, and gdbarch_store_return_value. - -2007-10-12 Ulrich Weigand - - * gdbint.texi (Target Conditionals): Remove documentation of - and references to DEPRECATED_REG_STRUCT_HAS_ADDR. - -2007-10-11 Kazu Hirata - - * gdb.texinfo: Mention that inaccessible-by-default is on by - default. - -2007-10-11 Daniel Jacobowitz - - * gdbint.texinfo (Target Conditionals): Remove VARIABLES_INSIDE_BLOCK. - -2007-09-30 Daniel Jacobowitz - - * gdb.texinfo (Setting Watchpoints): Adjust warning text about - multi-threaded watchpoints. - * gdbint.texinfo (Watchpoints): Describe how watchpoints are - checked. Describe sticky notification. Expand description - of steppable and continuable watchpoints. - (Watchpoints and Threads): New subsection. - -2007-09-28 Vladimir Prus - - * gdb.texinfo (Setting Breakpoints): Revise - documentation for pending breakpoints. Document - breakpoints with multiple locations. - -2007-09-19 Vladimir Prus - - * gdb.texinfo (Miscellaneous gdb/mi Commands): - Document -list-features. - -2007-09-15 Eli Zaretskii - - * gdb.texinfo (Output): Spell out which features of C's printf are - not supported by GDB's printf. - (Separate Debug Files): More accurate wording regarding build ID - and a reference to the ld manual rather than the Fedora wiki. - -2007-09-04 Daniel Jacobowitz - Jim Blandy - - * gdb.texinfo (Output Formats): Update 'c' description. Describe 's'. - (Examining Memory): Update mentions of the 's' format. - (Automatic Display): Likewise. - -2007-09-02 Daniel Jacobowitz - - * gdb.texinfo: Update the FSF's Back-Cover Text. - -2007-09-02 Jan Kratochvil - Eli Zaretskii - - * gdb.texinfo (Separate Debug Files): Cosmetic quoting removal. - Fixed the ``build ID'' name. New binaries build instructions for the - build ID inclusion. Explain how the commands are specific to the build - ID vs. debug link. - -2007-09-01 Eli Zaretskii - - * gdb.texinfo (Separate Debug Files): Fix last change. Add - indexing for ``build ID'' support. - -2007-09-01 Jan Kratochvil - - * gdb.texinfo (Separate Debug Files): Included a BUILD ID description. - Enlisted BUILD ID to the debug file searching example. - Included a BUILD ID `.note.gnu.build-id' section description. - Updated/added the debug files splitting instructions for OBJCOPY. - -2007-08-31 Vladimir Prus - - * gdb.texinfo (Variable Objects): Adjust docs - for -var-info-expression and document - -var-info-path-expression. - -2007-08-20 Jim Blandy - - * gdb.texinfo (Top): Dedicate manual to the memory of Fred Fish. - (title page): Include the dedication in the printed manual, as a - separate page after the copyright notice. - - * gdb.texinfo (The F Reply Packet): Avoid confusing texi2html: - don't break a @var across a line. - -2007-07-25 Maciej W. Rozycki - - * Makefile.in (MAKEHTMLFLAGS): Also search the current directory - for include files. - -2007-07-12 Nick Roberts - - * gdb.texinfo (Server Prefix): New node. Adapt from existing node - in annotate.texinfo. - (Command History): Link to new node. - -2007-07-05 Markus Deuling - - * gdbint.texinfo (PC_LOAD_SEGMENT): Remove description. - -2007-07-05 Eli Zaretskii - - * gdbint.texinfo (Target Conditionals): Fix last change. - -2007-07-03 Markus Deuling - - * gdb.texinfo: Replace following macros by their appropriate gdbarch - routines: - (TARGET_CHAR_SIGNED, CALL_DUMMY_LOCATION, CANNOT_FETCH_REGISTER) - (CANNOT_STORE_REGISTER, GET_LONGJMP_TARGET, POINTER_TO_ADDRESS) - (ADDRESS_TO_POINTER, INNER_THAN, FRAME_NUM_ARGS) - (HAVE_NONSTEPPABLE_WATCHPOINT, TARGET_SHORT_BIT, TARGET_INT_BIT) - (TARGET_LONG_BIT, TARGET_LONG_LONG_BIT, TARGET_FLOAT_BIT) - (TARGET_DOUBLE_BIT, TARGET_LONG_DOUBLE_BIT, TARGET_PTR_BIT - (TARGET_ADDR_BIT, SP_REGNUM, PC_REGNUM, PS_REGNUM, FP0_REGNUM) - (STAB_REG_TO_REGNUM, ECOFF_REG_TO_REGNUM, DWARF_REG_TO_REGNUM) - (SDB_REG_TO_REGNUM, DWARF2_REG_TO_REGNUM, BELIEVE_PCC_PROMOTION) - (CONVERT_REGISTER_P, REGISTER_TO_VALUE, VALUE_TO_REGISTER) - (POINTER_TO_ADDRESS, ADDRESS_TO_POINTER, EXTRACT_RETURN_VALUE) - (STORE_RETURN_VALUE, SKIP_PROLOGUE, MEMORY_INSERT_BREAKPOINT) - (BREAKPOINT_FROM_PC, MEMORY_REMOVE_BREAKPOINT, DECR_PC_AFTER_BREAK) - (ADDR_BITS_REMOVE, TARGET_PRINT_INSN, SKIP_TRAMPOLINE_CODE) - (IN_SOLIB_RETURN_TRAMPOLINE, NAME_OF_MALLOC, ADDRESS_CLASS_TYPE_FLAGS) - (ADDRESS_CLASS_TYPE_FLAGS_TO_NAME, ADDRESS_CLASS_TYPE_FLAGS_P). - (ADDRESS_CLASS_NAME_to_TYPE_FLAGS, ADJUST_BREAKPOINT_ADDRESS) - (PRINT_FLOAT_INFO, PRINT_VECTOR_INFO, INTEGER_TO_ADDRESS) - (SKIP_PERMANENT_BREAKPOINT, TARGET_VIRTUAL_FRAME_POINTER) - (SOFTWARE_SINGLE_STEP_P) - - (push_dummy_call, stabs_argument_has_addr, unwind_sp, unwind_pc) - (print_registers_info, push_dummy_code, unwind_dummy_id): Rework - - (REGISTER_CONVERT_TO_TYPE, END_OF_TEXT_DEFAULT, GDB_MULTI_ARCH) - (GDB_TARGET_IS_HPPA, DEPRECATED_GET_SAVED_REGISTER) - (SYMBOLS_CAN_START_WITH_DOLLAR, DEPRECATED_INIT_EXTRA_FRAME_INFO) - (DEPRECATED_INIT_FRAME_PC, DEPRECATED_SIGTRAMP_START) - (IN_SOLIB_CALL_TRAMPOLINE, NO_HIF_SUPPORT, REGISTER_CONVERTIBLE) - (DEPRECATED_REGISTER_RAW_SIZE, PARM_BOUNDARY, DEPRECATED_STACK_ALIGN) - (PROLOGUE_FIRSTLINE_OVERLAP, DEPRECATED_POP_FRAME, STEP_SKIPS_DELAY) - (TARGET_COMPLEX_BIT, TARGET_DOUBLE_COMPLEX_BIT) - (OS9K_VARIABLES_INSIDE_BLOCK, KERNEL_U_ADDR, KERNEL_U_ADDR_HPUX) - (REGISTER_U_ADDR, U_REGS_OFFSET, DEBUG_PTRACE): Remove description. - - (Converting an existing Target Architecture to Multi-arch): Remove - section. - - (gdbarch_unwind_pc, gdbarch_unwind_sp): Renew code example. - (gdbarch_addr_bits_remove): Add code example. - - * gdb.texinfo: Replace REGISTER_NAME by gdbarch_register_name. - -2007-07-02 Daniel Jacobowitz - - * gdb.texinfo (Remote Configuration): Document library-info-packet. - Add other missing entries. Adjust the table size to fit. - (Stop Reply Packets): Use @itemize instead of @enumerate. Document - stop reasons including the new "library" event. - (General Query Packets): Adjust table widths for qSupported. Mention - qXfer:libraries:read reply to qSupported and document the new packet. - (Library List Format): New section. - -2007-07-01 Jan Kratochvil - - * gdb.texinfo (Attach): Fixed GDB exit inferior detachment. - -2007-06-28 Michael Snyder - - * gdbint.texinfo (Table, Tuple and List Functions) Fix typo. - -2007-06-25 Nick Roberts - - * gdbint.texinfo (Register and Memory Data): Break sections - into nodes and add a menu. - -2007-06-21 Maciej W. Rozycki - - * gdb.texinfo (Examining Memory): Document the new behaviour. - -2007-06-21 Vladimir Prus - - * gdb.texinfo (Standard Target Features): Document - m68k features. - -2007-06-18 Daniel Jacobowitz - - * gdb.texinfo (General Query Packets): Document qOffsets changes. - -2007-06-13 Daniel Jacobowitz - - * gdb.texinfo (Target Description Format): Add version attribute - for . - -2007-06-13 Daniel Jacobowitz - - * gdb.texinfo (MIPS Features): Document org.gnu.gdb.mips.linux. - -2007-06-13 Daniel Jacobowitz - - * gdb.texinfo (MIPS Features): New subsection. - -2007-06-12 Ulrich Weigand - Markus Deuling - - * gdb.texinfo (General Query Packets): Document qXfer:spu:read - and qXfer:spu:write packets and mention them under qSupported. - -2007-06-12 Ulrich Weigand - Markus Deuling - - * gdb.texinfo (Architectures): Add new SPU section to document - Cell Broadband Engine SPU architecture specific commands. - -2007-06-09 Vladimir Prus - - * gdb.texinfo (GDB/MI Variable Objects): Editorial - comments. - -2007-06-07 Nick Roberts - - * gdb.texinfo (Emacs): Describe GDB under Emacs 22.1. - -2007-05-29 Jim Blandy - - * gdb.texinfo (Overview): Doc fix. - -2007-05-22 Maciej W. Rozycki - - * gdb.texinfo (Remote Configuration): Document "set/show - remoteflow". - -2007-05-16 Daniel Jacobowitz - - * gdb.texinfo (MIPS): Remove documentation for set mips - saved-gpreg-size, show mips saved-gpreg-size, and set mips - stack-arg-size. - -2007-05-14 Bob Wilson - - * all-cfg.texi (GDBTUI): New. - * gdb.texinfo (Mode Options): Use GDBTUI variable. - (TUI, TUI Overview, TUI Keys, TUI Single Key Mode, TUI Commands) - (TUI Configuration): Edit to improve clarity and fix problems of - both style and content. - -2007-05-11 Ulrich Weigand - - * observer.texi (GDB Observers): New observer "new_objfile". - -2007-05-08 Ulrich Weigand - - * gdbint.texinfo (Native Conditionals): Remove USE_PROC_FS. - -2007-04-14 Vladimir Prus - - * gdb.texinfo (GDB/MI Variable Objects): Document - frozen variables objects. - -2007-04-13 Paul Brook - - * gdb.texinfo: Document ieee_single and ieee_double target types. - -2007-04-13 Daniel Jacobowitz - - * gdb.texinfo (Memory): Reference Remote Debugging chapter. - (Character Sets, Caching Data of Remote Targets): Likewise. - (Targets): Delete Remote node. Move its text... - (Debugging Remote Programs): ...to here. Delete description - of the "remote" command. - (Remote configuration): Delete description of "set remotedevice" - and "show remotedevice". - (Embedded Processors): Delete H8/300, H8/500, and SH nodes. - -2007-04-11 Steve Ellcey - - * gdbint.texinfo (warning flags): Add -Wno-char-subscripts. - -2007-04-11 Bob Wilson - - * gdb.texinfo (Contributors, Continuing and Stepping) - (Fortran Defaults, HPPA, TUI, TUI Commands, Configure Options) - (General Query Packets, File-I/O Remote Protocol Extension) - (Protocol Basics, The F Reply Packet, Write) - (Protocol-specific Representation of Datatypes, Memory Transfer): - Fix hyphenation, punctuation and grammar problems. - (Cygwin Native): Likewise. Also fix misuse of @pxref and use - 'section' instead of 'subsection' in the text. - (Non-debug DLL Symbols): Avoid 'subsubsection' in the text. - (i386): Remove period from section name. - (Installing GDB, Requirements, Running Configure, Separate Objdir) - (Config Names, Configure Options): Use @file{configure}. - -2007-04-11 Daniel Jacobowitz - - * gdbint.texinfo (Writing Tests): Mention gdb_test_multiple - and tab expansion. - -2007-04-10 Daniel Jacobowitz - - * gdbint.texinfo (SOM): Correct location of the SOM reader. - -2007-04-02 Bob Wilson - - * gdb.texinfo: Consistently capitalize all significant words in - node names, chapter titles, section titles, and headings. Update - cross references to match. - (Starting and Stopping Trace Experiment): Make node name plural. - (Breakpoint related warnings): Hyphenate "Breakpoint-related". - -2007-03-30 Pedro Alves - - * gdb.texinfo (WinCE): Delete obsolete subsection. - -2007-03-30 Daniel Jacobowitz - - * gdb.texinfo (M68K): Remove obsolete ROM monitors. - * gdbint.texinfo (DWARF 1): Delete section and other dwarfread.c - references. - -2007-03-30 Daniel Jacobowitz - - * gdb.texinfo (Startup): Delete references to some alternate - names for .gdbinit. - (Thread): Remove LynxOS reference. - (Tandem ST2000): Delete target-specific documentation. - * gdbint.texinfo (Symbol Handling): Remove mention of NLM. - (Target Architecture Definition): Remove mention of GDB_OSABI_NETWARE - and GDB_OSABI_LYNXOS. - -2007-03-29 Ulrich Weigand - - * gdbint.texi (Native Conditionals): Remove PTRACE_ARG3_TYPE. - -2007-03-27 Ulrich Weigand - - * gdbint.texinfo (Target Conditionals): Remove mention of - DEPRECATED_REMOTE_BREAKPOINT, DEPRECATED_BIG_REMOTE_BREAKPOINT, - and DEPRECATED_LITTLE_REMOTE_BREAKPOINT. - -2007-03-27 Brooks Moses - - * Makefile.in: Add "pdfdir" installation - directory, PDFTEX macro, support for "install-pdf" target, - and rules for making a pdf version of refcard.texi. - * refcard.tex: Specify paper size for PDF output. - -2007-03-26 Bob Wilson - - * gdb.texinfo (Omissions from Ada, Additions to Ada): Wrap long lines. - -2007-03-26 Bob Wilson - - * gdb.texinfo (Invoking GDB): Use @value{GDBP}. - (Source Path, Character Sets, Macros, Define) - (GDB/MI Result Records, GDB/MI Simple Examples) - (GDB/MI Program Execution, GDB/MI File Commands) - (Maintenance Commands, Packets, File-I/O Overview): Use @value{GDBN}. - (Bug Reporting): Use @value{GCC}. - -2007-03-26 Bob Wilson - - * gdb.texinfo (Help): Fix formatting of examples. - (Variables): Use @ifnotinfo instead of @iftex. - (Non-debug DLL symbols): Use @ref instead of @pxref. - (Sparclet File): Use @samp instead of quotes. - -2007-03-26 Bob Wilson - - * gdb.texinfo (Variables, C): Update cross reference to GCC docs. - -2007-03-26 Bob Wilson - - * gdb.texinfo (Top): Move TUI and Annotations menu entries to match - the order of the nodes. - (C Operators, C Constants, Debugging C): Remove extra menus. - (Method Names in Commands): Do not specify next/prev/up nodes. - -2007-03-26 Bob Wilson - - * gdb.texinfo (File Options): Add missing parenthesis. - (Breakpoints, Special Fortran commands, PowerPC): Fix typos. - -2007-02-26 Daniel Jacobowitz - - * gdb.texinfo (Monitor commands for gdbserver): New subsection. - -2007-02-26 Daniel Jacobowitz - - * gdb.texinfo (Standard Target Features): Mention - case insensitivity. - (ARM Features): Describe org.gnu.gdb.xscale.iwmmxt. - -2007-02-18 Nick Roberts - - * gdb.texinfo (Top): Put Appendix A after numbered sections. - (Files): Add section name to argument list for pxref. - (Non-debug DLL symbols): Don't use `see' for pxref. - (Embedded Processors): Fix typo. - (GDB/MI Breakpoint Commands): Execution commands generate - *stopped not ^done. - -2007-02-13 Nick Roberts - - * gdb.texinfo (GDB/MI Variable Objects): Describe meanings of - values for in_scope. Mention that only root variables can be - updated. - (GDB/MI Development and Front Ends): Explain new values may be - added to existing fields. - -2007-02-08 Daniel Jacobowitz - - * gdb.texinfo (-target-disconnect): Use @smallexample. - (Requirements): Add anchor for Expat. Update description. - (Target Descriptions): Mention Expat. - (Target Description Format): Document new elements. Use - @smallexample. - (Predefined Target Types, Standard Target Features): New sections. - * gdbint.texinfo (Target Descriptions): New section. - -2007-02-07 Daniel Jacobowitz - - * gdb.texinfo (Target Description Format): Add section on XInclude. - -2006-02-03 Nick Roberts - - * gdb.texinfo (GDB/MI Miscellaneous Commands): Describe the new - command -enable-timings. - -2007-02-02 Markus Deuling (tiny change) - - * gdbint.texinfo (Operation System ABI Variant Handling): Update - descriptions for new/deleted elements in gdb_osabi. Add missing - description for function generic_elf_osabi_sniff_abi_tag_sections. - -2007-01-29 Joel Brobecker - - * gdb.texinfo (Maintenance Commands): Add documentation for - the new "maint print target-stack" command. - -2007-01-26 Jan Kratochvil - Eli Zaretskii - - * gdb.texinfo: Describe CHAR array vs. string identification rules. - -2007-01-26 Eli Zaretskii - - * gdb.texinfo (Compilation, Files, Bootstrapping, Bug Reporting): - Use @value{NGCC} instead of @value{GCC}. - -2007-01-20 Ralf Wildenhues (tiny change) - - * agentexpr.texi: Fix typos. - * annotate.texinfo: Likewise. - * gdb.texinfo: Likewise. - * gdbint.texinfo: Likewise. - * observer.texi: Likewise. - * stabs.texinfo: Likewise. - -2007-01-20 Markus Deuling (tiny change) - - * gdbint.texinfo (Support Libraries): Remove mmalloc - entry. Describe readline library. - -2007-01-09 Daniel Jacobowitz - - * gdb.texinfo (Target Descriptions): New section. - (General Query Packets): Add QPassSignals anchor. Mention - qXfer:features:read under qSupported. Expand mentions of - qXfer:memory-map:read and QPassSignals. Document - qXfer:features:read. - -2007-01-08 Daniel Jacobowitz - - * gdb.texinfo (Commands to specify files): Describe - "set sysroot" and "show sysroot". - (Using the `gdbserver' program): Lowercase argument - to @var. Expand description of setting up GDB on the - host. - -2007-01-05 Joel Brobecker - - * gdb.texinfo (Set Catchpoints): Add documentation for the new - catch exception, catch exception unhandled, and catch assert - commands. - -2007-01-04 Daniel Jacobowitz - - * gdb.texinfo (Debugging Output): Document "set debug xml" - and "show debug xml". - -2007-01-04 Daniel Jacobowitz - - * gdbint.texinfo (Compiler Warnings): Update for -Wall use. - -2007-01-01 Joel Brobecker - - * gdbint.texinfo (Start of New Year Procedure): Add missing item. - -2006-12-08 Vladimir Prus - - * gdb.texinfo (GDB/MI Variable Objects): Wrap historical - note in @ignore, to be removed later if nobody complains. - -2006-12-04 Nick Roberts - - * gdb.texinfo (GDB/MI Variable Objects): Describe -c option - of -var-delete. - -2006-11-22 Vladimir Prus - - * gdb.texinfo (Setting breakpoints): Document - automatic software/hardware breakpoint usage and - the "set breakpoint auto-hw" command. - -2006-11-21 Vladimir Prus - - * gdb.texinfo (Memory Access Checking): New. - -2006-11-16 Daniel Jacobowitz - - * gdb.texinfo (Remote configuration): Mention - "pass-signals-packet". - (General Query Packets): Document QPassSignals. Fix - a typo. - -2006-11-14 Maxim Grigoriev - - * gdb.texinfo (Contributors): Add contributors of Xtensa port. - -2006-11-14 Daniel Jacobowitz - - * gdb.texinfo (Remote configuration): Rewrite documentation for - packet configuration commands. - (OS Information): Adjust reference to qXfer:auxv:read. - (General Query Packets): Remove references to read-aux-vector-packet - and set remote get-thread-local-storage-address. - -2006-11-10 Daniel Jacobowitz - - * gdbint.texinfo (Target Architecture Definition): Add new - Initializing a New Architecture section. - -2006-10-31 David Taylor - - * stabs.texinfo (Macro define and undefine): New node describing - stabs for #define and #undef. - -2006-10-27 Andreas Schwab - - * gdb.texinfo (Processes): Rename "detach-fork" to "detach fork". - -2006-10-21 Eli Zaretskii - - * gdb.texinfo (Breakpoints, Set Watchpoints): Elaborate and - clarify on the possible meanings of ``expression'' watched by - watchpoints. Add indexing. - (Prompting, Errors, Invalidation, Annotations for Running) - (Source Annotations): Fix index entries by adding "annotation" to - them, to discriminate from index entries that point to the more - general topic descriptions. - -2006-10-17 Daniel Jacobowitz - - * gdbint.texinfo (Target Vector Definition): Move most - content into Existing Targets. Add a menu. - (Existing Targets): New section, moved from Target Vector - Definition. Use @subsection. - (Managing Execution State): New section. - -2006-10-16 Bob Wilson - - * gdb.texinfo (ST2000): Use Ctrl- instead of C-. - -2006-10-15 Eli Zaretskii - - * gdb.texinfo (Sample Session, Invocation, Quitting GDB) - (Command Syntax, Signals, Backtrace, Connecting) - (Remote configuration, Renesas Boards, Console I/O): Fix last - change: use Ctrl- instead of C-, except wrt Emacs. - (File-I/O Examples): Put Ctrl-c in @kbd. - (Cygwin Native, File-I/O Overview, The Ctrl-C message) - (Console I/O): Use @samp with Ctrl-. - (Signals, Set Breaks, Set Watchpoints): Document optional - arguments to `info signals' `handle', `info breakpoints', and - `info watchpoints'. - -2006-10-14 Eli Zaretskii - - * gdb.texinfo (Backtrace): Fix last change. - -2006-10-14 Nick Roberts - - * gdb.texinfo (Backtrace): Order correctly and add other cases. - -2006-10-10 Bob Wilson - - * gdb.texinfo (Command Syntax, Connecting, Remote configuration) - (Renesas Boards, ST2000, TUI Keys, TUI Single Key Mode) - (TUI Commands, Emacs, Console I/O): Fix @key and @kbd usage. - -2006-09-21 Vladimir Prus - Daniel Jacobowitz - - * gdb.texinfo (Packets): Document vFlashErase, - vFlashWrite and vFlashDone packets. - (General Query Packets): Document qXfer:memory-map:read. - Add a new feature for qXfer:memory-map:read. - (Memory map format): New section. - (Target Commands): Mention that gdb can write flash. - -2006-09-21 Vladimir Prus - Daniel Jacobowitz - - * gdb.texinfo (Memory Region Attributes): Mention target-supplied - memory regions and "mem auto". - -2006-09-21 Nathan Sidwell - - * gdbint.texinfo (Array Containers): New section. - -2006-09-17 Vladimir Prus - - * gdb.texinfo (GDB/MI Stack Manipulation): Mention that - -stack-list-arguments HIGH_FRAME argument can be larger then the - actual number of frames. - -2006-09-07 Vladimir Prus - - * gdb.texinfo (GDB/MI Stack Manipulation): Mention that - -stack-list-locals HIGH_FRAME argument can be larger then the - actual number of frames. - -2006-09-02 Bob Wilson - - * gdb.texinfo (Packets, Stop Reply Packets, General Query Packets, - Register Packet Format, Tracepoint Packets): Fix spelling errors. - -2006-09-02 Eli Zaretskii - - * gdbint.texinfo (Overall Structure): New section "Source Tree - Structure". - -2006-08-17 Jim Blandy - - * gdb.texinfo (Stop Reply Packets): Note similarity of 'S' and 'T' - responses. - -2006-08-08 Joel Brobecker - - * gdb.texinfo (Source Path): Add documentation for new - substitute-path commands. - -2006-08-08 Daniel Jacobowitz - - * gdb.texinfo (Installing GDB): Update menu. Move text to... - (Running Configure): ...here. - (Requirements): New node. Mention expat. - -2006-08-08 Vladimir Prus - - * gdb.texinfo (Target Commands): Remove - 'set download-write-size' and 'show download-write-size'. - -2006-08-01 Daniel Jacobowitz - - * stabs.texinfo (Member Type Descriptor): Correct example for - pointer to member types. - -2006-07-21 Andrew Stubbs - - * gdb.texinfo (Optional warnings and messages): Add - 'set/show trace-commands'. - (Command files): Add '-v' to source command. - -2006-07-12 Daniel Jacobowitz - - * gdb.texinfo (OS Information): Update qPart reference to - qXfer. - (Remote configuration): Likewise. - (Overview): Move @cindex to the start of a paragraph. Talk - about binary data encoding. - (Packets): Refer to the overview for the details of the X - packet encoding. - (General Query Packets): Remove qPart description. Add qXfer - description. Add an anchor to qSupported. Correct feature - table title. Add a new feature for qXfer:auxv:read. - (Interrupts): Add a missing parenthesis. - -2006-07-05 Daniel Jacobowitz - - * gdb.texinfo (KOD): Remove node. - (GDB/MI Kod Commands): Remove commented out node. - -2006-07-01 Eli Zaretskii - - * gdb.texinfo (GDB/MI Output Syntax, GDB/MI Simple Examples) - (GDB/MI Breakpoint Commands, GDB/MI Program Context) - (GDB/MI Thread Commands, GDB/MI Program Execution) - (GDB/MI Stack Manipulation, GDB/MI Variable Objects) - (GDB/MI Data Manipulation, GDB/MI Symbol Query) - (GDB/MI File Commands, GDB/MI Target Manipulation) - (GDB/MI Miscellaneous Commands): Change (@value{GDBP})->(gdb), - since the MI prompt is hard-wired into the code. - -2006-07-01 Nick Roberts - - * gdb.texinfo (GDB/MI Compatibility with CLI): Qualify more carefully. - (GDB/MI Simple Examples): Use @subheading for "A Bad Command". - (GDB/MI Data Manipulation): Remove description of unimplemented - display related commands as variable objects perform this function - and are superior: -display-delete, -display-disable, - -display-enable, -display-insert and -display-list. Move - -environment-cd, -environment-directory, -environment-path - and -environment-pwd to "Program Context". - (GDB/MI Program Control): Rename to "Program Execution". Move - -exec-arguments -exec-abort to... - (GDB/MI Program Context): ...here. New node split from "Data - Manipulation". - -2006-06-21 Daniel Jacobowitz - - * gdb.texinfo (Remote configuration): Document set / show - remote supported-packets. - (General Query Packets): Document qSupported packet. - -2006-06-13 Nathan Sidwell - - * gdb.texinfo (system): Document behaviour with zero length - string. - -2006-06-10 Sandra Loosemore - - * gdb.texinfo (File-I/O overview): Copy edit for grammar, spelling, - and font markup. - (Protocol basics): Likewise. - (The F request packet): Likewise. - (The F reply packet): Likewise. - (Memory transfer): Move this node to be a subsubsection of - "Protocol specific representation of datatypes". - (The Ctrl-C message): More copy editing. - (Console I/O): Likewise. - (The isatty call): Delete this node, and merge its content into - the "isatty" node. Fixed references elsewhere. - (The system call): Delete this node, and merge its content into - the "system" node. Fixed references elsewhere. - (open): Reformat to use @table, and add appropriate font markup. - (close): Likewise. - (read): Likewise. - (write): Likewise. - (lseek): Likewise. - (rename): Likewise. - (unlink): Likewise. - (stat/fstat): Likewise. - (gettimeofday): Likewise. - (isatty): Likewise. - (system): Likewise, plus minor changes to fix confusing wording. - (Integral datatypes): Fix font markup. - (Pointer values): Likewise. - (struct stat): Fix markup to use @table, plus minor copy editing. - (struct timeval): Fix font markup, plus minor copy editing. - (Constants): Minor copy editing. - (Errno values): Add font markup. - (File-I/O Examples): Likewise. - -2006-06-10 Nick Roberts - - * gdb.texinfo (GDB/MI): Remove duplicate acknowledgements. - (GDB/MI Simple Examples): Move node up one level. Use real - examples. - (GDB/MI Compatibility with CLI): Update. - (GDB/MI Result Records): Add "connected" and "exit" result - classes. - (GDB/MI Stream Records): Clarify target output. - (GDB/MI Command Description Format): Modify example description. - (GDB/MI Breakpoint Table Commands): Rename to... - (GDB/MI Breakpoint Commands): ...this - (GDB/MI Breakpoint Commands): Add optional thread field. - (GDB/MI Program Control): Add an introduction. Move "Program - termination" examples into exec-run description. - (GDB/MI File Commands): Mention similar CLI commands. - (GDB/MI Miscellaneous Commands): Move to end. Mention "show version" - is similar to "-gdb-version". - -2006-06-09 Eli Zaretskii - - * gdb.texinfo (Symbols): Fix "(gdb)"=>"(@value{GDBP})". - -2006-06-02 Nick Roberts - - * gdb.texinfo (GDB/MI Development and Front Ends): Use - sourceware.org for mailing lists. - (GDB/MI File Commands): New node split from Program Control. - -2006-06-01 Nick Roberts - - * gdb.texinfo (GDB/MI Development and Front Ends): New node. - -2006-05-22 Eli Zaretskii - - * gdb.texinfo (Cygwin Native): Fix last change. - -2006-05-22 Christopher Faylor - - * gdb.texinfo (Cygwin Native): Document set/show cygwin-exceptions. - -2006-05-15 Nick Roberts - - * gdbint.texinfo (Algorithms): Correct spelling and punctuation. - (Releasing GDB, Testsuite): Remove details for including DejaGnu. - -2006-05-14 Daniel Jacobowitz - - * gdb.texinfo (General Query Packets): Recommend not starting - new packets with qC and clarify. - -2006-05-13 Gaius Mulley - - * gdb.texinfo (M2 Types): New section. - -2006-05-10 Daniel Jacobowitz - - * agentexpr.texi: Add a copyright and license notice. - * observer.texi: Likewise, with GPL clause for function prototypes. - Remove trailing whitespace. - -2006-05-05 Jim Blandy - - * gdb.texinfo (General Query Packets): Document conventions for - terminating packet names, and their violations. - -2006-05-05 Daniel Jacobowitz - - * Makefile.in (GDB_DOC_SOURCE_INCLUDES): Update for readline 5.1. - * gdb.texinfo: Likewise. - -2006-05-05 Daniel Jacobowitz - - * gdb.texinfo (Remote Configuration): Remove "set remotedebug" - and "show remotedebug". - (Debugging Output): Add additional index entries. - -2006-04-27 Michael Snyder - - * gdb.texinfo (delete-fork): Command renamed to "delete fork". - -2006-04-22 Andrew Cagney - - * gdb.texinfo (Contributors): Credit frame unwinder contributors. - * gdbint.texinfo (Algorithms): Fix errors in frame documentation. - -2006-04-18 Daniel Jacobowitz - - * gdbint.texinfo (x86 Watchpoints, Target Conditionals): Update insert - and remove breakpoint prototypes. - (Watchpoints): Move description of target_insert_hw_breakpoint and - target_remove_hw_breakpoint ... - (Breakpoints): ... to here. Document target_insert_breakpoint and - target_remove_breakpoint. - -2006-04-17 Jim Blandy - - * gdb.texinfo (Packets): Note that 'addr' arguments to s, S, c, - and C packets are optional. - -2006-04-14 Frederic Riss - - * gdb.texinfo (Specifying source directories): Update the description - of the source file search to reflect the fact that the source path - always contains at least $cdir and $cwd. - -2006-03-31 Michael Snyder - - * gdb.texinfo: Update copyright dates. - -2006-03-31 Eli Zaretskii - - * gdb.texinfo (Overview): Add an index entry to "empty response". - -2006-03-29 Steve Ellcey - - * gdb.texinfo: Remove gdbserve.nlm documentation. - -2006-03-28 Jim Blandy - - * gdbint.texinfo (Prologue Analysis): New section. - -2006-03-07 Jim Blandy - - * gdb.texinfo (Connecting): Document 'target remote pipe'. - - * gdb.texinfo (Target Commands): Update text describing how to - specify a target. Refer to the detailed section on remote - debugging, not the brief mention. - - * gdb.texinfo (Connecting): Organize the different 'target remote' - connection methods into a table. Add a 'target remote' index - entry. (!!!) - -2006-02-17 Fred Fish - - * gdb.texinfo (Symbols): Update descriptions of 'whatis' and - 'ptype' commands to reflect the fact that the only significant - difference between them is that ptype prints the complete type - description instead of just the name. - -2006-02-13 Wu Zhou - - * gdbint.texinfo (Watchpoints): Delete - TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT. - -2006-02-10 Nick Roberts - - * gdb.texinfo (GDB/MI Breakpoint Table Commands): Add fullname and - times fields where needed. Fix typos. Update general form given - for output of -break-insert. - (GDB/MI): Abbreviate some unnecessarily long fullnames. - -2006-02-06 Daniel Jacobowitz - - * gdbint.texinfo (Symbol Handling): Add a section - on memory management. - -2006-02-06 Vladimir Prus - - * gdb.texinfo (Breakpoint table commands): Document the fullname - field in -break-list output. - -2006-02-03 Eli Zaretskii - - * gdb.texinfo (Cygwin Native): Fix typos. Clarify the types of - debugging information produced by the various "set debug..." - options. - -2006-02-01 Daniel Jacobowitz - - * gdb.texinfo (Files): Remove obsolete bits from the description - of "symbol-file". - -2006-01-25 Jim Blandy - - * gdbint.texinfo (Testsuite): Explain how to run selected tests. - -2006-01-24 Jim Blandy - - * gdbint.texinfo (Frames): Document the basics of GDB's register - unwinding model, and explain the existence of the "sentinel" frame. - -2006-01-23 Andrew Stubbs - - * gdb.texinfo (Choosing files): Mention that -directory is used - for script files. - (Specifying source directories): Likewise. - (Command files): Explain how script files are found. - -2006-01-21 Eli Zaretskii - - * gdb.texinfo (Backtrace): Describe how to get backtrace of all - the threads in a multi-threaded program. - (Threads): The threadno argument of "thread apply" can be a range - of numbers. - -2006-01-18 Jim Blandy - - * gdbint.texinfo (Coding): Add entry for -Wno-pointer-sign to list - of warning flags. - -2006-01-13 Eli Zaretskii - - * gdb.texinfo (Sequences): Improve menu annotations. - (Define): Add index entries for arguments of user-defined - commands. Move the description of flow-control commands... - (Command Files): ...to here. Document loop_break and - loop_continue. - (Define, Command Files): Document `end' and add index entries for - it. - -2006-01-04 Michael Snyder - - * gdb.texinfo: Add documentation for linux-fork. - * gdbint.texinfo: Add internal documentation for checkpoints. - -2006-01-02 Paul N. Hilfinger - - * gdb.texinfo (Omissions from Ada): Document that there is now - limited aggregate support. - -2005-12-28 Eli Zaretskii - - * gdb.texinfo (Registers): Describe how to refer to SSE and MMX - registers and the likes. - -2005-12-24 Eli Zaretskii - - * gdb.texinfo (Target Commands, Bug Reporting, File Options) - (Symbols): Fix usage of "e.g.". - (Memory Region Attributes): Fix usage of "etc." - - * gdbint.texinfo (libgdb, Symbol Handling, Native Debugging) - (Coding): Fix usage of "e.g.". - -2005-12-23 Eli Zaretskii - - * stabs.texinfo: - * refcard.tex: - * gpl.texi: - * gdbint.texinfo: - * gdb.texinfo: - * gdb-cfg.texi: - * fdl.texi: - * annotate.texinfo: - * all-cfg.texi: - * Makefile.in: Add (C) after Copyright. Update the FSF - address. - -2005-12-03 Eli Zaretskii - - * gdb.texinfo (Connecting): Explain that `monitor' is a way to - extend GDB with commands for external monitor. - -2005-12-02 Andrew Stubbs - - * gdb.texinfo (Convenience variables): Add init-if-undefined command. - -2005-11-25 Joel Brobecker - - * gdbint.texinfo (Start of New Year Procedure): New chapter. - -2005-11-21 Jim Blandy - - * gdb.texinfo (Tracepoint Packets): Document restrictions on - placement of 'R' actions in tracepoint action packets; document - dependence of 'X' and 'M' actions on a preceding 'R' action for - their registers. - -2005-11-19 Jim Blandy - - * gdb.texinfo (Tracepoint Packets): New node. - (General Query Packets): Add entries for the tracepoint packets, - referring to the "Tracepoint Packets" node. - (Tracepoints): Add reference to "Tracepoint Packets". - -2005-11-18 Kevin Buettner - - * gdb.texinfo (set remotebreak): Add anchor. - (X packet): Likewise. - (Remote Protocol): Add new section `Interrupts' and new index - entry `interrupts (remote protocol)'. - -2005-11-18 Jim Blandy - - * gdb.texinfo (Packets): Move information out of 'q' and 'Q' - entries into the General Query Packets section. Add a - cross-reference to that section. Drop description of replies, as - these are covered in the descriptions of each packet. - (General Query Packets): Add introductory text. Explain naming - conventions, and how the end of a name is recognized. - -2005-11-17 Kevin Buettner - - * gdb.texinfo (Remote configuration): Fix typo in description of - "set remotebreak" command. - -2005-11-16 Jim Blandy - - * gdb.texinfo (Packets, Stop Reply Packets) - (General Query Packets): Various formatting cleanups. - - Use @samp for packet contents. - - Drop summaries from packet @item lines; the same information appears - immediately below in the description. - - Delete paragraph breaks after packet @item commands, so that the - description appears directly to the right of the packet prototype - in the printed manual, if it fits. - - Place spaces in packet prototypes between @vars and non-@var - letters, and explain that they're just for formatting. - - Use @dots{} instead of '...'. - - Fix uses of @code where @var was needed. - - Replace "deprecated" markers with English text spelling out the - packet's status and the preferred alternatives. - - Remove "(reserved)" markers on 'A' and 'I' packets; it's unclear - what this ever meant. - - Remove "(draft)" markers on 'i' packets; nobody has commented on - this for a long time. - - Remove "(draft)" markers on 'z' and 'Z' packets; these have been - implemented several times, and have been in use for years. - -2005-11-15 Jim Blandy - - * gdb.texinfo (Packets): Add index entries for 'm' packet - disclaimers. - - * gdb.texinfo (Packets): Clarify lack of restrictions on behavior - of stub when processing an 'm' packet. - - * gdb.texinfo (Packets): Mention that packets beginning with - letters are reserved once, at the top, instead of actually listing - them all and saying "reserved". - -2005-11-15 Andrew Stubbs - - * gdb.texinfo (User-defined commands): Add $argc. Add missing 'end'. - Change @var{$arg0 to @code{$arg0. - -2005-11-14 Wu Zhou - - * gdb.texinfo (Fortran): Add some words about Fortran debugging. - -2005-11-12 Jim Blandy - - * gdb.texinfo (General Query Packets): Put packets in alphabetical - order. Remove extraneous 'z'. - -2005-11-07 Andrew Stubbs - - * gdb.texinfo (Choosing files): Add --eval-command. - -2005-11-04 Andrew Stubbs - - * gdb.texinfo (Choosing modes): Add --return-child-result. - - -2005-11-01 Andrew Stubbs - - * gdb.texinfo (Choosing modes): Add --batch-silent. - -2005-10-28 Eli Zaretskii - - * gdb.texinfo (GDB/MI Variable Objects): Fix @pxref usage under - "The -var-update Command". - -2005-10-03 Joel Brobecker - - * gdb.texinfo (Print Settings): Add documentation for set/show - print array-indexes. - -2005-09-17 Daniel Jacobowitz - - * gdb.texinfo (Contributors): Thank Andrew Cagney for releases - 6.2 and 6.3. - -2005-08-27 Eli Zaretskii - - * gdb.texinfo (File Options): Don't document --mapped, it's gone - since 19-Jan-2004. - (Files): Likewise. - (Variables, Symbols): Document the "" message and - its reasons. - -2005-08-01 Fred Fish - - * gdb.texinfo (SETUP_ARBITRARY_FRAME): Remove obsolete reference. - -2005-07-15 Nick Roberts - - * gdb.texinfo (GDB/MI Variable Objects): Describe print-values - option for -var-list-children and -var-update. - (GDB/MI Stack Manipulation): Simplify description of - print-values option for -stack-list-locals. - (GDB/MI Command Description Format): Clarify. - (Mode Options): Spelling of superseded. - -2005-07-12 Bob Rossi - - * gdb.texinfo (GDB/MI Miscellaneous Commands): Fix -inferior-tty-show - corresponding GDB command comment. - -2005-07-06 Bob Rossi - - * gdb.texinfo (GDB/MI Miscellaneous Commands): Add -inferior-tty-set - and -inferior-tty-show. - (Input/Output): Document "set/show inferior-tty" and tty alias. - -2005-07-02 Nathan J. Williams - - * gdb.texinfo (Packets): Change description of 'D' packet to note - that GDB does wait for a response. - -2005-06-22 Nick Roberts - - * gdb.texinfo (History) Rename "Command History". - (Command History): Move node "Server Prefix" from section on - Annotations here. - -2005-06-19 Nick Roberts - - * gdb.texinfo (GDB/MI Stack Manipulation): - Re-instate -stack-info-frame with example. Say that it gets - info on selected frame, not current frame. - -2005-06-18 Eli Zaretskii - - * gdb.texinfo (Server): Clarify that `file' should be used before - connecting to the server. - (Files): Add an xref to the above description. - (Output Formats): More detailed description of the `c' format. - (Memory): List explicitly all the formats supported by `x'. - (Threads): Add an @cindex entry for "thread apply". - (Files): Document the possibility of loading unlinked object - files. Add more indexing for solib-absolute-prefix and - --with-sysroot. - (Machine Code): Document possible problems with locations in - shared libraries. - (Backtrace): Document that free-standing environments do not need - to have a `main' function. - -2005-06-18 Nick Roberts - - * gdb.texinfo (GDB/MI Stack Manipulation): Remove reference to - -stack-info-frame. - -2005-06-07 Andrew Cagney - - * gdb.texinfo (Contributors): Note the original multi-arch - contributors. - -2005-06-03 Eli Zaretskii - - * gdb.texinfo (Registers): Add index entries for the standard - registers. - (Frames): Add cross-reference from frame pointer description to - the Registers node. - (Annotations Overview): Fix the reference to GDB name. - -2005-06-01 Eli Zaretskii - - * gdb.texinfo (Set Watchpoints): Remove @vindex entry for - can-use-hw-watchpoints. - -2005-05-28 Bob Rossi - - * gdb.texinfo (GDB/MI Out-of-band Records): Add bullet enumerating - the possible reasons why an exec async record would be returned to FE. - -2005-05-26 Andrew Cagney - - * gdb.texinfo: Note that Elena Zannoni, Fernando Nasser, and - Andrew Cagney implemented the original GDB/MI. - -2005-05-23 Orjan Friberg - - * gdb.texinfo (CRIS): Update the cris-version and cris-dwarf2-cfi - documentation. Add documentation for cris-mode. - -2005-05-20 Eli Zaretskii - - * gdb.texinfo (Numbers): Explain the example and make the wording - more acurate. - -2005-05-17 Daniel Jacobowitz - Dennis Brueni - - * gdb.texinfo (GDB/MI Breakpoint Table Commands) - (GDB/MI Data Manipulation, GDB/MI Program Control) - (GDB/MI Stack Manipulation): Update examples to include the fullname - attribute in stack frames. - -2005-05-12 Eli Zaretskii - - * gdb.texinfo (Startup): Fix last change. Treat gdb.ini like we - do with other non-standard names of init files. - -2005-05-11 Eli Zaretskii - - * gdb.texinfo (Command Files): Move the description of the startup - from here... - (Startup): ...to this new subsection of the Invocation chapter. - Rearrange the description of init files more logically and add a - cross-reference to "Command Files". Document the special gdbinit - name for CISCO 68k. Expand the description of what GDB does - during startup. - (History): Add index entry for HISTSIZE. - -2005-05-02 Mark Kettenis - - * gdb.texinfo (Files): Remove documentation for auto-solib-limit. - -2005-05-02 Eli Zaretskii - - * gdb.texinfo (SVR4 Process Information, The isatty call) - (The system call): Don't use foo(N) notation for man pages and - functions. - (Compilation, DJGPP Native): Improve wording. - -2005-04-27 Eli Zaretskii - - * gdb.texinfo (Backtrace): Describe backtraces with arguments that - were optimized away. - -2005-04-22 Eli Zaretskii - - * gdb.texinfo (Remote configuration): Document "set/show - get-thread-local-storage-address". Add cross-reference to the - description of the qGetTLSAddr packet. - (General Query Packets): Mention "set remote - get-thread-local-storage-address" and add a reference to its - description. - -2005-04-19 Nick Roberts - - * gdb.texinfo (Backtrace): Describe 'bt full'. - -2005-04-17 Nick Roberts - - * gdb.texinfo (Mode Options): Fix typo. - (GDB/MI): Describe how to invoke GDB/MI. - -2005-04-16 Eli Zaretskii - - * gdb.texinfo (OS Information): Renamed from Auxiliary Vector; all - references changed. Add description of "info udot". - (Files): Document "set/show stop-on-solib-events". - (M32R/D): Document "set/show download-path", "set/show - board-address", "set/show server-address", "upload", "tload". - Document "sdireset", "sdistatus", "debug_chaos", "use_debug_dma", - "use_mon_code", "use_ib_break", "use_dbt_break". - (Maintenance Commands): Improve indexing. - (Target Commands): Document "set/show hash", "set/show debug - monitor". - (SVR4 Process Information): Document "info pidlist" and "info - meminfo". Document "set/show procfs-tarce" and "set/show - procfs-file". Document "proc-trace-*" and "proc-untrace-*". - (Symbols, The Print Command with Objective-C): Improve indexing. - (Objective-C): Add references to "info classes" and "info - selectors". - (Debugging Output): Improve wording. Document "set/show debug - solib-frv". Fix "set/show debugvarobj". - (Set Breaks): Add index entry for "hardware breakpoints". - (Renesas ICE): Document "e7000", "ftplogin", "ftpload", "drain", - and "set/show usehardbreakpoints". - (MIPS Embedded): Document "se/show syn-garbage-limit", "set/show - monitor-prompt", "set/show monitor-warnings", "pmon". - (ARM): Document "rdilogfile", "rdilogenable", "set/show - rdiromatzero", "set/show rdiheartbeat". - (PowerPC): Document SDS-specific commands "set/show sdstimeout", - "sds". - (Embedded Processors): Document the "sim" command. - (Remote): Document the "remote" command. - (DJGPP Native): Document the "info serial" command. - (Threads): Document "maint info sol-threads". - (Files): Document "nosharedlibrary", "add-symbol-file-from-memory". - (Set Breaks): Improve indexing. - (Command Syntax): Add a reference to dont-repeat. - (Define): Document "dont-repeat". - (TUI Commands): Document "tabset". - (WinCE): New subsection. Document "set/show remotedirectory", - "set/show remoteupload", "set/show remoteaddhost". - -2005-04-15 Eli Zaretskii - - * gdb.texinfo (Hurd Native): New subsection, documents - Hurd-specific commands. - (Maintenance Commands): Add cross-reference to "Debugging Output". - (Debugging Output): Document "set/show debug lin-lwp". - (MIPS): Improve documentation of heuristic-fence-post. Document - "set/show mips abi", "set/show mips saved-gpreg-size", "set/show - mips stack-arg-size", "set/show mips mask-address", "set/show mips - remote-mips64-transfers-32bit-regs", "set/show debug mips". - (ARM): Document ARM-specific commands. - (AVR): New section. Document "info io_registers". - (CRIS): New section. Document "set/show cris-version" and - "set/show cris-dwarf2-cfi". - (HPPA): New section. Document "set/show debug hppa" and "maint - print unwind". - (Neutrino): New subsection. Document "set/show debug nto-debug". - (Super-H): New section. Document the "regs" command. - (Debugging Output): Document "set/show debug aix-thread". - -2005-04-09 Eli Zaretskii - - * gdb.texinfo (Print Settings): Document "set/show print - pascal_static-members", "set print repeats", "show print - null-stop". Improve indexing. Fix documentation of "set print - union". - (Pascal): New section. - (Supported languages): Rename from "Support"; all references - updated. Add a menu item for Pascal. - (Numbers): Document "set radix. - (Screen Size): Document "set/show pagination". - (MIPS Embedded): Remove "set processor" documentation. - (Remote configuration): Document "set/show X/P/Z-packet", - "set/show read-aux-vector-packet", "set/show remote - symbol-lookup-packet", "set/show remote verbose-resume-packet", - "set/show remoteaddresssize", "set/show remotebaud", "set/show - remotedebug", "set/show remotebreak", "set/show remotedevice", - "set/show remotelogfile". - (Auxiliary Vector): Add reference to the description of the - read-aux-vector-packet setting. - (Set Watchpoints): Add a cross-reference to "set remote - hardware-breakpoint-limit". - (General Query Packets): Add indexing of requests and - cross-references to related commands in "Remote configuration". - (File-I/O Overview, The system call): Fix wording and typos. - (Thread Stops): Add index entries. - (Continuing and Stepping): Document "show step-mode". - (i386): New node. Document "set/show struct-convention". - (Files): Document "show trust-readonly-sections". - (Calling): Document "set/show unwindonsignal". - (Messages/Warnings): Add index entries. - (Maintenance Commands): Document "set/show watchdog". - (Annotations Overview): Document "show annotate". - (Set Watchpoints): Add index entries. - (Symbols): Fix doc of case-sensitive. - (ABI): Document "show coerce-float-to-double". - (Convenience Vars, Help): Improve indexing. - (Machine Code): Document "show disassembly-flavor". - (Debugging C plus plus): Document "show overload-resolution". - (Value History, Signaling): Add index entries. - -2005-04-08 Eli Zaretskii - - * gdb.texinfo (Show): Move @kindex entries to their proper places. - (Processes): Fix wording. - (History, List, Logging output, Define, Symbols, Print Settings): - Improve indexing. - -2005-04-03 Eli Zaretskii - - * gdb.texinfo (Targets): Document "set/show architecture". Remove - redundant index entry for "target" command. - (Backtrace): Add index entries. - (Symbols, Fortran): Document the "set case-sensitive" command. - (DJGPP Native): Document "set com1base", "set com1irq", etc. - (Print Settings): Add index entry for "set demangle-style". - (Target Commands): Document "set download-write-size". - (Debugging Output): Document "set exec-done-display". - -2005-04-02 Eli Zaretskii - - * gdb.texinfo (Files): Fix the name and documentation of - add-shared-symbol-files. Document its alias assf. Update the - list of OSs where GDB supports shared libraries. Fix markup. - (Continuing and Stepping): Add reference to @var{location} in the - text. - (Dump/Restore Files): Fix reference to @{filename}. - (Help): Fix wording. - (Attach): Ditto. - (Set Watchpoints): Ditto. - (Backtrace): Remove redundant index entries. Improve index - entries. - (Delete Breaks): Fix wording. - (Memory): Document the compare-sections command. - (Memory Region Attributes): Improve wording. - (Disabling): Improve wording. - (Fortran): New subsection. Document the "info common" command. - (Help): Document aliases "info copying" and "info warranty". - (Caching Remote Data): New section. Document the "set/show - remotecache" and "info dcache" commands. - (Show): Fix wording of the documentation of the "set - extension-language" command. - (Signals): Add index entry for "info handle". - (Memory Region Attributes): Fix punctuation. - (Symbols): Change the arg name to "location" and refer to it in - the text. Fix wording of "info types" doc. - (Threads): Fix usage of @enumerate @item's. - (Listing Tracepoints): Add index entry for "info tp". - (Set Watchpoints): Add xref to "info break" description. - (Macros): Add an index entry for "macro exp1". Document the - "macro list" command. - (Maintenance Commands): Document "flushregs", "maint agent", - "maint check-symtabs", "maint cplus", "maint demangle", "maint - deprecate", "maint undeprecate", "maint dump-me", "maint packet", - "maint print architecture", "maint print objfiles", "maint print - statistics", "maint print type", "maint show-debug-regs", "maint - space", "maint time", and "maint translate-address". - (Connecting): Document the "monitor" command. - (Annotations Overview): Describe the "set annotate" command. - -2005-04-01 Eli Zaretskii - - * gdb.texinfo (Set Watchpoints): Document can-use-hw-watchpoints. - Rearrange index entries and improve wording about support for - hardware watchpoints. - -2005-03-10 Bob Rossi - - * gdb.texinfo: Update copyright - -2005-02-09 Theodore A. Roth - - * gdb.texinfo (General Query Packets): Fix texinfo compile warning and - error. - -2005-03-07 Joel Brobecker - - * observer.texi (executable_changed): New observer. - -2005-02-03 Kevin Buettner - - * gdb.texinfo (General Query Packets): Document qGetTLSAddr packet. - -2005-01-17 Michael Snyder - - * gdb.texinfo: Fix spelling, infinte -> infinite. - -2005-01-08 Mark Kettenis - - * observer.texi (GDB Observers): Document "solib_loaded". - -2005-01-07 Andrew Cagney - - * configure.ac: Rename configure.in, require autoconf 2.59. - * configure: Re-generate. - - * configure.in: Replace configdirs with multiple references to - AC_CONFIG_SUBDIRS. - * configure: Re-generate. - -2005-01-04 Andrew Cagney - - * gdbint.texinfo (Versions and Branches): Make the date (YYYYMMDD) - part of the version number. - -2004-12-24 Mark Kettenis - - * gdbint.texinfo (Algorithms): Remove description of - TARGET_DISABLE_HW_WATCHPOINTS and TARGET_ENABLE_HW_WATCHPOINTS. - -2004-12-07 Jim Blandy - - * gdb.texinfo (General Query Packets): Specify that thread ID's in - the 'qC' and 'qThreadInfo' packets are unsigned hexidecimal - numbers. - -2004-12-07 Andreas Schwab - - * gdb.texinfo (Mode Options): Document -l option. - -2004-12-04 Eli Zaretskii - - * gdbint.texinfo (Algorithms): More accurate description of - STOPPED_BY_WATCHPOINT. Point out that target_stopped_data_address - is not needed unless data-read and data-access watchpoints are - supported. Add a description of how GDB checks whether the - inferior stopped because a watchpoint was hit. - -2004-11-23 Eli Zaretskii - - * gdb.texinfo (Files): Add cross-reference to description of - -readnow command-line switch. - -2004-11-10 Randolph Chung - - * gdb.texinfo: Document set/show backtrace past-entry commands. - Rearrange index entries for set/show backtrace past-main. - -2004-11-10 Jon Beniston - - Committed by Andrew Cagney . - * gdb.texinfo (Remote Serial Protocol): Further describe - binary transfer escaping mechanism . - -2004-11-08 Randolph Chung - - * gdb.texinfo (inferior_debugging info): Document "set debug infrun" - and "show debug infrun". Add index entries. - -2004-10-23 Eli Zaretskii - - * gdb.texinfo (SVR4 Process Information): Document subcommands of - "info proc" that are already implemented. Add index entries. - (Working Directory): Add a cross-reference to "info proc" command. - (Files): Add a tip for decreasing memory used for symtabs from - shared libraries. - (Starting): Fix whitespace; make "elaboration" stand out where it - is first used, and add an index entry for the term. - (Calling): Expand and elaborate text. Add "print". Add the - description of problems with weak aliases. - (Core File Generation): New section. - -2004-10-12 Andrew Cagney - - * gdbint.texinfo (Versions and Branches): New chapter. - (Releasing GDB): Delete "Versions and Branches" section. - (Top): Add "Versions and Branches". - -2004-10-08 Eli Zaretskii - - * gdb.texinfo (Editing, History): Add cross-references to the - included Readline and History user documentation. Remove - references to the symbol have-readline-appendices which is unused - and undefined. - (History): Fix indexing. - -2004-10-08 Jeff Johnston - - * gdbint.texinfo (target_stopped_data_address): Update to - new prototype. - (i386_stopped_data_address): Update prototype and description. - (i386_stopped_by_watchpoint): New function and description. - -2004-10-03 Paul N. Hilfinger - - * gdb.texinfo (Filenames): Add Ada suffixes. - (Ada) New section. - -2004-09-27 Andrew Cagney - Robert Picco - - * gdb.texinfo (Packets): Document the "p" packet. - -2004-09-21 Jason Molenda (jmolenda@apple.com) - - * gdb.texinfo (Paths and Names of the Source Files): Document the - meaning of values in the 'desc' field of a SO stab. - -2004-09-20 Daniel Jacobowitz - - * gdb.texinfo (Maintenance Commands): Document "maint set dwarf2 - max-cache-age" and "maint show dwarf2 max-cache-age". - -2004-09-16 Eli Zaretskii - - * gdb.texinfo (Set Breaks): Add index entry for setting - breakpoints on overloaded C++ functions that are not members of - any classes. Add an example and an index entry for setting - breakpoints on all program functions. - (Character Sets, Macros, Overlay Commands) - (Non-debug DLL symbols, GDB/MI Output Syntax) - (Annotations Overview, Maintenance Commands, File-I/O Overview): - Use "(@value{GDBP})" instead of a literal "(gdb)". - -2004-09-12 Andrew Cagney - - * gdbint.texinfo (Native Debugging): Delete description of - FILES_INFO_HOOK. - -2004-09-11 Paul Hilfinger - - * gdbint.texinfo (User Interface): Change local_hex_string_custom - to hex_string_custom (not historically correct, but more - understandable, given the current code). - -2004-09-03 Andrew Cagney - - * gdbint.texinfo (Native Debugging): Delete SVR4_SHARED_LIBS. - -2004-09-01 Jeff Johnston - - * observer.texi (solib_unloaded): New observer. - -2004-08-24 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Add missing - comma. - -2004-08-20 Michael Chastain - - * (Using the Testsuite): build != host is supported, - but some test scripts do not support build != host. - -2004-08-14 Mark Kettenis - - * gdbint.texinfo (Host Definition): Delete description of - FCLOSE_PROVIDED and GETENV_PROVIDED. - -2004-08-11 Joel Brobecker - - * gdbint.texinfo (Host Definition): Remove documentation for - USE_O_NOCTTY, no longer used. - -2004-08-05 Mark Kettenis - - * gdbint.texinfo (Host Definition): Delete description of - NO_SYS_FILE. - (Native Debugging): Delete description of KERNEL_U_ADDR_BSD and - PTRACE_FP_BUG. - -2004-08-05 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Delete - reference to deprecated_read_fp. - -2004-08-02 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Delete - description of DEPRECATED_REGISTER_BYTES. - -2004-07-30 Baurjan Ismagulov - - * gdb.texinfo (Source Path): Document the new behavior of - searching for the source files. - -2004-07-17 Eli Zaretskii - - * gdb.texinfo (Edit): Fix markup of EDITOR and improve wording. - (Search, Expressions, Arrays, Variables, Data, Machine Code) - (Auto Display): Improve indexing. - -2004-07-16 Andrew Cagney - - * gdb.texinfo (Mode Options): Delete documentation on "-async" and - "-noasync". - -2004-07-09 Eli Zaretskii - - * gdb.texinfo: Fix @kindex entries so that multiple commands that - have the same prefix have only their prefix in the index. - -2004-07-03 Mark Kettenis - - * gdb.texinfo (BSD libkvm Interface): New node (section) - (Native): Add it to the menu. - -2004-07-01 Mark Kettenis - - * gdbint.texinfo (Target Architecture Definition): Remove - PCC_SOL_BROKEN. - -2004-06-24 Mark Kettenis - - * gdbint.texinfo (Target Architecture Definition): Remove - SUN_FIXED_LBRAC_BUG. - -2004-06-26 Andrew Cagney - - * gdbint.texinfo (Coding): Replace xasprintf with xstrprintf. - -2004-06-20 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Deprecate - USE_STRUCT_CONVENTION. - -2004-06-19 Michael Chastain - - gdb.texinfo (Bug Reporting): Mention session recording, - with the script command or Emacs. - -2004-06-18 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Deprecate - FUNCTION_START_OFFSET. - -2004-06-14 Andrew Cagney - - Based on changes from Karl Berry. - * gdb.texinfo: Do not use @sc in a direntry. - * stabs.texinfo: Change @dircateogry to "Software development". - * gdbint.texinfo, gdb.texinfo, annotate.texinfo: Ditto. - -2004-06-13 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Delete - description of RETURN_VALUE_ON_STACK. - -2004-06-09 Andrew Cagney - - * gdbint.texinfo (Native Debugging): Restore "@table @code" - deleted by previous patch. - -2004-06-08 Andrew Cagney - - * gdbint.texinfo (Native Debugging): Delete documentation on - ATTACH_DETACH. - -2004-06-06 Randolph Chung - - * gdb.texinfo (push_dummy_call): Use @code{struct value}. - -2004-06-06 Randolph Chung - - * gdb.texinfo (push_dummy_call): Update argument list to match - the new push_dummy_call method signature. Describe the function - argument. - -2004-05-24 Joel Brobecker - - * gdb.texinfo (Starting): Document new start command. - -2004-05-21 Andrew Cagney - - * observer.texi (GDB Observers): Document "inferior_created". - -2004-05-08 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Delete - description of DO_DEFERRED_STORES. - - * gdbint.texinfo (Target Architecture Definition): Delete - references to DEPRECATED_FIX_CALL_DUMMY. - - * gdbint.texinfo (Target Architecture Definition): Delete - description of DEPRECATED_CALL_DUMMY_WORDS, - DEPRECATED_SIZEOF_CALL_DUMMY_WORDS, and CALL_DUMMY. - - * gdbint.texinfo (Target Architecture Definition): Delete - description of DEPRECATED_PUSH_DUMMY_FRAME. - - * gdbint.texinfo (Target Architecture Definition): Delete - reference to DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET. - -2004-05-07 Andrew Cagney - - * observer.texi (GDB Observers): Add "Debugging" section. Include - cross reference to "set/show debug observer". - * gdb.texinfo (Debugging Output): Document "set/show debug - observer". - -2004-05-01 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Delete - description of DEPRECATED_PC_IN_SIGTRAMP. - -2004-04-30 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Delete - documentation for BELIEVE_PCC_PROMOTION_TYPE, no longer defined. - -2004-04-30 Orjan Friberg - - * observer.texi (GDB Observers): Correct spelling. - -2004-04-26 Orjan Friberg - - * observer.texi (GDB Observers): Add target_changed event. - -2004-04-08 Andrew Cagney - - * observer.texi (GDB Observers): Rework, provide generic observer - definitions and then a list of observable events. - -2004-04-04 Andrew Cagney - - * gdbint.texinfo (Host Definition): Delete reference to - NO_SIGINTERRUPT. - -2004-04-02 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Delete - reference to DEPRECATED_CALL_DUMMY_LENGTH. - -2004-03-28 Stephane Carrez - - * gdb.texinfo (TUI Commands): Document tui reg commands. - -2004-03-26 Andrew Cagney - - * gdb.texinfo (TUI): Delete reference to --enable-tui. Mention - "gdbtui". - (Mode Options): Mention "gdbtui". Use "Text" not "Terminal". - (Contributors): Mention both Text and Terminal User Interface. - -2004-03-23 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Deprecate - references to SIGTRAMP_START and SIGTRAMP_END. - -2004-03-23 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Deprecate - references to PC_IN_SIGTRAMP. - -2004-03-19 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Delete - reference to GDB_TARGET_IS_HPPA. - -2004-03-18 Andrew Cagney - - * gdbint.texinfo (Coding): Update section on gdbarch_data, - describe pre_init and post_init. - -2004-03-09 Daniel Jacobowitz - - * gdb.texinfo (Debugging Output): Document values for "set debug - target". - -2004-02-28 Andrew Cagney - - * gdb.texinfo (Contributors): Mention GDB 6.1 release engineer. - -2004-02-26 Jeff Johnston - - * gdb.texinfo (breakpoints): Add information about the - new "set breakpoint pending" and "show breakpoint pending" - commands. - -2004-02-26 Andrew Cagney - - * gdbint.texinfo (Coding): Document use of gdbarch_obstack_zalloc - in Per-architecture module data section. - -2004-02-25 Roland McGrath - - * gdb.texinfo (General Query Packets): Document qPart:... packets. - -2004-02-24 Andrew Cagney - - * annotate.texinfo: Wrap fdl.texi include in raise/lower sections. - * gdb.texinfo, gdbint.texinfo, stabs.texinfo: Ditto. - * fdl.texi: Import Version 1.2, November 2002. - -2004-02-17 Andrew Cagney - - * gdb.texinfo (Mode Options): Note that "mi1" is deprecated. - -2004-02-16 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Deprecate - FRAMELESS_FUNCTION_INVOCATION. - -2004-02-16 Andrew Cagney - - * gdbint.texinfo (Coding): Mention -Wunused-function. - -2004-02-14 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Delete - description of DEPRECATED_CALL_DUMMY_STACK_ADJUST. - -2004-02-12 Elena Zannoni - - * gdb.texinfo: Properly quote the name "C++". - * gdbint.texinfo: Ditto. - * stabs.texinfo: Ditto. - -2004-02-11 Elena Zannoni - - * gdbint.texinfo (Support Libraries): Add doco about obstacks and - minimal information about libiberty. - -2004-02-06 Michael Chastain - - * gdb.texinfo (Auxiliary Vector): Fix thinko with @value{GDBN}. - -2004-02-04 Roland McGrath - - * gdb.texinfo (Auxiliary Vector): New node (section). - (Data): Add it to the menu. - -2004-02-02 Jeff Johnston - - * gdb.texinfo (Breakpoints): Add information about pending - breakpoint support. - -2004-01-26 Andrew Cagney - - * gdb.texinfo (Overview): Delete references to the cisco protocol - including the "N" response. - -2004-01-26 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Rename - EXTRACT_STRUCT_VALUE_ADDRESS to - DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS. - -2004-01-24 Eli Zaretskii - - * gdb.texinfo (KOD): Document "show os". Add index entries for - "set/show os" and "info cisco" commands. - -2004-01-21 Eli Zaretskii - - * Makefile.in (install-info): Prepend $(DESTDIR) to $(infodir). - -2004-01-19 Michael Chastain - - * gdbint.texinfo: Delete USE_MMALLOC, NO_MMCHECK, MMCHECK_FORCE, - MMAP_BASE_ADDRESS, MMAP_INCREMENT. - -2004-01-19 Nick Roberts - - * gdb.texinfo (GDB/MI Stack Manipulation): Describe extension to - -stack-list-locals. - (GDB/MI Variable Objects): Describe extension to - -var-list-children. - -2004-01-17 Daniel Jacobowitz - - * gdbint.texinfo (DECR_PC_AFTER_HW_BREAK): Don't document. - -2004-01-17 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Delete - documentation on DEPRECATED_NPC_REGNUM. - -2004-01-13 Daniel Jacobowitz - - * gdb.texinfo: Update copyright year. Mention that set - follow-fork-mode is supported on GNU/Linux. Remove documentation of - "set follow-fork-mode ask". - -2004-01-13 Andrew Cagney - - * gdbint.texinfo: Update copyright year. - (Coding): Add -Wunused-label to list of -Werror warnings. - -2004-01-08 Jason Molenda - Eli Zaretskii - - * gdb.texinfo: Update copyright. - (Objective-C): "methodName" typeo fixed. Add @code/@var markup - around names, as appropriate. Minor syntax cleanup of - _NSPrintForDebugger explanation. Two spaces after periods. - GDBN used instead of lit. "gdb". Index entries added for - print-object and _NSPrintForDebugger. @noindent added in one spot. - -2003-11-11 Elena Zannoni - - * stabs.texinfo: Add dircategory and direntry commands. - * annotate.texinfo: Ditto. - -2003-11-10 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Replace the - return_value method's "inval" and "outval" parameters with - "readbuf" and "writebuf". - -2003-10-28 Jim Blandy - - * gdb.texinfo (The F request packet, The F reply packet): Renamed - from "The `F' request packet" and "The `F' reply packet", to make - texi2dvi happy. - (File-I/O remote protocol extension): Update menu entries, too. - -2003-10-26 Michael Chastain - - * gdb.texinfo (Thread Stops): Document the issue with - premature return from system calls in multi-threaded programs. - -2003-10-24 Andrew Cagney - - * annotate.texinfo: Fix "fortunatly"[sic]. - -2003-10-23 Kei Sakamoto - - * gdb.texinfo (Contributors to GDB): Replace "Renesas" - with "Hitachi" and "Mitsubishi". - -2003-10-20 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Document - gdbarch_return_value. Add cross references from - USE_STRUCT_CONVENTION, EXTRACT_RETURN_VALUE, and - STORE_RETURN_VALUE, and from/to EXTRACT_STRUCT_VALUE_ADDRESS. - -2003-10-18 Mark Kettenis - - * gdbint.texinfo (Target Architecture Definition): Document - regset_from_core_section. - -2003-10-16 Kei Sakamot Sakamoto - - * gdb.texinfo (M32R/D): Mention m32rsdi target. - -2003-10-15 Kevin Buettner - - From Anthony Green : - * gdb.texinfo (Breakpoints related warnings): Insert into menu. - -2003-10-14 Kevin Buettner - - * gdb.texinfo (Breakpoint related warnings): New node. - * gdbint.texinfo (ADJUST_BREAKPOINT_ADDRESS): Document. - -2003-10-13 Daniel Jacobowitz - - * gdb.texinfo (Remote Protocol): Document v and vCont. - -2003-10-10 Kei Sakamoto - - * gdb.texinfo: Replace "Hitachi" and "Mitsubishi" with "Renesas". - * gdbint.texinfo: Ditto. - -2003-10-09 Andrew Cagney - - From 2003-09-18 David Anderson : - * gdb.texinfo (GDB/MI Symbol Query): Replace "comamnd" with - "command". - -2003-10-03 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Deprecate - IBM6000_TARGET. Mention that it implies an RS/6000 system and not - just target. - -2003-10-02 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Rename - REGISTER_RAW_SIZE to DEPRECATED_REGISTER_RAW_SIZE. - * gdb.texinfo (Packets, Stop Reply Packets): Ditto. - * gdbint.texinfo (Target Architecture Definition): Rename - -2003-09-30 Andrew Cagney - - REGISTER_VIRTUAL_SIZE to DEPRECATED_REGISTER_VIRTUAL_SIZE. - (Target Architecture Definition): - - * gdbint.texinfo (Target Architecture Definition): Rename - REGISTER_VIRTUAL_TYPE to DEPRECATED_REGISTER_VIRTUAL_TYPE. - -2003-09-29 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Delete - documentation for NEED_TEXT_START_END. - - * gdbint.texinfo (Target Architecture Definition): Rename - NPC_REGNUM to DEPRECATED_NPC_REGNUM. Add cross reference to - TARGET_WRITE_PC. - -2003-09-22 Michael Chastain - - * gdbint.texinfo (Testsuite Organization): Change gdb.c++ to gdb.cp. - -2003-09-21 Anthony Green - - * gdbint.texinfo (Target Architecture Definition): Fix typos. - -2003-09-21 Mark Kettenis - - * gdbint.texinfo (Target Architecture Definition): Document - stabs_argument_has_addr. - -2003-09-18 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Delete - documentation on REGISTER_NAMES. - -2003-09-13 Mark Kettenis - - * gdbint.texinfo (Target Architecture Definition): Replace - REG_STRUCT_HAS_ADDR with DEPRECATED_REG_STRUCT_HAS_ADDR. - -2003-09-11 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Replace - STACK_ALIGN with DEPRECATED_STACK_ALIGN. - -2003-08-18 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Document - "frame_red_zone_size". - -2003-08-09 Andrew Cagney - - * gdb.texinfo (Backtrace): Replace "set/show backtrace-below-main" - with "set/show backtrace past-main" and "set/show backtrace - limit". - -2003-08-08 H.J. Lu - - * Makefile.in (install-info): Support DESTDIR. - (install-html): Likewise. - -2003-08-07 Andrew Cagney - - Patch from Nick Roberts. - * gdb.texinfo (Using GDB under GNU Emacs): Fix/update key - bindings. Remove description of send-gdb-command. - -2003-08-07 Andrew Cagney - - * gdb.texinfo (Mode Options): Mention that "mi2" was included in - GDB 6.0. - -2003-08-06 Andrew Cagney - - * gdb.texinfo (Mode Options): Mention that level three is the - highest available and that level 2 is deprecated. - (Annotations Overview): Mention annotation levels. Cross reference - to "Limitations of the Annotation Interface" in annotate.texi. - (TODO, Value Annotations, Frame Annotations): Delete section. - (Displays, Breakpoint Info): Delete. - -2003-08-04 Andrew Cagney - - * agentexpr.texi: Delete @bye. - * Makefile.in (STABS_DOC_SOURCE_INCLUDES): Add "fdl.texi" - (stabs.info): Add $(srcdir) to include search path. - (html): Depend on "annotate_toc.html", and not "annotate.html". - * stabs.texinfo: Ditto. Include "fdl.texi". - * gdbint.texinfo: Update copyright statement's list of invariant - sections. - -2003-07-28 Andrew Cagney - - * Makefile.in (INFO_DEPS): Add annotate.info. - (dvi, ps, html, pdf): Add annotate. - (ANNOTATE_DOC_SOURCE_INCLUDES): New macro. - (ANNOTATE_DOC_BUILD_INCLUDES): New macro. - (ANNOTATE_DOC_FILES): New macro. - (ANNOTATE_TEX_TMPS): New macro. - (annotate.info, annotate_toc.html): Specify dependencies. - (annotate.ps, annotate.pdf, annotate.dvi): Ditto. - * annotate.texinfo: Rename annotate.texi. Get building. Add - "Migrating to GDB/MI" and "Limitations of the Annotation - Interface" chapters. Mention why it is not part of the user - guide. Update copyright notice. Include "fdl.texi". - -2003-07-26 Stephane Carrez - - * gdb.texinfo (TUI Keys): Document C-x o key to switch active window. - -2003-07-24 Daniel Jacobowitz - - * gdbint.texinfo (libgdb components): Correct a GDB to GDBN. - -2003-07-24 Daniel Jacobowitz - - * gdb.texinfo (Server): Mention pidof. - -2003-07-22 Andrew Cagney - - * gdbint.texinfo (Coding): Add -Wformat-nonliteral to -Werror - list. - -2003-06-28 Daniel Jacobowitz - - * gdb.texinfo (Logging output): New chapter. - -2003-06-24 Joel Brobecker - - * gdb.texinfo (Unsupported languages): New section. - (Languages): Add link to new section. - -2003-06-22 Andrew Cagney - - * gdb.texinfo (Contributors): Mention 6.0 release engineer. - -2003-06-22 Daniel Jacobowitz - - * gdbint.texinfo (Coding): Clarify use of gdb_XXX.h headers. - -2003-06-22 Daniel Jacobowitz - - * Makefile.in (SFILES_INCLUDED): Add agentexpr.texi. - * agentexpr.texi: Retitle section, and change it to an appendix. - Comment out texinfo initialization. Factor a @var{} into two - pieces to prevent makeinfo warnings. - * gdb.texinfo: Add Agent Expressions appendix. - -2003-06-19 Daniel Jacobowitz - - * gdbint.texinfo (Native Conditionals): Remove PREPARE_TO_PROCEED. - -2003-06-18 Daniel Jacobowitz - - * gdb.texinfo (Remote Debugging): New section "Connecting to a - remote target". Document the "detach" and "disconnect" commands. - (Server, Netware, Debug Session): Reference "Connecting to a - remote target". - (GDB/MI Target Manipulation): Document "-target-disconnect". - -2003-06-13 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Deprecate - REMOTE_BREAKPOINT, LITTLE_REMOTE_BREAKPOINT, and - BIG_REMOTE_BREAKPOINT. Cross reference BREAKPOINT_FROM_PC. - -2003-06-09 Jim Blandy - - * gdb.texinfo (Separate Debug Files): Remove extra semicolon. - -2003-06-08 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Delete - documentation on FRAME_ARGS_ADDRESS_CORRECT. - -2003-06-08 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Document - "unwind_sp". Cross reference "unwind_sp" and TARGET_READ_SP. - -2003-06-07 Adam Fedor - - * gdb.texinfo: Add Objective-C documentation. - -2003-06-01 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Add "func_addr" - parameter to "push_dummy_call". Rename "dummy_addr" to "bp_addr". - -2003-05-21 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Delete - references to "extract_address" and "store_address". - -2003-05-16 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Replace - REGISTER_BYTES with DEPRECATED_REGISTER_BYTES. Fix typo, - DEPRECATED_REGISTER_SIZE instead of REGISTER_BYTE. - -2003-05-14 Theodore A. Roth - - * gdbint.texinfo (Breakpoint Handling): Correct a double negative. - -2003-05-10 H.J. Lu - - * Makefile.in (gdb-cfg.texi): Replace $$LN_S with $(LN_S). - (gdb.dvi): Likewise. - (gdb.pdf): Likewise. - (links2roff): Likewise. - -2003-05-08 Jim Blandy - - * gdb.texinfo (Dump/Restore Files): Update documentation for - 'dump', 'append', and 'restore': note that format argument is - optional; simplify presentation of the command variants; and be - more precise about the formats. - -2003-05-07 Jim Blandy - - * gdb.texinfo (Symbols): Update documentation: 'maint list - symtabs' and 'maint list psymtabs' have been renamed 'maint info - symtabs' and 'maint info psymtabs'. - -2003-05-05 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Make - CALL_DUMMY_WORDS, SIZEOF_CALL_DUMMY_WORDS, CALL_DUMMY_LENGTH, - FIX_CALL_DUMMY, CALL_DUMMY_BREAKPOINT_OFFSET and - CALL_DUMMY_BREAKPOINT_OFFSET deprecated. - -2003-05-04 Andrew Cagney - - * gdb.texinfo (Maintenance Commands): Document "maint print - dummy-frames". - -2003-05-04 Andrew Cagney - - * gdb.texinfo (GDB/MI Symbol Query): Use @{ and @}. - -2003-05-03 J. Brobecker - - Thierry Schneider - * gdb.texinfo (section GDB/MI Symbol Query): Add documentation - for new MI command. - -2003-05-03 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Document - push_dummy_code. Add cross references. - -2003-05-02 Elena Zannoni - - * gdb.texinfo (Character Sets): Update to reflect new behavior of - set/show charsets commands. - -2003-04-28 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Replace - read_fp, TARGET_READ_FP and FP_REGNUM, with deprecated_read_fp, - DEPRECATED_TARGET_READ_FP and DEPRECATED_REGNUM. - -2003-04-28 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Rename - "tm_print_insn" to "deprecated_tm_print_insn". - -2003-04-09 Jim Blandy - - * gdb.texinfo (Symbols): Document 'maint list symtabs' and 'maint - list psymtabs'. - -2003-04-08 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Delete - references to EXTRA_FRAME_INFO. - -2003-04-08 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Delete - PRINT_TYPELESS_INTEGER. - -2003-04-02 J. Brobecker - - * observer.texi (GDB Observers): Adjust the documentation for the - normal_stop notification to better describe reality. Fix a couple - of minor typos. - -2003-04-02 Bob Rossi - - * gdb.texinfo (GDB/MI Program Control): Add - '-file-list-exec-source-file' - -2003-03-31 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Delete - references to CALL_DUMMY_P. - -2003-03-30 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Remove - reference to TARGET_WRITE_SP. - -2003-03-27 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Remove - references to write_sp. - -2003-03-27 Andrew Cagney - - * gdb.texinfo (GDB/MI Variable Objects): Replace @include with - chapter body. Use @smallexample instead of @example. - (Annotations): Ditto. - * Makefile.in (GDB_DOC_SOURCE_INCLUDES): Remove gdbmi.texinfo and - annotate.texi. - -2003-03-26 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Replace - PUSH_ARGUMENTS with push_dummy_call, add gdbarch, regcache and - dummy_addr parameters. - -2003-03-25 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Delete - reference to CALL_DUMMY_STACK_ADJUST_P. Rename - CALL_DUMMY_STACK_ADJUST to DEPRECATED_CALL_DUMMY_STACK_ADJUST. - Add reference to PUSH_ARGUMENTS. - -2003-03-23 Andrew Cagney - - * gdbint.texinfo (Algorithms, Target Architecture Definition): - Deprecate FRAME_CHAIN and FRAME_CHAIN_VALID. - -2003-03-18 J. Brobecker - - * gdbint.texinfo (Algorithms): Add new section describing the - Observer paradigm. - (Top): Add menu entry to new observer appendix. - * observer.texi: New file. - * Makefile.in (GDBINT_DOC_SOURCE_INCLUDES): Add dependency on - new observer.texi file. - -2003-03-17 Andrew Cagney - - * gdb.texinfo (DATE): Delete. Remove date from titles. Mention - that GNU Press update the manual version number. - -2003-03-12 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Delete - references to get_saved_register. Rename GET_SAVED_REGISTER to - DEPRECATED_GET_SAVED_REGISTER. - -2003-03-13 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Replace - POP_FRAME with DEPRECATED_POP_FRAME. Update description. - -2003-03-12 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Rename - FRAME_SAVED_PC to DEPRECATED_FRAME_SAVED_PC. - -2003-03-10 Corinna Vinschen - - * gdb.texinfo: Add File-I/O documentation. - -2003-03-10 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Cross reference - FRAME_SAVED_PC to unwind_pc. Document unwind_pc. - -2003-03-07 Andrew Cagney - - * gdb.texinfo (Debugging Output): Mention the "set/show debug - frame" command. - -2003-03-05 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Document - unwind_dummy_id. Cross reference unwind_dummy_id and - SAVE_DUMMY_FRAME_TOS. - -2003-03-05 James Ingham - Daniel Jacobowitz - - * gdb.texinfo (Configuring the current ABI): Document "set cp-abi" - and "show cp-abi". - -2003-03-03 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Document - register_type. - -2003-03-03 Andrew Cagney - - * stabs.texinfo (Structures): Use @samp and separate @var's - instead of a single @var containing a comma separated list. - (Unions): Ditto. - -2003-03-02 Daniel Jacobowitz - - * Makefile.in (distclean): Remove config.log. - -2003-03-01 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Rename - FRAME_INIT_SAVED_REGS to DEPRECATED_FRAME_INIT_SAVED_REGS. - -2003-03-01 Andrew Cagney - - * gdbint.texinfo: Rename INIT_EXTRA_FRAME_INFO to - DEPRECATED_INIT_EXTRA_FRAME_INFO. - -2003-02-23 Raoul Gough - - * gdb.texinfo (Cygwin Native): Links to Non-debug DLL symbols. - (Non-debug DLL symbols): New node, describing the minimal symbols - loaded from DLLs without real debugging symbols. - -2003-02-20 Andrew Cagney - - * gdb.texinfo (Set Breaks): Add cross reference to "set remote - hardware-breakpoint-limit". - (Set Watchpoints): Add cross reference to "set remote - hardware-watchpoint-limit". - (Remote configuration options): New section. - -2003-02-04 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Delete - descrption of IS_TRAPPED_INTERNALVAR. - - From Keith Seitz : - * gdb.texinfo (Interpreters): New chapter. Refer the command-line - option "-i"/"--interpreter" to this chapter. Include index - entries. - -2003-02-04 David Carlton - - * gdb.texinfo (C@t{++}): Recommend DWARF 2, then stabs+. - (Variables): Recommend stabs+ and DWARF 2. - (C plus plus expressions): Correct info about - compiler versions, debug formats. - (Contributors): Change 'DWARF2' to 'DWARF 2'. - PR symtab/874. - -2003-02-01 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Delete - description of ADDITIONAL_OPTIONS, ADDITIONAL_OPTION_CASES, - ADDITIONAL_OPTION_HANDLER, and ADDITIONAL_OPTION_HELP, and - BEFORE_MAIN_LOOP_HOOK, and DBX_PARM_SYMBOL_CLASS along with - references to nindy and i960. - * gdb.texinfo (i960): Delete all references to i960 and nindy. - -2003-02-01 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Delete - FLOAT_INFO. - -2003-01-30 Andrew Cagney - - * stabs.texinfo (Member Type Descriptor): Clarify description of - `@'. Suggested by Ben Hutchings. - -2003-01-29 Andrew Cagney - - * gdb.texinfo (M68K): Delete reference to es1800. - -2003-01-29 Andrew Cagney - - * gdb.texinfo (Maintenance Commands): Document `maint print - reggroups' and `maint print register-groups'. - * gdbint.texinfo (Target Architecture Definition): Document - register_reggroup_p. - -2003-01-23 Jim Blandy - - * gdb.texinfo (Separate Debug Files): New section. - -2003-01-22 Daniel Jacobowitz - - * gdb.texinfo (Maintenance Commands): Add "maint set profile" - and "maint show profile". - -2003-01-16 Michael Chastain - - * gdb.texinfo (Installing GDB): Warn against - ".../gdb-VERSION/gdb/configure". - (Separate Objdir): Likewise. - -2003-01-15 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Delete - definition of PRINT_REGISTER_HOOK. - -2003-01-15 Elena Zannoni - - (OpenRISC 1000): Fix formatting of command names. - -2003-01-15 Elena Zannoni - - * gdb.texinfo (Continuing and Stepping): Add new command - 'advance'. Clarify behavior of 'until'. - -2003-01-13 Daniel Jacobowitz - - * gdb.texinfo (Files): Document solib-absolute-prefix and - solib-search-path. - -2003-01-09 Michael Chastain - - * gdbint.texinfo (Configuring @value{GDBN} for Release): Delete. - (Create a Release): Add new instructions for new @file{src-release}. - Document existing instructions for @file{Makefile.in} as - being for @value{GDBN} 5.3.1 or earlier. - -2003-01-09 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Mention - frame_saved_regs_zalloc and frame_extra_info_zalloc as the way to - allocate memory. - -2003-01-04 Daniel Jacobowitz - - * gdb.texinfo (Controlling GDB): Add @kindex for - "show osabi". - (Backtraces): Add @kindex's for backtrace-below-main. - -2003-01-04 Daniel Jacobowitz - - * gdb.texinfo (Controlling GDB): Document "set osabi". - -2003-01-04 Daniel Jacobowitz - - * gdb.texinfo (Backtraces): Document "set backtrace-below-main". - * gdbint.texinfo (FRAME_CHAIN_VALID): Update documentation. - -2003-01-04 Daniel Jacobowitz - - * gdb.texinfo (Controlling GDB): Add ABI section. Document - "set coerce-float-to-double". - * gdbint.texinfo (COERCE_FLOAT_TO_DOUBLE): Remove documentation. - -2003-01-02 Andrew Cagney - - * stabs.texinfo: Remove obsolete text. - * gdbint.texinfo: Ditto. - * gdb.texinfo: Ditto. - -2002-12-29 Kazu Hirata - - * fdl.texi: Revert the last change. - -2002-12-22 Mark Kettenis - - * gdbint.texinfo (Target Architecture Definition): Update - description of gdbarch_register_osabi. - -2002-12-20 Kazu Hirata - - * agentexpr.texi: Fix typos. - * annotate.texi: Likewise. - * fdl.texi: Likewise. - -2002-12-10 Andrew Cagney - - * gdbint.texinfo (Algorithms): Replace INIT_FRAME_PC with - DEPRECATED_INIT_FRAME_PC. - -2002-12-01 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Delete - PC_IN_CALL_DUMMY. - -2002-11-28 Andrew Cagney - - * gdbint.texinfo (Host Definition): Delete documentation on - USE_GENERIC_DUMMY_FRAMES. - -2002-11-26 Elena Zannoni - - Fix PR gdb/723 and PR gdb/245. - * Makefile.in (install-info): Run the install-info command as part - of the post install steps only. - (uninstall-info): New target. - (uninstall): New target. - -2002-11-22 Elena Zannoni - - * Makefile.in (install): Make install do some real work. - -2002-11-19 Andrew Cagney - - Fix POSIX problem reported by Paul Eggert. - * Makefile.in (GDBvn.texi): Use `sed q' instead of `head -1'. - Fix PR gdb/527. - -2002-10-26 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Delete - definition of DO_REGISTERS_INFO. - -2002-10-18 Kevin Buettner - - * gdbint.texinfo (Address Classes): Fix problems with insertion - of ``{'' and ``}'' in example. - -2002-10-17 Kevin Buettner - - * gdbint.texinfo (Address Classes): New section. - (Target Conditionals): Document ADDRESS_CLASS_NAME_TO_TYPE_FLAGS, - ADDRESS_CLASS_NAME_TO_TYPE_FLAGS_P, ADDRESS_CLASS_TYPE_FLAGS, - ADDRESS_CLASS_TYPE_FLAGS_P, ADDRESS_CLASS_TYPE_FLAGS_TO_NAME, and - ADDRESS_CLASS_TYPE_FLAGS_TO_NAME_P. - -2002-10-11 Klee Dienes - - * gdb.texinfo (Registers): Mention vector registers as well as - floating registers in the documentation for 'info registers' and - 'info all-registers'. - -2002-10-11 Daniel Jacobowitz - - * gdbint.texinfo (CPLUS_MARKER): Remove item. - -2002-10-03 Jeff Johnston - - * gdbint.texinfo (Item Output Functions): Add new ui_out_field_fmt_int - interface definition. - -2002-10-03 Marko Mlinar - - * gdb.texinfo (Target Commands): Add or1k target specific - commands. - * gdb.texinfo (Contributors): Add myself to the contributors list. - -2002-10-01 Andrew Cagney - - * gdb.texinfo (Mode Options): Update --interpreter option. "mi2" - and "mi1" instead of "mi1" and "mi0". - -2002-09-29 Hans-Peter Nilsson - - * gdb.texinfo (Packets): Fix typos "alligned". - Correct z3/Z3 description. Correct z4/Z4 title. - -2002-09-27 Andrew Cagney - - * all-cfg.texi: Use @sc for GDB and GCC. Update copyright. - -2002-09-25 Kevin Buettner - - * gdb.texinfo: Use GNU/Linux instead of Linux. - -2002-09-25 Andrew Cagney - - * gdb.texinfo (Packets): Replace @samp{} with ``an empty string''. - -2002-09-24 Andrew Cagney - - * gdb.texinfo: Replace @example with @smallexample. - -2002-09-20 Kevin Buettner - - From Eli Zaretskii : - * gdb.texinfo (Character Sets): Use @smallexample instead of - @example. Use GNU/Linux instead of Linux. - -2002-09-20 Jim Blandy - - * gdb.texinfo: Add character set documentation. - -2002-09-20 George Helffrich - - * gdb.texinfo: Document edit command. - -2002-09-19 Andrew Cagney - - * gdb.texinfo (Packets): Revise `z' and `Z' packet documentation. - (Packets): Add cross reference from `b' packet to `z' packets. - -2002-09-19 Andrew Cagney - - * gdb.texinfo (Maintenance Commands): Document ``maint - internal-error'' and ``maint internal-warning''. - - * gdbint.texinfo (Target Architecture Definition): Revise - description of STACK_ALIGN. Add description of FRAME_ALIGN. - -2002-09-19 Joel Brobecker - - * gdbint.texinfo (Target Conditionals): Document the new - NAME_OF_MALLOC macro. - -2002-09-05 Andrew Cagney - - * gdb.texinfo (Contributors): Mention 5.2 and 5.3 release - engineer. - -2002-09-02 Stephane Carrez - - * gdb.texinfo (TUI Overview): Document status line fields. - -2002-09-02 Stephane Carrez - - * gdb.texinfo (TUI Commands): Document info win command. - -2002-09-01 Stephane Carrez - - * gdb.texinfo (TUI Overview): Document breakpoint markers. - -2002-09-01 Stephane Carrez - - * gdb.texinfo (TUI Single Key Mode): Document new SingleKey mode. - (TUI Keys): Likewise. - -2002-08-25 Andrew Cagney - - * gdb.texinfo (Examples): Use ``->'' for a packet send and ``<-'' - for a packet receive. - -2002-08-25 Andrew Cagney - - * Makefile.in (clean): Move to end of file. - (distclean, maintainer-clean, realclean): Ditto. - (mostlyclean): Move rule to end of file. Use GDB_TEX_TMPS, - GDBINT_TEX_TMPS, STABS_TEX_TMPS. - (gdb.dvi, gdb.pdf): Do not cleanup TeX temp files after texi2dvi. - (gdbint.dvi, gdbint.pdf, stabs.dvi, stabs.pdf): Ditto. - -2002-08-24 Andrew Cagney - - * Makefile.in (GDBINT_TEX_TMPS): Define. - (gdbint.dvi, gdbint.pdf): Use - (GDB_TEX_TMPS): Define. - (gdb.dvi, gdb.pdf): Use. - (STABS_TEX_TMPS): Define. - (stabs.dvi, stabs.pdf): Use. - (GDB_DOC_SOURCE_INCLUDES): New macros. - (GDB_DOC_BUILD_INCLUDES, GDB_DOC_FILES): New macros. - (GDBINT_DOC_FILES_INCLUDES): New macros. - (GDBINT_DOC_BUILD_INCLUDES): New macros. - (GDBINT_DOC_FILES, STABS_DOC_SOURCE_INCLUDES): New macros. - (STABS_DOC_BUILD_INCLUDES, STABS_DOC_FILES): New macros. - (SFILES_DOC, SFILES_INCLUDED, SFILES_LOCAL): Delete macros. - (links2roff): Replace SFILES_INCLUDED with - GDB_DOC_SOURCE_INCLUDES. - (gdb.dvi, gdb_toc.html, gdb.pdf, gdb.info): Update dependencies. - (gdb.me, gdb.mm, gdb.ms): Update dependencies. - (gdbint.dvi, gdbint_toc.html, gdbint.pdf, gdbint.info): Update - dependencies. - (stabs.info, stabs_toc.html, stabs.pdf, stabs.dvi): Update - dependencies. - (gdbmi.texinfo): Delete rule. - (inc-hist.texinfo): Delete rule. - (rluser.texinfo): Delete rule. - -2002-08-23 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Update - STORE_RETURN_VALUE, mention regcache. - -2002-08-21 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Document - print_registers_info. Note that DO_REGISTERS_INFO is deprecated. - -2002-08-19 Andrew Cagney - - * gdb.texinfo (Remote Protocol): Reformat. Use cross references. - Fix minor typos. Add index entries. - -2002-08-18 Andrew Cagney - - * gdb.texinfo (Data): Add ``Vector Unit'' to menu. - -2002-08-15 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Document - PRINT_VECTOR_INFO. - * gdb.texinfo (Vector Unit): Document "info vectors" command. - -2002-08-13 Andrew Cagney - - * gdb.texinfo (Maintenance Commands): Document "maint print - registers", "maint print raw-registers" and "maint print - cooked-registers". - -2002-08-08 Grace Sainsbury - - From Mark Salter: - * gdb.texinfo (Protocol): Document T packet extension to - allow watchpoint address reporting. - -2002-08-03 Andrew Cagney - - * gdb.texinfo (Dump/Restore Files): Move `[]' to outside of @var. - -2002-08-01 Andrew Cagney - - * stabs.texinfo, gdb.texinfo, gdbint.texinfo: Obsolete references - to CHILL. - -2002-08-01 Andrew Cagney - - * gdbint.texinfo (Coding): Revise section "Include Files". - -2002-07-24 Andrew Cagney - - * gdbint.texinfo: Obsolete references to m88k. - * gdb.texinfo: Ditto. - -2002-07-10 Joel Brobecker - - * gdbint.texinfo (Create a release candiate): Add the location - where the proper version of autoconf can be retrieved. - -2002-07-09 Don Howard - - * gdb.texinfo (Command Files): Further describe the behavior of - sourced command files. - -2002-06-27 Andrew Cagney - - * gdbint.texinfo (User Interface): ISO C rather than ISO-C. - (Coding): Clarify ISO C version that GDB assumes. - -2002-06-26 Tom Tromey - - * gdbint.texinfo (User Interface): Mention add_setshow_cmd and - add_setshow_cmd_full. - -2002-06-25 Don Howard - - * gdb.texinfo (Memory Region Attributes): Document new behavior - for 'mem' command. - -2002-06-11 Jim Blandy - - * gdb.texinfo (Symbols): Update documentation for `info source' - command. - - * gdb.texinfo (Macros): Call the command `info macro', not - `show macro'. - -2002-06-09 Andrew Cagney - - * gdbint.texinfo (Coding): Add section ``Per-architecture module - data''. - -2002-06-09 Mark Kettenis - - * gdbint.texinfo (Target Architecture Definition): Document - GDB_OSABI_GO32 and GDB_OSABI_NETWARE. - -2002-06-08 Andrew Cagney - - * gdbint.texinfo (Releasing GDB): Fix typos in @itemize @bullet - lists. - -2002-06-08 Andrew Cagney - - * gdbint.texinfo (Releasing GDB): Revise the section ``Cut the - Branch''. - -2002-06-01 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Add section - ``Converting an existing Target Architecture to Multi-arch''. - -2002-05-30 Andrew Cagney - - * gdbint.texinfo (Releasing GDB): Rename ``Obsoleting any code'' - to ``Obsoleting code''. Revise. - -2002-05-21 Jason Thorpe - - * gdbint.texinfo: Document new generic OS ABI framework. - -2002-05-17 Jim Blandy - - * gdb.texinfo (C Preprocessor Macros): New chapter. - Include it in the main menu. - (Contributors): Credit Jim Blandy with macro support. - (Compilation): Explain how to get macro information into the - executable. - (Expressions): Note that preprocessor macros are expanded. - -2002-05-14 Daniel Jacobowitz - - * gdb.texinfo (Debug Session): Document new `udp:' and `tcp:' - options for `target remote'. - -2002-05-13 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Delete - documentation on NNPC_REGNUM. - -2002-05-11 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Document - REGISTER_TO_VALUE and VALUE_TO_REGISTER and CONVERT_REGISTER_P. - (Target Architecture Definition): Revise section `Using Different - Register and Memory Data Representations'. Add section `Raw and - Virtual Register Representations'. - -2002-05-11 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Mention - defaults for REGISTER_VIRTUAL_SIZE and REGISTER_RAW_SIZE. - (Target Architecture Definition): Mention same. Add references to - web pages. - -2002-05-08 Michael Snyder - - * stabs.texinfo (Attributes): Document new "vector" attribute. - -2002-05-04 Andrew Cagney - - * gdbint.texinfo (Releasing GDB): Revise `Create a Release'. - -2002-05-04 Andrew Cagney - - * gdb.texinfo: Delete obsolete references to a29k. - -2002-04-24 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Replace - IN_SIGTRAMP with PC_IN_SIGTRAMP. - -2002-04-24 David S. Miller - - * gdbint.texinfo (REGISTER_IN_WINDOW): Delete definition. - -2002-04-21 David S. Miller - - * gdbint.texinfo (SKIP_PROLOGUE_FRAMELESS_P): Delete definition. - -2002-04-21 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Delete - definition of HAVE_REGISTER_WINDOWS. - -2002-04-19 Eli Zaretskii - - * gdbint.texinfo (Releasing GDB, Coding): Fix typos. Reported by - "Theodore A. Roth" . - -2002-04-15 Don Howard - - From Eli Zaretskii - * gdb.texinfo (show max-user-call-depth): Correct formatting. - Provide a better explaination of this feature. - -2002-04-14 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Remove - FRAME_CHAIN_COMBINE. - -2002-04-12 Michael Chastain - - * gdbint.texinfo (Obsolete Conditionals): Remove reference to - REG_STACK_SEGMENT. - -2002-04-09 Michael Chastain - - * gdbint.texinfo (Obsolete Conditionals): Remove references to - PYRAMID_* macros. - -2002-04-07 Andrew Cagney - - * gdb.texinfo (Bug Reporting): Document that the web is the - prefered way of submitting bug reports. - (Bug Reporting): Delete the s-mail address as the last resort. - -2002-04-05 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Delete - references to TARGET_WRITE_FP and write_fp. - -2002-03-27 Michael Snyder - - * gdb.texinfo: Document new commands dump, append, and restore. - -2002-03-27 Andrew Cagney - - * gdbint.texinfo (Releasing GDB): Revise the section `Before the - Branch'. - -2002-03-18 Andrew Cagney - - * gdb.texinfo: Change all examples to @smallexample. - * gdbint.texinfo: Ditto. - -2002-03-18 Andrew Cagney - - * gdbint.texinfo (Releasing GDB): Add section ``Versions and - Branches''. - -2002-03-18 Andrew Cagney - - * gdbint.texinfo (Releasing GDB): Add the section``Branch Commit - Policy''. - -2002-03-04 Fred Fish - - * gdbint.texinfo: Fix a bunch of typos (alsways, mirrorred, - expresson, suports, dependant, trhe, perhaphs, situtations, - explictily, taged, oportunity, unfortunatly). - -2002-02-24 Andrew Cagney - - * Makefile.in (gdb.info): Add explicit path to gdb.texinfo. - Remove reference to 3.12. - -2002-02-23 Paul Eggert - - * Makefile.in (GDBvn.texi): Change "head -1" to "sed q", since - POSIX 1003.1-2001 no longer allows "head -1". - -2002-02-23 Andrew Cagney - - * gdbint.texinfo: Include fdl.texi. - (Top): Add GNU Free Documentation License. - * Makefile.in (SFILES_INCLUDED): Add gpl.texi. - (gdbint.dvi, gdbint.pdf, gdbint.info): Add dependency on fdl.texi. - (gdbint_toc.html): Add dependency on gdb-cfg.texi and fdl.texi. - (gdbint.info): Add srcdir to include path. - * gdb.texinfo: Include gpl.texi. - (Top): Add Copying. - * gpl.texi: New file. - -2002-02-23 Andrew Cagney - - * gdbint.texinfo (Debugging GDB): Remove references to cygnus.com. - -2002-02-19 Pierre Muller - - * gdb.texinfo: Document Cygwin native specific commands. - -2002-02-15 Daniel Jacobowitz - - * gdb.texinfo: Document gdbserver ``--attach'' command. - -2002-02-07 Michael Snyder - - * gdb.texinfo (overlays): Change @var(_ovly_debug_event) - to @code(_ovly_debug_event). - -2002-02-07 Andrew Cagney - - * gdb.texinfo (How Overlays Work): Shrink the overlay diagram. - -2002-02-06 Michael Snyder - - * gdb.texinfo (overlays): Mention new magic symbol - '_ovly_debug_event', which allows GDB to keep better track - of overlays. - -2002-02-06 Richard Earnshaw - - * gdbint.texinfo (FLOAT_INFO): Mark as deprecated. - (PRINT_FLOAT_INFO): Document it. - -2002-02-03 Eli Zaretskii - - * gdb.texinfo (Memory Region Attributes): Fix the wording. - Suggested by Dmitry Sivachenko. - - * (): Fix the spelling and punctuation of "i.e.". - -2002-02-01 Michael Snyder - - * gdb.texinfo (set trust-readonly): Change value{gdbn} to value{GDBN}. - -2002-01-30 Michael Snyder - - * gdb.texinfo: (remote protocol): Gramatical fix-up. - (set trust-readonly-sections): Document. - -2002-01-29 Andrew Cagney - - * gdbint.texinfo (Releasing GDB): Revise and update. - -2002-01-28 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Delete - description of TARGET_BYTE_ORDER_DEFAULT. - -2002-01-27 Eli Zaretskii - - * gdb.texinfo: Fix typos and markup. From Dmitry Sivachenko - . - -2002-01-23 Andrew Cagney - - * libgdb.texinfo: Delete file. - -2002-01-22 Andrew Cagney - - * gdb.texinfo: Remove makeinfo 3.12 hacks. - * gdbint.texinfo: Ditto. - -Tue Jan 22 11:57:38 2002 Andrew Cagney - - * gdb.texinfo: Fix typo ``Remove' -> ``Remote''. - -2002-01-22 Andrew Cagney - - * Makefile.in: Update copyright. - (TEXI2DVI): Define. - (gdb.dvi, gdb.pdf, stabs.dvi, stabs.pdf): Use TEXI2DVI. - (gdbint.dvi, gdbint.pdf): Use TEXI2DVI. Add dependency on - gdb-cfg.texi. - (TEXINDEX, PDFTEX): Delete makefile variables. - -2002-01-22 Andrew Cagney - - * gdb.texinfo (Protocol): Move section to appendix. - -2002-01-21 Andrew Cagney - - * gdb.texinfo (Remote Debugging): Create a menu. - (Top): Add ``Remote Debugging'' to menu. - -2002-01-21 Andrew Cagney - - * gdb.texinfo (Remote): Move the sub-section ``The GDB remote - serial protocol'' from here. - (Remote Debugging): To here. New chapter. - -2002-01-20 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Delete - description of TARGET_BYTE_ORDER_SELECTABLE_P. - -2002-01-20 Andrew Cagney - - * gdbint.texinfo (Host Definition): Revise. xm-xyz.h and xyz.mh - are no longer needed. - (Porting GDB): Add maintainer note about configure.host. - -2002-01-20 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Remove - definition of IEEE_FLOAT. - -2002-01-20 Eli Zaretskii - - * gdb.texinfo: Beautify copyright years; fix a typo. - (DJGPP Native): Fix overfull hboxes in examples. From Brian Youmans - <3diff@gnu.org> - -2002-01-19 Andrew Cagney - - * gdbint.texinfo (Host Definition): Remove references to - MALLOC_INCOMPATIBLE. - -2002-01-17 Andrew Cagney - - * gdbint.texinfo (Host Definition): Remove references to XDEPFILES - and xyz-xdep.o. - -2002-01-17 Andrew Cagney - - * gdb.texinfo (Maintenance Commands): Add appendix. - (Set Breaks): Copy ``maint info breakpoint'' doco to - ``Maintenance Commands'' appendix. Add reference. - -2002-01-17 Andrew Cagney - - * fdl.texi: Remove next/prev from @node. - -2002-01-17 Eli Zaretskii - - * gdb.texinfo: @include fdl.texi. Fixes for overfull hboxes and - for monstrous @multitable (from Brian Youmans). - - * fdl.texi: New file. - - * Makefile.in (SFILES_INCLUDED): Add fdl.texi. - -2002-01-15 Andrew Cagney - - * gdbint.texinfo (Releasing GDB): New chapter. - -2002-01-14 Andrew Cagney - - * gdb.texinfo (Embedded Processors, Calling program functions): - Obsolete references to a29k. - -2002-01-13 Andrew Cagney - - * gdbint.texinfo (Coding): Review Cleanups section. Examples - examples. Document that a code-block should do or discard its - cleanups before exit. - -2002-01-11 Michael Snyder - - * gdb.texinfo (Choosing files): Change @samp to @file. - -2002-01-05 Michael Snyder - - * gdb.texinfo (--pid): Document new command line option (attach). - -2002-01-07 Eli Zaretskii - - * gdb.texinfo (Tracepoints): Clarify that tracepoints need support - in the stub. - -2002-01-04 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Replace - BIG_ENDIAN with BFD_ENDIAN_BIG. - -2002-01-03 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Replace - value_ptr with struct value pointer. - -2002-01-02 Eli Zaretskii - - * gdb.texinfo (Free Software): Fix wording. - -2001-12-31 Eli Zaretskii - - * gdb.texinfo (Free Software): New section ``Free Software Needs - Free Documentation''. - -2001-12-30 Eli Zaretskii - - * stabs.texinfo: - * gdb.texinfo: - * gdbint.texinfo: - * libgdb.texinfo: - * annotate.texi: Fix the application of GFDL in the Copyright notice. - -2001-12-29 Michael Snyder - - * gdb.texinfo (maint info sections): Fix typo. - -2001-12-26 Michael Snyder - - * gdb.texinfo (maint info sections): Document. - - * gdb.texinfo (info proc): Comment out documentation for - 'info proc' sub-options that are currently not implemented. - -2001-12-20 Jim Blandy - - * gdbint.texinfo (TARGET_CHAR_SIGNED): Document. - -2001-12-15 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Replace - LITTLE_ENDIAN with BFD_ENDIAN_LITTLE. - -2001-12-01 Andrew Cagney - - * gdbint.texinfo (Host Definition): Delete documentation on - HOST_BYTE_ORDER. - -2001-11-30 Jim Blandy - - * gdb.texinfo (Overlays): New chapter, documenting GDB's - overlay support. Add to top-level menu. - -2001-11-26 Tom Tromey - - * gdb.texinfo (Command Syntax): Document C-o binding. - -2001-07-26 Christopher Faylor - - * gdb.texinfo (Options): Eliminate attempt to explain .gdbinit/gdb.ini - use since it is described in the referenced section. - - From Eli Zaretskii - * gdb.texinfo (Command Files): Reword to make gdb.ini requirement - clearer when using DJGPP. - -2001-11-24 Christopher Faylor - - * gdb.texinfo (File Options): Change description of -nx and gdb.ini to - specifically refer to MS-DOS. - (command files): Mention gdb.ini is only used on MS-DOS. - -2001-11-21 Tom Tromey - - * gdb.texinfo (Invoking GDB): Document --args. - (Mode Options): Likewise. - -2001-11-21 Jim Blandy - - * gdbint.texinfo (TARGET_RANGE_PROFITABLE_FOR_HW_WATCHPOINT): - Delete documentation; this macro has been removed from the - sources. - -2001-11-13 Jim Blandy - - * gdbint.texinfo (COERCE_FLOAT_TO_DOUBLE): Clarify. - -2001-11-06 Corinna Vinschen - - * gdb.texinfo (gdbarch_in_function_epilogue_p): Add documentation. - -2001-11-05 Michael Snyder - - * gdb.texinfo (info functions): Document use of backslash to - quote regexp chars in function names such as "operator*()". - -2001-11-01 Fred Fish - - * gdbint.texinfo (SOLIB_ADD): Document additional new - "readsyms" arg. - -2001-10-30 Don Howard - - * gdb.texinfo: (Command Files) Added documentation for the - behavior of gdb with input redirected from a file. - -2001-10-28 Fred Fish - - * gdb.texinfo (auto-solib-add): Change docs to match - implementation change. - (auto-solib-limit): Add docs for new variable. - -2001-10-15 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Function - value_as_pointer renamed to value_as_address. - -2001-10-15 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Default - POINTER_TO_ADDRESS functions assume unsigned addresses. - (INTEGER_TO_ADDRESS): Document. Derive pragmatics section from a - posting by Jim Blandy. - -2001-10-12 Jim Blandy - - * Makefile.in (MAKEHTMLFLAGS): Remove -glossary; the most recent - version of texi2html (1.64) doesn't support this flag any more. - -2001-09-08 Mark Kettenis - - * gdbint.texinfo (Host Definition): Remove description of - MEM_FNS_DECLARED. - - * gdbint.texinfo (Host Definition): Remove description of R_OK. - - * gdbint.texinfo (Host Definition): Remove description of - HAVE_SIGSETMASK. - -2001-09-04 Elena Zannoni - - * gdbint.texinfo (Target Architecture Definition): Add - explanation of TARGET_PRINT_INSN macro. - -2001-08-30 Jim Blandy - - * gdb.texinfo (`add-symbol-file'): Correct synopsis. - Explain what it means to load relocatable files. - -2001-08-28 Jim Blandy - - * gdbint.texinfo: Bring the HTML `top' menu into sync with the - info `top' menu. - -Wed Aug 15 10:47:28 2001 Christopher Faylor - - * gdbint.texinfo: Add a cautionary note about macro use. - -2001-08-02 Corinna Vinschen - - * gdb.texinfo: Explain omitting the hostname in the - `target remote' command. - -2001-07-30 Daniel Jacobowitz - - * gdbint.texinfo: Remove extraneous START-INFO-DIR-ENTRY - and END-INFO-DIR-ENTRY. - -2001-07-28 Stephane Carrez - - * gdb.texinfo (TUI Configuration): Rename tui configuration variables. - -2001-07-25 Andrew Cagney - - * gdbint.texinfo (libgdb): Rewrite. - -2001-07-26 Eli Zaretskii - - * Makefile.in (gdbgui.dvi, gdb-gui, gdbgui.info): Targets deleted. - -2001-07-24 Stephane Carrez - - * gdb.texinfo (TUI): New chapter, document the TUI. - (Mode Options): Document the -tui option. - -2001-07-23 Mark Kettenis - - * gdbint.texinfo (Host Definition): Remove description of - NEED_POSIX_SETPGID. - -2001-07-23 Eli Zaretskii - - * gdb.tex (DJGPP Native): New node, with descriptions of - DJGPP-specific commands. - -2001-07-19 John R. Moore - - * gdbint.texinfo: Three misspellings. - -2001-07-06 Andrew Cagney - - * Makefile.in (refcard.dvi): Rewrite to avoid problems with empty - `test` expressions on bash. Problem reported by Colin Walters. - -2001-07-04 Andrew Cagney - - * gdbint.texinfo (User Interface): Update ui-out documentation to - refelect recent UI/MI updates. - -2001-07-04 Andrew Cagney - - * gdb.texinfo (Mode Options): Mention the mi0 and mi1 - interpreters. - -2001-06-15 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): GDBARCH is a C - structure and not macros. - (Host Definition): Document that much of this chapter is obsolete. - (Target Architecture Definition): Update list of files that make - up a target architecture. - (Coding): Update. - -2001-06-28 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Update - EXTRACT_STRUCT_VALUE_ADDRESS and EXTRACT_STRUCT_VALUE_ADDRESS_P. - The latter has been changed to a true predicate. - -2001-06-17 Eli Zaretskii - - * annotate.texi: Add @noindent where needed. From Dmitry - Sivachenko . - * gdb.texinfo: Indexing fix. From Dmitry Sivachenko. - -2001-06-16 Andrew Cagney - - * gdb.texinfo (Protocol): Fix typo. Extra parenthesis. - -2001-06-14 Andrew Cagney - - * gdb.texinfo (Remote Protocol): Document that the ``!'' packet - returns ``OK''. Document that the ``R'' packet does not reply. - -2001-06-13 Michael Snyder - - * gdb.texinfo (Protocol): Add doc for new packet "qSymbol:". - -2001-06-13 Eli Zaretskii - - * gdb.texinfo (Signals): Clarify the default setting of signal - handling. - -2001-05-14 Andrew Cagney - - * gdbint.texinfo (CLEAR_DEFERRED_STORES): Delete stray @item - (FRAME_ARGS_ADDRESS_CORRECT): Ditto. - -2001-05-12 Andrew Cagney - - * Makefile.in (GDBvn.texi): Set GDBVN from ../version.in. - -2001-05-10 Eli Zaretskii - - * gdbint.texinfo (Clean Design and Portable Implementation): - Renamed from "Clean Design". - (Clean Design and Portable Implementation): Document portable - methods of handling file names, and the associated macros. - -2001-04-02 Eli Zaretskii - - * gdb.texinfo (Tracepoint Actions): Mention the "info scope" - command and provide a cross-reference to its description. - (Symbols): Note that "info scope" is useful for trace experiments. - -2001-04-01 Eli Zaretskii - - * gdb.texinfo (Symbols): Document "info scope". - (Tracepoints): New chapter. - (Contributors): Update for v5.1. - : Change "C++" to "C@t{++}". - - * gdbint.texinfo (User Interface): A new section about ui_out - functions, based on text written by Fernando Nasser. - - * stabs.texinfo: Change Permissions to GFDL. Update Copyright. - -2001-03-26 Eli Zaretskii - - * gdb.texinfo: Change Permissions to GFDL. Update Copyright. - - * gdbint.texinfo: Change Permissions to GFDL. Update Copyright. - - * gdbgui.texinfo: Change Permissions to GFDL. Update Copyright. - Replace "GDB" with "@value{GDBN}". Fix markup. - - * annotate.texi: Change Permissions to GFDL. Update Copyright. - - * gdb.texinfo (Output Formats): Mention "info symbol" and provide - a cross-reference to its description. - (Symbols): Document "info symbol". - -2001-03-21 Eli Zaretskii - - * gdbint.texinfo (Algorithms): New section "Watchpoints" and new - subsection "x86 Watchpoints". - (Target Architecture Definition): Document the macros - I386_USE_GENERIC_WATCHPOINTS and TARGET_HAS_HARDWARE_WATCHPOINTS. - (Native Debugging): Document I386_USE_GENERIC_WATCHPOINTS. - -2001-03-20 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Update - definition of SOFTWARE_SINGLE_STEP_P to include empty parameter - list. - -2001-03-06 Kevin Buettner - - * Makefile.in, all-cfg.texi, annotate.texi, gdb.texinfo, - gdbint.texinfo, refcard.tex: Update/correct copyright notices. - -2001-02-21 Eli Zaretskii - - * gdb.texinfo (Signals): Document "ignore", "noignore", and "all". - -2001-02-11 Eli Zaretskii - - * gdb.texinfo (Environment): Document that `path' does not change - the value of PATH in GDB's own environment (it did in the past, - but that was changed on March 15, 1994). Reported by Doug Evans - . - - * gdbint.texinfo: Fix up @itemize lists so that @item is alone on - its line. Fix markup of commands and macros. Add an Index node - and index entries. - -2001-01-23 J.T. Conklin - - * gdb.texinfo (Memory region attributes): New manual section. - -2001-01-04 Nicholas Duffek - - * gdbint.texinfo (POP_FRAME): Document use by return_command. - -2000-12-25 Eli Zaretskii - - * refcard.tex: Version and copyright fixed. From Phil Edwards - . - -Thu Nov 30 16:57:19 2000 Andrew Cagney - - * gdbint.texinfo (ECOFF_REG_TO_REGNUM, DWARF_REG_TO_REGNUM, - DWARF2_REG_TO_REGNUM): Document. - -Mon Nov 20 21:29:35 2000 Andrew Cagney - - * gdbint.texinfo (Coding): Update current value of - --enable-build-warnings. Mention --enable-gdb-build-warnings. - -2000-11-19 Eli Zaretskii - - * gdb.texinfo (Continuing and Stepping): Fixed markup and typos, - as suggested by Dmitry Sivachenko . - -2000-11-10 Christopher Faylor - - * gdb.texinfo: Document new 'set step-mode' command. - -2000-10-16 Eli Zaretskii - - * gdb.texinfo (Contributors, MIPS Embedded): Minor spelling - changes from Dmitry Sivachenko . - -2000-09-26 Eli Zaretskii - - * gdb.texinfo (Hooks): Document the new post-hook functionality. - From Steven Johnson . - -2000-08-10 Mark Kettenis - - * gdbint.texinfo (Overall Structure): Spelling fix. - -2000-08-10 Eli Zaretskii - - * gdbint.texinfo (Target Architecture Definition): Document that - REGISTER_CONVERT_TO_VIRTUAL should only be called on a register - for which REGISTER_CONVERTIBLE returns a zero value. - -2000-07-08 Christopher Faylor - - * Makefile.in (install-info): Find files to install in either the - build or source directories (adapted from Makefile.am). - -2000-07-07 Nicholas Duffek - - * stabs.texinfo: Fix spelling errors. - (String Field): FILE-NUMBER starts from 0, not 1. - -2000-07-05 Eli Zaretskii - - * refcard.tex: Remove \centerline from the blurb. Patch from - Brian Youmans. - -2000-06-25 Eli Zaretskii - - * Makefile.in (install-info): Support installation from outside of - the source directory. Reported by Mark Harig - . - -2000-06-20 J.T. Conklin - - * gdb.texinfo: Fix typo, $bpnum is set to last breakpoint number. - -Fri May 26 15:55:33 2000 Andrew Cagney - - * Makefile.in (pdf, gdbint.pdf, gdb.pdf, stabs.pdf): New targets. - Generate using pdftex. - (PDFTEX): Define. - (STAGESTUFF, maintainer-clean realclean): Add *.pdf. - (gdb.texinfo, gdbint.texinfo, stabs.texinfo): When TeX insert the - @contents at the start. - -2000-05-24 Eli Zaretskii - - * gdb.texinfo: Remove duplicate @syncodeindex. From Brian - Youmans. - -Wed May 24 21:27:58 2000 Andrew Cagney - - From Brian Youmans: - * gdb.texinfo: Fix ``et al.''. - -Tue May 23 22:57:41 2000 Andrew Cagney - - * Makefile.in (refcard.dvi): Remove quotes around REFEDITS in for - loop. - -2000-05-19 Jimmy Guo - - * configure: Regenerate. - -2000-05-17 Eli Zaretskii - - * Makefile.in (install-info): Run install-info on installed Info - files. - -Fri May 12 20:18:04 2000 Andrew Cagney - - * gdb.texinfo: Add Stan Shebs, et.al. as authors. Mention - Andrew Cagney. - -2000-05-09 Eli Zaretskii - - * gdb.texinfo: Proofreading changes from Brian Youmans. - -2000-05-01 Nick Duffek - - * gdb.texinfo (Command Files): Mention -x, use @enumerate for - startup sequence, minor edits. - -2000-05-01 Eli Zaretskii - - * annotate.texi: Remove "@syncodeindex fn cp", it causes grief in - TeX. - - * gdb.texinfo: Add "@syncodeindex fn cp". Convert all entries - "@kindex f" into "@kindex f (foo)", otherwise we get index entries - like `n' and `s' which look weird. Convert some of the @kindex to - @vindex, when they refer to variables, not commands. - -Sat Apr 29 17:01:04 2000 Andrew Cagney - - * gdbint.texinfo (Hints): Do not use @value{GDBN in @nodes. - -2000-04-23 Eli Zaretskii - - * Makefile.in (GDBMI_DIR): New variable. - (SET_TEXINPUTS): Add $(GDBMI_DIR). - (SFILES_DOC): Add $(GDBMI_DIR)/gdbmi.texinfo. - (gdbmi.texinfo): New target, for texi2roff. - (gdb.me, gdb.ms, gdb.mm): Depend on gdbmi.texinfo. - (gdb.info, gdb_toc.html): Add "-I ${GDBMI_DIR}". - - * gdb.texinfo (Top): Add GDB/MI to the main menu and @include - gdbmi.texinfo. - (Mode Options): Add xref to GDB/MI docs and remove a FIXME - comment. - -2000-04-17 Elena Zannoni - - * gdb.texinfo (Files): Update description of add-symbol-file - command. - -2000-04-17 Eli Zaretskii - - * gdb.texinfo (Porting GDB): Don't use @value in the node name, it - prevents the build (and is generally a Bad Idea). - -2000-04-17 Eli Zaretskii - - * gdb.texinfo (Protocol): Prevent makeinfo from complaining about - a comma inside @var. - (Command Files): Index markup changes from Dmitry Sivachenko - . - -2000-04-16 Eli Zaretskii - - * Makefile.in (LN_S): Define. - (gdb-cfg.texi, gdb.dvi, links2roff, inc-hist.texinfo): Don't - invoke "ln -s" unless it is known to work. - - * configure.in (AC_PROG_LN_S): Add. - -2000-04-14 Jim Blandy - - * gdbint.texinfo (Pointers Are Not Always Addresses): New manual - section. - (Target Conditionals): Document ADDRESS_TO_POINTER, - POINTER_TO_ADDRESS. - -2000-04-11 Daniel Berlin - - * gdbint.texinfo: Replaced GDB with @value{GDBN}, @include - gdb-cfg.texi to get the value. - -2000-04-10 Jim Blandy - - * gdbint.texinfo (Target Architecture Definition): Fix - cross-references. - -2000-04-08 Jim Blandy - - * gdbint.texinfo (Using Different Register and Memory Data - Representations): New section. - (REGISTER_CONVERTIBLE, REGISTER_RAW_SIZE, REGISTER_VIRTUAL_SIZE, - REGISTER_VIRTUAL_TYPE, REGISTER_CONVERT_TO_VIRTUAL, - REGISTER_CONVERT_TO_RAW): Document. - -Mon Apr 3 19:16:32 2000 Andrew Cagney - - * gdb.texinfo (Protocol): Deprecate the sequence-id. Add cindex - for acknowledgments. - -Tue Mar 28 18:28:45 2000 Andrew Cagney - - * gdb.texinfo (Protocol): Replace ``qfThreadExtraInfo'' with - qThreadExtraInfo. - -2000-03-28 J.T. Conklin - - * gdb.texinfo: Clarify which remote debug protocol commands are - required and which are optional. - -Tue Mar 28 16:06:22 2000 Andrew Cagney - - * gdb.texinfo: Revert remainder of Fri Mar 24 18:06:34 2000 Andrew - Cagney . Move @chapter and @node entries - back to annotate.texi, rluser.texinfo and inc-hist.texinfo. - * annotate.texi: Update. - -2000-03-28 Stan Shebs - - * gdb.texinfo: Update dates, bump to Eighth Edition (note - expectation of additional changes before release), update - ISBN, add copy of top-level menu for @ifhtml, remove explicit - node links, rephrase and/or shorten lines to fix formatting - problem in both regular and @smallbook formats. - * annotate.texi: Shorten lines in example, use smallexample - consistently everywhere. - * Makefile.in: Add comment about texinfo 4.0 html generation. - (SFILES_INCLUDED): Add annotate.texi. - -2000-03-27 Daniel Berlin - - * gdb.texinfo (Debugging Output): Added new section, documenting - the "set/show debug" commands. - -Fri Mar 24 18:06:34 2000 Andrew Cagney - - * annotate.texi (Annotations): When GDBN omit @chapter and @node - entry. - - * gdb.texinfo: Check for @ifinfo instead of @ifnottex. - (rluser.texinfo, inc-hist.texinfo, annotate.texi): Add local - @chapter and @node entries. - - * gdb.texinfo: Link all top-level nodes. - -Fri Mar 24 17:56:48 2000 Andrew Cagney - - * Makefile.in (install-info): Create $(infodir) before installing - files. - -2000-03-23 Fernando Nasser - - From David Whedon - * gdbint.texinfo : Added paragraphs about command deprecation. - -2000-03-22 Daniel Berlin - - * gdb.texinfo: Add documentation for the apropos command. - -2000-03-20 Michael Snyder - - * gdb.texinfo: Add new queries ThreadInfo and ThreadExtraInfo. - -2000-03-20 Michael Snyder - - * gdb.texinfo: Add white space to prevent overprinting in - two places. - -2000-03-17 Stan Shebs - - * gdb.texinfo: Many minor changes from Dmitry Sivachenko - , also clarification of allowed content for - string constants. - -2000-03-16 Eli Zaretskii - - * gdb.texinfo (main menu): Add Annotations. - (File Options): Add @cindex entries for each command-line option. - Document --epoch, --annotate, --async, --interpreter, --write, - --statistics, and --version. - - * annotate.texi: Convert to a chapter. Use @value{GDBN} instead - of GDB. - -2000-02-23 Jim Blandy - - * gdbint.texinfo (FUNCTION_START_OFFSET): Document. - -2000-02-22 Jim Blandy - - * gdbint.texinfo: Document COERCE_FLOAT_TO_DOUBLE --- the new form. - -2000-02-15 Jason Molenda (jsm@bugshack.cygnus.com) - - * Makefile.in (diststuff): New target. - -2000-02-15 Kevin Buettner - - * agentexpr.texi: Fix wording regarding Intel's IA-64 - architecture. [From Jim Wilson.] - -2000-01-16 Tom Tromey - - * gdb.texinfo (Breakpoints): Mention breakpoint ranges. - (Delete Breaks): Mention range arguments. - (Disabling): Likewise. - -2000-01-05 Dmitry Sivachenko - - * gdb.texinfo: Wrap "ASCII" in @sc{}; clarify a few sentences. - -Wed Dec 8 19:53:08 1999 Andrew Cagney - - * gdbint.texinfo (FRAME_CHAIN_VALID): Add the generic frame-chain - valid functions. - -1999-11-05 Stan Shebs - - * gdb.texinfo: Clarify regular expressions used in rbreak. - -1999-10-15 Kevin Buettner - - * gdbint.texinfo (MEMORY_INSERT_BREAKPOINT, - MEMORY_REMOVE_BREAKPOINT): Document. - -Thu Oct 14 21:17:17 1999 Andrew Cagney - - * gdb.texinfo (remote): Document how GDB ignores the qOffsets BSS - offset re-using the DATA offset instead. - -1999-10-11 Jim Kingdon - - * gdbint.texinfo (Target Architecture Definition): Add PARM_BOUNDARY. - -1999-10-07 Jim Blandy - - * gdbint.texinfo (SYMBOLS_CAN_START_WITH_DOLLAR): Document. - -1999-10-05 Stan Shebs - - From Dmitry Sivachenko : - * gdb.texinfo: Use GDBP and GDBN everywhere, fix a couple other - typos. - - * gdb.texinfo: Various minor wording and formatting improvements, - mentions of additional command-line options. - -1999-09-30 Fred Fish - - * gdb.texinfo: Document additional forms of specifying section - names and addresses for the add-symbol-file command. - -1999-09-14 Michael Snyder - - * gdbint.texinfo: Fix typo, add the word "have". - -1999-09-14 Jim Blandy - - * gdbint.texinfo (Target Architecture Definition): Document the - SKIP_PERMANENT_BREAKPOINT macro. - -1999-09-07 Stan Shebs - - * gdb.texinfo: Fiks speling errers. - - * gdb.texinfo: Fix uses of @multitable. - - From Eli Zaretskii : - * gdb.texinfo: Include details specific to DOS host, clarify - some confusing language, fix @ref/@xref/@pxref usages, add - comments about using with optimization, add more indexing, - fix info about disassembly-flavor. - -Tue Sep 7 09:11:24 1999 Kevin Buettner - - * gdbint.texinfo (IN_SOLIB_DYNSYM_RESOLVE_CODE, - SKIP_SOLIB_RESOLVER): Define. - -Fri Sep 3 18:05:14 1999 Andrew Cagney - - * gdb.texinfo (Protocol): Review. Add tables describing ``q'' and - ``g'' packets. - -1999-08-30 Stan Shebs - - * gdb.texinfo: Create a new "Configurations" chapter with - platform-specific info, inline remote.texi and move sections of it - into the new chapter, move bits about info proc, heuristic search, - and register stack into the new chapter. - * remote.texi: Remove, now part of gdb.texinfo. - * Makefile.in (SFILES_INCLUDED): Remove ref to remote.texi. - -1999-08-27 Jason Molenda (jsm@bugshack.cygnus.com) - - * gdbint.texinfo (GDB_TARGET_IS_SUN3, GDB_TARGET_IS_SUN386, - GDB_TARGET_IS_MACH386): These kludges have gone away. - -Wed Aug 25 10:47:03 1999 Andrew Cagney - - * gdbint.texinfo (Target Architecture Definition): Mention - TDEPLIBS. - -1999-08-20 Stan Shebs - - * gdb.texinfo: Remove remaining "HPPA" conditionals, rewrite - surrounding text to fit HP-UX bits into general info. - (HPPA-cfg.texi): Remove, no longer useful. - - * gdb.texinfo: Remove explicit links from @node lines, remove - HP-added "Detailed Node Listing" from main menu which confuses - things. - - From Dmitry Sivachenko : - * gdb.texinfo: Use @value{GDBN} instead of plain GDB, fix grouping - in description of `set environment'. - -1999-08-17 Stan Shebs - - * gdbint.texinfo: Update coding standard to allow pure ANSI/ISO C. - -1999-08-12 Ben Elliston - - * gdbint.texinfo (Breakpoint Handling): Add missing words. - -1999-08-10 Eli Zaretskii - - * gdb.texinfo (Set Watchpoints): Explain some subtleties about - watch, awatch, and rwatch. Explain why the latter two cannot be - set as software watchpoints. Document that watchpoints for local - variables are deleted when the debuggee terminates. - -Wed Aug 11 13:18:14 1999 Andrew Cagney - - * remote.texi (Protocol): Further clarification of the "qRcmd" - packet. Allow E.. response packet. "qRcmd" packet is no longer - reserved. - -1999-08-10 Elena Zannoni - - * Makefile.in: Rename inc-hist.texi to inc-hist.texinfo. - * gdb.texinfo: Ditto. - -Sun Aug 8 12:06:47 1999 Fred Fish - - * gdbint.texinfo (find_sym_fns): This replaces symfile_init. - -1999-08-06 Tom Tromey - - * gdb.texinfo (KOD): New node. - -Fri Aug 6 17:05:48 1999 Andrew Cagney - - * remote.texi (Rcmd): Fix minor formatting typos. - -Thu Aug 5 17:57:41 1999 Andrew Cagney - - * remote.texi (protocol qRcmd): Allow ``OK'' and ``O...'' response - packets. - -1999-07-14 Jim Blandy - - * gdbint.texinfo (PREPARE_TO_PROCEED, ADDR_BITS_REMOVE): Doc - fixes. - -Tue Jun 29 11:43:55 1999 Andrew Cagney - - * gdbint.texinfo (SAVE_DUMMY_FRAME_TOS): Define. - -Fri Jun 25 11:47:06 1999 Andrew Cagney - - * remote.texi (Communication Protocol): ``v'' is in use. Fix - numerous formatting errors. Clarify ``i''. Mark ``i'', ``Z'', - ``z'' and ``qRcmd'' as draft instead of reserved. Identify - packets that are not supported on all hosts. Expand examples. - Spell check. - -1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com) - - * Makefile.in: Recognize html, install-html. Add targets - to build HTML versions of documentation via texi2html. - -Thu Jun 24 15:59:03 1999 Stan Shebs - - * gdbint.texinfo (Testsuite): New chapter, information about the - testsuite. - -Fri Jun 25 02:40:34 1999 Andrew Cagney - - * remote.texi (Communication Protocol): Rewrite. - -Thu Jun 24 16:59:54 1999 Andrew Cagney - - * stabs.texinfo: Fix uses of xref. - -Thu Jun 17 17:23:25 1999 Stan Shebs - - * gdbint.texinfo: Add an anti-printf exhortation, and update the - info about patch submission. - -Mon Jun 7 15:49:40 1999 Stan Shebs - - From Per Bothner : - * gdb.texinfo: Document Chill support. - -Fri Jun 4 16:58:22 1999 Andrew Cagney - - * gdbint.texinfo (SP_REGNUM, FP_REGNUM, PC_REGNUM): Add reference - to corresponding TARGET_READ_reg TARGET_WRITE_reg macros. - Document that the value should be greater-than or equal-to zero. - (NO_STD_REGS): Document. Deprecate. - -Tue Jun 1 15:04:15 1999 Andrew Cagney - - * gdbint.texinfo (TARGET_COMPLEX_BIT, TARGET_DOUBLE_COMPLEX_BIT): - Document that these are not used. - -Thu May 27 09:28:15 1999 Andrew Cagney - - * gdbint.texinfo (EXTRACT_STRUCT_VALUE_ADDRESS_P): Document. - -Mon May 24 10:07:39 1999 Andrew Cagney - - * gdbint.texinfo (FRAME_NUM_ARGS): Update definition. Parameter - numargs was dropped. - -Thu May 20 12:26:59 1999 Andrew Cagney - - * gdbint.texinfo (FRAMELESS_FUNCTION_INVOCATION): Update. - -Tue Apr 27 19:14:20 1999 Andrew Cagney - - * gdbint.texinfo (SKIP_PROLOGUE, SKIP_PROLOGUE_FRAMELESS_P): - Update. - -Thu Apr 22 13:07:37 1999 Andrew Cagney - - * gdbint.texinfo (USE_GENERIC_DUMMY_FRAMES): Document. - (GET_SAVED_REGISTER): Update, not just the a29k uses this. - -Wed Apr 21 13:59:01 1999 Dave Brolley - - * gdbint.texinfo: Fix typos: $ -> @. - -Tue Apr 20 11:59:38 1999 Andrew Cagney - - * gdbint.texinfo (REGISTER_NAMES, BREAKPOINT, BIG_BREAKPOINT, - LITTLE_BREAKPOINT, LITTLE_REMOTE_BREAKPOINT, - BIG_REMOTE_BREAKPOINT): Deprecate in favor of REGISTER_NAME and - BREAKPOINT_FROM_PC. - -Mon Apr 12 16:00:44 1999 Andrew Cagney - - * gdbint.texinfo (CALL_DUMMY_STACK_ADJUST_P, - CALL_DUMMY_STACK_ADJUST): Document. - -Thu Apr 8 17:23:15 1999 Andrew Cagney - - * gdbint.texinfo (CALL_DUMMY_P, CALL_DUMMY_WORDS, - SIZEOF_CALL_DUMMY_WORDS, CALL_DUMMY): Define. - -1999-04-02 Stan Shebs - - * gdbint.texinfo (MAINTENANCE_CMDS): Remove ref, since it no - longer exists. - -Tue Mar 9 19:25:11 1999 Stan Shebs - - * gdb.texinfo, remote.texi, all-cfg.texi, HPPA-cfg.texi: Remove - nearly all @ifset/@ifclear conditionals; nobody uses them, and - they make the manual source incomprehensible. - * h8-cfg.texi: Remove, hasn't been used in years. - -Thu Feb 11 18:00:59 1999 Stan Shebs - - * gdb.texinfo: Update the credits. - -Mon Feb 8 17:33:57 1999 Stan Shebs - - * gdb.texinfo: Fix mistakes noticed in printout of last - draft, add Alpha to discussion of heuristic fence post. - -Fri Feb 5 17:20:00 1999 Stan Shebs - - * gdb.texinfo, remote.texi: Many changes; update to Seventh - Edition, merge some HP changes into mainline, describe some - previously undocumented features, describe more of the target - commands available, eliminate obsolete section on renamed - commands. - * all-cfg.texi, HPPA-cfg.texi: Remove some obsolete conditionals. - -Wed Jan 20 17:47:45 1999 Stan Shebs - - * gdb.texinfo: Make many HPPA conditionals unconditional, - including catchpoint description, since now on for all configs. - * all-cfg.texi: @clear HPPA, since is mainly for very HP-specific - specializations. - -Thu Jan 14 17:10:12 1999 Stan Shebs - - * Makefile.in (GDBvn.texi): Fix match expression to work with - current format of VERSION in gdb/Makefile.in. - * gdb.texinfo: Fix node ref to match new readline. - -Wed Jan 13 10:38:40 1999 Edith Epstein - - * gdb.texinfo: Changes made as part of a project to merge in - changes made by HP. Documentation makes extensive use of - @ifclear HPPA and @ifset HPPA. The HP manual omits doumentation - on remote debugging. There are differences in documentation - (HP vs. non-HP) on C++ support (aCC vs. gnu gcc++). Also, - the HP manual discusses catchpoints, hardware watchpoints, and - some HPUX specific limitations for shared library support. - - There are also a number of @node changes. - -1999-01-12 Jason Molenda (jsm@bugshack.cygnus.com) - - * gdbint.texinfo (Formatting): Disambiguate a sentence. - (C Usage): Same. - -Wed Jan 6 11:55:34 1999 David Taylor - - The following changes were made by Edith Epstein - as part of a project to merge in changes - made by HP. - - * HPPA-cfg.texi: new file. - - * all-cfg.texi: set HPPA for HP PA-RISC targets. - - * refcard.tex: change documentation about catch. - removed info catch. - -Mon Jan 4 18:29:18 1999 Stan Shebs - - * gdbint.texinfo: Expand on GDB's coding standards, - specify the use of arg names with prototypes. - -1998-12-14 J.T. Conklin - - * gdb.texinfo: Fix tipo. - -Sun Dec 13 10:27:59 1998 Andrew Cagney - - * gdbint.texinfo: Document TARGET_BYTE_ORDER_DEFAULT and - TARGET_BYTE_ORDER_SELECTABLE_P. - -Thu Dec 10 16:07:09 1998 Andrew Cagney - - * gdbint.texinfo (FRAME_FIND_SAVED_REGS): Document. - -1998-12-09 Jim Blandy - - * agentexpr.texi: New file. - -Wed Dec 9 21:13:57 1998 Andrew Cagney - - * gdbint.texinfo (REGISTER_NAME): Replace REGISTER_NAMES. - -1998-12-03 J.T. Conklin - - * remote.texi: Changed wording that implied that the GDB remote - protocol caches register values instead of GDB itself. - -Tue Dec 1 17:45:43 1998 Stan Shebs - - * gdbint.texinfo: Add some info about symbol readers. - (CHILL_PRODUCER, etc): Comment out descriptions, not useful. - (IN_SOLIB_CALL_TRAMPOLINE): Rename info from IN_SOLIB_TRAMPOLINE. - (IN_SOLIB_RETURN_TRAMPOLINE): Describe. - (KERNEL_DEBUGGING, MIPSEL): No info about these, remove. - -Mon Nov 30 11:32:21 1998 Andrew Cagney - - * gdbint.texinfo (FRAME_CHAIN_VALID_ALTERNATE): - -Sat Nov 28 13:45:53 1998 Andrew Cagney - - * gdbint.texinfo (INNER_THAN): Update, now takes parameters. - -Fri Nov 27 12:39:45 1998 Andrew Cagney - - * gdbint.texinfo (NO_SINGLE_STEP): Replace with - SOFTWARE_SINGLE_STEP_P and SOFTWARE_SINGLE_STEP. - -Wed Oct 14 10:02:40 1998 Andrew Cagney - - * gdbint.texinfo: Fix minor typos. - -Wed Sep 30 18:03:19 1998 Stan Shebs - - * gdbint.texinfo: Complete overhaul. Group descriptions more - logically, add more info on generic algorithms, remove much - obsolete and/or wrong material. - -Fri Jul 24 17:51:38 1998 Ian Lance Taylor - - * stabs.texinfo (Method Type Descriptor): Expand and correct. - -Mon May 4 10:37:12 1998 Brian Youmans (3diff@gnu.org) - - * refcard.tex: Copyright, address updates. - -Tue Apr 21 18:09:56 1998 Stan Shebs - - * gdb.texinfo (EDITION, DATE): Update and change to use ordinals - for the edition instead of confusing GDB-version-like numbers. - -Mon Apr 13 14:05:00 1998 Fred Fish - - * gdb.texinfo (hbreak, watch): Fix typo, "date" -> "data". - -Thu Apr 2 16:52:44 1998 Jason Molenda (crash@bugshack.cygnus.com) - - * LRS: Reformat a bit to keep text under 80 columns. - -Thu Apr 2 16:10:36 1998 Stan Shebs - - * gdb.texinfo: Add some credits, mention bug monitor. - * remote.texi: Mention mips monitor targets. - * gdbint.texinfo: Describe SP_REGNUM, STEP_SKIPS_DELAY. - -Mon Feb 2 17:13:03 1998 Stan Shebs - - * gdbint.texinfo: Remove obsolete mentions of pinsn.c and opcode.h - files, finish sorting of host vs target vs native macros, describe - some more of them. - -Tue Jan 13 16:44:50 1998 Fred Fish - - * gdbint.texinfo (Host Conditionals): Document change from - using NO_MMALLOC to it's inverse, USE_MMALLOC. - -Mon Nov 24 13:55:21 1997 Andrew Cagney - - * gdbint.texinfo (Host Conditionals): Document - PRINTF_HAS_LONG_DOUBLE, SCANF_HAS_LONG_DOUBLE, HAVE_LONG_DOUBLE. - -Fri Jul 4 14:52:31 1997 Ian Lance Taylor - - * gdbint.texinfo (Host Conditionals): Add CRLF_SOURCE_LINES. - Document LSEEK_NOT_LINEAR. - -Tue Mar 25 14:44:09 1997 Ian Lance Taylor - - * stabs.texinfo (Stab Section Basics): Make it clear that only - some versions of the GNU linker remove the leading N_UNDF symbol. - -Thu Feb 27 17:45:19 1997 Ian Lance Taylor - - * stabs.texinfo (String Field): Document type number pairs here, - instead of in the Sun specific section. - (Include Files): The GNU linker supports the N_BINCL - optimization. Clarify the N_BINCL value, and what it is used - for. - (Procedures): Document N_FUN with an empty string to mark the end - of a function. - (Typedefs): Mention that Sun compilers may use N_GSYM for a type. - (Sun Differences): Remove this node, as the information is now - elsewhere in the main document. - (Stab Section Basics): Mention that the GNU linker may optimize - stabs and remove the leading N_UNDF symbol. - -Mon Dec 9 12:23:32 1996 Roland Pesch - - * gdb.texinfo, refcard.tex: Restore author credit - -Wed Oct 2 22:07:16 1996 Fred Fish - - * gdbint.texinfo: Document that SIGTRAMP_START and SIGTRAMP_END - are macros that take an single argument. - -Wed Oct 2 22:01:36 1996 Fred Fish - - * gdbint.texinfo (SIGTRAMP_START, SIGTRAMP_END): Update - documentation to account for START and END macros taking - one arg. - -Thu Aug 22 17:59:03 1996 Fred Fish - - From: Eberhard Mattes - * gdb.texinfo (Frames): Fix typo. - -Tue Jul 23 10:06:20 1996 Fred Fish - - * gdbint.texinfo (NO_SINGLE_STEP): Document that single_step takes - a target_signal as arg type, not a pid. - -Fri Jul 12 11:10:05 1996 Stu Grossman (grossman@critters.cygnus.com) - - * gdb.texinfo: Document `set assembly-language'. - -Thu Jul 11 13:50:28 1996 Stan Shebs - - * remote.texi: Update list of stubs in the GDB distribution. - -Fri Jul 5 15:38:54 1996 Fred Fish - - * gdbint.texinfo (NO_MMCHECK): Renamed from NO_MMALLOC_CHECK. - Also document that some systems can use mmalloc but must define - this if their C runtime allocates memory that is later freed. - (MMCHECK_FORCE): Document new macro. - -Fri Jun 28 22:17:10 1996 Dawn Perchik - - * remote.texi: Add documentation for target Sparclet. - -Mon Jun 24 18:12:22 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) - - * Makefile.in (srcdir, VPATH, prefix, infodir, INSTALL, - INSTALL_PROGRAM, INSTALL_DATA): Use autoconf set values. - * configure.in: Rewritten for autoconf. - * configure: New. - -Mon Jun 17 10:43:41 1996 Fred Fish - - * Makefile.in (DVIPS): New define, set to dvips. - (dvi): Add stabs.dvi. - (ps): New target. - (all-doc): Depend on info, dvi, and ps targets. - (STAGESTUFF): Add *.ps and *.dvi files. - (clean-info, clean-dvi): Remove. - (mostlyclean): Does not depend upon clean-info or clean-dvi, - rules completely rewritten. - (maintainer-clean): Remove clean-info and clean-dvi - dependencies and put their actions in the rules. - (gdb.ps): New target - (gdb.dvi, gdbgui.dvi, gdbint.dvi, stabs.dvi): Remove - intermediate TeX files, whether they have 2 or 3 character - extensions. - (gdbint.ps): Add target and rules. - (gdb-internals): Delete unused target. - (Makefile): Depends upon config.status also. - -Sat Mar 30 15:46:58 1996 Fred Fish - - * gdbint.texinfo (CC_HAS_LONG_LONG): Clarify when/how this is - set. - -Sat Mar 16 15:10:20 1996 Fred Fish - - From Peter Schauer - * gdb.texinfo (Expressions): Fix erroneous array constant example. - -Sat Mar 16 13:28:45 1996 Fred Fish - - * gdb.texinfo: Add missing "@bullet" to some "@itemize" commands. - -Sat Feb 10 03:28:36 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) - - * gdb.texinfo (Print settings): Document - `set/show print static-members' commands. - -Wed Jan 10 14:16:37 1996 Fred Fish - - * gdbint.texinfo (Native): Document name change, coredep.c to - core-aout.c. - -Wed Dec 13 12:35:28 1995 Ian Lance Taylor - - * stabs.texinfo (Include Files): Document the values the SunOS4 - linker creates for N_BINCL/N_EINCL/N_EXCL stabs. - -Fri Dec 8 21:08:44 1995 Fred Fish - - * gdbint.texinfo (Releases): Change gdb.tar.Z to gdb.tar.gz. - Fix typo. - -Fri Dec 1 11:07:50 1995 Fred Fish - - * gdbint.texinfo (Releases): Make "gdb.tar.gz" rather than - "gdb.tar.Z". - -Wed Sep 20 13:14:10 1995 Ian Lance Taylor - - * Makefile.in (maintainer-clean): New target, synonym for - realclean. - -Wed Sep 20 08:16:03 1995 steve chamberlain - - * gdbint.texinfo (GETENV_PROVIDED, FCLOSE_PROVIDED): Document. - -Thu Aug 3 10:45:37 1995 Fred Fish - - * Update all FSF addresses except those in COPYING* files. - -Wed Jul 19 18:43:03 1995 Stan Shebs - - From Richard Earnshaw (rearnsha@armltd.co.uk): - * gdb.texinfo (convenience variables): Document $_exitcode. - (quit): Document optional expression to use as exit code. - -Thu Jun 22 21:27:33 1995 Victoria Mixon - - * gdb.texinfo, remote.texi: Brought up to date with various - GDB changes. - -Tue Jun 20 14:35:38 1995 Stan Shebs - - * gdb.texinfo: Update dates and versions, fix comments about - hardware watchpoints in future releases and about the - sharedlibrary command. - -Mon May 8 09:30:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com) - - * stabs.texinfo: Remove node `XCOFF differences'. Describe value of - C_FUN stab. Other cleanups. - -Wed Apr 19 07:02:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com) - - * remote.texi (Bootstrapping): Clarify that flush_i_cache is only - for the sparc stub. - -Tue Apr 11 11:41:49 1995 Jim Kingdon (kingdon@lioth.cygnus.com) - - * annotate.texi: Clarify which addresses have differing formats - depending on the language and which do not. - -Tue Mar 28 16:56:22 1995 J.T. Conklin - - * remote.texi (NetWare): Changed example to use BOARD= instead of - NODE= argument to reflect correspoding change to gdbserve.nlm. - -Fri Mar 17 06:47:02 1995 Jim Kingdon (kingdon@lioth.cygnus.com) - - * stabs.texinfo (Negative Type Numbers): Mention the fact that - GDB, as well as AIX dbx, supports the size type attribute. - -Thu Mar 16 12:11:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com) - - * stabs.texinfo (Negative Type Numbers): Document types -31 to -34. - -Mon Mar 13 16:49:13 1995 Per Bothner - - * gdb.texinfo (Define): Document $arg0... arguments to commands, - and new 'if' and 'while' commands. - -Fri Feb 17 15:24:35 1995 Per Bothner - - * gdb.texinfo (Artificial arrays): Note use of coerce-to-array-type. - -Wed Feb 15 11:59:18 1995 J.T. Conklin - - * all-cfg.texi: New flag, GDBSERVE, for NetWare's gdbserve.nlm. - * remote.texi (NetWare): New node, how to use gdbserve.nlm on - NetWare targets. Mostly stolen from the Server node. - -Fri Feb 10 20:20:08 1995 Jim Kingdon (kingdon@lioth.cygnus.com) - - * gdb.texinfo (Setting): Talk about the language of a source file - versus the working language. The old documentation did not match - what GDB did. - -Wed Feb 1 20:26:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com) - - * stabs.texinfo (Source Files): Document N_SO used to mark the end - of a source file. - -Mon Jan 23 14:23:37 1995 Jim Kingdon (kingdon@lioth.cygnus.com) - - * gdb.texinfo (Processes): New node. - -Tue Jan 17 14:09:03 1995 Ian Lance Taylor - - * remote.texi: Update documentation of set/show mipsfpu. - -Fri Jan 6 17:17:28 1995 Stan Shebs - - * gdbgui.texinfo: New file, manual for GUI (gdbtk) users. - * Makefile.in (gdbgui.dvi, gdbgui.info): New actions. - -Sun Sep 4 16:47:21 1994 Stan Shebs (shebs@andros.cygnus.com) - - * gdbint.texinfo: Removed mentions of some incorrectly placed and - obsolete conditionals, described some others. - -Mon Aug 1 15:42:39 1994 Jim Kingdon (kingdon@lioth.cygnus.com) - - * gdbint.texinfo: Remove references to BROKEN_LARGE_ALLOCA and - SET_STACK_LIMIT_HUGE; they were removed from GDB 14 May 1994. - -Mon Aug 1 15:12:02 1994 Stan Shebs (shebs@andros.cygnus.com) - - * gdbint.texinfo: Put regex conditionals in their own table. - -Tue Jul 26 18:32:52 1994 Stan Shebs (shebs@andros.cygnus.com) - - * gdbint.texinfo: Removed mentions of many obsolete conditionals, - described or fixed the descriptions of many others. - -Sun Jul 17 14:14:03 1994 Stan Shebs (shebs@andros.cygnus.com) - - * gdb.texinfo: Add some more credits. - * gdbint.texinfo: Capitalize GDB consistently, describe some - macros and remove some. - -Thu Jul 14 18:43:17 1994 Stan Shebs (shebs@andros.cygnus.com) - - * gdbint.texinfo: Removed mentions of many incorrectly placed and - obsolete conditionals, described some others. - -Tue Jul 12 12:23:15 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) - - * gdb.texinfo (help targets): Changed to `help target', which - is the correct gdb command. - -Wed Jun 22 18:00:51 1994 Jim Kingdon (kingdon@lioth.cygnus.com) - - * annotate.texi (TODO): New node, for keeping track of annotations - suggested but not yet implemented. - -Wed Jun 1 16:10:45 1994 Jim Kingdon (kingdon@lioth.cygnus.com) - - * stabs.texinfo (Statics): Value of xcoff C_BSTAT points to - another symbol, it is not the address itself. - -Thu May 5 20:23:36 1994 Stan Shebs (shebs@andros.cygnus.com) - - * stabs.texinfo (Stab Section Basics): Add comment about alignment - of stabs-in-coff sections. - -Wed May 4 06:26:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com) - - * annotate.texi: Change edition to 0.5 and date to May 1994. - Add index. - (Frames): New node, for frame annotation. - (Displays): New node, for display annotation. - - * remote.texi (MIPS Remote): Say that set timeout doesn't apply - when waiting for your program to stop. - -Fri Apr 29 18:24:46 1994 Jim Kingdon (kingdon@lioth.cygnus.com) - - * annotate.texi (Breakpoint Info): Document annotation of header - fields and record annotation. - -Thu Apr 28 07:44:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com) - - * annotate.texi: New file, to document annotations. - -Thu Apr 21 14:20:51 1994 Jim Kingdon (kingdon@lioth.cygnus.com) - - * Makefile.in (clean): Don't remove GDBvn.texi (apparently on Jan - 16 I meant to make this change but did not). Do remove gdb-cfg.texi. - -Wed Apr 20 11:22:48 1994 Jim Kingdon (kingdon@lioth.cygnus.com) - - * stabs.texinfo (Stab Section Basics): Say what is in .stab - section, and say n_strx field is compilation unit relative. - * stabs.texinfo: Don't use @code for a.out when it is the name of - an object file format. - -Wed Apr 13 20:29:54 1994 Jim Kingdon (kingdon@deneb.cygnus.com) - - * gdb.texinfo: Refer to file names, not path names, per rms - convention. - (Arguments): Fix typo. - -Thu Mar 24 08:09:12 1994 Jim Kingdon (kingdon@lioth.cygnus.com) - - * stabs.texinfo (Global Variables): Talk about stabs in files - where variables are referenced, but not defined. - -Wed Mar 23 07:16:36 1994 Jim Kingdon (kingdon@lioth.cygnus.com) - - * stabs.texinfo: Move stuff on @ and # type descriptors from node - Cplusplus to new nodes Member Type Descriptor and Method Type - Descriptor. Re-write stuff for #. - -Wed Mar 16 08:20:19 1994 Jim Kingdon (kingdon@lioth.cygnus.com) - - * gdb.texinfo (Print Settings): Don't document "set print - fast-symbolic-addr off". The bug which it worked around was fixed - on 25 Feb 94 in coffread.c, so I'm nuking the command. - - * stabs.texinfo (Alternate Entry Points): New node, rewritten from - N_ENTRY node. - - * stabs.texinfo (Type Descriptors): Add 'Y' type descriptor. - -Tue Mar 15 08:43:02 1994 Jim Kingdon (kingdon@lioth.cygnus.com) - - * gdbint.texinfo (Host Conditionals, Target Conditionals): Remove - references to ieee-float.c. - -Fri Mar 11 08:09:40 1994 Jim Kingdon (kingdon@lioth.cygnus.com) - - * gdb.texinfo (Set Breaks): Update documentation for tbreak to - match what the code actually does. - -Wed Mar 9 19:43:05 1994 Jim Kingdon (kingdon@lioth.cygnus.com) - - * stabs.texinfo (Symbol Descriptors): Add OS9000 symbol descriptor s. - -Tue Mar 1 17:04:43 1994 Jim Kingdon (kingdon@deneb.cygnus.com) - - * stabs.texinfo (Type Descriptors): Add OS9000 type descriptors c, - i, and b. - -Wed Feb 23 10:44:18 1994 Jim Kingdon (kingdon@rtl.cygnus.com) - - * stabs.texinfo: Document N_RBRAC as function relative for COFF as - well as for ELF and SOM. Unify the descriptions of ELF and SOM - as "stabs in sections" rather than just saying "ELF and SOM". - Also make that stuff apply to COFF. - -Fri Feb 18 08:25:58 1994 Jim Kingdon (kingdon@lioth.cygnus.com) - - * gdb.texinfo (Formatting Documentation): Change GhostScript to - Ghostscript. - -Fri Feb 4 06:31:31 1994 Jim Kingdon (kingdon@lioth.cygnus.com) - - * gdb.texinfo (Continuing and Stepping): When talking about "step" - versus functions without line numbers, also mention stepping into - them as well as "step" when you are in them. Tell the user how to - deal with the situation. Add comment about "debugging information". - -Thu Feb 3 11:39:59 1994 Jim Kingdon (kingdon@lioth.cygnus.com) - - * stabs.texinfo (Enumerations): Document restriction on where - enumeration types can appear and still win with GDB. - -Wed Feb 2 11:29:17 1994 Jim Kingdon (kingdon@lioth.cygnus.com) - - * stabs.texinfo (Negative Type Numbers): Document format for type - -16. - -Thu Jan 27 16:53:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com) - - * gdb.texinfo (Selection, Frame Info): Update information about - arbitrary frame specficiations. - -Wed Jan 26 15:31:57 1994 Roland H. Pesch (pesch@fowanton.cygnus.com) - - * gdb.texinfo, remote.texi: general editing pass prior to Net release - -Tue Jan 25 12:12:04 1994 Jim Kingdon (kingdon@lioth.cygnus.com) - - * stabs.texinfo (String Field): Discuss continuing stabs with ?. - -Wed Jan 19 06:39:24 1994 David J. Mackenzie (djm@thepub.cygnus.com) - - * stabs.texinfo (Non-Stab Symbol Types): Mention N_SET* | N_EXT. - -Sun Jan 16 12:43:32 1994 Jim Kingdon (kingdon@lioth.cygnus.com) - - * stabs.texinfo: Re-do stuff about C_BSTAT and move from XCOFF - Differences node to Statics node. - (Statics): Discuss XCOFF use of V symbol descriptor. - - * Makefile.in: Remove refcard.dvi and GDBvn.texi in realclean, - not clean. - -Wed Jan 12 21:29:54 1994 John Gilmore (gnu@cygnus.com) - - * gdb.texinfo (Print Settings): Document `set print - fast-symbolic-addr' and improve the doc for some other - `set print's. - -Mon Jan 3 17:23:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com) - - * stabs.texinfo (String Field): Talk about defining several type - numbers at once. - Fix lint regarding changing node ELF Transformations to - ELF and SOM Transformations. - -Fri Dec 31 00:42:43 1993 John Gilmore (gnu@cygnus.com) - - * stabs.texinfo: Insert Peter Kessler's name as inventor (I think). - -Tue Dec 28 09:30:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * stabs.texinfo (Cross-References): `::' is for nested types only - within <>. - (Structures): Document static members. - -Mon Dec 27 13:55:04 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * stabs.texinfo: Document S type attribute. - -Sun Dec 26 20:46:36 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - - * stabs.texinfo: Add notes about stabs-in-som where appropriate. - -Fri Dec 3 19:13:19 1993 John Gilmore (gnu@cygnus.com) - - * gdbint.texinfo: Fix a few typos. - -Sun Nov 28 18:06:25 1993 Roland H. Pesch (pesch@fowanton.cygnus.com) - - * gdb.texinfo, remote.texi: formatting improvements - - * gdb.texinfo (New Features): mention threads. - (Summary, C): fix xrefs in newly contributed text. - (Threads): index entries, clarifications, example - (passim): minor typos fixed, phrasing improvements - - * remote.texi (Bootstrapping): rephrase text on ^C and add index - entries; (Server): explain use of gdbserver w/real-time systems, - add example of conflicting TCP port; (MIPS Remote) break up - running text into table, highlighting commands, and add example. - -Wed Nov 24 14:15:56 1993 Roland H. Pesch (pesch@fowanton.cygnus.com) - - * refcard.tex: avoid bad linebreaks even when REFEDITS=psrc.sed - -Fri Nov 12 16:10:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * stabs.texinfo (Nested Symbols): New node. - (String Field, Symbol Descriptors, Cross-References): Refer to it. - -Thu Nov 11 13:26:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * stabs.texinfo (Stabs in ELF): Clarify how Bbss.bss work with respect - to picking which Bbss.bss symbol to use, and (because there seems to - be no good way of doing it) re-write some of the text to make it - sound like Bbss.bss isn't such a great idea after all (as currently - designed). - - * gdb.texinfo (C): In addition to saying people have to use g++ for - good results, say they have to use stabs. Specifically say cfront - doesn't work well. - (Summary): Merge in information on Modula-2, Pascal, and Chill from - the gdb README. Add xrefs to places where the support for the various - languages is described in detail. - -Mon Nov 8 11:47:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * stabs.texinfo: Clean up stuff about visibility and virtual - characters. - - * stabs.texinfo (N_M2C): Cite Sun doc. - -Fri Nov 5 16:27:27 1993 Roland H. Pesch (pesch@fowanton.cygnus.com) - - * gdb.texinfo: updates re threads. - * remote.texinfo: avoid index entries starting with digits. - -Tue Nov 2 09:08:37 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * stabs.texinfo (Enumerations): Talk about large, negative and - octal values. Clean up cross reference to type attributes. - (String Field): Say that GDB 4.11 supports size attribute. - -Sun Oct 31 13:31:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * remote.texi (VxWorks Remote): Clarify that rebuilding VxWorks kernel - is a mandatory step. Make the stuff about that more concise. - -Wed Oct 27 00:25:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * stabs.texinfo (Class Names): New node. - - * gdb.texinfo (Command Files): Explain order of init file reading. - - * remote.texi (Bootstrapping): Talk about getting the serial driver - to deal with ^C sent by gdb to stop the remote system. - -Mon Oct 25 03:25:41 1993 Tom Lord (lord@cygnus.com) - - * libgdb.texinfo (I/O): incorporated better phrasing from rich. - - * libgdb.texinfo (Defining Commands): made the DOC arg - to gdb_define_app_command a char * instead of char ** - per a suggestion from kingdon. - - * libgdb.texinfo: total rewrite from a different starting - premise. - -Wed Oct 20 18:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * stabs.texinfo (Local Variable Parameters): Re-write paragraph on - floats passed as doubles (to improve clarity). - -Tue Oct 19 14:21:18 1993 Roland H. Pesch (pesch@fowanton.cygnus.com) - - * gdb.texinfo (Source Path): index entries for $cwd, $pdir - - * a4rc.sed: update to work with Andreas Vogel papersize params - - * refcard.tex: use Andreas Vogel simplifications of papersize - params; remove useless version info; update copyright date. - -Tue Oct 19 10:46:22 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * gdb.texinfo (Symbols): Add class NAME to doc for ptype. - -Tue Oct 12 09:11:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * gdb.texinfo (Files): Say what address the load command loads it at. - - * stabs.texinfo (Common Blocks): Minor cleanups. - - * stabs.texinfo: Update ld stabs in elf relocation to reflect the fact - that Sun has backed away from the linker kludge and thus the relevant - issue is changes to the SunPRO tools, not the Solaris linker. - - * stabs.texinfo (Traditional Integer Types): Clean up description - of octal bounds a little bit. Document extra leading zeroes. - -Thu Oct 7 16:15:37 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * gdb.texinfo (Signaling): Update for symbolic symbol names - and add a section explaining the difference between the GDB - signal command and the shell kill utility. - -Wed Oct 6 13:23:01 1993 Tom Lord (lord@rtl.cygnus.com) - - * libgdb.texinfo: added `@' to braces that were unescaped. - -Mon Oct 4 10:42:18 1993 Tom Lord (lord@rtl.cygnus.com) - - * libgdb.texinfo: new file. Spec for the gdb library. - -Sun Oct 3 15:26:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * stabs.texinfo (Include Files): Fix typo (start -> end). - -Thu Sep 30 18:24:56 1993 Roland H. Pesch (pesch@fowanton.cygnus.com) - - * gdb.texinfo, remote.texi: assorted small improvements, mostly - from Melissa at FSF's editing pass. - -Thu Sep 30 11:54:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * gdb.texinfo: Remove stuff about ar and 14 character filenames. - I believe this was fixed by the 13 Sep 89 change to print_frame_info. - Also, modern versions of ar like BSD 4.4 or SVR4 don't have this bug. - -Wed Sep 22 21:22:11 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * remote.texi (Bootstrapping): Discuss 386 call gates. - -Sat Sep 18 17:10:44 1993 Jim Kingdon (kingdon@poseidon.cygnus.com) - - * stabs.texinfo (Based Variables): New node. - -Thu Sep 16 17:48:55 1993 Jim Kingdon (kingdon@cirdan.cygnus.com) - - * stabs.texinfo (Negative Type Numbers): Re-write discussions of - names, sizes, and formats to suggest how not to lose. - -Sat Sep 11 09:35:11 1993 Jim Kingdon (kingdon@poseidon.cygnus.com) - - * stabs.texinfo (Methods): Fix typo. - -Fri Sep 10 06:34:20 1993 David J. Mackenzie (djm@thepub.cygnus.com) - - * gdb.texinfo: Fix a few typos. - -Wed Sep 8 09:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * gdb.texinfo: Clarify how well it works with Fortran. - - * stabs.texinfo (Stabs In ELF, Statics, ELF Transformations): - More on relocating stabs in ELF files. - -Tue Sep 7 13:45:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * stabs.texinfo (Stabs In ELF): Talk about N_FUN value. - -Mon Sep 6 19:23:18 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * stabs.texinfo (Local Variable Parameters): Talk about nameless - parameters on VAX. - -Fri Sep 3 17:06:08 1993 Roland H. Pesch (pesch@fowanton.cygnus.com) - - * gdb.texinfo: @up/@down -> @raisesections/@lowersections - -Fri Sep 3 12:04:15 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * stabs.texinfo: Make info author notice match the TeX author notice. - -Tue Aug 31 13:21:06 1993 David J. Mackenzie (djm@thepub.cygnus.com) - - * stabs.texinfo: Initial-caps all words in node names and - non-trivial words in section names. - -Mon Aug 30 11:13:16 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * stabs.texinfo: Many minor cleanups. - - * stabs.texinfo: Remove @deffn except from Expanded Reference node. - -Sat Aug 28 12:08:09 1993 David J. MacKenzie (djm@edison.eng.umd.edu) - - * stabs.texinfo: Remove full description of big example. - It's not really helpful; just use pieces of it where appropriate. - Add more Texinfo formatting directives (@samp, etc.). - Use @deffn to define stab types. - Eliminate some wordiness. Break up some nodes. - Add an (alphabetized) index of symbol types. - Use consistent capitalization style in node and section names. - -Thu Aug 26 06:36:31 1993 Fred Fish (fnf@deneb.cygnus.com) - - * gdb.texinfo: Change typo "Two two" to "The two". - -Sun Aug 22 12:15:18 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * stabs.texinfo (XCOFF-differences): Remove references to - non-existent types N_DECL and N_RPSYM. - - * stabs.texinfo (String Field): Say that type attributes bug is - fixed in GDB 4.10, since it is. - - * stabs.texinfo: Clean up djm cleanups, and more cleanups of my own. - -Sat Aug 21 04:32:28 1993 David MacKenzie (djm@cygnus.com) - - * stabs.texinfo: Formatting cleanups. - -Fri Aug 20 20:49:53 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * stabs.texinfo: When explaining the n_type of a stab, standardize - how we do it ('#' as a comment indicator, "36 is N_FUN" as text, - no tabs, use @r). - (Global Variables): Clean up. - -Tue Aug 17 15:57:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * stabs.texinfo (Stack Variables): Re-write. - -Mon Aug 16 21:20:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * stabs.texinfo (Stabs-in-elf): Talk about getting the start - addresses of a source file. Also revise formatting. - Change "object module" or "object file" to "source file". - Various: Miscellaneous cleanups. - -Thu Aug 12 15:11:51 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * stabs.texinfo: Point to mangling info in gcc's gpcompare.texi. - -Tue Aug 10 16:57:49 1993 Stan Shebs (shebs@rtl.cygnus.com) - - * gdbint.texinfo: Removed many nonsensical machine-collected - host and target conditionals, described some of the remainder. - -Tue Aug 10 13:28:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * gdbint.texinfo (Getting Started): Use @itemize, not @table. - - * gdbint.texinfo (Top): Add name to @top line, and re-write the - paragraph which follows. - - * gdbint.texinfo (Host): Use @code not @samp for Makefile - variables. Looks better and avoids overful hbox. - -Fri Jul 30 18:26:21 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * stabs.texinfo (Procedures): Improve stuff on nested functions. - -Thu Jul 29 15:10:58 1993 Roland H. Pesch (pesch@fowanton.cygnus.com) - - * remote.texi: (MIPS Remote) clearer doc for set/show timeout, - retransmit-timeout - -Thu Jul 29 13:16:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * gdbint.texinfo: Update statement about `some ancient Unix - systems, like Ultrix 4.0' to Ultrix 4.2. - -Wed Jul 28 15:26:53 1993 Roland H. Pesch (pesch@el_bosque.cygnus.com) - - * h8-cfg.texi, all-cfg.texi: new flag GDBSERVER - - * Makefile.in: depend on remote.texi rather than gdbinv-s.texi - - * remote.texi: (Server) New node on gdbserver. (Remote Serial, - ST2000 Remote, MIPS Remote): mention `host:port' syntax for TCP. - - * remote.texi: new name for former gdbinv-s.texi - - * gdb.texinfo: use remote.texi rather than gdbinv-s.texi - -Wed Jul 28 08:26:24 1993 Ian Lance Taylor (ian@cygnus.com) - - * gdbinv-s.texi: Documented timeout and retransmit-timeout - variables for MIPS remote debugging protocol. - -Mon Jul 26 13:00:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * stabs.texinfo (Negative Type Numbers): FORTRAN LOGICAL fix. - -Tue Jul 20 16:30:41 1993 Jim Kingdon (kingdon@deneb.cygnus.com) - - * Makefile.in (refcard.dvi): Use srcdir where necessary. - -Mon Jul 19 12:02:50 1993 Roland H. Pesch (pesch@cygnus.com) - - * gdb.texinfo: repair conditional bugs in text markup - -Fri Jul 16 18:57:50 1993 Roland H. Pesch (pesch@fowanton.cygnus.com) - - * gdb.texinfo, all-cfg.texi, h8-cfg.texi: introduce MOD2 switch - to select Modula-2 material. - -Thu Jul 15 13:15:01 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * stabs.texinfo: Cleanups regarding statics. - - * gdbinv-s.texi (Bootstrapping): Document exceptionHandler. - (Debug Session): Mention exceptionHandler. Add xref to Bootstrapping. - -Mon Jul 12 13:37:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * stabs.texinfo: N_MAIN is sometimes used for C. - -Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) - - * gdbint.texinfo (Host, Target Conditionals): Remove TM_FILE_OVERRIDE. - -Tue Jul 6 12:41:28 1993 John Gilmore (gnu@cygnus.com) - - * gdbint.texinfo (Target Conditionals): Remove NO_TYPEDEFS, - removed from the code by Kingdon. - -Tue Jul 6 12:24:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * gdb.texinfo (Break Commands): Remove stuff about flushing terminal - input when evaluating breakpoint conditions; the bug has been fixed. - - * gdb.texinfo (Continuing and Stepping): Argument to "continue" - sets the ignore count to N-1, not to N. - -Thu Jul 1 14:57:42 1993 Roland H. Pesch (pesch@fowanton.cygnus.com) - - * refcard.tex (\hoffset): correct longstanding error to match - intended offset; avoids cutting off edge on some printers - -Wed Jun 30 18:23:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * stabs.texinfo (Parameters): Say that order of stabs is significant. - -Fri Jun 25 21:34:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * stabs.texinfo (Common Blocks): Say what Sun FORTRAN does. - -Fri Jun 25 16:15:10 1993 Roland H. Pesch (pesch@fowanton.cygnus.com) - - * Makefile.in: (REFEDITS) new var to control whether PS or CM - fonts and whether US or A4 paper for GDB refcard; (refcard.dvi) - collect sed edits if any, apply to refcard before formatting; - (refcard.ps) stop implying PS fonts if PS output requested; - (lrefcard.ps) delete extra target for variant PS fonts - - * refcard.tex: parametrize papersize dependent info, collect - in easily replaced spot - - * a4rc.sed: new file, edits to refcard for A4 paper - -Fri Jun 25 14:21:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * stabs.texinfo (Negative Type Numbers): Type -16 is 4 bytes. - -Wed Jun 23 15:02:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * stabs.texinfo (Negative Type Numbers): Minor character cleanups. - -Tue Jun 22 16:31:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * stabs.texinfo: Express disapproval of 'D' symbol descriptor - politely rather than rudely. - -Fri Jun 18 19:42:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * stabs.texinfo: Document common blocks. - -Fri Jun 18 12:12:57 1993 Fred Fish (fnf@cygnus.com) - - * stabs.texinfo: Add some basic info about stabs-in-elf. - -Fri Jun 18 13:57:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * stabs.texinfo (Top): Minor cleanup. - -Mon Jun 14 16:16:51 1993 david d `zoo' zuhn (zoo at rtl.cygnus.com) - - * Makefile.in (install-info): remove parentdir support - -Tue Jun 15 18:11:39 1993 Roland H. Pesch (pesch@fowanton.cygnus.com) - - * gdb.texinfo (Copying): delete this node and references to it; - RMS says this manual need not carry GPL. (passim): Improvements - from last round at FSF, largely due to Ian Taylor review, and - minor formatting improvements. - - * gdbinv-s.texi (passim): Improvements from last round at FSF, - largely due to Ian Taylor review. (Debug Session): minor edits to - new text. - -Sun Jun 13 12:52:39 1993 Jim Kingdon (kingdon@cygnus.com) - - * Makefile.in (realclean): Remove info and dvi files too. - -Sat Jun 12 16:09:22 1993 Jim Kingdon (kingdon@cygnus.com) - - * {all,h8}-config.texi: Rename to *-cfg.texi for 14 char filenames. - * Makefile.in: Change accordingly. gdb-config.texi -> gdb-cfg.texi. - * gdb.texinfo: Change accordingly. - - * stabs.texinfo: Clean up N_{L,R}BRAC. Discuss what addresses of - N_{L,R}BRAC,N_SLINE are relative to. - -Fri Jun 11 15:15:55 1993 Jim Kingdon (kingdon@cygnus.com) - - * Makefile.in (GDBvn.texi): Update atomically. - -Wed Jun 9 10:58:16 1993 Jim Kingdon (kingdon@cygnus.com) - - * gdbinv-s.texi (Debug Session): Document exceptionHook. - -Tue Jun 8 13:42:04 1993 Jim Kingdon (kingdon@cygnus.com) - - * gdb.texinfo (Print Settings): Move all stuff relating to symbolic - addresses together. Also motivate the set print symbol-filename - command and suggest other solutions. - -Tue Jun 1 22:46:43 1993 Fred Fish (fnf@cygnus.com) - - * gdb.texinfo (set print elements): Note that the number of - elements is set to unlimited by "set print elements 0". - -Mon May 31 08:06:55 1993 Jim Kingdon (kingdon@cygnus.com) - - * stabs.texinfo (Builtin Type Descriptors): Try to clarify what - NF_LDOUBLE means. - (Stab Types): Include Solaris stab types. - (Procedures): Document Solaris extensions. - -Thu May 27 06:20:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) - - * gdb.texinfo: Add `set print symbol-filename' doc. - -Wed May 26 00:26:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * stabs.texinfo (Arrays): Talk about type definition vs. type - information. - - * stabs.texinfo (Builtin Type Descriptors): Talk about omitting - the trailing semicolon. - -Tue May 25 14:49:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * stabs.texinfo (Line Numbers, Source Files): Re-write these two nodes - and merge in other parts of the document addressing these subjects. - gdbint.texinfo (XCOFF): Remove info which is now in stabs.texinfo. - - * stabs.texinfo (Subranges, Arrays): Try to explain about the semicolon - at the end of a range type. - - * stabs.texinfo (Subranges): "A offset" and "T offset" are not - AIX extensions. - -Mon May 24 09:00:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * stabs.texinfo (Stabs Format): Misc fixes. - -Sat May 22 10:40:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * stabs.texinfo (Constants): Allow an `e' constant to be non-enum. - (Traditional builtin types): Document convex convention for long long. - (Negative builtin types): Discuss type names, and misc fixes. - -Fri May 21 11:20:31 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * stabs.texinfo (Builtin Type Descriptors): Document the floating - point types used with @samp{R} type descriptor. - (Symbol Descriptors): Describe how to handle conflict between - different meanings of @samp{P} symbol descriptor. - -Thu May 20 13:35:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * stabs.texinfo: Remove node Quick Reference and put its children - directly under the main menu. - - * stabs.texinfo: Many more changes to bring it into line with - AIX documentation and reality. I think it now has all the - information from the AIX documentation, except that I burned - out when I got to variant records (Pascal and Modula-2) and - all the COBOL types. Oh well, we can add them later when we're - worrying more about those languages. - - * stabs.texinfo (Automatic variables): Talk about what it means - to omit the symbol descriptor. - -Tue May 18 17:59:18 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * stabs.texinfo (Parameters): Add "(sometimes)" when describing - gcc2 behavior with promoted args. - -Fri May 14 21:35:29 1993 Roland H. Pesch (pesch@fowanton.cygnus.com) - - * gdb.texinfo: include readline appendices in info version of manual - -Fri May 7 11:56:18 1993 Roland H. Pesch (pesch@fowanton.cygnus.com) - - * gdbinv-s.texi (Remote Serial): describe new ^C behavior in - target remote. - - * gdb.texinfo (Machine Code): more index entries for disassemble - -Fri May 7 10:12:30 1993 Fred Fish (fnf@cygnus.com) - - * Clarify the intended use of the gdb-testers and gdb-patches - mailing lists, and shrink gzip comment. - -Thu May 6 16:39:50 1993 Roland H. Pesch (pesch@fowanton.cygnus.com) - - * gdb.texinfo (Shell Commands): do not mention SHELL env var in - DOSHOST configuration of manual. - - * gdb.texinfo (MIPS Stack): new node. - - * all-config.texi (MIPS) new switch. - - * gdbinv-s.texi (Nindy Options) Remove two instances of future - tense; (MIPS Remote) new node. - - * gdb.texinfo (passim) rephrases to work around makeinfo @value - bug; (Environment) less passive, other small cleanups in text about - .cshrc/.bashrc; (Invoking GDB) new MIPS Remote menu entry; - (Remote) new MIPS Remote menu entry. - -Thu Apr 29 09:36:25 1993 Jim Kingdon (kingdon@cygnus.com) - - * stabs.texinfo: Many changes to include information from the - AIX documentation. - - * gdb.texinfo (Environment): Mention pitfall with .cshrc. - -Thu Apr 29 00:03:59 1993 Fred Fish (fnf@cygnus.com) - - * gdbint.texinfo (LONG_LONG): Replace with CC_HAS_LONG_LONG. - Add PRINTF_HAS_LONG_LONG references. - -Wed Apr 28 11:39:18 1993 Roland H. Pesch (pesch@fowanton.cygnus.com) - - * gdb.texinfo: Make node "Shell Commands" unconditional; describe - `set demangle-style arm' (not cfront); mention can type `q' to - discard output, when gdb pages. - -Tue Apr 27 14:02:57 1993 Jim Kingdon (kingdon@cygnus.com) - - * gdbint.texinfo (new node Debugging GDB, elsewhere): - Move a bunch of information from ../README. - (Getting Started): New node. - -Fri Apr 23 17:21:13 1993 Roland H. Pesch (pesch@fowanton.cygnus.com) - - * gdbinv-s.texi, gdb.texinfo: include Hitachi SH target - - * gdb.texinfo: advance manual revision dates to present - - * gdbinv-s.texi, gdb.texinfo, all-config.texi, h8-config.texi: - stop using silly Roman numerals in @set variable names - -Fri Apr 23 07:30:01 1993 Jim Kingdon (kingdon@cygnus.com) - - * stabs.texinfo (Parameters): Keep trying to get this right. - -Wed Apr 21 15:18:47 1993 Jim Kingdon (kingdon@cygnus.com) - - * stabs.texinfo (Parameters): More on "local parameters". - -Mon Apr 19 08:00:51 1993 Jim Kingdon (kingdon@cygnus.com) - - * stabs.texinfo (Parameters): Re-do "local parameters" section. - -Sun Apr 18 09:47:45 1993 Jim Kingdon (kingdon@cygnus.com) - - * stabs.texinfo (Symbol descriptors): Re-do using @table and @xref. - (Parameters): Rewrite. - (xcoff-differences, Sun-differences): Minor changes. - -Thu Apr 15 02:35:24 1993 John Gilmore (gnu@cacophony.cygnus.com) - - * stabs.texinfo: Minor cleanup. - -Wed Apr 14 17:31:00 1993 Jim Kingdon (kingdon@cygnus.com) - - * gdbint.texinfo: Minor xcoff stuff. - -Wed Apr 7 14:11:07 1993 Fred Fish (fnf@cygnus.com) - - * gdbint.texinfo: Update for new config directory structure. - Add info about internal type data structures. - -Mon Apr 5 09:06:30 1993 Ian Lance Taylor (ian@cygnus.com) - - * Makefile.in (SFILES_INCLUDED): gdb-config.texi is no longer in - $(srcdir). - (gdb-config.texi): Depend on file in $(srcdir). - -Fri Apr 2 16:55:13 1993 Jim Kingdon (kingdon@cygnus.com) - - * stabs.texinfo: Fixes about N_SO. - -Mon Mar 29 15:03:25 1993 Fred Fish (fnf@cygnus.com) - - * gdbinit.texinfo: Document renaming of tm-29k.h to tm-a29k.h. - -Fri Mar 26 18:00:35 1993 Roland H. Pesch (pesch@fowanton.cygnus.com) - - * gdb.texinfo: include list of nonstandard init file names - - * *-config.texi: new switch GENERIC for text that applies *only* - to (usual) multiple-target version of manual - - * gdb.texinfo, gdbinv-s.texi: Update conditional markup to correct - h8 config - - * gdb.texinfo: depend on latest fixed makeinfo, use conditionals - in menus (rather than conditionally selected multiple alternative - menus). - - * Makefile.in: define and use DOC_CONFIG var to select - configuration for GDB user manual. - - * gdb-config.texi: delete from repository, generate from Makefile. - - * all-config.texi: normal `generic' configuration file, formerly - stored as gdb-config.texi - -Wed Mar 24 14:03:19 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com) - - * Makefile.in: add dvi target to build all .dvi files - -Tue Mar 23 16:03:24 1993 Roland H. Pesch (pesch@fowanton.cygnus.com) - - * gdb.texinfo, gdvinv-s.texinfo: formatting improvements. - -Tue Feb 23 11:46:11 1993 Mike Stump (mrs@cygnus.com) - - * stabs.texi: The `this' pointer is now known by the name - `this' instead of `$t'. - -Fri Mar 19 21:46:50 1993 John Gilmore (gnu@cygnus.com) - - * gdbint.texinfo: Doc NO_MMALLOC and NO_MMALLOC_CHECK as - host conditionals. - * stabs.texinfo: More array fixes inspired by Jim's. - -Fri Mar 19 10:23:34 1993 Jim Kingdon (kingdon@cygnus.com) - - * stabs.texinfo: Fixes re arrays and continuations. - - * gdbint.texinfo: Add XCOFF node. - -Mon Mar 8 15:52:18 1993 John Gilmore (gnu@cygnus.com) - - * gdb.texinfo: Add `set print max-symbolic-offset' doc. - -Sun Feb 21 17:09:38 1993 Per Bothner (bothner@rtl.cygnus.com) - - * stabs.texinfo: Fix for array types to mention lower bounds. - -Thu Feb 18 01:19:49 1993 John Gilmore (gnu@cygnus.com) - - * gdbint.texinfo: Update PTRACE_ARG3_TYPE doc, pull PT_*. - -Wed Feb 17 08:15:24 1993 John Gilmore (gnu@cygnus.com) - - * gdbint.texinfo: Remove SET_STACK_LIMIT_HUGE from target defines. - -Thu Feb 11 10:38:40 1993 John Gilmore (gnu@cygnus.com) - - * gdbint.texinfo: Fix thinko (NM_FILE => NAT_FILE). Found - by Michael Ben-Gershon . - -Wed Feb 10 23:59:19 1993 John Gilmore (gnu@cygnus.com) - - * gdbint.texinfo: Eliminate IBM6000_HOST, document IBM6000_TARGET. - -Wed Feb 10 23:42:37 1993 John Gilmore (gnu@cygnus.com) - - * gdbint.texinfo: Eliminate IBM6000_HOST, document IBM6000_TARGET. - -Tue Feb 9 18:26:21 1993 Roland H. Pesch (pesch@fowanton.cygnus.com) - - * gdb.texinfo, gdbinv-s.texi: misc updates - -Sat Feb 6 10:25:47 1993 John Gilmore (gnu@cygnus.com) - - * gdbint.texinfo: Brief documentation for longjmp support, - from an email msg by Stu. - -Fri Feb 5 14:10:15 1993 John Gilmore (gnu@cygnus.com) - - * stabs.texinfo: Fix description of floating point "range" - types (which really define basic types). Reported by Jim Meehan, - . - - * gdbint.texinfo: Remove COFF_NO_LONG_FILE_NAMES define, now gone. - -Thu Feb 4 13:56:46 1993 Ian Lance Taylor (ian@cygnus.com) - - * gdbint.texinfo: Slightly expand section on supporting a new - object file format. - -Thu Feb 4 01:49:04 1993 John Gilmore (gnu@cygnus.com) - - * Makefile.in (refcard.ps, lrefcard.ps): Remove psref.tex - intermediate file. - -Tue Feb 2 12:18:06 1993 Roland H. Pesch (pesch@fowanton.cygnus.com) - - * gdb.texinfo, gdbinv-s.texi: miscellaneous stylistic cleanups - -Mon Feb 1 15:35:47 1993 Roland H. Pesch (pesch@fowanton.cygnus.com) - - * gdbinv-s.texi: z8000 simulator target name is just "sim" - - * gdbinv-s.texi: Mention that Z8000 simulator can simulate Z8001 - as well as Z8002. - -Thu Dec 17 00:44:57 1992 John Gilmore (gnu@cygnus.com) - - * gdbint.texinfo (Host Conditionals): Remove - NAMES_HAVE_UNDERSCORE, SOME_NAMES_HAVE_DOT, document - MEM_FNS_DECLARED. - (Target Conditionals): Remove all of the above. - -Tue Dec 15 02:01:00 1992 John Gilmore (gnu@cygnus.com) - - * gdbint.texinfo: SWAP_HOST_AND_TARGET => SWAP_TARGET_AND_HOST. - Noticed by Andy Jackson, . - -Sat Nov 28 06:51:35 1992 John Gilmore (gnu@cygnus.com) - - * gdbint.texinfo: Add sections on clean design and on how to send - in changes. - -Mon Nov 9 23:57:02 1992 John Gilmore (gnu@cygnus.com) - - * gdbint.texinfo: Add how to declare the result of make_cleanup. - -Tue Oct 27 17:08:45 1992 K. Richard Pixley (rich@cygnus.com) - - * gdbint.texinfo: nm.h now included in defs.h. - -Mon Oct 26 11:09:47 1992 John Gilmore (gnu@cygnus.com) - - * gdb.texinfo: Fix typo, reported by Karl Berry. - -Fri Oct 23 00:41:21 1992 John Gilmore (gnu@cygnus.com) - - * gdb.texinfo: Add opcodes dir to GDB distribution description. - -Wed Oct 21 03:51:01 1992 John Gilmore (gnu@cygnus.com) - - * gdbint.texinfo: Improve REGISTER_U_ADDR and USE_PROC_FS doc. - -Tue Oct 20 23:27:56 1992 John Gilmore (gnu@cygnus.com) - - * gdbint.texinfo: Document obsolete STACK_END_ADDR. - (all @node commands): Use new form to avoid nitpicking errors. - * gdbint.texinfo: Document host/native/target split. - -Tue Oct 20 21:32:18 1992 K. Richard Pixley (rich@sendai.cygnus.com) - - * gdbint.texinfo: add PUSH_DUMMY_FRAME, POP_FRAME. - -Fri Oct 16 03:34:01 1992 John Gilmore (gnu@cygnus.com) - - * gdbint.texinfo: Update GET_LONGJMP_TARGET, L_SET doc. - -Sat Oct 10 18:04:58 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * gdbint.texinfo: fixed a stray email address (needs @@), - added @table @code to node "Native Conditionals" - -Thu Oct 8 16:27:45 1992 K. Richard Pixley (rich@sendai.cygnus.com) - - * gdbint.texinfo: document a few more macros, create new section - for native macros. - -Thu Oct 1 01:57:56 1992 John Gilmore (gnu@cygnus.com) - - * gdb.texinfo: Document command hooks. - -Tue Sep 22 00:34:15 1992 John Gilmore (gnu@cygnus.com) - - * gdbint.texinfo: Describe coding style of GDB. - -Mon Sep 21 19:32:16 1992 John Gilmore (gnu@cygnus.com) - - * stabs.texinfo: Minor wording changes. - -Tue Sep 15 02:57:09 1992 John Gilmore (gnu@cygnus.com) - - * gdbint.texinfo: Improve release doc slightly. - -Fri Sep 11 18:28:28 1992 Roland H. Pesch (pesch@fowanton.cygnus.com) - - * gdb.texinfo, gdbinv-m.m4.in, gdbinv-s.m4.in: First pass at doc - for two new remote targets---29K using UDI, and Tandem ST2000 - using STDBUG. - - * all.m4, none.m4: new m4 switch, _ST2000__ - - * all.m4: turn on H8/300 stuff for generic manual - - * gdbinv-s.m4.in: remove text on special procedures to continue - after explicit call to breakpoint() in serial stubs. - -Fri Sep 11 01:34:25 1992 John Gilmore (gnu@sphagnum.cygnus.com) - - * gdbint.texinfo: Improve doc of GDB config macros. - -Wed Sep 9 16:52:06 1992 John Gilmore (gnu@cygnus.com) - - * stabs.texinfo: Remove Bothner's changes for C++ nested types. - These will be reinserted when examined. - -Fri Sep 4 18:53:57 1992 Roland H. Pesch (pesch@fowanton.cygnus.com) - - * gdb.texinfo: fix shameful error of agreement reported by - jimb@occs.cs.oberlin.edu (Jim Blandy) - * gdb.texinfo: remove old partial discussion of remote serial - protocol (via serial debug stubs) - * gdbinv-m.m4.in, gdbinv-s.m4.in: new section discussing - use of serial debug stubs - -Mon Aug 24 01:17:55 1992 John Gilmore (gnu@cygnus.com) - - * gdbint.texinfo: Make a start at documenting all the #if macros - in GDB. At least list them all, and start separating them into - host-specific and target-specific. - -Tue Aug 18 15:59:13 1992 Roland H. Pesch (pesch@fowanton.cygnus.com) - - * gdbinv-s.m4.in: refrain from using @cartouche for just a few - examples (not consistent w others). - gdb.texinfo: issue disclaimer paragraph on cmdline options only - for generic vn of doc - -Tue Aug 18 14:53:27 1992 Ian Lance Taylor (ian@cygnus.com) - - * Makefile.in: always create installation directories. - -Tue Aug 18 14:11:50 1992 Roland H. Pesch (pesch@fowanton.cygnus.com) - - * gdb.texinfo: in h8 config, do not describe searching commands. - -Mon Aug 17 18:07:59 1992 Roland H. Pesch (pesch@fowanton.cygnus.com) - - * gdb.texinfo, none.m4, h8.m4, gdbinv-s.m4.in: improve H8/300 - conditionals; introduce a few generic switches that may be - useful for other cross-dev or dos-hosted configs. - - * gdb.texinfo: fix typo in "info reg" description - -Sun Aug 16 01:16:18 1992 John Gilmore (gnu@cygnus.com) - - * stabs.texinfo: Minor updates from running TeX over it. - * Makefile.in (stabs.dvi, stabs.ps): Add. - -Sat Aug 15 20:52:24 1992 Per Bothner (bothner@rtl.cygnus.com) - - * stabs.texinfo: Stabs documentation, written by Julia Menapace. - First pass at converting it to texinfo. - -Sat Aug 15 03:14:59 1992 John Gilmore (gnu@cygnus.com) - - * gdb.texinfo, refcard.tex: Document mult args on `info reg'. - * Makefile.in (refcard.ps, lrefcard.ps): Add missing $(srdir). - -Fri Aug 14 21:08:47 1992 John Gilmore (gnu@cygnus.com) - - * gdbint.texinfo: Add section on partial symbol tables. - -Fri Jun 19 10:28:05 1992 John Gilmore (gnu at cygnus.com) - - * gdb.texinfo: Document new am29k setting. - -Sat Jun 20 16:31:10 1992 John Gilmore (gnu at cygnus.com) - - * gdb.texinfo: document `set remotedebug' and `set - rstack_high_address'. - -Thu May 14 17:09:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com) - - * gdb.texinfo: slight expansion of new text on reading info files - * gdbinv-s.m4.in: correct and expand info on cross-debugging - H8/300 from DOS. - -Tue May 12 12:22:47 1992 John Gilmore (gnu at cygnus.com) - - * gdb.texinfo: `info user' => `show user'. Noticed by David Taylor. - -Mon May 11 19:06:27 1992 John Gilmore (gnu at cygnus.com) - - * gdb.texinfo: Say how to read the `info' files. - -Tue May 5 12:11:38 1992 K. Richard Pixley (rich@cygnus.com) - - * Makefile.in: gm4 -> m4. - -Fri Apr 10 17:50:43 1992 John Gilmore (gnu at rtl.cygnus.com) - - * gdb.texinfo: Update for GDB-4.5. Move `Formatting - Documentation' ahead of `Installing GDB' to match README. - Update shared library doc, -readnow and -mapped, and directory - structure (add glob and mmalloc). Update configure doc. - -Tue Mar 24 23:28:38 1992 K. Richard Pixley (rich@cygnus.com) - - * Makefile.in: remove $(srcdir) from gdb.info rule. - -Sat Mar 7 18:44:50 1992 K. Richard Pixley (rich@rtl.cygnus.com) - - * Makefile.in: commented out gdb-all.texinfo rule. This is - temporary. - -Wed Feb 26 18:04:40 1992 K. Richard Pixley (rich@cygnus.com) - - * Makefile.in, configure.in: removed traces of namesubdir, - -subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced - copyrights to '92, '13, changed some from Cygnus to FSF. - -Fri Dec 13 09:47:31 1991 John Gilmore (gnu at cygnus.com) - - * gdb.texinfo: Improve how we ask for bug reports. - -Tue Dec 10 04:07:21 1991 K. Richard Pixley (rich at rtl.cygnus.com) - - * Makefile.in: infodir belongs in datadir. - -Fri Dec 6 23:57:34 1991 K. Richard Pixley (rich at rtl.cygnus.com) - - * Makefile.in: remove spaces following hyphens, bsd make can't - cope. install using INSTALL_DATA. added clean-info. added - standards.text support. - -Thu Dec 5 22:46:12 1991 K. Richard Pixley (rich at rtl.cygnus.com) - - * Makefile.in: idestdir and ddestdir go away. Added copyrights - and shift gpl to v2. Added ChangeLog if it didn't exist. docdir - and mandir now keyed off datadir by default. - - -Local Variables: -mode: change-log -left-margin: 8 -fill-column: 74 -version-control: never -coding: utf-8 -End: diff --git a/gdb/doc/ChangeLog-1991-2021 b/gdb/doc/ChangeLog-1991-2021 new file mode 100644 index 00000000000..0df8399caa3 --- /dev/null +++ b/gdb/doc/ChangeLog-1991-2021 @@ -0,0 +1,14036 @@ +2021-07-02 Pedro Alves + + * gdb.texinfo (TUI): : New node/section. + +2021-06-25 Andrew Burgess + + * gdb.texinfo (Symbols): Document new output format for 'info + sources'. + +2021-06-25 Andrew Burgess + + * gdb.texinfo (GDB/MI File Commands): Document --group-by-objfile + extension for -file-list-exec-source-files. + +2021-06-25 Andrew Burgess + + * gdb.texinfo (GDB/MI File Commands): Document extensions to + -file-list-exec-source-files. + +2021-06-25 Andrew Burgess + + * python.texinfo (Breakpoints In Python): Add BP_CATCHPOINT + description. + +2021-06-25 Andrew Burgess + + * guile.texinfo (Breakpoints In Guile): Add BP_CATCHPOINT + description. + +2021-06-21 Andrew Burgess + + * gdb.texinfo (RISC-V Features): Mention vector register feature. + +2021-06-21 Andrew Burgess + + * python.texi (Unwinding Frames in Python): Mention + PendingFrame.level. + (Frames In Python): Mention Frame.level. + +2021-06-16 Felix Willgerodt + + * gdb.texinfo (Process Record and Replay): Stop mentioning lines + for "record function-call-history" and + "set record function-call-history-size". + +2021-06-08 Lancelot Six + + * python.texi (Writing a Pretty-Printer): Use 'is None' instead of + '== None'. + +2021-06-05 Shahab Vahedi + + * gdb.texinfo (Source and Machine Code): Document 'set + disassembler-options' support for the ARC target. + +2021-06-04 Hannes Domani + + * python.texi (TUI Windows In Python): Document Window.click. + +2021-05-29 Hannes Domani + + * python.texi (Writing a Frame Filter): Fix example. + +2021-05-27 Hannes Domani + + * python.texi (TUI Windows In Python): Document "full_window" + argument. + +2021-05-27 Hannes Domani + + * python.texi (Symbols In Python): Document gdb.SYMBOL_LOC_LABEL. + +2021-05-25 Hannes Domani + + * python.texi (Symbols In Python): Fix gdb.SYMBOL_LOC_COMMON_BLOCK. + +2021-05-24 Andrew Burgess + + * gdb.texi (Initialization Files): Add '@:' after 'e.g.'. + (Source Path): Likewise. + (GDB/MI Development and Front Ends): Likewise. + (ARM Features): Likewise. + (gdb man): Likewise. + +2021-05-14 Tankut Baris Aktemur + + * python.texi (Inferiors In Python): Mention the 'connection_num' + attribute. + +2021-05-12 George Barrett + + * guile.texi (Values From Inferior In Guile): Add documentation + for value-const-value. + +2021-05-12 George Barrett + + * guile.texi (Values From Inferior In Guile): Add documentation + for value-reference-value. Add documentation for + value-rvalue-reference-value. + +2021-05-12 George Barrett + + * guile.texi (Types In Guile): Add documentation for + TYPE_CODE_RVALUE_REF. + +2021-05-10 Andrew Burgess + + * guile.texinfo (Breakpoints In Guile): Reword sentence. + * python.texinfo (Breakpoints In Python): Reword sentence. + +2021-05-09 Andrew Burgess + + * python.texinfo (Python Commands): Document 'set debug + py-unwind' and 'show debug py-unwind'. + +2021-05-09 Andrew Burgess + + * python.texinfo (Python Commands): Document 'set debug + py-breakpoint' and 'show debug py-breakpoint'. + +2021-05-06 Tankut Baris Aktemur + + * gdb.texinfo (GDB/MI Breakpoint Commands): Mention the + '--force' flag of the '-break-condition' command. + +2021-05-06 Tankut Baris Aktemur + + * gdb.texinfo (GDB/MI Breakpoint Commands): Mention the + '--force-condition' flag of the '-break-insert' and + '-dprintf-insert' commands. + +2021-05-04 Simon Marchi + + * python.texi (Types In Python): Re-organize Type.fields doc. + Mention handling of array types. Correct doc for when calling + the method on another type. + +2021-04-28 Andrew Burgess + + * gdb.texinfo (Initialization Files): Use @env when referencing + environment variables. + (Shell Commands): Likewise. + (Starting): Likewise. + (Arguments): Likewise. + (Environment): Likewise. + (Edit): Likewise. + (Compiling and Injecting Code): Likewise. + (Files): Likewise. + (Command History): Likewise. + (Screen Size): Likewise. + (Emacs): Likewise. + +2021-04-28 Andrew Burgess + + * python.texinfo (Python Commands): Mention new commands. + +2021-04-25 Lancelot Six + + PR gdb/22640 + * gdb.texinfo (Symbols): Describe the 'x' and 'd' flags of the + ptype command, describe 'set print type hex' and 'show print + type hex' commands. Update 'ptype/o' examples. + +2021-04-21 Tankut Baris Aktemur + + * gdb.texinfo (GDB/MI Breakpoint Information): Update the + description for the 'enabled' field of breakpoint locations. + +2021-04-15 Tom Tromey + Andrew Burgess + + * gdb.texinfo (Mode Options): Mention "set startup-quietly". + +2021-04-15 Andrew Burgess + + PR cli/25956 + * gdb.texinfo (File Options): Mention new command line options. + (Startup): Discuss when early init files are processed. + (Initialization Files): Add description of early init files. + (Output Styling): Update description of 'version' style. + (gdb man): Mention early init files. + +2021-04-14 Andrew Burgess + + * gdb.texinfo (GDB/MI Miscellaneous Commands): Add missing + parentheses to GDB prompt in example, and replace '(gdb)' with + '(@value{GDBP})' in one example where the latter was already in + use. + +2021-03-29 Luis Machado + + * gdb.textinfo (Memory Tagging): Make it a @section. + +2021-03-24 Luis Machado + + * gdb.texinfo (Data): Document memory tagging changes to the "print" + command. + (Examining Memory): Document memory tagging changes to the "x" + command. + (Memory Tagging): Update with more information on changes to the "x" + and "print" commands. + +2021-03-24 Luis Machado + + * gdb.texinfo (Memory Tagging): New subsection and node. + (AArch64 Memory Tagging Extension): New subsection. + +2021-03-24 Luis Machado + + * gdb.texinfo (General Query Packets): Document qMemTags and + QMemTags. Document the "memory-tagging" feature. + (ARM-Specific Protocol Details): Document memory tag types. + +2021-03-18 Andrew Burgess + + * python.texinfo (Parameters In Python): Return empty string in + small example code. + +2021-02-24 Andrew Burgess + + * gdb.texinfo (Files): Document new 'maint info target-sections' + command. + +2021-02-17 Lancelot Six + + PR cli/17290 + * gdb.texinfo (Remote Configuration): Fix show remote + interrupt-sequence and show remote interrupt-on-connect. + +2021-02-11 Andrew Burgess + + * gdb.texinfo (Files): Update documentation for 'maint info + sections'. + +2021-02-08 Andrew Burgess + + * python.texinfo (TUI Windows In Python): Extend description of + TuiWindow.is_valid. + +2021-02-02 Lancelot SIX + + * gdb.texinfo (Inferiors Connections and Programs): Document the + inferior command when used without argument. + +2021-01-27 Tom Tromey + + * gdb.texinfo (Auto-loading extensions): Remove extraneous space. + +2021-01-25 Marco Barisione + + * python.texi: Add parentheses to print statements/functions. + +2021-01-25 Andrew Burgess + + * gdb.texinfo (Specify Location): Move menu to the end of the + node. + (Auto-loading): Likewise. + (Extending GDB): Likewise. + (TUI): Likewise. + (Operating System Information): Likewise. + +2021-01-22 Andrew Burgess + + PR cli/25956 + * gdb.texinfo (Output Styling): Document version style. + +2021-01-22 Andrew Burgess + + * gdb.texinfo (Auto-loading extensions): Add additional cross + references and move @menu to the end of the node. + +2021-01-22 Andrew Burgess + + * gdb.texinfo (Aliases): Move @menu to the end of the node. + +2021-01-22 Andrew Burgess + + * gdb.texinfo (PowerPC Embedded): Down case contents of @var. + +2021-01-21 Andrew Burgess + + * gdb.texinfo (Commands): Update menu. + (Extending GDB): Likewise. + (Command aliases default args): Moved later into the document, + added a cindex entry. Renamed the section 'Automatically prepend + default arguments to user-defined aliases' to 'Default Arguments'. + (Aliases): Moved earlier in the document. Minor rewording of the + first paragraph, down-cased the text inside all uses of @var, and + added a cross reference to the Python code. Renamed the section + 'Creating new spellings of existing commands' to 'Command + Aliases'. + +2021-01-21 Hannes Domani + + PR python/19151 + * python.texi (Breakpoints In Python): Document + gdb.BP_HARDWARE_BREAKPOINT. + +2021-01-01 Joel Brobecker + + * gdb.texinfo, refcard.tex: Update copyright year range. + +2020-12-29 Hannes Domani + + * python.texi (Frame Decorator API): Fix method name. + +2020-12-23 Alex Bennée + + * gdb.texinfo (Packets): Clarify language for ? packet. + +2020-12-21 Joel Brobecker + + * gdb.texinfo (Requirements): Add GMP to list of requirements. + +2020-12-18 Hannes Domani + + * python.texi (TUI Windows In Python): Remove erroneous 'a'. + +2020-12-18 Hannes Domani + + * python.texi (Values From Inferior): Document the address keyword. + +2020-12-17 Simon Marchi + + PR gdb/27088 + * gdb.texinfo (Range Checking): Fix "show check range" command + name. + +2020-12-13 Andrew Burgess + + * gdb.texinfo (Caching Target Data): Document 'maint flush + dcache'. + +2020-12-13 Andrew Burgess + + * gdb.texinfo (Symbols): Document 'maint flush symbol-cache'. + (Maintenance Commands): Document 'maint flush register-cache'. + +2020-12-04 Bernd Edlinger + + * Makefile.in: Delete GDBvn.texi and version.subst only in + the maintainer-clean target. + +2020-11-29 Hannes Domani + + PR python/26974 + * python.texi: Fix docu for static members argument. + +2020-11-19 Andrew Burgess + + * gdb.texinfo (Debugging Output): Document 'set/show debug + fortran-array-slicing'. + (Special Fortran Commands): Document 'set/show fortran + repack-array-slices'. + +2020-11-12 Andrew Burgess + + * gdb.texinfo (Maintenance Commands): Update description of 'maint + print c-tdesc'. + +2020-11-02 Andrew Burgess + + * gdb.texinfo (Mode Options): Descriptions of initialization files + has been moved to 'Initialization Files'. + (Startup): Likewise. + (Initialization Files): New node. + (gdb man): Update to mention alternative file paths. + (gdbinit man): Likewise. + +2020-10-27 Tankut Baris Aktemur + + * gdb.texinfo (Set Breaks): Document the '-force-condition' flag + of the 'break'command. + * gdb.texinfo (Conditions): Document the '-force' flag of the + 'condition' command. + +2020-10-27 Tankut Baris Aktemur + + * gdb.texinfo (Set Breaks): Document disabling of breakpoint + locations for which the breakpoint condition is invalid. + +2020-10-06 Michael Forney + + * Makefile.in (HAVE_NATIVE_GCORE_HOST): Add for gcore.1 + install condition. + +2020-10-04 Simon Marchi + + * gdb.texinfo (Debugging Output): Add set/show debug event-loop. + +2020-10-04 Simon Marchi + + * gdb.texinfo (Debugging Output): Add empty lines, fix typo. + +2020-09-13 Pedro Alves + + * gdb.texinfo (GDB/MI Breakpoint Commands): Document + "-break-insert --qualified" and "-dprintf-insert --qualified". + +2020-08-25 Shahab Vahedi + + * gdb.texinfo (Synopsys ARC): Document LP_START, LP_END and BTA. + +2020-08-25 Shahab Vahedi + + * gdb.texinfo (Synopsys ARC): Update the documentation for ARC + Features. + +2020-08-07 Tom Tromey + + * gdb.texinfo (Ravenscar Profile): Add examples. + Document runtime initialization limitation. + +2020-08-04 Jose E. Marchesi + + * gdb.texinfo (Contributors): Add information for the eBPF + support. + (BPF): New section. + +2020-07-28 Andrew Burgess + + * python.texi (Unwinding Frames in Python): Update descriptions + for PendingFrame.read_register and + gdb.UnwindInfo.add_saved_register. + (Frames In Python): Update description of Frame.read_register. + +2020-07-28 Andrew Burgess + + * python.texi (Registers In Python): Document new find function. + +2020-07-22 Kevin Buettner + + * gdb.texinfo (Maintenance Commands): Add documentation for + new command "maintenance print core-file-backed-mappings". + +2020-07-22 Reuben Thomas + + * gdb.texinfo (Remote Protocol, Overview): Correct the description + of which remote protocol commands are mandatory for a stub to + implement. + +2020-07-20 Ludovic Courtès + + * doc/guile.texi (Guile Introduction): Mention Guile 3.0. + +2020-07-20 Ludovic Courtès + + * guile.texi (Memory Ports in Guile): Mark + 'memory-port-read-buffer-size', + 'set-memory-port-read-buffer-size!', + 'memory-port-write-buffer-size', + 'set-memory-port-read-buffer-size!' as deprecated. + (Guile Introduction): Clarify which Guile + versions are supported. + +2020-07-13 Paul Carroll + + PR gdb/25716 + + * gdb.texinfo (Frame Apply): Remove anchor for 'frame + apply' and adjust xrefs to it. + +2020-07-11 Philippe Waroquiers + + * gdb.texinfo (Attach): Update exec-file-mismatch doc. + +2020-07-08 Hannes Domani + + * gdb.texinfo: Document Windows drive conversion of + 'set auto-load scripts-directory'. + +2020-07-06 Andrew Burgess + + * gdb.texi (Registers): Add @anchor for 'info registers + ' command. + * python.texi (Architectures In Python): Document new + register_groups method. + (Registers In Python): Document two new object types related to + register groups. + +2020-07-06 Andrew Burgess + + * python.texi (Python API): Add new section to the menu. + (Frames In Python): Add new @anchor. + (Architectures In Python): Document new registers method. + (Registers In Python): New section. + +2020-07-06 Andrew Burgess + + * python.texi (Unwinding Frames in Python): Document + PendingFrame.architecture method. + +2020-06-26 Eli Zaretskii + + * gdb.texinfo (Shell Commands): More accurate description of use + of $SHELL. Reported by Sandra Loosemore . + +2020-06-23 Andrew Burgess + + * gdb.texinfo (Maintenance Commands): Document new 'maint print + xml-desc' command. + +2020-06-22 Philippe Waroquiers + + * gdb.texinfo (Command aliases default args): New node documenting + how to use default args for a command using aliases. + (Aliases): Document the new 'DEFAULT-ARGS...' option. + (Help): Update help aliases text and describe when full alias + definition is provided. + +2020-06-11 Tom Tromey + + * gdb.texinfo (Index Files): Reword. Remove Ada limitation. + +2020-06-10 Jonny Grant + + * gdb.texinfo: Remove broken links Previous and Up from + contents. + +2020-05-23 Tom Tromey + + * gdb.texinfo (Output Styling): Don't mention completion styling. + (Editing): Don't mention readline completion styling. + +2020-05-23 Tom Tromey + + * gdb.texinfo (Output Styling): Mention completion styling. + (Editing): Mention readline completion styling. + +2020-05-19 Pedro Alves + + * gdb.texinfo (Attach): Update exec-file-mismatch description to + mention build IDs. + (Separate Debug Files): Add "build id" anchor. + +2020-05-15 Philippe Waroquiers + + * gdb.texinfo (Help): Document the help and apropos changes. + (Aliases): Document new meaning of -a abbreviation flag. + +2020-05-05 Kamil Rytarowski + + * gdb.texinfo (info proc, info proc cmdline, info proc cwd) + (info proc exe, info proc mappings, info proc stat): Mention + NetBSD support. + +2020-04-28 Tom Tromey + + * python.texi (Commands In Python): Document gdb.COMMAND_TUI. + +2020-04-27 Tom Tromey + + * python.texi (Types In Python): Mention missing fields. Add + dynamic type example. + +2020-04-24 Tom Tromey + + PR python/23662: + * python.texi (Types In Python): Document new features. + +2020-04-15 Artur Shepilko + + * gdb.texinfo: Transform @var{[host]} to [@var{host}]; this + clears makeinfo warnings. + * python.texi: Add a missing period trailing an @xref{} clause; + this clears a makeinfo warning. + +2020-03-06 Tom de Vries + + * gdb.texinfo: Fix "the the". + +2020-03-04 Tom de Vries + + * gdb.texinfo: Remove trailing "done." in "Reading symbols from" lines. + * python.texi: Same. + +2020-03-02 Andrew Burgess + + * gdb.texinfo (Command History): Extend description for + GDBHISTFILE and GDBHISTSIZE, add detail about the filename for + 'set history filename' being optional. Describe the effect of an + empty history filename on 'set history save on'. + +2020-02-24 Andrew Burgess + + * gdb.texinfo (Threads): Fix alignment in 'info threads' example + output. + +2020-02-22 Tom Tromey + + * python.texi (Python API): Add menu item. + (TUI Windows In Python): New node. + +2020-02-22 Tom Tromey + + PR tui/17850: + * gdb.texinfo (TUI Commands): Document horizontal layouts. + +2020-02-22 Tom Tromey + + * gdb.texinfo (TUI Overview): Mention user layouts. + (TUI Commands): Document "tui new-layout". + +2020-01-26 Tom Tromey + + * gdb.texinfo (M68K Features): Document floating-point feature + correspondence. + +2020-01-25 Philippe Waroquiers + + * gdb.texinfo (Attach): Document the new option and the + set/show commands. + (Connecting): Reference the exec-file-mismatch option. + +2020-01-10 Pedro Alves + + * gdb.texinfo (Starting): Say "current inferior not connected" + instead of "GDB not connected". + (Inferiors and Programs): Rename node to ... + (Inferiors Connections and Programs): ... this. Update all + references. Talk about multiple target connections. Update "info + inferiors" info to mention the connections column. Describe "info + connections". Document "add-inferior -no-connection". + * guile.texi, python.texi: Update cross references. + +2020-01-01 Joel Brobecker + + * gdb.texinfo, refcard.tex: Update copyright year range. + +2019-12-14 Andrew Burgess + + * python.texi (Symbols In Python): Remove duplicate description of + gdb.lookup_global_symbol. + +2019-12-11 Simon Marchi + + * gdb.texinfo (Writing JIT Debug Info Readers): Fix typo. + +2019-12-11 Philippe Waroquiers + + * gdb.texinfo (Command Options): Use -p and -pretty in the example, + as -r is ambiguous. Update the print - TAB TAB completion result. + (Data): Document new option -raw-values. Use -p and -pretty in the + example, as -r is ambiguous. + (Print Settings): Document set print raw values. + (Pretty-Printer Commands): Document interaction between enabled + pretty printers and -raw-values/-raw-frame-arguments. + +2019-12-10 Tom Tromey + + * python.texi (gdb.prompt): Use correct quotes in example. + Shorten sample text. + +2019-12-04 Andrew Burgess + + * doc/gdb.texinfo (GDB/MI Symbol Query): Add documentation of + -max-results to some -symbol-info-* commands. + +2019-12-04 Andrew Burgess + + * doc/gdb.texinfo (GDB/MI Symbol Query): Document new MI command + -symbol-info-module-functions and -symbol-info-module-variables. + +2019-12-01 Tom Tromey + + * gdb.texinfo (TUI Configuration): Mention TUI border styles. + (Output Styling): Document new settings. + +2019-12-01 Tom Tromey + + * gdb.texinfo (TUI Configuration): Document new setting. + +2019-11-30 Philippe Waroquiers + + * gdb.texinfo (Define): Indicate that user-defined prefix can + be used in 'define' command. Document 'define-prefix' command. + +2019-11-27 Andrew Burgess + + * doc/gdb.texinfo (GDB/MI Symbol Query): Document new MI command + -symbol-info-modules. + +2019-11-27 Andrew Burgess + + * doc/gdb.texinfo (GDB/MI Symbol Query): Document new MI command + -symbol-info-functions, -symbol-info-types, and + -symbol-info-variables. + +2019-11-26 Tom Tromey + + * gdb.texinfo (Maintenance Commands): Document new maint + commands. + +2019-11-25 Luis Machado + + * gdb.texinfo (Debugging Output): Document set debug + remote-packet-max-chars. + +2019-11-14 Tom de Vries + + * gdb.texinfo: Fix typos. + * python.texi: Same. + * stabs.texinfo: Same. + +2019-11-12 Tom Tromey + + * gdb.texinfo (Maintenance Commands): Document new command. + +2019-11-11 Tom Tromey + + * gdb.texinfo (TUI Keys): Document readline function names. + +2019-11-11 Tom Tromey + + * gdb.texinfo (Editing): Document operate-and-get-next. + +2019-11-11 Tom Tromey + + * gdb.texinfo (Host I/O Packets): Fix typo in "vFile:pwrite". + +2019-11-10 Andrew Burgess + + * python.texi (Symbols In Python): Add documentation for + gdb.lookup_static_symbols. + +2019-11-10 Andrew Burgess + + * python.texi (Symbols In Python): Extend documentation for + gdb.lookup_static_symbol. + +2019-10-31 Andrew Burgess + + * gdb.texinfo (Symbols): Document new 'info module variables' and + 'info module functions' commands. + +2019-10-31 Andrew Burgess + + * gdb.texinfo (Symbols): Document new 'info modules' command. + +2019-10-31 Philippe Waroquiers + + * gdb.texinfo (Convenience Funs): Document the new + $_gdb_setting_str, $_gdb_maint_setting and $_gdb_maint_setting_str + convenience functions. + +2019-10-29 Christian Biesinger + + * Makefile.in: Also set SYSTEM_GDBINIT_DIR for the info manual + generation. + * gdb.texinfo (many sections): Document new --with-system-gdbinit-dir + option. + +2019-10-23 Tom Tromey + + * Makefile.in (READLINE_DIR): Update. + +2019-10-23 Christian Biesinger + + * python.texi (Threads In Python): Add a note for how to get the + list of threads. + +2019-10-07 Tom de Vries + + * gdb.texinfo: Fix typo. + * guile.texi: Same. + * python.texi: Same. + +2019-10-03 Bernhard Heckel + + * doc/gdb.texinfo (Fortran Operators): Describe scope operator. + +2019-10-02 Tom Tromey + + * gdb.texinfo (Set Catchpoints, Convenience Vars): Document + $_ada_exception. + +2019-09-20 Ulrich Weigand + + * doc/gdb.texinfo (Remote Configuration): Remove documentation for + qXfer:spu:read and qXfer:spu:write. + (General Query Packets): Likewise. + (Cell Broadband Engine SPU architecture): Remove subsection. + +2019-09-18 Tom Tromey + + * gdb.texinfo (Editing): Document readline application name. + (TUI Single Key Mode): Document TUI SingleKey keymap name. + +2019-09-17 Andrew Burgess + + * gdb.texinfo (Source Path): Additional text to better describe + how the source path directory list is used when searching for + source files. + +2019-09-12 Philippe Waroquiers + + * gdb.texinfo (Ada Tasks): Tell the task name is printed, update + examples. + +2019-09-10 Tom Tromey + + * gdb.texinfo (Index Files): Update Ada text. + +2019-08-27 Andrew Burgess + + * gdb.texinfo (Symbols): Add information about the -n flag to + "info variables" and "info functions". + +2019-08-25 Yoshinori Sato + + * gdb.texinfo (Standard Target Features): Add RX Features sub-section. + +2019-08-16 Alan Hayward + + * gdb.texinfo (AArch64 Pointer Authentication) + (GDB/MI Breakpoint Information) (Frame Information): Document + addr_field. + +2019-08-12 Tom Tromey + + * gdb.texinfo (Configure Options): Document minimum version of + readline. + +2019-08-09 Alan Hayward + + * gdb.texinfo (AArch64 Pointer Authentication): Fix typo. + +2019-08-07 Alan Hayward + + * gdb.texinfo (AArch64 Pointer Authentication): New subsection. + +2019-08-05 Christian Biesinger + + * python.texi (Blocks In Python): Document dictionary access on blocks. + +2019-08-03 Philippe Waroquiers + + * gdb.texinfo (Symbols): Document new args -dirname and -basename + of "info sources" command. + +2019-07-30 Christian Biesinger + + * python.texi (Symbols In Python): Document new function + gdb.lookup_static_symbol. + +2019-07-29 Christian Biesinger + + * python.texi (Objfiles In Python): Document new functions + Objfile.lookup_{global,static}_symbol. + +2019-07-29 Philippe Waroquiers + + * gdb.texinfo (Backtrace): Document the new '-frame-info' + backtrace option. Reference 'set print frame-info'. + (Print Settings): Document 'set|show print frame-info'. + Document new 'presence' value for 'set print frame-arguments. + +2019-07-22 Andrew Burgess + + * gdb.texinfo (Symbols): Add information about -q flag to "info + types". + +2019-07-20 Kevin Buettner + + * python.texi (python command): Revise example to match + command behavior. + +2019-07-09 Pedro Alves + + * gdb.texinfo (C++ Exception GDB/MI Catchpoint Commands): Adjust + examples to show type=catchpoint instead of type=breakpoint and an + address. + +2019-07-03 Pedro Alves + Philippe Waroquiers + + * gdb.texinfo (Command Settings): New node documenting the general + concept of settings, how to change them, and the new "with" + command. + (Maintenance Commands): Document "maint with". + +2019-07-03 Pedro Alves + + * gdb.texinfo (Maintenance Commands): Document "maint set/show + test-settings" instead of "maint test-settings set/show". + +2019-06-18 Simon Marchi + + * gdb.texinfo (Invoking GDB): Remove sentence about how GDB + deals with a file that has the same name as the specified pid to + attach to. Add example using -p option. + (gdb man): Remove same sentence as in previous item. + +2019-06-15 Andrew Burgess + + * gdb.texinfo (GDB/MI Catchpoint Commands): Add menu entry to new + node. + (C++ Exception GDB/MI Catchpoint Commands): New node to describe + new MI commands. + +2019-06-13 Pedro Alves + + * gdb.texinfo (Command Completion): Mention command options too. + (Command Options): New node. + (Threads): Add anchors. Extend descriptions of the "taas" and + "tfaas" commands. + (Backtrace): Describe new options of the "backtrace" command. Add + anchors. + (Frame Apply): Describe new options of the "frame apply" and + "faas" commands. Add anchors. + (Data): Describe new options of the "print" command. Add anchors. + (Compiling and Injecting Code): Mention options of the "compile + print" command. + (Maintenance Commands): Mention "maint test-options" subcommands + and the "maint show test-options-completion-result" command. + +2019-06-13 Pedro Alves + + * gdb.texinfo (Print Settings): Document "set/show print + raw-frame-arguments" instead of "set/show print raw + frame-arguments". + +2019-06-13 Pedro Alves + + * gdb.texinfo (Maintenance Commands): Document "maint + test-settings" commands. + +2019-06-06 Amos Bird + + * annotate.texinfo (Multi-threaded Apps): Add entry for thread-exited + annotation. + +2019-06-04 Christian Biesinger + + * python.texi: Document new gdb.Type.objfile property. + +2019-06-03 Philippe Waroquiers + + * gdb.texinfo (Help): Document the new -v apropos flag. + (Output Styling): Document the style name styling done by "show style". + Document the new title and highlight styles. + +2019-05-31 Philippe Waroquiers + + * gdb.texinfo (Shell Commands): Document pipe command. + (Logging Output): Add a reference to pipe command. + (Convenience Variables): Document $_shell_exitcode and + $_shell_exitstatus. + +2019-05-29 Tom Tromey + + * gdb.texinfo (Continuing and Stepping): Document new + commands. + +2019-05-22 Alan Hayward + + * gdb.texinfo (Shell Commands): Add debugredirect. + +2019-05-22 Jan Vrany + + * gdb.texinfo: Minor formatting fixes. + +2019-01-28 Jan Vrany + + * gdb.texinfo (Miscellaneous GDB/MI Commands): Document new + MI command -complete. + +2019-05-14 Tom de Vries + + * gdb.texinfo (Automatic symbol index cache): Add concept and command + index entries. + +2019-05-14 Tom de Vries + + * gdb.texinfo (Maintenance Commands): Remove superfluous + quoting on command index entry for "maint info selftests". + +2019-05-10 Tom Tromey + + * python.texi (Pretty Printing API): Mention lazy computation for + "children". + +2019-05-10 Tom Tromey + + * gdb.texinfo (Set Catchpoints): Add text for parameter to "catch + exception" and "catch handlers". Move "catch exception unhandled" + text. Use @var for "catch load" and "catch unload" + +2019-05-08 Tom Tromey + + * gdb.texinfo (Symbols): Document change to ptype/o. + +2019-05-03 Eli Zaretskii + + * gdb.texinfo (Separate Debug Files): Document how the + subdirectory of the global debug directory is computed on + MS-Windows/MS-DOS. + +2019-04-29 Andrew Burgess + + * gdb.texinfo (Print Settings): Document 'print max-depth'. + * guile.texi (Guile Pretty Printing API): Document that 'print + max-depth' can effect the display of a values children. + * python.texi (Pretty Printing API): Likewise. + (Values From Inferior): Document max_depth keyword. + +2019-04-27 Philippe Waroquiers + + * gdb.texinfo (Calling): Document the new + set|show may-call-functions. + +2019-04-22 Pedro Alves + + * gdb.texinfo (Reverse Execution): Mention and xref process record + and replay. Mention remote and system emulators. + (Process Record and Replay): List supported architectures. + Mention that "record btrace" is only supported on Intel + processors. + +2019-04-17 Alan Hayward + + * gdb.texinfo (Other Command-Line Arguments for gdbserver) + (Monitor Commands for gdbserver) + (gdbserver man): Add debug-file option. + +2019-04-08 Kevin Buettner + + * python.texi (Inferiors In Python): Rename + Inferior.thread_from_thread_handle to Inferior.thread_from_handle. + Add note about the former being deprecated. + +2019-04-08 Kevin Buettner + + * python.texi (Threads In Python): Add description for method + InferiorThread.handle. + +2019-04-07 Tom Tromey + + * Makefile.in (all): Depend on "info". + +2019-04-01 Andrew Burgess + + * gdb.texinfo (Convenience Funs): Document '$_creal' and + '$_cimag'. + +2019-03-30 Eli Zaretskii + + * gdb.texinfo (Convenience Vars): Document $_gdb_major and + $_gdb_minor. + +2019-03-26 Andrew Burgess + + * python.texi (Pretty Printing API): Document use of None for the + display_hint. + +2019-03-22 Alan Hayward + Jiong Wang + + * gdb.texinfo (AArch64 Features): Describe pauth feature. + +2019-03-20 Tom Tromey + + * python.texi (Selecting Pretty-Printers): Use @defvar for + gdb.pretty_printers. + +2019-03-14 Simon Marchi + + * gdb.texinfo (GDB/MI Development and Front Ends): Fix closing + of table, "@end @table" -> "@end table". + +2019-03-14 Tom Tromey + + * gdb.texinfo (Output Styling): Document "set style source" and + "show style source". + +2019-03-13 Simon Marchi + + * gdb.texinfo (Mode Options): Mention mi3. + (Interpreters): Likewise. + (GDB/MI Development and Front Ends): Add entry for MI 3 in + version table. Document -fix-multi-location-breakpoint-output. + (GDB/MI Breakpoint Information): Document format of breakpoint + location output. + +2019-03-05 Simon Marchi + + * python.texi (Values From Inferior): Change synopsys of the + second form of Value.__init__. + +2019-03-02 Eli Zaretskii + + * gdb.texinfo (Output Styling): Fix typos. Document the default + foreground colors of the available styles. + +2019-02-27 Kevin Buettner + + * gdb.texinfo (Configure Options): Document minimum python + version. + +2019-02-26 Kevin Buettner + + * python.texi (Values From Inferior): Document second form + of Value.__init__. + +2019-02-23 Joel Brobecker + + * gdb.texinfo: Update copyright year ranges. + * refcard.tex: Likewise. + +2019-02-21 Alan Hayward + + * gdb.texinfo: Update style defaults. + +2019-02-21 Tom Tromey + + * gdb.texinfo (Remote Configuration): Remove trailing "." from + @item. + +2019-01-16 Simon Marchi + + * gdb.texinfo (GDB/MI Development and Front Ends): Add table of + MI versions. Update text around it. + +2019-01-14 Pedro Franco de Carvalho + + * gdb.texinfo (PowerPC Features): Document the alias + pseudo-registers for the org.gnu.gdb.power.altivec feature. + +2019-01-09 Simon Marchi + + * gdb.texinfo (Print Settings): Remove mention of specific + demangle-style values, just refer to the in-process help. + +2018-12-28 Tom Tromey + + * gdb.texinfo (Output Styling): New node. + +2018-12-13 John Baldwin + + * gdb.texinfo (Set Catchpoints): Add an anchor for 'catch syscall'. + (Native): Add a FreeBSD subsection. + (FreeBSD): Document use of system call aliases for compatibility + system calls. + +2018-11-21 Andrew Burgess + + * gdb.texinfo (Standard Target Features): Add RISC-V Features + sub-section. + +2018-11-20 Philippe Waroquiers + + * gdb.texinfo (Examining the Symbol Table): Document language choice + for 'info types|functions|variables' commands. + (Setting Breakpoints): Document language choice to print + the functions in which a breakpoint is set. + +2018-11-09 Pedro Franco de Carvalho + + * gdb.texinfo (PowerPC Features): Document the altivec and fpu + requirements for the org.gnu.gdb.power.vsx feature. + +2018-11-01 Joel Brobecker + + * gdb.texinfo (Ada Tasks): Update the "info task 2" example + output to match the current implementation. + +2018-10-27 Philippe Waroquiers + + * gdb.texinfo (Information About a Frame): Document changes + to 'info args' and 'info locals'. + (Examining the Symbol Table): Document changes to 'info functions' + and 'info variables'. + +2018-10-26 Pedro Franco de Carvalho + + * gdb.texinfo (PowerPC Features): Describe new features + "org.gnu.gdb.power.htm.spr", "org.gnu.gdb.power.htm.core", + "org.gnu.gdb.power.htm.fpu", "org.gnu.gdb.power.htm.altivec", + "org.gnu.gdb.power.htm.vsx", "org.gnu.gdb.power.htm.ppr", + "org.gnu.gdb.power.htm.dscr", "org.gnu.gdb.power.htm.tar". + +2018-10-26 Pedro Franco de Carvalho + + * gdb.texinfo (PowerPC Features): Describe new features + "org.gnu.gdb.power.ebb" and "org.gnu.gdb.power.linux.pmu". + +2018-10-26 Pedro Franco de Carvalho + + * gdb.texinfo (PowerPC Features): Describe new feature + "org.gnu.gdb.power.tar". + +2018-10-26 Pedro Franco de Carvalho + + * gdb.texinfo (PowerPC Features): Describe new features + "org.gnu.gdb.power.ppr" and "org.gnu.gdb.power.dscr". + +2018-10-20 Tom Tromey + + * gdb.texinfo (TUI Commands): Add @end table. + (TUI Configuration): Remove stray @end table. + +2018-10-19 Tom Tromey + + PR tui/18388: + * gdb.texinfo (TUI Commands): Remove tabset documentation. + (TUI Configuration): Document "set tui tab-width". + +2018-10-09 Tom Tromey + + * python.texi (Inferiors In Python): Link to "Frames In Python", + not "Unwinding Frames in Python". + +2018-10-09 Tom Tromey + + * gdb.texinfo (Configure Options): Update --enable-ubsan + documentation. + +2018-10-08 John Baldwin + + * gdb.texinfo (Contributors): Add SRI International and University + of Cambridge for FreeBSD/riscv. + +2018-10-06 Tom Tromey + + PR python/19399: + * python.texi (Inferiors In Python): Document + Inferior.Architecture. + +2018-10-06 Tom Tromey + + PR python/21765: + * python.texi (Symbols In Python): Document the module and + common-block domains. Remove documentation for incorrect + domains. + +2018-10-03 Tom Tromey + + * gdb.texinfo (Configure Options): Document --enable-ubsan. + +2018-10-02 John Darrington + + * gdb.texinfo (Remote Connection Commands): Describe + the changes to target remote and target extended-remote + relating to Unix domain sockets. + +2018-10-01 Tom Tromey + + * gdb.texinfo (Configure Options): Document configure options. + +2018-09-29 Tom Tromey + + * gdb.texinfo (Requirements): Mention C++, GNU make. + (Requirements): Sort the table. Add more libraries. + (Running Configure): Remove obsolete text. + (Separate Objdir): Likewise. + (Configure Options): Likewise. + +2018-09-28 Andrew Burgess + + * gdb.texinfo (Frames): Rewrite the description of 'frame number' + to highlight that the number is also the frame's level. + (Selection): Rewrite documentation for 'frame' and 'select-frame' + commands. + (Frame Info): Rewrite documentation for 'info frame' command. + +2018-09-23 Tom Tromey + + PR python/18852: + * python.texi (Parameters In Python): Document exception behavior + of get_set_string. + +2018-09-18 John Baldwin + + * gdb.texinfo (info proc): Remove "running". + (info proc mappings): Replace "program" with "process". + +2018-09-18 John Baldwin + + * gdb.texinfo (Process Information): Document "info proc files" + command. + +2018-09-17 Tom Tromey + + * gdb.texinfo (Index Files): Update for cache directory change on + macOS. + +2018-09-16 Tom Tromey + + * python.texi (Basic Python): Update docs for find_pc_line, + solib_name. + (Progspaces In Python): Update docs for current_progspace. + Document block_for_pc, find_pc_line, is_valid, nsolib_name. + Move method documentation before example. + +2018-09-13 Simon Marchi + + * python.texi (Objfiles In Python): Update gdb.objfiles() doc. + +2018-09-13 Simon Marchi +2018-09-13 Tom Tromey + + * python.texi (Program Spaces In Python): Document the + Progspace.objfiles method. + (Objfiles In Python): Mention that gdb.objfiles() is identical + to gdb.selected_inferior().progspace.objfiles(). + +2018-09-13 Simon Marchi +2018-09-13 Tom Tromey + + * python.texi (Inferiors In Python): Document + Inferior.progspace. + (Program Spaces In Python): Document that + gdb.current_progspace() is the same as + gdb.selected_inferior().progspace. + +2018-09-13 Simon Marchi + + * python.texi (Basic Python): Mention the string representation + of GDB Python objects. + +2018-09-12 Simon Marchi + + * gdb.texinfo (Skipping Over Functions and Files): Document + set/show debug skip. + +2018-09-10 Tom Tromey + + * python.texi (Frames In Python, Blocks In Python) + (Symbols In Python, Symbol Tables In Python) + (Lazy Strings In Python): Remove periods from section titles. + +2018-09-10 Tom Tromey + + * python.texi (Pretty Printing API): Swap sentence order. + +2018-09-10 Tom Tromey + + PR python/16461: + * python.texi (Values From Inferior): Mention use of virtual + table. + +2018-09-10 Tom Tromey + + * python.texi (Basic Python): Parenthesize argument to + decode_line. + +2018-09-10 Tom Tromey + + * python.texi (Python): Mention Python versions. Don't mention + execfile. + +2018-09-10 Tom Tromey + + PR python/19808: + * python.texi (Unwinding Frames in Python): Rewrite + create_unwind_info documentation. Update read_register + documentation and add a note about unwinder caution. + +2018-09-10 Tom Tromey + + PR python/18909: + * python.texi (Events In Python): Fix inferior_call + documentation. + +2018-09-10 Tom Tromey + + PR python/17752: + * python.texi (Frame Filter API): Remove period from subsection + title. Mention 100 as good default priority. + (Frame Decorator API): Remove period from subsection title. + Mention FrameDecorator module. + +2018-09-10 Tom Tromey + + PR python/23108: + * python.texi (Exception Handling): Rearrange gdb.GdbError text + and add a table. + +2018-09-10 Tom Tromey + + * gdb.texinfo (Compilation): Use "gcc", not "gcc.info", in @xref. + (Machine Code): Use "binutils", not "binutils.info", in @pxref. + (Separate Debug Files): Use "ld", not "ld.info", in @ref. + * python.texi (Objfiles In Python): Use "ld", not "ld.info", in @ref. + +2018-09-10 Tom Tromey + + PR python/16484: + * python.texi (Frames In Python): Document that Frame.block can + throw. + +2018-09-10 Tom Tromey + + PR python/23487: + * gdb.texinfo (Pretty-Printer Commands): Fix typo in example. + +2018-09-10 Tom Tromey + + PR python/16033: + * python.texi (Blocks In Python): Document that Block.end is + exclusive. + +2018-08-29 Keith Seitz + + * gdb.texinfo (Compiling and injecting code in GDB): Document + set/show "compile-oracle" and "compile-cplus-types" commands. + +2018-08-22 Jan Vrany + + * gdb.texinfo (The -stack-list-frames Command): Update description + to mention "arch". + Update MI examples throughout the document to contain "arch" in + frame output. + +2018-08-21 Alan Hayward + + * gdb.texinfo (AArch64 SVE): New subsubsection. + +2018-08-14 Jan Vrany + + * gdb.texinfo (GDB/MI Data Manipulation): Document + "-data-disassemble -a addr". + (GDB/MI Support Commands): Document "data-disassemble-a-option" + feature. + +2018-08-07 Simon Marchi + + * gdb.texinfo (Index Files Speed Up GDB): Add section about + symbol index cache. + +2018-07-27 Sergio Durigan Junior + + * gdb.texinfo (gcore man): Rewrite "Description" and "-o" + option sections to further clarify that gcore can take more + than one PID, and that "-o" is used to specify a prefix, not a + filename. + +2018-07-26 Andrew Burgess + + * gdb.texinfo (Maintenance Commands): Add description of + maintenance command to control dwarf unwinders. + +2018-07-12 Philippe Waroquiers + + * gdb.texinfo (Debugging Programs with Multiple Threads): + Document changes to 'thread apply'. Document 'taas'. + Document 'tfaas'. + (Examining the Stack): Document 'frame apply'. Document 'faas'. + +2018-07-11 Sergio Durigan Junior + Jan Kratochvil + Paul Fertser + Tsutomu Seki + + * gdb.texinfo (Remote Connection Commands): Add explanation + about new IPv6 support. Add new connection prefixes. + +2018-07-09 Andrew Burgess + + * gdb.texinfo (Remote Configuration): Update descriptions for + set/show of hardware-watchpoint-limit, hardware-breakpoint-limit, + and hardware-watchpoint-length-limit variables. + +2018-07-02 Maciej W. Rozycki + + PR tdep/8282 + * gdb.texinfo (Source and Machine Code): Document `set + disassembler-options' support for the MIPS target. + +2018-06-28 Petr Tesarik + + * gdb.texinfo (Files): Document "add-symbol-file -o offset". + +2018-06-28 Petr Tesarik + + * gdb.texinfo (Files): The address argument for "add-symbol-file" + is no longer mandatory. + +2018-06-28 Petr Tesarik + + * gdb.texinfo (Files): Document "symbol-file -o offset". + +2018-06-14 Tom de Vries + + * gdb.texinfo (Background Execution): Add @cindex for '&'. + +2018-06-11 Eli Zaretskii + + * gdb.texinfo (Maintenance Commands): Add a missing @anchor. + +2018-06-08 Gary Benson + + * gdb.texinfo (Maintenance Commands): Document "maint check + libthread-db" and "maint set/show check-libthread-db". + +2018-06-05 Tom Tromey + + PR cli/12326: + * gdb.texinfo (Screen Size): Document "c" response to pagination + prompt. + +2018-05-31 Maciej W. Rozycki + + * gdb.texinfo (Choosing Target Byte Order): Document endianness + selection details with the `set endian auto' mode. + +2018-05-31 Alan Hayward + + * gdb.texinfo: Describe SVE feature. + +2018-05-04 Tom Tromey + + PR python/22731: + * python.texi (Breakpoints In Python): Mention that "commands" is + writable. + +2018-05-02 Tom Tromey + + PR python/20084: + * python.texi (Parameters In Python): Document PARAM_ZUINTEGER and + PARAM_ZUINTEGER_UNLIMITED. + +2018-04-30 Tom Tromey + + * python.texi (Types In Python): Document Type.align. + +2018-04-13 Andreas Arnez + + * gdb.texinfo (Symbols): Mention the fact that "info + variables/functions/types" show source files and line numbers. + +2018-04-13 Markus Metzger + + * gdb.texinfo: Document set/show record btrace cpu. + +2018-03-27 Joel Brobecker + + * gdb.texinfo (Ada Settings): New subsubsection. + +2018-03-26 Tom Tromey + + PR backtrace/15582: + * gdb.texinfo (Backtrace): Mention "hide" argument. + +2018-03-26 Tom Tromey + + * gdb.texinfo (Backtrace): Describe options individually. + +2018-03-19 Tom Tromey + + * observer.texi: Remove. + +2018-03-04 John Baldwin + + * gdb.texinfo (Debugging Output): Document "set/show debug + fbsd-nat". + +2018-02-19 Andrew Burgess + + * gdb.texinfo (Machine Code): Additional information about "info + line" command. + +2018-01-15 Szabolcs Nagy + + * gdb.texinfo (gdb-add-index man): Add pindex. + +2018-01-15 Szabolcs Nagy + + * gdb.texinfo (set cwd): Add period. + (gdb-add-index man): Move anchor. + +2017-01-12 Tom Tromey + Sergio Durigan Junior + + * gdb.texinfo (Index Files): Mention gdb-add-index. + (gdb-add-index man): New section. + * Makefile.in (gdb-add-index.1): New rule to generate manpage + from gdb.texinfo. + +2018-01-11 Szabolcs Nagy + + * gdb.texinfo (pwd): Fix whitespace. + +2018-01-09 John Baldwin + + * gdb.texinfo (pwd): Update cross-reference for Process Information + node and remove explicit /proc reference. + (Native): Rename subsection from SVR4 Process Information to + Process Information. + (Process Information): Reword introduction to be less /proc + centric. Document support for "info proc" on FreeBSD. + +2018-01-03 Xavier Roirand + + * gdb.texinfo (Set Catchpoints): Add documentation for new + "catch handlers" action. + +2017-12-27 Stafford Horne + + * gdb.texinfo (Target Description Format): Explain that arbitrary + strings are now allowed for register groups. + +2017-12-27 Stafford Horne + + * gdb.texinfo (Registers): Document info reg $reggroup feature. + +2017-12-15 Sergio Durigan Junior + + PR cli/16224 + * gdb.texinfo (ptype): Add documentation for new flag '/o'. + +2017-12-13 Simon Marchi + + * python.texi (Manipulating breakpoints using Python): Document + qualified parameter to gdb.Breakpoint. + +2017-12-13 Simon Marchi + + * python.texi (Manipulating breakpoints using Python): Split doc + of Breakpoint.__init__ in two, split text in multiple + paragraphs, don't nest parameter square brackets. + +2017-12-12 Stafford Horne + Stefan Wallentowitz + Franck Jullien + Jeremy Bennett + + * gdb.texinfo: Add OpenRISC documentation. + +2017-12-08 Jan Kratochvil + + * gdb.texinfo (Index Files): Document .debug_names and -dwarf-5. + +2017-12-07 Keith Seitz + + * gdb.texinfo (Symbols): Document "set print type nested-type-limit" + and "show print type nested-type-limit". + +2017-12-07 Phil Muldoon + + * python.texi (Breakpoints In Python): Add text relating + to allowed explicit locations and keywords in gdb.Breakpoints. + +2017-12-04 Tom Tromey + + * gdb.texinfo (Rust): Update trait object status + +2017-12-01 Andrew Cagney + Joel Brobecker + Sergio Durigan Junior + + * gdb.texinfo (File Options): Document --readnever. + (Commands to Specify Files): Likewise, for 'symbol-file' and + 'add-symbol-file'. + +2017-11-29 Pedro Alves + + PR c++/19436 + * gdb.texinfo (Debugging C Plus Plus): Document setting + breakpoints in functions with ABI tags. + +2017-11-29 Pedro Alves + + * gdb.texinfo (Linespec Locations): Document how "function" is + interpreted in C++ and Ada. Document "-qualified". + (Explicit Locations): Document how "-function" is interpreted in + C++ and Ada. Document "-qualified". + +2017-11-26 Dominik Czarnota + + PR gdb/21945 + * gdb.texinfo (Search Memory): Update description and example + about how to search a string without NULL terminator. + +2017-11-24 Joel Brobecker + + * gdb.texinfo (GDB/MI Ada Exception Information): Document + new "exception-message" field. + +2017-11-24 Simon Marchi + + * gdb.texinfo (Memory Map Format): Update gdb-memory-map.dtd. + +2017-11-24 Pedro Alves + + * gdb.texinfo (Completion): Update need-quoting examples. Remove + false claim that GDB inserts quoting automatically. + (Symbols): Add anchor. + +2017-11-22 Ulrich Weigand + + * gdb.texinfo (Requirements): Document use of GNU MPFR. + +2017-11-16 Phil Muldoon + + * python.texi (Basic Python): Add rbreak documentation. + +2017-11-07 Xavier Roirand + Pedro Alves + + * gdb.texinfo (Set Breaks): Document support for breakpoint + location ranges in the enable/disable commands. + +2017-10-04 Sergio Durigan Junior + + * gdb.texinfo (Starting your Program) : + Mention remote debugging. + (Working Directory) : + Likewise. + (Connecting) : Add "set-working-dir" + and "QSetWorkingDir" to the table. + (Remote Protocol) : New item, explaining the + packet. + +2017-10-04 Sergio Durigan Junior + + * gdb.texinfo (Starting your Program) : + Mention new "set cwd" command. + (Working Directory) : + Rephrase to explain that "set cwd" exists and is the default + way to change the inferior's cwd. + +2017-09-25 Andreas Arnez + + * gdb.texinfo (S/390 and System z Features): Document the new + features org.gnu.gdb.s390.gs and org.gnu.gdb.s390.gsbc. + +2017-09-21 Kevin Buettner + + * gdb.texinfo (qXfer:threads:read): Add documentation for handle + attribute. + +2017-09-21 Kevin Buettner + + * python.texi (Inferiors In Python): Add description for method + Inferior.thread_from_thread_handle. + +2017-09-19 John Baldwin + + * gdb.texinfo (Starting your Program): Add description of + starti command. Mention starti command as an alternative for + debugging the elaboration phase. + +2017-09-16 Simon Marchi + + * gdb.texinfo (Maintenance Commands): Document filter parameter + of "maint selftest". Document "maint info selftests" command. + +2017-09-11 Tom Tromey + + * python.texi (Events In Python): Document new events. + +2017-09-04 Pedro Alves + + * gdb.texinfo (Variables) : Document inspecting + no-debug-info variables. + (Symbols) : Document inspecting + no-debug-info types. + (Calling) : New subsection, + documenting calling no-debug-info functions. + (Non-debug DLL Symbols) : Update. + +2017-08-31 Sergio Durigan Junior + + * gdb.texinfo (set environment): Add @anchor. Explain that + environment variables set by the user are sent to GDBserver. + (unset environment): Likewise, but for unsetting variables. + (Connecting) : Add "environment-hex-encoded", + "QEnvironmentHexEncoded", "environment-unset", "QEnvironmentUnset", + "environment-reset" and "QEnvironmentReset" to the table. + (Remote Protocol) : New item, explaining the packet. + +2017-08-23 Jan Kratochvil + + * gdb.texinfo (Compiling and Injecting Code): Add to subsection + "Compiler search for the compile command" descriptions of set + compile-gcc and show compile-gcc. + +2017-08-07 Weimin Pan + + * gdb.texinfo (Architectures): Add new Sparc64 section to document + ADI support. + * NEWS: Add "adi examine" and "adi assign" commands. + +2017-08-18 Yao Qi + + * gdb.texinfo (Server): Document "--selftest". + +2017-08-16 Ruslan Kabatsayev + + * gdb.texinfo (TUI Single Key Mode): Document the new shortcuts in + Single-Key mode. + +2017-08-12 Sergio Durigan Junior + + PR gdb/21925 + * gdb.texinfo (Starting) : Fix typo ("show + set..."). + +2017-08-09 Simon Marchi + + * gdb.texinfo (Packets): Fix Z0 cmd_list doc referring to + conditional expression. + +2017-07-31 Simon Marchi + + * agentexpr.texi (rot): Fix symbolic description, improve + textual description. + +2017-07-26 Yao Qi + + * gdb.texinfo (Maintenance Commands): Document command + "maint check xml-descriptions". + +2017-07-26 Yao Qi + + * gdb.texinfo (Maintenance Commands): Document optional + argument of "maint print c-tdesc". + +2017-07-18 Yao Qi + + * gdb.texinfo (Maintenance Commands): Improve the doc to + command "maint print c-tdesc". + +2017-06-20 Sergio Durigan Junior + + PR gdb/21606 + * python.texi (Python representation of Symbols.): Replace + SYMBOL_FUNCTION_DOMAIN by SYMBOL_FUNCTIONS_DOMAIN, fixing typo. + * guile.texi (Guile representation of Symbols.): Likewise. + +2017-06-11 Simon Marchi + + * gdb.texinfo (Optional Messages about Internal Happenings): + Document {set,show} debug separate-debug-file commands. + +2017-06-07 Sergio Durigan Junior + + * gdb.texinfo (Starting) : Add @anchor. + (Connecting) : Add "startup-with-shell" + and "QStartupWithShell" to the table. + (Remote Protocol) : New item, explaining the + packet. + +2017-05-22 Andrew Burgess + + * gdb.texinfo (Packets): Document vMustReplyEmpty packet. + +2017-05-01 Tim Wiederhake + + * python.texi (Recording in Python): Factor out the documentation of + gdb.RecordInstruction's super class. + +2017-05-01 Tim Wiederhake + + * python.texi (Recording in Python): Replace gdb.BtraceFunction with + gdb.RecordFunctionSegment. Rename prev_sibling and next_sibling to + prev and next. + +2017-05-01 Tim Wiederhake + + * python.texi (Recording in Python): Replace gdb.BtraceInstruction with + gdb.RecordInstruction + +2017-05-01 Tim Wiederhake + + * python.texi (Recording in Python): Add documentation for + gdb.RecordGap and remove documentation of special cases for + gdb.BtraceInstruction. + +2017-05-01 Tim Wiederhake + + * python.texi (Recording in Python): Remove Record.ptid defvar. + +2017-04-21 Simon Marchi + + * gdb.texinfo (GDB/MI Thread Information): Add missing + fields, re-word some things. + (GDB/MI Thread Commands): Describe fields found in the output of + -thread-info, remove description of fields in the + thread output tuple, replace with a cross-reference to "GDB/MI + Thread Information". + +2017-04-21 Simon Marchi + + * gdb.texinfo (GDB/MI Thread Commands): Remove "current" field + from -thread-info output. + +2017-03-28 Anton Kolesov + + * gdb.texinfo (Synopsys ARC): Document "set debug arc 2". + +2017-03-28 Anton Kolesov + + * gdb.texinfo (Synopsys ARC): Add "maint print arc arc-instruction". + +2017-03-22 Yao Qi + + * python.texi (Inferiors In Python): Remove @code from Python. + +2017-03-21 Tim Wiederhake + + * python.texi (Recordings In Python): Document return type of + gdb.BtraceInstruction.data. + +2017-03-20 Marc-Andre Laperle + + * gdb.texinfo (gdb/mi Symbol Query Commands): Document new MI + command file-list-shared-libraries + (GDB/MI Async Records): Update documentation of library-loaded with new + field. + +2017-03-20 Artemiy Volkov + + PR gdb/14441 + * doc/gdb.texinfo (C Plus Plus Expressions): Mention that GDB + supports both lvalue and rvalue references. + +2017-03-20 Artemiy Volkov + + PR gdb/14441 + * python.texi (Types in Python): Add TYPE_CODE_RVALUE_REF to + table of constants. + +2017-03-16 Doug Evans + + * guile.texi (Lazy Strings In Guile): Mention arrays. + * python.texi (Lazy Strings In Python): Ditto. + +2017-03-08 Jiong Wang + + * gdb.texinfo (Memory Protection Extensions): Add missing escape + character "@". + +2017-03-07 Walfred Tedeschi + + * Memory Protection Extensions: Add information about inferior + calls. + +2017-02-28 Peter Bergner + + * gdb.texinfo: Document new set/show disassembler-options + commands. + +2017-02-20 Jan Kratochvil + + * gdb.texinfo (Print Settings, Tail Call Frames): Rename DW_OP_GNU_*, + DW_TAG_GNU_* and DW_AT_GNU_*. + +2017-02-14 Tim Wiederhake + + * python.texi (Recordings In Python): New section. + +2017-02-14 Tom Tromey + + PR python/13598: + * python.texi (Events In Python): Document events.before_prompt. + +2017-02-13 Luis Machado + + * gdb.texinfo (Target Commands): Document the optional offset + argument for the load command. + +2017-02-10 Martin Galvan + + PR gdb/21122 + * gdb.texinfo (Breakpoints): Reword documentation to speak in terms of + space-separated breakpoint lists. Also add a missing @table command + and @cindex for breakpoint lists. + +2017-02-06 Ivo Raisr + + PR tdep/20936 + * gdb.texinfo: (Standard Target Features): Document SPARC features. + (Sparc Features): New node. + +2017-01-27 Walfred Tedeschi + + * gdb.texinfo (i386 Features): Add system segment registers + as feature. + +2017-01-24 Simon Marchi + + * python.texi (Events In Python): Fix typo. + +2017-01-20 Mike Wrighton + Luis Machado + + * gdb.texinfo (-target-flash-erase): New MI command description. + (flash-erase): New CLI command description. + +2017-01-04 John Baldwin + + * gdb.texinfo (Contributors): Add SRI International and University + of Cambridge for FreeBSD/mips. + +2016-12-22 Doug Evans + + * gdb.texinfo (Symbols): Update docs for symbol printing maintenance + commands. + +2016-12-02 Pedro Alves + + * gdb.texinfo (User-defined Commands): Limit on number of + arguments passed to user-defined commands removed; update. + +2016-12-02 Pedro Alves + + PR cli/20559 + * gdb.texinfo (Define): Add example of using "eval" to process a + variable number of arguments. + (Output) : Add anchor. + +2016-11-30 Simon Marchi + + * Makefile.in: Likewise. + +2016-11-18 Andreas Arnez + + * gdb.texinfo (GDB/MI Async Records): Add missing comma after + xref. + +2016-10-29 Pedro Alves + + * gdb.texinfo (Packets) : Remove mention of default + actions. + +2016-10-26 Pedro Alves + + * gdb.texinfo (Packets): Clarify vCont packets with multiple + actions that match a thread, and what happens when an action + matches a thread that is already running. + +2016-10-14 Simon Marchi + + * gdb.texinfo (Using Trace Files): Fix typo. + (GDB/MI Tracepoint Commands): Likewise. + +2016-10-14 Simon Marchi + + * gdb.texinfo (GDB/MI Tracepoint Commands): Document -ctf switch + of -trace-save. + +2016-10-06 Tom Tromey + + * guile.texi (Types In Guile): Remove Java mentions. + * python.texi (Types In Python): Remove Java mentions. + * gdb.texinfo (Address Locations, Supported Languages) + (Index Section Format): Remove Java mentions. + +2016-08-15 Doug Evans + + * gdb.texinfo (Target Description Format): Update docs on "end" + field spec and field default type. + +2016-10-03 Antoine Tremblay +2016-10-03 Simon Marchi + + PR gdb/20487 + * gdb.texinfo (Context management): Update mention of frame + change notifications. + (gdb/mi Async Records): Document frame field in + =thread-select event. + * observer.texi (GDB Observers): New user_selected_context_changed + observer. + +2016-09-28 Tom Tromey + + * gdb.texinfo (Packets) : Use "software breakpoint" rather + than "memory breakpoint". Further document "kind". Move + protocol-details link earlier. + : Document the cmd_list argument. Fix typo. + : Remove incorrect sentence. + (Stop Reply Packets): Document "OK" response to requests when in + non-stop mode. + : Use "software breakpoint" rather than "memory + breakpoint". + : Document that "R" is ignored. + : Document formatting of "AA". + (Notification Packets): Use "%Stop", not "%%Stop". + +2016-09-21 Anton Kolesov + + * gdb.texinfo (Embedded Processors): Document ARC. + (Synopsys ARC): New section. + (Standard Target Features): Document ARC features. + (ARC Features): New section. + +2016-09-21 Simon Marchi + + * .gitignore: New file. + +2016-08-24 Simon Marchi + + * gdb.texinfo (Input/Output): Mention possibility to unset + inferior-tty. + +2016-07-25 Tim Wiederhake + + * gdb.texinfo: Resume btrace on reconnect. + +2016-07-23 Gabriel Krisman Bertazi + + * gdb.texinfo (Set Catchpoints): Add 'group' argument to catch + syscall. + +2016-06-30 Руслан Ижбулатов + + * gdb.texinfo (Cygwin Native): Document the new 'signal-event' + command. + +2016-07-13 Tom Tromey + + PR python/15620, PR python/18620: + * python.texi (Events In Python): Document new breakpoint events. + +2016-07-13 Tom Tromey + + PR python/17698: + * python.texi (Breakpoints In Python): Document + Breakpoint.pending. + +2016-07-13 Tom Tromey + + * python.texi (Breakpoints In Python): Move table of types and + table of watchpoint types earlier in node. + +2016-07-12 Tom Tromey + + PR python/19293: + * python.texi (Frames In Python): Document + gdb.invalidate_cached_frames. + +2016-06-21 Pedro Alves + + * gdb.texinfo (Interpreters): Update intepreter-exec section, + document new-ui and explain use case. + +2016-06-17 Yan-Ting Lin + + * gdb.texinfo (Standard Target Features): Document NDS32 features. + (NDS32 Features): New Section. + +2016-06-09 Toshihito Kikuchi + + * gdb.texinfo (Examining Memory): Document negative repeat + count in the 'x' command. + +2016-06-06 Simon Marchi + + * gdb.texinfo (GDB/MI Async Records): Document method and + format fields in =record-started. + * observer.texi (record_changed): Add method and format + parameters. + +2016-05-27 Eli Zaretskii + + * gdb.texinfo (General Query Packets): Move the description of the + response before the long list of the specific 'read' and 'write' + requests. + +2016-05-23 Tom Tromey + + * python.texi (Basic Python): Document gdb.breakpoints return. + +2016-05-24 Tom Tromey + + PR gdb/19194: + * gdb.texinfo (gdb man): Fix typo. + +2016-05-17 Tom Tromey + + * gdb.texinfo (Supported Languages): Mention Rust. Update menu. + (Rust): New node. + +2016-05-17 Tom Tromey + + * gdb.texinfo (Maintenance Commands): Document "maint selftest". + +2016-04-27 Yao Qi + + * gdb.texinfo (tfind): Complete doc about tfind without + argument. + +2016-04-13 Antoine Tremblay + + * agentexpr.texi (byte): Fix zero_ext description. + +2016-03-31 Pedro Alves + + * gdb.texinfo (M32R/SDI): Delete node. + (MIPS Embedded): Remove references to the MIPS remote debugging + protocol, PMON and variants, and the associated commands. + +2016-03-15 Doug Evans + + * gdb.texinfo (Target Descriptions): New menu item "Enum Target Types". + (Target Description Format): Mention enum types. Update docs on + flags types. + (Predefined Target Types): Add "bool". + (Enum Target Types): New node. + +2016-03-15 Pedro Alves + + * gdb.texinfo (Tracepoint Actions): Fix typo. + +2016-03-15 Pedro Alves + Andreas Arnez + Marcin Kościelnicki + + * gdb.texinfo (Tracepoint Actions): Document possible + unreliability of '$_ret'. + +2016-03-11 Andrew Burgess + + * gdb.texinfo (Symbols): Document new 'maint info line-table' + command. + +2016-03-10 Simon Marchi + + * gdb.texinfo (Convenience Functions): Document $_as_string. + +2016-02-23 Doug Evans + + * gdb.texinfo (Skipping Over Functions and Files): Document new + options to "skip" command. Update docs of output of "info skip". + +2016-02-18 Walfred Tedeschi + + * gdb.texinfo (Signals): Add bound violation display hints for + a SIGSEGV. + +2016-02-18 Marcin Kościelnicki + + * gdb.texinfo (Trace File Format): Add documentation for description + section lines. + +2016-02-10 Marcin Kościelnicki + + * gdb.texinfo (Trace File Format): Remove misleading information + about register block ordering. + +2016-02-01 Doug Evans + + * gdb.texinfo (Value Sizes): Fix typo. + +2016-02-01 Doug Evans + + * gdb.texinfo (Skipping Over Functions and Files): Fix typo. + +2016-02-01 Andrew Burgess + + * gdb.texinfo (Value Sizes): New section. + (Data): Add the 'Value Sizes' node to the menu. + +2016-01-26 John Baldwin + + * gdb.texinfo (Debugging Output): Fix subject verb disagreements. + +2016-01-19 John Baldwin + + * gdb.texinfo (Debugging Output): Document "set/show debug fbsd-lwp". + +2016-01-18 Pedro Alves + + * gdb.texinfo (Threads): Mention that GDB displays the ID and name + of the thread that hit a breakpoint or received a signal. + +2016-01-15 Pedro Alves + + * gdb.texinfo (Threads) : Document star ranges. + +2016-01-13 Pedro Alves + + * gdb.texinfo (Threads): Document the $_gthread convenience + variable. + (Convenience Vars): Likewise. + +2016-01-13 Pedro Alves + + * gdb.texinfo (Threads): Document "info threads -gid". + +2016-01-13 Pedro Alves + + * python.texi (Breakpoints In Python) : Add + anchor. + (Threads In Python): Document new InferiorThread.global_num + attribute. + +2016-01-07 Pedro Alves + + * gdb.texinfo (Threads): Document per-inferior thread IDs, + qualified thread IDs, global thread IDs and thread ID lists. + (Set Watchpoints, Thread-Specific Breakpoints): Adjust to refer to + thread IDs. + (Convenience Vars): Document the $_thread convenience variable. + (Ada Tasks): Adjust to refer to thread IDs. + (GDB/MI Async Records, GDB/MI Thread Commands, GDB/MI Ada Tasking + Commands, GDB/MI Variable Objects): Update to mention global + thread IDs. + * guile.texi (Breakpoints In Guile) + : Mention + global thread IDs instead of thread IDs. + * python.texi (Threads In Python): Adjust documentation of + InferiorThread.num. + (Breakpoint.thread): Mention global thread IDs instead of thread + IDs. + +2016-01-13 Pedro Alves + + * python.texi (Threads In Python): Document + InferiorThread.inferior. + +2016-01-13 Pedro Alves + + * gdb.texinfo (Inferiors and Programs): Document the $_inferior + convenience variable. + (Convenience Vars): Likewise. + +2016-01-12 Josh Stone + Philippe Waroquiers + + * gdb.texinfo (Remote Configuration): List the QCatchSyscalls packet. + (Stop Reply Packets): List the syscall entry and return stop reasons. + (General Query Packets): Describe QCatchSyscalls, and add it to the + table and the detailed list of stub features. + +2016-01-12 Pedro Alves + + Remove use of the registered trademark symbol throughout. + +2016-01-12 Yao Qi + + * gdb.texinfo (Interrupts): Update the document on handling + interrupt when program is stopped. + +2015-12-11 Don Breazeal + + * gdb.texinfo (Forks): Correct Linux kernel version where + fork and exec events are supported, add notes about support + of these events in target remote mode. + (Connecting): Reorganize and clarify distinctions between + target remote, extended-remote, and multiprocess. + Reorganize related text from separate sections into new + sections. + (Server): Note effects of target extended-remote mode. + Delete section on Multi-Process Mode for gdbserver. + Move some text to "Connecting" node. + +2015-12-10 Pedro Alves + + * gdb.texinfo (Threads): Replace warning with explanation + about single-threaded programs. + +2015-12-10 Pedro Alves + + * gdb.texinfo (Threads): Remove mention of SGI. + (Forks): Remove mention of HP-UX. + (Breakpoints): Remove mention of HP-UX. + (Set Watchpoints) : Don't mention HP-UX. + Reword in terms of architectures. + (Set Catchpoints) : Don't + mention supported systems. + (Convenience Vars): Don't mention HP-UX. + (Jumping): Remove mention of HP-UX in comment. + (Files) : Update supported shared library types + list. Remove mention of HP-UX. + (Native): Remove HP-UX subsection. + (SVR4 Process Information): Remove mention of HP-UX. + +2015-12-10 Pedro Alves + + * gdb.texinfo (Stack): Reorder menu. + +2015-12-09 Luis Machado + + * gdb.texinfo (GDB/MI Variable Objects): Update text to mention + -var-set-format's new zero-hexadecimal format. + +2015-12-08 Pierre-Marie de Rodat + + * gdb.texinfo (Ada Mode Into): Move overloading support + description to its own node. + (Overloading support for Ada): New node. + +2015-11-30 Pedro Alves + + PR 14618 + * gdb.texinfo (Stop Reply Packets): Document the N stop reply. + (Remote Configuration): Add the "set/show remote + no-resumed-stop-reply" to the available settings table. + (General Query Packets): Document the "no-resumed" qSupported + feature. + +2015-11-30 Pedro Alves + + * gdb.texinfo (Remote Configuration): List "set/show remote + thread-events" command in configuration table. + (Stop Reply Packets): Document "T05 create" stop + reason and 'w' stop reply. + (General Query Packets): Document QThreadEvents packet. Document + QThreadEvents qSupported feature. + +2015-11-30 Pedro Alves + + * gdb.texinfo (Bootstrapping): Add "interrupting remote targets" + anchor. + (Packets): Document vCtrlC. + +2015-11-26 Simon Marchi + + * gdb.texinfo (Thread List Format): Mention thread names. + +2015-11-24 Pedro Alves + + PR 17539 + * gdb.texinfo (Inferiors and Programs): Adjust "maint info + program-spaces" example to ascending order listing. + (Threads): Adjust "info threads" example to ascending order + listing. + (Forks): Adjust "info inferiors" example to ascending order + listing. + +2015-11-04 Markus Metzger + + * gdb.texinfo (Process Record and Replay): Document "record + instruction-history" modifiers. + +2015-10-12 Andrew Burgess + + * gdb.texinfo (Frames): Remove 'frame' and 'select-frame' + description. + (Frame Filter Management): Move to later in the 'Examining the + Stack' chapter. + (Selection): Add entry for 'select-frame'. + +2015-09-25 Doug Evans + + * gdb.texinfo (Process Record and Replay): Fix syntax of + "record instruction-history begin, end" and + "record function-call-history begin, end". + +2015-09-22 Simon Marchi + + * gdb.texinfo (Specifying Source Directories): Fix + substitute-path example. + +2015-09-18 Markus Metzger + + * gdb.texinfo (All-Stop Mode): Describe new scheduler-locking mode. + +2015-09-15 Pedro Alves + + PR remote/18965 + * gdb.texinfo (Stop Reply Packets): Revert previous change to + the vforkdone description. + +2015-09-15 Pedro Alves + + PR remote/18965 + * gdb.texinfo (Stop Reply Packets): Explain that vforkdone's 'r' + part indicates the thread ID of the parent process. + +2015-09-15 Yao Qi + + * gdb.texinfo (General Query Packets): Add vContSupported to + tables of 'gdbfeatures' and 'stub features' supported in the + qSupported packet, as well as to the list containing stub + feature details. + +2015-09-11 Don Breazeal + + * gdb.texinfo (Remote Configuration): Add exec event + feature to table of packet settings. + (Stop Reply Packets): Add exec events to the list of stop + reasons. + (General Query Packets): Add exec events to tables of + 'gdbfeatures' and 'stub features' supported in the qSupported + packet, as well as to the list containing stub feature + details. + +2015-08-24 Pedro Alves + + * gdb.texinfo (Remote Configuration): Document the "set/show + remote multiprocess-extensions-packet" commands. + +2015-08-24 Pedro Alves + + * gdb.texinfo (Embedded Processors) : Remove references to RDI. + : Remove references to M32R/D. + : Remove references to target dbug. + : Remove references to target r3900 and target + array. + : Remove references to target dink32 and target + ppcbug, target sds + : Delete nodes. + +2015-08-18 Andrew Burgess + + * gdb.texinfo (GDB Files): Add 'File Caching' menu entry. + +2015-08-18 Andrew Burgess + + * gdb.texinfo (File Caching): Document "set/show debug bfd-cache". + +2015-08-18 Andrew Burgess + + * gdb.texinfo (Maintenance Commands): Move documentation of "main + info bfds" to... + (File Caching): A New section. Outline bfd caching, and add new + description for "main set/show bfd-sharing". + +2015-08-14 Doug Evans + + * gdb.texinfo (Machine Code): Update docs for mixed source/assembly + disassembly. + (GDB/MI Data Manipulation): Update docs for new disassembly modes. + +2015-08-11 Keith Seitz + + * gdb.texinfo (Thread-Specific Breakpoints, Printing Source Lines): + Use "location(s)"instead of "linespec(s)". + (Specifying a Location): Rewrite. + Add subsections describing linespec, address, and explicit locations. + Add node/menu for each subsection. + (Source and Machine Code, C Preprocessor Macros) + (Create and Delete Trace points) + (Extensions for Ada Tasks): Use "location(s)" instead of "linespec(s)". + (Continuing at a Different Address): Remove "linespec" examples. + Add reference to "Specify a Location" + (The -break-insert Command): Rewrite. Add anchor. + Add reference to appropriate manual section discussing locations. + (The -dprintf-insert Command): Refer to -break-insert for + specification of 'location'. + +2015-08-07 Pedro Alves + + * gdb.texinfo (Maintenance Commands): Document "maint set/show + target-non-stop". + +2015-08-07 Markus Metzger + + * gdb.texinfo (Process Record and Replay): Document prefixing of + speculatively executed instructions in the "record instruction-history" + command. + +2015-07-20 Doug Evans + + * Makefile.in (STABS_DOC_BUILD_INCLUDES): Add gdb-cfg.texi, GDBvn.texi. + +2015-07-16 Doug Evans + + * stabs.texinfo: @include gdb-cfg.texi. + +2015-07-15 Jan Kratochvil + + Revert the previous 2 commits: + gdbserver build-id attribute generator + Validate symbol file using build-id + +2015-07-15 Jan Kratochvil + + * gdb.texinfo (Files): Add 'set validate-build-id' + and 'show validate-build-id'. + +2015-07-15 Aleksandar Ristovski + + gdbserver build-id attribute generator. + * gdb.texinfo (Library List Format for SVR4 Targets): Add + 'build-id' in description, example, new attribute in dtd. + +2015-07-08 Andrew Burgess + + * gdb.texinfo (Selection): Update documentation for 'frame' + command. + +2015-07-06 Andrew Burgess + + * gdb.texinfo (TUI): Restructure documentation on TUI layout and + focus commands. + +2015-07-06 Andrew Burgess + + * gdb.texinfo (TUI): Add comma after @xref. + +2015-07-02 Markus Metzger + + * gdb.texinfo (Maintenance Commands): Document "maint btrace" + commands. + +2015-07-02 Markus Metzger + + * gdb.texinfo (Process Record and Replay): Spell out that variables + and registers are not available during btrace replay. + Describe the new "record btrace pt" command. + Describe the new "set|show record btrace pt buffer-size" options. + (General Query Packets): Describe the new Qbtrace:pt and + Qbtrace-conf:pt:size packets. + Expand "bts" to "Branch Trace Store". + Update the branch trace DTD. + +2015-06-26 Patrick Palka + + * gdb.texinfo (Command History): Document the new option + "history remove-duplicates". + +2015-06-19 Doug Evans + + * stabs.texinfo (ELF Linker Relocation): Mention Sun stabs is no + longer supported. + +2015-06-17 Patrick Palka + + * gdb.texinfo (Command History): Mention that setting + GDBHISTSIZE to the empty string disables history truncation. + +2015-06-17 Patrick Palka + + PR gdb/16999 + * gdb.texinfo (Command History): Mention new GDBHISTSIZE + behavior. + +2015-06-17 Patrick Palka + + * gdb.texinfo (Command History): Replace occurrences of HISTSIZE + with GDBHISTSIZE. + +2015-06-15 Simon Marchi + + * gdb.texinfo (GDB/MI Data Manipulation): Clarify usage of + bytes and memory units for -data-{read,write}-memory-bytes. + (Packets): Same for m, M and X packets. + * python.texi (Inferiors In Python): Same for read_memory and + write_memory. + +2015-06-10 Jon Turney + + * gdb.texinfo (Separate Debug Files): Document that PE is also + supported. + +2015-06-13 Andrew Burgess + + * gdb.texinfo (TUI Commands): Bring all 'tui reg' commands into a + single table entry. + +2015-06-10 Walfred Tedeschi + + * gdb.textinfo (i386): Fix "@end table" end and "@table" placement. + + +2015-06-10 Gary Benson + + * gdb.texinfo (Remote Configuration): Document the + "set/show remote hostio-setfs-packet" command. + (Host I/O Packets): Document the vFile:setfs packet. + +2015-06-10 Gary Benson + + * gdb.texinfo (Debugging Output): Document the "set/show debug + linux-namespaces" command. + +2015-06-10 Walfred Tedeschi + Mircea Gherzan + + * gdb.texinfo (i386): Add documentation about "show mpx bound" + and "set mpx bound". + +2015-05-27 Doug Evans + + * gdb.texinfo (Debugging Output): Mention set/show debug dwarf-line. + +2015-05-26 Doug Evans + + * gdb.texinfo (Debugging Output): Update for DWARF "set debug" + command renamings. + (Maintenance Commands): Update for DWARF "set debug" command renamings. + +2015-05-26 Andrew Burgess + + * gdb.texinfo (TUI Commands): Add 'tui reg prev' details. + +2015-05-22 Andrew Burgess + + * gdb.texinfo (TUI): Include 'tui enable' in the introduction. + (TUI Commands): Add 'tui enable' and 'tui disable' details. + +2015-05-16 Doug Evans + + * guile.texi (Memory Ports in Guile): Document support for unbuffered + memory ports. + +2015-05-16 Jan Kratochvil + + * gdb.texinfo (Compiling and Injecting Code): Add compile print. + +2015-05-12 Don Breazeal + + * gdb.texinfo (Forks): Note that fork debugging is + supported in extended mode. + (Remote Configuration): Add fork event features to table + of packet settings. + (Stop Reply Packets): Add fork events to list of stop reasons. + (General Query Packets): Add fork events to tables of + 'gdbfeatures' and 'stub features' supported in the qSupported + packet, as well as to the list containing stub feature + details. + +2015-05-12 Gary Benson + + * gdb.texinfo (General Query Packets): Document + qXfer:exec-file:read with empty annex. + +2015-05-09 Siva Chandra Reddy + + * python.texi (Values From Inferior): Add descriptions of new + methods gdb.Value.reference_value and gdb.Value.const_value. + +2015-05-06 Joel Brobecker + + * gdb.texinfo (Files): Add "info dll" documentation. + (Cygwin Native): Remove "info dll" documentation. + +2015-04-29 Doug Evans + + * python.texi (Xmethod API) : + Document. + (Writing an Xmethod): Add get_result_type to example. + +2015-04-28 Sasha Smundak + + * python.texi: New method documented. + +2015-04-24 Andrew Burgess + + * gdb.texinfo (Dump/Restore Files): Add detail about verilog dump + format. + +2015-04-24 Doug Evans + + * python.texi (Xmethods In Python): Fix name of method to call the + xmethod. + +2015-04-17 Gary Benson + + * gdb.texinfo (Connecting to a Remote Target): Mention that + GDB can access program files from remote targets that support + qXfer:exec-file:read and Host I/O packets. + +2015-04-17 Gary Benson + + * gdb.texinfo (Remote Configuration): Document the "set/show + remote pid-to-exec-file-packet" command. + (General Query Packets): Document the qXfer:exec-file:read + qSupported features. Document the qXfer:exec-file:read packet. + +2015-04-17 Gary Benson + + * gdb.texinfo (set sysroot): Document that "set sysroot" also + applies to executable paths if supplied to GDB as absolute. + +2015-04-11 Jan Kratochvil + + * gdb.texinfo (Mode Options): Remove -xdb. + +2015-04-10 Jan Kratochvil + Eli Zaretskii + + * gdb.texinfo (Compiling and Injecting Code): Describe set debug + compile, show debug compile. New subsection Compilation options for + the compile command. New subsection Compiler search for the compile + command. + +2015-04-09 Andy Wingo + + * guile.texi (Frames In Guile): Describe frame-read-register. + +2015-04-02 Gary Benson + + * gdb.texinfo (set sysroot): Document "target:". + +2015-04-01 Sasha Smundak + + * doc/python.texi (Writing a Frame Unwinder in Python): Add + section. + +2015-03-31 Sergio Durigan Junior + + PR corefiles/16092 + * gdb.texinfo (gcore): Mention new command 'set + use-coredump-filter'. + (set use-coredump-filter): Document new command. + +2015-03-31 Antoine Tremblay + + * gdb.texinfo (Operating System Auxiliary Information): Add info os cpus + documentation, reorder the info os entries in alphabetical order. + +2015-03-26 Simon Marchi + + * gdb.texinfo (GDB/MI Data Manipulation): Fix copy-paste typo in + -data-write-memory-bytes. + +2015-03-24 Pedro Alves + + * gdb.texinfo (test_step) : No longer + mention that threads may sometimes run unlocked. + +2015-03-23 Yurij Grechishhev + + * gdb.texinfo (Remote configuration): Document "set/show + serial parity" command. + +2015-03-18 Gary Benson + + * gdb.texinfo (General Query Packets): Remove documentation + for now-removed vFile:fstat qSupported features. + +2015-03-11 Gary Benson + + * gdb.texinfo (Remote Configuration): Document the + "set/show remote hostio-fstat-packet" command. + (General Query Packets): Document the vFile:fstat + qSupported features. + (Host I/O Packets): Document the vFile:fstat packet. + +2015-03-11 Andy Wingo + + * guile.texi (Objfiles In Guile): Document objfile-progspace. + +2015-03-04 Pedro Alves + + * gdb.texinfo (Remote Configuration): Document the "set/show + remote swbreak-feature-packet" and "set/show remote + hwbreak-feature-packet" commands. + (Packets) : Add cross link to the "swbreak" stop reason's + decription. + (Stop Reply Packets): Document the swbreak and hwbreak stop + reasons. + (General Query Packets): Document the swbreak and hwbreak + qSupported features. + (Remote Non-Stop): Explain that swbreak and hwbreak are required. + +2015-03-03 Philippe Proulx + + * gdb.texinfo (gdb/mi Async Records): Fix duplicate syscall-entry + under *stopped. + +2015-03-02 Doug Evans + + * gdb.texinfo (Specify Location): Fix syntax of filename:function. + +2015-03-02 Andreas Arnez + + * gdb.texinfo (S/390 and System z Features): Describe new feature + "org.gnu.gdb.s390.vx". + +2015-02-23 Sergio Durigan Junior + + PR gdb/18008 + * gdb.texinfo (maint internal-error, maint internal-warning, maint + demangler-warning): Fix typo ("problam"). + +2015-02-19 David Taylor + + * agentexpr.texi (Bytecode Descriptions): Fix summary line for setv. + +2015-02-17 Jose E. Marchesi + + * gdb.texinfo (Static Probe Points): Add cindex `static probe + point, DTrace'. + (Static Probe Points): Modified to cover DTrace probes in addition + to SystemTap probes. Also modified to cover the `enable probe' + and `disable probe' commands. + +2015-02-17 Jose E. Marchesi + + * gdb.texinfo (Static Probe Points): Cover the `enable probe' and + `disable probe' commands. + +2015-02-12 David Taylor + + * gdb.texinfo (Tracepoint Packets): Document the builtin and name + fields of the QTDV packet. + +2015-02-09 Markus Metzger + + * gdb.texinfo (Branch Trace Configuration Format): Add size. + (Process Record and Replay): Describe new set|show commands. + (General Query Packets): Describe Qbtrace-conf:bts:size packet. + +2015-02-09 Markus Metzger + + * gdb.texinfo (Process Record and Replay): Describe the "record + btrace bts" command. + (General Query Packets): Describe qXfer:btrace-conf:read packet. + (Branch Trace Configuration Format): New. + +2015-01-31 Gary Benson + Doug Evans + + * gdb.texinfo (Command Completion): Document new + "set/show max-completions" option. + +2015-01-31 Doug Evans + + * gdb.texinfo (Symbols): Document new commands + "maint print symbol-cache", "maint print symbol-cache-statistics", + "maint flush-symbol-cache". Document new option + "maint set symbol-cache-size". + +2015-01-31 Doug Evans + + * gdb.texinfo (dotdebug_gdb_scripts section): Update docs to + distinguish script files vs inlined scripts. + * python.texi (Python Auto-loading): Ditto. + +2015-01-30 Doug Evans + + * gdb.texinfo (Symbols) : Output now contains producer + string if present. + +2015-01-27 Doug Evans + + * python.texi (Objfiles In Python): Document Objfile.username. + +2015-01-27 Doug Evans + + * python.texi (Objfiles In Python) : Improve docs. + * guile.texi (Objfiles In Guile) : Improve docs. + +2015-01-22 Jan Kratochvil + + * gdb.texinfo (Threads): Describe -ascending for thread apply all. + +2015-01-16 Eli Zaretskii + + * doc/gdb.texinfo (TUI Commands): Document the possible + values of NAME argument to 'winheight' command. Explain the + effect of 'tabset' setting better. + +2015-01-11 Doug Evans + + PR gdb/15830 + * gdb.texinfo (Debugging C Plus Plus): Mention "demangle". + (Symbols): Ditto. + (Maintenance Commands): Delete docs for "maint demangle". + +2014-12-31 Joel Brobecker + + * gdb.texinfo (Files): Remove documentation of the + "add-shared-symbol-files" and "assf" commands. + (Cygwin Native): Remove documentation of the "dll-symbols" + command. + +2014-12-17 Doug Evans + + * gdb.texinfo (Debugging Output): Document "debug symbol-lookup". + +2014-12-12 Phil Muldoon + Jan Kratochvil + + * gdb.texinfo (Altering): Update. + (Compiling and Injecting Code): New node. + +2014-12-12 Doug Evans + + * python.texi (Objfiles In Python): Document gdb.lookup_objfile. + +2014-12-12 Andreas Arnez + + * gdb.texinfo: Document "maint print user-registers". + +2014-12-08 Doug Evans + + * python.texi (Objfiles In Python): Document Objfile.owner. + +2014-12-04 Doug Evans + + * python.texi (Objfiles In Python): Document + Objfile.add_separate_debug_file. + +2014-12-04 Doug Evans + + * python.texi (Objfiles In Python): Document Objfile.build_id. + +2014-12-02 Nick Bull + + * observer.texi (inferior_call_pre, inferior_call_post) + (memory_changed, register_changed): New observers. + +2014-12-02 Nick Bull + + * python.texi (Events In Python): Document new events + InferiorCallPreEvent, InferiorCallPostEvent, MemoryChangedEvent + and RegisterChangedEvent. + +2014-11-30 Jan Kratochvil + + Add add-auto-load-scripts-directory. + * gdb.texinfo (Auto-loading): Add add-auto-load-scripts-directory link. + (objfile-gdbdotext file): Add add-auto-load-scripts-directory. + +2014-11-30 Jan Kratochvil + + * gdb.texinfo (Auto-loading safe path): Fix add-auto-load-safe-path + description typo. + +2014-10-30 Doug Evans + + * python.texi (Progspaces In Python): Document ability to add + random attributes to gdb.Progspace objects. + (Objfiles In Python): Document ability to add random attributes to + gdb.objfile objects. + +2014-10-27 Pedro Alves + + * gdb.texinfo (Continuing and Stepping): Add cross reference to + info on stepping and signal handlers. + (Signals): Explain stepping and signal handlers. Add context + index entry, and cross references. + +2014-10-20 Simon Marchi + + * python.texi (Breakpoints In Python): Add parenthesis after + Breakpoint.delete. Clarify Breakpoint.enabled description so + that it contains "disable". + +2014-10-17 Doug Evans + + * python.texi (Events In Python): Document clear_objfiles event. + +2014-10-17 Doug Evans + + * python.texi (Objfiles In Python): Document new progspace attribute. + +2014-10-17 Pedro Alves + + * gdb.texinfo (Ada Tasks and Core Files): Delete mention of Tru64. + (SVR4 Process Information): Delete mention of OSF/1. + +2014-10-01 Simon Marchi + + * gdb.texinfo (Miscellaneous gdb/mi Commands): Document new + exit-code field in -list-thread-groups output. + +2014-09-22 Jan-Benedict Glaw + + * gdb.texinfo (Set Breaks): Add missing "@end table". + +2014-09-22 Pedro Alves + + * gdb.texinfo (Set Breaks): Document that "set breakpoint + always-inserted off" is the default mode now. Delete + documentation of "set breakpoint always-inserted auto". + +2014-09-18 Doug Evans + + * python.texi (Symbol Tables In Python): Document "producer" + attribute of gdb.Symtab objects. + +2014-09-16 Pedro Alves + + * gdb.texinfo (Starting) : Don't mention VxWorks. + (Embedded OS): Remove VxWorks menu entry. + (VxWorks): Remove node. + +2014-09-13 Doug Evans + + * gdb.texinfo (Signaling): Document new queue-signal command. + +2014-09-06 Doug Evans + + PR 15276 + * gdb.texinfo (Convenience Funs): Document $_caller_is, + $_caller_matches, $_any_caller_is, $_any_caller_matches. + +2014-09-03 Justin Lebar + + * python.texi (Types In Python): Type.template_argument(n) returns a + gdb.Value or a gdb.Type and throws an exception if n is out of + range. + +2014-09-03 Sasha Smundak + + * python.texi (Frames in Python): Add read_register description. + +2014-08-04 Tom Tromey + + * gdb.texinfo (Debugging Output): Update for change to "set debug + target". + +2014-08-01 Masaki Muranaka + + Pushed by Joel Brobecker . + * Makefile.in (transform): New variable. + (install-man1, install-man5): Apply $(transform) to man file names. + +2014-07-26 Doug Evans + + PR guile/17177 + * guile.texi (Guile Pretty Printing API): Fix typo. + Document set-pretty-printers!, pretty-printers. + (Selecting Guile Pretty-Printers): Update. + Mention program-space based pretty-printers. + +2014-07-25 Pedro Alves + Eli Zaretskii + + * gdb.texinfo (Signaling) : Explain what happens + with multi-threaded programs. + +2014-07-19 Ajit Agarwal + + * gdb.texinfo (MicroBlaze Features): Added. + +2014-06-27 Yao Qi + + * gdb.texinfo (Maintenance Commands): Update the output of + 'maint print dummy-frames' command. + +2014-06-24 Eli Zaretskii + + * gdb.texinfo (Screen Size): Improve indexing. + +2014-06-19 Gary Benson + + * gdb.texinfo (Maintenance Commands): Document new + "maint set/show catch-demangler-crashes" option. + +2014-06-19 Gary Benson + + * gdb.texinfo (Maintenance Commands): Document new + "maint demangler-warning" command and new + "maint set/show demangler-warning" option. + +2014-06-09 Siva Chandra Reddy + + * python.texi (Xmethod API): Add space before the opening + parenthesis in function descriptions. + +2014-06-06 Doug Evans + + * guile.texi (Guile Configuration): Document guile-data-directory. + +2014-06-06 Mingjie Xing + + * gdb.texinfo (Invoking GDB): Add -q and --quiet. + +2014-06-04 Doug Evans + + * guile.texi (Breakpoints In Guile): Update. + +2014-06-03 Joel Brobecker + + * python.texi (Xmethod API): Fix reference to "Progspaces In + Python". + +2014-06-03 Siva Chandra Reddy + + * python.texi (Xmethods In Python, XMethod API) + (Writing an Xmethod): New nodes. + (Python API): New menu entries "Xmethods In Python", + "Xmethod API", "Writing an Xmethod". + +2014-06-02 Doug Evans + + * guile.texi (Guile API): Add entry for Parameters In Guile. + (GDB Scheme Data Types): Mention object. + (Parameters In Guile): New node. + +2014-06-02 Doug Evans + + * guile.texi (Guile API): Add entry for Commands In Guile. + (Basic Guile) : Add reference. + (Basic Guile) argv>: Move definition to Commands In Guile. + (GDB Scheme Data Types): Mention object. + (Commands In Guile): New node. + +2014-06-02 Doug Evans + + * guile.texi (Guile API): Add entry for Progspaces In Guile. + (GDB Scheme Data Types): Mention object. + (Progspaces In Guile): New node. + +2014-05-30 Andrew Burgess + + * guile.texi (Frames In Guile): Mention FRAME_UNWIND_MEMORY_ERROR. + * python.texi (Frames In Python): Mention + gdb.FRAME_UNWIND_MEMORY_ERROR. + +2014-05-29 Pedro Alves + Tom Tromey + + * gdb.texinfo (Non-Stop Mode): Remove "set target-async 1" + from example. + (Asynchronous and non-stop modes): Document '-gdb-set mi-async'. + Mention that target-async is now deprecated. + (Maintenance Commands): Document maint set/show target-async. + +2014-05-29 Pedro Alves + + * observer.texi (sync_execution_done, command_error): New + subjects. + +2014-05-29 Pedro Alves + + PR gdb/13860 + * observer.texi (signal_received, end_stepping_range) + (signal_exited, exited, no_history): New observer subjects. + +2014-05-26 Andy Wingo + + * guile.texi (GDB Scheme Data Types): Remove documentation for + removed interfaces. Update spelling of gdb-object-kind. + +2014-05-26 Andy Wingo + + * guile.texi (Basic Guile): Fix some typos. + +2014-05-26 Andy Wingo + + * guile.texi (Writing a Guile Pretty-Printer) + (Guile Types Module): Fix excess parentheses in use-modules forms. + +2014-05-24 Eli Zaretskii + + * guile.texi (Types In Guile, Basic Guile, Frames In Guile) + (Breakpoints In Guile, Guile Printing Module) + (Guile Exception Handling, Values From Inferior In Guile) + (Objfiles In Guile, Breakpoints In Guile, Memory Ports in Guile): + Don't use @var at the beginning of a sentence. + + * gdb.texinfo (Frame Filter Management, Trace Files) + (C Operators, Ada Tasks, Calling, Bootstrapping, ARM) + (PowerPC Embedded, Define, Annotations for Running) + (IPA Protocol Commands, Packets, General Query Packets) + (Tracepoint Packets, Notification Packets, Environment) + (Inferiors and Programs, Set Breaks, Set Catchpoints) + (Continuing and Stepping, Signals, Thread-Specific Breakpoints) + (Frames, Backtrace, Selection, Expressions, Registers) + (Trace State Variables, Built-In Func/Proc, Signaling, Files) + (Numbers, GDB/MI Async Records, GDB/MI Data Manipulation) + (Source Annotations, Using JIT Debug Info Readers, Packets) + (Stop Reply Packets, Host I/O Packets) + (Target Description Format): Don't use @var at the beginning of a + sentence. + + * python.texi (Basic Python, Types In Python) + (Commands In Python, Frames In Python, Line Tables In Python) + (Breakpoints In Python, gdb.printing, gdb.types) + (Type Printing API): Don't use @var at the beginning of a + sentence. + +2014-05-23 Markus Metzger + + * gdb.texinfo (Process Record and Replay): Document "set/show btrace + replay-memory-access". + +2014-05-21 Pedro Alves + + * gdb.texinfo (Starting): Document "set/show + auto-connect-native-target". + (Target Commands): Document "target native". + +2014-05-20 Pedro Alves + + * gdb.texinfo (Memory) : Generalize comments to + not be remote specific. Add cross reference to the qCRC packet. + (Separate Debug Files): Update cross reference to the qCRC packet. + (General Query Packets) : Add anchor. + +2014-05-17 Doug Evans + + Copy over changes from guile.texi. + * python.texi (Basic Python) : Add text. + (Basic Python) : Remove "main" from "main GDB thread". + (Values From Inferior) : Add text. + (Values From Inferior) : Clarify string length handling. + (Pretty Printing API): Add cindex. + (Types In Python) : Use vtable instead of table. + Remove unnecessary index of gdb.TYPE_CODE_*. Replace @findex with + @vindex. + (Commands In Python) : Similarly. + (Symbols In Python) : Similarly. + (Breakpoints In Python) : Similarly. + (Breakpoints In Python) : Similarly. + +2014-05-17 David Taylor + + * gdb.texinfo (General Query Packets): Add a note about thread IDs + mentioned in the qfThreadInfo reply. + +2014-05-16 Doug Evans + + * gdb.texinfo (Mode Options): Add -D. + +2014-05-09 Samuel Bronson + + * Makefile.in (PACKAGE): Copy from ../Makefile.in in case of + "make -C". + +2014-04-29 Tom Tromey + + * gdb.texinfo (Debugging Output): Rename to "set debug varobj" and + "show debug varobj". + +2014-05-01 David Taylor + + * gdb.texinfo (compare-sections): Document the new -r (read-only) + option. + +2014-04-24 Michael Sturm + Walfred Tedeschi + + * gdb.texinfo (i386 Features): Add description of AVX512 + registers. + +2014-03-31 Doug Evans + + * gdb.texinfo (Symbols): Document set/show print symbol-loading. + +2014-03-30 Doug Evans + + * gdb.texinfo (Non-Stop Mode): Remove trailing whitespace. + (Background Execution): Ditto. + +2014-03-21 Pedro Alves + Stan Shebs + Hui Zhu + + * gdb.texinfo (Packets): Add anchor to "? packet". + Remove fixme and update introduction of "k packet". + Add anchor to "vKill packet". + +2014-03-12 Stan Shebs + + * Doxyfile-gdb-api.in (INPUT): Add gdbtypes.h. + +2014-02-26 Ludovic Courtès + + * guile.texi (Basic Guile): Document 'history-append!'. + +2014-02-20 Joel Brobecker + + * gdb.texinfo (Files): Document "add-shared-symbol-files" + and "assf" as being deprecated. + (Cygwin Native): Likewise for "dll-symbols". + (Non-debug DLL Symbols): Remove reference to "dll-symbols" + as a way to force the loading of symbols from a DLL. + +2014-02-19 Siva Chandra Reddy + + * python.texi (Values From Inferior): Add description about the + new feature. + +2014-02-17 Doug Evans + + * Makefile.in (GDB_DOC_FILES): Add python.texi. + * gdb.texinfo (Python): Moved to ... + * python.texi: ... here. New file. + +2014-02-17 Ludovic Courtès + + * guile.texi (Writing a Guile Pretty-Printer) : + Remove 'string-begins-with' procedure. Add 'pretty-printer' + parameter to 'str-lookup-function' procedure. Look for + the "std::string<" prefix. + (Frames In Guile): Add 'frame' parameter to 'frame-read-var'. + Adjust description. + +2014-02-11 Tejas Belagod + + * guile.texi (Values From Inferior In Guile): Remove stray + parantheses for deffn. + (Disassembly In Guile): Ditto. + +2014-02-10 Stan Shebs + + Add Doxygen support. + * Makefile.in (doxy): New action, generates Doxygen files. + (DOXYGEN): New. + (doxyedit): New. + * Doxyfile-base.in: New file. + * Doxyfile-gdb-api.in: New file. + * Doxyfile-gdb-xref.in: New file. + * Doxyfile-gdbserver.in: New file. + * doxy-index.in: New file. + * filter-for-doxygen: New file. + * filter-params.pl: New file. + +2014-02-10 Doug Evans + + * Makefile.in (GDB_DOC_FILES): Add guile.texi. + * gdb.texinfo (Auto-loading): Add set/show auto-load guile-scripts. + (Extending GDB): New menu entries Guile, Multiple Extension Languages. + (Guile docs): Include guile.texi. + (objfile-gdbdotext file): Add objfile-gdb.scm. + (dotdebug_gdb_scripts section): Mention Guile scripts. + (Multiple Extension Languages): New node. + * guile.texi: New file. + +2014-01-28 Joel Brobecker + + * gdb.texinfo (Ada Glitches): Document the new "maint ada set/show + ignore-descriptive-types". commands. + +2014-01-22 Doug Evans + + * gdb.texinfo (Server): Mention --debug-format=all|none|timestamp. + (gdbserver man): Ditto. + +2014-01-16 Markus Metzger + + * gdb.texinfo: Document limited reverse/replay support + for target record-btrace. + +2014-01-16 Markus Metzger + + * gdb.texinfo (Process Record and Replay): Update documentation. + +2014-01-16 Markus Metzger + + * gdb.texinfo (Process Record and Replay): Document new /c + modifier accepted by "record function-call-history". + Add /i modifier to "record function-call-history" example. + +2014-01-15 Yuanhui Zhang + Joel Brobecker + + * gdb.texinfo (GDB/MI Output Syntax): Add some missing "nl" + markers. Remove one that was misplaced. + +2014-01-10 Pedro Alves + + * gdb.texinfo (Your Program's Environment) : + Mention the shell, and point at 'set exec-wrapper'. + +2014-01-07 Joel Brobecker + + * gdb.texinfo (Types In Python): Document new attribute Types.name. + +2013-12-30 Joel Brobecker + + * gdb.texinfo (Types In Python): Clarify the documentation + of attribute gdb.Field.bitpos. + +2013-12-28 Joel Brobecker + + * gdb.texinfo (Types In Python): Fix the documentation of + attribute "bitpos" in class gdb.Field for enum types. Add + documentation for attribute "enumval" in that same class. + +2013-12-28 Joel Brobecker + + * gdb.texinfo (GDB/MI Support Commands): Change @table into + @ftable. + +2013-12-23 Doug Evans + + * gdb.texinfo (Auto-loading): Move menu up. Move discussion of + auto-loaded objfile scripts and .debug_gdb_scripts section to their + corresponding section in Extending GDB. + (Extending GDB): Move menu up. New menu item "Auto-loading + extensions". + (Sequences): New menu item "Auto-loading sequences". + (Auto-loading sequences): New node. + (Python): Rename section from Scripting GDB to Extending GDB. + (Python Auto-loading): Update xref, refer to "Auto-loading extensions". + Move docs on ways to auto-load extensions to ... + (Auto-loading extensions): ... here. New node. + +2013-12-23 Joel Brobecker + + * gdb.texinfo (GDB/MI): Add "GDB/MI Support Commands" entry + in menu. + (GDB/MI Variable Objects): Adjust reference to "-list-features" + command, now in a new node. + (GDB/MI Support Commands): New node, with its contents being + extracted from the "GDB/MI Miscellaneous Commands" node. + A small paragraph introducing the section is also added at + the start. + (GDB/MI Miscellaneous Commands): Delete the description of the + -info-gdb-mi-command, -list-features and -list-target-features + commands, now hosted in the "GDB/MI Support Commands" node. + +2013-12-12 Siva Chandra Reddy + + PR python/16113 + * gdb.texinfo (Values From Inferior): Add a note about using + gdb.Field objects as subscripts on gdb.Value objects. + (Types In Python): Add description about the new attribute + "parent_type" of gdb.Field objects. + +2013-12-12 Joel Brobecker + + * gdb.texinfo (GDB/MI Miscellaneous Commands): Add @cindex + entry for section docuumenting the -list-features GDB/MI command. + +2013-12-10 Joel Brobecker + + * gdb.texinfo (GDB/MI Miscellaneous Commands): Document the new + "exec-run-start-option" entry in the output of the "-list-features" + command. + +2013-12-04 Eli Zaretskii + + * gdb.texinfo (i386): Fix yesterday's commit. + +2013-12-03 Tom Tromey + + * gdb.texinfo (Set Catchpoints): Add @kindex for each command + documented here. + +2013-12-03 Tom Tromey + + * gdb.texinfo (@direntry): Add menu item for gdbserver. + +2013-12-03 Walfred Tedeschi + + * gdb.texinfo (i386 Features): Add MPX feature registers. + (x86 Specific featuresx86 Architecture-specific Issues): Adds + a subsubsection for MPX and describes the display of the + boundary registers. + +2013-12-03 Joel Brobecker + + * gdb.texinfo (GDB/MI Miscellaneous Commands): Remove the + documentation of the "ada-exceptions" entry. + +2013-12-03 Joel Brobecker + + * gdb.texinfo (GDB/MI Result Records): Fix the syntax of the + "^error" result record concerning the error message. Document + the error code that may also be part of that result record. + (GDB/MI Miscellaneous Commands): Document the + "undefined-command-error-code" element in the output of + the "-list-features" GDB/MI command. + +2013-12-03 Joel Brobecker + + * gdb.texinfo (GDB/MI Miscellaneous Commands): Document + the new -info-gdb-mi-command GDB/MI command. Document + the meaning of "-info-gdb-mi-command" in the output of + -list-features. + +2013-11-29 Pedro Alves + + * gdb.texinfo (Frames In Python) : + Update comment. + +2013-11-24 Yao Qi + + * gdb.texinfo (Caching Remote Data): Document new + "set/show stack-cache" option. + +2013-11-24 Yao Qi + + * gdb.texinfo (Caching Target Data): Replace "ON" with "on". + (Maintenance Commands): Replace "ON" and "OFF" with "on" and + "off" respectively. + +2013-11-23 Yao Qi + + * gdb.texinfo (GDB/MI Variable Objects): Add the description + of "displayhint" to the table about child results. + +2013-11-21 Yao Qi + + * gdb.texinfo (GDB/MI Variable Objects): Add attribute + 'dynamic' for the output of command -var-list-children. + +2013-11-21 Yao Qi + + * gdb.texinfo (Caching Target Data): Remove "see" before + @pxref. + +2013-11-20 Yao Qi + + * gdb.texinfo (Caching Target Data): Update doc for + per-address-space dcache. + +2013-11-20 Yao Qi + + * gdb.texinfo (Data): Rename menu item. + (Caching Remote Data): Rename to ... + (Caching Target Data): ... it. Update. + +2013-11-18 Joel Brobecker + + * gdb.texinfo (GDB/MI Miscellaneous Commands): Document the new + "language-option" entry in the output of the "-list-features" + command. + +2013-11-15 Tom Tromey + + * gdb.texinfo (Variables): Note gdb rules for ambiguous cases. + Add example. + +2013-11-14 Tom Tromey + + * gdb.texinfo (Breakpoints In Python): Replace "as" with "in". + +2013-11-14 Joel Brobecker + + * gdb.texinfo (Show): Add xref anchor for "show language" command. + (Context management): Place current subsection text into its own + subsubsection. Add new subsubsection describing the "--language" + command option. + +2013-11-13 Joel Brobecker + + * gdb.texinfo (GDB/MI Miscellaneous Commands): Delete + the documentation of "info-ada-exceptions" in the output + of the "-list-features" command. Add the documentation + of the "ada-exception" entry instead. + +2013-11-12 Joel Brobecker + + + * gdb.texinfo (GDB/MI Miscellaneous Commands): Fix the first + word of a couple of sentences to start with a capital letter. + +2013-11-12 Joel Brobecker + + * gdb.texinfo (Ada): Add entry in menu for new "Ada Exceptions" node. + (Ada Exceptions): New node. + (GDB/MI): Add entry in menu for new "GDB/MI Ada Exceptions + Commands" node. + (GDB/MI Ada Exceptions Commands): New node. + (GDB/MI Miscellaneous Commands): Document new "info-ada-exceptions" + field in the output of the "-list-features" command. + * NEWS: Add entry for the new "info exceptions" CLI command, + and for the new "-info-ada-exceptions" GDB/MI command. + +2013-11-11 Phil Muldoon + + * gdb.texinfo (Symbol Tables In Python): Add linetable method entry. + (Line Tables In Python): New node. + +2013-11-08 Doug Evans + + * gdb.texinfo (Debugging Output): Update text for + "set debug dwarf2-read". + +2013-11-08 Doug Evans + + * gdb.texinfo (Debugging Output): Update text for + "set debug symtab-create". + +2013-11-07 Phil Muldoon + + * gdb.texinfo (Commands In Python): Document COMPLETE_EXPRESSION + constant. + +2013-11-07 Phil Muldoon + + * gdb.texinfo (Breakpoints In Python): Document temporary + option in breakpoint constructor, and add documentation to the + temporary attribute. + +2013-11-07 Yao Qi + + * gdb.texinfo (GDB/MI Variable Objects): Update doc about the + output of "-var-info-expression". + +2013-11-06 Pedro Alves + + * gdb.texinfo (Starting) : Mention + non-interactive mode. + (Environment) : Mention + non-interactive mode. Mention .zshenv for Z shell, and talk about + BASH_ENV instead of .bashrc for BASH. + +2013-10-29 Nicolas Blanc + + * gdb.texinfo (Commands to Specify Files): Add description + of the remove-symbol-file command. + * observer.texi: New free_objfile event + +2013-10-24 Pedro Alves + + * gdb.texinfo (Starting): Document set/show startup-with-shell. + +2013-10-11 Joel Brobecker + + * gdb.texinfo (Shared Library GDB/MI Catchpoint Commands): + New subsection inside which the "-catch-load" and "-catch-unload" + commands documentation is now placed. + (Ada Exception GDB/MI Catchpoint Commands): New subsection + documenting the "-catch-assert" and "-catch-exception" new + GDB/MI commands. + +2013-10-10 Joel Brobecker + + * gdb.texinfo (Connecting): Remove unnecessary @w{}. + +2013-10-10 Joel Brobecker + + * gdb.texinfo (Connecting): Replace "set remotebaud" by "set + serial baud". + (Remote Configuration): Replace "set remotebaud" by "set serial + baud". Replace "show remotebaud" by "show serial baud". + +2013-10-07 Pedro Alves + + PR breakpoints/11568 + * gdb.texinfo (Thread-Specific Breakpoints): Mention what happens + when the thread is removed from the thread list. + +2013-10-06 Sergio Durigan Junior + + * gdb.texinfo (Convenience Variables): Document $_exitsignal. + Update entry for $_exitcode. + +2013-10-04 Joel Brobecker + + * gdb.texinfo (GDB/MI Program Execution): Document "-exec-run"'s + new "--start" option. + +2013-10-02 Pedro Alves + + * gdb.texinfo (Registers): Expand description of saved registers + in frames. Explain . + +2013-09-25 Doug Evans + + * gdb.texinfo (Debugging Output): Document set/show debug symfile. + +2013-09-16 Stan Shebs + + Remove the internals manual gdbint.texinfo. + * Makefile.in (INFO_DEPS): Remove gdbint.info. + (PDFFILES): Remove gdbint.pdf. + (HTMLFILES): Remove gdbint/index.html. + (HTMLFILES_INSTALL): Remove gdbint. + (GDBINT_DOC_FILES): Remove. + (dvi): Remove gdbint.dvi. + (ps): Remove gdbint.ps. + * gdbint.texinfo: Remove file. + * gdb.texinfo (Maintenance Commands): Remove reference to gdbint. + +2013-09-16 Sergio Durigan Junior + + * gdb.texinfo (Convenience Functions): Mention new convenience + function $_isvoid. + +2013-09-13 Andreas Arnez + + * gdb.texinfo (Decimal Floating Point format): Mention S/390. + (Standard Target Features): Add new node to menu. + (S/390 and System z Features): New node. + +2013-09-13 Sanimir Agovic + + * gdb.texinfo (GDB/MI Miscellaneous Commands): Use + -list-target-features in the example. + +2013-09-11 Jan Kratochvil + + * gdb.texinfo (MiniDebugInfo): Prepare file debug and use it to create + mini_debuginfo. Strip binary before adding mini_debuginfo to it. + +2013-09-11 Jan Kratochvil + + Sync documentation with gdb.base/gnu-debugdata.exp. + * gdb.texinfo (MiniDebugInfo): Add comment and "D" in the example. + +2013-09-11 Jan Kratochvil + + * gdb.texinfo (MiniDebugInfo): Fix two trailing dots. + +2013-08-27 Pedro Alves + Yao Qi + + * gdb.texinfo (GDB/MI Stack Manipulation) <-stack-list-locals>: + Document new --skip-unavailable option. + <-stack-list-variables>: Document new --skip-unavailable option. + +2013-08-26 Doug Evans + + * gdb.texinfo (Maintenance Commands): "maint print objfiles" now takes + an optional regexp. + +2013-08-13 Tom Tromey + + * gdbint.texinfo (Testsuite): Use @table, not @itemize. + Document GDB_PARALLEL and GDB_INOTIFY. + +2013-08-09 Stan Shebs + + * LRS: Remove file, describes a long-abandoned live-range + splitting extension to stabs. + +2013-07-25 Andrew Burgess + + * gdb.texinfo (Output Formats): Mention the new 'z' formatter. + +2013-07-17 Doug Evans + + * gdb.texinfo (Print Settings): Document "print raw frame-arguments". + +2013-07-02 Tom Tromey + + * gdb.texinfo (Target Commands): Don't mention "target nrom". + +2013-06-28 Tom Tromey + + * Makefile.in (version.subst): Use version.in, not + common/version.in. + * gdbint.texinfo (Versions and Branches, Releasing GDB): + Likewise. + +2013-06-27 Pedro Alves + + * gdbint.texinfo (Algorithms) : New section, based on infrun.c + comment. + +2013-06-26 Tom Tromey + + * gdbint.texinfo (Versions and Branches): Use common/version.in. + Update. + (Releasing GDB): Likewise. + +2013-06-26 Pedro Alves + Yao Qi + + * gdb.texinfo (GDB/MI Tracepoint Commands): Document + -trace-frame-collected. + +2013-06-26 Pedro Alves + + * gdb.texinfo (Traceframe Info Format): Document tvar element + and its attributes. + +2013-06-25 Yao Qi + + * gdbint.texinfo (Testsuite): Document 'gdb,predefined_tsv'. + +2013-06-24 Tom Tromey + + * Makefile.in (POD2MAN1, POD2MAN5): Use version.subst. + (GDBvn.texi): Use version.subst. + (version.subst): New target. + (mostlyclean): Remove version.subst. + +2013-06-20 Pedro Alves + + * gdb.texinfo (GDB/MI Data Manipulation) + <-data-list-register-values>: Document the --skip-unavailable + option. + +2013-06-07 Yao Qi + + * gdb.texinfo (Symbols): Add kindex and cindex for + 'maint print msymbols'. + +2013-06-05 Simon Marchi (tiny change) + + * gdb.texinfo (Miscellaneous gdb/mi Commands): Fix -add-inferior + response field name (thread-group to inferior). + +2013-06-04 Gary Benson + + * gdb.texinfo (General Query Packets/qSupported): Added + "qXfer:libraries-svr4:read" and "augmented-libraries-svr4-read". + to the table of currently defined stub features. + Added a more detailed entry for "augmented-libraries-svr4-read". + (General Query Packets/qXfer:libraries-svr4:read): Documented + the augmented form of this packet. + +2013-05-23 Joel Brobecker + + * gdb.texinfo (System-wide Configuration Scripts): Renames + "Installed System-wide Configuration Scripts". Add associated + @menu block. + +2013-05-23 Yao Qi + Pedro Alves + + * gdb.texinfo (Packets): Document 'vCont;r'. + (Continuing and Stepping): Document target-assisted range + stepping, and the 'set range-stepping' and 'show range-stepping' + commands. + +2013-05-23 Joel Brobecker + + * gdb.texinfo (Installed System-wide Configuration Scripts): + Add subsection describing the scripts now available under + the data-dir's system-gdbbinit subdirectory. + * NEWS: Add entry announcing the availability of system-wide + configuration scripts for ElinOS and Wind River Linux. + +2013-05-21 Hui Zhu + + * gdb.texinfo (GDB/MI Breakpoint Commands): Describe the + "-dprintf-insert" command. + +2013-05-17 Doug Evans + + * gdb.texinfo (Maintenance Commands): Update doc for + "maint check-psymtabs". Add doc for "maint check-symtabs", + "maint expand-symtabs". + +2013-05-15 Markus Metzger + + * gdb.texinfo (Process Record and Replay): Document the + "record goto" command and its sub-commands. + +2013-05-10 Phil Muldoon + + * gdb.texinfo (Backtrace): Add "no-filter" argument. + (Python API): Add Frame Filters API, Frame Wrapper API, + Writing a Frame Filter/Wrapper, Managing Management of Frame + Filters chapter entries. + (Frame Filters API): New Node. + (Frame Wrapper API): New Node. + (Writing a Frame Filter): New Node. + (Managing Frame Filters): New Node. + (Progspaces In Python): Add note about frame_filters attribute. + (Objfiles in Python): Ditto. + (GDB/MI Stack Manipulation): Add -enable-frame-filters command, + @anchors and --no-frame-filters option to -stack-list-variables, + -stack-list-frames, -stack-list-locals and -stack-list-arguments + commands. + +2013-05-08 Joel Brobecker + + * gdbint.texinfo (Native Debugging): Add "AIX Shared Library + Support" subsection documenting the XML format used to transfer + shared library info on AIX. + +2013-05-08 Joel Brobecker + + * gdb.texinfo (Debugging Output): Add documentation of + "set debug aix-solib" and "show debug aix-solib" commands. + +2013-05-06 Sandra Loosemore + + * gdb.texinfo (Nios II): New section. + (Nios II Features): New section. + +2013-05-06 Joel Brobecker + + * gdbint.texinfo (Algorithms): Remove entries documenting + DEPRECATED_IBM6000_TARGET, SOLIB_ADD, and + SOLIB_CREATE_INFERIOR_HOOK. + +2013-04-29 Tom Tromey + + PR python/14204: + * gdb.texinfo (Python API): Fix menu entry. + (Blocks In Python): Fix subsubsection text. Rewrite intro. + Define global and static block. Add example. Clarify + block relationship for inline functions. + +2013-04-29 Tom Tromey + + * gdb.texinfo (Python API): Mention Python help and keyword + arguments. Move pagination text to Basic Python. + (Basic Python): Put pagination text here. Document + close-on-exec, SIGCHLD, and SIGINT. + +2013-04-19 Pedro Alves + + * gdbint.texinfo (Misc Guidelines) : Write + "signedness" instead of "signness". + +2013-04-19 Pedro Alves + + * gdbint.texinfo (Misc Guidelines) : Replace + -Wno-pointer-sign text with text on -Wpointer-sign. + +2013-04-16 Tom Tromey + + * gdb.texinfo (Set Catchpoints): Mention earliest version of + GCC that has the SDT probe points. + +2013-04-15 Tom Tromey + + * gdb.texinfo (Set Catchpoints): Document regexp syntax for + exception catchpoints. + +2013-04-15 Tom Tromey + + * gdb.texinfo (Set Catchpoints): Document $_exception. + (Convenience Vars): Mention $_exception. + +2013-04-15 Tom Tromey + + * gdb.texinfo (Set Catchpoints): Reorganize exception + catchpoints. Document "catch rethrow". + (Debugging C Plus Plus): Mention "catch rethrow". + +2013-04-15 Tom Tromey + + * gdb.texinfo (Set Catchpoints): Remove obsolete text. + +2013-04-12 Jan Kratochvil + Eli Zaretskii + + * gdb.texinfo (Auto-loading safe path): Add quick -iex using command + line below the sample output. + +2013-04-12 Eli Zaretskii + + * gdb.texinfo (Mode Options): Document '-configuration'. + (Help): Document "show configuration". + (Bug Reporting): Add requirements to include the configuration + details in bug reports. + +2013-04-11 Jan Kratochvil + + * Makefile.in (MAN1S): Add gcore.1. + Remove "Host, target, and site specific Makefile fragments" comment. + (@host_makefile_frag@, HAVE_NATIVE_GCORE_TARGET): New. + (install-man1, uninstall-man1): Conditionalize gcore.1. + (gcore.1): New. + * gdb.texinfo (Man Pages): Add gcore man. + (gcore man): New node. + +2013-04-10 Pedro Alves + + * gdb.texinfo (Process Record and Replay): Document that "set + record full insn-number-max", "set record + instruction-history-size" and "set record + function-call-history-size" accept "unlimited". + (Backtrace): Document that "set backtrace limit" accepts + "unlimited". + (List): Document that "set listsize" accepts "unlimited". + (Print Settings)" Document that "set print max-symbolic-offset", + "set print elements" and "set print repeats" accept "unlimited". + (Starting and Stopping Trace Experiments): Document that "set + trace-buffer-size" accepts "unlimited". + (Remote Configuration): Document that "set tcp connect-timeout" + accepts "unlimited". + (Command History): Document that "set history size" accepts + "unlimited". + (Screen Size): Document that "set height" and "set width" accepts + "unlimited". Adjust "set pagination"'s description to suggest + "set height unlimited" instead of "set height 0". + +2013-04-10 Yao Qi + + * gdb.texinfo (Trace Files): Add "target ctf". + +2013-04-06 Jan Kratochvil + + * Makefile.in (POD2MAN1, POD2MAN5): Replace $(VERSION) by ../version.in. + + * Makefile.in (install-man1, install-man5, uninstall-man1) + (uninstall-man5): Replace $(MANS) by $(MAN1S) and $(MAN5S) respectively. + + * Makefile.in (gdb.1, gdbserver.1, gdbinit.5): Use $(srcdir). + +2013-04-06 Jan Kratochvil + Eli Zaretskii + + * gdb.texinfo (gdbserver man): Rename tty to comm. Swap --attach + parameters order. Remove "On some targets" for --attach. Document the + --multi parameter and extended-remote command. Document all the + options. + +2013-04-05 Jan Kratochvil + + * gdb.texinfo (gdb man): Mention option -p. Include Fortran to + the list of supported languages. + +2013-04-05 Jan Kratochvil + + Convert man pages to texinfo, new gdbinit.5 texinfo page. + * Makefile.in (mandir, man1dir, man5dir, SYSTEM_GDBINIT, MANCONF, + (TEXI2POD, POD2MAN1, POD2MAN5, MAN1S, MAN5S, MANS, man): New. + (diststuff): Add man. + (install-man, install-man1, install-man5, uninstall-man, uninstall-man1) + (uninstall-man5): New. + (STAGESTUFF): Add *.1 and *.5. + (GDBvn.texi): Add SYSTEM_GDBINIT. + (gdb.1, gdbserver.1, gdbinit.5): New. + (maintainer-clean realclean): Add $(MANS). + (install): Add install-man. + (uninstall): Add uninstall-man. + * gdb.texinfo (@include gdb-cfg.texi): Wrap it by @c man begin INCLUDE. + (@copying): Wrap it by @c man begin COPYRIGHT. + (Top): Add Man Pages. + (Man Pages, gdb man, gdbserver man, gdbinit man): New. + +2013-04-02 Pedro Alves + + * gdb.texinfo (Debugging Output): Document "set/show debug + aarch64", "set/show debug coff-pe-read" and "set/show debug + mach-o". + +2013-04-02 Pedro Alves + + * gdb.texinfo (Remote Configuration) : Add entry for "trace-buffer-size". + +2013-03-28 Pedro Alves + + * gdb.texinfo (Remote Configuration) : Add entry for "trace-status". + +2013-03-28 Eli Zaretskii + + * gdb.texinfo (Maintenance Commands): Use @enumerate, not "@table + @bullet", which is invalid (makeinfo 5.1 barfs). + +2013-03-28 Pedro Alves + + PR gdb/15294 + + * gdb.texinfo (List) : Adjust to document that + listsize 0 means no limit, and remove mention of -1. + +2013-03-22 Yao Qi + + * gdb.texinfo (Embedded Processors): Remove menu item + "OpenRISC 1000". + (OpenRISC 1000): Remove. + +2013-03-21 Doug Evans + + * gdb.texinfo (Maintenance Commands): Add docs for + "mt set per-command {space,time,symtab} {on,off}". + +2013-03-14 Hui Zhu + Yao Qi + + * gdb.texinfo (Trace Files): Add "tsave -ctf". + +2013-03-13 Keith Seitz + + * gdb.texinfo (Maintenance Commands): Add missing ')' for + "maint agent" reference to Dynamic printf. + +2013-03-11 Eli Zaretskii + + * gdb.texinfo (General Query Packets): Don't use colon in index + entries visible to Info format. + +2013-03-11 Markus Metzger + + * gdb.texinfo (Process Record and Replay): Document record + changes. + +2013-03-11 Markus Metzger + + * gdb.texinfo (Requirements): List qXfer:btrace:read requiring expat. + (General Query Packets): Describe Qbtrace:bts, Qbtrace:off, and + qXfer:btrace:read. + +2013-03-09 Eli Zaretskii + + * gdb.texinfo (General Query Packets, Tracepoint Packets): Don't + use colons in @anchor and @cindex entries. + +2013-03-09 Hafiz Abid Qadeer + + * gdb.texinfo (QTBuffer:size): Add cindex and anchor. + +2013-03-08 Stan Shebs + Hafiz Abid Qadeer + + * gdb.texinfo (Starting and Stopping Trace Experiments): Document + trace-buffer-size set and show commands. + (Tracepoint Packets): Document QTBuffer:size. + (General Query Packets): Document QTBuffer:size. + +2013-02-21 Tom Tromey + + * gdb.texinfo: Remove bad @syncodeindex. + (Values From Inferior, Types In Python, Inferiors In Python) + (Events In Python, Threads In Python, Frames In Python, Blocks In + Python, Symbols In Python, Symbol Tables In Python): Remove + @tables. + (Packets, General Query Packets, Tracepoint Packets) + (Host I/O Packets): Use @w{} for empty @item. + +2013-02-20 Siva Chandra Reddy + + * gdb.texinfo (Architectures In Python): Add description about + the new method gdb.Architecture.disassemble. + +2013-02-15 Pedro Alves + Hafiz Abid Qadeer + + * gdb.texinfo (GDB/MI Tracepoint Commands) <-trace-status>: + Document the "trace-file" field. + +2013-02-07 Doug Evans + + * gdb.texinfo (Machine Code): Clarify argument to disassemble + command. + +2013-02-06 Yao Qi + + * gdb.texinfo (GDB/MI Async Records): Document new MI + notification "=tsv-modified". Update the document of MI + notification "=tsv-created". + * observer.texi (GDB Observers): New observer tsv_modified. + Update observer tsv_created and tsv_delete. + +2013-02-05 Yufeng Zhang + + * gdb.texinfo (AArch64 Features): New section; document + org.gnu.gdb.aarch64.core and org.gnu.gdb.aarch64.fpu. + (Architectures): Add new AArch64 section to document AArch64 + architecture specific commands. + (ABI): Add description of the new OS ABI "Newlib" and its influence + on the longjmp handling. + +2013-02-03 Eldar Gaynetdinov + Jan Kratochvil + + * gdb.texinfo (Backtrace): Added description of 'filename-display' + variable in 'set/show backtrace' section. + +2013-01-31 Tom Tromey + + * gdb.texinfo (Target Commands): Fix typo. + +2013-01-23 Siva Chandra Reddy + + * doc/gdb.texinfo (Architectures In Python): New sub-sub-section + describing the gdb.Architecture class. + (Frames In Python): Add description about the new method + gdb.Frame.architecture(). + +2013-01-23 Doug Evans + + * gdb.texinfo (Index Section Format): Document .gdb_index version 8. + +2013-01-21 Marc Khouzam + + * gdb.texinfo (GDB/MI Breakpoint Commands): Document new + 'thread-groups' field when printing a breakpoint in MI. + +2012-01-17 Sanjoy Das + * gdb.texinfo (Using JIT Debug Info Readers): Change documentation + to reflect that jit-reader-load now supports absolute file-names. + +2013-01-16 Tom Tromey + + * gdb.texinfo (Set Catchpoints): Document "catch signal". + (Signals): Likewise. + +2013-01-16 Tom Tromey + + * gdb.texinfo (GDB/MI Breakpoint Information): Document + "catch-type" field. + (GDB/MI Catchpoint Commands): Add "catch-type" to examples. + +2013-01-07 Tom Tromey + + * gdb.texinfo (Mode Options): Don't mention -epoch. + (Data, Emacs): Remove obsolete comments. + +2013-01-02 Tom Tromey + + * gdb.texinfo (GDB/MI Output Records): Update menu. + (GDB/MI Breakpoint Information): New node. + (GDB/MI Breakpoint Commands) <-break-info>: Link to new node. + <-break-insert>: Likewise. + +2012-12-31 Yao Qi + + * gdb.texinfo (Remote Non-Stop): Move paragraphs to ... + (Packets): Move "vStopped" packet to ... + (Notification Packets): ... here. Describe the components + of notification. Add a table of supported notifications. + Add an example on the process of he async notification. + +2012-12-25 Jan Kratochvil + + * gdb.texinfo (GDB/MI Data Manipulation) (fullname): Make it always + present. + (GDB/MI File Commands) (-file-list-exec-source-files): Make the + fullname output always present. + +2012-12-23 Pierre Muller + + * gdbint.texinfo (Function prototypes): Require use of "extern" + modifier for function prototypes in headers. + +2012-12-19 Joel Brobecker + + * refcard.tex: Update copyright notice to GPL v3 or later. + Update contact info. + +2012-12-16 Jan Kratochvil + + * gdbint.texinfo (Coding Standards) (C Usage): New rule for 0 vs. NULL. + +2012-12-15 Yao Qi + + * gdb.texinfo (Debugging Output): Document 'set debug + notification' and 'show debug notification'. + +2012-12-15 Yao Qi + + * gdb.texinfo (Listing Tracepoints): New item and example about + 'installed on target' output. + Add more in the example about 'installed on target'. + (GDB/MI Breakpoint Commands): Doc about 'installed field. + +2012-12-14 Tom Tromey + + * gdb.texinfo (SVR4 Process Information): Mention core files. + +2012-12-12 Mircea Gherzan + + * gdb.texinfo (GDB/MI Catchpoint Commands): New section. + +2012-12-12 Paul Koning + + Add support for Python 3. + * gdb.texinfo (Inferior.read_memory): Mention that the return + value is a memoryview object if Python 3. + +2012-12-11 Pedro Alves + + * gdb.texinfo: Remove all mentions of Unixware throughout. + +2012-12-09 Jan Kratochvil + + * gdbint.texinfo (Host Definition): Remove CC_HAS_LONG_LONG. + +2012-11-29 Tom Tromey + + * gdb.texinfo (SVR4 Process Information): Document missing + "info proc" subcommands. + +2012-11-29 Yao Qi + + PR gdb/1477. + * gdb.texinfo (Print Settings): Correct the default 'demangle-style' + to 'auto' instead of 'gnu'. + +2012-11-26 Tom Tromey + + * gdb.texinfo (MiniDebugInfo): New node. + (GDB Files): Update. + +2012-11-16 Doug Evans + + * gdb.texinfo (System-wide configuration): If the system-wide init + file lives in the data-directory, and --data-directory is provided, + look for it there. + +2012-11-15 Tom Tromey + + * gdb.texinfo (Signaling): Fix typo. + +2012-11-13 Giuseppe Montalto + + * gdb.texinfo (GDB/MI Data Manipulation): Document new optional + parameter "count" of -data-write-memory-bytes, and add an example. + +2012-11-12 Tom Tromey + + * gdb.texinfo (Symbols): Document "info type-printers", + "enable type-printer" and "disable type-printer". + (Python API): Add new node to menu. + (Type Printing API): New node. + (Progspaces In Python): Document type_printers field. + (Objfiles In Python): Likewise. + (gdb.types) : Document. + +2012-11-12 Tom Tromey + + * gdb.texinfo (Symbols): Document "set print type methods", + "set print type typedefs", and flags to ptype and whatis. + +2012-11-09 Andrew Burgess + + * gdb.texinfo (GDB/MI Data Manipulation): Add fullname field to + the example -data-disassemble output. Extend the description of + the -data-disassemble results to document all fields. Document + the cli disassemble command as being related to -data-disassemble. + +2012-11-09 Yao Qi + + PR gdb/14777. + * gdb.texinfo (OS Information): Remove doc on command + 'info udot'. + +2012-11-08 Joel Brobecker + + * gdb.texinfo (Startup): Minor rewording, and clarify scope of + gdb.ini warning for Windows port. + +2012-11-08 Yao Qi + + * gdb.texinfo (Search): Add kindex for 'fo'. + +2012-11-05 Tom Tromey + + PR python/14802: + * gdb.texinfo (Functions In Python): Add example. + +2012-11-03 Yao Qi + + * observer.texi (GDB Observers): Remove observer + 'tracepoint_modified', 'tracepoint_created' and + 'tracepoint_deleted'. + +2012-10-26 Tom Tromey + + * gdb.texinfo (General Query Packets): Use @itemx for QAgent. + +2012-10-25 Tom Tromey + + * gdb.texinfo (General Query Packets): Use @itemx. + +2012-10-17 Yao Qi + + * observer.texi (GDB Observers): Update observer + 'memory_changed'. + * gdb.texinfo (GDB/MI Async Records): Document for + "memory-changed" notification. + +2012-10-15 Doug Evans + + * gdb.texinfo (Mode Options): Document -nh. + Elaborate on docs for -nx. + +2012-09-26 Siddhesh Poyarekar + + * observer.texi (memory_changed): Expand parameter LEN to ssize_t. + +2012-09-21 Yao Qi + Pedro Alves + + * gdb.texinfo (GDB/MI Async Records): Document notification + 'record-started' and 'record-stopped'. + * observer.texi (GDB Observers): New observer 'record-changed'. + +2012-09-19 Thomas Schwinge + + * gdb.texinfo: Document the removal of SH's 'regs' command. + +2012-09-18 Sergio Durigan Junior + + * gdb.texinfo (jump): Mention new alias `j' for `jump'. + +2012-09-18 Yao Qi + + * gdb.texinfo (GDB/MI Async Records): Document new MI + notifications '=tsv-created' and '=tsv-deleted'. + * observer.texi (GDB Observers): New observer tsv_created and + tsv_deleted. + +2012-09-18 Yao Qi + + * observer.texi (GDB Observers): New observer 'traceframe_changed'. + * gdb.texinfo (GDB/MI Async Records): Mention new MI notification + '=traceframe-changed'. + +2012-09-17 Yao Qi + + * gdb.texinfo (List): Describe the meaning of 0 and -1 in + 'set listsize'. + +2012-09-13 Jan Kratochvil + Eli Zaretskii + + * gdbint.texinfo (Defining Other Architecture Features): Clarify *pcptr + encoding for gdbarch_breakpoint_from_pc, bp_addr for + gdbarch_push_dummy_call and bp_addr for gdbarch_push_dummy_code. + +2012-08-27 Jan Kratochvil + + * gdb.texinfo (objfile-gdb.py file): New paragraph for .exe stripping. + +2012-08-23 Khoo Yit Phang + + Document how to return from "python-interactive" to GDB. + * gdb.texinfo (Python Commands): Update documentation. + +2012-08-22 Khoo Yit Phang + + Add a new "python-interactive" command that starts a standard + Python interactive prompt with "pi" as alias, and add "py" as + an alias to "python". + * gdb.texinfo (Python Commands): Document the new commands. + +2012-08-22 Tom Tromey + + * gdbint.texinfo (Host Definition): Remove documentation for + SIGWINCH_HANDLER and SIGWINCH_HANDLER_BODY. + +2012-08-17 Keith Seitz + + PR c++/13356 + * gdb.texinfo (Type and Range Checking): Remove warning. + Remove spurious commas. + Update text and examples for re-implementation of set/show + check type. + (C and C++ Type and Range Checks): Likewise. + +2012-08-16 Yao Qi + + * gdb.texinfo (Types In Python): Mention gdb.TYPE_CODE_BITSTRING + is deprecated. + +2012-08-13 Doug Evans + + * gdb.texinfo (Convenience Vars): Update text for "show convenience" + to include functions. + +2012-08-10 Doug Evans + + * gdb.texinfo (Convenience Funs): New node. + (Types In Python): Document Type.vector. + +2012-08-09 Yao Qi + + * observer.texi: New observer command_param_changed. + * gdb.texinfo (GDB/MI Async Records): Doc for '=cmd-param-changed'. + +2012-08-07 Jan Kratochvil + + * gdbint.texinfo (Debugging GDB): In section + 'Debugging @value{GDBN} with itself' change .gdbinit for gdb-gdb.gdb. + Mention also gdb-gdb.py. + +2012-08-07 Yao Qi + + Revert the folloing patch: + 2012-08-06 Yao Qi + * gdb.texinfo (Remote Configuration): Add kindex for 'set + remote hardware-watchpoint-limit' and 'set + remote hardware-breakpoint-limit'. + +2012-08-06 Nathaniel Flath + + * gdb.texinfo (Working Directory): Added information about new + default argument for 'cd' command. + +2012-08-06 Yao Qi + + * gdb.texinfo (Remote Configuration): Add kindex for 'set + remote hardware-watchpoint-limit' and 'set + remote hardware-breakpoint-limit'. + +2012-08-06 Yao Qi + + Fix PR14371. + + * gdb.texinfo (GDB/MI Async Records): Fix the doc for + '=breakpoint-deleted'. + +2012-08-02 Yao Qi + + * gdb.texinfo (Native): Remove node Neutrino. + +2012-07-27 Yao Qi + + * gdb.texinfo (IPA Protocol Commands): Document new command + 'close'. + +2012-07-25 Tom Tromey + + * gdb.texinfo (Maintenance Commands): Document maint info bfds. + +2012-07-20 Doug Evans + + * gdb.texinfo (Mode Options): Delete --use-deprecated-index-sections. + (Index Files): Document how to control the use of deprecated index + sections. + (Index Section Format): Replace --use-deprecated-index-sections with + "set use-deprecated-index-sections on". + +2012-07-12 Eli Zaretskii + + * gdbint.texinfo: Remove @syncodeindex directives that put all the + indices into a single node "Index". Instead, join function and + variable indices into a single index, separate from the concept + index. Requested in + http://sourceware.org/ml/gdb-patches/2012-07/msg00146.html. + (Top): Update the top-level menu: instead of one "Index" there are + now separate entries "Concept Index" and "Function and Variable + Index". + (Concept Index, Function and Variable Index): New nodes. + (Index): Node deleted. + +2012-07-05 Hui Zhu + + * gdb.texinfo (Maintenance Commands): Change help for "maint agent" + and "maint agent-eval". + +2012-07-03 Eli Zaretskii + + * gdb.texinfo: Separate the index into 2 indices, cp and fn, to + avoid file-name clashes between Index.html and index.html on + case-insensitive filesystems. See the discussion starting in + http://sourceware.org/ml/gdb-patches/2012-06/msg00457.html for the + details of the problem. + (Top): Update the master menu for the above. + (Concept Index, Command and Variable Index): New nodes, instead of + the old "Index" node that was deleted. All cross-references + updated. + +2012-07-02 Stan Shebs + + * gdb.texinfo (Dynamic Printf): Mention agent style and + disconnected dprintf. + (Maintenance Commands): Describe maint agent-printf. + (General Query Packets): Mention BreakpointCommands feature. + (Packets): Document commands extension to Z0 packet. + * agentexpr.texi (Bytecode Descriptions): Document printf + bytecode. + +2012-07-02 Jan Kratochvil + + * gdb.texinfo (File Options): Change -ix and -iex commands that apply + only after gdbinit files. + (Startup): Move -iex and -iex commands down after gdbinit files. + +2012-07-02 Jan Kratochvil + + * gdb.texinfo (Auto-loading safe path): Note the shell wildcard + possibility. + +2012-06-29 Tom Tromey + + * gdb.texinfo (Index Section Format): Update for version 7. + +2012-06-28 Stan Shebs + + * gdb.texinfo (Miscellaneous GDB/MI Commands): Update -info-os + example, add note about title column. + +2012-06-26 Siva Chandra Reddy + + * gdb.texinfo (Symbol Tables In Python): Add description about + the new 'last' attribute of gdb.Symtab_and line. + +2012-06-26 Siva Chandra Reddy + + * gdb.texinfo (Symbol Tables In Python): Correct the description + of the 'pc' attribute of gdb.Symtab_and_line. + +2012-06-26 Doug Evans + + * gdb.texinfo (Debugging Output): Document debug options dwarf2-read + and symtab-create. + +2012-06-25 Keith Seitz + + * gdb.texinfo (GDB/MI Breakpoint Commands): Remove "-r" option + from example. Remove "rbreak" from list of corresponding + gdb commands. + +2012-06-23 Doug Evans + + * gdb.texinfo (Index Section Format): Document version 7 format. + +2012-06-22 Yao Qi + + * gdb.texinfo: Add missing cindex for some packets. + +2012-06-20 Keith Seitz + + * gdb.texinfo (GDB/MI Breakpoint Commands): Re-order options + for -break-insert and document -p. + +2012-06-20 Yao Qi + + * gdb.texinfo (Inferiors In Python): Replace "gdb.read_memory" + and "gdb.write_memory" with "Inferior.read_memory" and + "Inferior.write_memory". + +2012-06-15 Patrice Dumas (tiny change) + + * gdb.texinfo (Summary): Add a link to "Free Documentation". + (Free Documentation): Add @node line. + (Continuing and Stepping) : Use @item instead of + @itemx. + (Reverse Execution) : Use @item instead of + @itemx. + (Embedded Processors): Put the link to "PA" to its correct place, + according to document structure. + (Python API): Put the link to "Lazy Strings In Python" to its + correct place. + (Index): Use @@ in @tex block to get a literal @. + + * gdbint.texinfo: Fix the @subtitle line. + + * stabs.texinfo (Top): Put the link to "Symbol Types Index" to its + correct place. + +2012-06-08 Yao Qi + + * gdb.texinfo (In-Process Agent): Add 'In-Process Agent + Protocol'. + (In-Process Agent Protocol, IPA Protocol Objects) + (IPA Protocol Commands): New nodes. + (Tracepoint Packets): Add anchors. + +2012-06-06 Thomas Schwinge + + * gdb.texinfo: Document the deprecation of SH's 'regs' command. + +2012-06-06 Yao Qi + + * gdb.texinfo: Update copyright year. + +2012-05-23 Stan Shebs + Kwok Cheung Yeung + + * gdb.texinfo (Miscellaneous GDB/MI Commands): Document -info-os. + +2012-05-20 Jan Kratochvil + + * gdb.texinfo (Separate Debug Files): New anchor debug-file-directory. + Mention also --with-separate-debug-dir. + (Auto-loading): Prepend $debugdir in the sample output. + (Auto-loading safe path): Likewise. Mention also $debugdir for the + auto-load safe-path variable. + (objfile-gdb.py file): Remove the extra debug-file-directory paragraph. + Mention also $debugdir for 'set auto-load scripts-directory'. + +2012-05-19 Eli Zaretskii + + * gdb.texinfo (Continuing and Stepping, Selection, Byte Order) + (MIPS Embedded, MIPS, MIPS Register packet Format) + (Target Descriptions, MIPS Features): Use @acronym{MIPS} where + appropriate. + +2012-05-18 Sandra Loosemore + Maciej W. Rozycki + + * gdb.texinfo (MIPS): Document "set mips compression" and "show + mips compression". + (MIPS Breakpoint Kinds): New subsubsection. + +2012-05-18 Eli Zaretskii + + * gdb.texinfo (Architecture-Specific Protocol Details): Define + nodes for subsections. Add @acronym mark-ups and adjust + formatting. + +2012-05-18 Jan Kratochvil + + Rename $ddir to $datadir. + * gdb.texinfo (Auto-loading, Auto-loading safe path) + (objfile-gdb.py file): Rename $ddir to $datadir. + +2012-05-18 Tom Tromey + + * gdb.texinfo (Print Settings): Document 'set print symbol'. + +2012-05-14 Stan Shebs + + * gdb.texinfo (Dynamic Printf): New subsection. + +2012-05-13 Siva Chandra Reddy + + * gdb.texinfo (Basic Python): Add description about the function + gdb.find_pc_line + +2012-05-12 Jan Kratochvil + Eli Zaretskii + + * gdb.texinfo (Separate Debug Files): Use plural form for global + debugging information directory. + +2012-05-11 Stan Shebs + Kwok Cheung Yeung + + * gdb.texinfo (Operating System Auxiliary Information): Document new + 'info os' subcommands. + +2012-05-11 Jan Kratochvil + + * gdb.texinfo (Auto-loading, Init File in the Current Directory) + (libthread_db.so.1 file, objfile-gdb.gdb file, objfile-gdb.py file) + (dotdebug_gdb_scripts section): Add reference + to 'Auto-loading safe path'. + +2012-05-11 Jan Kratochvil + + Implement multi-component --with-auto-load-dir. + * gdb.texinfo (Auto-loading): New references + for 'set auto-load scripts-directory' + and 'show auto-load scripts-directory'. + (Auto-loading safe path): Describe the new default. Move $ddir + substituation reference to 'objfile-gdb.py file'. + (objfile-gdb.py file): Describe script-name alias. Change real-name to + script-name. Describe new 'set auto-load scripts-directory' + and 'show auto-load scripts-directory'. + +2012-05-11 Jan Kratochvil + + Provide $ddir substitution for --with-auto-load-safe-path. + * gdb.texinfo (Auto-loading): Replace /usr/local by $ddir/auto-load. + (Auto-loading safe path): Likewise. Mention the default value, + $ddir substitution, --with-auto-load-safe-path and + --without-auto-load-safe-path. + * observer.texi (gdb_datadir_changed): New. + +2012-05-09 Jan Kratochvil + + * gdb.texinfo (Auto-loading): Wrap too long lines in @smallexample. + Twice. + + * gdb.texinfo (Separate Debug Files, Auto-loading safe path): Replace + directory separator by path separator. + +2012-05-06 Jan Kratochvil + + * gdb.texinfo (Auto-loading safe path): Make 'directories' + for 'set auto-load safe-path' optional. Mention if it is omitted. + Change disabling security protection condition to "/", twice. + +2012-05-03 Siva Chandra Reddy + + * gdb.texinfo (Symbol Tables In Python): Add documentation about + the new methods global_block and static_block on gdb.Symtab + objects. + +2012-05-02 Siva Chandra Reddy + + * gdb.texinfo (Blocks In Python): Add a note saying that future + improvements to GDB and its infrastructure can move symbols + across blocks within a symbol table. + +2012-04-29 Yao Qi + + * gdb.texinfo (Architectures): Remove menu entry `A29K'. + (A29K): Remove. + +2012-04-27 Sergio Durigan Junior + Tom Tromey + + * gdb.texinfo (Static Probe Points): New entry, explaining SystemTap + and generic static probe support on GDB. + +2012-04-25 Doug Evans + + * gdb.texinfo (Go): Fix thinko. + + * gdb.texinfo (Supported Languages): Add Go. + (Go): New node. + +2012-04-25 Yao Qi + + * gdbint.texinfo (Testsuite): New section `Board settings'. + +2012-04-23 Jan Kratochvil + + * gdb.texinfo (Auto-loading safe path): Remove trailing [@dots{}]. + Three times. + + * gdb.texinfo (Auto-loading safe path): Add trailing @dots{}. + Three times. + +2012-04-22 Jan Kratochvil + + * gdb.texinfo (Auto-loading safe path): Replace @itemize @bullet + by @table @asis. Fix formatting of one item. + +2012-04-18 Jan Kratochvil + + * gdb.texinfo (Auto-loading verbose mode): Fix smallexample typo. + +2012-04-17 Jan Kratochvil + + New option "set debug auto-load". + * gdb.texinfo (Auto-loading): New menu item for auto-load verbose mode. + (auto-load verbose mode): New node. + +2012-04-17 Jan Kratochvil + + New option "set auto-load safe-path". + * gdb.texinfo (Auto-loading): Extend the "show auto-load" + and "info auto-load" examples for safe-path. Put there also references + for "set auto-load safe-path" and "show auto-load safe-path". + New menu item for Auto-loading safe path. + (Auto-loading safe path): New node. + (Python Auto-loading): Update the expected output from "Missing" + to "No". + +2012-04-17 Jan Kratochvil + + auto-load: Implementation. + * gdb.texinfo (Mode Options): New anchor for -nx. + (Startup): New anchors for Option -init-eval-command, + Home Directory Init File + and Init File in the Current Directory during Startup. + Mention set auto-load local-gdbinit with a reference. + Change the sample code to "set auto-load python-scripts". + (Threads): New anchor set libthread-db-search-path. + Provide references to libthread_db.so.1 file. + (Controlling GDB): New menu item for Auto-loading. + (Auto-loading, Init File in the Current Directory) + (libthread_db.so.1 file, objfile-gdb.gdb file): New nodes. + (Python): Rename the menu item Auto-loading to Python Auto-loading. + (Writing a Pretty-Printer, Objfiles In Python): Update the renamed + reference. + (Auto-loading): Rename to ... + (Python Auto-loading): ... here. Change "set auto-load-scripts" to + "set auto-load python-scripts", new anchor for it. Change + "show auto-load-scripts" to "show auto-load python-scripts", new anchor + for it. Change "info auto-load-scripts" + to "info auto-load python-scripts", new anchor for it. Change "scripts" + to "Python scripts". + +2012-04-14 Anton Gorenkov + + PR mi/13393 + * gdb.texinfo (Print Settings): Extend the description for "set print + object". + (GDB/MI Variable Objects): Extend the description for -var-create and + -var-list-children. + +2012-04-11 Siva Chandra Reddy + + * gdb.texinfo (Examining Data): Document the 'explore' command. + +2012-03-28 Joel Brobecker + + * gdb.texinfo (GDB/MI Variable Objects): Document what happens + to the children of a varobj and its update range when -var-update + returns that the varobj's type changed. + +2012-03-27 Jan Kratochvil + + * gdb.texinfo (Auto-loading): Move @menu to the end of @node. + Create two new links fir 'objfile-gdb.py file' + and 'dotdebug_gdb_scripts section'. + +2012-03-27 Jan Kratochvil + + * gdb.texinfo (Auto-loading): Rename node reference + '.debug_gdb_scripts section' to 'dotdebug_gdb_scripts section'. + Twice. + (.debug_gdb_scripts section): Rename the node ... + (dotdebug_gdb_scripts section): ... here. + (Maintenance Commands): Also rename this node reference. + +2012-03-22 Siva Chandra Reddy + + * gdb.texinfo (Python API/Values From Inferior): Add description + about the new method Value.referenced_value. Add description on + how Value.dereference is different (and similar) to + Value.referenced_value. + +2012-03-19 Jan Kratochvil + + * gdb.texinfo (File Options): Describe --init-command=FILE, -ix and + --init-eval-command=COMMAND, -iex. + (Startup): Describe -iex and -ix. Simplify the example + for "set auto-load-scripts off". + +2012-03-16 Gary Benson + + PR breakpoints/10738 + * gdb.texinfo (Inline Functions): Remove the now-unnecessary @item + stating that GDB cannot set breakpoints on inlined functions. + (Mode Options): Document --use-deprecated-index-sections. + (Index Section Format): Document new index section version format. + +2012-03-15 Tom Tromey + + * gdb.texinfo (Debugging C Plus Plus): Document "info vtbl". + +2012-03-13 Doug Evans + + * gdb.texinfo (Help): Change apropos example to use "alias" instead + of "reload". + (Symbols): Delete docs for set/show symbol-reloading. + * gdbint.texinfo (Defining Other Architecture Features): Delete + SYMBOL_RELOADING_DEFAULT. + * refcard.tex: Delete reference to symbol-reloading. + +2012-03-07 Pedro Alves + + * gdb.texinfo (General Query Packets): Document new + QProgramSignals packet. + * gdb.texinfo (Remote configuration): Mention + "program-signals-packet". + +2012-03-05 Tristan Gingold + + * gdb.texinfo (General Query Packets): Document xfer:uib:read. + +2012-03-03 Yao Qi + + * gdb.texinfo (In-Process Agent): New node. + Document new commands. + (General Query Packets): Add packet `QAgent'. + +2012-03-01 Maciej W. Rozycki + + * gdb.texinfo (MIPS Features): Add org.gnu.gdb.mips.dsp. + +2012-03-01 Scott J. Goldman + + * gdb.texinfo (Commands In Python): Put example python macro in + COMMAND_USER category rather than COMMAND_OBSCURE. + Document gdb.COMMAND_USER. + (User-defined Commands): Update documentation to clarify + "set/show max-user-call-depth" and "show user" don't apply to python + commands. Update documentation to clarify "help user-defined" may + also include python commands defined as COMMAND_USER. + +2012-02-25 Jan Kratochvil + + * gdb.texinfo (Startup): Add option -ex description to the option -x + description. + +2012-02-24 Luis Machado + + * gdb.texinfo (Setting Breakpoints): Mention and explain the + condition-evaluation breakpoint parameter. + Mention condition-evaluation mode being shown in "info break". + (Break Conditions): Add description for target-side + conditional breakpoints. + (Remote Configuration): Mention conditional-breakpoints-packet. + (Packets): Add cond-expr parameter to Z0/Z1 packets and explain + cond-expr. + (General Query Packets): Mention new ConditionalBreakpoint feature. + +2012-02-22 Tom Tromey + + * gdb.texinfo (Blocks In Python): Clarify block iteration. + +2012-02-17 Tom Tromey + + PR python/10753: + * gdb.texinfo (objfile-gdb.py file): Fix location of auto-load + directory. + +2012-02-14 Stan Shebs + + * gdb.texinfo (Disabling Breakpoints): Document enable count. + +2012-02-13 Pedro Alves + + * gdb.texinfo (MIPS boards): Refer to mips-elf instead of + mips-idt-ecoff. + +2012-02-09 Yao Qi + + * gdb.texinfo (Symbols In Python): Add missing `@end defvar'. + +2012-02-07 Tom Tromey + + * gdb.texinfo (Symbols In Python): Document Symbol.needs_frame and + Symbol.value. + +2012-02-07 Tom Tromey + + * gdb.texinfo (Symbols In Python): Document Symbol.line. + +2012-01-27 Thomas Schwinge + + * gdb.textinfo (Packets): Move vCont paragraph to the correct place. + +2012-01-24 Tom Tromey + + * gdb.texinfo (Set Catchpoints): Document "catch load" and "catch + unload". + (Files): Mention new catch commands. + (GDB/MI Async Records): Likewise. + +2012-01-24 Gary Benson + + Delete #if 0'd out code. + * gdb.texinfo (Frame Info): Remove "info catch". + +2012-01-20 Ulrich Weigand + + * gdb.texinfo (Remote Configuration): Document + "set remote hostio-readlink-packet" command. + (General Query Packets): Document vFile:readlink packet. + +2012-01-16 Tom Tromey + + * gdb.texinfo (Specify Location): Document relative file name + handling. + +2012-01-16 Tom Tromey + + * gdb.texinfo (gdb.printing): Document FlagEnumerationPrinter. + +2012-01-13 Jan Kratochvil + Eli Zaretskii + + * gdbint.texinfo (Coding Standards): Require braces for two lines of + code. + +2012-01-11 Paul Hilfinger + + * gdb.texinfo (Variables): Document use of :: for non-static + variables. + +2012-01-05 Joel Brobecker + + * gdbint.texinfo (Start of New Year Procedure): Update + to replace use of copyright.sh by use of copyright.py. + +2012-01-02 Jan Kratochvil + + Remove the gdbtui binary. + * all-cfg.texi (GDBTUI): Remove. + * gdb.texinfo (Mode Options): Remove the GDBTUI reference. + (TUI): Remove GDBTUI pindex. Remove the GDBTUI reference. + * gdbint.texinfo (Testsuite): Replace `gdbtui' by `gdb -tui'. + +2011-12-23 Kevin Pouget + + Introduce gdb.FinishBreakpoint in Python. + * gdb.texinfo (Finish Breakpoints in Python): New subsection. + (Python API): Add menu entry for Finish Breakpoints. + +2011-12-19 Jan Kratochvil + + * gdbint.texinfo (Testsuite): Describe KFAIL and XFAIL in Writing + tests. + +2011-12-16 Doug Evans + + * gdb.texinfo (Server): Document -/stdio argument to gdbserver. + +2011-12-16 Phil Muldoon + + * gdb.texinfo (Python Commands): Remove "maint set/show print + stack". Add documentation for "set/show python print-stack". + +2011-12-14 Pedro Alves + + * gdb.texinfo (Implementing a Remote Stub): Explain that you + should transfer control to the stub in the startup code instead of + in main. Mention the need to get past the initial breakpoint. + +2011-12-06 Tom Tromey + + * gdb.texinfo (Set Breaks): Update for new behavior. + +2011-12-02 Jan Kratochvil + + * gdb.texinfo (Requirements, Remote Protocol): Reference also `Library + List Format for SVR4 Targets'. + (General Query Packets): New item qXfer:libraries-svr4:read. + (Library List Format for SVR4 Targets): New node. + +2011-12-01 Tom Tromey + + * gdb.texinfo (Writing a Pretty-Printer): Use append method, not + add. + +2011-11-22 Tom Tromey + + * gdb.texinfo (GDB/MI Async Records): Document new *stopped + reasons. + +2011-11-20 Stan Shebs + + * gdb.texinfo (Starting and Stopping Trace Experiments): Document + note-related options and variables. + (Tracepoint Packets): Document packet changes. + +2011-11-20 Sanjoy Das + + * gdb.texinfo (JIT Interface): Add documentation on writing and + usind JIT debug info readers. + (Custom Debug Info, Using JIT Debug Info Readers, Writing JIT + Debug Info Readers): New nodes. + +2011-11-18 Yao Qi + + * gdb.texinfo (Create and Delete Tracepoints): Mention pending + tracepoint. + +2011-11-15 Doug Evans + + * gdb.texinfo (Files): Document basenames-may-differ. + +2011-11-14 Doug Evans + + * gdb.texinfo (Shell Commands): Document "!". + +2011-11-14 Stan Shebs + Kwok Cheung Yeung + + * gdb.texinfo (Create and Delete Tracepoints): Describe what is + needed to get shorter fast tracepoints. + (Tracepoint Packets): Document new qTMinFTPILen packet. + +2011-11-14 Yao Qi + + * gdb.texinfo (Create and Delete Tracepoints): Describe changed + behavior of tracepoint. + (General Query Packets): New feature InstallInTrace. + (Remote Configuration): Document "set remote + install-in-trace-packet". + +2011-11-12 Matt Rice + + * gdb.texinfo (C Preprocessor Macros): Remove info definitions. + Add arguments to info macro. + +2011-11-10 Tom Tromey + + * gdb.texinfo (Compilation): Don't mention -gdwarf-2. Link to GCC + manual. + (Variables): Don't mention -gdwarf-2. Link to Compilation node. + (Macros): Add a footnote. + (C): Remove paragraph about compiler options. + (C Constants): Mention wide character and string constants. + (C Plus Plus Expressions): Update compiler option advice. Mention + using declarations. Mention ADL. Remove old HP compiler + information. + +2011-11-10 Tom Tromey + + PR c++/9257: + * gdb.texinfo (Print Settings): Add an extra note about the need + for a vtable. + +2011-11-08 Maciej W. Rozycki + + * gdb.texinfo (MIPS): Remove duplicate "auto" reference from + "set mips abi" documentation. + +2011-11-04 Doug Evans + + * gdb.texinfo (Maintenance Commands): Update docs of "maint time". + +2011-11-03 Tom Tromey + + * gdb.texinfo (Stopping): Add menu entry. + (Continuing and Stepping): Restore @node. Use @section, not + @subsection. + +2011-11-03 Maciej W. Rozycki + + * gdb.texinfo (Skipping Over Functions and Files): Remove node + designation. Fix "Specify Location" cross-reference. + +2011-11-02 Stan Shebs + + * gdb.texinfo (Tracepoint Action Lists): Document collect/s. + (General Query Packets): Describe tracenz feature. + * agentexpr.texi (Bytecode Descriptions): Describe tracenz. + +2011-10-28 Paul Koning + + * gdb.texinfo (gdb.types): Rename deepitems to deep_items. + +2011-10-27 Kevin Pouget + + * gdb.texinfo ((Frames In Python): Document + gdb.FRAME_UNWIND_FIRST_ERROR contant. + +2011-10-26 Paul Koning + + * gdb.texinfo (gdb.types): Document new deepitems function. + +2011-10-25 Paul Koning + + PR python/13327 + + * gdb.texinfo (Values From Inferior): Add is_lazy attribute, + fetch_lazy method. + +2011-10-20 Phil Muldoon + + PR python/12656 + + * gdb.texinfo (Blocks In Python): Document is_static, is_global, + global_block, static_block function. + +2011-10-19 Tom Tromey + + * gdb.texinfo (Commands In Python): Add missing "@"s. + +2011-10-13 Kevin Pouget + + PR python/13285 Document named constants for frame unwind stop reasons + * gdb.texinfo (Frames In Python): Document gdb.FRAME_UNWIND_* + constants. + +2011-10-12 Jan Kratochvil + + Fix compatibility with texinfo versions older than 4.12. + * Makefile.in (MAKEINFO): Set to @MAKEINFO@. + (MAKEINFOFLAGS, MAKEINFO_EXTRA_FLAGS, MAKEINFO_CMD): New. + (MAKEHTMLFLAGS): Use MAKEINFO_CMD. + (gdb.info, gdbint.info, stabs.info, annotate.info): Use MAKEINFO_CMD. + * gdb.texinfo (Tail Call Frames): Convert @arrow{} to @click, when possible. + Make the conversion conditional on HAVE_MAKEINFO_CLICK, using variables + CALLSEQ1A, CALLSEQ1B, CALLSEQ2A and CALLSEQ2B. + +2011-10-09 Doug Evans + + * gdb.texinfo (Extending GDB): Document alias command. + +2011-10-09 Jan Kratochvil + + Support @entry in input expressions. + * gdb.texinfo (Variables): Describe @entry names suffix. + (Print Settings): Add anchor for `set print entry-values'. + +2011-10-09 Jan Kratochvil + Eli Zaretskii + + Display @entry parameter values (without references). + * gdb.texinfo (Tail Call Frames): Add anchor. Add self tail call + example. + (Print Settings): New description of set print entry-values and show + print entry-values. + +2011-10-09 Jan Kratochvil + Eli Zaretskii + + Recognize virtual tail call frames. + * gdb.texinfo (Optimized Code): Add reference to Tail Call Frames. + (Tail Call Frames): New node. + (Frames In Python): Add gdb.TAILCALL_FRAME. + +2011-10-07 Doug Evans + + * gdb.texinfo (gdb.printing): Document new `replace' arg to + register_pretty_printer. + +2011-10-07 Phil Muldoon + + PR python/12930 + PR python/12802 + + * gdb.texinfo (Breakpoints In Python): Clarify behavior in the + stop method. + +2011-10-07 Ulrich Weigand + + * gdb.texinfo (Starting your Program): "set disable-randomization" + is no longer Linux-specific. + (Remote Configuration): Document "set remote + disable-randomization-packet". + (General Query Packets): Document "QDisableRandomization" packet + and add it to "qSupported" list. + +2011-10-07 Kevin Pouget + + Allow Python notification of new object-file loadings. + * gdb.texinfo (Events In Python): Document `gdb.NewObjFileEvent' + event type. + +2011-10-04 Kevin Pouget + + PR python/12691: Add the inferior to Python exited event + * gdb.texinfo (Events In Python): Describe exited inferior attribute. + +2011-10-03 Joel Brobecker + + * gdb.texinfo (GDB/MI Miscellaneous Commands): Minor + rephasing. + +2011-10-03 Joel Brobecker + + * gdb.texinfo (GDB/MI Ada Tasking Commands): New node. + (GDB/MI Miscellaneous Commands): Add `ada-task-info' + as possible feature returned by the `-list-features' + command. + +2011-09-28 Paul Koning + + * gdb.texinfo (gdb.Type): Document field access by dictionary + key syntax. + +2011-09-28 Yao Qi + + * gdb.texinfo (Files): Update options for `add-symbol-file'. + Add one space after option `-s'. Remove @r{} markup. + +2011-09-27 Stan Shebs + + * gdb.texinfo (Tracepoint Action Lists): Document $_ret. + +2011-09-16 Hui Zhu + + * gdb.texinfo (Tracepoint Restrictions): Change *$esp@300 + to *(unsigned char *)$esp@300. + +2011-09-15 Paul Koning + + * gdb.texinfo: Make style of Python functions and methods match + the syntax of Python. Also put class and module names explicitly + on function, member, and variable names, matching Python + documentation conventions. + +2011-09-15 Kevin Pouget + + PR Python/12692 Add gdb.selected_inferior() to Python interface. + * gdb.texinfo (Inferiors In Python): Describe new + gdb.selected_inferior() function. + +2011-09-15 Kevin Pouget + + Handle multiple breakpoint hits in Python interface: + * gdb.texinfo (Events In Python): New function documentation: + gdb.BreakpointEvent.breakpoints. Indicate that + gdb.BreakpointEvent.breakpoint is now deprecated. + +2011-09-04 Joel Brobecker + + * gdb.texinfo: Set EDITION to "Tenth" and change ISBN. + +2011-08-25 Andrew Oakley + + * gdb.texinfo (Types In Python): Document 'bitpos' for enums. + +2011-08-17 Phil Muldoon + + * gdb.texinfo (Prompt): Add set/show extended-prompt + documentation + (Basic Python): Add prompt_hook anchor. + (Python modules): Reword module text to reflect multiple modules. + (gdb.prompt): Document gdb.prompt module. + +2011-08-14 Yao Qi + + * gdb.texinfo (General Query Packets): Document qXfer:fdpic:read packet. + +2011-08-14 Yao Qi + + * gdb.texinfo (Standard Target Features): Document C6x features. + (TIC6x Features): New node. + +2011-08-12 Doug Evans + + * gdb.texinfo (Symbols In Python): Document symbol.type. + +2011-08-09 Phil Muldoon + + * gdb.texinfo (Python): Document command and function + auto-loading. + +2011-07-26 Jan Kratochvil + Eli Zaretskii + + * gdb.texinfo (whatis, ptype): Highlight their differences. Describe + typedefs unrolling. Extend the sample code by an inner typedef and + outer typedefs unrolling. + +2011-07-26 Paul Pluzhnikov + + * gdb.texinfo (Caching Remote Data): Document {set,show} dcache + size and line-size. + +2011-07-21 Matt Rice + + PR macros/12999 + * gdb.texinfo (Macros): Add info definitions and info macros commands. + Update text and cindex entries for info macro command. + +2011-07-21 Phil Muldoon + + * observer.texi (GDB Observers): Add before_prompt observer. + * gdb.texinfo (Basic Python): Add documentation for prompt + substitution. + +2011-07-11 Phil Muldoon + + PR python/12438 + * gdb.texinfo (Python Commands): Add deprecate note to maint + set/show python print-stack. Document set/show python + print-backtrace. + +2011-07-05 Thiago Jung Bauermann + + * gdb.texinfo: Fix typos. + +2011-07-01 Tom Tromey + + * gdb.texinfo (Debugging Output): Document set debug + check-physname. + +2011-06-29 Tom Tromey + + * gdb.texinfo (GDB/MI Miscellaneous Commands): Document + breakpoint-notifications feature. + +2011-06-29 Ulrich Weigand + + * gdb.texinfo (Target Description): Remove warning about + possibly unstable format. + +2011-06-03 Tom Tromey + + * gdb.texinfo (GDB/MI Async Records): Document 'exit-code' field. + (Events In Python): Note that exit_code is optional. + +2011-05-17 Pedro Alves + + * gdb.texinfo (Remote Protocol) : Mention vCont is + required for multi-threading support. + (Remote Protocol) : Mention that 'c', 's', 'C', 'S' and + Hc are deprecated for multi-threading debugging. Point readers at + the vCont packet. + +2011-05-15 Doug Evans + + * gdb.texinfo (Auto-loading): Document printing of missing scripts. + +2011-05-13 Doug Evans + + * gdb.texinfo (Threads): Document $sdir,$pdir. + (Server): Document $pdir exception. + + * gdb.texinfo (Auto-loading): Document "info auto-load-scripts". + + * gdb.texinfo (Threads): Clarify default value for + libthread-db-search-path. + + * gdb.texinfo (Completion): Update example. + (Debugging Output): Delete `set/show debug lin-lwp-async'. + +2011-05-12 Kwok Cheung Yeung + + * gdb.texinfo: Document change in the behaviour of the enable and + disable GDB commands when applied to tracepoints. + Document the EnableDisableTracepoints remote stub feature. + Document QTEnable and QTDisable in the list of tracepoint packets. + +2011-05-11 Jan Kratochvil + + * Makefile.in (GDB_DOC_SOURCE_INCLUDES): Rename inc-hist.texinfo to + hsuser.texi. + * gdb.texinfo : Rename inc-hist.texinfo inclusion and + comment to hsuser.texi. Change rluser.texi name in the comment. + +2011-05-10 Doug Evans + + * gdb.texinfo (Threads): If an empty path is provided for + libthread-db-search-path it is reset to its default value. + (Server): Ditto. + +2011-05-09 Doug Evans + + * gdb.texinfo (Requirements): Fix typo. Mention --with-iconv-bin. + +2011-05-06 Sergio Durigan Junior + Thiago Jung Bauermann + + Implement support for PowerPC BookE masked watchpoints. + * gdb.texinfo (Set Watchpoints): Document mask parameter. + (PowerPC Embedded): Mention support of masked watchpoints. + +2011-05-03 Joel Brobecker + + * gdb.texinfo (In Memoriam): Replace litteral uses of `GDB' with + `@value{GDBN}'. + +2011-05-03 Joel Brobecker + + * gdb.texinfo (titlepage): Remove dedication. + (In Memoriam): New appendix. + +2011-04-27 Jan Kratochvil + Eli Zaretskii + + * gdb.texinfo (Index Section Format): Change the version to 5. + Describe the different formula. + +2011-04-24 Jan Kratochvil + Eli Zaretskii + + * gdb.texinfo (Starting and Stopping Trace Experiments): New anchor + for disconnected tracing. + (Multi-Process Mode for @code{gdbserver}): Mention --multi and + extended-remote relationship. Mention --once. + (TCP port allocation lifecycle of @code{gdbserver}): New. + +2011-04-23 Eli Zaretskii + + * gdb.texinfo (Server): Improve indexing. Index all optional + switches to gdbserver. + +2011-04-20 Tom Tromey + + * gdb.texinfo (Index Section Format): New node. + (Top): Add new node to menu. + +2011-04-20 Pedro Alves + + * gdb.texinfo (Maintenance Commands): Document `maint print + remote-registers'. + +2011-04-20 Tom Tromey + + * gdb.texinfo (Trace File Format): Move node later. + +2011-04-19 Tom Tromey + + * gdbint.texinfo (Register Information Functions): Remove + duplicate "the". + * gdb.texinfo (Emacs): Remove duplicate "to". + (GDB/MI Variable Objects): Remove duplicate "the". + (General Query Packets): Likewise. + +2011-04-02 Joel Brobecker + + * gdb.texinfo (GDB/MI Output Records): Fix menu entry for + "GDB/MI Ada Exception Information" node. + +2011-04-01 Joel Brobecker + + * gdb.texinfo (GDB/MI Ada Exception Information): Document + the "exception-name" field in the *stopped async record. + +2011-03-31 Thiago Jung Bauermann + Sergio Durigan Junior + + Implement support for PowerPC BookE ranged breakpoints. + * gdb.texinfo (PowerPC Embedded): Document ranged breakpoints. + +2011-03-28 Tom Tromey + + * gdb.texinfo (Set Tracepoints): Fix typo. + +2011-03-24 Tom Tromey + + * gdb.texinfo (Specify Location): Document `function:label' + linespec. + +2011-03-18 Phil Muldoon + + PR python/12149 + + * gdb.texinfo (Basic Python): Update gdb.write and flush text. + +2011-03-17 Phil Muldoon + + * gdb.texinfo (Blocks In Python): Add is_valid method description. + (Inferiors In Python): Likewise. + (Threads In Python): Likewise. + (Symbols In Python): Likewise. + (Objfiles In Python): Likewise. + (Symbol Tables In Python): Likewise. + +2011-03-15 Pedro Alves + + * gdb.texinfo (Auto Display) : Explain that the commands accept number ranges. + +2011-03-14 Phil Muldoon + + * gdb.texinfo (Breakpoints In Python): Add description and example + of Python stop function operation. + +2011-03-10 Phil Muldoon + + * gdb.texinfo (Parameters In Python): Document get_set_string and + get_show_string methods. + +2011-02-28 Jan Kratochvil + + * gdb.texinfo (Tracepoint Conditions): Fix missing parenthesis. + + * gdb.texinfo (Starting and Stopping Trace Experiments): Fix + circular-trace-buffer name. + +2011-02-28 Joel Brobecker + + * gdb.texinfo (Inferiors and Programs): Fix small error introduced + in the previous change. + +2011-02-27 Michael Snyder + + * gdb.texinfo (Inferiors and Programs): Update commands to show + that they can accept multiple arguments. + +2011-02-24 Joel Brobecker + + Revert the following patch (code patch was not approved): + 2011-02-21 Hui Zhu + * agentexpr.texi (bytecode descriptions): add printf. + * gdb.texinfo (tracepoint action lists): add printf. + +2011-02-23 Doug Evans + + * gdb.texinfo (Symbols In Python): Fix mention of C++, use C@t{++}. + +2011-02-23 Michael Snyder + + * gdb.texinfo (Set Breaks): Add @dots{} to arguments of info break. + (Set Watchpoints): Add @dots{} to argument of info watchpoints. + (Listing Tracepoints): Add @dots{} to argument of info tracepoints. + +2011-02-22 Doug Evans + + * gdb.texinfo (Symbols In Python): Document lookup_global_symbol. + Clarify behaviour of lookup_symbol when `block' argument is omitted, + add description of result, fix @defun formatting. + +2011-02-21 Hui Zhu + + * agentexpr.texi (Bytecode Descriptions): Add printf. + * gdb.texinfo (Tracepoint Action Lists): Add printf. + +2011-02-18 Tom Tromey + + * agentexpr.texi (Bytecode Descriptions): Document pick and rot. + +2011-02-14 Michael Snyder + + * gdb.texinfo (threads): Document argument for "info threads" cmd. + Document new command "thread find". + +2011-02-14 Michael Snyder + + * gdb.texinfo (Threads): Update example of new thread message. + +2011-02-14 Pedro Alves + + * gdb.texinfo (Remote Configuration): Mention set/show remote + traceframe-info. + (Tools/Packages Optional for Building GDB): Mention that expat is + used for traceframe info. + (Remote Protocol) : Add "Traceframe Info Format". + (General Query Packets) : Describe the + qXfer:traceframe-info:read feature. + (qXfer::read): Describe qXfer:traceframe-info:read. + (Traceframe Info Format): New section. + +2011-02-04 Pedro Alves + + * gdbint.texinfo (Formatting): Mention some formatting guidelines + for casts and unary operators. + +2011-02-04 Tom Tromey + + * gdb.texinfo (GDB/MI Async Records): Document that symbols-loaded + is not useful. + +2011-01-25 Pedro Alves + + * gdb.texinfo: s/value optimized out/optimized out/g + +2011-01-21 Joel Brobecker + + * gdb.texinfo (Other Misc Settings): Rework part of the + documentation of the "set interactive mode" command. + +2011-01-19 Tom Tromey + + * gdb.texinfo (Threads): Document thread name output and `thread + name' command. + (Threads In Python): Document Thread.name attribute. + (GDB/MI Thread Commands): Document thread attributes. + +2011-01-12 Andrew Burgess + + * gdb.texinfo (GDB/MI Data Manipulation): Update to reflect + changes in mi/mi-cmd-disas.c + +2011-01-12 Tom Tromey + + * gdb.texinfo (Threads): Remove duplicate text. Update examples. + Fix "thread apply" text. + +2011-01-11 Sergio Durigan Junior + Thiago Jung Bauermann + + Implement support for PowerPC BookE ranged watchpoints. + * gdb.texinfo (PowerPC Embedded): Document ranged watchpoints and + the "set powerpc exact-watchpoints" flag. + +2011-01-07 Tom Tromey + + * gdb.texinfo (Python API): Add descriptions to @menu items. + +2011-01-06 Tom Tromey + + * gdb.texinfo (Frames In Python): Document gdb.newest_thread. + +2010-01-06 Paul Pluzhnikov + + * gdb.texinfo (Debugging Output): Document "set debug jit". + +2011-01-06 Tom Tromey + + PR python/12133: + * gdb.texinfo (Frames In Python): Document various frame + constants. + +2011-01-05 Joel Brobecker + + * doc/agentexpr.texi, doc/all-cfg.texi, doc/annotate.texinfo, + doc/gdb.texinfo, doc/gdbint.texinfo, doc/observer.texi, + doc/refcard.tex, doc/stabs.texinfo: Copyright year update. + +2011-01-03 Jan Kratochvil + + * Makefile.in (diststuff): Remove gdb-cfg.texi and GDBvn.texi. + (clean): Add GDBvn.texi. + +2010-12-29 Joel Brobecker + + * gdb.texinfo (Ada Glitches): Remove paragraph describing the + occasional case where the debugger prints an array address + instead of the array itself. + +2010-12-23 Pedro Alves + + * gdb.texinfo (Packets) : Document support + for registers that were not collected. + +2010-12-15 Doug Evans + + * gdb.texinfo (Startup): Document auto-loading of scripts during + startup. + (Auto-loading): Delete "maint set python auto-load on|off". + Add "set auto-load-scripts on|off". + +2010-12-07 Doug Evans + + * gdb.texinfo (Mode Options): Document -data-directory. + (Data Files): Add reference to -data-directory. + +2010-11-29 Doug Evans + + * gdb.texinfo (Pretty-Printer Introduction): Change + printer-name:subprinter-name to printer-name;subprinter-name. + +2010-11-29 Phil Muldoon + + PR python/12199 + + * gdb.texinfo (Breakpoints In Python): Document "delete" method. + +2010-11-23 Tom Tromey + + * gdb.texinfo (Top): Check SYSTEM_READLINE. + (Editing): Likewise. + (Command History): Likewise. + (TUI Keys): Likewise. + (Bug Reporting): Conditionally include rluser.texi and + inc-history.texinfo. + * Makefile.in (READLINE_TEXI_INCFLAG): New variable. + (GDB_DOC_SOURCE_INCLUDES): Add comment. + (GDBvn.texi): Set SYSTEM_READLINE when appropriate. + (gdb.dvi): Use READLINE_TEXI_INCFLAG. + (gdb.pdf): Likewise. + (gdb.info): Likewise. + (gdb/index.html): Likewise. + +2010-11-23 Tom Tromey + + * Makefile.in (Makefile): Run ../config.status. + (distclean): Update. + * configure: Remove. + * configure.ac: Remove. + +2010-11-12 Tom Tromey + + * gdb.texinfo (Basic Python): Update. Add xref. + (Exception Handling): Document new exception classes. + (Types In Python): Update. + (Frames In Python): Update. + +2010-11-11 Phil Muldoon + + * gdb.texinfo (Breakpoints In Python): Document "internal" + parameter, and visible attribute. + +2010-11-05 Doug Evans + + * gdb.texinfo (Source Path): Document "set directories". + +2010-11-05 Ken Werner + + * gdb.texinfo: (Summary) Add mention about OpenCL C language support. + (OpenCL C): New node. + +2010-11-02 Doug Evans + + * gdb.texinfo (Pretty Printing): Expand into three sections, + introduction, example, and commands. + (Python API): Delete section Disabling Pretty-Printers, merge into + Selecting Pretty-Printers. + (Writing a Pretty-Printer): New section. Move the pretty-printer + example here, and reformat to match python coding style. Add a second + example using the gdb.printing module. + (Python modules): Add gdb.printing. + +2010-10-29 Doug Evans + + * gdb.texinfo (Python): Fix long line. + +2010-10-20 Doug Evans + + * gdbint.texinfo (Misc Guidelines): Renamed from Coding. + All references updated. Correct sections marked as subsections. + (Coding Standards): New chapter. Move the coding standard related + subsections here. Add section on Python coding standards. + +2010-10-13 Doug Evans + + * gdb.texinfo (Python): Add "Python modules". + (Types in Python): Add reference to gdb.types section. + (Python modules): New node. + +2010-10-11 Doug Evans + + * gdb.texinfo (Values From Inferior): Add reference to "Types in + Python" from gdb.Value.type description. + +2010-09-28 Joel Brobecker + + * gdb.texinfo (Ravenscar Profile): New node. + +2010-09-22 Tom Tromey + + * gdb.texinfo (Values From Inferior): Mention Value.__init__. + +2010-09-22 Eli Zaretskii + + * gdb.texinfo (Values From Inferior): Clarify that + value.dynamic_type works only in C++ programs with RTTI. + +2010-09-15 Paul Bolle + + * gdb.texinfo (Character Sets): Correctly reference host-charset + in example. + +2010-09-13 Tom Tromey + + * gdb.texinfo (GDB/MI Stack Manipulation) <-stack-list-frames>: + Document "fullname" and "from". + +2010-09-01 Marc Khouzam + + * gdb.texinfo (GDB/MI Miscellaneous Commands): Document new + feature `reverse' output by -list-target-features. + +2010-08-31 H.J. Lu + + * gdb.texinfo (i386 Features): Remove an extra "@item". + +2010-08-30 Tom Tromey + + PR python/11792: + * gdb.texinfo (Values From Inferior): Document dynamic_type. + +2010-08-24 Daniel Jacobowitz + + * gdb.texinfo (ARM Features): Document + org.gnu.gdb.arm.m-profile. + +2010-08-23 Tom Tromey + + PR python/11145: + * gdb.texinfo (Values From Inferior): Document dynamic_cast and + reinterpret_cast methods. + +2010-08-23 Tom Tromey + + PR python/11915: + * gdb.texinfo (Types In Python): Document array method. + +2010-08-18 Thiago Jung Bauermann + + * gdb.texinfo (PowerPC Embedded): Mention support for the DVC register. + +2010-08-16 Tom Tromey + + * gdb.texinfo (Set Watchpoints): Document -location option. + +2010-08-13 Doug Evans + + * gdb.texinfo (.debug_gdb_scripts section): Fix typo. + +2010-08-13 Vladimir Prus + + * gdb.texinfo (GDB/MI Data Manipulation): Document + -data-read-memory-raw and -data-write-memory-raw. + +2010-08-11 Tom Tromey + Phil Muldoon + + * gdb.texinfo (Basic Python): Describe post_event API. + +2010-08-11 Phil Muldoon + + * gdb.texinfo (Basic Python): Describe solib_address and + decode_line Python APIs + +2010-08-10 Tom Tromey + + * gdb.texinfo (Pretty Printing API): Document + gdb.default_visualizer. + +2010-08-10 Tom Tromey + + Revert gdb-add-index addition: + * gdb.texinfo (Index Files): Don't document gdb-add-index. + +2010-08-07 Jan Kratochvil + Eli Zaretskii + + * gdb.texinfo (Mode Options) <-batch> + (Basic Python) : Describe setting width and height. + +2010-07-31 Paul Pluzhnikov + + * gdb.texinfo (Threads): Document 'debug libthread-db'. + +2010-07-30 Tom Tromey + + * gdb.texinfo (Index Files): Mention gdb-add-index. + +2010-07-30 Hui Zhu + + * gdb.texinfo (Inferiors and Programs): Update the introduce of + "detach inferior" and "kill inferior". + +2010-07-28 CHENG Renquan + + * gdb.texinfo (Machine Code): Update description of two forms of + arguments, and add new example to demonstrate the new form. + +2010-07-27 Phil Muldoon + + * gdb.texinfo (Values From Inferior): Add value inferior function + call description. + +2010-07-19 Jan Kratochvil + + * gdb.texinfo (Active Targets): Fix wrong comma placement. + +2010-07-19 Jan Kratochvil + Eli Zaretskii + + Make core files the process_stratum. + * gdb.texinfo (Active Targets): Remove core_stratum. Include + record_stratum example. + +2010-07-13 Tom Tromey + + * gdb.texinfo (Index Files): New node. + +2010-07-13 Tom Tromey + + * gdb.texinfo (GDB/MI Variable Objects): Remove extra 'for'. + +2010-07-13 Tom Tromey + + * gdb.texinfo (Specify Location): Document labels. + +2010-07-01 Pedro Alves + + * gdb.texinfo (Create and Delete Tracepoints): Add more index + entries for fast tracepoints and static tracepoints. + +2010-07-01 Pedro Alves + + * gdb.texinfo (General Query Packets) : Spell out `l' as ell. + +2010-07-01 Pedro Alves + + * gdb.texinfo (Convenience Variables): Document $_sdata. + (Commands to Set Tracepoints): Describe static tracepoints. Add + `Listing Static Tracepoint Markers' menu entry. Document + "strace". + (Tracepoint Action Lists): Document collecting $_sdata. + (Listing Static Tracepoint Markers): New subsection. + (Tracepoints support in gdbserver): Mention static tracepoints. + (remote packets, enabling and disabling): Mention + read-sdata-object. + (General Query Packets) : Document qXfer:sdata:read + and StaticTracepoint. + Mention qTfSTM, qTsSTM and qTSTMat as tracepoint packets. + Document qXfer:sdata:read. + (Tracepoint packets): Document qTfSTM, qTsSTM and qTSTMat. + +2010-06-29 Joel Brobecker + + * gdb.texinfo (Threads In Python): Fix unmatched @end table. + +2010-06-28 Phil Muldoon + Tom Tromey + Thiago Jung Bauermann + + * gdb.texinfo (Inferiors In Python): New node. + * gdb.texinfo (Threads In Python): New node. + +2010-06-28 Joel Brobecker + + * gdb.texinfo (Python): Document what the python directory is + and what its location is. + (Basic Python): Document the gdb.PYTHONDIR constant. + +2010-06-25 Tom Tromey + + PR python/10808: + * gdb.texinfo (Basic Python): Document new gdb.execute argument. + +2010-06-24 Hui Zhu + + * gdb.texinfo: (Commands for Controlled Output): Add + documentation for command "eval". + +2010-06-21 Stan Shebs + + * gdb.texinfo: Add explicit @node and @appendix for GFDL. + * annotate.texinfo: Ditto. + * gdbint.texinfo: Ditto. + * stabs.texinfo: Ditto. + +2010-06-22 Hui Zhu + + * gdb.texinfo: (Process Record and Replay): Add documentation + for command "set record memory-query". + +2010-06-21 Stan Shebs + + * gdb.texinfo: Relicense under GFDL version 1.3. + * annotate.texinfo: Relicense under GFDL version 1.3. + * gdbint.texinfo: Relicense under GFDL version 1.3. + * stabs.texinfo: Relicense under GFDL version 1.3. + * fdl.texi: Update to version 1.3. + +2010-06-18 Stan Shebs + + * gdb.texinfo (Operating System Auxiliary Information): Describe + "info os" when no arguments given. + + * gdb.texinfo (Debugging Programs with Multiple Threads): Describe + $_thread. + +2010-06-18 Hui Zhu + + * gdb.texinfo: (Process Record and Replay): Add documentation + for commands "record save" and "record restore". + +2010-06-16 Jan Kratochvil + + * gdb.texinfo: Include information about the correct use + of addresses in the `watch' command. + +2010-06-11 Stan Shebs + + * gdb.texinfo (Observer Mode): New section. + (General Query Packets): Document QAllow. + +2010-06-04 Doug Evans + + * gdb.texinfo (Python API): New node `Disabling Pretty-Printers'. + +2010-06-03 Doug Evans + + * gdbint.texinfo (Coding): Add subsection on command names. + +2010-06-02 Tom Tromey + + * gdb.texinfo (Maintenance Commands): Document maint set dwarf2 + always-disassemble. + +2010-06-01 Pedro Alves + + * gdb.texinfo (Set Tracepoints): Mention tracepoints support in + gdbserver, and add cross reference. + (Tracepoints support in gdbserver): New subsection. + +2010-05-26 Pedro Alves + + * gdb.texinfo (General Query Packets) : Describe the + `qRelocInsn' feature. + (Relocate instruction reply packet): New subsection + of `Tracepoint Packets'. + (Tracepoint Packets): Mention that packets QTDP and QTStart + support the qRelocInsn request, and add cross reference to new + subsection. + +2010-05-25 Doug Evans + + * gdb.texinfo (Exception Handling): Document gdb.GdbError. + (Commands In Python): Document gdb.string_to_argv. + +2010-05-02 Jan Kratochvil + + * gdbint.texinfo (Host Definition): Remove items NORETURN and + ATTR_NORETURN. + +2010-04-29 Phil Muldoon + Tom Tromey + Thiago Jung Bauermann + + * gdb.texinfo (Parameters In Python): New Node. + +2010-04-29 Mihail Zenkov + + * gdb.texinfo: (Summary) Add mention about D language support. + (Filenames): Add D suffixes. + (D): New node. + +2010-04-26 Pierre Muller + + * gdbint.texinfo (CANNOT_STEP_HW_WATCHPOINTS): Remove explanation + of macro deleted from GDB code. + +2010-04-24 Pedro Alves + + * gdb.texinfo (Commands to specify files): Describe what how GDB + looks up DOS-based filesystem paths on the system root. Document + the new `set/show target-file-system-kind' commands. + +2010-04-23 Doug Evans + + * gdb.texinfo (Python): Move Auto-loading section here ... + (Python API): from here. + (Auto-loading): Add docs for .debug_gdb_scripts auto-loaded scripts. + (Maintenance Commands): Add docs for "maint print section-scripts". + +2010-04-20 Chris Moller + + * gdb.texinfo (Setting Breakpoints): Added description of + filename-qualified rbreak. + * refcard.tex (Breakpoints and Watchpoints): Added brief + description of filename-qualified rbreak. + +2010-04-22 Jan Kratochvil + + * gdb.texinfo (Data): New @menu reference to Pretty Printing. + (Python API): Change the reference to Pretty Printing API. + (Pretty Printing): Move the user part under the Data node. Reformat + the sample output to 72 columns. Create a new reference to Pretty + Printing API. Rename the API part ... + (Pretty Printing API): To a new node name. + (Selecting Pretty-Printers, Progspaces In Python, Objfiles In Python) + (GDB/MI Variable Objects): Change references to Pretty Printing API. + +2010-04-21 Stan Shebs + + * gdb.texinfo (Tracepoint Actions): Mention synonymy of actions + and commands. + (Listing Tracepoints): Update to reflect current behavior. + +2010-04-22 Pierre Muller + + * gdb.texinfo (Examining memory): Update for change in string + display with explicit size. + +2010-04-19 Pedro Alves + + PR breakpoints/8554. + + * gdb.texinfo (Save Breakpoints): New node. + (save-tracepoints): Rename to ... + (save tracepoints): ... this. Mention that `save-tracepoints' is + a deprecated alias to `save tracepoints'. + +2010-04-16 Pierre Muller + + * gdb.texinfo ($_tlb): Document new automatic convinience variable. + (info w32 thread-information-block): Document new command. + (qGetTIBAddress): Document new gdbserver query. + (maint set/show show-all-tib): Document new command. + +2010-04-15 Doug Evans + + * gdb.texinfo (Python API): Add progspaces section. + (Selecting Pretty-Printers): Progspace pretty-printers are + searched too. + (Progspaces In Python): New section. + + * gdb.texinfo (Command Files): Add docs for new "source -s" option. + +2010-04-14 Phil Muldoon + + * gdb.texinfo (Pretty Printing): Document behaviour when to_string + returns None. + +2010-04-09 Stan Shebs + + * gdb.texinfo (gdb/mi Tracepoint Commands) <-trace-status>: + Describe the `frames-created' field, tweak grammar. + +2010-04-09 Pedro Alves + + * gdb.texinfo (gdb/mi Tracepoint Commands) <-trace-status>: + Describe the `circular' and `disconnected' fields. + +2010-04-09 H.J. Lu + + * gdb.texinfo (maint print registers): Mention unavailable and + invisible registers. + +2010-04-09 Phil Muldoon + Thiago Jung Bauermann + Tom Tromey + + * gdb.texinfo (Breakpoints In Python): New Node. + +2010-04-08 Stan Shebs + + * gdb.texinfo (Tracepoint Packets): Describe disconn and circular + trace status fields. + +2010-04-08 H.J. Lu + + * gdb.texinfo (i386 Features): Make org.gnu.gdb.i386.avx + optional. Make org.gnu.gdb.i386.avx requires + org.gnu.gdb.i386.avx. + +2010-04-08 Doug Evans + + * gdb.texinfo (Command Files): Document that gdb skips $cdir in + search path, and document that gdb only scans the search path if + the script's path doesn't specify a directory. + +2010-04-05 Doug Evans + + * gdb.texinfo (maint show python auto-load): Fix typo. + +2010-04-04 Stan Shebs + + * gdb.texinfo (Setting Breakpoints): "info watch" no longer a synonym. + (Setting Watchpoints): Update description of "info watch". + (Disabling Breakpoints): Only "info break" lists all. + + * gdb.texinfo (Tracepoint Restrictions): Document PC inference. + (tdump): Explain how tdump works. + +2010-04-01 Pedro Alves + + * gdb.texinfo (Break Commands): Clarify `commands' changes, and + add cross reference. + +2010-03-31 Pedro Alves + + * gdb.texinfo (TUI Commands): Mention that in some cases, these + commands error out. + +2010-03-30 H.J. Lu + + * gdb.texinfo (i386 Features): Add org.gnu.gdb.i386.avx. + +2010-03-30 H.J. Lu + + * gdb.texinfo (General Query Packets): Add xmlRegisters. + +2010-03-29 Stan Shebs + Nathan Sidwell + + * gdb.texinfo (GDB/MI Tracepoint Commands): Add notes about the + GDBN equivalent. + (Set Tracepoints): Remove mention that conditional tracepoints + don't exist. + (Tracepoint Actions): Clarify when while-stepping collection + happens, note that while-stepping does not automatically collect + $pc. + +2010-03-29 Stan Shebs + + * gdb.texinfo (Tracepoint Packets): Describe QTDPsrc. + (General Query Packets): Describe TracepointSource. + +2010-03-27 Matt Rice + + * gdb.texinfo (ARM): Document arguments to "target sim". + (Set Catchpoints): Use @dots{} instead of @r{...}. + +2010-03-26 Pedro Alves + + * gdb.texinfo (Tracepoint Packets): Remove mention that + terror:string may be plain text, and drop mention of X prefix. + +2010-03-26 Vladimir Prus + + * gdb.texinfo (GDB/MI Tracepoint Commands): Add comma after @xref. + +2010-03-24 Stan Shebs + + * gdb.texinfo (Tracepoint Packets): Document trace error status. + +2010-03-24 Tom Tromey + + PR breakpoints/9352: + * gdb.texinfo (Break Commands): Update. + +2010-03-24 Vladimir Prus + + * gdb.texinfo (GDB/MI Tracepoint Commands): Document MI tracepoint + commands. + +2010-03-16 Stan Shebs + + * gdb.texinfo (Starting and Stopping Trace Experiments): Describe + circular-trace-buffer. + (Tracepoint Packets): Describe QTBuffer, and details of the + qTStatus reply. + +2010-03-12 Stan Shebs + Nathan Sidwell + + * gdb.texinfo (Tracepoint Actions): Clarify that while-stepping is + doing instruction stepping. + (Tracepoint Restrictions): New node. + +2010-03-10 Tom Tromey + + * gdbint.texinfo (Symbol Handling): Update. + +2010-03-08 Tom Tromey + + PR cli/9591: + * gdb.texinfo (Mode Options): Mention lack of pagination and + confirmation with --batch. + (Screen Size): Mention --batch. + (Messages/Warnings): Likewise. + +2010-03-05 Tom Tromey + + * gdb.texinfo (Basic Python): Document target_charset and + target_wide_charset. + +2010-03-05 Tom Tromey + + * gdb.texinfo (Data): Link to pretty-printing. + (Output Formats): Likewise. Correct text. + +2010-03-01 Daniel Jacobowitz + + * gdb.texinfo (Types): Describe and . + +2010-02-28 Phil Muldoon + + * gdb.texinfo (Frames In Python): Add block parameter and + description to read_var text. + +2010-02-26 Phil Muldoon + Tom Tromey + + * gdb.texinfo (Types In Python): Describe block argument in + template_argument and gdb.lookup_type. + +2010-02-24 Tom Tromey + + * gdb.texinfo (Cygwin Native): Fix typo. + +2010-02-24 Phil Muldoon + + * gdb.texinfo (Frames In Python): Add block, find_sal, function + and select method descriptions. + (Python API): Add Blocks In Python, Symbols in Python and Symbol + Tables in Python to menu. + (Blocks In Python): New node. + (Symbols In Python): New node. + (Symbol Tables in Python): New node. + +2010-02-24 Vladimir Prus + + Multiexec MI + + gdb/ + * breakpoint.c (clear_syscall_counts): Take struct inferior*. + + gdb/doc/ + * gdb.texinfo (GDB/MI Command Syntax): Document notification + changes. + (GDB/MI Program Execution): Document current behaviour of + --all and --thread-group. + (GDB/MI Miscellaneous Commands): Document -add-inferior and + -remove-inferior. + * observer.texi (inferior_added, inferior_removed): New + observers. + +2010-02-19 Tom Tromey + + * gdbint.texinfo (Getting Started): Fix @node. + (Debugging GDB): Likewise. + +2010-02-13 Joel Brobecker + + * gdbint.texinfo (Testsuite): New section "Testsuite Configuration", + documenting the gdb_test_timeout variable. + +2010-02-12 Jakob Engblom + + * gdb.texinfo (MI commands): Added documentation of --reverse + option to a set of MI commands. Restructured documentation of MI + commands --exec-continue to reflect the complexity of reverse + execution. + +2010-02-12 Pedro Alves + + * gdb.texinfo (Using the Collected Data): Specify that the address + range of `tfind outsize' is exclusive, and that the address range + of `tfind range' is inclusive. + (Tracepoint Packets): Specify that the address range of + `QTFrame:range' is inclusive, and that the address range of + `QTFrame:outside' is exclusive + +2010-02-12 Vladimir Prus + + * gdb.texinfo (GDB/MI Result Records): Clarify ^running. + +2010-02-10 Tom Tromey + + * gdb.texinfo (Debugging Output): Document set debug parser and + show debug parser. + +2010-02-09 H.J. Lu + + * gdb.texinfo (Predefined Target Types): Add i387_ext, + i386_eflags and i386_mxcsr. + +2010-02-08 H.J. Lu + + * gdb.texinfo: Document i386 target features. + +2010-02-05 Doug Evans + + * gdbint.texinfo (Testsuite): Add a new section to document the + various DejaGnu variables that may be overridden. + Document INTERNAL_GDBFLAGS. + +2010-02-04 Tom Tromey + + PR cli/8830: + * gdb.texinfo (Files): -readnow comes before the filename for file + and symbol-file. + +2010-02-01 Daniel Jacobowitz + + * gdb.texinfo (Architecture-Specific Protocol Details): New section. + Document ARM breakpoint types. + (Register Packet Format): Move into the new section. + (Packets): Describe the KIND argument for Z0, z0, Z1, and z1 packets. + +2010-01-21 Joel Brobecker + + * gdb.texinfo (File Options): Adjust the documentation of this + switch to refer to the "source" command rather than partially + duplicating some of the relevant information. + (Extending GDB): Introduce and document the set/show script-extension + setting. + (Command Files): Add note explaining that the "source" command + is also used to evalute scripts written in other languages. + Remove the short slightly incorrect reference to sourcing Python + scripts. + (Python Commands): Document how to execute a Python script from GDB. + +2010-01-19 Joel Brobecker + + * gdb.texinfo (Command Files): Fix typo. + +2010-01-18 Tom Tromey + + * gdb.texinfo (File Options): Document -x on .py files. + (Command Files): Document handling of Python scripts. + +2010-01-18 Jie Zhang + + * Makefile.in (ANNOTATE_DOC_BUILD_INCLUDES): Add GDBvn.texi. + +2010-01-15 Stan Shebs + + * gdb.texinfo (Trace Files): New section. + (Tracepoint Packets): Document QTSave and qTBuffer. + (Trace File Format): New appendix. + +2010-01-13 Phil Muldoon + + * gdb.texinfo (Values From Inferior): Document lazy_string value + method. + (Python API): Add Lazy strings menu item. + (Lazy Strings In Python): New node. + +2010-01-13 Vladimir Prus + + * gdb.texinfo (GDB/MI Thread Information): New. + (GDB/MI Async Records): Document the core field in *stopped. + (GDB/MI Miscellaneous Commands): Expand -list-thread-groups + documentation + (Process list): Document that osdata document may contain + threads. + (Remote Serial Protocol): Document qXfer:threads. + +2010-01-06 Stan Shebs + + * gdb.texinfo (Starting and Stopping Trace Experiments): Document + disconnected tracing. + (Tracepoint Packets): Document new protocol. + +2010-01-05 Stan Shebs + + * gdb.texinfo (Create and Delete Tracepoints): Describe fast + tracepoints. + (Tracepoint Packets): Describe remote protocol for fast + tracepoints. + +2010-01-01 Joel Brobecker + + Update the "Start of New Year Procedure". + * gdbint.texinfo: Add the list of files that need to be updated + manually. Minor reformatting. + +2010-01-01 Joel Brobecker + + * refcard.tex: Update copyright year in header and text. + +2010-01-01 Joel Brobecker + + * agentexpr.texi: Add 2010 to the list of copyright years. + * annotate.texinfo: Likewise. + * gdb.texinfo: Likewise. + * gdbint.texinfo: Likewise. + * observer.texi: Likewise. + * stabs.texinfo: Likewise. + +2009-12-31 Stan Shebs + + * gdb.texinfo (Tracepoint Actions): Describe teval. + +2009-12-29 Stan Shebs + + * gdb.texinfo (Tracepoint Actions): Describe default-collect. + +2009-12-28 Stan Shebs + + * gdb.texinfo (Trace State Variables): New section. + (Tracepoint Packets): Describe trace state variable packets. + * agentexpr.texi (Bytecode Descriptions): Describe trace state + variable bytecodes. + +2009-12-28 Daniel Jacobowitz + + * gdb.texinfo (Symbols): "info variables" prints definitions, not + declarations. + +2009-12-21 Vladimir Prus + + * gdb.texinfo (GDB/MI Miscellaneous Commands): Clarify that + -gdb-exit behaviour. + +2009-12-20 Joel Brobecker + + * gpl.texi: Update to version 3 of the GPL. + +2009-12-20 Joel Brobecker + + * Makefile.in: Update copyright header. + * observer.texi: Fix the copyright header of the generated files. + +2009-12-08 Phil Muldoon + + * gdb.texinfo (Types In Python): Describe range function. + +2009-12-03 Richard Ward + + * gdb.texinfo (Types In Python): Describe "is_base_class". + +2009-12-03 Tom Tromey + + * gdb.texinfo (Basic Python): Document gdb.parse_and_eval. + +2009-12-02 Paul Pluzhnikov + + * observer.texi: New memory_changed observer. + +2009-12-01 Tom Tromey + + * gdb.texinfo (Reverse Execution): Fix typo. + +2009-11-24 Daniel Jacobowitz + + PR gdb/8704 + + * gdb.texinfo (Thread-Specific Breakpoints): Thread specifiers + are allowed after the breakpoint condition. + +2009-11-23 Tom Tromey + + PR python/10782: + * gdb.texinfo (Types In Python): Document Type.pointer. + +2009-11-23 Paul Pluzhnikov + + * gdb.texinfo (Machine Code): Adjust. + +2009-11-11 Pedro Alves + + * agentexpr.texi (Tracing On Symmetrix): Delete section. + (Using Agent Expressions): Delete cross reference. + +2009-11-07 Joel Brobecker + + * gdbint.texinfo, stabs.texinfo: Move the @setchapternewpage + and @settitle directives up to help makeinfo find them. + +2009-11-02 Jan Kratochvil + + * gdb.texinfo (set debug-file-directory, show debug-file-directory) + (Auto-loading): Use plural and note one can use multiple components now. + +2009-11-01 Vladimir Prus + + * gdb.texinfo (GDB/MI Stack Manipulation): Make + -stack-list-arguments have the same documentation for parameter + as -stack-list-locals. Add comas. + +2009-10-27 Tom Tromey + Eli Zaretskii + + PR python/10781 + + * gdb.texinfo (Values From Inferior): Document cast method. + +2009-10-22 Paul Pluzhnikov + + * gdb.texinfo (Machine Code): Mention function name in disasssembly + and adjust example. + +2009-10-22 Michael Snyder + + * gdb.texinfo (Process Record and Replay): Document new form of + info record command. Also document the new save and restore + commands. + +2009-10-21 Paul Pluzhnikov + + * gdb.texinfo (Machine Code): Mention current pc marker. + (Memory): Likewise. + +2009-10-19 Pedro Alves + Stan Shebs + + * observer.texi (new_inferior): Rename to... + (inferior_appeared): ... this. + + * gdb.texinfo (Inferiors): Rename node to ... + (Inferiors and Programs): ... this. Mention running multiple + programs in the same debug session. + : Mention the new 'Executable' column if "info + inferiors". Update examples. Document the "add-inferior", + "clone-inferior", "remove-inferior" and "maint info + program-spaces" commands. + (Process): Rename node to... + (Forks): ... this. Document "set|show follow-exec-mode". + +2009-10-11 Michael Snyder + + * gdb.texinfo (ReverseStep): Show default as "unsupported". + (ReverseContinue): Ditto. + +2009-10-08 Paul Pluzhnikov + + * gdb.texinfo (Server): Document libthread-db-search-path. + +2009-10-08 Jan Kratochvil + + * gdbint.texinfo (i386_stopped_by_hwbp): Remove. + +2009-10-06 Michael Eager + + * gdb.texinfo (Contributors): Add self for Xilinx MicroBlaze. + (Embedded Processors): Add MicroBlaze. + (MicroBlaze): New. Describe Xilinx MicroBlaze + +2009-10-04 Pedro Alves + + * gdb.texinfo (Remote Protocol): Don't mention vCont;T. + +2009-09-26 Pierre Muller + + * gdb.texinfo (Cygwin Native): Mention support for Ctrl-BREAK. + +2009-09-23 Joel Brobecker + + * observer.texi (solib_unloaded): Document explicitly the fact that + this observer is called before the associated symbols are unloaded. + +2009-09-21 Jie Zhang + + * gdb.texinfo: Escape "{" and "}". + +2009-09-19 Vladimir Prus + + * gdb.texinfo (GDB/MI Stack Manipulation): Document + -stack-list-variables. + +2009-09-18 Tom Tromey + + * gdb.texinfo (GDB/MI Variable Objects): -enable-pretty-printing + is experimental. + +2009-09-17 Paul Pluzhnikov + + * gdb.texinfo (convenince variables): Mention + $_siginfo could be empty. + +2009-09-15 Tom Tromey + + * gdb.texinfo (GDB/MI Variable Objects): Document + -enable-pretty-printing, -var-set-update-range, dynamic varobjs. + Expand -var-update documentation. + +2009-09-14 Sergio Durigan Junior + + * gdb.texinfo (Set Catchpoints): Documentation about the catch syscall + feature. + +2009-09-13 Daniel Jacobowitz + + * gdbint.texinfo (Unwinding the Frame ID): Reference outer_frame_id. + +2009-09-10 Michael Snyder + + * gdb.texinfo (qSupported): Mention new ReverseContinue and + ReverseStep replies to the qSupported query. + +2009-09-10 Joel Brobecker + + Add documentation for set/show interactive-mode. + * gdb.texinfo (Other Misc Settings): New node. + +2009-09-01 Doug Evans + + * gdb.texinfo (Caching Data of Remote Targets): Add note on + non-stop mode's affect on remote caching. + +2009-08-31 Jacob Potter + Doug Evans + + * gdb.texinfo (Caching Data of Remote Targets): Update text. + Mark `set/show remotecache' options as obsolete. + Document new `set/show stack-cache' option. + Update text for `info dcache'. + +2009-08-27 Doug Evans + + * gdb.texinfo (Symbols): Delete `set print symbol-loading'. + (Files): Add note on new optional regex arg to `info sharedlibrary'. + +2009-08-26 Ralf Wildenhues + + * gdbint.texinfo (Releasing GDB): Fix confusing sentence + about autoconf. + +2009-08-25 Pedro Alves + + * gdb.texinfo (Debugging Multiple Inferiors): Add "info inferiors" + small example, and describe its columns. Replace "inferior-id" by + "infno" throughout. + +2009-08-22 Ralf Wildenhues + + * gdbint.texinfo (Releasing GDB): Point to + README-maintainer-mode file for required autoconf version. + * configure.ac: Do not substitute datarootdir, htmldir, + pdfdir, docdir. Do not process --with-datarootdir, + --with-htmldir, --with-pdfdir, --with-docdir. + * configure: Regenerate. + + * configure: Regenerate. + +2009-08-20 Reid Kleckner + + * gdb.texinfo: Add chapter on JIT interface. + +2009-08-07 Nick Roberts + + * gdb.texinfo (Server Prefix): Explain that server prefix suppresses + confirmation request. + +2009-08-05 Jeremy Bennett + + * gdb.texinfo (Separate Debug Files, Remote Protocol): Clarified + CRC definitions. + +2009-08-03 Vladimir Prus + + * gdb.texinfo (GDB/MI Breakpoint Commands): Document + -break-commands. + +2009-07-31 Ulrich Weigand + + * gdb.texinfo (Cell Broadband Engine SPU architecture): Document the + "set spu auto-flush-cache" and "show spu auto-flush-cache" commands. + +2009-07-31 Ulrich Weigand + + * gdb.texinfo (Cell Broadband Engine SPU architecture): Document the + "set spu stop-on-load" and "show spu stop-on-load" commands. + +2009-07-31 Ulrich Weigand + + * gdb.texinfo (Target Descriptions): Document element. + +2009-07-28 Daniel Jacobowitz + + * gdb.texinfo (ARM Features): Document org.gnu.gdb.arm.vfp and + org.gnu.gdb.arm.neon. + +2009-07-20 Pedro Alves + + * gdb.texinfo (Target Description Format): Mention the new + optional element. + (subsection OS ABI): New subsection. + +2009-07-14 Stan Shebs + + * gdb.texinfo (Tracepoint Conditions): New section. + (General Query Packets): Describe ConditionalTracepoints. + (Tracepoint Packets): Describe condition field. + (Maintenance Commands): Describe maint agent-eval. + * agentexpr.texi (Using Agent Expressions): Mention eval usage. + +2009-07-11 Hui Zhu + + * gdb.texinfo (disassemble): Add a new modifier /r + to "disassemble" command to make it print the raw instructions + in hex as well as in symbolic form. + +2009-07-09 Tom Tromey + + * gdbint.texinfo (Testsuite): Document parallel make check. + +2009-07-09 Tom Tromey + + * gdbint.texinfo (Testsuite): Document test transcripts. + +2009-07-10 Phil Muldoon + + * gdb.texinfo (Values From Inferior): Add length parameter + description. + +2009-07-04 Chris Genly + + * gdb.texinfo (GDB/MI Variable Objects): Document child definition + in -var-list-children. Fix example according to what the code + does. + +2009-07-02 Pedro Alves + + * gdb.texinfo (Debugging multiple inferiors): Document the + "inferior", "detach inferior" and "kill inferior" commands. + (Debugging Programs with Multiple Processes): Adjust to mention + generic "inferior" commands. Delete mention of "detach fork" and + "delete fork". Cross reference to "Debugging multiple inferiors" + section. + +2009-07-02 Ulrich Weigand + + * gdbint.texinfo (Item Output Functions): Update signature + for ui_out_field_core_addr. + +2009-07-02 Ulrich Weigand + + * gdbint.texinfo (Examples of Use of @code{ui_out} functions): + Update example code extrated from breakpoint.c. + +2009-06-28 Paul Pluzhnikov + + * gdb.texinfo (GDB/MI Program Context): @ignore unimplemented + MI commands. + (GDB/MI Symbol Query): Likewise. + (GDB/MI File Commands): Likewise. + (GDB/MI File Transfer Commands): Likewise. + (GDB/MI Target Manipulation): Likewise. + (GDB/MI Miscellaneous Commands): Likewise. + +2009-06-27 Daniel Jacobowitz + + * gdb.texinfo (Debugging Optimized Code): New chapter. + (Compiling for Debugging): Reference it. Move some + text to the new section. + +2009-06-15 Phil Muldoon + + * doc/gdb.texinfo (Calling): Document + set-unwind-on-terminating-exception usage. + +2009-06-11 Pedro Alves + + * gdb.texinfo (All-Stop): Document new 'set schedule-multiple' + command. + +2009-06-07 Pedro Alves + + * gdbint.texinfo (TARGET_HAS_HARDWARE_WATCHPOINTS): Delete all + references. + +2009-06-04 Ulrich Weigand + + * gdbint.texinfo: Rename formal parameters to gdbarch function + protoypes from "current_gdbarch" to "gdbarch". + +2009-05-28 Tom Tromey + + * gdb.texinfo (Basic Python): Change get_parameter to parameter. + +2009-05-27 Tom Tromey + + * gdb.texinfo (GDB/MI Miscellaneous Commands): Document "python" + feature. + (GDB/MI Variable Objects): Document -var-set-visualizer. + +2009-04-02 Tom Tromey + + * gdb.texinfo (GDB/MI Miscellaneous Commands): Document "python" + feature. + (GDB/MI Variable Objects): Document -var-set-visualizer. + +2009-05-27 Tom Tromey + Thiago Jung Bauermann + Phil Muldoon + + * gdb.texinfo (Objfiles In Python): Reference pretty printing. + (Pretty Printing): New node. + (Selecting Pretty-Printers): Likewise. + (Python API): Update. + (Output Formats): Document /r format. + +2009-05-27 Thiago Jung Bauermann + Tom Tromey + + * gdb.texinfo (Types In Python): New node. + (Values From Inferior): "type" is now an attribute. + (Python API): Update. + +2009-05-27 Tom Tromey + Thiago Jung Bauermann + Phil Muldoon + + * gdb.texinfo: Add @syncodeindex for `tp'. + (Python API): Update. + (Auto-loading): New node. + (Objfiles In Python): New node. + +2009-05-15 Paul Pluzhnikov + + * gdb.texinfo (Threads): Document libthread-db-search-path. + +2009-05-15 Nick Roberts + + * gdb.texinfo (GDB/MI General Design): Break up into four nodes. + +2009-05-12 Pedro Alves + + * gdb.texinfo: Document 'set/show debug gnu-nat'. Replace 'maint + show-debug-regs' docs by 'maint set show-debug-regs' and 'maint + show show-debug-regs' docs. + +2009-05-08 Eli Zaretskii + + * gdb.texinfo (Process Record and Replay): Add description of + reverse execution. + +2009-05-07 Joel Brobecker + + * gdbint.texinfo (Adding support for debugging core files): New node. + (Native Debugging): Remove the ``Native core file Support'' section. + +2009-05-01 Eli Zaretskii + + * gdb.texinfo (Process Record and Replay): Improve and clarify. + Add index entries. + +2009-04-30 Hui Zhu + Michael Snyder + + * gdb.texinfo: (Process Record and Replay): Add documentation for + process record and replay. + +2009-04-29 Jan Kratochvil + + * gdb.texinfo (Macros): Note command-line for `info macro'. Append + a new part on command-line defined macros. + +2009-04-25 Eli Zaretskii + + * gdb.texinfo (Machine Code) : Improve and + clarify the wording. + +2009-04-23 Tom Tromey + + * gdb.texinfo (Data Files): New node. + (GDB Files): Update menu. + +2009-04-23 Joel Brobecker + + * gdbint.texinfo (Defining Other Architecture Features): Remove + entry for PROCESS_LINENUMBER_HOOK. + +2009-04-22 Vladimir Prus + + * gdb.texinfo (GDB/MI Program Execution): Document -exec-jump. + +2009-04-22 Hui Zhu + + * gdb.texinfo (disassemble-next-line): Set the default of + disassemble-next-line to off. + +2009-04-21 Joseph Myers + + * configure.ac (--with-datarootdir, --with-docdir, --with-pdfdir, + --with-htmldir): New. + * configure: Regenerate. + * Makefile.in (datarootdir, docdir): Define. + (gdb.dvi, gdb.pdf): Use same -I options as for building gdb.info + instead of $(SET_TEXINPUTS). + (gdbint.dvi, gdbint.pdf): Use same -I options as for building + gdbint.info instead of $(SET_TEXINPUTS). + (gdbint/index.html): Use same -I options as for building + gdbint.info. + (stabs.dvi, stabs.pdf): Use same -I options as for building + stabs.info instead of $(SET_TEXINPUTS). + (stabs/index.html): Use same -I options as for building + stabs.info. + (annotate.dvi, annotate.pdf): Use same -I options as for building + annotate.info instead of $(SET_TEXINPUTS). + (annotate/index.html): Use same -I options as for building + annotate.info. + +2009-04-21 David Daney + + * gdb.texinfo (maint show-debug-regs): Remove mention of x86. + +2009-04-21 Joseph Myers + + * gdb.texinfo (Source Path): Document --with-relocated-sources. + +2009-04-18 Carlos O'Donell + Joseph Myers + + * Makefile.in (MAKEHTML): Set to makeinfo --html. + (MAKEHTMLFLAGS): Set to empty. + (html__strip_dir): Define. + (HTMLFILES): Define. + (HTMLFILES_INSTALL): Define. + (install-html): Copy new automake rule. + (html): Depend on $(HTMLFILES). + (gdb_toc.html): Rename to gdb/index.html. + (gdbint_toc.html): Rename to gdbint/index.html. + (stabs_toc.html): Rename to stabs/index.html. + (annotate_toc.html): Rename to annotate/index.html. + +2009-04-17 Carlos O'Donell + + * Makefile.in: Set pdfdir and htmldir from configure + substitutions. + * configure.ac: AC_SUBST datarootdir, docdir, htmldir, pdfdir. + * configure: Regenerate. + +2009-04-16 Joel Brobecker + + * gdbint.texinfo (Native Debugging): Remove entry for PROC_NAME_FMT. + This macro is no longer used. + +2009-04-15 Tom Tromey + + * gdb.texinfo (Character Sets): Document default character set. + +2009-04-14 Pierre Muller + + * gdbint.texinfo: Change server name from sources.redhat.com to + sourceware.org throughout. + +2009-04-09 Joel Brobecker + + * gdb.texinfo (Set Breaks): Rewrite a paragraph to avoid a warning + about a missing dot or coma after @xref. + +2009-04-02 Joel Brobecker + + * gdb.texinfo (Backtrace): Add a parameter in frame 1 of the first + example, and add a small explanation about it. + (Print Settings): Change the documentation of the "set print + frame-arguments" to reflect the fact that the default is now "scalars". + +2009-04-02 Joel Brobecker + + * gdb.texinfo (Print Settings): Add kindex for command "set + print frame-arguments". + +2009-03-31 Joel Brobecker + + * gdb.texinfo (Ada Tasks): Add documentation about task-specific + breakpoints. + (Set Breaks): Add reference to thread-specific and task-specific + breakpoints. + +2009-03-31 Joel Brobecker + + * gdb.texinfo (Ada Tasks): Remove the documentation about + the "Running" state, as this state has been eliminated. + Now all runnable tasks are shown as "Runnable". + +2009-03-30 Stan Shebs + + * gdb.texinfo (Tracepoints): Describe tracepoints as a + special case of breakpoints. + (Enable and Disable Tracepoints): Mention deprecation. + (Listing Tracepoints): Update description and example. + +2009-03-30 Thiago Jung Bauermann + + * gdb.texinfo (Frames in Python): New node. + (Python API): Update. + +2009-03-29 Thiago Jung Bauermann + + * gdb.texinfo (Values From Inferior): Change gdb.Value.address + from a method to an attribute. + +2009-03-26 Thiago Jung Bauermann + + * gdb.texinfo (Values From Inferior): Document is_optimized_out + attribute. + +2009-03-25 Pedro Alves + + * observer.texi (thread_exit): Add "silent" parameter. + +2009-03-22 Pedro Alves + + * observer.texi (about_to_proceed): New. + +2009-03-21 Jeremy Bennett + + * gdbint.texinfo (everywhere): Use braces {} in @deftypeXX type + field throughout to handle types with spaces in them. Fix typos + found by aspell. + (Summary, Requirements, Contributors): New first chapter, + "Summary" added, old Requirements section moved there, and new + section, "Contributors" added. + (Initializing a New Architecture, Register Representation) + (Frame Interpretation, Inferior Call Setup, Adding a New Target) + (Porting gdb): These sections extended and updated. + (Compiler Characteristics): This section (empty) deleted. + (Defining Other Architecture Features): This section renamed and + duplicate material removed from (formerly "Target Conditionals"). + Use braces {} in @deftypeXX type field throughout to handle types + with spaces in them. Typos found by aspell fixed. + + * stack_frame.svg: New file, source of image for gdbint.texinfo. + * stack_frame.pdf: Version of image for PDF output. + * stack_frame.png: Version of image for HTML output and for Emacs. + * stack_frame.txt: Version of image for Info output. + * stack_frame.eps: Version of image for TeX DVI output. + +2009-03-21 Eli Zaretskii + + * gdb.texinfo (Character Sets): Fix last change. + +2009-03-21 Thiago Jung Bauermann + + * gdb.texinfo (Values From Inferior): Fix optional arguments + markup. + (Commands In Python): Adjust argument names of gdb.Command.__init__ + to what the function accepts as keywords. + +2008-03-20 Tom Tromey + + * gdb.texinfo (Convenience Vars): Document convenience functions. + (Functions In Python): New node. + (Python API): Update. + +2009-03-20 Tom Tromey + + * gdb.texinfo (Character Sets): Remove obsolete text. Document + set target-wide-charset. + (Requirements): Mention iconv. + +2009-03-17 Hui Zhu + + * gdb.texinfo: Change the introduce of "disassemble-next-line". + +2009-03-17 Hui Zhu + + * gdb.texinfo: Add documentation for disassemble-next-line. + +2009-03-16 Thiago Jung Bauermann + + * gdb.texinfo (Commands In Python): Remove tindex entries. + +2009-03-15 Jan Kratochvil + + * gdb.texinfo (Returning): New description for missing debug info. + +2009-03-14 Pedro Alves + + * gdb.texinfo (Remote Configuration): Document query-attached. + (General Query Packets): Document qAttached. + +2009-03-05 Pedro Alves + + * gdb.texinfo (Background Execution): Better describe the set + target-async command. + (Maintenance Commands): Delete description of the `maint set/show + linux-async' and `maint set/show remote-async' commands. + +2009-02-18 Vladimir Prus + + * gdb.texinfo (GDB/MI Async Records): Add double-spaces + between sentences. + +2009-02-18 Vladimir Prus + + * gdb.texinfo (GDB/MI Async Records): Document the + =library-loaded and =library-unloaded notifications. + +2009-02-17 Vladimir Prus + + * observer.texi (test_notification): New observer. + +2009-02-14 Vladimir Prus + + * observer.texi: Add parameter 'print_frame' to normal_stop + observer. + +2009-02-07 Eli Zaretskii + + * gdb.texinfo (Basic Python): Fix change from 2009-02-04. + (Commands In Python): Fix COMMAND_* constants in last change. Use + @kbd for interactive input. Add cross-references and index + entries. + +2009-02-06 Pedro Alves + + * gdb.texinfo (Signals): Document $_siginfo. + (Convenience Variables): Mention $_siginfo. + (Remote Configuration): Document qXfer:siginfo:read, + qXfer:siginfo:write packets, and the read-siginfo-object, + write-siginfo-object commands. + +2009-02-06 Pedro Alves + + * gdbint.texinfo (Values): New chapter. + +2009-02-06 Tom Tromey + + * gdb.texinfo (Python API): Add entry for Commands In Python. + (Commands In Python): New node. + +2009-02-05 Tom Tromey + + * gdb.texinfo (Values From Inferior): Document Value.string. + +2009-02-05 Tom Tromey + + * gdb.texinfo (Basic Python): Document execute's from_tty + argument. + +2009-02-04 Tom Tromey + + * gdb.texinfo (Basic Python): Document gdb.history. + +2009-01-30 Vladimir Prus + + * gdb.texinfo (GDB/MI Thread Commands): Document the + 'current-thread-id' field. Remove the example with zero threads, + since current GDB won't ever report that if there's inferior. + +2009-01-30 Vladimir Prus + + * gdb.texinfo (GDB/MI Breakpoint Commands): Document the -d + option to -break-insert. + +2009-01-28 Daniel Jacobowitz + Jerome Guitton + + * gdb.texinfo (Startup): Document --with-system-gdbinit. + (System-wide configuration): New section. + +2009-01-26 Pedro Alves + + PR gdb/7580: + * gdb.texinfo (Maintenance Commands): Document "maint set|show + internal-error|internal-warning quit|corefile ask|yes|no". + +2009-01-26 Pedro Alves + + * gdb.texinfo (Using the `gdbserver' Program): Document + --remote-debug. + +2009-01-23 Doug Evans + + * gdb.texinfo: Add nexti to list of commands that support + background execution. + +2009-01-14 Daniel Jacobowitz + + * gdb.texinfo (Define, Hooks): Document prefix command support. + +2009-01-14 Joseph Myers + Carlos O'Donell + + Fixes for makeinfo --html. + + * annotate.texinfo: Use @copying and @insertcopying. Use + @ifnottex in place of @ifinfo. + * gdb.texinfo: Use @copying and @insertcopying. Use @ifnottex in + place of @ifinfo. Use @ifnotinfo for one index entry. + * gdbint.texinfo: Use @copying and @insertcopying. Use @ifnottex + in place of @ifinfo. + * stabs.texinfo: Use @copying and @insertcopying. Use @ifnottex + in place of @ifinfo. Include contents at start unconditionally. + +2009-01-13 Pedro Alves + + * gdb.texinfo (General Query Packets): Remove @var{} around the + "spu" literal string. + +2009-01-07 Pedro Alves + + * gdb.texinfo (Error in Breakpoints): Delete mention of "The same + program may be running in another process" errors. + * gdbint.texinfo (Native Conditionals): Delete + ONE_PROCESS_WRITETEXT description. + +2009-01-07 Joel Brobecker + + * gdbint.texinfo (Start of New Year Procedure): Add the "coding" + emacs local variable to be placed at the end of the ChangeLog. + Add server.c and gdbreplay.c to the list of files where the + copyright year needs to be updated. + +2009-01-06 Sandra Loosemore + + * gdb.texinfo (Remote Configuration): Document new + "set/show tcp auto-retry" and "set/show tcp connect-timeout" + commands. + +2008-12-28 Pedro Alves + + * gdbint.texinfo (gdbarch_cannot_fetch_register): Don't mention + FETCH_INFERIOR_REGISTERS. + (Native Conditionals): Remove obsolete CHILD_PREPARE_TO_STORE, + FETCH_INFERIOR_REGISTERS descriptions. Remove + gdbarch_get_longjmp_target descrition, since already described in + Target Conditionals. Move gdbarch_fp0_regnum description to ... + (Target Conditionals): ... here. + +2008-12-16 Joel Brobecker + + * gdb.texinfo (Omissions from Ada): Add missing GDB prompt in + examples. + (Additions to Ada): Likewise. Add the missing opening and closing + parenthesis of the GDB prompt in one of the examples. + +2008-12-14 Joel Brobecker + + * gdb.texinfo (Omissions from Ada): Remove incorrect documentation + about the result of 'Address not being of type System.Address. + This problem has been fixed a while ago. + +2008-12-02 Vladimir Prus + + MI non-stop and multiprocess docs. + + * gdb.texinfo (GDB/MI): New section 'GDB/MI General Design' + (GDB/MI Output Records): New section 'GDB/MI Frame Information' + Adjust documentation for *stopped, document =thread-created, + =thread-exited, =thread-group-created and =thread-group-exited. + (GDB/MI Thread Commands): Document the 'state' field in + -thread-info output. + (GDB/MI Program Execution): Mention --all and --thread-group + options. + (GDB/MI Variable Objects): Describe floating and fixed variable + objects. + (GDB/MI Miscellaneous Commands): Document -list-thread-groups. + +2008-12-02 Vladimir Prus + + * gdb.texinfo (Operating System Information): New appendix. + (Operating System Auxiliary Information): Document 'info os processes' + (Remote Configuration): Document 'osdata' + (General Query Packets): Document qXfer:osdata:read. + +2008-11-27 Tristan Gingold + + * gdb.texinfo (Darwin): Document Darwin specific features. + +2008-11-25 Jan Kratochvil + + * gdbint.texinfo (Target Conditionals): Extend the + gdbarch_breakpoint_from_pc description. + +2008-11-22 Vladimir Prus + + * gdb.texinfo (M68K Features): Fix typo. + +2008-11-18 Paul Pluzhnikov + + * gdb.texinfo (Symbols): Mention printing containing + image name in "info symbol". + (Maint translate-address): Likewise. + +2008-11-18 Joel Brobecker + + * gdb.texinfo (Set Catchpoints): Remove the documentation of + commands "catch load" and "catch unload". + +2008-11-17 Vladimir Prus + + * gdb.texinfo (GDB/MI Async Records): Document + =thread-selected. + +2008-11-17 Vladimir Prus + + * observer.texi (new_inferior, inferior_exit): New observers. + +2008-10-27 Pedro Alves + + * gdbint.texinfo (Adding a New Target): Don't mention TDEPFILES, + .mt files, TM_CLIBS or TM_CDEPS. + (x86 Watchpoints): Don't mention TDEPFILES. + +2008-10-24 Sandra Loosemore + + * gdb.texinfo (Remote Protocol): Add new nodes to menu. + (Overview): Mention notifications and non-stop mode behavior. + (Packets): Update documentation of ?, vAttach, vCont, and vRun + with non-stop mode behavior. Add vStopped description. + (Stop Reply Packets): Update list of packets that return + stop replies. Mention non-stop behavior. + (General Query Packets): Document QNonStop packet and associated + qSupported query response. + (Interrupts): Clarify multi-threaded behavior. Mention non-stop + behavior. + (Notification Packets): New section. + (Remote Non-Stop): New section. + (File-I/O Overview): Mention non-stop behavior. + +2008-10-24 Hui Zhu + Pedro Alves + + * gdb.texinfo (displaced-stepping): Describe the auto mode + setting, and say it's the default. This is now a mainstream + setting instead of a maintenance setting. + +2008-10-23 Pedro Alves + + * observer.texi (thread_stop_requested): New. + +2008-10-22 Joel Brobecker + + * gdb.texinfo (Ada Tasks, Ada Tasks and Core Files): New nodes. + (Patching): Replace incorrect usage of @samp by @kbd. + +2008-10-17 Michael Snyder + + * gdb.texinfo: Add documentation for reverse execution. + +2008-10-16 Thiago Jung Bauermann + Eli Zaretskii + + * gdb.texinfo. (Values From Inferior): New subsubsection. + +2008-10-06 Doug Evans + + * gdb.texinfo (set debug dwarf2-die): Document it. + +2008-10-01 Joel Brobecker + + * gdb.texinfo (catch) [exception]: Document how to insert + a breakpoint on user-defined exceptions when the exception + name is identical to one of the language-defined ones. + +2008-09-27 Tom Tromey + + * gdb.texinfo (Macros): Remove text about stringification, + varargs, and splicing. + +2008-09-27 Tom Tromey + + * gdbint.texinfo (Language Support): Remove text about omitting + support for a language. + +2008-09-23 Doug Evans + + * gdb.texinfo (info dcache): Update. + +2008-09-22 Sandra Loosemore + + * gdb.texinfo (Packets): Add info on thread-id syntax and + multiprocess extensions. + : Document multiprocess form of packet. + : Use thread-id syntax. + : Likewise. + : Likewise. Note this is required for multiprocess. + : New packet. + (Stop Reply Packets) : Use thread-id syntax. + : Document multiprocess form of reply. + : Likewise. + (General Query Packets) : Use thread-id syntax. + : Likewise. + : Likewise. + : Likewise. + : Add "multiprocess" feature. + : Use thread-id syntax. + +2008-09-22 Stan Shebs + + * gdb.texinfo (Inferiors): New section. + +2008-09-12 Pedro Alves + + * gdbint.texinfo (Native Debugging): Mention NAT_GENERATED_FILES. + +2008-09-11 Ulrich Weigand + + * gdbint.texinfo (Target Conditionals): Remove documentation + for gdbarch_name_of_malloc. + +2008-09-03 Angela Marie Thomas + + * gdb.texinfo (Interrupts): Mention TCP interface for + sending BREAK. + +2008-08-26 Ulrich Weigand + + * gdb.texinfo (Commands to Specify Files): Document "remote:" + argument prefix to "set sysroot". + +2008-08-21 Paul N. Hilfinger + + * gdb.texinfo (Omissions from Ada): Describe new treatment of True + and False. + +2008-08-20 Vladimir Prus + + * gdb.textinfo (GDB/MI Miscellaneous Commands): Use @table + for possible features of -list-features. + +2008-08-19 Vladimir Prus + + * gdb.texinfo (Background execution): Adjust example + (GDB/MI Miscellaneous Commands): Document -list-target-features. + +2008-08-19 Vladimir Prus + + * doc/gdb.texinfo (PowerPC): Fix typo. + (PowerPC features): Fix typo. + +2008-08-18 Pedro Alves + + * observer.texi (thread_ptid_changed): New. + +2008-08-18 Luis Machado + + * doc/gdb.texinfo (PowerPC): Mention Extended FPR's for POWER7. + (PowerPC features): Mention feature set for VSX registers. + +2008-08-13 Joel Brobecker + + * gdb.texinfo (Ada Mode Intro): Improve the documentation regarding + the direct visibility of all names in user-written packages. + +2008-08-13 Pedro Alves + + * gdb.texinfo (breakpoint always-inserted) Describe the auto mode + setting, and make it the default. + (Non-Stop Mode): Remove "set breakpoints always-inserted 1" from + non-stop script example. + +2008-08-12 Thiago Jung Bauermann + + * gdbint.texinfo (Raw and Virtual Register Representations): Fix + reference to the "Using Different Register and Memory Data + Representation" section. + +2008-08-12 Sandra Loosemore + + * gdb.texinfo (Remote Configuration): Document set remote noack-packet. + (Remote Protocol): Add Packet Acknowledgment to menu. + (Overview): Mention +/- can be disabled, and point to new section + where this is discussed in detail. + (General Query Packets): Document QStartNoAckMode packet, and + corresponding qSupported reply. + (Packet Acknowledgment): New section. + +2008-08-11 Sandra Loosemore + Pedro Alves + + * gdb.texinfo (Threads): Move paragraph about automatic thread + selection to All-Stop Mode subsection. + (Thread Stops): Reorganize existing material into subsections. + Add introductory blurb and menu. + (Non-Stop Mode): New subsection. + (Background Execution): New subsection. + (Maintenance Commands): Add cross-references from async mode + commands to the new Background Execution section. + +2008-08-06 Tom Tromey + + * gdb.texinfo (Extending GDB): New chapter. + (Sequences): Demoted chapter, now a section under the new + Extending GDB chapter. + (Python): New section. + +2008-07-31 Stan Shebs + + * gdbint.texinfo: Remove FUNCTION_EPILOGUE_SIZE. + +2008-07-29 Stan Shebs + + * gdbint.texinfo: General round of cleanup and minor + clarifications. + (Breakpoint Handling): Remove mention of BREAKPOINT macro. + (Longjmp Support): Update description to reflect how it is done + for targets without using native header. + (Symbol Handling): Add a little more general explanation. + (COFF, ELF): Mention stabs encapsulation. + (DWARF 3): New section. + (Adding a New Host): Scrub out some obsolete bits. + (Generic Host Support Files): Mention ser-pipe.c, ser-mingw.c. + (Host Conditionals): Remove descriptions of NO_STD_REGS, + HAVE_MMAP, HAVE_TERMIO, INT_MAX etc, LONGEST, HAVE_LONG_DOUBLE, + PRINTF_HAS_LONG_DOUBLE, SCANF_HAS_LONG_DOUBLE, L_SET, SEEK_CUR, + SEEK_SET, STOP_SIGNAL, USG. + (Raw and Virtual Register Representations): Ditto for + DEPRECATED_REGISTER_RAW_SIZE, DEPRECATED_REGISTER_VIRTUAL_SIZE, + DEPRECATED_REGISTER_VIRTUAL_TYPE, REGISTER_CONVERT_TO_TYPE. + (Target Conditionals): Ditto for DEPRECATED_FP_REGNUM, + DEPRECATED_FRAMELESS_FUNCTION_INVOCATION, DEPRECATED_FRAME_CHAIN, + DEPRECATED_FRAME_CHAIN_VALID, DEPRECATED_FRAME_INIT_SAVED_REGS, + DEPRECATED_FRAME_SAVED_PC, DEPRECATED_FUNCTION_START_OFFSET, + DEPRECATED_REGISTER_VIRTUAL_SIZE, + DEPRECATED_REGISTER_VIRTUAL_TYPE, + DEPRECATED_USE_STRUCT_CONVENTION. + Describe gdbarch_deprecated_fp_regnum. + Update description of gdbarch_print_insn. + (Adding a New Target): Scrub out obsolete bits. + (Obsolete Conditionals): Remove entire section. + +2008-07-25 Tom Tromey + + * observer.texi (GDB Observers): Document new observers: + breakpoint_created, breakpoint_deleted, breakpoint_modified, + tracepoint_created, tracepoint_deleted, tracepoint_modified, + architecture_changed. + +2008-07-21 Stan Shebs + + * gdbint.texinfo: Refer to target_so_ops.in_dynsym_resolve_code + instead of IN_SOLIB_DYNSYM_RESOLVE_CODE. + +2008-07-21 Tom Tromey + + * observer.texi (GDB Observers): Remove obsolete comment. + : Remove argument. + +2008-07-18 Tom Tromey + + * gdb.texinfo (Macros): Update. Use @code rather than @command. + +2008-07-10 Doug Evans + + * doc/gdb.texinfo: Document "set print symbol-loading on|off". + +2008-07-10 Jan Kratochvil + + * gdb.texinfo (Starting): Document "set disable-randomization". + +2008-07-07 Andreas Schwab + + * gdb.texinfo (GDB/MI Target Manipulation): Fix last change. + +2008-07-06 Vladimir Prus + + * gdb.texinfo (GDB/MI Target Manipulation): Add + example of -target-attach. + +2008-06-10 Vladimir Prus + + * observer.texi (target_resumed): New observer. + * gdb.texinfo (GDB/MI Output Records): Document *running. + +2008-06-06 Tom Tromey + + * gdb.texinfo (Completion): Add field name example. + +2008-06-06 Marc Khouzam + + * gdb.texinfo (GDB/MI Program Context): Added example + to -exec-arguments + +2008-06-05 Nick Roberts + + * annotate.texinfo (Multi-threaded Apps): Add entry for thread-changed + annotation. + +2008-06-05 Vladimir Prus + Nathan Sidwell + Joseph Myers + + * configure.ac: Include ../../config/acx.m4. Use ACX_PKGVERSION + and ACX_BUGURL. + * configure: Regenerate. + * Makefile.in (PKGVERSION, BUGURL_TEXI): Define. + (GDBvn.texi): Define VERSION_PACKAGE, BUGURL and BUGURL_DEFAULT. + * gdb.texinfo: Use VERSION_PACKAGE and BUGURL. Remove + mailing-list-specific text about bug reporting unless + BUGURL_DEFAULT. + +2008-06-05 Pedro Alves + + * gdb.texinfo (-target-select): Remove reference to target async. + (Maintenance Commands): Document "maint set/show remote-async". + +2008-06-04 Marc Khouzam + + * gdb.texinfo (GDB/MI File Transfer Commands): Typo + in -target-file-get section. + +2008-05-22 Pedro Alves + + * gdb.texinfo (vAttach, vRun): Re-remove requirement of the stub + killing the inferior when it is already debugging a process. + +2008-05-21 Joel Brobecker + + * gdb.texinfo (Continuing and Stepping): Document the new "fin" + abbreviation for "finish". + +2008-05-21 Nick Roberts + + * annotate.texinfo (Multi-threaded Apps): New node for new annotation. + +2008-05-15 Daniel Jacobowitz + + * gdbint.texinfo (Target Conditionals): Delete entry for + gdbarch_dwarf_reg_to_regnum. + +2008-05-09 Doug Evans + + * gdb.texinfo: Document "find" command, qSearch:memory packet. + +2008-05-05 Doug Evans + + * gdb.texinfo (disassemble): Document /m modifier. + +2008-05-05 Vladimir Prus + + * gdb.texinfo (Maintenance Commands): Clarify that "maint time" + will not report the time of commands that run the target. + +2008-05-03 Vladimir Prus + + * gdb.texinfo (GDB/MI Output Records): Add + missing semicolon. + +2008-05-03 Vladimir Prus + + * gdb.texinfo (GDB/MI Output Records): + Document =thread-create and =thread-exited. + +2008-05-03 Vladimir Prus + + * gdb.texinfo (GDB/MI Development and Front Ends): + Remove mention of dmi-discuss. + +2008-05-03 Pedro Alves + + * observer.texi (thread_exit): New. + +2008-05-02 Pedro Alves + + * gdb.texinfo (Debugging Output): Document "set/show debug + displaced". + (Maintenance Commands): Document "maint set/show + can-use-displaced-stepping". + +2008-05-02 Daniel Jacobowitz + + * gdb.texinfo (ARM): Document set/show arm fallback-mode + and set/show arm force-mode. + +2008-05-02 Andreas Schwab + + * gdbint.texinfo (Algorithms): Describe + target_watchpoint_addr_within_range. + +2008-04-30 Daniel Jacobowitz + + * gdbint.texinfo (Stack Frames): New chapter. + (Algorithms): Move Frames text to the new chapter. + (Target Conditionals): Delete SAVE_DUMMY_FRAME_TOS. Document + gdbarch_dummy_id instead of gdbarch_unwind_dummy_id. + +2008-04-24 Vladimir Prus + + * gdb.texinfo (GDB/MI Output Syntax): Clarify that async + output does not necessary include any tokens. + +2008-04-22 Corinna Vinschen + + * gdb.texinfo (Set SH Calling convention): New @item. + (Show SH Calling convention): Ditto. + +2008-04-22 Markus Deuling + + * gdb.texinfo (Fortran Operators): Describe '%' operator. + +2008-04-20 Eli Zaretskii + + * gdb.texinfo (Set Breaks): Mention that multiple location + breakpoints need line number info. Add index entries. + +2008-04-19 Craig Silverstein + + * gdb.texinfo (Requirements): Add an optional requirement on + zlib. + * gdbint.texinfo (Debugging File Formats): Add new subsection for + Compressed DWARF 2. + +2008-04-16 Aleksandar Ristovski + + * gdb.texinfo (GDB/MI Simple Examples): Added 'disp' field to the + sample output for 'stopped,reason="breakpoint-hit"' message. + (GDB/MI Program Execution): Likewise. + +2008-04-09 Marc Khouzam + + * gdb.texinfo (GDB/MI Variable Objects): Add anchor to + -var-set-format. Add -f option to -var-evaluate-expression. + +2008-04-03 Joel Brobecker + + * gdb.texinfo (Breakpoint Menus): Delete. Contents moved inside + new node "Ambiguous Expressions". Replace references to this + node by references to "Ambiguous Expressions" throughout. + (Ambiguous Expressions): New node. + +2008-03-26 Daniel Jacobowitz + + * gdb.texinfo (MIPS Features, PowerPC Features): Add @node. + +2008-03-21 Pedro Alves + + * gdb.texinfo (Debugging Output): Document + "set/show debug lin-lwp-async". + (Maintenance Commands): Document "maint set/show linux-async". + +2008-03-21 Daniel Jacobowitz + + * gdb.texinfo (Expressions): Update description of malloced arrays. + +2008-03-15 Vladimir Prus + + * gdb.texinfo (Thread Commands): Document + -thread-info. Remove -thread-list-all-threads. + +2008-03-14 Vladimir Prus + + Implement MI notification for new threads. + * observer.texi (new_thread): Document. + +2008-03-14 Pedro Alves + Sandra Loosemore + + * gdb.texinfo (Library List Format): Update to mention the + possibility to pass section addresses instead of segment + addresses. + +2008-03-10 Daniel Jacobowitz + + * gdb.texinfo (Starting): Document "set exec-wrapper". + (Server): Document gdbserver --wrapper. + +2008-03-03 Daniel Jacobowitz + + * gdb.texinfo (Set Watchpoints): Mention watchpoints on + unreadable memory. Delete obsolete SPARClite reference. + +2008-02-28 Daniel Jacobowitz + + * gdb.texinfo (Starting): Mention always-running targets. + (Target Commands): Add an anchor for load. + (Connecting): Explain continue instead of run. + +2008-02-27 Daniel Jacobowitz + + * gdb.texinfo (Debugging Output): Document "set debug timestamp". + +2008-02-26 Nick Roberts + + * gdb.texinfo (Set Breaks): Revert description of Enb column of + breakpoint table. + +2008-02-19 Pedro Alves + + * gdb.texinfo (vAttach, vRun): Remove requirement of the stub + killing the inferior when it is already debugging a process. + +2008-02-13 Markus Deuling + + * gdbint.texinfo (Build Script): New section. Mention new build script + gdb_buildall.sh. + +2008-02-01 Jim Blandy + + * gdb.texinfo (Help): Summarize 'info args' correctly. + +2008-01-30 Thiago Jung Bauermann + + * gdb.texinfo: (Decimal Floating Point): Mention pseudo-registers + available in PowerPC architecture. + (Embedded Processors): Change node name of PowerPC item in menu. + (PowerPC): Rename to... + (PowerPC Embedded): this. + (Architectures): Add new PowerPC item in menu. + (PowerPC): New node. + +2008-01-30 Daniel Jacobowitz + + * gdb.texinfo (Multi-Process Mode for gdbserver): Use @kbd for + commands. + +2008-01-30 Daniel Jacobowitz + + * gdb.texinfo (Setting Catchpoints): Mention features + supported on GNU/Linux. + +2008-01-30 Nick Roberts + + * gdb.texinfo (GDB/MI File Commands): Describe new output + field for MI command -file-list-exec-source-file. + +2008-01-29 Daniel Jacobowitz + + * gdb.texinfo (Using the `gdbserver' Program): Add security + warning. Rearrange into subsections and subsubsections. Document + --multi and --debug. Correct --with-sysroot typo. Update --attach + usage. Make load reference clearer. Document monitor exit. + (Remote Configuration): Document set remote exec-file, attach-packet, + and run-packet. + (Packets): Document vAttach and vRun. + +2008-01-29 Nick Roberts + + * gdb.texinfo (Processes): Mention process command. + detach-on-follow -> detach-on-fork. + +2008-01-28 Daniel Jacobowitz + + * gdbint.texinfo (Native Conditionals): Remove + SHELL_COMMAND_CONCAT and SHELL_FILE. + +2008-01-26 Eli Zaretskii + + * gdb.texinfo (Specify Location): Improve wording. + +2008-01-23 Chris Demetriou + + * gdb.texinfo (Threads): Document new "set print thread-events" + and "show print thread-events" commands. + +2008-01-19 Eli Zaretskii + + * gdb.texinfo (Specify Location): New section. + (Delete Breaks, Edit, Set Breaks): Remove description of + locations. Instead, add a reference to "Specify Location". + (Machine Code, Jumping, Thread Stops, Continuing and Stepping) + (Symbols): Refer to "Specify Location" for the valid forms of + linespecs and locations. + +2008-01-18 Markus Deuling + + * gdbint.texinfo (Target Conditionals): Replace the description of + BITS_BIG_ENDIAN with a description of gdbarch_bits_big_endian. + +2008-01-12 Paul Hilfinger + + * gdb.texinfo (C Operators): Remove incorrect parenthetical comment + about &&var, which is rejected by the expression parser. + +2008-01-09 Luis Machado + + * gdb.texinfo (Output): Update documentation on using printf with DFP + types. + +2008-01-07 Thiago Jung Bauermann + + * gdb.texinfo (C and C++): Add Decimal Floating Point format + subsubsection. + (Decimal Floating Point format): New subsubsection. + +2008-01-05 Pedro Alves + + * gdb.texinfo (File Options): Remove mention of the attempt to + open a core file with the -p option. Don't list -c as a valid + option to attach to a process. + +2008-01-05 Pedro Alves + + * gdbint.texinfo (Host Conditionals): Remove mention of + ALIGN_STACK_ON_ENTRY. + +2008-01-05 Joel Brobecker + + * gdbint.texinfo (Start of New Year Procedure): Add item + describing how to update the source and documentation copyright + notices. + +2007-12-18 Jim Blandy + + * gdb.texinfo (Set Watchpoints): Integrate per-thread + watchpoint explanation into the main description of the watchpoint + command; update synopses of 'watch', 'rwatch', and 'awatch' + commands. + +2007-12-18 Vladimir Prus + + * gdb.texinfo (Miscellaneous gdb/mi Commands): + Document 'pending-breakpoints' feature of + -list-features. + +2007-12-17 Luis Machado + + * gdb.texinfo: Add new parameter's description. + +2007-12-16 Daniel Jacobowitz + + * gdb.texinfo (Overview): Clarify run-length encoding + example. Remove the restriction on "+" and "-" characters. + +2007-12-15 Eli Zaretskii + + * gdb.texinfo (Host I/O Packets): Fix xref syntax. + +2007-12-14 Vladimir Prus + + * gdb.texinfo (GDB/MI Breakpoint Commands): Document + the -f option for -break-insert, remove -r option, + and clarify specification of location. + +2007-11-30 Daniel Jacobowitz + + * gdb.texinfo (Debugging Programs with Multiple Processes): Correct + formatting. + (Remote Debugging): Add File Transfer section. + (Remote Configuration): Document Host I/O packets. + (GDB/MI): Add GDB/MI File Transfer Commands section. + (Host I/O Packets): New section in "Remote Protocol". + (Packets): Add vFile. + +2007-11-17 Eli Zaretskii + + * gdb.texinfo (Set Breaks, Disabling): Clarify behavior of + breakpoints with multiple locations. + (Breakpoint Menus): Improve wording. + (Output): Fix last change. + +2007-11-17 Ulrich Weigand + + * Makefile.in (Makefile): Do not depend on target_makefile_frag. + +2007-11-15 Doug Evans + + * gdb.texinfo (Symbols): Update output of "maint info symtabs". + +2007-11-15 Vladimir Prus + + * gdbint.texinfo (Native Conditionals): Remove + mention of CLEAR_SOLIB. + +2007-11-11 Joel Brobecker + + * gdb.texinfo (Print Settings): Add documentation for "set/show + print frame-arguments". + +2007-11-05 Luis Machado + + * gdb.texinfo (Output): Update printf command's description. + +2007-10-30 Daniel Jacobowitz + + * gdb.texinfo (PowerPC): Document "set powerpc vector-abi" and "set + powerpc soft-float". + +2007-10-24 Daniel Jacobowitz + + * gdb.texinfo (Files): Correct formatting. Mention Expat + requirement. + (Requirements for Building GDB): Expand the list of Expat + uses. + (Library List Format, Memory Map Format): Mention Expat. + (Target Descriptions): Update Expat wording. + +2007-10-24 Daniel Jacobowitz + + * gdbint.texinfo (Register and Memory Data, Target Conditionals): + Document that gdbarch_convert_register_p should return zero for no-op + conversions. + +2007-10-22 Ulrich Weigand + + * gdbint.texi (Compiler Characteristics): Move documentation + of set_gdbarch_sofun_address_maybe_missing back to ... + (Target Conditionals): ... here to fix build break. + +2007-10-19 Ulrich Weigand + + * gdbint.texi (Target Conditionals): Remove documentation of + SOFUN_ADDRESS_MAYBE_MISSING, replaced by ... + (Compiler Characteristics): ... documentation of + set_gdbarch_sofun_address_maybe_missing. + +2007-10-17 Daniel Jacobowitz + + * gdbint.texinfo (Target Conditionals): Use + frame_unwind_register_unsigned in examples instead of + frame_unwind_unsigned_register. + +2007-10-16 Gaius Mulley + + * gdb.texinfo: Add TSIZE definition, removed statement about + unbounded arrays being unimplemented. + +2007-10-15 Daniel Jacobowitz + + * gdb.texinfo (Predefined Target Types): Add int128 + and uint128. + (Standard Target Features): Add PowerPC features. + +2007-10-15 Daniel Jacobowitz + + * gdb.texinfo (Maintenance Commands): Document "maint print c-tdesc". + +2007-10-12 Ulrich Weigand + + * gdbint.texi (Target Conditionals): Remove documentation + of and references to DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS, + gdbarch_extract_return_value, and gdbarch_store_return_value. + +2007-10-12 Ulrich Weigand + + * gdbint.texi (Target Conditionals): Remove documentation of + and references to DEPRECATED_REG_STRUCT_HAS_ADDR. + +2007-10-11 Kazu Hirata + + * gdb.texinfo: Mention that inaccessible-by-default is on by + default. + +2007-10-11 Daniel Jacobowitz + + * gdbint.texinfo (Target Conditionals): Remove VARIABLES_INSIDE_BLOCK. + +2007-09-30 Daniel Jacobowitz + + * gdb.texinfo (Setting Watchpoints): Adjust warning text about + multi-threaded watchpoints. + * gdbint.texinfo (Watchpoints): Describe how watchpoints are + checked. Describe sticky notification. Expand description + of steppable and continuable watchpoints. + (Watchpoints and Threads): New subsection. + +2007-09-28 Vladimir Prus + + * gdb.texinfo (Setting Breakpoints): Revise + documentation for pending breakpoints. Document + breakpoints with multiple locations. + +2007-09-19 Vladimir Prus + + * gdb.texinfo (Miscellaneous gdb/mi Commands): + Document -list-features. + +2007-09-15 Eli Zaretskii + + * gdb.texinfo (Output): Spell out which features of C's printf are + not supported by GDB's printf. + (Separate Debug Files): More accurate wording regarding build ID + and a reference to the ld manual rather than the Fedora wiki. + +2007-09-04 Daniel Jacobowitz + Jim Blandy + + * gdb.texinfo (Output Formats): Update 'c' description. Describe 's'. + (Examining Memory): Update mentions of the 's' format. + (Automatic Display): Likewise. + +2007-09-02 Daniel Jacobowitz + + * gdb.texinfo: Update the FSF's Back-Cover Text. + +2007-09-02 Jan Kratochvil + Eli Zaretskii + + * gdb.texinfo (Separate Debug Files): Cosmetic quoting removal. + Fixed the ``build ID'' name. New binaries build instructions for the + build ID inclusion. Explain how the commands are specific to the build + ID vs. debug link. + +2007-09-01 Eli Zaretskii + + * gdb.texinfo (Separate Debug Files): Fix last change. Add + indexing for ``build ID'' support. + +2007-09-01 Jan Kratochvil + + * gdb.texinfo (Separate Debug Files): Included a BUILD ID description. + Enlisted BUILD ID to the debug file searching example. + Included a BUILD ID `.note.gnu.build-id' section description. + Updated/added the debug files splitting instructions for OBJCOPY. + +2007-08-31 Vladimir Prus + + * gdb.texinfo (Variable Objects): Adjust docs + for -var-info-expression and document + -var-info-path-expression. + +2007-08-20 Jim Blandy + + * gdb.texinfo (Top): Dedicate manual to the memory of Fred Fish. + (title page): Include the dedication in the printed manual, as a + separate page after the copyright notice. + + * gdb.texinfo (The F Reply Packet): Avoid confusing texi2html: + don't break a @var across a line. + +2007-07-25 Maciej W. Rozycki + + * Makefile.in (MAKEHTMLFLAGS): Also search the current directory + for include files. + +2007-07-12 Nick Roberts + + * gdb.texinfo (Server Prefix): New node. Adapt from existing node + in annotate.texinfo. + (Command History): Link to new node. + +2007-07-05 Markus Deuling + + * gdbint.texinfo (PC_LOAD_SEGMENT): Remove description. + +2007-07-05 Eli Zaretskii + + * gdbint.texinfo (Target Conditionals): Fix last change. + +2007-07-03 Markus Deuling + + * gdb.texinfo: Replace following macros by their appropriate gdbarch + routines: + (TARGET_CHAR_SIGNED, CALL_DUMMY_LOCATION, CANNOT_FETCH_REGISTER) + (CANNOT_STORE_REGISTER, GET_LONGJMP_TARGET, POINTER_TO_ADDRESS) + (ADDRESS_TO_POINTER, INNER_THAN, FRAME_NUM_ARGS) + (HAVE_NONSTEPPABLE_WATCHPOINT, TARGET_SHORT_BIT, TARGET_INT_BIT) + (TARGET_LONG_BIT, TARGET_LONG_LONG_BIT, TARGET_FLOAT_BIT) + (TARGET_DOUBLE_BIT, TARGET_LONG_DOUBLE_BIT, TARGET_PTR_BIT + (TARGET_ADDR_BIT, SP_REGNUM, PC_REGNUM, PS_REGNUM, FP0_REGNUM) + (STAB_REG_TO_REGNUM, ECOFF_REG_TO_REGNUM, DWARF_REG_TO_REGNUM) + (SDB_REG_TO_REGNUM, DWARF2_REG_TO_REGNUM, BELIEVE_PCC_PROMOTION) + (CONVERT_REGISTER_P, REGISTER_TO_VALUE, VALUE_TO_REGISTER) + (POINTER_TO_ADDRESS, ADDRESS_TO_POINTER, EXTRACT_RETURN_VALUE) + (STORE_RETURN_VALUE, SKIP_PROLOGUE, MEMORY_INSERT_BREAKPOINT) + (BREAKPOINT_FROM_PC, MEMORY_REMOVE_BREAKPOINT, DECR_PC_AFTER_BREAK) + (ADDR_BITS_REMOVE, TARGET_PRINT_INSN, SKIP_TRAMPOLINE_CODE) + (IN_SOLIB_RETURN_TRAMPOLINE, NAME_OF_MALLOC, ADDRESS_CLASS_TYPE_FLAGS) + (ADDRESS_CLASS_TYPE_FLAGS_TO_NAME, ADDRESS_CLASS_TYPE_FLAGS_P). + (ADDRESS_CLASS_NAME_to_TYPE_FLAGS, ADJUST_BREAKPOINT_ADDRESS) + (PRINT_FLOAT_INFO, PRINT_VECTOR_INFO, INTEGER_TO_ADDRESS) + (SKIP_PERMANENT_BREAKPOINT, TARGET_VIRTUAL_FRAME_POINTER) + (SOFTWARE_SINGLE_STEP_P) + + (push_dummy_call, stabs_argument_has_addr, unwind_sp, unwind_pc) + (print_registers_info, push_dummy_code, unwind_dummy_id): Rework + + (REGISTER_CONVERT_TO_TYPE, END_OF_TEXT_DEFAULT, GDB_MULTI_ARCH) + (GDB_TARGET_IS_HPPA, DEPRECATED_GET_SAVED_REGISTER) + (SYMBOLS_CAN_START_WITH_DOLLAR, DEPRECATED_INIT_EXTRA_FRAME_INFO) + (DEPRECATED_INIT_FRAME_PC, DEPRECATED_SIGTRAMP_START) + (IN_SOLIB_CALL_TRAMPOLINE, NO_HIF_SUPPORT, REGISTER_CONVERTIBLE) + (DEPRECATED_REGISTER_RAW_SIZE, PARM_BOUNDARY, DEPRECATED_STACK_ALIGN) + (PROLOGUE_FIRSTLINE_OVERLAP, DEPRECATED_POP_FRAME, STEP_SKIPS_DELAY) + (TARGET_COMPLEX_BIT, TARGET_DOUBLE_COMPLEX_BIT) + (OS9K_VARIABLES_INSIDE_BLOCK, KERNEL_U_ADDR, KERNEL_U_ADDR_HPUX) + (REGISTER_U_ADDR, U_REGS_OFFSET, DEBUG_PTRACE): Remove description. + + (Converting an existing Target Architecture to Multi-arch): Remove + section. + + (gdbarch_unwind_pc, gdbarch_unwind_sp): Renew code example. + (gdbarch_addr_bits_remove): Add code example. + + * gdb.texinfo: Replace REGISTER_NAME by gdbarch_register_name. + +2007-07-02 Daniel Jacobowitz + + * gdb.texinfo (Remote Configuration): Document library-info-packet. + Add other missing entries. Adjust the table size to fit. + (Stop Reply Packets): Use @itemize instead of @enumerate. Document + stop reasons including the new "library" event. + (General Query Packets): Adjust table widths for qSupported. Mention + qXfer:libraries:read reply to qSupported and document the new packet. + (Library List Format): New section. + +2007-07-01 Jan Kratochvil + + * gdb.texinfo (Attach): Fixed GDB exit inferior detachment. + +2007-06-28 Michael Snyder + + * gdbint.texinfo (Table, Tuple and List Functions) Fix typo. + +2007-06-25 Nick Roberts + + * gdbint.texinfo (Register and Memory Data): Break sections + into nodes and add a menu. + +2007-06-21 Maciej W. Rozycki + + * gdb.texinfo (Examining Memory): Document the new behaviour. + +2007-06-21 Vladimir Prus + + * gdb.texinfo (Standard Target Features): Document + m68k features. + +2007-06-18 Daniel Jacobowitz + + * gdb.texinfo (General Query Packets): Document qOffsets changes. + +2007-06-13 Daniel Jacobowitz + + * gdb.texinfo (Target Description Format): Add version attribute + for . + +2007-06-13 Daniel Jacobowitz + + * gdb.texinfo (MIPS Features): Document org.gnu.gdb.mips.linux. + +2007-06-13 Daniel Jacobowitz + + * gdb.texinfo (MIPS Features): New subsection. + +2007-06-12 Ulrich Weigand + Markus Deuling + + * gdb.texinfo (General Query Packets): Document qXfer:spu:read + and qXfer:spu:write packets and mention them under qSupported. + +2007-06-12 Ulrich Weigand + Markus Deuling + + * gdb.texinfo (Architectures): Add new SPU section to document + Cell Broadband Engine SPU architecture specific commands. + +2007-06-09 Vladimir Prus + + * gdb.texinfo (GDB/MI Variable Objects): Editorial + comments. + +2007-06-07 Nick Roberts + + * gdb.texinfo (Emacs): Describe GDB under Emacs 22.1. + +2007-05-29 Jim Blandy + + * gdb.texinfo (Overview): Doc fix. + +2007-05-22 Maciej W. Rozycki + + * gdb.texinfo (Remote Configuration): Document "set/show + remoteflow". + +2007-05-16 Daniel Jacobowitz + + * gdb.texinfo (MIPS): Remove documentation for set mips + saved-gpreg-size, show mips saved-gpreg-size, and set mips + stack-arg-size. + +2007-05-14 Bob Wilson + + * all-cfg.texi (GDBTUI): New. + * gdb.texinfo (Mode Options): Use GDBTUI variable. + (TUI, TUI Overview, TUI Keys, TUI Single Key Mode, TUI Commands) + (TUI Configuration): Edit to improve clarity and fix problems of + both style and content. + +2007-05-11 Ulrich Weigand + + * observer.texi (GDB Observers): New observer "new_objfile". + +2007-05-08 Ulrich Weigand + + * gdbint.texinfo (Native Conditionals): Remove USE_PROC_FS. + +2007-04-14 Vladimir Prus + + * gdb.texinfo (GDB/MI Variable Objects): Document + frozen variables objects. + +2007-04-13 Paul Brook + + * gdb.texinfo: Document ieee_single and ieee_double target types. + +2007-04-13 Daniel Jacobowitz + + * gdb.texinfo (Memory): Reference Remote Debugging chapter. + (Character Sets, Caching Data of Remote Targets): Likewise. + (Targets): Delete Remote node. Move its text... + (Debugging Remote Programs): ...to here. Delete description + of the "remote" command. + (Remote configuration): Delete description of "set remotedevice" + and "show remotedevice". + (Embedded Processors): Delete H8/300, H8/500, and SH nodes. + +2007-04-11 Steve Ellcey + + * gdbint.texinfo (warning flags): Add -Wno-char-subscripts. + +2007-04-11 Bob Wilson + + * gdb.texinfo (Contributors, Continuing and Stepping) + (Fortran Defaults, HPPA, TUI, TUI Commands, Configure Options) + (General Query Packets, File-I/O Remote Protocol Extension) + (Protocol Basics, The F Reply Packet, Write) + (Protocol-specific Representation of Datatypes, Memory Transfer): + Fix hyphenation, punctuation and grammar problems. + (Cygwin Native): Likewise. Also fix misuse of @pxref and use + 'section' instead of 'subsection' in the text. + (Non-debug DLL Symbols): Avoid 'subsubsection' in the text. + (i386): Remove period from section name. + (Installing GDB, Requirements, Running Configure, Separate Objdir) + (Config Names, Configure Options): Use @file{configure}. + +2007-04-11 Daniel Jacobowitz + + * gdbint.texinfo (Writing Tests): Mention gdb_test_multiple + and tab expansion. + +2007-04-10 Daniel Jacobowitz + + * gdbint.texinfo (SOM): Correct location of the SOM reader. + +2007-04-02 Bob Wilson + + * gdb.texinfo: Consistently capitalize all significant words in + node names, chapter titles, section titles, and headings. Update + cross references to match. + (Starting and Stopping Trace Experiment): Make node name plural. + (Breakpoint related warnings): Hyphenate "Breakpoint-related". + +2007-03-30 Pedro Alves + + * gdb.texinfo (WinCE): Delete obsolete subsection. + +2007-03-30 Daniel Jacobowitz + + * gdb.texinfo (M68K): Remove obsolete ROM monitors. + * gdbint.texinfo (DWARF 1): Delete section and other dwarfread.c + references. + +2007-03-30 Daniel Jacobowitz + + * gdb.texinfo (Startup): Delete references to some alternate + names for .gdbinit. + (Thread): Remove LynxOS reference. + (Tandem ST2000): Delete target-specific documentation. + * gdbint.texinfo (Symbol Handling): Remove mention of NLM. + (Target Architecture Definition): Remove mention of GDB_OSABI_NETWARE + and GDB_OSABI_LYNXOS. + +2007-03-29 Ulrich Weigand + + * gdbint.texi (Native Conditionals): Remove PTRACE_ARG3_TYPE. + +2007-03-27 Ulrich Weigand + + * gdbint.texinfo (Target Conditionals): Remove mention of + DEPRECATED_REMOTE_BREAKPOINT, DEPRECATED_BIG_REMOTE_BREAKPOINT, + and DEPRECATED_LITTLE_REMOTE_BREAKPOINT. + +2007-03-27 Brooks Moses + + * Makefile.in: Add "pdfdir" installation + directory, PDFTEX macro, support for "install-pdf" target, + and rules for making a pdf version of refcard.texi. + * refcard.tex: Specify paper size for PDF output. + +2007-03-26 Bob Wilson + + * gdb.texinfo (Omissions from Ada, Additions to Ada): Wrap long lines. + +2007-03-26 Bob Wilson + + * gdb.texinfo (Invoking GDB): Use @value{GDBP}. + (Source Path, Character Sets, Macros, Define) + (GDB/MI Result Records, GDB/MI Simple Examples) + (GDB/MI Program Execution, GDB/MI File Commands) + (Maintenance Commands, Packets, File-I/O Overview): Use @value{GDBN}. + (Bug Reporting): Use @value{GCC}. + +2007-03-26 Bob Wilson + + * gdb.texinfo (Help): Fix formatting of examples. + (Variables): Use @ifnotinfo instead of @iftex. + (Non-debug DLL symbols): Use @ref instead of @pxref. + (Sparclet File): Use @samp instead of quotes. + +2007-03-26 Bob Wilson + + * gdb.texinfo (Variables, C): Update cross reference to GCC docs. + +2007-03-26 Bob Wilson + + * gdb.texinfo (Top): Move TUI and Annotations menu entries to match + the order of the nodes. + (C Operators, C Constants, Debugging C): Remove extra menus. + (Method Names in Commands): Do not specify next/prev/up nodes. + +2007-03-26 Bob Wilson + + * gdb.texinfo (File Options): Add missing parenthesis. + (Breakpoints, Special Fortran commands, PowerPC): Fix typos. + +2007-02-26 Daniel Jacobowitz + + * gdb.texinfo (Monitor commands for gdbserver): New subsection. + +2007-02-26 Daniel Jacobowitz + + * gdb.texinfo (Standard Target Features): Mention + case insensitivity. + (ARM Features): Describe org.gnu.gdb.xscale.iwmmxt. + +2007-02-18 Nick Roberts + + * gdb.texinfo (Top): Put Appendix A after numbered sections. + (Files): Add section name to argument list for pxref. + (Non-debug DLL symbols): Don't use `see' for pxref. + (Embedded Processors): Fix typo. + (GDB/MI Breakpoint Commands): Execution commands generate + *stopped not ^done. + +2007-02-13 Nick Roberts + + * gdb.texinfo (GDB/MI Variable Objects): Describe meanings of + values for in_scope. Mention that only root variables can be + updated. + (GDB/MI Development and Front Ends): Explain new values may be + added to existing fields. + +2007-02-08 Daniel Jacobowitz + + * gdb.texinfo (-target-disconnect): Use @smallexample. + (Requirements): Add anchor for Expat. Update description. + (Target Descriptions): Mention Expat. + (Target Description Format): Document new elements. Use + @smallexample. + (Predefined Target Types, Standard Target Features): New sections. + * gdbint.texinfo (Target Descriptions): New section. + +2007-02-07 Daniel Jacobowitz + + * gdb.texinfo (Target Description Format): Add section on XInclude. + +2006-02-03 Nick Roberts + + * gdb.texinfo (GDB/MI Miscellaneous Commands): Describe the new + command -enable-timings. + +2007-02-02 Markus Deuling (tiny change) + + * gdbint.texinfo (Operation System ABI Variant Handling): Update + descriptions for new/deleted elements in gdb_osabi. Add missing + description for function generic_elf_osabi_sniff_abi_tag_sections. + +2007-01-29 Joel Brobecker + + * gdb.texinfo (Maintenance Commands): Add documentation for + the new "maint print target-stack" command. + +2007-01-26 Jan Kratochvil + Eli Zaretskii + + * gdb.texinfo: Describe CHAR array vs. string identification rules. + +2007-01-26 Eli Zaretskii + + * gdb.texinfo (Compilation, Files, Bootstrapping, Bug Reporting): + Use @value{NGCC} instead of @value{GCC}. + +2007-01-20 Ralf Wildenhues (tiny change) + + * agentexpr.texi: Fix typos. + * annotate.texinfo: Likewise. + * gdb.texinfo: Likewise. + * gdbint.texinfo: Likewise. + * observer.texi: Likewise. + * stabs.texinfo: Likewise. + +2007-01-20 Markus Deuling (tiny change) + + * gdbint.texinfo (Support Libraries): Remove mmalloc + entry. Describe readline library. + +2007-01-09 Daniel Jacobowitz + + * gdb.texinfo (Target Descriptions): New section. + (General Query Packets): Add QPassSignals anchor. Mention + qXfer:features:read under qSupported. Expand mentions of + qXfer:memory-map:read and QPassSignals. Document + qXfer:features:read. + +2007-01-08 Daniel Jacobowitz + + * gdb.texinfo (Commands to specify files): Describe + "set sysroot" and "show sysroot". + (Using the `gdbserver' program): Lowercase argument + to @var. Expand description of setting up GDB on the + host. + +2007-01-05 Joel Brobecker + + * gdb.texinfo (Set Catchpoints): Add documentation for the new + catch exception, catch exception unhandled, and catch assert + commands. + +2007-01-04 Daniel Jacobowitz + + * gdb.texinfo (Debugging Output): Document "set debug xml" + and "show debug xml". + +2007-01-04 Daniel Jacobowitz + + * gdbint.texinfo (Compiler Warnings): Update for -Wall use. + +2007-01-01 Joel Brobecker + + * gdbint.texinfo (Start of New Year Procedure): Add missing item. + +2006-12-08 Vladimir Prus + + * gdb.texinfo (GDB/MI Variable Objects): Wrap historical + note in @ignore, to be removed later if nobody complains. + +2006-12-04 Nick Roberts + + * gdb.texinfo (GDB/MI Variable Objects): Describe -c option + of -var-delete. + +2006-11-22 Vladimir Prus + + * gdb.texinfo (Setting breakpoints): Document + automatic software/hardware breakpoint usage and + the "set breakpoint auto-hw" command. + +2006-11-21 Vladimir Prus + + * gdb.texinfo (Memory Access Checking): New. + +2006-11-16 Daniel Jacobowitz + + * gdb.texinfo (Remote configuration): Mention + "pass-signals-packet". + (General Query Packets): Document QPassSignals. Fix + a typo. + +2006-11-14 Maxim Grigoriev + + * gdb.texinfo (Contributors): Add contributors of Xtensa port. + +2006-11-14 Daniel Jacobowitz + + * gdb.texinfo (Remote configuration): Rewrite documentation for + packet configuration commands. + (OS Information): Adjust reference to qXfer:auxv:read. + (General Query Packets): Remove references to read-aux-vector-packet + and set remote get-thread-local-storage-address. + +2006-11-10 Daniel Jacobowitz + + * gdbint.texinfo (Target Architecture Definition): Add new + Initializing a New Architecture section. + +2006-10-31 David Taylor + + * stabs.texinfo (Macro define and undefine): New node describing + stabs for #define and #undef. + +2006-10-27 Andreas Schwab + + * gdb.texinfo (Processes): Rename "detach-fork" to "detach fork". + +2006-10-21 Eli Zaretskii + + * gdb.texinfo (Breakpoints, Set Watchpoints): Elaborate and + clarify on the possible meanings of ``expression'' watched by + watchpoints. Add indexing. + (Prompting, Errors, Invalidation, Annotations for Running) + (Source Annotations): Fix index entries by adding "annotation" to + them, to discriminate from index entries that point to the more + general topic descriptions. + +2006-10-17 Daniel Jacobowitz + + * gdbint.texinfo (Target Vector Definition): Move most + content into Existing Targets. Add a menu. + (Existing Targets): New section, moved from Target Vector + Definition. Use @subsection. + (Managing Execution State): New section. + +2006-10-16 Bob Wilson + + * gdb.texinfo (ST2000): Use Ctrl- instead of C-. + +2006-10-15 Eli Zaretskii + + * gdb.texinfo (Sample Session, Invocation, Quitting GDB) + (Command Syntax, Signals, Backtrace, Connecting) + (Remote configuration, Renesas Boards, Console I/O): Fix last + change: use Ctrl- instead of C-, except wrt Emacs. + (File-I/O Examples): Put Ctrl-c in @kbd. + (Cygwin Native, File-I/O Overview, The Ctrl-C message) + (Console I/O): Use @samp with Ctrl-. + (Signals, Set Breaks, Set Watchpoints): Document optional + arguments to `info signals' `handle', `info breakpoints', and + `info watchpoints'. + +2006-10-14 Eli Zaretskii + + * gdb.texinfo (Backtrace): Fix last change. + +2006-10-14 Nick Roberts + + * gdb.texinfo (Backtrace): Order correctly and add other cases. + +2006-10-10 Bob Wilson + + * gdb.texinfo (Command Syntax, Connecting, Remote configuration) + (Renesas Boards, ST2000, TUI Keys, TUI Single Key Mode) + (TUI Commands, Emacs, Console I/O): Fix @key and @kbd usage. + +2006-09-21 Vladimir Prus + Daniel Jacobowitz + + * gdb.texinfo (Packets): Document vFlashErase, + vFlashWrite and vFlashDone packets. + (General Query Packets): Document qXfer:memory-map:read. + Add a new feature for qXfer:memory-map:read. + (Memory map format): New section. + (Target Commands): Mention that gdb can write flash. + +2006-09-21 Vladimir Prus + Daniel Jacobowitz + + * gdb.texinfo (Memory Region Attributes): Mention target-supplied + memory regions and "mem auto". + +2006-09-21 Nathan Sidwell + + * gdbint.texinfo (Array Containers): New section. + +2006-09-17 Vladimir Prus + + * gdb.texinfo (GDB/MI Stack Manipulation): Mention that + -stack-list-arguments HIGH_FRAME argument can be larger then the + actual number of frames. + +2006-09-07 Vladimir Prus + + * gdb.texinfo (GDB/MI Stack Manipulation): Mention that + -stack-list-locals HIGH_FRAME argument can be larger then the + actual number of frames. + +2006-09-02 Bob Wilson + + * gdb.texinfo (Packets, Stop Reply Packets, General Query Packets, + Register Packet Format, Tracepoint Packets): Fix spelling errors. + +2006-09-02 Eli Zaretskii + + * gdbint.texinfo (Overall Structure): New section "Source Tree + Structure". + +2006-08-17 Jim Blandy + + * gdb.texinfo (Stop Reply Packets): Note similarity of 'S' and 'T' + responses. + +2006-08-08 Joel Brobecker + + * gdb.texinfo (Source Path): Add documentation for new + substitute-path commands. + +2006-08-08 Daniel Jacobowitz + + * gdb.texinfo (Installing GDB): Update menu. Move text to... + (Running Configure): ...here. + (Requirements): New node. Mention expat. + +2006-08-08 Vladimir Prus + + * gdb.texinfo (Target Commands): Remove + 'set download-write-size' and 'show download-write-size'. + +2006-08-01 Daniel Jacobowitz + + * stabs.texinfo (Member Type Descriptor): Correct example for + pointer to member types. + +2006-07-21 Andrew Stubbs + + * gdb.texinfo (Optional warnings and messages): Add + 'set/show trace-commands'. + (Command files): Add '-v' to source command. + +2006-07-12 Daniel Jacobowitz + + * gdb.texinfo (OS Information): Update qPart reference to + qXfer. + (Remote configuration): Likewise. + (Overview): Move @cindex to the start of a paragraph. Talk + about binary data encoding. + (Packets): Refer to the overview for the details of the X + packet encoding. + (General Query Packets): Remove qPart description. Add qXfer + description. Add an anchor to qSupported. Correct feature + table title. Add a new feature for qXfer:auxv:read. + (Interrupts): Add a missing parenthesis. + +2006-07-05 Daniel Jacobowitz + + * gdb.texinfo (KOD): Remove node. + (GDB/MI Kod Commands): Remove commented out node. + +2006-07-01 Eli Zaretskii + + * gdb.texinfo (GDB/MI Output Syntax, GDB/MI Simple Examples) + (GDB/MI Breakpoint Commands, GDB/MI Program Context) + (GDB/MI Thread Commands, GDB/MI Program Execution) + (GDB/MI Stack Manipulation, GDB/MI Variable Objects) + (GDB/MI Data Manipulation, GDB/MI Symbol Query) + (GDB/MI File Commands, GDB/MI Target Manipulation) + (GDB/MI Miscellaneous Commands): Change (@value{GDBP})->(gdb), + since the MI prompt is hard-wired into the code. + +2006-07-01 Nick Roberts + + * gdb.texinfo (GDB/MI Compatibility with CLI): Qualify more carefully. + (GDB/MI Simple Examples): Use @subheading for "A Bad Command". + (GDB/MI Data Manipulation): Remove description of unimplemented + display related commands as variable objects perform this function + and are superior: -display-delete, -display-disable, + -display-enable, -display-insert and -display-list. Move + -environment-cd, -environment-directory, -environment-path + and -environment-pwd to "Program Context". + (GDB/MI Program Control): Rename to "Program Execution". Move + -exec-arguments -exec-abort to... + (GDB/MI Program Context): ...here. New node split from "Data + Manipulation". + +2006-06-21 Daniel Jacobowitz + + * gdb.texinfo (Remote configuration): Document set / show + remote supported-packets. + (General Query Packets): Document qSupported packet. + +2006-06-13 Nathan Sidwell + + * gdb.texinfo (system): Document behaviour with zero length + string. + +2006-06-10 Sandra Loosemore + + * gdb.texinfo (File-I/O overview): Copy edit for grammar, spelling, + and font markup. + (Protocol basics): Likewise. + (The F request packet): Likewise. + (The F reply packet): Likewise. + (Memory transfer): Move this node to be a subsubsection of + "Protocol specific representation of datatypes". + (The Ctrl-C message): More copy editing. + (Console I/O): Likewise. + (The isatty call): Delete this node, and merge its content into + the "isatty" node. Fixed references elsewhere. + (The system call): Delete this node, and merge its content into + the "system" node. Fixed references elsewhere. + (open): Reformat to use @table, and add appropriate font markup. + (close): Likewise. + (read): Likewise. + (write): Likewise. + (lseek): Likewise. + (rename): Likewise. + (unlink): Likewise. + (stat/fstat): Likewise. + (gettimeofday): Likewise. + (isatty): Likewise. + (system): Likewise, plus minor changes to fix confusing wording. + (Integral datatypes): Fix font markup. + (Pointer values): Likewise. + (struct stat): Fix markup to use @table, plus minor copy editing. + (struct timeval): Fix font markup, plus minor copy editing. + (Constants): Minor copy editing. + (Errno values): Add font markup. + (File-I/O Examples): Likewise. + +2006-06-10 Nick Roberts + + * gdb.texinfo (GDB/MI): Remove duplicate acknowledgements. + (GDB/MI Simple Examples): Move node up one level. Use real + examples. + (GDB/MI Compatibility with CLI): Update. + (GDB/MI Result Records): Add "connected" and "exit" result + classes. + (GDB/MI Stream Records): Clarify target output. + (GDB/MI Command Description Format): Modify example description. + (GDB/MI Breakpoint Table Commands): Rename to... + (GDB/MI Breakpoint Commands): ...this + (GDB/MI Breakpoint Commands): Add optional thread field. + (GDB/MI Program Control): Add an introduction. Move "Program + termination" examples into exec-run description. + (GDB/MI File Commands): Mention similar CLI commands. + (GDB/MI Miscellaneous Commands): Move to end. Mention "show version" + is similar to "-gdb-version". + +2006-06-09 Eli Zaretskii + + * gdb.texinfo (Symbols): Fix "(gdb)"=>"(@value{GDBP})". + +2006-06-02 Nick Roberts + + * gdb.texinfo (GDB/MI Development and Front Ends): Use + sourceware.org for mailing lists. + (GDB/MI File Commands): New node split from Program Control. + +2006-06-01 Nick Roberts + + * gdb.texinfo (GDB/MI Development and Front Ends): New node. + +2006-05-22 Eli Zaretskii + + * gdb.texinfo (Cygwin Native): Fix last change. + +2006-05-22 Christopher Faylor + + * gdb.texinfo (Cygwin Native): Document set/show cygwin-exceptions. + +2006-05-15 Nick Roberts + + * gdbint.texinfo (Algorithms): Correct spelling and punctuation. + (Releasing GDB, Testsuite): Remove details for including DejaGnu. + +2006-05-14 Daniel Jacobowitz + + * gdb.texinfo (General Query Packets): Recommend not starting + new packets with qC and clarify. + +2006-05-13 Gaius Mulley + + * gdb.texinfo (M2 Types): New section. + +2006-05-10 Daniel Jacobowitz + + * agentexpr.texi: Add a copyright and license notice. + * observer.texi: Likewise, with GPL clause for function prototypes. + Remove trailing whitespace. + +2006-05-05 Jim Blandy + + * gdb.texinfo (General Query Packets): Document conventions for + terminating packet names, and their violations. + +2006-05-05 Daniel Jacobowitz + + * Makefile.in (GDB_DOC_SOURCE_INCLUDES): Update for readline 5.1. + * gdb.texinfo: Likewise. + +2006-05-05 Daniel Jacobowitz + + * gdb.texinfo (Remote Configuration): Remove "set remotedebug" + and "show remotedebug". + (Debugging Output): Add additional index entries. + +2006-04-27 Michael Snyder + + * gdb.texinfo (delete-fork): Command renamed to "delete fork". + +2006-04-22 Andrew Cagney + + * gdb.texinfo (Contributors): Credit frame unwinder contributors. + * gdbint.texinfo (Algorithms): Fix errors in frame documentation. + +2006-04-18 Daniel Jacobowitz + + * gdbint.texinfo (x86 Watchpoints, Target Conditionals): Update insert + and remove breakpoint prototypes. + (Watchpoints): Move description of target_insert_hw_breakpoint and + target_remove_hw_breakpoint ... + (Breakpoints): ... to here. Document target_insert_breakpoint and + target_remove_breakpoint. + +2006-04-17 Jim Blandy + + * gdb.texinfo (Packets): Note that 'addr' arguments to s, S, c, + and C packets are optional. + +2006-04-14 Frederic Riss + + * gdb.texinfo (Specifying source directories): Update the description + of the source file search to reflect the fact that the source path + always contains at least $cdir and $cwd. + +2006-03-31 Michael Snyder + + * gdb.texinfo: Update copyright dates. + +2006-03-31 Eli Zaretskii + + * gdb.texinfo (Overview): Add an index entry to "empty response". + +2006-03-29 Steve Ellcey + + * gdb.texinfo: Remove gdbserve.nlm documentation. + +2006-03-28 Jim Blandy + + * gdbint.texinfo (Prologue Analysis): New section. + +2006-03-07 Jim Blandy + + * gdb.texinfo (Connecting): Document 'target remote pipe'. + + * gdb.texinfo (Target Commands): Update text describing how to + specify a target. Refer to the detailed section on remote + debugging, not the brief mention. + + * gdb.texinfo (Connecting): Organize the different 'target remote' + connection methods into a table. Add a 'target remote' index + entry. (!!!) + +2006-02-17 Fred Fish + + * gdb.texinfo (Symbols): Update descriptions of 'whatis' and + 'ptype' commands to reflect the fact that the only significant + difference between them is that ptype prints the complete type + description instead of just the name. + +2006-02-13 Wu Zhou + + * gdbint.texinfo (Watchpoints): Delete + TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT. + +2006-02-10 Nick Roberts + + * gdb.texinfo (GDB/MI Breakpoint Table Commands): Add fullname and + times fields where needed. Fix typos. Update general form given + for output of -break-insert. + (GDB/MI): Abbreviate some unnecessarily long fullnames. + +2006-02-06 Daniel Jacobowitz + + * gdbint.texinfo (Symbol Handling): Add a section + on memory management. + +2006-02-06 Vladimir Prus + + * gdb.texinfo (Breakpoint table commands): Document the fullname + field in -break-list output. + +2006-02-03 Eli Zaretskii + + * gdb.texinfo (Cygwin Native): Fix typos. Clarify the types of + debugging information produced by the various "set debug..." + options. + +2006-02-01 Daniel Jacobowitz + + * gdb.texinfo (Files): Remove obsolete bits from the description + of "symbol-file". + +2006-01-25 Jim Blandy + + * gdbint.texinfo (Testsuite): Explain how to run selected tests. + +2006-01-24 Jim Blandy + + * gdbint.texinfo (Frames): Document the basics of GDB's register + unwinding model, and explain the existence of the "sentinel" frame. + +2006-01-23 Andrew Stubbs + + * gdb.texinfo (Choosing files): Mention that -directory is used + for script files. + (Specifying source directories): Likewise. + (Command files): Explain how script files are found. + +2006-01-21 Eli Zaretskii + + * gdb.texinfo (Backtrace): Describe how to get backtrace of all + the threads in a multi-threaded program. + (Threads): The threadno argument of "thread apply" can be a range + of numbers. + +2006-01-18 Jim Blandy + + * gdbint.texinfo (Coding): Add entry for -Wno-pointer-sign to list + of warning flags. + +2006-01-13 Eli Zaretskii + + * gdb.texinfo (Sequences): Improve menu annotations. + (Define): Add index entries for arguments of user-defined + commands. Move the description of flow-control commands... + (Command Files): ...to here. Document loop_break and + loop_continue. + (Define, Command Files): Document `end' and add index entries for + it. + +2006-01-04 Michael Snyder + + * gdb.texinfo: Add documentation for linux-fork. + * gdbint.texinfo: Add internal documentation for checkpoints. + +2006-01-02 Paul N. Hilfinger + + * gdb.texinfo (Omissions from Ada): Document that there is now + limited aggregate support. + +2005-12-28 Eli Zaretskii + + * gdb.texinfo (Registers): Describe how to refer to SSE and MMX + registers and the likes. + +2005-12-24 Eli Zaretskii + + * gdb.texinfo (Target Commands, Bug Reporting, File Options) + (Symbols): Fix usage of "e.g.". + (Memory Region Attributes): Fix usage of "etc." + + * gdbint.texinfo (libgdb, Symbol Handling, Native Debugging) + (Coding): Fix usage of "e.g.". + +2005-12-23 Eli Zaretskii + + * stabs.texinfo: + * refcard.tex: + * gpl.texi: + * gdbint.texinfo: + * gdb.texinfo: + * gdb-cfg.texi: + * fdl.texi: + * annotate.texinfo: + * all-cfg.texi: + * Makefile.in: Add (C) after Copyright. Update the FSF + address. + +2005-12-03 Eli Zaretskii + + * gdb.texinfo (Connecting): Explain that `monitor' is a way to + extend GDB with commands for external monitor. + +2005-12-02 Andrew Stubbs + + * gdb.texinfo (Convenience variables): Add init-if-undefined command. + +2005-11-25 Joel Brobecker + + * gdbint.texinfo (Start of New Year Procedure): New chapter. + +2005-11-21 Jim Blandy + + * gdb.texinfo (Tracepoint Packets): Document restrictions on + placement of 'R' actions in tracepoint action packets; document + dependence of 'X' and 'M' actions on a preceding 'R' action for + their registers. + +2005-11-19 Jim Blandy + + * gdb.texinfo (Tracepoint Packets): New node. + (General Query Packets): Add entries for the tracepoint packets, + referring to the "Tracepoint Packets" node. + (Tracepoints): Add reference to "Tracepoint Packets". + +2005-11-18 Kevin Buettner + + * gdb.texinfo (set remotebreak): Add anchor. + (X packet): Likewise. + (Remote Protocol): Add new section `Interrupts' and new index + entry `interrupts (remote protocol)'. + +2005-11-18 Jim Blandy + + * gdb.texinfo (Packets): Move information out of 'q' and 'Q' + entries into the General Query Packets section. Add a + cross-reference to that section. Drop description of replies, as + these are covered in the descriptions of each packet. + (General Query Packets): Add introductory text. Explain naming + conventions, and how the end of a name is recognized. + +2005-11-17 Kevin Buettner + + * gdb.texinfo (Remote configuration): Fix typo in description of + "set remotebreak" command. + +2005-11-16 Jim Blandy + + * gdb.texinfo (Packets, Stop Reply Packets) + (General Query Packets): Various formatting cleanups. + - Use @samp for packet contents. + - Drop summaries from packet @item lines; the same information appears + immediately below in the description. + - Delete paragraph breaks after packet @item commands, so that the + description appears directly to the right of the packet prototype + in the printed manual, if it fits. + - Place spaces in packet prototypes between @vars and non-@var + letters, and explain that they're just for formatting. + - Use @dots{} instead of '...'. + - Fix uses of @code where @var was needed. + - Replace "deprecated" markers with English text spelling out the + packet's status and the preferred alternatives. + - Remove "(reserved)" markers on 'A' and 'I' packets; it's unclear + what this ever meant. + - Remove "(draft)" markers on 'i' packets; nobody has commented on + this for a long time. + - Remove "(draft)" markers on 'z' and 'Z' packets; these have been + implemented several times, and have been in use for years. + +2005-11-15 Jim Blandy + + * gdb.texinfo (Packets): Add index entries for 'm' packet + disclaimers. + + * gdb.texinfo (Packets): Clarify lack of restrictions on behavior + of stub when processing an 'm' packet. + + * gdb.texinfo (Packets): Mention that packets beginning with + letters are reserved once, at the top, instead of actually listing + them all and saying "reserved". + +2005-11-15 Andrew Stubbs + + * gdb.texinfo (User-defined commands): Add $argc. Add missing 'end'. + Change @var{$arg0 to @code{$arg0. + +2005-11-14 Wu Zhou + + * gdb.texinfo (Fortran): Add some words about Fortran debugging. + +2005-11-12 Jim Blandy + + * gdb.texinfo (General Query Packets): Put packets in alphabetical + order. Remove extraneous 'z'. + +2005-11-07 Andrew Stubbs + + * gdb.texinfo (Choosing files): Add --eval-command. + +2005-11-04 Andrew Stubbs + + * gdb.texinfo (Choosing modes): Add --return-child-result. + + +2005-11-01 Andrew Stubbs + + * gdb.texinfo (Choosing modes): Add --batch-silent. + +2005-10-28 Eli Zaretskii + + * gdb.texinfo (GDB/MI Variable Objects): Fix @pxref usage under + "The -var-update Command". + +2005-10-03 Joel Brobecker + + * gdb.texinfo (Print Settings): Add documentation for set/show + print array-indexes. + +2005-09-17 Daniel Jacobowitz + + * gdb.texinfo (Contributors): Thank Andrew Cagney for releases + 6.2 and 6.3. + +2005-08-27 Eli Zaretskii + + * gdb.texinfo (File Options): Don't document --mapped, it's gone + since 19-Jan-2004. + (Files): Likewise. + (Variables, Symbols): Document the "" message and + its reasons. + +2005-08-01 Fred Fish + + * gdb.texinfo (SETUP_ARBITRARY_FRAME): Remove obsolete reference. + +2005-07-15 Nick Roberts + + * gdb.texinfo (GDB/MI Variable Objects): Describe print-values + option for -var-list-children and -var-update. + (GDB/MI Stack Manipulation): Simplify description of + print-values option for -stack-list-locals. + (GDB/MI Command Description Format): Clarify. + (Mode Options): Spelling of superseded. + +2005-07-12 Bob Rossi + + * gdb.texinfo (GDB/MI Miscellaneous Commands): Fix -inferior-tty-show + corresponding GDB command comment. + +2005-07-06 Bob Rossi + + * gdb.texinfo (GDB/MI Miscellaneous Commands): Add -inferior-tty-set + and -inferior-tty-show. + (Input/Output): Document "set/show inferior-tty" and tty alias. + +2005-07-02 Nathan J. Williams + + * gdb.texinfo (Packets): Change description of 'D' packet to note + that GDB does wait for a response. + +2005-06-22 Nick Roberts + + * gdb.texinfo (History) Rename "Command History". + (Command History): Move node "Server Prefix" from section on + Annotations here. + +2005-06-19 Nick Roberts + + * gdb.texinfo (GDB/MI Stack Manipulation): + Re-instate -stack-info-frame with example. Say that it gets + info on selected frame, not current frame. + +2005-06-18 Eli Zaretskii + + * gdb.texinfo (Server): Clarify that `file' should be used before + connecting to the server. + (Files): Add an xref to the above description. + (Output Formats): More detailed description of the `c' format. + (Memory): List explicitly all the formats supported by `x'. + (Threads): Add an @cindex entry for "thread apply". + (Files): Document the possibility of loading unlinked object + files. Add more indexing for solib-absolute-prefix and + --with-sysroot. + (Machine Code): Document possible problems with locations in + shared libraries. + (Backtrace): Document that free-standing environments do not need + to have a `main' function. + +2005-06-18 Nick Roberts + + * gdb.texinfo (GDB/MI Stack Manipulation): Remove reference to + -stack-info-frame. + +2005-06-07 Andrew Cagney + + * gdb.texinfo (Contributors): Note the original multi-arch + contributors. + +2005-06-03 Eli Zaretskii + + * gdb.texinfo (Registers): Add index entries for the standard + registers. + (Frames): Add cross-reference from frame pointer description to + the Registers node. + (Annotations Overview): Fix the reference to GDB name. + +2005-06-01 Eli Zaretskii + + * gdb.texinfo (Set Watchpoints): Remove @vindex entry for + can-use-hw-watchpoints. + +2005-05-28 Bob Rossi + + * gdb.texinfo (GDB/MI Out-of-band Records): Add bullet enumerating + the possible reasons why an exec async record would be returned to FE. + +2005-05-26 Andrew Cagney + + * gdb.texinfo: Note that Elena Zannoni, Fernando Nasser, and + Andrew Cagney implemented the original GDB/MI. + +2005-05-23 Orjan Friberg + + * gdb.texinfo (CRIS): Update the cris-version and cris-dwarf2-cfi + documentation. Add documentation for cris-mode. + +2005-05-20 Eli Zaretskii + + * gdb.texinfo (Numbers): Explain the example and make the wording + more acurate. + +2005-05-17 Daniel Jacobowitz + Dennis Brueni + + * gdb.texinfo (GDB/MI Breakpoint Table Commands) + (GDB/MI Data Manipulation, GDB/MI Program Control) + (GDB/MI Stack Manipulation): Update examples to include the fullname + attribute in stack frames. + +2005-05-12 Eli Zaretskii + + * gdb.texinfo (Startup): Fix last change. Treat gdb.ini like we + do with other non-standard names of init files. + +2005-05-11 Eli Zaretskii + + * gdb.texinfo (Command Files): Move the description of the startup + from here... + (Startup): ...to this new subsection of the Invocation chapter. + Rearrange the description of init files more logically and add a + cross-reference to "Command Files". Document the special gdbinit + name for CISCO 68k. Expand the description of what GDB does + during startup. + (History): Add index entry for HISTSIZE. + +2005-05-02 Mark Kettenis + + * gdb.texinfo (Files): Remove documentation for auto-solib-limit. + +2005-05-02 Eli Zaretskii + + * gdb.texinfo (SVR4 Process Information, The isatty call) + (The system call): Don't use foo(N) notation for man pages and + functions. + (Compilation, DJGPP Native): Improve wording. + +2005-04-27 Eli Zaretskii + + * gdb.texinfo (Backtrace): Describe backtraces with arguments that + were optimized away. + +2005-04-22 Eli Zaretskii + + * gdb.texinfo (Remote configuration): Document "set/show + get-thread-local-storage-address". Add cross-reference to the + description of the qGetTLSAddr packet. + (General Query Packets): Mention "set remote + get-thread-local-storage-address" and add a reference to its + description. + +2005-04-19 Nick Roberts + + * gdb.texinfo (Backtrace): Describe 'bt full'. + +2005-04-17 Nick Roberts + + * gdb.texinfo (Mode Options): Fix typo. + (GDB/MI): Describe how to invoke GDB/MI. + +2005-04-16 Eli Zaretskii + + * gdb.texinfo (OS Information): Renamed from Auxiliary Vector; all + references changed. Add description of "info udot". + (Files): Document "set/show stop-on-solib-events". + (M32R/D): Document "set/show download-path", "set/show + board-address", "set/show server-address", "upload", "tload". + Document "sdireset", "sdistatus", "debug_chaos", "use_debug_dma", + "use_mon_code", "use_ib_break", "use_dbt_break". + (Maintenance Commands): Improve indexing. + (Target Commands): Document "set/show hash", "set/show debug + monitor". + (SVR4 Process Information): Document "info pidlist" and "info + meminfo". Document "set/show procfs-tarce" and "set/show + procfs-file". Document "proc-trace-*" and "proc-untrace-*". + (Symbols, The Print Command with Objective-C): Improve indexing. + (Objective-C): Add references to "info classes" and "info + selectors". + (Debugging Output): Improve wording. Document "set/show debug + solib-frv". Fix "set/show debugvarobj". + (Set Breaks): Add index entry for "hardware breakpoints". + (Renesas ICE): Document "e7000", "ftplogin", "ftpload", "drain", + and "set/show usehardbreakpoints". + (MIPS Embedded): Document "se/show syn-garbage-limit", "set/show + monitor-prompt", "set/show monitor-warnings", "pmon". + (ARM): Document "rdilogfile", "rdilogenable", "set/show + rdiromatzero", "set/show rdiheartbeat". + (PowerPC): Document SDS-specific commands "set/show sdstimeout", + "sds". + (Embedded Processors): Document the "sim" command. + (Remote): Document the "remote" command. + (DJGPP Native): Document the "info serial" command. + (Threads): Document "maint info sol-threads". + (Files): Document "nosharedlibrary", "add-symbol-file-from-memory". + (Set Breaks): Improve indexing. + (Command Syntax): Add a reference to dont-repeat. + (Define): Document "dont-repeat". + (TUI Commands): Document "tabset". + (WinCE): New subsection. Document "set/show remotedirectory", + "set/show remoteupload", "set/show remoteaddhost". + +2005-04-15 Eli Zaretskii + + * gdb.texinfo (Hurd Native): New subsection, documents + Hurd-specific commands. + (Maintenance Commands): Add cross-reference to "Debugging Output". + (Debugging Output): Document "set/show debug lin-lwp". + (MIPS): Improve documentation of heuristic-fence-post. Document + "set/show mips abi", "set/show mips saved-gpreg-size", "set/show + mips stack-arg-size", "set/show mips mask-address", "set/show mips + remote-mips64-transfers-32bit-regs", "set/show debug mips". + (ARM): Document ARM-specific commands. + (AVR): New section. Document "info io_registers". + (CRIS): New section. Document "set/show cris-version" and + "set/show cris-dwarf2-cfi". + (HPPA): New section. Document "set/show debug hppa" and "maint + print unwind". + (Neutrino): New subsection. Document "set/show debug nto-debug". + (Super-H): New section. Document the "regs" command. + (Debugging Output): Document "set/show debug aix-thread". + +2005-04-09 Eli Zaretskii + + * gdb.texinfo (Print Settings): Document "set/show print + pascal_static-members", "set print repeats", "show print + null-stop". Improve indexing. Fix documentation of "set print + union". + (Pascal): New section. + (Supported languages): Rename from "Support"; all references + updated. Add a menu item for Pascal. + (Numbers): Document "set radix. + (Screen Size): Document "set/show pagination". + (MIPS Embedded): Remove "set processor" documentation. + (Remote configuration): Document "set/show X/P/Z-packet", + "set/show read-aux-vector-packet", "set/show remote + symbol-lookup-packet", "set/show remote verbose-resume-packet", + "set/show remoteaddresssize", "set/show remotebaud", "set/show + remotedebug", "set/show remotebreak", "set/show remotedevice", + "set/show remotelogfile". + (Auxiliary Vector): Add reference to the description of the + read-aux-vector-packet setting. + (Set Watchpoints): Add a cross-reference to "set remote + hardware-breakpoint-limit". + (General Query Packets): Add indexing of requests and + cross-references to related commands in "Remote configuration". + (File-I/O Overview, The system call): Fix wording and typos. + (Thread Stops): Add index entries. + (Continuing and Stepping): Document "show step-mode". + (i386): New node. Document "set/show struct-convention". + (Files): Document "show trust-readonly-sections". + (Calling): Document "set/show unwindonsignal". + (Messages/Warnings): Add index entries. + (Maintenance Commands): Document "set/show watchdog". + (Annotations Overview): Document "show annotate". + (Set Watchpoints): Add index entries. + (Symbols): Fix doc of case-sensitive. + (ABI): Document "show coerce-float-to-double". + (Convenience Vars, Help): Improve indexing. + (Machine Code): Document "show disassembly-flavor". + (Debugging C plus plus): Document "show overload-resolution". + (Value History, Signaling): Add index entries. + +2005-04-08 Eli Zaretskii + + * gdb.texinfo (Show): Move @kindex entries to their proper places. + (Processes): Fix wording. + (History, List, Logging output, Define, Symbols, Print Settings): + Improve indexing. + +2005-04-03 Eli Zaretskii + + * gdb.texinfo (Targets): Document "set/show architecture". Remove + redundant index entry for "target" command. + (Backtrace): Add index entries. + (Symbols, Fortran): Document the "set case-sensitive" command. + (DJGPP Native): Document "set com1base", "set com1irq", etc. + (Print Settings): Add index entry for "set demangle-style". + (Target Commands): Document "set download-write-size". + (Debugging Output): Document "set exec-done-display". + +2005-04-02 Eli Zaretskii + + * gdb.texinfo (Files): Fix the name and documentation of + add-shared-symbol-files. Document its alias assf. Update the + list of OSs where GDB supports shared libraries. Fix markup. + (Continuing and Stepping): Add reference to @var{location} in the + text. + (Dump/Restore Files): Fix reference to @{filename}. + (Help): Fix wording. + (Attach): Ditto. + (Set Watchpoints): Ditto. + (Backtrace): Remove redundant index entries. Improve index + entries. + (Delete Breaks): Fix wording. + (Memory): Document the compare-sections command. + (Memory Region Attributes): Improve wording. + (Disabling): Improve wording. + (Fortran): New subsection. Document the "info common" command. + (Help): Document aliases "info copying" and "info warranty". + (Caching Remote Data): New section. Document the "set/show + remotecache" and "info dcache" commands. + (Show): Fix wording of the documentation of the "set + extension-language" command. + (Signals): Add index entry for "info handle". + (Memory Region Attributes): Fix punctuation. + (Symbols): Change the arg name to "location" and refer to it in + the text. Fix wording of "info types" doc. + (Threads): Fix usage of @enumerate @item's. + (Listing Tracepoints): Add index entry for "info tp". + (Set Watchpoints): Add xref to "info break" description. + (Macros): Add an index entry for "macro exp1". Document the + "macro list" command. + (Maintenance Commands): Document "flushregs", "maint agent", + "maint check-symtabs", "maint cplus", "maint demangle", "maint + deprecate", "maint undeprecate", "maint dump-me", "maint packet", + "maint print architecture", "maint print objfiles", "maint print + statistics", "maint print type", "maint show-debug-regs", "maint + space", "maint time", and "maint translate-address". + (Connecting): Document the "monitor" command. + (Annotations Overview): Describe the "set annotate" command. + +2005-04-01 Eli Zaretskii + + * gdb.texinfo (Set Watchpoints): Document can-use-hw-watchpoints. + Rearrange index entries and improve wording about support for + hardware watchpoints. + +2005-03-10 Bob Rossi + + * gdb.texinfo: Update copyright + +2005-02-09 Theodore A. Roth + + * gdb.texinfo (General Query Packets): Fix texinfo compile warning and + error. + +2005-03-07 Joel Brobecker + + * observer.texi (executable_changed): New observer. + +2005-02-03 Kevin Buettner + + * gdb.texinfo (General Query Packets): Document qGetTLSAddr packet. + +2005-01-17 Michael Snyder + + * gdb.texinfo: Fix spelling, infinte -> infinite. + +2005-01-08 Mark Kettenis + + * observer.texi (GDB Observers): Document "solib_loaded". + +2005-01-07 Andrew Cagney + + * configure.ac: Rename configure.in, require autoconf 2.59. + * configure: Re-generate. + + * configure.in: Replace configdirs with multiple references to + AC_CONFIG_SUBDIRS. + * configure: Re-generate. + +2005-01-04 Andrew Cagney + + * gdbint.texinfo (Versions and Branches): Make the date (YYYYMMDD) + part of the version number. + +2004-12-24 Mark Kettenis + + * gdbint.texinfo (Algorithms): Remove description of + TARGET_DISABLE_HW_WATCHPOINTS and TARGET_ENABLE_HW_WATCHPOINTS. + +2004-12-07 Jim Blandy + + * gdb.texinfo (General Query Packets): Specify that thread ID's in + the 'qC' and 'qThreadInfo' packets are unsigned hexidecimal + numbers. + +2004-12-07 Andreas Schwab + + * gdb.texinfo (Mode Options): Document -l option. + +2004-12-04 Eli Zaretskii + + * gdbint.texinfo (Algorithms): More accurate description of + STOPPED_BY_WATCHPOINT. Point out that target_stopped_data_address + is not needed unless data-read and data-access watchpoints are + supported. Add a description of how GDB checks whether the + inferior stopped because a watchpoint was hit. + +2004-11-23 Eli Zaretskii + + * gdb.texinfo (Files): Add cross-reference to description of + -readnow command-line switch. + +2004-11-10 Randolph Chung + + * gdb.texinfo: Document set/show backtrace past-entry commands. + Rearrange index entries for set/show backtrace past-main. + +2004-11-10 Jon Beniston + + Committed by Andrew Cagney . + * gdb.texinfo (Remote Serial Protocol): Further describe + binary transfer escaping mechanism . + +2004-11-08 Randolph Chung + + * gdb.texinfo (inferior_debugging info): Document "set debug infrun" + and "show debug infrun". Add index entries. + +2004-10-23 Eli Zaretskii + + * gdb.texinfo (SVR4 Process Information): Document subcommands of + "info proc" that are already implemented. Add index entries. + (Working Directory): Add a cross-reference to "info proc" command. + (Files): Add a tip for decreasing memory used for symtabs from + shared libraries. + (Starting): Fix whitespace; make "elaboration" stand out where it + is first used, and add an index entry for the term. + (Calling): Expand and elaborate text. Add "print". Add the + description of problems with weak aliases. + (Core File Generation): New section. + +2004-10-12 Andrew Cagney + + * gdbint.texinfo (Versions and Branches): New chapter. + (Releasing GDB): Delete "Versions and Branches" section. + (Top): Add "Versions and Branches". + +2004-10-08 Eli Zaretskii + + * gdb.texinfo (Editing, History): Add cross-references to the + included Readline and History user documentation. Remove + references to the symbol have-readline-appendices which is unused + and undefined. + (History): Fix indexing. + +2004-10-08 Jeff Johnston + + * gdbint.texinfo (target_stopped_data_address): Update to + new prototype. + (i386_stopped_data_address): Update prototype and description. + (i386_stopped_by_watchpoint): New function and description. + +2004-10-03 Paul N. Hilfinger + + * gdb.texinfo (Filenames): Add Ada suffixes. + (Ada) New section. + +2004-09-27 Andrew Cagney + Robert Picco + + * gdb.texinfo (Packets): Document the "p" packet. + +2004-09-21 Jason Molenda (jmolenda@apple.com) + + * gdb.texinfo (Paths and Names of the Source Files): Document the + meaning of values in the 'desc' field of a SO stab. + +2004-09-20 Daniel Jacobowitz + + * gdb.texinfo (Maintenance Commands): Document "maint set dwarf2 + max-cache-age" and "maint show dwarf2 max-cache-age". + +2004-09-16 Eli Zaretskii + + * gdb.texinfo (Set Breaks): Add index entry for setting + breakpoints on overloaded C++ functions that are not members of + any classes. Add an example and an index entry for setting + breakpoints on all program functions. + (Character Sets, Macros, Overlay Commands) + (Non-debug DLL symbols, GDB/MI Output Syntax) + (Annotations Overview, Maintenance Commands, File-I/O Overview): + Use "(@value{GDBP})" instead of a literal "(gdb)". + +2004-09-12 Andrew Cagney + + * gdbint.texinfo (Native Debugging): Delete description of + FILES_INFO_HOOK. + +2004-09-11 Paul Hilfinger + + * gdbint.texinfo (User Interface): Change local_hex_string_custom + to hex_string_custom (not historically correct, but more + understandable, given the current code). + +2004-09-03 Andrew Cagney + + * gdbint.texinfo (Native Debugging): Delete SVR4_SHARED_LIBS. + +2004-09-01 Jeff Johnston + + * observer.texi (solib_unloaded): New observer. + +2004-08-24 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Add missing + comma. + +2004-08-20 Michael Chastain + + * (Using the Testsuite): build != host is supported, + but some test scripts do not support build != host. + +2004-08-14 Mark Kettenis + + * gdbint.texinfo (Host Definition): Delete description of + FCLOSE_PROVIDED and GETENV_PROVIDED. + +2004-08-11 Joel Brobecker + + * gdbint.texinfo (Host Definition): Remove documentation for + USE_O_NOCTTY, no longer used. + +2004-08-05 Mark Kettenis + + * gdbint.texinfo (Host Definition): Delete description of + NO_SYS_FILE. + (Native Debugging): Delete description of KERNEL_U_ADDR_BSD and + PTRACE_FP_BUG. + +2004-08-05 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Delete + reference to deprecated_read_fp. + +2004-08-02 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Delete + description of DEPRECATED_REGISTER_BYTES. + +2004-07-30 Baurjan Ismagulov + + * gdb.texinfo (Source Path): Document the new behavior of + searching for the source files. + +2004-07-17 Eli Zaretskii + + * gdb.texinfo (Edit): Fix markup of EDITOR and improve wording. + (Search, Expressions, Arrays, Variables, Data, Machine Code) + (Auto Display): Improve indexing. + +2004-07-16 Andrew Cagney + + * gdb.texinfo (Mode Options): Delete documentation on "-async" and + "-noasync". + +2004-07-09 Eli Zaretskii + + * gdb.texinfo: Fix @kindex entries so that multiple commands that + have the same prefix have only their prefix in the index. + +2004-07-03 Mark Kettenis + + * gdb.texinfo (BSD libkvm Interface): New node (section) + (Native): Add it to the menu. + +2004-07-01 Mark Kettenis + + * gdbint.texinfo (Target Architecture Definition): Remove + PCC_SOL_BROKEN. + +2004-06-24 Mark Kettenis + + * gdbint.texinfo (Target Architecture Definition): Remove + SUN_FIXED_LBRAC_BUG. + +2004-06-26 Andrew Cagney + + * gdbint.texinfo (Coding): Replace xasprintf with xstrprintf. + +2004-06-20 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Deprecate + USE_STRUCT_CONVENTION. + +2004-06-19 Michael Chastain + + gdb.texinfo (Bug Reporting): Mention session recording, + with the script command or Emacs. + +2004-06-18 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Deprecate + FUNCTION_START_OFFSET. + +2004-06-14 Andrew Cagney + + Based on changes from Karl Berry. + * gdb.texinfo: Do not use @sc in a direntry. + * stabs.texinfo: Change @dircateogry to "Software development". + * gdbint.texinfo, gdb.texinfo, annotate.texinfo: Ditto. + +2004-06-13 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Delete + description of RETURN_VALUE_ON_STACK. + +2004-06-09 Andrew Cagney + + * gdbint.texinfo (Native Debugging): Restore "@table @code" + deleted by previous patch. + +2004-06-08 Andrew Cagney + + * gdbint.texinfo (Native Debugging): Delete documentation on + ATTACH_DETACH. + +2004-06-06 Randolph Chung + + * gdb.texinfo (push_dummy_call): Use @code{struct value}. + +2004-06-06 Randolph Chung + + * gdb.texinfo (push_dummy_call): Update argument list to match + the new push_dummy_call method signature. Describe the function + argument. + +2004-05-24 Joel Brobecker + + * gdb.texinfo (Starting): Document new start command. + +2004-05-21 Andrew Cagney + + * observer.texi (GDB Observers): Document "inferior_created". + +2004-05-08 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Delete + description of DO_DEFERRED_STORES. + + * gdbint.texinfo (Target Architecture Definition): Delete + references to DEPRECATED_FIX_CALL_DUMMY. + + * gdbint.texinfo (Target Architecture Definition): Delete + description of DEPRECATED_CALL_DUMMY_WORDS, + DEPRECATED_SIZEOF_CALL_DUMMY_WORDS, and CALL_DUMMY. + + * gdbint.texinfo (Target Architecture Definition): Delete + description of DEPRECATED_PUSH_DUMMY_FRAME. + + * gdbint.texinfo (Target Architecture Definition): Delete + reference to DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET. + +2004-05-07 Andrew Cagney + + * observer.texi (GDB Observers): Add "Debugging" section. Include + cross reference to "set/show debug observer". + * gdb.texinfo (Debugging Output): Document "set/show debug + observer". + +2004-05-01 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Delete + description of DEPRECATED_PC_IN_SIGTRAMP. + +2004-04-30 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Delete + documentation for BELIEVE_PCC_PROMOTION_TYPE, no longer defined. + +2004-04-30 Orjan Friberg + + * observer.texi (GDB Observers): Correct spelling. + +2004-04-26 Orjan Friberg + + * observer.texi (GDB Observers): Add target_changed event. + +2004-04-08 Andrew Cagney + + * observer.texi (GDB Observers): Rework, provide generic observer + definitions and then a list of observable events. + +2004-04-04 Andrew Cagney + + * gdbint.texinfo (Host Definition): Delete reference to + NO_SIGINTERRUPT. + +2004-04-02 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Delete + reference to DEPRECATED_CALL_DUMMY_LENGTH. + +2004-03-28 Stephane Carrez + + * gdb.texinfo (TUI Commands): Document tui reg commands. + +2004-03-26 Andrew Cagney + + * gdb.texinfo (TUI): Delete reference to --enable-tui. Mention + "gdbtui". + (Mode Options): Mention "gdbtui". Use "Text" not "Terminal". + (Contributors): Mention both Text and Terminal User Interface. + +2004-03-23 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Deprecate + references to SIGTRAMP_START and SIGTRAMP_END. + +2004-03-23 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Deprecate + references to PC_IN_SIGTRAMP. + +2004-03-19 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Delete + reference to GDB_TARGET_IS_HPPA. + +2004-03-18 Andrew Cagney + + * gdbint.texinfo (Coding): Update section on gdbarch_data, + describe pre_init and post_init. + +2004-03-09 Daniel Jacobowitz + + * gdb.texinfo (Debugging Output): Document values for "set debug + target". + +2004-02-28 Andrew Cagney + + * gdb.texinfo (Contributors): Mention GDB 6.1 release engineer. + +2004-02-26 Jeff Johnston + + * gdb.texinfo (breakpoints): Add information about the + new "set breakpoint pending" and "show breakpoint pending" + commands. + +2004-02-26 Andrew Cagney + + * gdbint.texinfo (Coding): Document use of gdbarch_obstack_zalloc + in Per-architecture module data section. + +2004-02-25 Roland McGrath + + * gdb.texinfo (General Query Packets): Document qPart:... packets. + +2004-02-24 Andrew Cagney + + * annotate.texinfo: Wrap fdl.texi include in raise/lower sections. + * gdb.texinfo, gdbint.texinfo, stabs.texinfo: Ditto. + * fdl.texi: Import Version 1.2, November 2002. + +2004-02-17 Andrew Cagney + + * gdb.texinfo (Mode Options): Note that "mi1" is deprecated. + +2004-02-16 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Deprecate + FRAMELESS_FUNCTION_INVOCATION. + +2004-02-16 Andrew Cagney + + * gdbint.texinfo (Coding): Mention -Wunused-function. + +2004-02-14 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Delete + description of DEPRECATED_CALL_DUMMY_STACK_ADJUST. + +2004-02-12 Elena Zannoni + + * gdb.texinfo: Properly quote the name "C++". + * gdbint.texinfo: Ditto. + * stabs.texinfo: Ditto. + +2004-02-11 Elena Zannoni + + * gdbint.texinfo (Support Libraries): Add doco about obstacks and + minimal information about libiberty. + +2004-02-06 Michael Chastain + + * gdb.texinfo (Auxiliary Vector): Fix thinko with @value{GDBN}. + +2004-02-04 Roland McGrath + + * gdb.texinfo (Auxiliary Vector): New node (section). + (Data): Add it to the menu. + +2004-02-02 Jeff Johnston + + * gdb.texinfo (Breakpoints): Add information about pending + breakpoint support. + +2004-01-26 Andrew Cagney + + * gdb.texinfo (Overview): Delete references to the cisco protocol + including the "N" response. + +2004-01-26 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Rename + EXTRACT_STRUCT_VALUE_ADDRESS to + DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS. + +2004-01-24 Eli Zaretskii + + * gdb.texinfo (KOD): Document "show os". Add index entries for + "set/show os" and "info cisco" commands. + +2004-01-21 Eli Zaretskii + + * Makefile.in (install-info): Prepend $(DESTDIR) to $(infodir). + +2004-01-19 Michael Chastain + + * gdbint.texinfo: Delete USE_MMALLOC, NO_MMCHECK, MMCHECK_FORCE, + MMAP_BASE_ADDRESS, MMAP_INCREMENT. + +2004-01-19 Nick Roberts + + * gdb.texinfo (GDB/MI Stack Manipulation): Describe extension to + -stack-list-locals. + (GDB/MI Variable Objects): Describe extension to + -var-list-children. + +2004-01-17 Daniel Jacobowitz + + * gdbint.texinfo (DECR_PC_AFTER_HW_BREAK): Don't document. + +2004-01-17 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Delete + documentation on DEPRECATED_NPC_REGNUM. + +2004-01-13 Daniel Jacobowitz + + * gdb.texinfo: Update copyright year. Mention that set + follow-fork-mode is supported on GNU/Linux. Remove documentation of + "set follow-fork-mode ask". + +2004-01-13 Andrew Cagney + + * gdbint.texinfo: Update copyright year. + (Coding): Add -Wunused-label to list of -Werror warnings. + +2004-01-08 Jason Molenda + Eli Zaretskii + + * gdb.texinfo: Update copyright. + (Objective-C): "methodName" typeo fixed. Add @code/@var markup + around names, as appropriate. Minor syntax cleanup of + _NSPrintForDebugger explanation. Two spaces after periods. + GDBN used instead of lit. "gdb". Index entries added for + print-object and _NSPrintForDebugger. @noindent added in one spot. + +2003-11-11 Elena Zannoni + + * stabs.texinfo: Add dircategory and direntry commands. + * annotate.texinfo: Ditto. + +2003-11-10 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Replace the + return_value method's "inval" and "outval" parameters with + "readbuf" and "writebuf". + +2003-10-28 Jim Blandy + + * gdb.texinfo (The F request packet, The F reply packet): Renamed + from "The `F' request packet" and "The `F' reply packet", to make + texi2dvi happy. + (File-I/O remote protocol extension): Update menu entries, too. + +2003-10-26 Michael Chastain + + * gdb.texinfo (Thread Stops): Document the issue with + premature return from system calls in multi-threaded programs. + +2003-10-24 Andrew Cagney + + * annotate.texinfo: Fix "fortunatly"[sic]. + +2003-10-23 Kei Sakamoto + + * gdb.texinfo (Contributors to GDB): Replace "Renesas" + with "Hitachi" and "Mitsubishi". + +2003-10-20 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Document + gdbarch_return_value. Add cross references from + USE_STRUCT_CONVENTION, EXTRACT_RETURN_VALUE, and + STORE_RETURN_VALUE, and from/to EXTRACT_STRUCT_VALUE_ADDRESS. + +2003-10-18 Mark Kettenis + + * gdbint.texinfo (Target Architecture Definition): Document + regset_from_core_section. + +2003-10-16 Kei Sakamot Sakamoto + + * gdb.texinfo (M32R/D): Mention m32rsdi target. + +2003-10-15 Kevin Buettner + + From Anthony Green : + * gdb.texinfo (Breakpoints related warnings): Insert into menu. + +2003-10-14 Kevin Buettner + + * gdb.texinfo (Breakpoint related warnings): New node. + * gdbint.texinfo (ADJUST_BREAKPOINT_ADDRESS): Document. + +2003-10-13 Daniel Jacobowitz + + * gdb.texinfo (Remote Protocol): Document v and vCont. + +2003-10-10 Kei Sakamoto + + * gdb.texinfo: Replace "Hitachi" and "Mitsubishi" with "Renesas". + * gdbint.texinfo: Ditto. + +2003-10-09 Andrew Cagney + + From 2003-09-18 David Anderson : + * gdb.texinfo (GDB/MI Symbol Query): Replace "comamnd" with + "command". + +2003-10-03 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Deprecate + IBM6000_TARGET. Mention that it implies an RS/6000 system and not + just target. + +2003-10-02 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Rename + REGISTER_RAW_SIZE to DEPRECATED_REGISTER_RAW_SIZE. + * gdb.texinfo (Packets, Stop Reply Packets): Ditto. + * gdbint.texinfo (Target Architecture Definition): Rename + +2003-09-30 Andrew Cagney + + REGISTER_VIRTUAL_SIZE to DEPRECATED_REGISTER_VIRTUAL_SIZE. + (Target Architecture Definition): + + * gdbint.texinfo (Target Architecture Definition): Rename + REGISTER_VIRTUAL_TYPE to DEPRECATED_REGISTER_VIRTUAL_TYPE. + +2003-09-29 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Delete + documentation for NEED_TEXT_START_END. + + * gdbint.texinfo (Target Architecture Definition): Rename + NPC_REGNUM to DEPRECATED_NPC_REGNUM. Add cross reference to + TARGET_WRITE_PC. + +2003-09-22 Michael Chastain + + * gdbint.texinfo (Testsuite Organization): Change gdb.c++ to gdb.cp. + +2003-09-21 Anthony Green + + * gdbint.texinfo (Target Architecture Definition): Fix typos. + +2003-09-21 Mark Kettenis + + * gdbint.texinfo (Target Architecture Definition): Document + stabs_argument_has_addr. + +2003-09-18 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Delete + documentation on REGISTER_NAMES. + +2003-09-13 Mark Kettenis + + * gdbint.texinfo (Target Architecture Definition): Replace + REG_STRUCT_HAS_ADDR with DEPRECATED_REG_STRUCT_HAS_ADDR. + +2003-09-11 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Replace + STACK_ALIGN with DEPRECATED_STACK_ALIGN. + +2003-08-18 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Document + "frame_red_zone_size". + +2003-08-09 Andrew Cagney + + * gdb.texinfo (Backtrace): Replace "set/show backtrace-below-main" + with "set/show backtrace past-main" and "set/show backtrace + limit". + +2003-08-08 H.J. Lu + + * Makefile.in (install-info): Support DESTDIR. + (install-html): Likewise. + +2003-08-07 Andrew Cagney + + Patch from Nick Roberts. + * gdb.texinfo (Using GDB under GNU Emacs): Fix/update key + bindings. Remove description of send-gdb-command. + +2003-08-07 Andrew Cagney + + * gdb.texinfo (Mode Options): Mention that "mi2" was included in + GDB 6.0. + +2003-08-06 Andrew Cagney + + * gdb.texinfo (Mode Options): Mention that level three is the + highest available and that level 2 is deprecated. + (Annotations Overview): Mention annotation levels. Cross reference + to "Limitations of the Annotation Interface" in annotate.texi. + (TODO, Value Annotations, Frame Annotations): Delete section. + (Displays, Breakpoint Info): Delete. + +2003-08-04 Andrew Cagney + + * agentexpr.texi: Delete @bye. + * Makefile.in (STABS_DOC_SOURCE_INCLUDES): Add "fdl.texi" + (stabs.info): Add $(srcdir) to include search path. + (html): Depend on "annotate_toc.html", and not "annotate.html". + * stabs.texinfo: Ditto. Include "fdl.texi". + * gdbint.texinfo: Update copyright statement's list of invariant + sections. + +2003-07-28 Andrew Cagney + + * Makefile.in (INFO_DEPS): Add annotate.info. + (dvi, ps, html, pdf): Add annotate. + (ANNOTATE_DOC_SOURCE_INCLUDES): New macro. + (ANNOTATE_DOC_BUILD_INCLUDES): New macro. + (ANNOTATE_DOC_FILES): New macro. + (ANNOTATE_TEX_TMPS): New macro. + (annotate.info, annotate_toc.html): Specify dependencies. + (annotate.ps, annotate.pdf, annotate.dvi): Ditto. + * annotate.texinfo: Rename annotate.texi. Get building. Add + "Migrating to GDB/MI" and "Limitations of the Annotation + Interface" chapters. Mention why it is not part of the user + guide. Update copyright notice. Include "fdl.texi". + +2003-07-26 Stephane Carrez + + * gdb.texinfo (TUI Keys): Document C-x o key to switch active window. + +2003-07-24 Daniel Jacobowitz + + * gdbint.texinfo (libgdb components): Correct a GDB to GDBN. + +2003-07-24 Daniel Jacobowitz + + * gdb.texinfo (Server): Mention pidof. + +2003-07-22 Andrew Cagney + + * gdbint.texinfo (Coding): Add -Wformat-nonliteral to -Werror + list. + +2003-06-28 Daniel Jacobowitz + + * gdb.texinfo (Logging output): New chapter. + +2003-06-24 Joel Brobecker + + * gdb.texinfo (Unsupported languages): New section. + (Languages): Add link to new section. + +2003-06-22 Andrew Cagney + + * gdb.texinfo (Contributors): Mention 6.0 release engineer. + +2003-06-22 Daniel Jacobowitz + + * gdbint.texinfo (Coding): Clarify use of gdb_XXX.h headers. + +2003-06-22 Daniel Jacobowitz + + * Makefile.in (SFILES_INCLUDED): Add agentexpr.texi. + * agentexpr.texi: Retitle section, and change it to an appendix. + Comment out texinfo initialization. Factor a @var{} into two + pieces to prevent makeinfo warnings. + * gdb.texinfo: Add Agent Expressions appendix. + +2003-06-19 Daniel Jacobowitz + + * gdbint.texinfo (Native Conditionals): Remove PREPARE_TO_PROCEED. + +2003-06-18 Daniel Jacobowitz + + * gdb.texinfo (Remote Debugging): New section "Connecting to a + remote target". Document the "detach" and "disconnect" commands. + (Server, Netware, Debug Session): Reference "Connecting to a + remote target". + (GDB/MI Target Manipulation): Document "-target-disconnect". + +2003-06-13 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Deprecate + REMOTE_BREAKPOINT, LITTLE_REMOTE_BREAKPOINT, and + BIG_REMOTE_BREAKPOINT. Cross reference BREAKPOINT_FROM_PC. + +2003-06-09 Jim Blandy + + * gdb.texinfo (Separate Debug Files): Remove extra semicolon. + +2003-06-08 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Delete + documentation on FRAME_ARGS_ADDRESS_CORRECT. + +2003-06-08 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Document + "unwind_sp". Cross reference "unwind_sp" and TARGET_READ_SP. + +2003-06-07 Adam Fedor + + * gdb.texinfo: Add Objective-C documentation. + +2003-06-01 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Add "func_addr" + parameter to "push_dummy_call". Rename "dummy_addr" to "bp_addr". + +2003-05-21 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Delete + references to "extract_address" and "store_address". + +2003-05-16 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Replace + REGISTER_BYTES with DEPRECATED_REGISTER_BYTES. Fix typo, + DEPRECATED_REGISTER_SIZE instead of REGISTER_BYTE. + +2003-05-14 Theodore A. Roth + + * gdbint.texinfo (Breakpoint Handling): Correct a double negative. + +2003-05-10 H.J. Lu + + * Makefile.in (gdb-cfg.texi): Replace $$LN_S with $(LN_S). + (gdb.dvi): Likewise. + (gdb.pdf): Likewise. + (links2roff): Likewise. + +2003-05-08 Jim Blandy + + * gdb.texinfo (Dump/Restore Files): Update documentation for + 'dump', 'append', and 'restore': note that format argument is + optional; simplify presentation of the command variants; and be + more precise about the formats. + +2003-05-07 Jim Blandy + + * gdb.texinfo (Symbols): Update documentation: 'maint list + symtabs' and 'maint list psymtabs' have been renamed 'maint info + symtabs' and 'maint info psymtabs'. + +2003-05-05 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Make + CALL_DUMMY_WORDS, SIZEOF_CALL_DUMMY_WORDS, CALL_DUMMY_LENGTH, + FIX_CALL_DUMMY, CALL_DUMMY_BREAKPOINT_OFFSET and + CALL_DUMMY_BREAKPOINT_OFFSET deprecated. + +2003-05-04 Andrew Cagney + + * gdb.texinfo (Maintenance Commands): Document "maint print + dummy-frames". + +2003-05-04 Andrew Cagney + + * gdb.texinfo (GDB/MI Symbol Query): Use @{ and @}. + +2003-05-03 J. Brobecker + + Thierry Schneider + * gdb.texinfo (section GDB/MI Symbol Query): Add documentation + for new MI command. + +2003-05-03 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Document + push_dummy_code. Add cross references. + +2003-05-02 Elena Zannoni + + * gdb.texinfo (Character Sets): Update to reflect new behavior of + set/show charsets commands. + +2003-04-28 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Replace + read_fp, TARGET_READ_FP and FP_REGNUM, with deprecated_read_fp, + DEPRECATED_TARGET_READ_FP and DEPRECATED_REGNUM. + +2003-04-28 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Rename + "tm_print_insn" to "deprecated_tm_print_insn". + +2003-04-09 Jim Blandy + + * gdb.texinfo (Symbols): Document 'maint list symtabs' and 'maint + list psymtabs'. + +2003-04-08 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Delete + references to EXTRA_FRAME_INFO. + +2003-04-08 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Delete + PRINT_TYPELESS_INTEGER. + +2003-04-02 J. Brobecker + + * observer.texi (GDB Observers): Adjust the documentation for the + normal_stop notification to better describe reality. Fix a couple + of minor typos. + +2003-04-02 Bob Rossi + + * gdb.texinfo (GDB/MI Program Control): Add + '-file-list-exec-source-file' + +2003-03-31 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Delete + references to CALL_DUMMY_P. + +2003-03-30 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Remove + reference to TARGET_WRITE_SP. + +2003-03-27 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Remove + references to write_sp. + +2003-03-27 Andrew Cagney + + * gdb.texinfo (GDB/MI Variable Objects): Replace @include with + chapter body. Use @smallexample instead of @example. + (Annotations): Ditto. + * Makefile.in (GDB_DOC_SOURCE_INCLUDES): Remove gdbmi.texinfo and + annotate.texi. + +2003-03-26 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Replace + PUSH_ARGUMENTS with push_dummy_call, add gdbarch, regcache and + dummy_addr parameters. + +2003-03-25 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Delete + reference to CALL_DUMMY_STACK_ADJUST_P. Rename + CALL_DUMMY_STACK_ADJUST to DEPRECATED_CALL_DUMMY_STACK_ADJUST. + Add reference to PUSH_ARGUMENTS. + +2003-03-23 Andrew Cagney + + * gdbint.texinfo (Algorithms, Target Architecture Definition): + Deprecate FRAME_CHAIN and FRAME_CHAIN_VALID. + +2003-03-18 J. Brobecker + + * gdbint.texinfo (Algorithms): Add new section describing the + Observer paradigm. + (Top): Add menu entry to new observer appendix. + * observer.texi: New file. + * Makefile.in (GDBINT_DOC_SOURCE_INCLUDES): Add dependency on + new observer.texi file. + +2003-03-17 Andrew Cagney + + * gdb.texinfo (DATE): Delete. Remove date from titles. Mention + that GNU Press update the manual version number. + +2003-03-12 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Delete + references to get_saved_register. Rename GET_SAVED_REGISTER to + DEPRECATED_GET_SAVED_REGISTER. + +2003-03-13 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Replace + POP_FRAME with DEPRECATED_POP_FRAME. Update description. + +2003-03-12 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Rename + FRAME_SAVED_PC to DEPRECATED_FRAME_SAVED_PC. + +2003-03-10 Corinna Vinschen + + * gdb.texinfo: Add File-I/O documentation. + +2003-03-10 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Cross reference + FRAME_SAVED_PC to unwind_pc. Document unwind_pc. + +2003-03-07 Andrew Cagney + + * gdb.texinfo (Debugging Output): Mention the "set/show debug + frame" command. + +2003-03-05 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Document + unwind_dummy_id. Cross reference unwind_dummy_id and + SAVE_DUMMY_FRAME_TOS. + +2003-03-05 James Ingham + Daniel Jacobowitz + + * gdb.texinfo (Configuring the current ABI): Document "set cp-abi" + and "show cp-abi". + +2003-03-03 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Document + register_type. + +2003-03-03 Andrew Cagney + + * stabs.texinfo (Structures): Use @samp and separate @var's + instead of a single @var containing a comma separated list. + (Unions): Ditto. + +2003-03-02 Daniel Jacobowitz + + * Makefile.in (distclean): Remove config.log. + +2003-03-01 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Rename + FRAME_INIT_SAVED_REGS to DEPRECATED_FRAME_INIT_SAVED_REGS. + +2003-03-01 Andrew Cagney + + * gdbint.texinfo: Rename INIT_EXTRA_FRAME_INFO to + DEPRECATED_INIT_EXTRA_FRAME_INFO. + +2003-02-23 Raoul Gough + + * gdb.texinfo (Cygwin Native): Links to Non-debug DLL symbols. + (Non-debug DLL symbols): New node, describing the minimal symbols + loaded from DLLs without real debugging symbols. + +2003-02-20 Andrew Cagney + + * gdb.texinfo (Set Breaks): Add cross reference to "set remote + hardware-breakpoint-limit". + (Set Watchpoints): Add cross reference to "set remote + hardware-watchpoint-limit". + (Remote configuration options): New section. + +2003-02-04 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Delete + descrption of IS_TRAPPED_INTERNALVAR. + + From Keith Seitz : + * gdb.texinfo (Interpreters): New chapter. Refer the command-line + option "-i"/"--interpreter" to this chapter. Include index + entries. + +2003-02-04 David Carlton + + * gdb.texinfo (C@t{++}): Recommend DWARF 2, then stabs+. + (Variables): Recommend stabs+ and DWARF 2. + (C plus plus expressions): Correct info about + compiler versions, debug formats. + (Contributors): Change 'DWARF2' to 'DWARF 2'. + PR symtab/874. + +2003-02-01 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Delete + description of ADDITIONAL_OPTIONS, ADDITIONAL_OPTION_CASES, + ADDITIONAL_OPTION_HANDLER, and ADDITIONAL_OPTION_HELP, and + BEFORE_MAIN_LOOP_HOOK, and DBX_PARM_SYMBOL_CLASS along with + references to nindy and i960. + * gdb.texinfo (i960): Delete all references to i960 and nindy. + +2003-02-01 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Delete + FLOAT_INFO. + +2003-01-30 Andrew Cagney + + * stabs.texinfo (Member Type Descriptor): Clarify description of + `@'. Suggested by Ben Hutchings. + +2003-01-29 Andrew Cagney + + * gdb.texinfo (M68K): Delete reference to es1800. + +2003-01-29 Andrew Cagney + + * gdb.texinfo (Maintenance Commands): Document `maint print + reggroups' and `maint print register-groups'. + * gdbint.texinfo (Target Architecture Definition): Document + register_reggroup_p. + +2003-01-23 Jim Blandy + + * gdb.texinfo (Separate Debug Files): New section. + +2003-01-22 Daniel Jacobowitz + + * gdb.texinfo (Maintenance Commands): Add "maint set profile" + and "maint show profile". + +2003-01-16 Michael Chastain + + * gdb.texinfo (Installing GDB): Warn against + ".../gdb-VERSION/gdb/configure". + (Separate Objdir): Likewise. + +2003-01-15 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Delete + definition of PRINT_REGISTER_HOOK. + +2003-01-15 Elena Zannoni + + (OpenRISC 1000): Fix formatting of command names. + +2003-01-15 Elena Zannoni + + * gdb.texinfo (Continuing and Stepping): Add new command + 'advance'. Clarify behavior of 'until'. + +2003-01-13 Daniel Jacobowitz + + * gdb.texinfo (Files): Document solib-absolute-prefix and + solib-search-path. + +2003-01-09 Michael Chastain + + * gdbint.texinfo (Configuring @value{GDBN} for Release): Delete. + (Create a Release): Add new instructions for new @file{src-release}. + Document existing instructions for @file{Makefile.in} as + being for @value{GDBN} 5.3.1 or earlier. + +2003-01-09 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Mention + frame_saved_regs_zalloc and frame_extra_info_zalloc as the way to + allocate memory. + +2003-01-04 Daniel Jacobowitz + + * gdb.texinfo (Controlling GDB): Add @kindex for + "show osabi". + (Backtraces): Add @kindex's for backtrace-below-main. + +2003-01-04 Daniel Jacobowitz + + * gdb.texinfo (Controlling GDB): Document "set osabi". + +2003-01-04 Daniel Jacobowitz + + * gdb.texinfo (Backtraces): Document "set backtrace-below-main". + * gdbint.texinfo (FRAME_CHAIN_VALID): Update documentation. + +2003-01-04 Daniel Jacobowitz + + * gdb.texinfo (Controlling GDB): Add ABI section. Document + "set coerce-float-to-double". + * gdbint.texinfo (COERCE_FLOAT_TO_DOUBLE): Remove documentation. + +2003-01-02 Andrew Cagney + + * stabs.texinfo: Remove obsolete text. + * gdbint.texinfo: Ditto. + * gdb.texinfo: Ditto. + +2002-12-29 Kazu Hirata + + * fdl.texi: Revert the last change. + +2002-12-22 Mark Kettenis + + * gdbint.texinfo (Target Architecture Definition): Update + description of gdbarch_register_osabi. + +2002-12-20 Kazu Hirata + + * agentexpr.texi: Fix typos. + * annotate.texi: Likewise. + * fdl.texi: Likewise. + +2002-12-10 Andrew Cagney + + * gdbint.texinfo (Algorithms): Replace INIT_FRAME_PC with + DEPRECATED_INIT_FRAME_PC. + +2002-12-01 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Delete + PC_IN_CALL_DUMMY. + +2002-11-28 Andrew Cagney + + * gdbint.texinfo (Host Definition): Delete documentation on + USE_GENERIC_DUMMY_FRAMES. + +2002-11-26 Elena Zannoni + + Fix PR gdb/723 and PR gdb/245. + * Makefile.in (install-info): Run the install-info command as part + of the post install steps only. + (uninstall-info): New target. + (uninstall): New target. + +2002-11-22 Elena Zannoni + + * Makefile.in (install): Make install do some real work. + +2002-11-19 Andrew Cagney + + Fix POSIX problem reported by Paul Eggert. + * Makefile.in (GDBvn.texi): Use `sed q' instead of `head -1'. + Fix PR gdb/527. + +2002-10-26 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Delete + definition of DO_REGISTERS_INFO. + +2002-10-18 Kevin Buettner + + * gdbint.texinfo (Address Classes): Fix problems with insertion + of ``{'' and ``}'' in example. + +2002-10-17 Kevin Buettner + + * gdbint.texinfo (Address Classes): New section. + (Target Conditionals): Document ADDRESS_CLASS_NAME_TO_TYPE_FLAGS, + ADDRESS_CLASS_NAME_TO_TYPE_FLAGS_P, ADDRESS_CLASS_TYPE_FLAGS, + ADDRESS_CLASS_TYPE_FLAGS_P, ADDRESS_CLASS_TYPE_FLAGS_TO_NAME, and + ADDRESS_CLASS_TYPE_FLAGS_TO_NAME_P. + +2002-10-11 Klee Dienes + + * gdb.texinfo (Registers): Mention vector registers as well as + floating registers in the documentation for 'info registers' and + 'info all-registers'. + +2002-10-11 Daniel Jacobowitz + + * gdbint.texinfo (CPLUS_MARKER): Remove item. + +2002-10-03 Jeff Johnston + + * gdbint.texinfo (Item Output Functions): Add new ui_out_field_fmt_int + interface definition. + +2002-10-03 Marko Mlinar + + * gdb.texinfo (Target Commands): Add or1k target specific + commands. + * gdb.texinfo (Contributors): Add myself to the contributors list. + +2002-10-01 Andrew Cagney + + * gdb.texinfo (Mode Options): Update --interpreter option. "mi2" + and "mi1" instead of "mi1" and "mi0". + +2002-09-29 Hans-Peter Nilsson + + * gdb.texinfo (Packets): Fix typos "alligned". + Correct z3/Z3 description. Correct z4/Z4 title. + +2002-09-27 Andrew Cagney + + * all-cfg.texi: Use @sc for GDB and GCC. Update copyright. + +2002-09-25 Kevin Buettner + + * gdb.texinfo: Use GNU/Linux instead of Linux. + +2002-09-25 Andrew Cagney + + * gdb.texinfo (Packets): Replace @samp{} with ``an empty string''. + +2002-09-24 Andrew Cagney + + * gdb.texinfo: Replace @example with @smallexample. + +2002-09-20 Kevin Buettner + + From Eli Zaretskii : + * gdb.texinfo (Character Sets): Use @smallexample instead of + @example. Use GNU/Linux instead of Linux. + +2002-09-20 Jim Blandy + + * gdb.texinfo: Add character set documentation. + +2002-09-20 George Helffrich + + * gdb.texinfo: Document edit command. + +2002-09-19 Andrew Cagney + + * gdb.texinfo (Packets): Revise `z' and `Z' packet documentation. + (Packets): Add cross reference from `b' packet to `z' packets. + +2002-09-19 Andrew Cagney + + * gdb.texinfo (Maintenance Commands): Document ``maint + internal-error'' and ``maint internal-warning''. + + * gdbint.texinfo (Target Architecture Definition): Revise + description of STACK_ALIGN. Add description of FRAME_ALIGN. + +2002-09-19 Joel Brobecker + + * gdbint.texinfo (Target Conditionals): Document the new + NAME_OF_MALLOC macro. + +2002-09-05 Andrew Cagney + + * gdb.texinfo (Contributors): Mention 5.2 and 5.3 release + engineer. + +2002-09-02 Stephane Carrez + + * gdb.texinfo (TUI Overview): Document status line fields. + +2002-09-02 Stephane Carrez + + * gdb.texinfo (TUI Commands): Document info win command. + +2002-09-01 Stephane Carrez + + * gdb.texinfo (TUI Overview): Document breakpoint markers. + +2002-09-01 Stephane Carrez + + * gdb.texinfo (TUI Single Key Mode): Document new SingleKey mode. + (TUI Keys): Likewise. + +2002-08-25 Andrew Cagney + + * gdb.texinfo (Examples): Use ``->'' for a packet send and ``<-'' + for a packet receive. + +2002-08-25 Andrew Cagney + + * Makefile.in (clean): Move to end of file. + (distclean, maintainer-clean, realclean): Ditto. + (mostlyclean): Move rule to end of file. Use GDB_TEX_TMPS, + GDBINT_TEX_TMPS, STABS_TEX_TMPS. + (gdb.dvi, gdb.pdf): Do not cleanup TeX temp files after texi2dvi. + (gdbint.dvi, gdbint.pdf, stabs.dvi, stabs.pdf): Ditto. + +2002-08-24 Andrew Cagney + + * Makefile.in (GDBINT_TEX_TMPS): Define. + (gdbint.dvi, gdbint.pdf): Use + (GDB_TEX_TMPS): Define. + (gdb.dvi, gdb.pdf): Use. + (STABS_TEX_TMPS): Define. + (stabs.dvi, stabs.pdf): Use. + (GDB_DOC_SOURCE_INCLUDES): New macros. + (GDB_DOC_BUILD_INCLUDES, GDB_DOC_FILES): New macros. + (GDBINT_DOC_FILES_INCLUDES): New macros. + (GDBINT_DOC_BUILD_INCLUDES): New macros. + (GDBINT_DOC_FILES, STABS_DOC_SOURCE_INCLUDES): New macros. + (STABS_DOC_BUILD_INCLUDES, STABS_DOC_FILES): New macros. + (SFILES_DOC, SFILES_INCLUDED, SFILES_LOCAL): Delete macros. + (links2roff): Replace SFILES_INCLUDED with + GDB_DOC_SOURCE_INCLUDES. + (gdb.dvi, gdb_toc.html, gdb.pdf, gdb.info): Update dependencies. + (gdb.me, gdb.mm, gdb.ms): Update dependencies. + (gdbint.dvi, gdbint_toc.html, gdbint.pdf, gdbint.info): Update + dependencies. + (stabs.info, stabs_toc.html, stabs.pdf, stabs.dvi): Update + dependencies. + (gdbmi.texinfo): Delete rule. + (inc-hist.texinfo): Delete rule. + (rluser.texinfo): Delete rule. + +2002-08-23 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Update + STORE_RETURN_VALUE, mention regcache. + +2002-08-21 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Document + print_registers_info. Note that DO_REGISTERS_INFO is deprecated. + +2002-08-19 Andrew Cagney + + * gdb.texinfo (Remote Protocol): Reformat. Use cross references. + Fix minor typos. Add index entries. + +2002-08-18 Andrew Cagney + + * gdb.texinfo (Data): Add ``Vector Unit'' to menu. + +2002-08-15 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Document + PRINT_VECTOR_INFO. + * gdb.texinfo (Vector Unit): Document "info vectors" command. + +2002-08-13 Andrew Cagney + + * gdb.texinfo (Maintenance Commands): Document "maint print + registers", "maint print raw-registers" and "maint print + cooked-registers". + +2002-08-08 Grace Sainsbury + + From Mark Salter: + * gdb.texinfo (Protocol): Document T packet extension to + allow watchpoint address reporting. + +2002-08-03 Andrew Cagney + + * gdb.texinfo (Dump/Restore Files): Move `[]' to outside of @var. + +2002-08-01 Andrew Cagney + + * stabs.texinfo, gdb.texinfo, gdbint.texinfo: Obsolete references + to CHILL. + +2002-08-01 Andrew Cagney + + * gdbint.texinfo (Coding): Revise section "Include Files". + +2002-07-24 Andrew Cagney + + * gdbint.texinfo: Obsolete references to m88k. + * gdb.texinfo: Ditto. + +2002-07-10 Joel Brobecker + + * gdbint.texinfo (Create a release candiate): Add the location + where the proper version of autoconf can be retrieved. + +2002-07-09 Don Howard + + * gdb.texinfo (Command Files): Further describe the behavior of + sourced command files. + +2002-06-27 Andrew Cagney + + * gdbint.texinfo (User Interface): ISO C rather than ISO-C. + (Coding): Clarify ISO C version that GDB assumes. + +2002-06-26 Tom Tromey + + * gdbint.texinfo (User Interface): Mention add_setshow_cmd and + add_setshow_cmd_full. + +2002-06-25 Don Howard + + * gdb.texinfo (Memory Region Attributes): Document new behavior + for 'mem' command. + +2002-06-11 Jim Blandy + + * gdb.texinfo (Symbols): Update documentation for `info source' + command. + + * gdb.texinfo (Macros): Call the command `info macro', not + `show macro'. + +2002-06-09 Andrew Cagney + + * gdbint.texinfo (Coding): Add section ``Per-architecture module + data''. + +2002-06-09 Mark Kettenis + + * gdbint.texinfo (Target Architecture Definition): Document + GDB_OSABI_GO32 and GDB_OSABI_NETWARE. + +2002-06-08 Andrew Cagney + + * gdbint.texinfo (Releasing GDB): Fix typos in @itemize @bullet + lists. + +2002-06-08 Andrew Cagney + + * gdbint.texinfo (Releasing GDB): Revise the section ``Cut the + Branch''. + +2002-06-01 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Add section + ``Converting an existing Target Architecture to Multi-arch''. + +2002-05-30 Andrew Cagney + + * gdbint.texinfo (Releasing GDB): Rename ``Obsoleting any code'' + to ``Obsoleting code''. Revise. + +2002-05-21 Jason Thorpe + + * gdbint.texinfo: Document new generic OS ABI framework. + +2002-05-17 Jim Blandy + + * gdb.texinfo (C Preprocessor Macros): New chapter. + Include it in the main menu. + (Contributors): Credit Jim Blandy with macro support. + (Compilation): Explain how to get macro information into the + executable. + (Expressions): Note that preprocessor macros are expanded. + +2002-05-14 Daniel Jacobowitz + + * gdb.texinfo (Debug Session): Document new `udp:' and `tcp:' + options for `target remote'. + +2002-05-13 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Delete + documentation on NNPC_REGNUM. + +2002-05-11 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Document + REGISTER_TO_VALUE and VALUE_TO_REGISTER and CONVERT_REGISTER_P. + (Target Architecture Definition): Revise section `Using Different + Register and Memory Data Representations'. Add section `Raw and + Virtual Register Representations'. + +2002-05-11 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Mention + defaults for REGISTER_VIRTUAL_SIZE and REGISTER_RAW_SIZE. + (Target Architecture Definition): Mention same. Add references to + web pages. + +2002-05-08 Michael Snyder + + * stabs.texinfo (Attributes): Document new "vector" attribute. + +2002-05-04 Andrew Cagney + + * gdbint.texinfo (Releasing GDB): Revise `Create a Release'. + +2002-05-04 Andrew Cagney + + * gdb.texinfo: Delete obsolete references to a29k. + +2002-04-24 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Replace + IN_SIGTRAMP with PC_IN_SIGTRAMP. + +2002-04-24 David S. Miller + + * gdbint.texinfo (REGISTER_IN_WINDOW): Delete definition. + +2002-04-21 David S. Miller + + * gdbint.texinfo (SKIP_PROLOGUE_FRAMELESS_P): Delete definition. + +2002-04-21 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Delete + definition of HAVE_REGISTER_WINDOWS. + +2002-04-19 Eli Zaretskii + + * gdbint.texinfo (Releasing GDB, Coding): Fix typos. Reported by + "Theodore A. Roth" . + +2002-04-15 Don Howard + + From Eli Zaretskii + * gdb.texinfo (show max-user-call-depth): Correct formatting. + Provide a better explaination of this feature. + +2002-04-14 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Remove + FRAME_CHAIN_COMBINE. + +2002-04-12 Michael Chastain + + * gdbint.texinfo (Obsolete Conditionals): Remove reference to + REG_STACK_SEGMENT. + +2002-04-09 Michael Chastain + + * gdbint.texinfo (Obsolete Conditionals): Remove references to + PYRAMID_* macros. + +2002-04-07 Andrew Cagney + + * gdb.texinfo (Bug Reporting): Document that the web is the + prefered way of submitting bug reports. + (Bug Reporting): Delete the s-mail address as the last resort. + +2002-04-05 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Delete + references to TARGET_WRITE_FP and write_fp. + +2002-03-27 Michael Snyder + + * gdb.texinfo: Document new commands dump, append, and restore. + +2002-03-27 Andrew Cagney + + * gdbint.texinfo (Releasing GDB): Revise the section `Before the + Branch'. + +2002-03-18 Andrew Cagney + + * gdb.texinfo: Change all examples to @smallexample. + * gdbint.texinfo: Ditto. + +2002-03-18 Andrew Cagney + + * gdbint.texinfo (Releasing GDB): Add section ``Versions and + Branches''. + +2002-03-18 Andrew Cagney + + * gdbint.texinfo (Releasing GDB): Add the section``Branch Commit + Policy''. + +2002-03-04 Fred Fish + + * gdbint.texinfo: Fix a bunch of typos (alsways, mirrorred, + expresson, suports, dependant, trhe, perhaphs, situtations, + explictily, taged, oportunity, unfortunatly). + +2002-02-24 Andrew Cagney + + * Makefile.in (gdb.info): Add explicit path to gdb.texinfo. + Remove reference to 3.12. + +2002-02-23 Paul Eggert + + * Makefile.in (GDBvn.texi): Change "head -1" to "sed q", since + POSIX 1003.1-2001 no longer allows "head -1". + +2002-02-23 Andrew Cagney + + * gdbint.texinfo: Include fdl.texi. + (Top): Add GNU Free Documentation License. + * Makefile.in (SFILES_INCLUDED): Add gpl.texi. + (gdbint.dvi, gdbint.pdf, gdbint.info): Add dependency on fdl.texi. + (gdbint_toc.html): Add dependency on gdb-cfg.texi and fdl.texi. + (gdbint.info): Add srcdir to include path. + * gdb.texinfo: Include gpl.texi. + (Top): Add Copying. + * gpl.texi: New file. + +2002-02-23 Andrew Cagney + + * gdbint.texinfo (Debugging GDB): Remove references to cygnus.com. + +2002-02-19 Pierre Muller + + * gdb.texinfo: Document Cygwin native specific commands. + +2002-02-15 Daniel Jacobowitz + + * gdb.texinfo: Document gdbserver ``--attach'' command. + +2002-02-07 Michael Snyder + + * gdb.texinfo (overlays): Change @var(_ovly_debug_event) + to @code(_ovly_debug_event). + +2002-02-07 Andrew Cagney + + * gdb.texinfo (How Overlays Work): Shrink the overlay diagram. + +2002-02-06 Michael Snyder + + * gdb.texinfo (overlays): Mention new magic symbol + '_ovly_debug_event', which allows GDB to keep better track + of overlays. + +2002-02-06 Richard Earnshaw + + * gdbint.texinfo (FLOAT_INFO): Mark as deprecated. + (PRINT_FLOAT_INFO): Document it. + +2002-02-03 Eli Zaretskii + + * gdb.texinfo (Memory Region Attributes): Fix the wording. + Suggested by Dmitry Sivachenko. + + * (): Fix the spelling and punctuation of "i.e.". + +2002-02-01 Michael Snyder + + * gdb.texinfo (set trust-readonly): Change value{gdbn} to value{GDBN}. + +2002-01-30 Michael Snyder + + * gdb.texinfo: (remote protocol): Gramatical fix-up. + (set trust-readonly-sections): Document. + +2002-01-29 Andrew Cagney + + * gdbint.texinfo (Releasing GDB): Revise and update. + +2002-01-28 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Delete + description of TARGET_BYTE_ORDER_DEFAULT. + +2002-01-27 Eli Zaretskii + + * gdb.texinfo: Fix typos and markup. From Dmitry Sivachenko + . + +2002-01-23 Andrew Cagney + + * libgdb.texinfo: Delete file. + +2002-01-22 Andrew Cagney + + * gdb.texinfo: Remove makeinfo 3.12 hacks. + * gdbint.texinfo: Ditto. + +Tue Jan 22 11:57:38 2002 Andrew Cagney + + * gdb.texinfo: Fix typo ``Remove' -> ``Remote''. + +2002-01-22 Andrew Cagney + + * Makefile.in: Update copyright. + (TEXI2DVI): Define. + (gdb.dvi, gdb.pdf, stabs.dvi, stabs.pdf): Use TEXI2DVI. + (gdbint.dvi, gdbint.pdf): Use TEXI2DVI. Add dependency on + gdb-cfg.texi. + (TEXINDEX, PDFTEX): Delete makefile variables. + +2002-01-22 Andrew Cagney + + * gdb.texinfo (Protocol): Move section to appendix. + +2002-01-21 Andrew Cagney + + * gdb.texinfo (Remote Debugging): Create a menu. + (Top): Add ``Remote Debugging'' to menu. + +2002-01-21 Andrew Cagney + + * gdb.texinfo (Remote): Move the sub-section ``The GDB remote + serial protocol'' from here. + (Remote Debugging): To here. New chapter. + +2002-01-20 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Delete + description of TARGET_BYTE_ORDER_SELECTABLE_P. + +2002-01-20 Andrew Cagney + + * gdbint.texinfo (Host Definition): Revise. xm-xyz.h and xyz.mh + are no longer needed. + (Porting GDB): Add maintainer note about configure.host. + +2002-01-20 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Remove + definition of IEEE_FLOAT. + +2002-01-20 Eli Zaretskii + + * gdb.texinfo: Beautify copyright years; fix a typo. + (DJGPP Native): Fix overfull hboxes in examples. From Brian Youmans + <3diff@gnu.org> + +2002-01-19 Andrew Cagney + + * gdbint.texinfo (Host Definition): Remove references to + MALLOC_INCOMPATIBLE. + +2002-01-17 Andrew Cagney + + * gdbint.texinfo (Host Definition): Remove references to XDEPFILES + and xyz-xdep.o. + +2002-01-17 Andrew Cagney + + * gdb.texinfo (Maintenance Commands): Add appendix. + (Set Breaks): Copy ``maint info breakpoint'' doco to + ``Maintenance Commands'' appendix. Add reference. + +2002-01-17 Andrew Cagney + + * fdl.texi: Remove next/prev from @node. + +2002-01-17 Eli Zaretskii + + * gdb.texinfo: @include fdl.texi. Fixes for overfull hboxes and + for monstrous @multitable (from Brian Youmans). + + * fdl.texi: New file. + + * Makefile.in (SFILES_INCLUDED): Add fdl.texi. + +2002-01-15 Andrew Cagney + + * gdbint.texinfo (Releasing GDB): New chapter. + +2002-01-14 Andrew Cagney + + * gdb.texinfo (Embedded Processors, Calling program functions): + Obsolete references to a29k. + +2002-01-13 Andrew Cagney + + * gdbint.texinfo (Coding): Review Cleanups section. Examples + examples. Document that a code-block should do or discard its + cleanups before exit. + +2002-01-11 Michael Snyder + + * gdb.texinfo (Choosing files): Change @samp to @file. + +2002-01-05 Michael Snyder + + * gdb.texinfo (--pid): Document new command line option (attach). + +2002-01-07 Eli Zaretskii + + * gdb.texinfo (Tracepoints): Clarify that tracepoints need support + in the stub. + +2002-01-04 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Replace + BIG_ENDIAN with BFD_ENDIAN_BIG. + +2002-01-03 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Replace + value_ptr with struct value pointer. + +2002-01-02 Eli Zaretskii + + * gdb.texinfo (Free Software): Fix wording. + +2001-12-31 Eli Zaretskii + + * gdb.texinfo (Free Software): New section ``Free Software Needs + Free Documentation''. + +2001-12-30 Eli Zaretskii + + * stabs.texinfo: + * gdb.texinfo: + * gdbint.texinfo: + * libgdb.texinfo: + * annotate.texi: Fix the application of GFDL in the Copyright notice. + +2001-12-29 Michael Snyder + + * gdb.texinfo (maint info sections): Fix typo. + +2001-12-26 Michael Snyder + + * gdb.texinfo (maint info sections): Document. + + * gdb.texinfo (info proc): Comment out documentation for + 'info proc' sub-options that are currently not implemented. + +2001-12-20 Jim Blandy + + * gdbint.texinfo (TARGET_CHAR_SIGNED): Document. + +2001-12-15 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Replace + LITTLE_ENDIAN with BFD_ENDIAN_LITTLE. + +2001-12-01 Andrew Cagney + + * gdbint.texinfo (Host Definition): Delete documentation on + HOST_BYTE_ORDER. + +2001-11-30 Jim Blandy + + * gdb.texinfo (Overlays): New chapter, documenting GDB's + overlay support. Add to top-level menu. + +2001-11-26 Tom Tromey + + * gdb.texinfo (Command Syntax): Document C-o binding. + +2001-07-26 Christopher Faylor + + * gdb.texinfo (Options): Eliminate attempt to explain .gdbinit/gdb.ini + use since it is described in the referenced section. + + From Eli Zaretskii + * gdb.texinfo (Command Files): Reword to make gdb.ini requirement + clearer when using DJGPP. + +2001-11-24 Christopher Faylor + + * gdb.texinfo (File Options): Change description of -nx and gdb.ini to + specifically refer to MS-DOS. + (command files): Mention gdb.ini is only used on MS-DOS. + +2001-11-21 Tom Tromey + + * gdb.texinfo (Invoking GDB): Document --args. + (Mode Options): Likewise. + +2001-11-21 Jim Blandy + + * gdbint.texinfo (TARGET_RANGE_PROFITABLE_FOR_HW_WATCHPOINT): + Delete documentation; this macro has been removed from the + sources. + +2001-11-13 Jim Blandy + + * gdbint.texinfo (COERCE_FLOAT_TO_DOUBLE): Clarify. + +2001-11-06 Corinna Vinschen + + * gdb.texinfo (gdbarch_in_function_epilogue_p): Add documentation. + +2001-11-05 Michael Snyder + + * gdb.texinfo (info functions): Document use of backslash to + quote regexp chars in function names such as "operator*()". + +2001-11-01 Fred Fish + + * gdbint.texinfo (SOLIB_ADD): Document additional new + "readsyms" arg. + +2001-10-30 Don Howard + + * gdb.texinfo: (Command Files) Added documentation for the + behavior of gdb with input redirected from a file. + +2001-10-28 Fred Fish + + * gdb.texinfo (auto-solib-add): Change docs to match + implementation change. + (auto-solib-limit): Add docs for new variable. + +2001-10-15 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Function + value_as_pointer renamed to value_as_address. + +2001-10-15 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Default + POINTER_TO_ADDRESS functions assume unsigned addresses. + (INTEGER_TO_ADDRESS): Document. Derive pragmatics section from a + posting by Jim Blandy. + +2001-10-12 Jim Blandy + + * Makefile.in (MAKEHTMLFLAGS): Remove -glossary; the most recent + version of texi2html (1.64) doesn't support this flag any more. + +2001-09-08 Mark Kettenis + + * gdbint.texinfo (Host Definition): Remove description of + MEM_FNS_DECLARED. + + * gdbint.texinfo (Host Definition): Remove description of R_OK. + + * gdbint.texinfo (Host Definition): Remove description of + HAVE_SIGSETMASK. + +2001-09-04 Elena Zannoni + + * gdbint.texinfo (Target Architecture Definition): Add + explanation of TARGET_PRINT_INSN macro. + +2001-08-30 Jim Blandy + + * gdb.texinfo (`add-symbol-file'): Correct synopsis. + Explain what it means to load relocatable files. + +2001-08-28 Jim Blandy + + * gdbint.texinfo: Bring the HTML `top' menu into sync with the + info `top' menu. + +Wed Aug 15 10:47:28 2001 Christopher Faylor + + * gdbint.texinfo: Add a cautionary note about macro use. + +2001-08-02 Corinna Vinschen + + * gdb.texinfo: Explain omitting the hostname in the + `target remote' command. + +2001-07-30 Daniel Jacobowitz + + * gdbint.texinfo: Remove extraneous START-INFO-DIR-ENTRY + and END-INFO-DIR-ENTRY. + +2001-07-28 Stephane Carrez + + * gdb.texinfo (TUI Configuration): Rename tui configuration variables. + +2001-07-25 Andrew Cagney + + * gdbint.texinfo (libgdb): Rewrite. + +2001-07-26 Eli Zaretskii + + * Makefile.in (gdbgui.dvi, gdb-gui, gdbgui.info): Targets deleted. + +2001-07-24 Stephane Carrez + + * gdb.texinfo (TUI): New chapter, document the TUI. + (Mode Options): Document the -tui option. + +2001-07-23 Mark Kettenis + + * gdbint.texinfo (Host Definition): Remove description of + NEED_POSIX_SETPGID. + +2001-07-23 Eli Zaretskii + + * gdb.tex (DJGPP Native): New node, with descriptions of + DJGPP-specific commands. + +2001-07-19 John R. Moore + + * gdbint.texinfo: Three misspellings. + +2001-07-06 Andrew Cagney + + * Makefile.in (refcard.dvi): Rewrite to avoid problems with empty + `test` expressions on bash. Problem reported by Colin Walters. + +2001-07-04 Andrew Cagney + + * gdbint.texinfo (User Interface): Update ui-out documentation to + refelect recent UI/MI updates. + +2001-07-04 Andrew Cagney + + * gdb.texinfo (Mode Options): Mention the mi0 and mi1 + interpreters. + +2001-06-15 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): GDBARCH is a C + structure and not macros. + (Host Definition): Document that much of this chapter is obsolete. + (Target Architecture Definition): Update list of files that make + up a target architecture. + (Coding): Update. + +2001-06-28 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Update + EXTRACT_STRUCT_VALUE_ADDRESS and EXTRACT_STRUCT_VALUE_ADDRESS_P. + The latter has been changed to a true predicate. + +2001-06-17 Eli Zaretskii + + * annotate.texi: Add @noindent where needed. From Dmitry + Sivachenko . + * gdb.texinfo: Indexing fix. From Dmitry Sivachenko. + +2001-06-16 Andrew Cagney + + * gdb.texinfo (Protocol): Fix typo. Extra parenthesis. + +2001-06-14 Andrew Cagney + + * gdb.texinfo (Remote Protocol): Document that the ``!'' packet + returns ``OK''. Document that the ``R'' packet does not reply. + +2001-06-13 Michael Snyder + + * gdb.texinfo (Protocol): Add doc for new packet "qSymbol:". + +2001-06-13 Eli Zaretskii + + * gdb.texinfo (Signals): Clarify the default setting of signal + handling. + +2001-05-14 Andrew Cagney + + * gdbint.texinfo (CLEAR_DEFERRED_STORES): Delete stray @item + (FRAME_ARGS_ADDRESS_CORRECT): Ditto. + +2001-05-12 Andrew Cagney + + * Makefile.in (GDBvn.texi): Set GDBVN from ../version.in. + +2001-05-10 Eli Zaretskii + + * gdbint.texinfo (Clean Design and Portable Implementation): + Renamed from "Clean Design". + (Clean Design and Portable Implementation): Document portable + methods of handling file names, and the associated macros. + +2001-04-02 Eli Zaretskii + + * gdb.texinfo (Tracepoint Actions): Mention the "info scope" + command and provide a cross-reference to its description. + (Symbols): Note that "info scope" is useful for trace experiments. + +2001-04-01 Eli Zaretskii + + * gdb.texinfo (Symbols): Document "info scope". + (Tracepoints): New chapter. + (Contributors): Update for v5.1. + : Change "C++" to "C@t{++}". + + * gdbint.texinfo (User Interface): A new section about ui_out + functions, based on text written by Fernando Nasser. + + * stabs.texinfo: Change Permissions to GFDL. Update Copyright. + +2001-03-26 Eli Zaretskii + + * gdb.texinfo: Change Permissions to GFDL. Update Copyright. + + * gdbint.texinfo: Change Permissions to GFDL. Update Copyright. + + * gdbgui.texinfo: Change Permissions to GFDL. Update Copyright. + Replace "GDB" with "@value{GDBN}". Fix markup. + + * annotate.texi: Change Permissions to GFDL. Update Copyright. + + * gdb.texinfo (Output Formats): Mention "info symbol" and provide + a cross-reference to its description. + (Symbols): Document "info symbol". + +2001-03-21 Eli Zaretskii + + * gdbint.texinfo (Algorithms): New section "Watchpoints" and new + subsection "x86 Watchpoints". + (Target Architecture Definition): Document the macros + I386_USE_GENERIC_WATCHPOINTS and TARGET_HAS_HARDWARE_WATCHPOINTS. + (Native Debugging): Document I386_USE_GENERIC_WATCHPOINTS. + +2001-03-20 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Update + definition of SOFTWARE_SINGLE_STEP_P to include empty parameter + list. + +2001-03-06 Kevin Buettner + + * Makefile.in, all-cfg.texi, annotate.texi, gdb.texinfo, + gdbint.texinfo, refcard.tex: Update/correct copyright notices. + +2001-02-21 Eli Zaretskii + + * gdb.texinfo (Signals): Document "ignore", "noignore", and "all". + +2001-02-11 Eli Zaretskii + + * gdb.texinfo (Environment): Document that `path' does not change + the value of PATH in GDB's own environment (it did in the past, + but that was changed on March 15, 1994). Reported by Doug Evans + . + + * gdbint.texinfo: Fix up @itemize lists so that @item is alone on + its line. Fix markup of commands and macros. Add an Index node + and index entries. + +2001-01-23 J.T. Conklin + + * gdb.texinfo (Memory region attributes): New manual section. + +2001-01-04 Nicholas Duffek + + * gdbint.texinfo (POP_FRAME): Document use by return_command. + +2000-12-25 Eli Zaretskii + + * refcard.tex: Version and copyright fixed. From Phil Edwards + . + +Thu Nov 30 16:57:19 2000 Andrew Cagney + + * gdbint.texinfo (ECOFF_REG_TO_REGNUM, DWARF_REG_TO_REGNUM, + DWARF2_REG_TO_REGNUM): Document. + +Mon Nov 20 21:29:35 2000 Andrew Cagney + + * gdbint.texinfo (Coding): Update current value of + --enable-build-warnings. Mention --enable-gdb-build-warnings. + +2000-11-19 Eli Zaretskii + + * gdb.texinfo (Continuing and Stepping): Fixed markup and typos, + as suggested by Dmitry Sivachenko . + +2000-11-10 Christopher Faylor + + * gdb.texinfo: Document new 'set step-mode' command. + +2000-10-16 Eli Zaretskii + + * gdb.texinfo (Contributors, MIPS Embedded): Minor spelling + changes from Dmitry Sivachenko . + +2000-09-26 Eli Zaretskii + + * gdb.texinfo (Hooks): Document the new post-hook functionality. + From Steven Johnson . + +2000-08-10 Mark Kettenis + + * gdbint.texinfo (Overall Structure): Spelling fix. + +2000-08-10 Eli Zaretskii + + * gdbint.texinfo (Target Architecture Definition): Document that + REGISTER_CONVERT_TO_VIRTUAL should only be called on a register + for which REGISTER_CONVERTIBLE returns a zero value. + +2000-07-08 Christopher Faylor + + * Makefile.in (install-info): Find files to install in either the + build or source directories (adapted from Makefile.am). + +2000-07-07 Nicholas Duffek + + * stabs.texinfo: Fix spelling errors. + (String Field): FILE-NUMBER starts from 0, not 1. + +2000-07-05 Eli Zaretskii + + * refcard.tex: Remove \centerline from the blurb. Patch from + Brian Youmans. + +2000-06-25 Eli Zaretskii + + * Makefile.in (install-info): Support installation from outside of + the source directory. Reported by Mark Harig + . + +2000-06-20 J.T. Conklin + + * gdb.texinfo: Fix typo, $bpnum is set to last breakpoint number. + +Fri May 26 15:55:33 2000 Andrew Cagney + + * Makefile.in (pdf, gdbint.pdf, gdb.pdf, stabs.pdf): New targets. + Generate using pdftex. + (PDFTEX): Define. + (STAGESTUFF, maintainer-clean realclean): Add *.pdf. + (gdb.texinfo, gdbint.texinfo, stabs.texinfo): When TeX insert the + @contents at the start. + +2000-05-24 Eli Zaretskii + + * gdb.texinfo: Remove duplicate @syncodeindex. From Brian + Youmans. + +Wed May 24 21:27:58 2000 Andrew Cagney + + From Brian Youmans: + * gdb.texinfo: Fix ``et al.''. + +Tue May 23 22:57:41 2000 Andrew Cagney + + * Makefile.in (refcard.dvi): Remove quotes around REFEDITS in for + loop. + +2000-05-19 Jimmy Guo + + * configure: Regenerate. + +2000-05-17 Eli Zaretskii + + * Makefile.in (install-info): Run install-info on installed Info + files. + +Fri May 12 20:18:04 2000 Andrew Cagney + + * gdb.texinfo: Add Stan Shebs, et.al. as authors. Mention + Andrew Cagney. + +2000-05-09 Eli Zaretskii + + * gdb.texinfo: Proofreading changes from Brian Youmans. + +2000-05-01 Nick Duffek + + * gdb.texinfo (Command Files): Mention -x, use @enumerate for + startup sequence, minor edits. + +2000-05-01 Eli Zaretskii + + * annotate.texi: Remove "@syncodeindex fn cp", it causes grief in + TeX. + + * gdb.texinfo: Add "@syncodeindex fn cp". Convert all entries + "@kindex f" into "@kindex f (foo)", otherwise we get index entries + like `n' and `s' which look weird. Convert some of the @kindex to + @vindex, when they refer to variables, not commands. + +Sat Apr 29 17:01:04 2000 Andrew Cagney + + * gdbint.texinfo (Hints): Do not use @value{GDBN in @nodes. + +2000-04-23 Eli Zaretskii + + * Makefile.in (GDBMI_DIR): New variable. + (SET_TEXINPUTS): Add $(GDBMI_DIR). + (SFILES_DOC): Add $(GDBMI_DIR)/gdbmi.texinfo. + (gdbmi.texinfo): New target, for texi2roff. + (gdb.me, gdb.ms, gdb.mm): Depend on gdbmi.texinfo. + (gdb.info, gdb_toc.html): Add "-I ${GDBMI_DIR}". + + * gdb.texinfo (Top): Add GDB/MI to the main menu and @include + gdbmi.texinfo. + (Mode Options): Add xref to GDB/MI docs and remove a FIXME + comment. + +2000-04-17 Elena Zannoni + + * gdb.texinfo (Files): Update description of add-symbol-file + command. + +2000-04-17 Eli Zaretskii + + * gdb.texinfo (Porting GDB): Don't use @value in the node name, it + prevents the build (and is generally a Bad Idea). + +2000-04-17 Eli Zaretskii + + * gdb.texinfo (Protocol): Prevent makeinfo from complaining about + a comma inside @var. + (Command Files): Index markup changes from Dmitry Sivachenko + . + +2000-04-16 Eli Zaretskii + + * Makefile.in (LN_S): Define. + (gdb-cfg.texi, gdb.dvi, links2roff, inc-hist.texinfo): Don't + invoke "ln -s" unless it is known to work. + + * configure.in (AC_PROG_LN_S): Add. + +2000-04-14 Jim Blandy + + * gdbint.texinfo (Pointers Are Not Always Addresses): New manual + section. + (Target Conditionals): Document ADDRESS_TO_POINTER, + POINTER_TO_ADDRESS. + +2000-04-11 Daniel Berlin + + * gdbint.texinfo: Replaced GDB with @value{GDBN}, @include + gdb-cfg.texi to get the value. + +2000-04-10 Jim Blandy + + * gdbint.texinfo (Target Architecture Definition): Fix + cross-references. + +2000-04-08 Jim Blandy + + * gdbint.texinfo (Using Different Register and Memory Data + Representations): New section. + (REGISTER_CONVERTIBLE, REGISTER_RAW_SIZE, REGISTER_VIRTUAL_SIZE, + REGISTER_VIRTUAL_TYPE, REGISTER_CONVERT_TO_VIRTUAL, + REGISTER_CONVERT_TO_RAW): Document. + +Mon Apr 3 19:16:32 2000 Andrew Cagney + + * gdb.texinfo (Protocol): Deprecate the sequence-id. Add cindex + for acknowledgments. + +Tue Mar 28 18:28:45 2000 Andrew Cagney + + * gdb.texinfo (Protocol): Replace ``qfThreadExtraInfo'' with + qThreadExtraInfo. + +2000-03-28 J.T. Conklin + + * gdb.texinfo: Clarify which remote debug protocol commands are + required and which are optional. + +Tue Mar 28 16:06:22 2000 Andrew Cagney + + * gdb.texinfo: Revert remainder of Fri Mar 24 18:06:34 2000 Andrew + Cagney . Move @chapter and @node entries + back to annotate.texi, rluser.texinfo and inc-hist.texinfo. + * annotate.texi: Update. + +2000-03-28 Stan Shebs + + * gdb.texinfo: Update dates, bump to Eighth Edition (note + expectation of additional changes before release), update + ISBN, add copy of top-level menu for @ifhtml, remove explicit + node links, rephrase and/or shorten lines to fix formatting + problem in both regular and @smallbook formats. + * annotate.texi: Shorten lines in example, use smallexample + consistently everywhere. + * Makefile.in: Add comment about texinfo 4.0 html generation. + (SFILES_INCLUDED): Add annotate.texi. + +2000-03-27 Daniel Berlin + + * gdb.texinfo (Debugging Output): Added new section, documenting + the "set/show debug" commands. + +Fri Mar 24 18:06:34 2000 Andrew Cagney + + * annotate.texi (Annotations): When GDBN omit @chapter and @node + entry. + + * gdb.texinfo: Check for @ifinfo instead of @ifnottex. + (rluser.texinfo, inc-hist.texinfo, annotate.texi): Add local + @chapter and @node entries. + + * gdb.texinfo: Link all top-level nodes. + +Fri Mar 24 17:56:48 2000 Andrew Cagney + + * Makefile.in (install-info): Create $(infodir) before installing + files. + +2000-03-23 Fernando Nasser + + From David Whedon + * gdbint.texinfo : Added paragraphs about command deprecation. + +2000-03-22 Daniel Berlin + + * gdb.texinfo: Add documentation for the apropos command. + +2000-03-20 Michael Snyder + + * gdb.texinfo: Add new queries ThreadInfo and ThreadExtraInfo. + +2000-03-20 Michael Snyder + + * gdb.texinfo: Add white space to prevent overprinting in + two places. + +2000-03-17 Stan Shebs + + * gdb.texinfo: Many minor changes from Dmitry Sivachenko + , also clarification of allowed content for + string constants. + +2000-03-16 Eli Zaretskii + + * gdb.texinfo (main menu): Add Annotations. + (File Options): Add @cindex entries for each command-line option. + Document --epoch, --annotate, --async, --interpreter, --write, + --statistics, and --version. + + * annotate.texi: Convert to a chapter. Use @value{GDBN} instead + of GDB. + +2000-02-23 Jim Blandy + + * gdbint.texinfo (FUNCTION_START_OFFSET): Document. + +2000-02-22 Jim Blandy + + * gdbint.texinfo: Document COERCE_FLOAT_TO_DOUBLE --- the new form. + +2000-02-15 Jason Molenda (jsm@bugshack.cygnus.com) + + * Makefile.in (diststuff): New target. + +2000-02-15 Kevin Buettner + + * agentexpr.texi: Fix wording regarding Intel's IA-64 + architecture. [From Jim Wilson.] + +2000-01-16 Tom Tromey + + * gdb.texinfo (Breakpoints): Mention breakpoint ranges. + (Delete Breaks): Mention range arguments. + (Disabling): Likewise. + +2000-01-05 Dmitry Sivachenko + + * gdb.texinfo: Wrap "ASCII" in @sc{}; clarify a few sentences. + +Wed Dec 8 19:53:08 1999 Andrew Cagney + + * gdbint.texinfo (FRAME_CHAIN_VALID): Add the generic frame-chain + valid functions. + +1999-11-05 Stan Shebs + + * gdb.texinfo: Clarify regular expressions used in rbreak. + +1999-10-15 Kevin Buettner + + * gdbint.texinfo (MEMORY_INSERT_BREAKPOINT, + MEMORY_REMOVE_BREAKPOINT): Document. + +Thu Oct 14 21:17:17 1999 Andrew Cagney + + * gdb.texinfo (remote): Document how GDB ignores the qOffsets BSS + offset re-using the DATA offset instead. + +1999-10-11 Jim Kingdon + + * gdbint.texinfo (Target Architecture Definition): Add PARM_BOUNDARY. + +1999-10-07 Jim Blandy + + * gdbint.texinfo (SYMBOLS_CAN_START_WITH_DOLLAR): Document. + +1999-10-05 Stan Shebs + + From Dmitry Sivachenko : + * gdb.texinfo: Use GDBP and GDBN everywhere, fix a couple other + typos. + + * gdb.texinfo: Various minor wording and formatting improvements, + mentions of additional command-line options. + +1999-09-30 Fred Fish + + * gdb.texinfo: Document additional forms of specifying section + names and addresses for the add-symbol-file command. + +1999-09-14 Michael Snyder + + * gdbint.texinfo: Fix typo, add the word "have". + +1999-09-14 Jim Blandy + + * gdbint.texinfo (Target Architecture Definition): Document the + SKIP_PERMANENT_BREAKPOINT macro. + +1999-09-07 Stan Shebs + + * gdb.texinfo: Fiks speling errers. + + * gdb.texinfo: Fix uses of @multitable. + + From Eli Zaretskii : + * gdb.texinfo: Include details specific to DOS host, clarify + some confusing language, fix @ref/@xref/@pxref usages, add + comments about using with optimization, add more indexing, + fix info about disassembly-flavor. + +Tue Sep 7 09:11:24 1999 Kevin Buettner + + * gdbint.texinfo (IN_SOLIB_DYNSYM_RESOLVE_CODE, + SKIP_SOLIB_RESOLVER): Define. + +Fri Sep 3 18:05:14 1999 Andrew Cagney + + * gdb.texinfo (Protocol): Review. Add tables describing ``q'' and + ``g'' packets. + +1999-08-30 Stan Shebs + + * gdb.texinfo: Create a new "Configurations" chapter with + platform-specific info, inline remote.texi and move sections of it + into the new chapter, move bits about info proc, heuristic search, + and register stack into the new chapter. + * remote.texi: Remove, now part of gdb.texinfo. + * Makefile.in (SFILES_INCLUDED): Remove ref to remote.texi. + +1999-08-27 Jason Molenda (jsm@bugshack.cygnus.com) + + * gdbint.texinfo (GDB_TARGET_IS_SUN3, GDB_TARGET_IS_SUN386, + GDB_TARGET_IS_MACH386): These kludges have gone away. + +Wed Aug 25 10:47:03 1999 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Mention + TDEPLIBS. + +1999-08-20 Stan Shebs + + * gdb.texinfo: Remove remaining "HPPA" conditionals, rewrite + surrounding text to fit HP-UX bits into general info. + (HPPA-cfg.texi): Remove, no longer useful. + + * gdb.texinfo: Remove explicit links from @node lines, remove + HP-added "Detailed Node Listing" from main menu which confuses + things. + + From Dmitry Sivachenko : + * gdb.texinfo: Use @value{GDBN} instead of plain GDB, fix grouping + in description of `set environment'. + +1999-08-17 Stan Shebs + + * gdbint.texinfo: Update coding standard to allow pure ANSI/ISO C. + +1999-08-12 Ben Elliston + + * gdbint.texinfo (Breakpoint Handling): Add missing words. + +1999-08-10 Eli Zaretskii + + * gdb.texinfo (Set Watchpoints): Explain some subtleties about + watch, awatch, and rwatch. Explain why the latter two cannot be + set as software watchpoints. Document that watchpoints for local + variables are deleted when the debuggee terminates. + +Wed Aug 11 13:18:14 1999 Andrew Cagney + + * remote.texi (Protocol): Further clarification of the "qRcmd" + packet. Allow E.. response packet. "qRcmd" packet is no longer + reserved. + +1999-08-10 Elena Zannoni + + * Makefile.in: Rename inc-hist.texi to inc-hist.texinfo. + * gdb.texinfo: Ditto. + +Sun Aug 8 12:06:47 1999 Fred Fish + + * gdbint.texinfo (find_sym_fns): This replaces symfile_init. + +1999-08-06 Tom Tromey + + * gdb.texinfo (KOD): New node. + +Fri Aug 6 17:05:48 1999 Andrew Cagney + + * remote.texi (Rcmd): Fix minor formatting typos. + +Thu Aug 5 17:57:41 1999 Andrew Cagney + + * remote.texi (protocol qRcmd): Allow ``OK'' and ``O...'' response + packets. + +1999-07-14 Jim Blandy + + * gdbint.texinfo (PREPARE_TO_PROCEED, ADDR_BITS_REMOVE): Doc + fixes. + +Tue Jun 29 11:43:55 1999 Andrew Cagney + + * gdbint.texinfo (SAVE_DUMMY_FRAME_TOS): Define. + +Fri Jun 25 11:47:06 1999 Andrew Cagney + + * remote.texi (Communication Protocol): ``v'' is in use. Fix + numerous formatting errors. Clarify ``i''. Mark ``i'', ``Z'', + ``z'' and ``qRcmd'' as draft instead of reserved. Identify + packets that are not supported on all hosts. Expand examples. + Spell check. + +1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com) + + * Makefile.in: Recognize html, install-html. Add targets + to build HTML versions of documentation via texi2html. + +Thu Jun 24 15:59:03 1999 Stan Shebs + + * gdbint.texinfo (Testsuite): New chapter, information about the + testsuite. + +Fri Jun 25 02:40:34 1999 Andrew Cagney + + * remote.texi (Communication Protocol): Rewrite. + +Thu Jun 24 16:59:54 1999 Andrew Cagney + + * stabs.texinfo: Fix uses of xref. + +Thu Jun 17 17:23:25 1999 Stan Shebs + + * gdbint.texinfo: Add an anti-printf exhortation, and update the + info about patch submission. + +Mon Jun 7 15:49:40 1999 Stan Shebs + + From Per Bothner : + * gdb.texinfo: Document Chill support. + +Fri Jun 4 16:58:22 1999 Andrew Cagney + + * gdbint.texinfo (SP_REGNUM, FP_REGNUM, PC_REGNUM): Add reference + to corresponding TARGET_READ_reg TARGET_WRITE_reg macros. + Document that the value should be greater-than or equal-to zero. + (NO_STD_REGS): Document. Deprecate. + +Tue Jun 1 15:04:15 1999 Andrew Cagney + + * gdbint.texinfo (TARGET_COMPLEX_BIT, TARGET_DOUBLE_COMPLEX_BIT): + Document that these are not used. + +Thu May 27 09:28:15 1999 Andrew Cagney + + * gdbint.texinfo (EXTRACT_STRUCT_VALUE_ADDRESS_P): Document. + +Mon May 24 10:07:39 1999 Andrew Cagney + + * gdbint.texinfo (FRAME_NUM_ARGS): Update definition. Parameter + numargs was dropped. + +Thu May 20 12:26:59 1999 Andrew Cagney + + * gdbint.texinfo (FRAMELESS_FUNCTION_INVOCATION): Update. + +Tue Apr 27 19:14:20 1999 Andrew Cagney + + * gdbint.texinfo (SKIP_PROLOGUE, SKIP_PROLOGUE_FRAMELESS_P): + Update. + +Thu Apr 22 13:07:37 1999 Andrew Cagney + + * gdbint.texinfo (USE_GENERIC_DUMMY_FRAMES): Document. + (GET_SAVED_REGISTER): Update, not just the a29k uses this. + +Wed Apr 21 13:59:01 1999 Dave Brolley + + * gdbint.texinfo: Fix typos: $ -> @. + +Tue Apr 20 11:59:38 1999 Andrew Cagney + + * gdbint.texinfo (REGISTER_NAMES, BREAKPOINT, BIG_BREAKPOINT, + LITTLE_BREAKPOINT, LITTLE_REMOTE_BREAKPOINT, + BIG_REMOTE_BREAKPOINT): Deprecate in favor of REGISTER_NAME and + BREAKPOINT_FROM_PC. + +Mon Apr 12 16:00:44 1999 Andrew Cagney + + * gdbint.texinfo (CALL_DUMMY_STACK_ADJUST_P, + CALL_DUMMY_STACK_ADJUST): Document. + +Thu Apr 8 17:23:15 1999 Andrew Cagney + + * gdbint.texinfo (CALL_DUMMY_P, CALL_DUMMY_WORDS, + SIZEOF_CALL_DUMMY_WORDS, CALL_DUMMY): Define. + +1999-04-02 Stan Shebs + + * gdbint.texinfo (MAINTENANCE_CMDS): Remove ref, since it no + longer exists. + +Tue Mar 9 19:25:11 1999 Stan Shebs + + * gdb.texinfo, remote.texi, all-cfg.texi, HPPA-cfg.texi: Remove + nearly all @ifset/@ifclear conditionals; nobody uses them, and + they make the manual source incomprehensible. + * h8-cfg.texi: Remove, hasn't been used in years. + +Thu Feb 11 18:00:59 1999 Stan Shebs + + * gdb.texinfo: Update the credits. + +Mon Feb 8 17:33:57 1999 Stan Shebs + + * gdb.texinfo: Fix mistakes noticed in printout of last + draft, add Alpha to discussion of heuristic fence post. + +Fri Feb 5 17:20:00 1999 Stan Shebs + + * gdb.texinfo, remote.texi: Many changes; update to Seventh + Edition, merge some HP changes into mainline, describe some + previously undocumented features, describe more of the target + commands available, eliminate obsolete section on renamed + commands. + * all-cfg.texi, HPPA-cfg.texi: Remove some obsolete conditionals. + +Wed Jan 20 17:47:45 1999 Stan Shebs + + * gdb.texinfo: Make many HPPA conditionals unconditional, + including catchpoint description, since now on for all configs. + * all-cfg.texi: @clear HPPA, since is mainly for very HP-specific + specializations. + +Thu Jan 14 17:10:12 1999 Stan Shebs + + * Makefile.in (GDBvn.texi): Fix match expression to work with + current format of VERSION in gdb/Makefile.in. + * gdb.texinfo: Fix node ref to match new readline. + +Wed Jan 13 10:38:40 1999 Edith Epstein + + * gdb.texinfo: Changes made as part of a project to merge in + changes made by HP. Documentation makes extensive use of + @ifclear HPPA and @ifset HPPA. The HP manual omits doumentation + on remote debugging. There are differences in documentation + (HP vs. non-HP) on C++ support (aCC vs. gnu gcc++). Also, + the HP manual discusses catchpoints, hardware watchpoints, and + some HPUX specific limitations for shared library support. + + There are also a number of @node changes. + +1999-01-12 Jason Molenda (jsm@bugshack.cygnus.com) + + * gdbint.texinfo (Formatting): Disambiguate a sentence. + (C Usage): Same. + +Wed Jan 6 11:55:34 1999 David Taylor + + The following changes were made by Edith Epstein + as part of a project to merge in changes + made by HP. + + * HPPA-cfg.texi: new file. + + * all-cfg.texi: set HPPA for HP PA-RISC targets. + + * refcard.tex: change documentation about catch. + removed info catch. + +Mon Jan 4 18:29:18 1999 Stan Shebs + + * gdbint.texinfo: Expand on GDB's coding standards, + specify the use of arg names with prototypes. + +1998-12-14 J.T. Conklin + + * gdb.texinfo: Fix tipo. + +Sun Dec 13 10:27:59 1998 Andrew Cagney + + * gdbint.texinfo: Document TARGET_BYTE_ORDER_DEFAULT and + TARGET_BYTE_ORDER_SELECTABLE_P. + +Thu Dec 10 16:07:09 1998 Andrew Cagney + + * gdbint.texinfo (FRAME_FIND_SAVED_REGS): Document. + +1998-12-09 Jim Blandy + + * agentexpr.texi: New file. + +Wed Dec 9 21:13:57 1998 Andrew Cagney + + * gdbint.texinfo (REGISTER_NAME): Replace REGISTER_NAMES. + +1998-12-03 J.T. Conklin + + * remote.texi: Changed wording that implied that the GDB remote + protocol caches register values instead of GDB itself. + +Tue Dec 1 17:45:43 1998 Stan Shebs + + * gdbint.texinfo: Add some info about symbol readers. + (CHILL_PRODUCER, etc): Comment out descriptions, not useful. + (IN_SOLIB_CALL_TRAMPOLINE): Rename info from IN_SOLIB_TRAMPOLINE. + (IN_SOLIB_RETURN_TRAMPOLINE): Describe. + (KERNEL_DEBUGGING, MIPSEL): No info about these, remove. + +Mon Nov 30 11:32:21 1998 Andrew Cagney + + * gdbint.texinfo (FRAME_CHAIN_VALID_ALTERNATE): + +Sat Nov 28 13:45:53 1998 Andrew Cagney + + * gdbint.texinfo (INNER_THAN): Update, now takes parameters. + +Fri Nov 27 12:39:45 1998 Andrew Cagney + + * gdbint.texinfo (NO_SINGLE_STEP): Replace with + SOFTWARE_SINGLE_STEP_P and SOFTWARE_SINGLE_STEP. + +Wed Oct 14 10:02:40 1998 Andrew Cagney + + * gdbint.texinfo: Fix minor typos. + +Wed Sep 30 18:03:19 1998 Stan Shebs + + * gdbint.texinfo: Complete overhaul. Group descriptions more + logically, add more info on generic algorithms, remove much + obsolete and/or wrong material. + +Fri Jul 24 17:51:38 1998 Ian Lance Taylor + + * stabs.texinfo (Method Type Descriptor): Expand and correct. + +Mon May 4 10:37:12 1998 Brian Youmans (3diff@gnu.org) + + * refcard.tex: Copyright, address updates. + +Tue Apr 21 18:09:56 1998 Stan Shebs + + * gdb.texinfo (EDITION, DATE): Update and change to use ordinals + for the edition instead of confusing GDB-version-like numbers. + +Mon Apr 13 14:05:00 1998 Fred Fish + + * gdb.texinfo (hbreak, watch): Fix typo, "date" -> "data". + +Thu Apr 2 16:52:44 1998 Jason Molenda (crash@bugshack.cygnus.com) + + * LRS: Reformat a bit to keep text under 80 columns. + +Thu Apr 2 16:10:36 1998 Stan Shebs + + * gdb.texinfo: Add some credits, mention bug monitor. + * remote.texi: Mention mips monitor targets. + * gdbint.texinfo: Describe SP_REGNUM, STEP_SKIPS_DELAY. + +Mon Feb 2 17:13:03 1998 Stan Shebs + + * gdbint.texinfo: Remove obsolete mentions of pinsn.c and opcode.h + files, finish sorting of host vs target vs native macros, describe + some more of them. + +Tue Jan 13 16:44:50 1998 Fred Fish + + * gdbint.texinfo (Host Conditionals): Document change from + using NO_MMALLOC to it's inverse, USE_MMALLOC. + +Mon Nov 24 13:55:21 1997 Andrew Cagney + + * gdbint.texinfo (Host Conditionals): Document + PRINTF_HAS_LONG_DOUBLE, SCANF_HAS_LONG_DOUBLE, HAVE_LONG_DOUBLE. + +Fri Jul 4 14:52:31 1997 Ian Lance Taylor + + * gdbint.texinfo (Host Conditionals): Add CRLF_SOURCE_LINES. + Document LSEEK_NOT_LINEAR. + +Tue Mar 25 14:44:09 1997 Ian Lance Taylor + + * stabs.texinfo (Stab Section Basics): Make it clear that only + some versions of the GNU linker remove the leading N_UNDF symbol. + +Thu Feb 27 17:45:19 1997 Ian Lance Taylor + + * stabs.texinfo (String Field): Document type number pairs here, + instead of in the Sun specific section. + (Include Files): The GNU linker supports the N_BINCL + optimization. Clarify the N_BINCL value, and what it is used + for. + (Procedures): Document N_FUN with an empty string to mark the end + of a function. + (Typedefs): Mention that Sun compilers may use N_GSYM for a type. + (Sun Differences): Remove this node, as the information is now + elsewhere in the main document. + (Stab Section Basics): Mention that the GNU linker may optimize + stabs and remove the leading N_UNDF symbol. + +Mon Dec 9 12:23:32 1996 Roland Pesch + + * gdb.texinfo, refcard.tex: Restore author credit + +Wed Oct 2 22:07:16 1996 Fred Fish + + * gdbint.texinfo: Document that SIGTRAMP_START and SIGTRAMP_END + are macros that take an single argument. + +Wed Oct 2 22:01:36 1996 Fred Fish + + * gdbint.texinfo (SIGTRAMP_START, SIGTRAMP_END): Update + documentation to account for START and END macros taking + one arg. + +Thu Aug 22 17:59:03 1996 Fred Fish + + From: Eberhard Mattes + * gdb.texinfo (Frames): Fix typo. + +Tue Jul 23 10:06:20 1996 Fred Fish + + * gdbint.texinfo (NO_SINGLE_STEP): Document that single_step takes + a target_signal as arg type, not a pid. + +Fri Jul 12 11:10:05 1996 Stu Grossman (grossman@critters.cygnus.com) + + * gdb.texinfo: Document `set assembly-language'. + +Thu Jul 11 13:50:28 1996 Stan Shebs + + * remote.texi: Update list of stubs in the GDB distribution. + +Fri Jul 5 15:38:54 1996 Fred Fish + + * gdbint.texinfo (NO_MMCHECK): Renamed from NO_MMALLOC_CHECK. + Also document that some systems can use mmalloc but must define + this if their C runtime allocates memory that is later freed. + (MMCHECK_FORCE): Document new macro. + +Fri Jun 28 22:17:10 1996 Dawn Perchik + + * remote.texi: Add documentation for target Sparclet. + +Mon Jun 24 18:12:22 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) + + * Makefile.in (srcdir, VPATH, prefix, infodir, INSTALL, + INSTALL_PROGRAM, INSTALL_DATA): Use autoconf set values. + * configure.in: Rewritten for autoconf. + * configure: New. + +Mon Jun 17 10:43:41 1996 Fred Fish + + * Makefile.in (DVIPS): New define, set to dvips. + (dvi): Add stabs.dvi. + (ps): New target. + (all-doc): Depend on info, dvi, and ps targets. + (STAGESTUFF): Add *.ps and *.dvi files. + (clean-info, clean-dvi): Remove. + (mostlyclean): Does not depend upon clean-info or clean-dvi, + rules completely rewritten. + (maintainer-clean): Remove clean-info and clean-dvi + dependencies and put their actions in the rules. + (gdb.ps): New target + (gdb.dvi, gdbgui.dvi, gdbint.dvi, stabs.dvi): Remove + intermediate TeX files, whether they have 2 or 3 character + extensions. + (gdbint.ps): Add target and rules. + (gdb-internals): Delete unused target. + (Makefile): Depends upon config.status also. + +Sat Mar 30 15:46:58 1996 Fred Fish + + * gdbint.texinfo (CC_HAS_LONG_LONG): Clarify when/how this is + set. + +Sat Mar 16 15:10:20 1996 Fred Fish + + From Peter Schauer + * gdb.texinfo (Expressions): Fix erroneous array constant example. + +Sat Mar 16 13:28:45 1996 Fred Fish + + * gdb.texinfo: Add missing "@bullet" to some "@itemize" commands. + +Sat Feb 10 03:28:36 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * gdb.texinfo (Print settings): Document + `set/show print static-members' commands. + +Wed Jan 10 14:16:37 1996 Fred Fish + + * gdbint.texinfo (Native): Document name change, coredep.c to + core-aout.c. + +Wed Dec 13 12:35:28 1995 Ian Lance Taylor + + * stabs.texinfo (Include Files): Document the values the SunOS4 + linker creates for N_BINCL/N_EINCL/N_EXCL stabs. + +Fri Dec 8 21:08:44 1995 Fred Fish + + * gdbint.texinfo (Releases): Change gdb.tar.Z to gdb.tar.gz. + Fix typo. + +Fri Dec 1 11:07:50 1995 Fred Fish + + * gdbint.texinfo (Releases): Make "gdb.tar.gz" rather than + "gdb.tar.Z". + +Wed Sep 20 13:14:10 1995 Ian Lance Taylor + + * Makefile.in (maintainer-clean): New target, synonym for + realclean. + +Wed Sep 20 08:16:03 1995 steve chamberlain + + * gdbint.texinfo (GETENV_PROVIDED, FCLOSE_PROVIDED): Document. + +Thu Aug 3 10:45:37 1995 Fred Fish + + * Update all FSF addresses except those in COPYING* files. + +Wed Jul 19 18:43:03 1995 Stan Shebs + + From Richard Earnshaw (rearnsha@armltd.co.uk): + * gdb.texinfo (convenience variables): Document $_exitcode. + (quit): Document optional expression to use as exit code. + +Thu Jun 22 21:27:33 1995 Victoria Mixon + + * gdb.texinfo, remote.texi: Brought up to date with various + GDB changes. + +Tue Jun 20 14:35:38 1995 Stan Shebs + + * gdb.texinfo: Update dates and versions, fix comments about + hardware watchpoints in future releases and about the + sharedlibrary command. + +Mon May 8 09:30:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com) + + * stabs.texinfo: Remove node `XCOFF differences'. Describe value of + C_FUN stab. Other cleanups. + +Wed Apr 19 07:02:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com) + + * remote.texi (Bootstrapping): Clarify that flush_i_cache is only + for the sparc stub. + +Tue Apr 11 11:41:49 1995 Jim Kingdon (kingdon@lioth.cygnus.com) + + * annotate.texi: Clarify which addresses have differing formats + depending on the language and which do not. + +Tue Mar 28 16:56:22 1995 J.T. Conklin + + * remote.texi (NetWare): Changed example to use BOARD= instead of + NODE= argument to reflect correspoding change to gdbserve.nlm. + +Fri Mar 17 06:47:02 1995 Jim Kingdon (kingdon@lioth.cygnus.com) + + * stabs.texinfo (Negative Type Numbers): Mention the fact that + GDB, as well as AIX dbx, supports the size type attribute. + +Thu Mar 16 12:11:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com) + + * stabs.texinfo (Negative Type Numbers): Document types -31 to -34. + +Mon Mar 13 16:49:13 1995 Per Bothner + + * gdb.texinfo (Define): Document $arg0... arguments to commands, + and new 'if' and 'while' commands. + +Fri Feb 17 15:24:35 1995 Per Bothner + + * gdb.texinfo (Artificial arrays): Note use of coerce-to-array-type. + +Wed Feb 15 11:59:18 1995 J.T. Conklin + + * all-cfg.texi: New flag, GDBSERVE, for NetWare's gdbserve.nlm. + * remote.texi (NetWare): New node, how to use gdbserve.nlm on + NetWare targets. Mostly stolen from the Server node. + +Fri Feb 10 20:20:08 1995 Jim Kingdon (kingdon@lioth.cygnus.com) + + * gdb.texinfo (Setting): Talk about the language of a source file + versus the working language. The old documentation did not match + what GDB did. + +Wed Feb 1 20:26:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com) + + * stabs.texinfo (Source Files): Document N_SO used to mark the end + of a source file. + +Mon Jan 23 14:23:37 1995 Jim Kingdon (kingdon@lioth.cygnus.com) + + * gdb.texinfo (Processes): New node. + +Tue Jan 17 14:09:03 1995 Ian Lance Taylor + + * remote.texi: Update documentation of set/show mipsfpu. + +Fri Jan 6 17:17:28 1995 Stan Shebs + + * gdbgui.texinfo: New file, manual for GUI (gdbtk) users. + * Makefile.in (gdbgui.dvi, gdbgui.info): New actions. + +Sun Sep 4 16:47:21 1994 Stan Shebs (shebs@andros.cygnus.com) + + * gdbint.texinfo: Removed mentions of some incorrectly placed and + obsolete conditionals, described some others. + +Mon Aug 1 15:42:39 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * gdbint.texinfo: Remove references to BROKEN_LARGE_ALLOCA and + SET_STACK_LIMIT_HUGE; they were removed from GDB 14 May 1994. + +Mon Aug 1 15:12:02 1994 Stan Shebs (shebs@andros.cygnus.com) + + * gdbint.texinfo: Put regex conditionals in their own table. + +Tue Jul 26 18:32:52 1994 Stan Shebs (shebs@andros.cygnus.com) + + * gdbint.texinfo: Removed mentions of many obsolete conditionals, + described or fixed the descriptions of many others. + +Sun Jul 17 14:14:03 1994 Stan Shebs (shebs@andros.cygnus.com) + + * gdb.texinfo: Add some more credits. + * gdbint.texinfo: Capitalize GDB consistently, describe some + macros and remove some. + +Thu Jul 14 18:43:17 1994 Stan Shebs (shebs@andros.cygnus.com) + + * gdbint.texinfo: Removed mentions of many incorrectly placed and + obsolete conditionals, described some others. + +Tue Jul 12 12:23:15 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * gdb.texinfo (help targets): Changed to `help target', which + is the correct gdb command. + +Wed Jun 22 18:00:51 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * annotate.texi (TODO): New node, for keeping track of annotations + suggested but not yet implemented. + +Wed Jun 1 16:10:45 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * stabs.texinfo (Statics): Value of xcoff C_BSTAT points to + another symbol, it is not the address itself. + +Thu May 5 20:23:36 1994 Stan Shebs (shebs@andros.cygnus.com) + + * stabs.texinfo (Stab Section Basics): Add comment about alignment + of stabs-in-coff sections. + +Wed May 4 06:26:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * annotate.texi: Change edition to 0.5 and date to May 1994. + Add index. + (Frames): New node, for frame annotation. + (Displays): New node, for display annotation. + + * remote.texi (MIPS Remote): Say that set timeout doesn't apply + when waiting for your program to stop. + +Fri Apr 29 18:24:46 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * annotate.texi (Breakpoint Info): Document annotation of header + fields and record annotation. + +Thu Apr 28 07:44:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * annotate.texi: New file, to document annotations. + +Thu Apr 21 14:20:51 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * Makefile.in (clean): Don't remove GDBvn.texi (apparently on Jan + 16 I meant to make this change but did not). Do remove gdb-cfg.texi. + +Wed Apr 20 11:22:48 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * stabs.texinfo (Stab Section Basics): Say what is in .stab + section, and say n_strx field is compilation unit relative. + * stabs.texinfo: Don't use @code for a.out when it is the name of + an object file format. + +Wed Apr 13 20:29:54 1994 Jim Kingdon (kingdon@deneb.cygnus.com) + + * gdb.texinfo: Refer to file names, not path names, per rms + convention. + (Arguments): Fix typo. + +Thu Mar 24 08:09:12 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * stabs.texinfo (Global Variables): Talk about stabs in files + where variables are referenced, but not defined. + +Wed Mar 23 07:16:36 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * stabs.texinfo: Move stuff on @ and # type descriptors from node + Cplusplus to new nodes Member Type Descriptor and Method Type + Descriptor. Re-write stuff for #. + +Wed Mar 16 08:20:19 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * gdb.texinfo (Print Settings): Don't document "set print + fast-symbolic-addr off". The bug which it worked around was fixed + on 25 Feb 94 in coffread.c, so I'm nuking the command. + + * stabs.texinfo (Alternate Entry Points): New node, rewritten from + N_ENTRY node. + + * stabs.texinfo (Type Descriptors): Add 'Y' type descriptor. + +Tue Mar 15 08:43:02 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * gdbint.texinfo (Host Conditionals, Target Conditionals): Remove + references to ieee-float.c. + +Fri Mar 11 08:09:40 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * gdb.texinfo (Set Breaks): Update documentation for tbreak to + match what the code actually does. + +Wed Mar 9 19:43:05 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * stabs.texinfo (Symbol Descriptors): Add OS9000 symbol descriptor s. + +Tue Mar 1 17:04:43 1994 Jim Kingdon (kingdon@deneb.cygnus.com) + + * stabs.texinfo (Type Descriptors): Add OS9000 type descriptors c, + i, and b. + +Wed Feb 23 10:44:18 1994 Jim Kingdon (kingdon@rtl.cygnus.com) + + * stabs.texinfo: Document N_RBRAC as function relative for COFF as + well as for ELF and SOM. Unify the descriptions of ELF and SOM + as "stabs in sections" rather than just saying "ELF and SOM". + Also make that stuff apply to COFF. + +Fri Feb 18 08:25:58 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * gdb.texinfo (Formatting Documentation): Change GhostScript to + Ghostscript. + +Fri Feb 4 06:31:31 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * gdb.texinfo (Continuing and Stepping): When talking about "step" + versus functions without line numbers, also mention stepping into + them as well as "step" when you are in them. Tell the user how to + deal with the situation. Add comment about "debugging information". + +Thu Feb 3 11:39:59 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * stabs.texinfo (Enumerations): Document restriction on where + enumeration types can appear and still win with GDB. + +Wed Feb 2 11:29:17 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * stabs.texinfo (Negative Type Numbers): Document format for type + -16. + +Thu Jan 27 16:53:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * gdb.texinfo (Selection, Frame Info): Update information about + arbitrary frame specficiations. + +Wed Jan 26 15:31:57 1994 Roland H. Pesch (pesch@fowanton.cygnus.com) + + * gdb.texinfo, remote.texi: general editing pass prior to Net release + +Tue Jan 25 12:12:04 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * stabs.texinfo (String Field): Discuss continuing stabs with ?. + +Wed Jan 19 06:39:24 1994 David J. Mackenzie (djm@thepub.cygnus.com) + + * stabs.texinfo (Non-Stab Symbol Types): Mention N_SET* | N_EXT. + +Sun Jan 16 12:43:32 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * stabs.texinfo: Re-do stuff about C_BSTAT and move from XCOFF + Differences node to Statics node. + (Statics): Discuss XCOFF use of V symbol descriptor. + + * Makefile.in: Remove refcard.dvi and GDBvn.texi in realclean, + not clean. + +Wed Jan 12 21:29:54 1994 John Gilmore (gnu@cygnus.com) + + * gdb.texinfo (Print Settings): Document `set print + fast-symbolic-addr' and improve the doc for some other + `set print's. + +Mon Jan 3 17:23:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * stabs.texinfo (String Field): Talk about defining several type + numbers at once. + Fix lint regarding changing node ELF Transformations to + ELF and SOM Transformations. + +Fri Dec 31 00:42:43 1993 John Gilmore (gnu@cygnus.com) + + * stabs.texinfo: Insert Peter Kessler's name as inventor (I think). + +Tue Dec 28 09:30:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * stabs.texinfo (Cross-References): `::' is for nested types only + within <>. + (Structures): Document static members. + +Mon Dec 27 13:55:04 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * stabs.texinfo: Document S type attribute. + +Sun Dec 26 20:46:36 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + + * stabs.texinfo: Add notes about stabs-in-som where appropriate. + +Fri Dec 3 19:13:19 1993 John Gilmore (gnu@cygnus.com) + + * gdbint.texinfo: Fix a few typos. + +Sun Nov 28 18:06:25 1993 Roland H. Pesch (pesch@fowanton.cygnus.com) + + * gdb.texinfo, remote.texi: formatting improvements + + * gdb.texinfo (New Features): mention threads. + (Summary, C): fix xrefs in newly contributed text. + (Threads): index entries, clarifications, example + (passim): minor typos fixed, phrasing improvements + + * remote.texi (Bootstrapping): rephrase text on ^C and add index + entries; (Server): explain use of gdbserver w/real-time systems, + add example of conflicting TCP port; (MIPS Remote) break up + running text into table, highlighting commands, and add example. + +Wed Nov 24 14:15:56 1993 Roland H. Pesch (pesch@fowanton.cygnus.com) + + * refcard.tex: avoid bad linebreaks even when REFEDITS=psrc.sed + +Fri Nov 12 16:10:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * stabs.texinfo (Nested Symbols): New node. + (String Field, Symbol Descriptors, Cross-References): Refer to it. + +Thu Nov 11 13:26:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * stabs.texinfo (Stabs in ELF): Clarify how Bbss.bss work with respect + to picking which Bbss.bss symbol to use, and (because there seems to + be no good way of doing it) re-write some of the text to make it + sound like Bbss.bss isn't such a great idea after all (as currently + designed). + + * gdb.texinfo (C): In addition to saying people have to use g++ for + good results, say they have to use stabs. Specifically say cfront + doesn't work well. + (Summary): Merge in information on Modula-2, Pascal, and Chill from + the gdb README. Add xrefs to places where the support for the various + languages is described in detail. + +Mon Nov 8 11:47:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * stabs.texinfo: Clean up stuff about visibility and virtual + characters. + + * stabs.texinfo (N_M2C): Cite Sun doc. + +Fri Nov 5 16:27:27 1993 Roland H. Pesch (pesch@fowanton.cygnus.com) + + * gdb.texinfo: updates re threads. + * remote.texinfo: avoid index entries starting with digits. + +Tue Nov 2 09:08:37 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * stabs.texinfo (Enumerations): Talk about large, negative and + octal values. Clean up cross reference to type attributes. + (String Field): Say that GDB 4.11 supports size attribute. + +Sun Oct 31 13:31:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * remote.texi (VxWorks Remote): Clarify that rebuilding VxWorks kernel + is a mandatory step. Make the stuff about that more concise. + +Wed Oct 27 00:25:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * stabs.texinfo (Class Names): New node. + + * gdb.texinfo (Command Files): Explain order of init file reading. + + * remote.texi (Bootstrapping): Talk about getting the serial driver + to deal with ^C sent by gdb to stop the remote system. + +Mon Oct 25 03:25:41 1993 Tom Lord (lord@cygnus.com) + + * libgdb.texinfo (I/O): incorporated better phrasing from rich. + + * libgdb.texinfo (Defining Commands): made the DOC arg + to gdb_define_app_command a char * instead of char ** + per a suggestion from kingdon. + + * libgdb.texinfo: total rewrite from a different starting + premise. + +Wed Oct 20 18:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * stabs.texinfo (Local Variable Parameters): Re-write paragraph on + floats passed as doubles (to improve clarity). + +Tue Oct 19 14:21:18 1993 Roland H. Pesch (pesch@fowanton.cygnus.com) + + * gdb.texinfo (Source Path): index entries for $cwd, $pdir + + * a4rc.sed: update to work with Andreas Vogel papersize params + + * refcard.tex: use Andreas Vogel simplifications of papersize + params; remove useless version info; update copyright date. + +Tue Oct 19 10:46:22 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * gdb.texinfo (Symbols): Add class NAME to doc for ptype. + +Tue Oct 12 09:11:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * gdb.texinfo (Files): Say what address the load command loads it at. + + * stabs.texinfo (Common Blocks): Minor cleanups. + + * stabs.texinfo: Update ld stabs in elf relocation to reflect the fact + that Sun has backed away from the linker kludge and thus the relevant + issue is changes to the SunPRO tools, not the Solaris linker. + + * stabs.texinfo (Traditional Integer Types): Clean up description + of octal bounds a little bit. Document extra leading zeroes. + +Thu Oct 7 16:15:37 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * gdb.texinfo (Signaling): Update for symbolic symbol names + and add a section explaining the difference between the GDB + signal command and the shell kill utility. + +Wed Oct 6 13:23:01 1993 Tom Lord (lord@rtl.cygnus.com) + + * libgdb.texinfo: added `@' to braces that were unescaped. + +Mon Oct 4 10:42:18 1993 Tom Lord (lord@rtl.cygnus.com) + + * libgdb.texinfo: new file. Spec for the gdb library. + +Sun Oct 3 15:26:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * stabs.texinfo (Include Files): Fix typo (start -> end). + +Thu Sep 30 18:24:56 1993 Roland H. Pesch (pesch@fowanton.cygnus.com) + + * gdb.texinfo, remote.texi: assorted small improvements, mostly + from Melissa at FSF's editing pass. + +Thu Sep 30 11:54:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * gdb.texinfo: Remove stuff about ar and 14 character filenames. + I believe this was fixed by the 13 Sep 89 change to print_frame_info. + Also, modern versions of ar like BSD 4.4 or SVR4 don't have this bug. + +Wed Sep 22 21:22:11 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * remote.texi (Bootstrapping): Discuss 386 call gates. + +Sat Sep 18 17:10:44 1993 Jim Kingdon (kingdon@poseidon.cygnus.com) + + * stabs.texinfo (Based Variables): New node. + +Thu Sep 16 17:48:55 1993 Jim Kingdon (kingdon@cirdan.cygnus.com) + + * stabs.texinfo (Negative Type Numbers): Re-write discussions of + names, sizes, and formats to suggest how not to lose. + +Sat Sep 11 09:35:11 1993 Jim Kingdon (kingdon@poseidon.cygnus.com) + + * stabs.texinfo (Methods): Fix typo. + +Fri Sep 10 06:34:20 1993 David J. Mackenzie (djm@thepub.cygnus.com) + + * gdb.texinfo: Fix a few typos. + +Wed Sep 8 09:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * gdb.texinfo: Clarify how well it works with Fortran. + + * stabs.texinfo (Stabs In ELF, Statics, ELF Transformations): + More on relocating stabs in ELF files. + +Tue Sep 7 13:45:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * stabs.texinfo (Stabs In ELF): Talk about N_FUN value. + +Mon Sep 6 19:23:18 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * stabs.texinfo (Local Variable Parameters): Talk about nameless + parameters on VAX. + +Fri Sep 3 17:06:08 1993 Roland H. Pesch (pesch@fowanton.cygnus.com) + + * gdb.texinfo: @up/@down -> @raisesections/@lowersections + +Fri Sep 3 12:04:15 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * stabs.texinfo: Make info author notice match the TeX author notice. + +Tue Aug 31 13:21:06 1993 David J. Mackenzie (djm@thepub.cygnus.com) + + * stabs.texinfo: Initial-caps all words in node names and + non-trivial words in section names. + +Mon Aug 30 11:13:16 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * stabs.texinfo: Many minor cleanups. + + * stabs.texinfo: Remove @deffn except from Expanded Reference node. + +Sat Aug 28 12:08:09 1993 David J. MacKenzie (djm@edison.eng.umd.edu) + + * stabs.texinfo: Remove full description of big example. + It's not really helpful; just use pieces of it where appropriate. + Add more Texinfo formatting directives (@samp, etc.). + Use @deffn to define stab types. + Eliminate some wordiness. Break up some nodes. + Add an (alphabetized) index of symbol types. + Use consistent capitalization style in node and section names. + +Thu Aug 26 06:36:31 1993 Fred Fish (fnf@deneb.cygnus.com) + + * gdb.texinfo: Change typo "Two two" to "The two". + +Sun Aug 22 12:15:18 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * stabs.texinfo (XCOFF-differences): Remove references to + non-existent types N_DECL and N_RPSYM. + + * stabs.texinfo (String Field): Say that type attributes bug is + fixed in GDB 4.10, since it is. + + * stabs.texinfo: Clean up djm cleanups, and more cleanups of my own. + +Sat Aug 21 04:32:28 1993 David MacKenzie (djm@cygnus.com) + + * stabs.texinfo: Formatting cleanups. + +Fri Aug 20 20:49:53 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * stabs.texinfo: When explaining the n_type of a stab, standardize + how we do it ('#' as a comment indicator, "36 is N_FUN" as text, + no tabs, use @r). + (Global Variables): Clean up. + +Tue Aug 17 15:57:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * stabs.texinfo (Stack Variables): Re-write. + +Mon Aug 16 21:20:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * stabs.texinfo (Stabs-in-elf): Talk about getting the start + addresses of a source file. Also revise formatting. + Change "object module" or "object file" to "source file". + Various: Miscellaneous cleanups. + +Thu Aug 12 15:11:51 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * stabs.texinfo: Point to mangling info in gcc's gpcompare.texi. + +Tue Aug 10 16:57:49 1993 Stan Shebs (shebs@rtl.cygnus.com) + + * gdbint.texinfo: Removed many nonsensical machine-collected + host and target conditionals, described some of the remainder. + +Tue Aug 10 13:28:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * gdbint.texinfo (Getting Started): Use @itemize, not @table. + + * gdbint.texinfo (Top): Add name to @top line, and re-write the + paragraph which follows. + + * gdbint.texinfo (Host): Use @code not @samp for Makefile + variables. Looks better and avoids overful hbox. + +Fri Jul 30 18:26:21 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * stabs.texinfo (Procedures): Improve stuff on nested functions. + +Thu Jul 29 15:10:58 1993 Roland H. Pesch (pesch@fowanton.cygnus.com) + + * remote.texi: (MIPS Remote) clearer doc for set/show timeout, + retransmit-timeout + +Thu Jul 29 13:16:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * gdbint.texinfo: Update statement about `some ancient Unix + systems, like Ultrix 4.0' to Ultrix 4.2. + +Wed Jul 28 15:26:53 1993 Roland H. Pesch (pesch@el_bosque.cygnus.com) + + * h8-cfg.texi, all-cfg.texi: new flag GDBSERVER + + * Makefile.in: depend on remote.texi rather than gdbinv-s.texi + + * remote.texi: (Server) New node on gdbserver. (Remote Serial, + ST2000 Remote, MIPS Remote): mention `host:port' syntax for TCP. + + * remote.texi: new name for former gdbinv-s.texi + + * gdb.texinfo: use remote.texi rather than gdbinv-s.texi + +Wed Jul 28 08:26:24 1993 Ian Lance Taylor (ian@cygnus.com) + + * gdbinv-s.texi: Documented timeout and retransmit-timeout + variables for MIPS remote debugging protocol. + +Mon Jul 26 13:00:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * stabs.texinfo (Negative Type Numbers): FORTRAN LOGICAL fix. + +Tue Jul 20 16:30:41 1993 Jim Kingdon (kingdon@deneb.cygnus.com) + + * Makefile.in (refcard.dvi): Use srcdir where necessary. + +Mon Jul 19 12:02:50 1993 Roland H. Pesch (pesch@cygnus.com) + + * gdb.texinfo: repair conditional bugs in text markup + +Fri Jul 16 18:57:50 1993 Roland H. Pesch (pesch@fowanton.cygnus.com) + + * gdb.texinfo, all-cfg.texi, h8-cfg.texi: introduce MOD2 switch + to select Modula-2 material. + +Thu Jul 15 13:15:01 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * stabs.texinfo: Cleanups regarding statics. + + * gdbinv-s.texi (Bootstrapping): Document exceptionHandler. + (Debug Session): Mention exceptionHandler. Add xref to Bootstrapping. + +Mon Jul 12 13:37:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * stabs.texinfo: N_MAIN is sometimes used for C. + +Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * gdbint.texinfo (Host, Target Conditionals): Remove TM_FILE_OVERRIDE. + +Tue Jul 6 12:41:28 1993 John Gilmore (gnu@cygnus.com) + + * gdbint.texinfo (Target Conditionals): Remove NO_TYPEDEFS, + removed from the code by Kingdon. + +Tue Jul 6 12:24:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * gdb.texinfo (Break Commands): Remove stuff about flushing terminal + input when evaluating breakpoint conditions; the bug has been fixed. + + * gdb.texinfo (Continuing and Stepping): Argument to "continue" + sets the ignore count to N-1, not to N. + +Thu Jul 1 14:57:42 1993 Roland H. Pesch (pesch@fowanton.cygnus.com) + + * refcard.tex (\hoffset): correct longstanding error to match + intended offset; avoids cutting off edge on some printers + +Wed Jun 30 18:23:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * stabs.texinfo (Parameters): Say that order of stabs is significant. + +Fri Jun 25 21:34:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * stabs.texinfo (Common Blocks): Say what Sun FORTRAN does. + +Fri Jun 25 16:15:10 1993 Roland H. Pesch (pesch@fowanton.cygnus.com) + + * Makefile.in: (REFEDITS) new var to control whether PS or CM + fonts and whether US or A4 paper for GDB refcard; (refcard.dvi) + collect sed edits if any, apply to refcard before formatting; + (refcard.ps) stop implying PS fonts if PS output requested; + (lrefcard.ps) delete extra target for variant PS fonts + + * refcard.tex: parametrize papersize dependent info, collect + in easily replaced spot + + * a4rc.sed: new file, edits to refcard for A4 paper + +Fri Jun 25 14:21:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * stabs.texinfo (Negative Type Numbers): Type -16 is 4 bytes. + +Wed Jun 23 15:02:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * stabs.texinfo (Negative Type Numbers): Minor character cleanups. + +Tue Jun 22 16:31:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * stabs.texinfo: Express disapproval of 'D' symbol descriptor + politely rather than rudely. + +Fri Jun 18 19:42:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * stabs.texinfo: Document common blocks. + +Fri Jun 18 12:12:57 1993 Fred Fish (fnf@cygnus.com) + + * stabs.texinfo: Add some basic info about stabs-in-elf. + +Fri Jun 18 13:57:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * stabs.texinfo (Top): Minor cleanup. + +Mon Jun 14 16:16:51 1993 david d `zoo' zuhn (zoo at rtl.cygnus.com) + + * Makefile.in (install-info): remove parentdir support + +Tue Jun 15 18:11:39 1993 Roland H. Pesch (pesch@fowanton.cygnus.com) + + * gdb.texinfo (Copying): delete this node and references to it; + RMS says this manual need not carry GPL. (passim): Improvements + from last round at FSF, largely due to Ian Taylor review, and + minor formatting improvements. + + * gdbinv-s.texi (passim): Improvements from last round at FSF, + largely due to Ian Taylor review. (Debug Session): minor edits to + new text. + +Sun Jun 13 12:52:39 1993 Jim Kingdon (kingdon@cygnus.com) + + * Makefile.in (realclean): Remove info and dvi files too. + +Sat Jun 12 16:09:22 1993 Jim Kingdon (kingdon@cygnus.com) + + * {all,h8}-config.texi: Rename to *-cfg.texi for 14 char filenames. + * Makefile.in: Change accordingly. gdb-config.texi -> gdb-cfg.texi. + * gdb.texinfo: Change accordingly. + + * stabs.texinfo: Clean up N_{L,R}BRAC. Discuss what addresses of + N_{L,R}BRAC,N_SLINE are relative to. + +Fri Jun 11 15:15:55 1993 Jim Kingdon (kingdon@cygnus.com) + + * Makefile.in (GDBvn.texi): Update atomically. + +Wed Jun 9 10:58:16 1993 Jim Kingdon (kingdon@cygnus.com) + + * gdbinv-s.texi (Debug Session): Document exceptionHook. + +Tue Jun 8 13:42:04 1993 Jim Kingdon (kingdon@cygnus.com) + + * gdb.texinfo (Print Settings): Move all stuff relating to symbolic + addresses together. Also motivate the set print symbol-filename + command and suggest other solutions. + +Tue Jun 1 22:46:43 1993 Fred Fish (fnf@cygnus.com) + + * gdb.texinfo (set print elements): Note that the number of + elements is set to unlimited by "set print elements 0". + +Mon May 31 08:06:55 1993 Jim Kingdon (kingdon@cygnus.com) + + * stabs.texinfo (Builtin Type Descriptors): Try to clarify what + NF_LDOUBLE means. + (Stab Types): Include Solaris stab types. + (Procedures): Document Solaris extensions. + +Thu May 27 06:20:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * gdb.texinfo: Add `set print symbol-filename' doc. + +Wed May 26 00:26:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * stabs.texinfo (Arrays): Talk about type definition vs. type + information. + + * stabs.texinfo (Builtin Type Descriptors): Talk about omitting + the trailing semicolon. + +Tue May 25 14:49:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * stabs.texinfo (Line Numbers, Source Files): Re-write these two nodes + and merge in other parts of the document addressing these subjects. + gdbint.texinfo (XCOFF): Remove info which is now in stabs.texinfo. + + * stabs.texinfo (Subranges, Arrays): Try to explain about the semicolon + at the end of a range type. + + * stabs.texinfo (Subranges): "A offset" and "T offset" are not + AIX extensions. + +Mon May 24 09:00:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * stabs.texinfo (Stabs Format): Misc fixes. + +Sat May 22 10:40:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * stabs.texinfo (Constants): Allow an `e' constant to be non-enum. + (Traditional builtin types): Document convex convention for long long. + (Negative builtin types): Discuss type names, and misc fixes. + +Fri May 21 11:20:31 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * stabs.texinfo (Builtin Type Descriptors): Document the floating + point types used with @samp{R} type descriptor. + (Symbol Descriptors): Describe how to handle conflict between + different meanings of @samp{P} symbol descriptor. + +Thu May 20 13:35:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * stabs.texinfo: Remove node Quick Reference and put its children + directly under the main menu. + + * stabs.texinfo: Many more changes to bring it into line with + AIX documentation and reality. I think it now has all the + information from the AIX documentation, except that I burned + out when I got to variant records (Pascal and Modula-2) and + all the COBOL types. Oh well, we can add them later when we're + worrying more about those languages. + + * stabs.texinfo (Automatic variables): Talk about what it means + to omit the symbol descriptor. + +Tue May 18 17:59:18 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * stabs.texinfo (Parameters): Add "(sometimes)" when describing + gcc2 behavior with promoted args. + +Fri May 14 21:35:29 1993 Roland H. Pesch (pesch@fowanton.cygnus.com) + + * gdb.texinfo: include readline appendices in info version of manual + +Fri May 7 11:56:18 1993 Roland H. Pesch (pesch@fowanton.cygnus.com) + + * gdbinv-s.texi (Remote Serial): describe new ^C behavior in + target remote. + + * gdb.texinfo (Machine Code): more index entries for disassemble + +Fri May 7 10:12:30 1993 Fred Fish (fnf@cygnus.com) + + * Clarify the intended use of the gdb-testers and gdb-patches + mailing lists, and shrink gzip comment. + +Thu May 6 16:39:50 1993 Roland H. Pesch (pesch@fowanton.cygnus.com) + + * gdb.texinfo (Shell Commands): do not mention SHELL env var in + DOSHOST configuration of manual. + + * gdb.texinfo (MIPS Stack): new node. + + * all-config.texi (MIPS) new switch. + + * gdbinv-s.texi (Nindy Options) Remove two instances of future + tense; (MIPS Remote) new node. + + * gdb.texinfo (passim) rephrases to work around makeinfo @value + bug; (Environment) less passive, other small cleanups in text about + .cshrc/.bashrc; (Invoking GDB) new MIPS Remote menu entry; + (Remote) new MIPS Remote menu entry. + +Thu Apr 29 09:36:25 1993 Jim Kingdon (kingdon@cygnus.com) + + * stabs.texinfo: Many changes to include information from the + AIX documentation. + + * gdb.texinfo (Environment): Mention pitfall with .cshrc. + +Thu Apr 29 00:03:59 1993 Fred Fish (fnf@cygnus.com) + + * gdbint.texinfo (LONG_LONG): Replace with CC_HAS_LONG_LONG. + Add PRINTF_HAS_LONG_LONG references. + +Wed Apr 28 11:39:18 1993 Roland H. Pesch (pesch@fowanton.cygnus.com) + + * gdb.texinfo: Make node "Shell Commands" unconditional; describe + `set demangle-style arm' (not cfront); mention can type `q' to + discard output, when gdb pages. + +Tue Apr 27 14:02:57 1993 Jim Kingdon (kingdon@cygnus.com) + + * gdbint.texinfo (new node Debugging GDB, elsewhere): + Move a bunch of information from ../README. + (Getting Started): New node. + +Fri Apr 23 17:21:13 1993 Roland H. Pesch (pesch@fowanton.cygnus.com) + + * gdbinv-s.texi, gdb.texinfo: include Hitachi SH target + + * gdb.texinfo: advance manual revision dates to present + + * gdbinv-s.texi, gdb.texinfo, all-config.texi, h8-config.texi: + stop using silly Roman numerals in @set variable names + +Fri Apr 23 07:30:01 1993 Jim Kingdon (kingdon@cygnus.com) + + * stabs.texinfo (Parameters): Keep trying to get this right. + +Wed Apr 21 15:18:47 1993 Jim Kingdon (kingdon@cygnus.com) + + * stabs.texinfo (Parameters): More on "local parameters". + +Mon Apr 19 08:00:51 1993 Jim Kingdon (kingdon@cygnus.com) + + * stabs.texinfo (Parameters): Re-do "local parameters" section. + +Sun Apr 18 09:47:45 1993 Jim Kingdon (kingdon@cygnus.com) + + * stabs.texinfo (Symbol descriptors): Re-do using @table and @xref. + (Parameters): Rewrite. + (xcoff-differences, Sun-differences): Minor changes. + +Thu Apr 15 02:35:24 1993 John Gilmore (gnu@cacophony.cygnus.com) + + * stabs.texinfo: Minor cleanup. + +Wed Apr 14 17:31:00 1993 Jim Kingdon (kingdon@cygnus.com) + + * gdbint.texinfo: Minor xcoff stuff. + +Wed Apr 7 14:11:07 1993 Fred Fish (fnf@cygnus.com) + + * gdbint.texinfo: Update for new config directory structure. + Add info about internal type data structures. + +Mon Apr 5 09:06:30 1993 Ian Lance Taylor (ian@cygnus.com) + + * Makefile.in (SFILES_INCLUDED): gdb-config.texi is no longer in + $(srcdir). + (gdb-config.texi): Depend on file in $(srcdir). + +Fri Apr 2 16:55:13 1993 Jim Kingdon (kingdon@cygnus.com) + + * stabs.texinfo: Fixes about N_SO. + +Mon Mar 29 15:03:25 1993 Fred Fish (fnf@cygnus.com) + + * gdbinit.texinfo: Document renaming of tm-29k.h to tm-a29k.h. + +Fri Mar 26 18:00:35 1993 Roland H. Pesch (pesch@fowanton.cygnus.com) + + * gdb.texinfo: include list of nonstandard init file names + + * *-config.texi: new switch GENERIC for text that applies *only* + to (usual) multiple-target version of manual + + * gdb.texinfo, gdbinv-s.texi: Update conditional markup to correct + h8 config + + * gdb.texinfo: depend on latest fixed makeinfo, use conditionals + in menus (rather than conditionally selected multiple alternative + menus). + + * Makefile.in: define and use DOC_CONFIG var to select + configuration for GDB user manual. + + * gdb-config.texi: delete from repository, generate from Makefile. + + * all-config.texi: normal `generic' configuration file, formerly + stored as gdb-config.texi + +Wed Mar 24 14:03:19 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com) + + * Makefile.in: add dvi target to build all .dvi files + +Tue Mar 23 16:03:24 1993 Roland H. Pesch (pesch@fowanton.cygnus.com) + + * gdb.texinfo, gdvinv-s.texinfo: formatting improvements. + +Tue Feb 23 11:46:11 1993 Mike Stump (mrs@cygnus.com) + + * stabs.texi: The `this' pointer is now known by the name + `this' instead of `$t'. + +Fri Mar 19 21:46:50 1993 John Gilmore (gnu@cygnus.com) + + * gdbint.texinfo: Doc NO_MMALLOC and NO_MMALLOC_CHECK as + host conditionals. + * stabs.texinfo: More array fixes inspired by Jim's. + +Fri Mar 19 10:23:34 1993 Jim Kingdon (kingdon@cygnus.com) + + * stabs.texinfo: Fixes re arrays and continuations. + + * gdbint.texinfo: Add XCOFF node. + +Mon Mar 8 15:52:18 1993 John Gilmore (gnu@cygnus.com) + + * gdb.texinfo: Add `set print max-symbolic-offset' doc. + +Sun Feb 21 17:09:38 1993 Per Bothner (bothner@rtl.cygnus.com) + + * stabs.texinfo: Fix for array types to mention lower bounds. + +Thu Feb 18 01:19:49 1993 John Gilmore (gnu@cygnus.com) + + * gdbint.texinfo: Update PTRACE_ARG3_TYPE doc, pull PT_*. + +Wed Feb 17 08:15:24 1993 John Gilmore (gnu@cygnus.com) + + * gdbint.texinfo: Remove SET_STACK_LIMIT_HUGE from target defines. + +Thu Feb 11 10:38:40 1993 John Gilmore (gnu@cygnus.com) + + * gdbint.texinfo: Fix thinko (NM_FILE => NAT_FILE). Found + by Michael Ben-Gershon . + +Wed Feb 10 23:59:19 1993 John Gilmore (gnu@cygnus.com) + + * gdbint.texinfo: Eliminate IBM6000_HOST, document IBM6000_TARGET. + +Wed Feb 10 23:42:37 1993 John Gilmore (gnu@cygnus.com) + + * gdbint.texinfo: Eliminate IBM6000_HOST, document IBM6000_TARGET. + +Tue Feb 9 18:26:21 1993 Roland H. Pesch (pesch@fowanton.cygnus.com) + + * gdb.texinfo, gdbinv-s.texi: misc updates + +Sat Feb 6 10:25:47 1993 John Gilmore (gnu@cygnus.com) + + * gdbint.texinfo: Brief documentation for longjmp support, + from an email msg by Stu. + +Fri Feb 5 14:10:15 1993 John Gilmore (gnu@cygnus.com) + + * stabs.texinfo: Fix description of floating point "range" + types (which really define basic types). Reported by Jim Meehan, + . + + * gdbint.texinfo: Remove COFF_NO_LONG_FILE_NAMES define, now gone. + +Thu Feb 4 13:56:46 1993 Ian Lance Taylor (ian@cygnus.com) + + * gdbint.texinfo: Slightly expand section on supporting a new + object file format. + +Thu Feb 4 01:49:04 1993 John Gilmore (gnu@cygnus.com) + + * Makefile.in (refcard.ps, lrefcard.ps): Remove psref.tex + intermediate file. + +Tue Feb 2 12:18:06 1993 Roland H. Pesch (pesch@fowanton.cygnus.com) + + * gdb.texinfo, gdbinv-s.texi: miscellaneous stylistic cleanups + +Mon Feb 1 15:35:47 1993 Roland H. Pesch (pesch@fowanton.cygnus.com) + + * gdbinv-s.texi: z8000 simulator target name is just "sim" + + * gdbinv-s.texi: Mention that Z8000 simulator can simulate Z8001 + as well as Z8002. + +Thu Dec 17 00:44:57 1992 John Gilmore (gnu@cygnus.com) + + * gdbint.texinfo (Host Conditionals): Remove + NAMES_HAVE_UNDERSCORE, SOME_NAMES_HAVE_DOT, document + MEM_FNS_DECLARED. + (Target Conditionals): Remove all of the above. + +Tue Dec 15 02:01:00 1992 John Gilmore (gnu@cygnus.com) + + * gdbint.texinfo: SWAP_HOST_AND_TARGET => SWAP_TARGET_AND_HOST. + Noticed by Andy Jackson, . + +Sat Nov 28 06:51:35 1992 John Gilmore (gnu@cygnus.com) + + * gdbint.texinfo: Add sections on clean design and on how to send + in changes. + +Mon Nov 9 23:57:02 1992 John Gilmore (gnu@cygnus.com) + + * gdbint.texinfo: Add how to declare the result of make_cleanup. + +Tue Oct 27 17:08:45 1992 K. Richard Pixley (rich@cygnus.com) + + * gdbint.texinfo: nm.h now included in defs.h. + +Mon Oct 26 11:09:47 1992 John Gilmore (gnu@cygnus.com) + + * gdb.texinfo: Fix typo, reported by Karl Berry. + +Fri Oct 23 00:41:21 1992 John Gilmore (gnu@cygnus.com) + + * gdb.texinfo: Add opcodes dir to GDB distribution description. + +Wed Oct 21 03:51:01 1992 John Gilmore (gnu@cygnus.com) + + * gdbint.texinfo: Improve REGISTER_U_ADDR and USE_PROC_FS doc. + +Tue Oct 20 23:27:56 1992 John Gilmore (gnu@cygnus.com) + + * gdbint.texinfo: Document obsolete STACK_END_ADDR. + (all @node commands): Use new form to avoid nitpicking errors. + * gdbint.texinfo: Document host/native/target split. + +Tue Oct 20 21:32:18 1992 K. Richard Pixley (rich@sendai.cygnus.com) + + * gdbint.texinfo: add PUSH_DUMMY_FRAME, POP_FRAME. + +Fri Oct 16 03:34:01 1992 John Gilmore (gnu@cygnus.com) + + * gdbint.texinfo: Update GET_LONGJMP_TARGET, L_SET doc. + +Sat Oct 10 18:04:58 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) + + * gdbint.texinfo: fixed a stray email address (needs @@), + added @table @code to node "Native Conditionals" + +Thu Oct 8 16:27:45 1992 K. Richard Pixley (rich@sendai.cygnus.com) + + * gdbint.texinfo: document a few more macros, create new section + for native macros. + +Thu Oct 1 01:57:56 1992 John Gilmore (gnu@cygnus.com) + + * gdb.texinfo: Document command hooks. + +Tue Sep 22 00:34:15 1992 John Gilmore (gnu@cygnus.com) + + * gdbint.texinfo: Describe coding style of GDB. + +Mon Sep 21 19:32:16 1992 John Gilmore (gnu@cygnus.com) + + * stabs.texinfo: Minor wording changes. + +Tue Sep 15 02:57:09 1992 John Gilmore (gnu@cygnus.com) + + * gdbint.texinfo: Improve release doc slightly. + +Fri Sep 11 18:28:28 1992 Roland H. Pesch (pesch@fowanton.cygnus.com) + + * gdb.texinfo, gdbinv-m.m4.in, gdbinv-s.m4.in: First pass at doc + for two new remote targets---29K using UDI, and Tandem ST2000 + using STDBUG. + + * all.m4, none.m4: new m4 switch, _ST2000__ + + * all.m4: turn on H8/300 stuff for generic manual + + * gdbinv-s.m4.in: remove text on special procedures to continue + after explicit call to breakpoint() in serial stubs. + +Fri Sep 11 01:34:25 1992 John Gilmore (gnu@sphagnum.cygnus.com) + + * gdbint.texinfo: Improve doc of GDB config macros. + +Wed Sep 9 16:52:06 1992 John Gilmore (gnu@cygnus.com) + + * stabs.texinfo: Remove Bothner's changes for C++ nested types. + These will be reinserted when examined. + +Fri Sep 4 18:53:57 1992 Roland H. Pesch (pesch@fowanton.cygnus.com) + + * gdb.texinfo: fix shameful error of agreement reported by + jimb@occs.cs.oberlin.edu (Jim Blandy) + * gdb.texinfo: remove old partial discussion of remote serial + protocol (via serial debug stubs) + * gdbinv-m.m4.in, gdbinv-s.m4.in: new section discussing + use of serial debug stubs + +Mon Aug 24 01:17:55 1992 John Gilmore (gnu@cygnus.com) + + * gdbint.texinfo: Make a start at documenting all the #if macros + in GDB. At least list them all, and start separating them into + host-specific and target-specific. + +Tue Aug 18 15:59:13 1992 Roland H. Pesch (pesch@fowanton.cygnus.com) + + * gdbinv-s.m4.in: refrain from using @cartouche for just a few + examples (not consistent w others). + gdb.texinfo: issue disclaimer paragraph on cmdline options only + for generic vn of doc + +Tue Aug 18 14:53:27 1992 Ian Lance Taylor (ian@cygnus.com) + + * Makefile.in: always create installation directories. + +Tue Aug 18 14:11:50 1992 Roland H. Pesch (pesch@fowanton.cygnus.com) + + * gdb.texinfo: in h8 config, do not describe searching commands. + +Mon Aug 17 18:07:59 1992 Roland H. Pesch (pesch@fowanton.cygnus.com) + + * gdb.texinfo, none.m4, h8.m4, gdbinv-s.m4.in: improve H8/300 + conditionals; introduce a few generic switches that may be + useful for other cross-dev or dos-hosted configs. + + * gdb.texinfo: fix typo in "info reg" description + +Sun Aug 16 01:16:18 1992 John Gilmore (gnu@cygnus.com) + + * stabs.texinfo: Minor updates from running TeX over it. + * Makefile.in (stabs.dvi, stabs.ps): Add. + +Sat Aug 15 20:52:24 1992 Per Bothner (bothner@rtl.cygnus.com) + + * stabs.texinfo: Stabs documentation, written by Julia Menapace. + First pass at converting it to texinfo. + +Sat Aug 15 03:14:59 1992 John Gilmore (gnu@cygnus.com) + + * gdb.texinfo, refcard.tex: Document mult args on `info reg'. + * Makefile.in (refcard.ps, lrefcard.ps): Add missing $(srdir). + +Fri Aug 14 21:08:47 1992 John Gilmore (gnu@cygnus.com) + + * gdbint.texinfo: Add section on partial symbol tables. + +Fri Jun 19 10:28:05 1992 John Gilmore (gnu at cygnus.com) + + * gdb.texinfo: Document new am29k setting. + +Sat Jun 20 16:31:10 1992 John Gilmore (gnu at cygnus.com) + + * gdb.texinfo: document `set remotedebug' and `set + rstack_high_address'. + +Thu May 14 17:09:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com) + + * gdb.texinfo: slight expansion of new text on reading info files + * gdbinv-s.m4.in: correct and expand info on cross-debugging + H8/300 from DOS. + +Tue May 12 12:22:47 1992 John Gilmore (gnu at cygnus.com) + + * gdb.texinfo: `info user' => `show user'. Noticed by David Taylor. + +Mon May 11 19:06:27 1992 John Gilmore (gnu at cygnus.com) + + * gdb.texinfo: Say how to read the `info' files. + +Tue May 5 12:11:38 1992 K. Richard Pixley (rich@cygnus.com) + + * Makefile.in: gm4 -> m4. + +Fri Apr 10 17:50:43 1992 John Gilmore (gnu at rtl.cygnus.com) + + * gdb.texinfo: Update for GDB-4.5. Move `Formatting + Documentation' ahead of `Installing GDB' to match README. + Update shared library doc, -readnow and -mapped, and directory + structure (add glob and mmalloc). Update configure doc. + +Tue Mar 24 23:28:38 1992 K. Richard Pixley (rich@cygnus.com) + + * Makefile.in: remove $(srcdir) from gdb.info rule. + +Sat Mar 7 18:44:50 1992 K. Richard Pixley (rich@rtl.cygnus.com) + + * Makefile.in: commented out gdb-all.texinfo rule. This is + temporary. + +Wed Feb 26 18:04:40 1992 K. Richard Pixley (rich@cygnus.com) + + * Makefile.in, configure.in: removed traces of namesubdir, + -subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced + copyrights to '92, '13, changed some from Cygnus to FSF. + +Fri Dec 13 09:47:31 1991 John Gilmore (gnu at cygnus.com) + + * gdb.texinfo: Improve how we ask for bug reports. + +Tue Dec 10 04:07:21 1991 K. Richard Pixley (rich at rtl.cygnus.com) + + * Makefile.in: infodir belongs in datadir. + +Fri Dec 6 23:57:34 1991 K. Richard Pixley (rich at rtl.cygnus.com) + + * Makefile.in: remove spaces following hyphens, bsd make can't + cope. install using INSTALL_DATA. added clean-info. added + standards.text support. + +Thu Dec 5 22:46:12 1991 K. Richard Pixley (rich at rtl.cygnus.com) + + * Makefile.in: idestdir and ddestdir go away. Added copyrights + and shift gpl to v2. Added ChangeLog if it didn't exist. docdir + and mandir now keyed off datadir by default. + + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +coding: utf-8 +End: diff --git a/gdb/stubs/ChangeLog b/gdb/stubs/ChangeLog deleted file mode 100644 index a5cfae06045..00000000000 --- a/gdb/stubs/ChangeLog +++ /dev/null @@ -1,36 +0,0 @@ -2020-04-28 Tankut Baris Aktemur - - * ia64vms-stub.c: Fix typo in comment (thead -> thread). - -2019-10-26 Tom de Vries - - * ia64vms-stub.c: Fix typos in comments. - * m32r-stub.c: Same. - * m68k-stub.c: Same. - * sh-stub.c: Same. - -2019-01-21 Tom Tromey - - * ia64vms-stub.c: Fix includes. - -2012-12-19 Joel Brobecker - - * buildvms.com: Add copyright header. - -2012-06-05 Joel Brobecker - - * ia64vms-stub.c: Adjust copyright header to follow convention - expected by gnulib's update-copyright script. - -2012-03-08 Tristan Gingold - - * sparc-stub.c: Move from .. - * sh-stub.c: Likewise. - * m68k-stub.c: Likewise. - * m32r-stub.c: Likewise. - * i386-stub.c: Likewise. - -2012-03-05 Tristan Gingold - - * buildvms.com: New file. - * ia64vms-stub.c: New file. diff --git a/gdb/stubs/ChangeLog-2012-2020 b/gdb/stubs/ChangeLog-2012-2020 new file mode 100644 index 00000000000..a5cfae06045 --- /dev/null +++ b/gdb/stubs/ChangeLog-2012-2020 @@ -0,0 +1,36 @@ +2020-04-28 Tankut Baris Aktemur + + * ia64vms-stub.c: Fix typo in comment (thead -> thread). + +2019-10-26 Tom de Vries + + * ia64vms-stub.c: Fix typos in comments. + * m32r-stub.c: Same. + * m68k-stub.c: Same. + * sh-stub.c: Same. + +2019-01-21 Tom Tromey + + * ia64vms-stub.c: Fix includes. + +2012-12-19 Joel Brobecker + + * buildvms.com: Add copyright header. + +2012-06-05 Joel Brobecker + + * ia64vms-stub.c: Adjust copyright header to follow convention + expected by gnulib's update-copyright script. + +2012-03-08 Tristan Gingold + + * sparc-stub.c: Move from .. + * sh-stub.c: Likewise. + * m68k-stub.c: Likewise. + * m32r-stub.c: Likewise. + * i386-stub.c: Likewise. + +2012-03-05 Tristan Gingold + + * buildvms.com: New file. + * ia64vms-stub.c: New file. diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog deleted file mode 100644 index a7fa58d769a..00000000000 --- a/gdb/testsuite/ChangeLog +++ /dev/null @@ -1,24952 +0,0 @@ -2021-07-06 Tom de Vries - - * gdb.base/info-macros.exp: Replace use of - gdb_test_multiple_with_read1_timeout_factor with gdb_test_lines. - (gdb_test_multiple_with_read1_timeout_factor): Remove. - * lib/gdb.exp (gdb_test_lines): Add handling or -re-not . - -2021-07-05 Tom de Vries - - * gdb.fortran/ptype-on-functions.exp: Allow both $integer8 and - $integer4 for size of string length. - -2021-07-03 Joel Brobecker - - * gdb.base/default.exp: Change $_gdb_major to 12. - -2021-07-01 Pedro Alves - - PR mi/15729 - PR gdb/13463 - * gdb.base/access-mem-running.c: New. - * gdb.base/access-mem-running.exp: New. - * gdb.threads/access-mem-running-thread-exit.c: New. - * gdb.threads/access-mem-running-thread-exit.exp: New. - -2021-06-29 Simon Marchi - - * gdb.dwarf2/dw2-reg-undefined.exp: Update regexp. - -2021-06-25 Andrew Burgess - - * gdb.base/info_sources_2-header.h: New file. - * gdb.base/info_sources_2-lib.c: New file. - * gdb.base/info_sources_2-test.c: New file. - * gdb.base/info_sources_2.exp: New file. - -2021-06-25 Andrew Burgess - - * gdb.mi/mi-info-sources.exp: Add additional tests. - -2021-06-25 Andrew Burgess - - * gdb.dwarf2/dw2-filename.exp: Update expected results. - * gdb.mi/mi-file.exp: Likewise. - * gdb.mi/mi-info-sources-base.c: New file. - * gdb.mi/mi-info-sources.c: New file. - * gdb.mi/mi-info-sources.exp: New file. - -2021-06-25 Andrew Burgess - - * gdb.cp/method-call-in-c.cc (struct foo_type): Add static member - function static_method. - (global_var): New global. - (main): Use new static_method to ensure it is compiled in. - * gdb.cp/method-call-in-c.exp: Test calls to static member - function. - -2021-06-25 Andrew Burgess - - PR gdb/27994 - * gdb.cp/method-call-in-c.cc (struct foo_type): Add operator+=, - change initial value of var member variable. - (main): Make use of foo_type's operator+=. - * gdb.cp/method-call-in-c.exp: Test use of operator+=. - -2021-06-25 Andrew Burgess - - PR gdb/27994 - * gdb.cp/method-call-in-c.cc: New file. - * gdb.cp/method-call-in-c.exp: New file. - -2021-06-25 Tom Tromey - - * lib/gdb.exp (add_gdb_index, ensure_gdb_index): Add "style" - parameter. - * gdb.rust/dwindex.exp: New file. - * gdb.rust/dwindex.rs: New file. - -2021-06-25 Andrew Burgess - - * gdb.python/py-breakpoint.c (do_throw): New function. - (main): Call do_throw. - * gdb.python/py-breakpoint.exp (test_catchpoints): New proc. - -2021-06-25 Andrew Burgess - - * gdb.guile/scm-breakpoint.exp (test_catchpoints): New proc. - -2021-06-25 Andrew Burgess - - * gdb.guile/scm-breakpoint.exp (test_watchpoints): Add new tests. - -gdb/testsuite/ChangeLog -2021-06-25 Carl Love - - * gdb.arch/powerpc-plxv-norel.exp: Add call to skip_power_isa_3_1_tests. - * lib/gdb.exp(skip_power_isa_3_1_tests): New gdb_caching_proc test. - -2021-06-25 Tom Tromey - - * gdb.ada/py_range.exp: Add type name test cases. - -2021-06-24 Tom de Vries - - * gdb.base/info-macros.exp: Add after trailing whitespace in - test names. - -2021-06-24 Tom de Vries - - * gdb.base/argv0-symlink.exp: Use with_test_prefix. - -2021-06-23 Tom de Vries - - * lib/gdb.exp (gdb_test_lines): Rewrite to accept single - multiline tcl regexp. - * gdb.base/info-types.exp.tcl: Update. Make empty line at end of - regexp optional. - * gdb.base/info-macros.exp: Update. - * gdb.cp/cplusfuncs.exp: Update. - -2021-06-22 Andreas Schwab - - PR symtab/27999 - * lib/dwarf.exp (start_end): New proc inside loclists. - * gdb.dwarf2/loclists-start-end.exp: New file. - * gdb.dwarf2/loclists-start-end.c: New file. - -2021-06-22 Tom de Vries - - * gdb.dwarf2/imported-unit-c.exp: New file. - -2021-06-22 Andrew Burgess - - * gdb.server/server-kill.exp: Introduce global kill_pid_of, and - make use of this in prepare to select which pid we should kill. - Run all the tests twice with a different kill_pid_of value. - (prepare): Make use of kill_pid_of. - (test_stepi): New proc. - -2021-06-21 Andrew Burgess - - * gdb.python/py-frame.exp: Add Frame.level tests. - * gdb.python/py-pending-frame-level.c: New file. - * gdb.python/py-pending-frame-level.exp: New file. - * gdb.python/py-pending-frame-level.py: New file. - -2021-06-21 Andrew Burgess - - * gdb.python/py-unwind-user-regs.c: New file. - * gdb.python/py-unwind-user-regs.exp: New file. - * gdb.python/py-unwind-user-regs.py: New file. - -2021-06-17 Carl Love - - * gdb.arch/powerpc-power8.exp(bctar, bctarl): Update mnemonics - to bgetar and bgetarl. - * gdb.arch/powerpc-power8.s((bctar, bctarl): Update comments - for mnemonics to bgetar and bnstarl. - -2021-06-17 Simon Marchi - - * gdb.base/args.exp: Check target, KFAIL if remote. - (args_test): Add parameter and use it. - -2021-06-17 Simon Marchi - - * gdb.base/args.exp: Remove trailing parenthesis in test names. - -2021-06-17 Simon Marchi - - * gdb.base/args.exp: Use $old_gdbflags in all tests. - -2021-06-17 Simon Marchi - - * gdb.base/args.exp: Use save_vars. - -2021-06-14 Pedro Alves - - * gdb.base/annota1.exp: Build list using [list] instead of {}. - Tell [join] to join with no character. Build expected pattern in - separate variable instead of in the -re expression directly. - -2021-06-11 Kevin Buettner - - * gdb.mi/mi-sym-info.exp (114-symbol-info-function test): Increase - timeout. - -2021-06-11 Kevin Buettner - - * gdb.base/print-symbol-loading.exp (proc test_load_shlib): - Allow "Symbols already loaded for..." messages. - -2021-06-11 Kevin Buettner - - * gdb.base/execl-update-breakpoints.exp: Add regular - expression for optionally matching output related to - libthread_db. - * gdb.base/fork-print-inferior-events.exp: Likewise. - -2021-06-11 Felix Willgerodt - - * gdb.mi/array.f: Convert into... - * gdb.mi/array.f90: ...this. - * gdb.mi/mi-var-child-f.exp: Use array.f90. - -2021-06-11 Tom Tromey - - PR rust/23427 - * lib/rust-support.exp (rust_compiler_version): New caching proc. - * gdb.rust/rawids.exp: New file. - * gdb.rust/rawids.rs: New file. - -2021-06-10 Simon Marchi - - * lib/gdb.exp (default_gdb_exit): Unset gdb_tty_name. - (spawn_capture_tty_name): New, override builtin spawn. - (default_gdb_spawn): Capture GDB's TTY name. - * lib/tuiterm.exp (tuiterm_spawn): Remove. - (tuiterm_env_init, tuiterm_env_finish): Remove spawn override. - (Term) : Use new variable name. - (tuiterm_env_init, tuiterm_env_finish): Remove. - (tuiterm_env): Don't call tuiterm_env_init and register - tuiterm_env_finish in gdb_finish_hooks. - (gdb_finish_hooks): Remove. - (gdb_finish): Don't call finish hooks. - -2021-06-10 Tom de Vries - - * gdb.mi/user-selected-context-sync.c (child_sub_function, main): - Rewrite while (1) using dummy loop body. - -2021-06-10 Bhuvanendra Kumar N - - * gdb.base/foll-exec.c: convert the multi-line function call into - single line. - -2021-06-10 Tom de Vries - - * lib/cp-support.exp (cp_test_ptype_class): Break up regexp. - * gdb.cp/nested-types.exp: Remove usage of read1 timeout factor. - -2021-06-10 Tom de Vries - - * gdb.cp/cplusfuncs.exp (info_func_regexp): Use gdb_test_lines. - -2021-06-09 Tom Tromey - - * README (Example): Update read1 example. - -2021-06-09 Simon Marchi - - * lib/tuiterm.exp (Term) <_check_box>: Improve logging. - -2021-06-08 Lancelot Six - - * gdb.base/premature-dummy-frame-removal.py (TestUnwinder): Use - 'is None' instead of '== None' and 'is not None' instead of - '!= None'. - * gdb.python/py-frame-args.py (lookup_function): Same. - * gdb.python/py-framefilter-invalidarg.py (Reverse_Function): Same. - * gdb.python/py-framefilter.py (Reverse_Function): Same. - * gdb.python/py-nested-maps.py (lookup_function): Same. - * gdb.python/py-objfile-script-gdb.py (lookup_function): Same. - * gdb.python/py-prettyprint.py (lookup_function): Same. - * gdb.python/py-section-script.py (lookup_function): Same. - * gdb.python/py-unwind-inline.py (dummy_unwinder): Same. - * gdb.python/python.exp: Same. - * gdb.rust/pp.py (lookup_function): Same. - -2021-06-08 Tom de Vries - - * lib/gdb.exp (multi_line): Require more than one argument. - * gdb.base/gdbinit-history.exp: Update multi_line call. - * gdb.base/jit-reader.exp: Remove multi_line call. - * gdb.fortran/dynamic-ptype-whatis.exp: Same. - -2021-06-08 Tom de Vries - - * gdb.base/info-types.exp.tcl (match_line, gdb_test_lines): Move ... - * lib/gdb.exp: ... here. - * gdb.base/info-macros.exp: Use gdb_test_lines. - -2021-06-08 Tom de Vries - - * gdb.base/info-types.exp.tcl (match_line): Handle --any. - (gdb_test_lines): Factor out of ... - (run_test): ... here. - -2021-06-08 Tom de Vries - - * gdb.base/batch-preserve-term-settings.exp (spawn_shell): Fix - matching of initial prompt. - -2021-06-08 Tom de Vries - - * gdb.threads/multi-create-ns-info-thr.exp: Limit breakpoint regexp to - one line. - -2021-06-08 Tom de Vries - - * gdb.base/sect-cmd.exp: Use gdb_test. Use -wrap "". Fix - test name. - -2021-06-08 Tom de Vries - - * gdb.base/sect-cmd.exp: Fix saw_section_address_line regexp. - -2021-06-07 Simon Marchi - - * gdb.base/continue-all-already-running.exp: Call fail if can't - run to main. - -2021-06-07 Andrew Burgess - - PR gdb/27847 - * gdb.dwarf2/dw2-weird-type-len.c: New file. - * gdb.dwarf2/dw2-weird-type-len.exp: New file. - -2021-06-07 Simon Marchi - - * gdb.base/attach.exp (test_command_line_attach_run): Use - proc_with_prefix. - -2021-06-07 Tom de Vries - - PR testsuite/27908 - * gdb.base/run-attach-while-running.exp (test): Don't match prompt - after attach using '$gdb_prompt $'. - -2021-06-07 Tom de Vries - - * gdb.base/info-types.exp.tcl: Remove "File .*" matching from regexp - matching state machine. - -2021-06-07 Tom de Vries - - * gdb.base/new-ui-pending-input.exp - (test_command_line_new_ui_pending_input): Fix regexp for "initial - prompt on extra console". - -2021-06-07 Tom de Vries - - * gdb.base/info-types.exp.tcl (run_test): Move "random line" regexp - up. - -2021-06-06 Simon Marchi - - * gdb.server/stop-reply-no-thread-multi.exp: Clear sysroot when - host and target are local. - -2021-06-05 Hannes Domani - - * gdb.python/py-symbol.exp: Fix tests for Python 3. - -2021-06-05 Shahab Vahedi - - * gdb.arch/arc-disassembler-options.exp: New test. - * gdb.arch/arc-disassembler-options.s: New test source. - -2021-06-04 Tom Tromey - - * gdb.ada/array_of_symbolic_length.exp: New file. - * gdb.ada/array_of_symbolic_length/foo.adb: New file. - * gdb.ada/array_of_symbolic_length/gl.adb: New file. - * gdb.ada/array_of_symbolic_length/gl.ads: New file. - * gdb.ada/array_of_symbolic_length/pck.adb: New file. - * gdb.ada/array_of_symbolic_length/pck.ads: New file. - -2021-06-03 Magne Hov - - PR python/27841 - * gdb.python/py-events.exp: Extend inferior exit tests. - * gdb.python/py-events.py: Print inferior exit PID. - -2021-06-03 Hannes Domani - - * gdb.python/py-symbol.exp: Test symbol constants. - -2021-06-02 Bernd Edlinger - - * gdb.dwarf2/per-bfd-sharing.exp: Fix temp-dir leakage. - -2021-06-02 Carl Love - - * gdb.threads/threadapply.c: Add global mybarrier. - (main): Add pthread_barrier_init. - (thread_function): Replace while loop with myp increment and - pthread_barrier_wait. - -2021-06-02 Andrew Burgess - - * lib/gdb.exp (gdb_compile): Only add the -J option when using a - gcc based Fortran compiler, for example, flang does not support - this option. - -2021-06-02 Andrew Burgess - - * lib/fortran.exp (fortran_int8): Escape '*' in pattern. - -2021-06-01 Tom Tromey - - * Makefile.in (all): Don't print anything. - ($(abs_builddir)/site.exp site.exp): Use $(ECHO_GEN). - (expect-read1): Likewise. - (read1.so): Use $(ECHO_CC). - Include silent-rules.mk. - -2021-06-01 Tom Tromey - - * aclocal.m4, configure.ac, configure: Remove. - * Makefile.in (EXTRA_RULES): Remove. - ($(abs_builddir)/site.exp site.exp): Don't depend on - config.status. - (distclean maintainer-clean realclean, Makefile): Update. - (config.status): Remove target. - (lib/pdtrace): New target. - (all): Don't depend on EXTRA_RULES. - (check-read1): Depend on read1.so, expect-read1. - -2021-06-01 Tom de Vries - - PR symtab/26096 - * gdb.cp/cold-clone.cc: New test. - * gdb.cp/cold-clone.exp: New file. - -2021-06-01 Andrew Burgess - - * gdb.gdb/unittest.c: New file. - * gdb.gdb/unittest.exp: Run with and without a binary file loaded - into GDB. - -2021-06-01 Andrew Burgess - - * gdb.base/premature-dummy-frame-removal.c: New file. - * gdb.base/premature-dummy-frame-removal.exp: New file. - * gdb.base/premature-dummy-frame-removal.py: New file. - -2021-05-27 Simon Marchi - - * gdb.base/reverse-init-functions.exp: New. - -2021-05-27 Tom de Vries - - PR symtab/27919 - PR testsuite/27920 - * gdb.dwarf2/dw2-dummy-cu.exp: Use maint expand-symtabs instead of - -readnow. - -2021-05-27 Tom de Vries - - PR testsuite/27921 - * gdb.dwarf2/gdb-index.exp (add_gdb_index): Rename to ... - (local_add_gdb_index): ... this. - -2021-05-21 Tom de Vries - - PR testsuite/25047 - * boards/cc-with-gnu-debuglink.exp: New file. - -2021-05-21 Tankut Baris Aktemur - - * gdb.dwarf2/dw2-inline-with-lexical-scope.c (func): Replace - a dead code with an assignment to a global var. Fix a - whitespacing problem around an assignment operator. - -2021-05-19 Will Schmidt - - * gdb.arch/powerpc64-prologue.c: New test to exercise prologues - for the powerpc64 LE target. - * gdb.arch/powerpc-prologue.exp: Test Harness. - -2021-05-19 Andrew Burgess - - * gdb.guile/scm-pretty-print.exp: Add test names to resolve - duplicate test names. - -2021-05-19 Tom de Vries - - * gdb.base/info-types.exp.tcl: Scan info types output line-by-line. - -2021-05-17 Simon Marchi - - * gdb.python/py-framefilter-gdb.py.in: Rename to: - * gdb.python/py-framefilter-gdb.py: ... this. - * gdb.python/py-framefilter-invalidarg-gdb.py.in: Rename to: - * gdb.python/py-framefilter-invalidarg-gdb.py: ... this. - -2021-05-17 Simon Marchi - - * gdb.python/py-framefilter-gdb.py.in: Re-format. - * gdb.python/py-framefilter-invalidarg-gdb.py.in: Re-format. - -2021-05-17 Bhuvanendra Kumar N - - * gdb.base/class-allocatable-array.exp: Modified test for clang. - -2021-05-16 Weimin Pan - - * gdb.ctf/funcreturn.exp: New file. - * gdb.ctf/whatis.c: Copy from gdb.base. - -2021-05-14 Tom Tromey - - * gdb.rust/pp.exp: New file. - * gdb.rust/pp.py: New file. - * gdb.rust/pp.rs: New file. - -2021-05-14 Bernd Edlinger - - * gdb.base/index-cache.exp: Cleanup $cache_dir/*.gdb-index and - remove the directory. - * gdb.dwarf2/per-bfd-sharing.exp: Likewise. - -2021-05-14 Tankut Baris Aktemur - - * gdb.python/py-inferior.exp: Add test cases for 'connection_num'. - -2021-05-14 Kent Cheung - Andrew Burgess - - * gdb.python/py-format-string.c: Added a variable to test. - * gdb.python/py-format-string.exp: Check string representation is - printed at appropriate max_depth settings. - * gdb.python/py-nested-maps.exp: Likewise. - * gdb.guile/scm-pretty-print.exp: Add additional tests. - -2021-05-13 Andrew Burgess - - * gdb.guile/scm-pretty-print.exp (run_lang_tests): Give some tests - unique names, also wrap proc body in with_test_prefix. - -2021-05-13 Andrew Burgess - - * gdb.guile/scm-frame-args.exp: Add with_test_prefix to resolve - duplicate test names. - * gdb.guile/scm-parameter.exp: Provide test names to avoid - duplicate names based on the command being run. - * gdb.guile/scm-symbol.exp: Extend test name to make it unique. - * gdb.guile/scm-type.exp (restart_gdb): Don't print PASS line when - loading a support module. - (test_equality): Update test name to match the actual test, making - the name unique in the process. - * gdb.guile/scm-value.exp (test_value_in_inferior): Add test names - to resolve duplicate tests. - (test_inferior_function_call): Likewise. - (test_subscript_regression): Likewise. - -2021-05-13 Andrew Burgess - - * lib/guile.exp (gdb_scm_load_file): Use empty test name to - silence PASS lines. - (gdb_install_guile_module): Likewise. - -2021-05-12 George Barrett - - * gdb.guile/scm-value.exp (test_value_in_inferior): Add test for - value-const-value. - -2021-05-12 George Barrett - - * gdb.guile/scm-value.exp (test_value_in_inferior): Add test for - value-reference-value. Add test for value-rvalue-reference-value. - -2021-05-11 Tom de Vries - - * gdb.base/watch_thread_num.exp: Fix "set debug infrun 1" FAILs. - Add "set debug infrun 1" commented out. - -2021-05-11 Tom de Vries - - * gdb.base/gdb-sigterm.exp: Fix exp_continue regexp. - -2021-05-11 Bhuvanendra Kumar - - * gdb.fortran/array-element.exp: Breakpoint location is modified. - -2021-05-10 Lancelot Six - - PR gdb/27614 - * gdb.dwarf2/gdb-add-index-symlink.exp: New test. - -2021-05-10 Andrew Burgess - - * gdb.guile/guile.exp: Don't use the source directory as a - temporary HOME directory. - -2021-05-10 Simon Marchi - - * gdb.arch/amd64-osabi.exp (test_osabi_none): Use the - parameters. - -2021-05-07 Andrew Burgess - - * gdb.guile/guile.exp: Add an extra test. - -2021-05-07 Andrew Burgess - - * gdb.base/ptype-offsets.exp: Replace use of send_gdb with - gdb_test_no_output. - -2021-05-07 Simon Marchi - - * Re-format all Python files using black. - * gdb.python/py-prettyprint.exp (run_lang_tests): Adjust. - -2021-05-06 Andrew Burgess - - * gdb.guile/scm-breakpoint.exp (test_watchpoints): Print the - watchpoint object before and after registering it with GDB. - -2021-05-06 Andrew Burgess - - * gdb.guile/scm-breakpoint.exp (test_bkpt_basic): Convert to - 'proc_with_prefix', remove use of 'with_test_prefix', and - reindent. - (test_bkpt_deletion): Likewise. - (test_bkpt_cond_and_cmds): Likewise. - (test_bkpt_invisible): Likewise. - (test_watchpoints): Likewise. - (test_bkpt_internal): Likewise. - (test_bkpt_eval_funcs): Likewise. - (test_bkpt_registration): Likewise. - (test_bkpt_address): Convert to 'proc_with_prefix'. - (test_bkpt_probe): Likewise. - -2021-05-06 Andrew Burgess - - * gdb.guile/scm-breakpoint.exp (test_bkpt_basic): Extend test - names to avoid duplicates. - (test_bkpt_cond_and_cmds): Likewise. - (test_bkpt_eval_funcs): Likewise. - -2021-05-06 Tankut Baris Aktemur - - * gdb.mi/mi-break.exp (test_forced_conditions): Add a test - for the -break-condition command's "--force" flag. - -2021-05-06 Tankut Baris Aktemur - - * gdb.mi/mi-break.exp (test_forced_conditions): New proc that - is called by the test. - -2021-05-05 Tom de Vries - - * gdb.threads/detach-step-over.exp: Do exp_continue when encountering - "Reading symbols" or "Expanding full symbols" lines. Using timeout - factor of 2 for attach. - -2021-05-05 Tom de Vries - - * gdb.threads/fork-plus-threads.exp: Handle "New LWP " and - "LWP exited" messages. - -2021-05-04 Simon Marchi - - * gdb.python/py-type.exp (test_fields): Test calling fields on - an int type. - -2021-05-04 Simon Marchi - - * gdb.python/flexible-array-member.exp: Adjust expected range - value for member declared with 0 size. Test accessing range - tuple through range type. - -2021-05-03 Andrew Burgess - - PR testsuite/27788 - * gdb.python/py-startup-opt.exp (test_python_settings): Change the - expected results when environment variable PYTHONDONTWRITEBYTECODE - is set. - -2021-04-30 Tom Tromey - - * gdb.ada/enum_idx_packed/pck.ads (My_Enum, My_Array_Type) - (Confused_Array): New types. - * gdb.ada/enum_idx_packed/foo.adb (Confused_Array): New variable. - * gdb.ada/enum_idx_packed.exp: Add new tests. - -2021-04-30 Tom de Vries - - * gdb.mi/mi-sym-info.exp: Add with_timeout_factor, and increase - existing timeout factors. - -2021-04-30 Tom de Vries - - * gdb.mi/mi-sym-info.exp: Remove duplicate test. - -2021-04-29 Tom de Vries - - PR testsuite/27786 - * lib/valgrind.exp (vgdb_start): Use set_remotetimeout. Increase - remotetimeout to 4. - -2021-04-28 Tom Tromey - - * gdb.ada/null_overload.exp: New file. - * gdb.ada/null_overload/foo.adb: New file. - -2021-04-28 Andrew Burgess - - * gdb.python/py-startup-opt.exp: New file. - -2021-04-27 Luis Machado - - * gdb.base/maint.exp: Drop a pattern that is not needed. - * lib/gdb.exp (readnow): Match line-by-line. - -2021-04-27 Luis Machado - - * gdb.xml/tdesc-reload.exp: Pass -lbl. - -2021-04-27 Michael Weghorn - Simon Marchi - - * gdb.python/libpy-autoloaded-pretty-printers-in-newobjfile-event.so-gdb.py: New test. - * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event-lib.cc: New test. - * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event-lib.h: New test. - * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event-main.cc: New test. - * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event.exp: New test. - * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event.py: New test. - -2021-04-26 Tom Tromey - - PR gdb/27743: - * gdb.dwarf2/imported-unit-bp.exp: New file. - * gdb.dwarf2/imported-unit-bp-main.c: New file. - * gdb.dwarf2/imported-unit-bp-alt.c: New file. - -2021-04-26 Simon Marchi - - PR gdb/27773 - * gdb.base/dump.exp: Test dump to non-existent dir. - -2021-04-26 Luis Machado - - * gdb.arch/aarch64-dbreg-contents.c (set_watchpoint): Fix arch level - comparison. - -2021-04-25 Lancelot Six - - PR gdb/22640 - * gdb.base/ptype-offsets.exp: Add tests to verify the behavior - of 'ptype/ox' and 'ptype/od'. Check that 'set print type hex' - changes the default behavior of 'ptype/o'. Update to take into - account new horizontal layout. - * gdb.rust/simple.exp: Update ptype test to check new horizontal - layout. - * gdb.rust/union.exp: Same. - -2021-04-23 Andrew Burgess - - * gdb.base/info_sources.exp: Add new tests. - -2021-04-22 Tom Tromey - - * gdb.base/ptype-offsets.cc (struct empty_member): New. - (main): Use empty_member. - * gdb.base/ptype-offsets.exp: Add new test. - -2021-04-22 Simon Marchi - - * gdb.python/flexible-array-member.exp: Add check for Python - support. - -2021-04-22 Simon Marchi - - PR gdb/27757 - * gdb.python/flexible-array-member.c: New test. - * gdb.python/flexible-array-member.exp: New test. - * gdb.guile/scm-type.exp (test_range): Add test for flexible - array member. - * gdb.guile/scm-type.c (struct flex_member): New. - (main): Use it. - -2021-04-22 Tom Tromey - - * gdb.rust/modules.exp: Add checks for syntax errors. - * gdb.rust/expr.exp: Add checks for syntax errors. - * gdb.rust/simple.exp: Add checks for syntax errors. - -2021-04-21 Carl Love - - * gdb.base/valgrind-bt.exp: Add gdb_test "break main". - Update expected string for gdb_test "bt". - - * lib/valgrind.exp: Add set remotetimeout 3. - Increase vgdb wait from 1 to 2. - Add max-invoke-ms option to vgdb command line. - -2021-04-21 Tankut Baris Aktemur - - * gdb.mi/mi-break.exp: Extend with checks for invalid breakpoint - conditions. - -2021-04-21 Simon Marchi - Tankut Baris Aktemur - - * gdb.mi/mi-break.exp: Fix the duplicate test names. - -2021-04-20 Felix Willgerodt - - * gdb.base/address_space_qualifier.exp: New file. - -2021-04-19 Tom Tromey - - PR gdb/27742: - * gdb.opt/inline-locals.exp: Update kfail patterns. - -2021-04-17 Tom Tromey - - * gdb.dwarf2/gdb-index-nodebug.exp: New file. - -2021-04-16 Tom Tromey - - * gdb.rust/simple.exp: Change error text. - * gdb.rust/expr.exp: Change error text. - -2021-04-16 Tom Tromey - - * gdb.rust/simple.exp: Add parens to 'as' test. - -2021-04-16 Simon Marchi - - * boards/simavr.exp: Set debug_flags. - -2021-04-16 Luis Machado - - * gdb.dwarf2/dw2-bfloat16.exp: New file. - -2021-04-15 Andrew Burgess - - * gdb.python/py-parameter.exp: Give a test a proper name to avoid - including a path in the test name. - -2021-04-15 Simon Marchi - - * gdb.threads/fork-plus-threads.exp: Use foreach_with_prefix. - -2021-04-15 Tom Tromey - - * gdb.dwarf2/arr-stride.exp: Add test. - -2021-04-15 Andrew Burgess - - * gdb.base/startup-file.exp: Add more tests. - -2021-04-15 Andrew Burgess - - PR cli/25956 - * gdb.base/early-init-file.c: New file. - * gdb.base/early-init-file.exp: New file. - * lib/gdb-utils.exp (style): Handle style 'none'. - -2021-04-14 Tankut Baris Aktemur - - * gdb.dwarf2/dw2-inline-with-lexical-scope.exp: Use - @DW_INL_declared_inlined for the inline attribute. - -2021-04-14 Tankut Baris Aktemur - - * gdb.opt/inline-locals.c (scoped): New function. - (main): Call 'scoped'. - * gdb.opt/inline-locals.exp: Update with "info locals" tests - for scoped variables. - * gdb.dwarf2/dw2-inline-with-lexical-scope.c: New file. - * gdb.dwarf2/dw2-inline-with-lexical-scope.exp: New file. - -2021-04-14 Tankut Baris Aktemur - - * lib/dwarf.exp (_location): Recognize DW_OP_fbreg as an op. - -2021-04-12 Will Schmidt - - * gdb.arch/powerpc-vsx-regs.exp: Initialize vs* doublewords. - -2021-04-12 Will Schmidt - - * gdb.arch/powerpc-plxv-nonrel.s: Testcase using - non-relative plxv instructions. - * gdb.arch/powerpc-plxv-nonrel.exp: Testcase harness. - -2021-03-31 Will Schmidt - - PR gdb/27525 - * gdb/testsuite/gdb.arch/powerpc-addpcis.exp: Testcase harness to - exercise single-stepping over subpcis,lnia,addpcis instructions - with displacement. - * gdb/testsuite/gdb.arch/powerpc-addpcis.s: Testcase with stream - of addpcis/lnia/subpcis instructions. - * gdb/testsuite/gdb.arch/powerpc-lnia.exp: Testcase harness to - exercise single-stepping over lnia instructions with displacement. - * gdb/testsuite/gdb.arch/powerpc-lnia.s: Testcase with stream of - lnia instructions. - -2021-03-31 Will Schmidt - - * gdb.arch/powerpc-power10.s: New test for instructions. - * gdb.arch/powerpc-power10.exp: Harness to run the test. - -2021-4-12 Carl Love - - * gdb.arch/vsx-vsr-float128.c: New test file. - * gdb.arch/vsx-vsr-float128.exp: New expect file. - -2021-04-12 Markus Metzger - - * gdb.btrace/reconnect.exp: Relax expected stepi output. - -2021-04-07 Weimin Pan - - * gdb.base/ctf-ptype.c: Add struct link containing a forward - reference type. - * gdb.base/ctf-ptype.exp: Add "ptype struct link". - -2021-04-07 Andrew Burgess - - * gdb.fortran/dynamic-ptype-whatis.exp: New file. - * gdb.fortran/dynamic-ptype-whatis.f90: New file. - -2021-04-07 Andrew Burgess - - * gdb.cp/rvalue-ref-params.cc (f3): New function. - (f4): New function. - (global_int): New global variable. - (global_float): Likeiwse. - (main): Call both new functions. - * gdb.cp/rvalue-ref-params.exp: Add new tests. - -2021-04-07 Andrew Burgess - - * gdb.dwarf2/fission-relative-dwo.c: New file. - * gdb.dwarf2/fission-relative-dwo.exp: New file. - -2021-04-07 Andrew Burgess - - * gdb.dwarf2/fission-absolute-dwo.c: New file. - * gdb.dwarf2/fission-absolute-dwo.exp: New file. - * gdb.dwarf2/fission-base.exp: Use build_executable_and_dwo_files - instead of build_executable_from_fission_assembler. - * gdb.dwarf2/fission-loclists-pie.exp: Likewise. - * gdb.dwarf2/fission-loclists.exp: Likewise. - - * gdb.dwarf2/fission-multi-cu.S: Delete file. - * gdb.dwarf2/fission-multi-cu.c: New file based on old - fission-multi-cu1.c and fission-multi-cu2.c files. - * gdb.dwarf2/fission-multi-cu1.c: Delete file. - * gdb.dwarf2/fission-multi-cu2.c: Delete file. - * gdb.dwarf2/fission-multi-cu.exp: Rewrite to use Dwarf assembler. - * gdb.dwarf2/fission-reread.exp: Likewise. - * lib/dwarf.exp (extract_dwo_information): New proc. - (strip_dwo_information): New proc. - (build_executable_and_dwo_files): New proc. - (build_executable_from_fission_assembler): Delete. - (Dwarf::_debug_addr_index): New variable. - (Dwarf::_cu_is_fission): New variable. - (Dwarf::_handle_DW_FORM): Handle DW_OP_GNU_addr_index. - (Dwarf::_default_form): Supply a default for DW_AT_GNU_addr_base. - (Dwarf::_handle_macro_at_range): Use form DW_FORM_GNU_addr_index - if this is a fission CU. - (Dwarf::_location): Handle DW_OP_GNU_addr_index. - (Dwarf::debug_addr_label): New proc. - (Dwarf::cu): Initialise _cu_is_fission. - (Dwarf::tu): Likewise. - (Dwarf::assemble): Initialise _debug_addr_index. - -2021-04-07 Andrew Burgess - - * gdb.dwarf2/dw2-using-debug-str.exp: Add an additional test. - -2021-04-07 Andrew Burgess - - * gdb.python/py-parameter.exp: Add test for reading data-directory - using gdb.parameter API. - -2021-04-06 Tom de Vries - - PR breakpoints/25884 - * gdb.opt/inline-cmds.exp: Remove kfail. - -2021-04-06 Tom de Vries - - PR testsuite/27691 - * gdb.threads/gcore-thread.exp: Don't call gdb_core_cmd with core - file "". - -2021-04-01 Egeyar Bagcioglu - - * lib/pdtrace.in: Fix obvious typo. - -2021-03-31 Tom Tromey - - * lib/dwarf.exp (Dwarf::_get_args): New proc. - (Dwarf::_location): Use it. - -2021-03-31 Tom de Vries - - PR testsuite/27667 - * lib/gdb.exp (default_gdb_init): Unset DEBUGINFOD_URLS. - -2021-03-30 Simon Marchi - - PR gdb/27541 - * gdb.base/index-cache-load-twice.exp: Remove. - * gdb.base/index-cache-load-twice.c: Remove. - * gdb.dwarf2/per-bfd-sharing.exp: New. - * gdb.dwarf2/per-bfd-sharing.c: New. - -2021-03-30 Tom de Vries - - PR testsuite/27604 - * gdb.dwarf2/dw2-cu-size.S: Add missing .debug_abbrev terminator. - -2021-03-29 Tankut Baris Aktemur - - * gdb.mi/user-selected-context-sync.exp: Spin on a variable in - the infinite loop to avoid a Clang bug. - -2021-03-26 Will Schmidt - - * gdb.arch/powerpc-disassembler-options.exp: Extend some test - names for uniqueness. - * gdb.arch/powerpc-fpscr-gcore.exp: Add more test names for - uniqueness. - -2021-03-26 Andrew Burgess - - * gdb.python/py-prettyprint.c (struct container): Add 'is_array_p' - member. - (make_container): Initialise is_array_p. - * gdb.python/py-prettyprint.exp: Add new tests. - * gdb.python/py-prettyprint.py (ContainerPrinter.display_hint): - Check is_array_p and possibly return 'array'. - -2021-03-26 Andrew Burgess - - * gdb.cp/breakpoint.exp: Extend test names to make them unique. - * gdb.cp/casts.exp: Give tests unique names. - * gdb.cp/filename.exp: Likewise. - * gdb.cp/gdb2495.exp: Likewise. - * gdb.cp/mb-ctor.exp: Extend test names to make them unique. - * gdb.cp/misc.exp: Rename test to make it unique. - * gdb.cp/nsnested.exp: Give tests unique names. - * gdb.cp/ovldbreak.exp: Likewise. - * gdb.cp/pr17494.exp: Rename test to reflect what is actually - being tested. This also removes the duplicate test name. - * gdb.cp/ref-types.exp: Likewise. - * gdb.cp/temargs.exp: Likewise. - -2021-03-26 Andrew Burgess - - * gdb.cp/cplusfuncs.exp (test_paddr_operator_functions): Escape - square brackets in test. - -2021-03-26 Andrew Burgess - - * gdb.cp/maint.exp (test_first_component): Run more tests with a - variable number of spaces, this removes the duplicate testing of - 'operator ->' which existed before. - -2021-03-26 Andrew Burgess - - * gdb.cp/gdb2384.cc (main): Change comments used for breakpoints. - * gdb.cp/gdb2384.exp: Change and extend test names to avoid - duplicates, and also to avoid having a string inside parentheses - at the end of test names. - -2021-03-26 Andrew Burgess - - * gdb.cp/nsusing.exp: Rewrite test, remove a duplicate test block. - Avoid repeated uses of 'runto', and instread just progress once - through the test stopping at different breakpoints. Give comments - a capital letter and full stop. Give duplicate tests unique names. - -2021-03-25 Pedro Alves - - * gdb.server/stop-reply-no-thread-multi.exp (run_test): Add - "target_non_stop" parameter and use it. - (top level): Add "maint set target-non-stop on/off" testing axis. - -2021-03-25 Andrew Burgess - - * lib/ada.exp (gnat_runtime_has_debug_info): Use -wrap with - gdb_test_multiple. - -2021-03-24 Luis Machado - - * gdb.arch/aarch64-mte.c: New file. - * gdb.arch/aarch64-mte.exp: New test. - * gdb.base/memtag.c: New file. - * gdb.base/memtag.exp: New test. - * lib/gdb.exp (supports_memtag): New function. - -2021-03-24 Luis Machado - - * gdb.base/options.exp: Adjust for new print options. - * gdb.base/with.exp: Likewise. - -2021-03-22 Andrew Burgess - - * gdb.dwarf2/dw2-missing-cu-tag.c: New file. - * gdb.dwarf2/dw2-missing-cu-tag.exp: New file. - -2021-03-22 Andrew Burgess - - * gdb.dwarf2/dw2-using-debug-str.c: New file. - * gdb.dwarf2/dw2-using-debug-str.exp: New file. - * lib/dwarf.exp (Dwarf::DW_FORM_strp): Create .debug_str section, - not .debug_string. - -2021-03-20 Tom Tromey - - * gdb.base/maint.exp: Update "maint print statistics" output. - -2021-03-19 Kevin Buettner - - * lib/gdbserver-support.exp (gdbserver_exit): Use the - "-nowait" flag when waiting for gdbserver to exit. - -2021-03-19 Sourabh Singh Tomar - - * gdb.base/info-macros.exp: Append -fdebug-macro to - additional_flags for clang. - * gdb.base/macscp.exp: Likewise. - * gdb.base/style.exp: Likewise. - * gdb.linespec/macro-relative.exp: Likewise. - -2021-03-17 Simon Marchi - Pedro Alves - - * gdb.base/run-attach-while-running.exp: New. - * gdb.base/run-attach-while-running.c: New. - -2021-03-16 Andrew Burgess - - * gdb.python/py-framefilter-addr.c: New file. - * gdb.python/py-framefilter-addr.exp: New file. - * gdb.python/py-framefilter-addr.py: New file. - -2021-03-16 Andrew Burgess - - * gdb.threads/execl.exp: Remove duplicate 'info threads' test. - Make use of $gdb_test_name instead of creating a separate $test - variable. - * gdb.threads/print-threads.exp: Add a with_test_prefix instead of - adding a '($name)' at the end of each test. This also catches the - one place where '($name)' was missing, and so caused a duplicate - test name. - * gdb.threads/queue-signal.exp: Give tests unique names to avoid - duplicate test names based on the command being tested. - * gdb.threads/signal-command-multiple-signals-pending.exp: - Likewise. - * lib/gdb.exp (gdb_compile_shlib_pthreads): Tweak test name to - avoid duplicate testnames when a test script uses this proc and - also gdb_compile_pthreads. - * lib/prelink-support.exp (build_executable_own_libs): Use - with_test_prefix to avoid duplicate test names when we call - build_executable twice. - -2021-03-15 Tom Tromey - - * gdb.ada/fixed_points.exp: Add tests of unary + and -. - -2021-03-15 Tom Tromey - - * gdb.ada/varsize_limit.exp: Add new test. - * gdb.ada/varsize_limit/vsizelim.adb: Update. - -2021-03-15 Tom Tromey - - * gdb.ada/operator_call/twovecs.ads: New file. - * gdb.ada/operator_call/twovecs.adb: New file. - * gdb.ada/operator_call/opcall.adb: New file. - * gdb.ada/operator_call.exp: New file. - -2021-03-15 Tom Tromey - - * gdb.ada/enums_overload/enums_overload_main.adb: New file. - * gdb.ada/enums_overload/enums_overload.ads: New file. - * gdb.ada/enums_overload/enums_overload.adb: New file. - * gdb.ada/enums_overload.exp: New file. - -2021-03-15 Tom Tromey - - * gdb.ada/assign_arr/target_wrapper.ads (IArray, Put, Do_Nothing): - Declare. - * gdb.ada/assign_arr/target_wrapper.adb: New file. - * gdb.ada/assign_arr/main_p324_051.adb (IValue): New variable. - Call Put. - * gdb.ada/assign_arr.exp: Update. - -2021-03-15 Andrew Burgess - - * gdb.python/py-auto-load-chaining-f1.c: New file. - * gdb.python/py-auto-load-chaining-f1.o-gdb.py: New file. - * gdb.python/py-auto-load-chaining-f2.c: New file. - * gdb.python/py-auto-load-chaining-f2.o-gdb.py: New file. - * gdb.python/py-auto-load-chaining.c: New file. - * gdb.python/py-auto-load-chaining.exp: New file. - -2021-03-12 Andrew Burgess - - * gdb.python/py-bad-printers.exp: Extend test names to make them - unique. - * gdb.python/py-events.exp: Likewise. - * gdb.python/py-finish-breakpoint2.exp: Likewise. - * gdb.python/py-frame-inline.exp: Likewise. - * gdb.python/py-frame.exp: Likewise. - * gdb.python/py-infthread.exp: Likewise. - -2021-03-12 Andrew Burgess - - * gdb.python/py-value-cc.exp: Remove a duplicate test. - -2021-03-12 Andrew Burgess - - * gdb.python/lib-types.exp: Update the test to check the correct - python variable. - -2021-03-12 Andrew Burgess - - * gdb.python/py-explore-cc.exp: Extend test names to make them - unique. - -2021-03-12 Andrew Burgess - - * gdb.python/py-lookup-type.exp: Remove duplicate test. - -2021-03-12 Andrew Burgess - - * gdb.python/py-symtab.exp: Extend test names to make them - unique. - -2021-03-12 Andrew Burgess - - * gdb.python/py-prompt.exp: Add with_test_prefix to make test - names unique. - -2021-03-12 Andrew Burgess - - * gdb.python/py-block.exp: Give tests unique names. - -2021-03-12 Andrew Burgess - - * gdb.python/py-pp-maint.exp: Extend test names to make them - unique. - -2021-03-12 Andrew Burgess - - * gdb.python/py-explore.exp: Add with_test_prefix to make test - names unique. - -2021-03-12 Andrew Burgess - - * gdb.python/py-finish-breakpoint.exp: Make test names unique. - -2021-03-12 Andrew Burgess - - * gdb.python/py-strfns.exp: Use with_test_prefix to make test - names unique. - -2021-03-12 Andrew Burgess - - * gdb.python/py-format-string.exp: Use proc_with_prefix to make - test names unique. - -2021-03-12 Andrew Burgess - - * gdb.python/py-mi.exp: Use with_test_prefix to make test names - unique. - -2021-03-09 Tom Tromey - - * gdb.base/cast-call.exp: New file. - * gdb.base/cast-call.c: New file. - -2021-03-09 Andrew Burgess - - * gdb.gdb/python-helper.exp: New file. - -2020-03-04 Felix Willgerodt - - * gdb.fortran/intrinsics.exp: Add LOC tests. - -2021-03-09 Andrew Burgess - - * gdb.fortran/shape.exp: New file. - * gdb.fortran/shape.f90: New file. - -2021-03-09 Andrew Burgess - - * gdb.fortran/size.exp: New file. - * gdb.fortran/size.f90: New file. - -2021-03-09 Andrew Burgess - - * gdb.fortran/rank.exp: New file. - * gdb.fortran/rank.f90: New file. - -2021-03-08 Tom Tromey - - * gdb.fortran/debug-expr.exp: Update tests. - -2021-03-08 Tom Tromey - - * gdb.base/debug-expr.exp: Update expected dump output. - -2021-03-06 Tom Tromey - - * lib/dwarf.exp (_handle_DW_FORM): Treat DW_FORM_GNU_ref_alt and - DW_FORM_GNU_strp_alt like DW_FORM_sec_offset. - * gdb.dwarf2/dwznolink.exp: New file. - -2021-03-05 Mark Wielaard - - * lib/valgrind.exp (vgdb_start): Add --wait=1 to vgdbcmd. - -2021-03-06 Weimin Pan - - * gdb.base/ctf-ptype.exp: Add function tests and fix typos. - -2021-03-03 Markus Metzger - - * gdb.btrace/rn-dl-bind.exp: Add ldflags=-Wl,-z,lazy. - -2021-03-03 Markus Metzger - - * gdb.btrace/non-stop.exp: Adjust expected source lines. - -2021-03-03 Markus Metzger - - * gdb.btrace/stepi.exp: Add {} options to prepare_for_testing. - -2021-03-03 Markus Metzger - - * gdb.btrace/exception.cc (main): Update test source. - * gdb.btrace/exception.exp: Update patterns. - * gdb.btrace/function_call_history.exp: Likewise. - -2021-03-03 Markus Metzger - - * gdb.btrace/unknown_functions.exp: Move -Wl,-x to ldflags. - -2021-03-03 Markus Metzger - - * gdb.btrace/rn-dl-bind.exp: Replace reverse-step with - reverse-continue to breakpoint. - -2021-03-03 Markus Metzger - - * gdb.btrace/delta.exp: Remove instruction-history and - function-call-history checks. - -2021-03-03 Markus Metzger - - * README (Note): Add nopie_ldflag. - * lib/gdb.exp (gdb_compile): Extend nopie handling. - -2021-03-02 Tom Tromey - - * gdb.ada/fixed_points.exp: Remove most special cases for minimal - encodings. - -2021-02-27 Lancelot Six - - PR gdb/27393 - * gdb.base/source-dir.exp: Test that empty dirnames are skipped. - - -2021-02-26 Tom Tromey - - * lib/gdb.exp (skip_ctf_tests): Use expr on result. - -2021-02-26 Jan Vrany - - * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv): - Remove trailing \n from expected output. - -2021-02-26 Markus Metzger - - * lib/gdb.exp (use_gdb_stub): Extend comment. - -2021-02-25 Jan Matyas - - PR gdb/26819 - * gdb.server/stop-reply-no-thread.exp: Add two test - scenarios that cover remote targets which do not have - the concept of threads. - -2021-02-25 Andrew Burgess - - * gdb.fortran/associated.exp: Add missing '-wrap' argument. - -2021-02-25 Andrew Burgess - - PR fortran/26155 - * gdb.fortran/call-no-debug-func.f90: New file. - * gdb.fortran/call-no-debug-prog.f90: New file. - * gdb.fortran/call-no-debug.exp: New file. - -2021-02-25 Andrew Burgess - - * gdb.fortran/associated.exp: New file. - * gdb.fortran/associated.f90: New file. - -2021-02-25 Andrew Burgess - - * gdb.fortran/dot-ops.exp (dot_operations): Test ".xor.". - -2021-02-24 Andrew Burgess - - * gdb.base/sect-cmd.exp: Update expected results. - -2021-02-24 Andrew Burgess - - * gdb.base/sect-cmd.exp: Rewrite using modern testsuite - techniques. Enable the test for all targets. - -2021-02-24 Andrew Burgess - - * gdb.base/maint-info-sections.exp: Add new tests. - (check_maint_info_target_sections_output): New proc. - -2021-02-24 Andrew Burgess - - * gdb.arch/riscv-default-tdesc.exp: New file. - -2021-02-24 Andrew Burgess - - * gdb.fortran/pointer-to-pointer.exp: Additional tests. - -2021-02-18 Andrew Burgess - - * gdb.arch/i386-biarch-core.exp: Add target check. - -2021-02-16 Alok Kumar Sharma - - * gdb.dwarf2/pr13961.S: Corrected invalid DIE references. - -2021-02-12 Andrew Burgess - - * gdb.fortran/allocated.exp: New file. - * gdb.fortran/allocated.f90: New file. - -2021-02-11 Andrew Burgess - - * gdb.fortran/lbound-ubound.exp: Remove old comment. - -2021-02-11 Andrew Burgess - - * gdb.base/maint-info-sections.exp: Update expected output, and - add additional tests. Again. - -2021-02-11 Andrew Burgess - - * gdb.base/maint-info-sections.exp: Update expected output, and - add additional tests. - -2021-02-11 Andrew Burgess - - * gdb.base/maint-info-sections.exp: New file, content is moved - from gdb.base/maint.exp and cleaned up to use latest testsuite - techniques. - * gdb.base/maint.exp: Tests moved out to - gdb.base/maint-info-sections.exp. - -2021-02-10 Simon Marchi - - * gdb.multi/multi-target.exp.tcl (setup): Add "set sysroot" to - GDBFLAGS. - -2021-02-10 Andrew Burgess - - * gdb.fortran/lbound-ubound.F90: New file. - * gdb.fortran/lbound-ubound.exp: New file. - -2021-02-10 Tom de Vries - - * lib/gdb.exp (gdb_load_no_complaints): Remove unnecessary - "Restore saved setting of complaints". - -2021-02-09 Tom de Vries - - PR symtab/27341 - * lib/gdb.exp (with_complaints): New proc, factored out of ... - (gdb_load_no_complaints): ... here. - * gdb.fortran/function-calls.exp: Add test-case. - -2021-02-09 Abid Qadeer - - * gdb.threads/signal-command-handle-nopass.exp: Call - 'standard_testfile' before using 'testfile'. - * gdb.threads/signal-command-multiple-signals-pending.exp: Likewise. - * gdb.threads/signal-delivered-right-thread.exp: Likewise - * gdb.threads/signal-sigtrap.exp: Likewise - -2021-02-08 Luis Machado - - * gdb.base/gnu-ifunc.exp (build): Pass -Wl,z,lazy. - -2021-02-08 Tom de Vries - - * gdb.dwarf2/enqueued-cu-base-addr.exp: Fix inter-CU reference. - -2021-02-08 Andrew Burgess - - * gdb.python/tui-window-disabled.c: New file. - * gdb.python/tui-window-disabled.exp: New file. - * gdb.python/tui-window-disabled.py: New file. - -2021-02-08 Andrew Burgess - - * gdb.python/tui-window.exp: Add new tests. - * gdb.python/tui-window.py (TestWindow) <__init__>: Store - TestWindow object into global the_window. - : New method. - (delete_window_title): New function. - -2021-02-08 Andrew Burgess - - * gdb.tui/winheight.exp: Add more tests. - -2021-02-08 Andrew Burgess - - * gdb.python/py-framefilter.exp: Update expected results. - * gdb.python/python.exp: Update expected results. - -2021-02-08 Andrew Burgess - - * gdb.tui/scroll.exp: Tighten expected results. Remove comment - about bug in GDB, update expected results, and add more tests. - -2021-02-08 Andrew Burgess - - * gdb.tui/scroll.exp: New file. - * gdb.tui/tui-layout-asm-short-prog.exp: Update expected results. - * lib/tuiterm.exp (Term::_csi_M): Delete count lines, scroll - remaining lines up. - (Term::check_region_contents): New proc. - (Term::check_box_contents): Use check_region_contents. - -2021-02-06 Tom de Vries - - PR testsuite/26922 - * gdb.tui/tui-layout-asm.exp: Ignore whitespace mismatches when - scrolling. - -2021-02-05 Tom de Vries - - PR breakpoints/27313 - * gdb.base/catch-syscall.exp: Check that "catch syscall -1" is - rejected. - -2021-02-05 Tom de Vries - - * gdb.dwarf2/main-subprogram.exp: Add KFAIL for PR symtab/24549. - * gdb.fortran/mixed-lang-stack.exp: Same. - -2021-02-05 Tom de Vries - - PR exp/27265 - * gdb.base/complex-parts.exp: Add tests. - -2021-02-05 Tom de Vries - - PR symtab/27307 - * gdb.dwarf2/clang-debug-names.exp: Check file command warnings. - -2021-02-04 Shahab Vahedi - - * gdb.xml/tdesc-regs.exp: Use correct core-regs for ARC. - -2021-02-03 Pedro Alves - - * gdb.threads/detach-step-over.c: New file. - * gdb.threads/detach-step-over.exp: New file. - -2021-02-03 Pedro Alves - - * gdb.threads/attach-non-stop.c: New file. - * gdb.threads/attach-non-stop.exp: New file. - -2021-02-02 Lancelot SIX - - * gdb.base/inferior-noarg.c: New test. - * gdb.base/inferior-noarg.exp: New test. - -2021-02-02 Simon Marchi - - * gdb.base/scope.exp: Use proc_with_prefix. - -2021-02-02 Simon Marchi - - * lib/dwarf.exp (rnglists): Add -no-offset-array option to - table proc. - * gdb.dwarf2/rnglists-sec-offset.exp: Add test for - .debug_rnglists table without offset array. - * gdb.dwarf2/loclists-sec-offset.exp: Add test for - .debug_loclists table without offset array. - -2021-02-02 Simon Marchi - - * gdb.dwarf2/rnglists-sec-offset.exp: Add test for DW_AT_ranges - of DW_FORM_sec_offset form plus DW_AT_rnglists_base attribute. - * gdb.dwarf2/loclists-sec-offset.exp: Add test for - DW_AT_location of DW_FORM_sec_offset plus DW_AT_loclists_base - attribute - -2021-02-02 Simon Marchi - - PR gdb/26813 - * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_loclistx. - (loclists): New proc. - * gdb.dwarf2/loclists-multiple-cus.c: New. - * gdb.dwarf2/loclists-multiple-cus.exp: New. - * gdb.dwarf2/loclists-sec-offset.c: New. - * gdb.dwarf2/loclists-sec-offset.exp: New. - -2021-02-02 Simon Marchi - - * lib/dwarf.exp (_location): Add parameters. - (_handle_DW_FORM): Adjust. - -2021-02-02 Simon Marchi - - PR gdb/26813 - * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_rnglistx. - (cu): Generate header for DWARF 5. - (rnglists): New proc. - * gdb.dwarf2/rnglists-multiple-cus.exp: New. - * gdb.dwarf2/rnglists-sec-offset.exp: New. - -2021-02-02 Tom de Vries - - PR symtab/24620 - * gdb.dwarf2/fission-reread.exp: Add test-case. - -2021-02-01 Tom de Vries - - * gdb.dwarf2/fission-base.S: Pass -DDWO=$dwo. - * gdb.dwarf2/fission-loclists-pie.S: Same. - * gdb.dwarf2/fission-loclists.S: Same. - * gdb.dwarf2/fission-multi-cu.S: Same. - * gdb.dwarf2/fission-reread.S: Same. - * gdb.dwarf2/fission-base.exp: Use DWO. - * gdb.dwarf2/fission-loclists-pie.exp: Same. - * gdb.dwarf2/fission-loclists.exp: Same. - * gdb.dwarf2/fission-multi-cu.exp: Same. - * gdb.dwarf2/fission-reread.exp: Same. - -2021-01-29 Tom de Vries - - PR breakpoints/26063 - * gdb.dwarf2/dw2-step-out-of-function-no-stmt.c: New test. - * gdb.dwarf2/dw2-step-out-of-function-no-stmt.exp: New file. - -2021-01-29 Tom de Vries - - * gdb.opt/solib-intra-step.exp: Remove state tracking logic. - -2021-01-28 Tom de Vries - - * gdb.arch/i386-gnu-cfi.exp: Capture the position of function gate - in the backtrace, and use that in the rest of the test instead of - hardcoded constant 3. Use "frame" instead of "up" for robustness. - -2021-01-28 Tom de Vries - - * gdb.arch/i386-sse-stack-align.S: Rename g[0-4] to test_g[0-4]. - * gdb.arch/i386-sse-stack-align.c: Same. - * gdb.arch/i386-sse-stack-align.exp: Same. - -2021-01-28 Andrew Burgess - - * lib/gdb.exp (default_gdb_init): Unset XDG_CONFIG_HOME. - -2021-01-28 Tom de Vries - - * gdb.ada/out_of_line_in_inlined.exp: Use gdb_breakpoint. - -2021-01-28 Tom de Vries - - * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: Add regexp to - "maint info line-table". Make PASS pattern more specific. Make - FAIL pattern work for -m32. - -2021-01-27 Lancelot SIX - - PR gdb/27133 - * gdb.base/ui-redirect.exp: Add test case that ensures that - redirecting both logging and debug does not cause gdb to crash. - - -2021-01-27 Matthew Malcomson - - * gdb.arch/insn-reloc.c: Add tests for BR and BLR. - -2021-01-26 Tom de Vries - - * gdb.threads/killed-outside.exp: Allow regular output. - -2021-01-26 Tom de Vries - - * gdb.opt/solib-intra-step.exp: Handle stepping into thunk. - -2021-01-25 Tom de Vries - - * gdb.dwarf2/dw2-ranges-psym.exp (gdb_load_no_complaints): New proc. - * lib/gdb.exp: Use gdb_load_no_complaints. - -2021-01-25 Tom Tromey - - * gdb.ada/fixed_points.exp: Add regression test. - * gdb.ada/fixed_points/fixed_points.adb (FP5_Var): New variable. - * gdb.ada/fixed_points/pck.adb (Delta5, FP5_Type): New. - -2021-01-25 Tom Tromey - - * gdb.ada/local-enum.exp: Add enumerator resolution test. - -2021-01-25 Tom Tromey - - * gdb.ada/local-enum.exp: New file. - * gdb.ada/local-enum/local.adb: New file. - -2021-01-23 Tom Tromey - - * lib/gdb.exp (default_gdb_init): Set INPUTRC to a cached file. - -2021-01-22 Bernd Edlinger - - * gdb.base/line65535.exp: Fix test expectation. - -2021-01-22 Simon Marchi - - * lib/gdb.exp (gdb_test_multiple): Remove things related to test - suppression. - (default_gdb_exit): Likewise. - (default_gdb_spawn): Likewise. - (send_gdb): Likewise. - (gdb_expect): Likewise. - (gdb_expect_list): Likewise. - (default_gdb_init): Likewise. - (gdb_suppress_entire_file): Remove. - (gdb_suppress_tests): Remove. - (gdb_stop_suppressing_tests): Remove. - (gdb_clear_suppressed): Remove. - * lib/mi-support.exp (mi_uncatched_gdb_exit): Remove things - related to test suppression. - (default_mi_gdb_start): Likewise. - (mi_gdb_reinitialize_dir): Likewise. - (mi_gdb_test): Likewise. - (mi_run_cmd_full): Likewise. - (mi_runto_helper): Likewise. - (mi_execute_to): Likewise. - * lib/prompt.exp (default_prompt_gdb_start): Likewise. - * gdb.base/bitfields.exp: Likewise. - * gdb.base/bitfields2.exp: Likewise. - * gdb.base/break.exp: Likewise. - * gdb.base/call-sc.exp: Likewise. - * gdb.base/callfuncs.exp: Likewise. - * gdb.base/dfp-test.exp: Likewise. - * gdb.base/endian.exp: Likewise. - * gdb.base/exprs.exp: Likewise. - * gdb.base/funcargs.exp: Likewise. - * gdb.base/hbreak2.exp: Likewise. - * gdb.base/recurse.exp: Likewise. - * gdb.base/scope.exp: Likewise. - * gdb.base/sepdebug.exp: Likewise. - * gdb.base/structs.exp: Likewise. - * gdb.base/until.exp: Likewise. - * gdb.cp/misc.exp: Likewise. - -2021-01-22 Andrew Burgess - - PR cli/25956 - * gdb.base/style.exp (run_style_tests): Add version string test. - (test_startup_version_string): Use version style name. - * lib/gdb-utils.exp (style): Handle version style name. - -2021-01-22 Andrew Burgess - - * gdb.base/style.exp (limited_style): New proc. - (clean_restart_and_disable): New proc. - (run_style_tests): New proc. Most of the old tests from this file - are now in this proc. - (test_startup_version_string): New proc. Reamining test from the - old file is in this proc. - -2021-01-22 Simon Marchi - - * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count): - Adjust to "set debug remote" changes. - -2021-01-21 Luis Machado - - * lib/gdbserver-support.exp (gdb_target_cmd_ext): Handle a new error - message. - -2021-01-21 Simon Marchi - - * lib/tuiterm.exp (_log, _log_cur): New, use throughout. - -2021-01-21 Hannes Domani - - PR python/19151 - * gdb.python/py-breakpoint.exp: Add tests for hardware breakpoints. - -2021-01-20 Simon Marchi - - * lib/tuiterm.exp: Rename _cur_x/_cur_y to _cur_col/_cur_row. - -2021-01-20 Simon Marchi - - * lib/tuiterm.exp: Add links in comments. - -2021-01-20 Tom de Vries - - * gdb.python/py-format-string.exp: Allow Deriv+$decimal as vtable - offset. - -2021-01-20 Tom de Vries - - * lib/gdb.exp (skip_rust_tests): Skip if multilib_flags contains -m32. - -2021-01-20 Sergio Durigan Junior - - * gdb.arch/amd64-stap-expressions.S: New file. - * gdb.arch/amd64-stap-expressions.exp: New file. - -2021-01-19 Tom de Vries - - * gdb.base/step-over-syscall.exp: Detect and handle sysenter/int - sequence. - -2021-01-19 Tom de Vries - - * gdb.arch/i386-mpx.c (main): Drop argc/argv parameter. - -2021-01-18 Andrew Burgess - - * gdb.fortran/array-slices.exp (run_test): Avoid including - addresses in test names. - -2021-01-15 Tom de Vries - - PR testsuite/26997 - * gdb.fortran/array-slices.exp (run_test): Avoid pointer arithmetic - when adding sizeof. - -2021-01-14 Tom de Vries - - PR testsuite/24590 - * gdb.base/style.exp: Handle shorter argv in frame command output. - -2021-01-13 Andrew Burgess - - PR gdb/26819 - * gdb.server/stop-reply-no-thread-multi.c: New file. - * gdb.server/stop-reply-no-thread-multi.exp: New file. - -2021-01-12 Tom de Vries - - * gdb.arch/i386-mpx-call.c (have_mpx): Remove. - (main): Remove call to have_mpx. - * gdb.arch/i386-mpx-call.exp: Use have_mpx. - * gdb.arch/i386-mpx-map.c (have_mpx): Remove. - (main): Remote call to have_mpx. - * gdb.arch/i386-mpx-map.exp: Use have_mpx. - * gdb.arch/i386-mpx-sigsegv.c (have_mpx): Remove. - (main): Remove call to have_mpx. - * gdb.arch/i386-mpx-sigsegv.exp: Use have_mpx. - * gdb.arch/i386-mpx-simple_segv.c (have_mpx): Remove. - (main): Remove call to have_mpx. - * gdb.arch/i386-mpx-simple_segv.exp: Use have_mpx. - * gdb.arch/i386-mpx.c (have_mpx): Remove. - (main): Remote call to have_mpx. - * gdb.arch/i386-mpx.exp: Use have_mpx. - * lib/gdb.exp (have_mpx): New proc. - -2021-01-12 Srinath Parvathaneni - - * gdb.arch/aarch64-fp.exp: Modify to test bfloat16 support. - -2021-01-12 Tom de Vries - - * gdb.base/disasm-optim.exp: Require is_amd64_regs_target. - -2021-01-12 Andrew Burgess - - * gdb.fortran/debug-expr.exp: Add new tests. - -2021-01-12 Andrew Burgess - - * gdb.fortran/dot-ops.exp: Add new tests. - -2021-01-11 Tom de Vries - - PR testsuite/26968 - * gdb.arch/amd64-stap-three-arg-disp.S: Remove insn modifying $ebx. - Move insn setting $eax to before probe point. - -2021-01-09 Tom Tromey - - * gdb.trace/ax.exp: Do not require an "ext". - -2021-01-08 Tom Tromey - - * gdb.ada/voidctx/pck.adb: New file. - * gdb.ada/voidctx/pck.ads: New file. - * gdb.ada/voidctx/voidctx.adb: New file. - * gdb.ada/voidctx.exp: New file. - -2021-01-08 Simon Marchi - - PR gdb/27157 - * gdb.base/empty-host-env-vars.exp: New test. - -2021-01-08 Andrew Burgess - - * gdb.base/completion.exp: Add a new test. - -2021-01-08 Andrew Burgess - - * gdb.fortran/intvar-dynamic-types.exp: New file. - * gdb.fortran/intvar-dynamic-types.f90: New file. - -2021-01-08 Andrew Burgess - - * gdb.fortran/intvar-array.exp: New file. - * gdb.fortran/intvar-array.f90: New file. - -2021-01-07 Tom Tromey - - * gdb.ada/assign_arr.exp: Add 'others' test. - -2021-01-06 Tom Tromey - - * gdb.ada/fixed_points/pck.ads (Delta4): New constant. - (FP4_Type): New type. - (FP4_Var): New variable. - * gdb.ada/fixed_points/fixed_points.adb: Update. - * gdb.ada/fixed_points.exp: Add tests for binary operators. - -2021-01-06 Simon Marchi - - * lib/gdb.exp (gdb_test_sequence): Accept -prompt switch. - * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: - Pass prompt containing debug print to gdb_test_sequence. - -2021-01-04 Tom de Vries - - * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: New file. - -2021-01-04 Simon Marchi - - - -2021-01-04 Simon Marchi - - * gdb.server/abspath.exp: Append "set sysroot" to GDBFLAGS. - * gdb.server/connect-without-multi-process.exp: Likewise. - * gdb.server/exit-multiple-threads.exp: Likewise. - * gdb.server/ext-attach.exp: Likewise. - * gdb.server/ext-restart.exp: Likewise. - * gdb.server/ext-run.exp: Likewise. - * gdb.server/ext-wrapper.exp: Likewise. - * gdb.server/multi-ui-errors.exp: Likewise. - * gdb.server/no-thread-db.exp: Likewise. - * gdb.server/reconnect-ctrl-c.exp: Likewise. - * gdb.server/run-without-local-binary.exp: Likewise. - * gdb.server/server-kill.exp: Likewise. - * gdb.server/server-run.exp: Likewise. - * gdb.server/solib-list.exp: Likewise. - * gdb.server/stop-reply-no-thread.exp: Likewise. - * gdb.server/wrapper.exp: Likewise. - * gdb.server/sysroot.exp: Increase timeout when testing the - target: sysroot. - -2021-01-04 Simon Marchi - - * gdb.server/server-run.exp: Use clean_restart. - -2021-01-04 Simon Marchi - - * gdb.server/ext-run.exp: Use clean_restart. - -2021-01-04 Simon Marchi - - * gdb.server/stop-reply-no-thread.exp: Use build_executable - instead of prepare_for_testing. - -2021-01-04 Simon Marchi - - * gdb.server/solib-list.exp: Use clean_restart. - -2021-01-04 Tom de Vries - - * gdb.base/morestack.c: Remove printf. - * gdb.base/morestack.exp: Don't use -fuse-ld=gold. - -2020-12-31 Tom Tromey - - * gdb.rust/simple.exp: Update output for Rust 1.49. - -2020-12-31 Bernd Edlinger - - * gdb.cp/step-and-next-inline.exp: Fix test case. - -2020-12-30 Simon Marchi - - * gdb.python/py-frame-args.exp: De-duplicate test names. - -2020-12-24 Andrew Burgess - - PR gdb/27059 - * gdb.dwarf2/dyn-type-unallocated.c: New file. - * gdb.dwarf2/dyn-type-unallocated.exp: New file. - -2020-12-21 Peter Waller - - * gdb.base/style-interp-exec-mi.exp: New. - * gdb.base/style-interp-exec-mi.c: New. - -2020-12-21 Simon Marchi - - * gdb.base/list.exp: Replace send_gdb + gdb_expect with - gdb_test. Use proc_with_prefix. - -2020-12-21 Markus Metzger - - * gdb.btrace/exception.exp: Build with nopie. - * gdb.btrace/function_call_history.exp: Likewise. - * gdb.btrace/unknown_functions.exp: Likewise. - -2020-12-21 Markus Metzger - - * gdb.btrace/multi-inferior.exp: Skip if use_gdb_stub. - -2020-12-21 Markus Metzger - - * gdb.python/py-record-btrace.exp: Make test names unique. - * gdb.python/py-record-full.exp: Likewise. - -2020-12-21 Markus Metzger - - * gdb.btrace/data.exp: Make test names unique. - * gdb.btrace/delta.exp: Likewise. - * gdb.btrace/enable.exp: Likewise. - * gdb.btrace/function_call_history.exp: Likewise. - * gdb.btrace/nohist.exp: Likewise. - * gdb.btrace/non-stop.exp: Likewise. - * gdb.btrace/rn-dl-bind.exp: Likewise. - * gdb.btrace/step.exp: Likewise. - * gdb.btrace/stepi.exp: Likewise. - * gdb.btrace/tailcall.exp: Likewise. - -2020-12-21 Markus Metzger - - * gdb.btrace/enable.exp: Update error message. - * gdb.btrace/multi-inferior.exp: Likewise. - * gdb.btrace/reconnect.exp: Likewise. - * gdb.python/py-record-btrace.exp: Likewise. - * gdb.python/py-record-full.exp: Likewise. - -2020-12-20 Tom de Vries - - * lib/gdb.exp (save_target_board_info): New proc. - (gdb_compile_shlib): Use save_target_board_info. - -2020-12-19 Tom de Vries - - * lib/gdb.exp (supports_scalar_storage_order_attribute) - (supports_gnuc): New proc. - * gdb.base/endianity.exp: Define TEST_SSO. Eliminate - test_compiler_info calls. Add unsupported message. - * gdb.base/endianity.c: Use TEST_SSO. - -2020-12-19 Hannes Domani - - PR exp/27070 - * gdb.python/compare-enum-type-a.c: New test. - * gdb.python/compare-enum-type-b.c: New test. - * gdb.python/compare-enum-type.exp: New file. - * gdb.python/compare-enum-type.h: New test. - -2020-12-18 Hannes Domani - - * gdb.python/py-format-string.exp: Add tests for address keyword. - -2020-12-18 Hannes Domani - - * gdb.python/py-type.exp: Add tests for TYPE_CODE_METHOD. - -2020-12-18 Tom Tromey - - * gdb.ada/fixed_points.exp: Also run with - -fgnat-encodings=minimal. Update expected output. - -2020-12-16 Simon Marchi - - * gdb.base/async-shell.exp: Enable non-stop through GDBFLAGS. - * gdb.base/continue-all-already-running.exp: Likewise. - * gdb.base/moribund-step.exp: Likewise. - * gdb.base/step-sw-breakpoint-adjust-pc.exp: Likewise. - -2020-12-16 Tom de Vries - - * gdb.base/batch-preserve-term-settings.exp: - -2020-12-16 Tom de Vries - - * lib/gdb.exp (gdb_compile_shlib_1): Factor out of ... - (gdb_compile_shlib): ... here. Filter out PIE-related flags. - -2020-12-16 Luis Machado - - * gdb.arch/aarch64-tagged-pointer.c (main): Add a few more - pointer-based memory accesses. - * gdb.arch/aarch64-tagged-pointer.exp: Exercise additional - hw watchpoint cases. - -2020-12-15 Rae Kim - - * gdb.base/document.exp: New test. - -2020-12-15 Tom Tromey - - * gdb.base/style.exp: Add deprecation tests. - -2020-12-14 Simon Marchi - - * lib/gdb.exp (gdb_test_multiple): Fix typo in doc. - -2020-12-14 Mark Wielaard - - * lib/dwarf.exp (Dwarf::_handle_attribute): Handle SPECIAL_expr - specially, set attr_form_comment to the actual FORM string used. - -2020-12-14 Mark Wielaard - - * lib/dwarf.exp (Dwarf::_read_constants): Don't set - _constants(SPECIAL_expr) here, but set it... - (Dwarf::cu): ...here based on _cu_version. - -2020-12-14 Tom de Vries - - * lib/gdb.exp (gdb_compile_shlib): Make sure it's not necessary to - pass -fPIC. - * gdb.ada/catch_ex_std.exp: Don't pass -fPIC to gdb_compile_shlib. - * gdb.base/break-probes.exp: Same. - * gdb.base/ctxobj.exp: Same. - * gdb.base/dso2dso.exp: Same. - * gdb.base/global-var-nested-by-dso.exp: Same. - * gdb.base/info-shared.exp: Same. - * gdb.base/jit-reader-simple.exp: Same. - * gdb.base/print-file-var.exp: Same. - * gdb.base/skip-solib.exp: Same. - * gdb.btrace/dlopen.exp: Same. - -2020-12-14 Tom de Vries - - PR testsuite/26963 - * lib/gdb.exp (run_on_host): Declare test unsupported if spawn fails. - -2020-12-14 Tom de Vries - - PR testsuite/26962 - * gdb.base/solib-corrupted.exp: Handle "'_r_debug' has unknown type; - cast it to its declared type". - -2020-12-14 Tom de Vries - - PR testsuite/26951 - * gdb.base/batch-preserve-term-settings.exp: Use "gdb-subshell$ " as - shell prompt. - -2020-12-14 Tom Tromey - - * gdb.ada/nested.exp: Add new tests. - * gdb.ada/nested/hello.adb (Fourth, Fifth): New procedures. - -2020-12-14 Tom Tromey - - * gdb.dwarf2/ada-thick-pointer.exp: New file. - -2020-12-14 Tom Tromey - - * gdb.dwarf2/dw2-fixed-point.exp: Add test for division by zero. - -2020-12-13 Tom de Vries - - PR testsuite/26953 - * gdb.base/endianity.exp: Skip tests requiring scalar_storage_order - attribute support if compiler doesn't support it. - -2020-12-13 Tom de Vries - - * lib/gdb.exp (gdb_compile_shlib): Handle ada. - * gdb.ada/catch_ex_std.exp: Use gdb_compile_shlib to compile from - source to shared lib. Add ada to options. - -2020-12-13 Tom de Vries - - * gdb.ada/catch_ex_std.exp: Use gnatmake -bargs and -largs instead of - calling gnatbind and gnatlink. - -2020-12-13 Andrew Burgess - - * gdb.base/dcache-flush.c: New file. - * gdb.base/dcache-flush.exp: New file. - -2020-12-13 Andrew Burgess - - * gdb.base/c-linkage-name.exp: Update to use new 'maint flush ...' - commands. - * gdb.base/killed-outside.exp: Likewise. - * gdb.opt/inline-bt.exp: Likewise. - * gdb.perf/gmonster-null-lookup.py: Likewise. - * gdb.perf/gmonster-print-cerr.py: Likewise. - * gdb.perf/gmonster-ptype-string.py: Likewise. - * gdb.python/py-unwind.exp: Likewise. - -2020-12-11 Andrew Burgess - - * gdb.base/commands.exp: Update expected results. - -2020-12-11 Andrew Burgess - - PR cli/15104 - * gdb.base/commands.exp: Add additional tests. - * gdb.base/completion.exp: Add additional tests. - -2020-12-11 Andrew Burgess - - * gdb.base/completion.exp: Add additional tests. - -2020-12-11 Tom de Vries - - PR testsuite/26991 - * gdb.arch/i386-mpx-call.exp: Don't expect to trigger bounds - violations by setting bounds registers if the bounds are passed in the - Bounds Table. - -2020-12-11 Tom de Vries - - PR testsuite/26954 - * gdb.base/float128.exp: Detect and handle no mpfr support. - -2020-12-10 Simon Marchi - - PR gdb/24694 - * gdb.multi/multi-arch-exec.c (thread_start, main): Add barrier - calls. - -2020-12-10 Tom de Vries - - PR testsuite/26947 - * gdb.tui/new-layout.exp: Don't execute tests with unbalanced curly - braces for tcl 8.5 and earlier. - -2020-12-09 Simon Marchi - - PR 26875, PR 26901 - * gdb.base/flexible-array-member.c: New test. - * gdb.base/flexible-array-member.exp: New test. - -2020-12-08 Tom de Vries - - * gdb.arch/amd64-gs_base.exp: Undo commit 67748e0f66, reimplement - using is_amd64_regs_target. - -2020-12-08 Tom de Vries - - * gdb.ada/mi_task_arg.exp: Accept as valid value of - self_id. - -2020-12-07 Pedro Alves - - * gdb.base/break-on-linker-gcd-function.exp: Remove unused - 'additional_flags' variable. - -2020-12-07 Tankut Baris Aktemur - - * gdb.linespec/explicit.exp: Extend with a test to check completing - '-' after seemingly complete options. - -2020-12-07 Tankut Baris Aktemur - - * gdb.linespec/keywords.exp: Add tests to check positional - flexibility of "-force-condition". - -2020-12-07 Tankut Baris Aktemur - - * gdb.base/bp-cmds-run-with-ex.c: New file. - * gdb.base/bp-cmds-run-with-ex.exp: New file. - * gdb.base/bp-cmds-run-with-ex.gdb: New file. - * gdb.gdb/python-interrupts.exp: Update the call to - 'catch_command_errors' with the new argument. - * gdb.gdb/python-selftest.exp: Ditto. - -2020-12-04 Simon Marchi - - * gdb.arch/amd64-disp-step-avx.exp: Adjust pattern. - * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise. - * gdb.threads/non-stop-fair-events.exp: Likewise. - -2020-12-04 Simon Marchi - - * gdb.threads/step-over-exec.exp: New. - * gdb.threads/step-over-exec.c: New. - * gdb.threads/step-over-exec-execd.c: New. - * lib/my-syscalls.S: New. - * lib/my-syscalls.h: New. - -2020-12-04 Simon Marchi - - * lib/dwarf.exp (declare_labels): Use name as text if text is - not provided. - -2020-12-04 Tom de Vries - - PR testsuite/26990 - * gdb.arch/amd64-gs_base.exp: Handle -m32 where fs_base and gs_base - are unsupported. - -2020-12-04 Tom de Vries - - * gdb.reverse/insn-reverse.exp: Don't break inside gdb_test_multiple - clause. - -2020-12-04 Tom de Vries - - * gdb.reverse/insn-reverse.exp: Fix count handling. - -2020-12-04 Tom de Vries - - * gdb.reverse/insn-reverse-x86.c: Guard x86_64 assembly with #ifdef - __x86_64__. - -2020-12-04 Tom de Vries - - * gdb.reverse/insn-reverse.c (test_nr): New var. - (usage, parse_args): New function. - (main): Call parse_args. Only run test for test_nr. - * gdb.reverse/insn-reverse.exp: Detect lack of progress in stepi loop - and bail out. Run subtests individually, using an inferior arg - specifying the subtest. - -2020-12-02 Andrew Burgess - - * gdb.arch/riscv-tdesc-regs.exp: Remove unwanted test. - -2020-12-02 Andrew Burgess - - * gdb.arch/riscv-tdesc-regs.exp (get_expected_result): New proc, - update test to use this. - -2020-12-01 Simon Marchi - - * gdb.threads/non-ldr-exc-1.exp: Fix indentation. - -2020-12-01 Simon Marchi - - * gdb.threads/non-ldr-exc-1.exp: Use foreach_with_prefix. - (do_test): Don't use with_test_prefix. - * gdb.threads/non-ldr-exc-2.exp: Use foreach_with_prefix. - (do_test): Don't use with_test_prefix. - * gdb.threads/non-ldr-exc-3.exp: Use foreach_with_prefix. - (do_test): Don't use with_test_prefix. - * gdb.threads/non-ldr-exc-4.exp: Use foreach_with_prefix. - (do_test): Don't use with_test_prefix. - -2020-12-01 Simon Marchi - - * gdb.threads/non-ldr-exit.exp: Fix comment. - -2020-12-01 Andrew Burgess - - * gdb.xml/maint-xml-dump-03.xml: New file. - -2020-11-30 Tom de Vries - - PR symtab/26905 - * gdb.dwarf2/count.exp: Remove kfails. - -2020-11-24 Tankut Baris Aktemur - - * gdb.base/condbreak-multi-context.exp: Do not hard-code location - indices. - -2020-11-24 Joel Brobecker - - * gdb.dwarf2/dw2-fixed-point.exp: Fix the expected output of - the "ptype pck__fp1_range_var" test for the module-2 and pascal - languages. Remove the associated setup_xfail. - -2020-11-23 Simon Marchi - - * lib/gdb.exp (gdb_assert): Show error message on error. - -2020-11-23 Tom de Vries - - * gdb.ada/enum_idx_packed.exp: Limit setup_kfail to gnat 9 and 10. - * gdb.ada/mod_from_name.exp: Same. - * gdb.ada/pckd_arr_ren.exp: Same. - -2020-11-22 Simon Marchi - - * gdb.base/template.exp: New. - * gdb.base/template.c: New. - -2020-11-22 Gary Benson - - PR gdb/26905 - * gdb.dwarf2/count.exp: Add test for an array whose upper bound - is defined using a DW_AT_count which references another DIE. - -2020-11-21 Tom de Vries - - * gdb.base/vla-ptr.exp: Add XFAIL. - -2020-11-19 Andrew Burgess - - * gdb.fortran/array-slices-bad.exp: New file. - * gdb.fortran/array-slices-bad.f90: New file. - * gdb.fortran/array-slices-sub-slices.exp: New file. - * gdb.fortran/array-slices-sub-slices.f90: New file. - * gdb.fortran/array-slices.exp: Rewrite tests. - * gdb.fortran/array-slices.f90: Rewrite tests. - * gdb.fortran/vla-sizeof.exp: Correct expected results. - -2020-11-19 Andrew Burgess - - * gdb.base/completion.exp: Add new completion tests. - -2020-11-18 Simon Marchi - - * gdb.mi/mi-nonstop-exit.exp: Enable non-stop through GDBFLAGS. - * gdb.mi/mi-ns-stale-regcache.exp: Likewise. - * gdb.mi/mi-nsintrall.exp: Likewise. - * gdb.mi/mi-nsmoribund.exp: Likewise. - * gdb.mi/mi-nsthrexec.exp: Likewise. - * gdb.mi/mi-watch-nonstop.exp: Likewise. - -2020-11-18 Simon Marchi - - * lib/mi-support.exp (mi_run_cmd_full): Use unresovled instead - of perror. - -2020-11-18 Joseph Myers - - * lib/mi-support.exp (mi_gdb_file_cmd): Check for case where - $arg.exe exists but $arg does not. - -2020-11-17 Gary Benson - - * gdb.trace/trace-common.h (x86_trace_dummy): Add - __attribute__ ((used)). - -2020-11-17 Andrew Burgess - - * gdb.gdb/unittest.exp: Spot 'Running...' lines. - -2020-11-17 Andrew Burgess - - * gdb.base/completion.exp: Add new tests. - -2020-11-16 Tom Tromey - - * gdb.dwarf2/data-loc.exp: Update expected output. Remove C - tests. - -2020-11-15 Joel Brobecker - - * gdb.ada/fixed_cmp.exp: Add -fgnat-encodings=minimal testing. - * gdb.dwarf2/dw2-fixed-point.c (pck__fp1_var2): New global. - (main): Add reference to pck__fp1_var2. - * gdb.dwarf2/dw2-fixed-point.exp: Add comparison operator testing. - -2020-11-15 Joel Brobecker - - * gdb.dwarf2/dw2-fixed-point.exp: Add arithmetic tests. - -2020-11-15 Joel Brobecker - - * gdb.ada/fixed_points.exp: Add ptype tests. - * gdb.dwarf2/dw2-fixed-point.exp: Likewise. - -2020-11-15 Joel Brobecker - - * gdb.dwarf2/dw2-fixed-point.exp: Add "print /x" tests. - -2020-11-15 Joel Brobecker - - * gdb.ada/fixed_cmp.exp: Force compilation to use -fgnat-encodings=all. - * gdb.ada/fixed_points.exp: Add fixed-point variables printing tests. - * gdb.ada/fixed_points/pck.ads, gdb.ada/fixed_points/pck.adb: - New files. - * gdb.ada/fixed_points/fixed_points.adb: Add use of package Pck. - - * gdb.dwarf2/dw2-fixed-point.c, gdb.dwarf2/dw2-fixed-point.exp: - New files. - -2020-11-14 Andrew Burgess - - PR cli/26879 - * gdb.fortran/completion.exp: New file. - * gdb.fortran/completion.f90: New file. - -2020-11-12 Joseph Myers - - * lib/gdb.exp (gdb_file_cmd): Check for case where $arg.exe exists - but $arg does not. - -2020-11-12 Andrew Burgess - - * gdb.fortran/types.exp: Add more tests. - -2020-11-12 Tom Tromey - - PR rust/26799: - * gdb.rust/traits.exp: Remove kfails. - -2020-11-12 Gary Benson - - * gdb.threads/tls-so_extern_main.c (tls_ptr): Add missing return - statement. - -2020-11-11 Simon Marchi - - * gdb.base/continue-after-aborted-step-over.exp: Add "breakpoint - always-inserted" axis. - (do_test): Add breakpoint_always_inserted parameter. - -2020-11-10 Tom Tromey - - * gdb.ada/bias.exp: Update. - * gdb.ada/bias/bias.adb (X): Change value. - -2020-11-10 Gary Benson - - * gdb.base/vla-optimized-out.exp (p sizeof (a)): Wrap supplied - regexp fragment in parentheses to prevent false matching. - -2020-11-10 Gary Benson - - * gdb.base/vla-optimized-out.c (f1): Add __attribute__ ((weak)). - -2020-11-10 Gary Benson - - * gdb.cp/step-and-next-inline.exp: Only require - -gstatement-frontiers when building with GCC. - Only setup KFAIL's for GCC issues when using - a GCC-built executable. - -2020-11-06 Andrew Burgess - - * gdb.base/debug-expr.c: Add extra function to allow for an - additional test. - * gdb.base/debug-expr.exp (test_debug_expr): Delete, replace calls - to this proc with gdb_test_debug_expr. Add an extra test. - * gdb.cp/debug-expr.exp (test_debug_expr): Delete, replace calls - to this proc with gdb_test_debug_expr, give the tests names - * gdb.dlang/debug-expr.exp (test_debug_expr): Delete, replace - calls to this proc with gdb_test_debug_expr, give the tests names - * gdb.fortran/debug-expr.exp: New file. - * gdb.fortran/debug-expr.f90: New file. - * lib/gdb.exp (gdb_test_debug_expr): New proc. - -2020-11-06 Simon Marchi - - * lib/dwarf.exp (ranges): Handle "base" and "range" as - proceduresu. - * gdb.dwarf/dw2-bad-elf.exp: Adjust. - * gdb.dwarf2/dw2-inline-many-frames.exp: Adjust. - * gdb.dwarf2/dw2-inline-stepping.exp: Adjust. - * gdb.dwarf2/dw2-ranges-base.exp: Adjust. - * gdb.dwarf2/dw2-ranges-func.exp: Adjust. - * gdb.dwarf2/dw2-ranges-overlap.exp: Adjust. - * gdb.dwarf2/dw2-ranges-psym.exp: Adjust. - * gdb.dwarf2/enqueued-cu-base-addr.exp: Adjust. - -2020-11-04 Tom Tromey - - * gdb.ada/funcall_ref.exp: Update. - * gdb.ada/var_rec_arr.exp: Update. - -2020-11-04 Tom Tromey - - * gdb.ada/rec_ptype.exp: New file. - * gdb.ada/rec_ptype/main.adb: New file. - * gdb.ada/rec_ptype/p.ads: New file. - -2020-11-04 Tom Tromey - - * gdb.ada/tick_length_array_enum_idx.exp: Add ptype test. - * gdb.ada/tick_length_array_enum_idx/foo_n207_004.adb - (PT_Full): New variable. - * gdb.ada/tick_length_array_enum_idx/pck.adb - (Full_PT): New type. - -2020-11-04 Tom Tromey - - * gdb.ada/array_of_variant.exp: New file. - * gdb.ada/array_of_variant/p.adb: New file. - * gdb.ada/array_of_variant/pck.ads: New file. - * gdb.ada/array_of_variant/pck.adb: New file. - -2020-11-04 Tom Tromey - - * gdb.ada/enum_idx_packed.exp: Add test. - * gdb.ada/enum_idx_packed/foo.adb (Multi_Access): - New variable. - * gdb.ada/enum_idx_packed/pck.ads (Short) - (Multi_Dimension, Multi_Dimension_Access): New types. - -2020-11-04 Tom Tromey - - * gdb.ada/enum_idx_packed.exp: Test two forms of -fgnat-encodings. - -2020-11-04 Tom Tromey - - * gdb.ada/set_pckd_arr_elt.exp: Also test - -fgnat-encodings=minimal. Add tests. - * gdb.ada/set_pckd_arr_elt/foo.adb (Foo): Add VA variable. - Call Update_Small a second time. - * gdb.ada/set_pckd_arr_elt/pck.adb (New_Variant): New function. - * gdb.ada/set_pckd_arr_elt/pck.ads (Buffer, Variant) - (Variant_Access): New types. - (New_Variant): Declare. - -2020-11-04 Tom Tromey - - * gdb.ada/mod_from_name.exp: Test printing slice. - -2020-11-04 Tom Tromey - - * gdb.ada/O2_float_param.exp: Test different -fgnat-encodings - values. - * gdb.ada/access_to_unbounded_array.exp: Test different - -fgnat-encodings values. - * gdb.ada/big_packed_array.exp: Test different -fgnat-encodings - values. - * gdb.ada/arr_enum_idx_w_gap.exp: Test different -fgnat-encodings - values. - * gdb.ada/array_ptr_renaming.exp: Test different -fgnat-encodings - values. - * gdb.ada/array_of_variable_length.exp: Test different - -fgnat-encodings values. - * gdb.ada/arrayparam.exp: Test different -fgnat-encodings values. - * gdb.ada/arrayptr.exp: Test different -fgnat-encodings values. - * gdb.ada/frame_arg_lang.exp: Revert -fgnat-encodings=minimal - change. - * gdb.ada/mi_string_access.exp: Test different -fgnat-encodings - values. - * gdb.ada/mod_from_name.exp: Test different -fgnat-encodings values. - * gdb.ada/out_of_line_in_inlined.exp: Test different - -fgnat-encodings values. - * gdb.ada/packed_array.exp: Test different -fgnat-encodings - values. - * gdb.ada/pckd_arr_ren.exp: Test different -fgnat-encodings - values. - * gdb.ada/unc_arr_ptr_in_var_rec.exp: Test different - -fgnat-encodings values. - * gdb.ada/variant_record_packed_array.exp: Test different - -fgnat-encodings values. - -2020-11-04 Tom Tromey - - * gdb.ada/enum_idx_packed.exp: Add tests. - * gdb.ada/enum_idx_packed/foo.adb: Add variables. - * gdb.ada/enum_idx_packed/pck.adb: Add functions. - * gdb.ada/enum_idx_packed/pck.ads: Add types, function - declarations. - -2020-11-03 Tom de Vries - - * lib/dwarf.exp (Dwarf::_handle_DW_TAG): Improve attribute list - terminator comments. - (Dwarf::cu, Dwarf::tu): Remove superfluous abbreviation table - terminator. - -2020-11-02 Simon Marchi - - * gdb.base/step-over-no-symbols.exp (test_step_over): Replace - integer format test with regexp. - -2020-11-02 Gary Benson - - * gdb.base/print-file-var.exp (test): Separate compiler and - linker options, and build using build_executable_from_specs - to accommodate this. - -2020-11-02 Gary Benson - - * lib/gdb.exp (gdb_compile): Inhibit passing "-x c++" - for .c files compiled as C++ with Clang if any shared - libraries are specified. - -2020-11-02 Gary Benson - - * lib/attributes.h: New header. - * gdb.base/backtrace.c: Include the above. Replace - __attribute__(noclone)) with ATTRIBUTE_NOCLONE. - * gdb.base/infcall-nested-structs.c: Likewise. - * gdb.base/vla-optimized-out.c: Likewise. - -2020-11-02 Tom de Vries - - * gdb.dwarf2/fission-multi-cu.S: Remove .debug_line.dwo section. - -2020-11-01 Joel Brobecker - - * gdb.ada/fixed_points/fixed_points.adb: Replace use of - System.Min_Int and System.Max_Int with smaller hardcoded - constants. - -2020-10-31 Simon Marchi - - * configure.ac: Split AC_INIT into AC_INIT and AC_CONFIG_SRCDIR. - * configure: Re-generate. - -2020-10-30 Simon Marchi - - * gdb.arch/amd64-disp-step-avx.exp: Update displaced step debug - expected output. - -2020-10-30 Tankut Baris Aktemur - - * gdb.base/paginate-after-ctrl-c-running.exp: Update with no pagination - behavior. - * gdb.base/paginate-bg-execution.exp: Ditto. - * gdb.base/paginate-inferior-exit.exp: Ditto. - * gdb.base/double-prompt-target-event-error.c: Remove. - * gdb.base/double-prompt-target-event-error.exp: Remove. - -2020-10-29 Tankut Baris Aktemur - - * gdb.base/kill-detach-inferiors-cmd.exp: Check that 'kill - inferiors' and 'detach inferiors' do not change the current - inferior. - -2020-10-29 Tom de Vries - - * gdb.threads/tls.exp: Fix DUPLICATEs. - -2020-10-28 Tom de Vries - - * gdb.python/py-symbol.exp: Add KFAILs for -readnow. - -2020-10-28 Tom de Vries - - * gdb.ada/exec_changed.exp: Add KFAILs for -readnow. - * gdb.base/reread.exp: Same. - -2020-10-28 Tom de Vries - - * lib/gdb.exp (readnow): Handle arg. - * gdb.rust/traits.exp: Add KFAILs for -readnow. - -2020-10-28 Tom de Vries - - * gdb.base/relocate.exp: Update regexp for -readnow. - -2020-10-28 Tom de Vries - - * gdb.dwarf2/dw2-error.exp: Mark failure break in main as known with - -readnow. - -2020-10-28 Tom de Vries - - PR symtab/26772 - * gdb.dwarf2/dw2-ranges-overlap.c: New test. - * gdb.dwarf2/dw2-ranges-overlap.exp: New file. - -2020-10-28 Tom de Vries - - * lib/gdb.exp (gdb_file_cmd): Set gdb_file_cmd_msg. - * gdb.cp/nsalias.exp: Set complaints limit before file cmd. Expect - complaint during file command for -readnow. - -2020-10-28 Tom de Vries - - * gdb.cp/nsalias.exp: Fix typo in test name. - -2020-10-28 Tom de Vries - - * gdb.dwarf2/dw2-filename.exp: Update regexp for -readnow. - -2020-10-28 Tom de Vries - - * gdb.dwarf2/dw2-stack-boundary.exp: KFAILing the complaints for - -readnow. - -2020-10-27 Tom de Vries - - * gdb.base/multi-forks.exp: Use exp_continue to fix timeout. - -2020-10-27 Tom de Vries - - * gdb.base/maint.exp: Update for -readnow. - -2020-10-27 Tom de Vries - - * gdb.cp/psymtab-parameter.exp: Don't expect unexpanded CU for - -readnow. - -2020-10-14 Gary Benson - - * gdb.python/py-format-string.exp (test_deref_refs): Treat - "_vptr$Base" as correct, in addition to "_vptr.Base". - (test_mixed): Likewise. - -2020-10-27 Gary Benson - - * gdb.mi/mi-fortran-modules.exp: Check skip_fortran_tests. - * gdb.mi/mi-vla-fortran.exp: Likewise. Also fix a comment. - -2020-10-27 Tankut Baris Aktemur - - * gdb.base/condbreak.exp: Update the completion tests to - consider the '-force' flag. - -2020-10-27 Tom de Vries - - * gdb.base/list-ambiguous-readnow.exp: New file. - -2020-10-27 Tankut Baris Aktemur - - * gdb.base/condbreak-multi-context.exp: Expand to test forcing - the condition. - * gdb.linespec/cpcompletion.exp: Update to consider the - '-force-condition' keyword. - * gdb.linespec/explicit.exp: Ditto. - * lib/completion-support.exp: Ditto. - -2020-10-27 Tankut Baris Aktemur - - * gdb.base/condbreak-multi-context.cc: New file. - * gdb.base/condbreak-multi-context.exp: New file. - -2020-10-26 Tom Tromey - - * lib/mi-support.exp (default_mi_gdb_start): Call - gdb_stdin_log_init. - * lib/gdb.exp (standard_output_file_with_gdb_instance): Don't - subtract one from gdb_instances. - (gdb_stdin_log_write): Flush in_file. - -2020-10-26 Tom de Vries - - * gdb.dwarf2/enqueued-cu-base-addr.exp: New file. - -2020-10-26 Tom Tromey - - * gdb.ada/unsigned_range/foo.adb: New file. - * gdb.ada/unsigned_range/pack.adb: New file. - * gdb.ada/unsigned_range/pack.ads: New file. - * gdb.ada/unsigned_range.exp: New file. - -2020-10-26 Tom de Vries - - * lib/gdb.exp (INTERNAL_GDBFLAGS): Set heigth and width. - -2020-10-26 Tom de Vries - - * gdb.dwarf2/dw2-objfile-overlap-inner.S: Specify default base address - for CU. - * gdb.dwarf2/dw2-objfile-overlap-outer.S: Same. - -2020-10-23 Tom de Vries - - * lib/dwarf.exp (Dwarf::_guess_form): Return "" by default instead of - DW_FORM_string. - (Dwarf::_default_form): New proc. - (Dwarf::_handle_DW_TAG): Use _default_form. Error out if no form was - guessed. - -2020-10-23 Tom de Vries - - * gdb.dwarf2/ada-linkage-name.exp: Use $srcfile for DW_AT_name of CU. - * gdb.dwarf2/atomic-type.exp: Same. - * gdb.dwarf2/bad-regnum.exp: Same. - * gdb.dwarf2/cpp-linkage-name.exp: Same. - * gdb.dwarf2/dw2-align.exp: Same. - * gdb.dwarf2/dw2-bad-elf.exp: Same. - * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same. - * gdb.dwarf2/dw2-bad-unresolved.exp: Same. - * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same. - * gdb.dwarf2/dw2-opt-structptr.exp: Same. - * gdb.dwarf2/dw2-unusual-field-names.exp: Same. - * gdb.dwarf2/enum-type.exp: Same. - * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Same. - * gdb.dwarf2/info-locals-optimized-out.exp: Same. - * gdb.dwarf2/main-subprogram.exp: Same. - * gdb.dwarf2/missing-type-name.exp: Same. - * gdb.dwarf2/nonvar-access.exp: Same. - * gdb.dwarf2/typedef-void-finish.exp: Same. - * gdb.dwarf2/var-access.exp: Same. - * gdb.dwarf2/void-type.exp: Same. - -2020-10-22 Simon Marchi - - PR gdb/26693 - * gdb.dwarf2/template-specification-full-name.exp: New test. - -2020-10-22 Luis Machado - - * gdb.base/msym-bp-shl.exp (test_break): Adjust pattern to not - expected an offset from the function. - * gdb.base/msym-bp.exp (test): Likewise. - -2020-10-22 Andrew Burgess - - * gdb.fortran/array-slices.exp: Add a new test. - -2020-10-21 Gary Benson - - * gdb.mi/mi-fullname-deleted.exp: Fix substituted - fullname test with Clang. Also expand comments generally. - -2020-10-20 Tom de Vries - - * gdb.dwarf2/pr13961.S: Remove superfluous end-of-siblings marker. - -2020-10-20 Tom de Vries - - * gdb.dwarf2/arr-stride.c: Remove. - * gdb.dwarf2/arr-stride.exp: Use main.c. - * gdb.dwarf2/arr-subrange.c: Remove. - * gdb.dwarf2/arr-subrange.exp: Use main.c. - * gdb.dwarf2/bad-regnum.c: Remove. - * gdb.dwarf2/bad-regnum.exp: Use main.c. - * gdb.dwarf2/corrupt.c: Remove. - * gdb.dwarf2/corrupt.exp: Use main.c. - * gdb.dwarf2/dw2-bad-elf.c: Remove. - * gdb.dwarf2/dw2-bad-elf.exp: Use main.c. - * gdb.dwarf2/dw2-icycle.c: Remove. - * gdb.dwarf2/dw2-icycle.exp: Use main.c. - * gdb.dwarf2/formdata16.c: Remove. - * gdb.dwarf2/formdata16.exp: Use main.c. - * gdb.dwarf2/implptrconst.c: Remove. - * gdb.dwarf2/implptrconst.exp: Use main.c. - * gdb.dwarf2/info-locals-optimized-out.c: Remove. - * gdb.dwarf2/info-locals-optimized-out.exp: Use main.c. - * gdb.dwarf2/opaque-type-lookup.c: Remove. - * gdb.dwarf2/opaque-type-lookup.exp: Use main.c. - -2020-10-20 Tom de Vries - - * gdb.dwarf2/ada-valprint-error.exp: Remove redundant mention of .exp - file. - * gdb.dwarf2/dw2-dir-file-name.exp: Same. - -2020-10-20 Tom de Vries - - * gdb.dwarf2/dw2-error.exp: Use $gdb_test_file_name. - * gdb.dwarf2/dw2-line-number-zero.exp: Same. - * gdb.dwarf2/dw2-main-no-line-number.exp: Same. - * gdb.dwarf2/dw2-ranges-base.exp: Same. - * gdb.dwarf2/dw2-ranges.exp: Same. - * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same. - * gdb.dwarf2/var-access.exp: Same. - -2020-10-19 Tom Tromey - - PR tui/26719 - * gdb.tui/list.exp: Check source window contents after focus - change. - -2020-10-17 Tom de Vries - - PR symtab/26317 - * gdb.dwarf2/dw2-main-no-line-number.exp: New file. - -2020-10-17 Tom de Vries - - * lib/gdb.exp (standard_testfile): Also treat args starting with '-' - as suffix. - * gdb.dwarf2/atomic.c: Rename to ... - * gdb.dwarf2/atomic-type.c: ... this. - * gdb.dwarf2/dw2-ranges2.c: Rename to ... - * gdb.dwarf2/dw2-ranges-2.c: ... this. - * gdb.dwarf2/dw2-ranges3.c: Rename to ... - * gdb.dwarf2/dw2-ranges-3.c: ... this. - * gdb.dwarf2/fission-mix2.c: Rename to ... - * gdb.dwarf2/fission-mix-2.c: ... this. - * gdb.dwarf2/ada-linkage-name.exp: Use more suffix args for - standard_testfile. - * gdb.dwarf2/ada-valprint-error.exp: Same. - * gdb.dwarf2/arr-stride.exp: Same. - * gdb.dwarf2/arr-subrange.exp: Same. - * gdb.dwarf2/atomic-type.exp: Same. - * gdb.dwarf2/bad-regnum.exp: Same. - * gdb.dwarf2/break-inline-psymtab.exp: Same. - * gdb.dwarf2/clang-debug-names-2.exp: Same. - * gdb.dwarf2/clang-debug-names.exp: Same. - * gdb.dwarf2/comp-unit-lang.exp: Same. - * gdb.dwarf2/corrupt.exp: Same. - * gdb.dwarf2/count.exp: Same. - * gdb.dwarf2/cpp-linkage-name.exp: Same. - * gdb.dwarf2/data-loc.exp: Same. - * gdb.dwarf2/dw2-align.exp: Same. - * gdb.dwarf2/dw2-bad-elf.exp: Same. - * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same. - * gdb.dwarf2/dw2-bad-unresolved.exp: Same. - * gdb.dwarf2/dw2-case-insensitive.exp: Same. - * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Same. - * gdb.dwarf2/dw2-ifort-parameter.exp: Same. - * gdb.dwarf2/dw2-inline-many-frames.exp: Same. - * gdb.dwarf2/dw2-inline-param.exp: Same. - * gdb.dwarf2/dw2-inline-small-func.exp: Same. - * gdb.dwarf2/dw2-inline-stepping.exp: Same. - * gdb.dwarf2/dw2-is-stmt-2.exp: Same. - * gdb.dwarf2/dw2-is-stmt.exp: Same. - * gdb.dwarf2/dw2-line-number-zero.exp: Same. - * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same. - * gdb.dwarf2/dw2-opt-structptr.exp: Same. - * gdb.dwarf2/dw2-param-error.exp: Same. - * gdb.dwarf2/dw2-ranges-base.exp: Same. - * gdb.dwarf2/dw2-ranges.exp: Same. - * gdb.dwarf2/dw2-unusual-field-names.exp: Same. - * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same. - * gdb.dwarf2/dw4-sig-types.exp: Same. - * gdb.dwarf2/dynarr-ptr.exp: Same. - * gdb.dwarf2/enum-type.exp: Same. - * gdb.dwarf2/fission-mix.exp: Same. - * gdb.dwarf2/formdata16.exp: Same. - * gdb.dwarf2/implptrconst.exp: Same. - * gdb.dwarf2/implptrpiece.exp: Same. - * gdb.dwarf2/info-locals-optimized-out.exp: Same. - * gdb.dwarf2/main-subprogram.exp: Same. - * gdb.dwarf2/method-ptr.exp: Same. - * gdb.dwarf2/missing-sig-type.exp: Same. - * gdb.dwarf2/nonvar-access.exp: Same. - * gdb.dwarf2/opaque-type-lookup.exp: Same. - * gdb.dwarf2/shortpiece.exp: Same. - * gdb.dwarf2/staticvirtual.exp: Same. - * gdb.dwarf2/subrange.exp: Same. - * gdb.dwarf2/symtab-producer.exp: Same. - * gdb.dwarf2/typedef-void-finish.exp: Same. - * gdb.dwarf2/var-access.exp: Same. - * gdb.dwarf2/variant.exp: Same. - * gdb.dwarf2/void-type.exp: Same. - * gdb.dwarf2/dw2-ranges-psym.exp: Same. Use main.c instead of - dw2-ranges-main.c. - * gdb.dwarf2/dw2-ranges-main.c: Remove. - -2020-10-16 Tom de Vries - - * lib/gdb.exp (gdb_breakpoint): Remove mention of "passfail". - -2020-10-16 Tom de Vries - - * lib/gdb.exp (gdb_breakpoint): Handle eof as in gdb_test_multiple. - -2020-10-14 Tom de Vries - - PR testsuite/26732 - * gdb.ada/mi_catch_ex.exp: Do mi_delete_breakpoints before running - scenario 2. - * gdb.ada/mi_catch_ex_hand.exp: Same. - -2020-10-13 Pedro Alves - - * lib/mi-support.exp (mi_clean_restart): New. - (mi_run_to_main): Delete. - All callers adjust to use mi_clean_restart / mi_runto_main. - -2020-10-13 Pedro Alves - - * config/monitor.exp: Use "list -q". - * gdb.arch/gdb1558.exp: Use "break -q". - * gdb.arch/i386-permbkpt.exp: Use "break -q". - * gdb.arch/i386-prologue-skip-cf-protection.exp: Use "break -q". - * gdb.base/break.exp: Use "break -q", "list -q" and "tbreak -q". - * gdb.base/commands.exp: Use "break -q". - * gdb.base/condbreak.exp: Use "break -q". - * gdb.base/ctf-ptype.exp: Use "list -q". - * gdb.base/define.exp: Use "break -q". - * gdb.base/del.exp: Use "break -q". - * gdb.base/fullname.exp: Use "break -q". - * gdb.base/hbreak-in-shr-unsupported.exp: Use "hbreak -q". - * gdb.base/hbreak-unmapped.exp: Use "hbreak -q". - * gdb.base/hbreak2.exp: Use "hbreak -q" and "list -q". - * gdb.base/hw-sw-break-same-address.exp: Use "break -q" and - "hbreak -q". - * gdb.base/included.exp: Use "list -q". - * gdb.base/label.exp: Use "break -q". - * gdb.base/lineinc.exp: Use "break -q". - * gdb.base/list.exp: Use "list -q". - * gdb.base/macscp.exp: Use "list -q". - * gdb.base/pending.exp: Use "break -q". - * gdb.base/prologue-include.exp: Use "break -q". - * gdb.base/ptype.exp: Use "list -q". - * gdb.base/sepdebug.exp: Use "break -q", "list -q" and "tbreak -q". - * gdb.base/server-del-break.exp: Use "break -q". - * gdb.base/style.exp: Use "break -q". - * gdb.base/symbol-without-target_section.exp: Use "list -q". - * gdb.base/watchpoint-reuse-slot.exp: Use "hbreak -q". - * gdb.cp/exception.exp: Use "tbreak -q". - * gdb.dwarf2/dw2-error.exp: Use "break -q". - * gdb.dwarf2/fission-mix.exp: Use "break -q". - * gdb.dwarf2/fission-reread.exp: Use "break -q". - * gdb.dwarf2/pr13961.exp: Use "break -q". - * gdb.linespec/explicit.exp: Use "list -q". - * gdb.linespec/linespec.exp: Use "break -q". - * gdb.mi/mi-simplerun.exp: Use "--qualified". - * gdb.python/py-mi-objfile-gdb.py: Use "list -q". - * gdb.server/bkpt-other-inferior.exp: Use "break -q". - * gdb.server/connect-without-multi-process.exp: Use "break -q". - * gdb.trace/change-loc.exp: Use "break -q". - * gdb.trace/pending.exp: Use "break -q". - * gdb.tui/basic.exp: Use "list -q". - * gdb.tui/list-before.exp: Use "list -q". - * gdb.tui/list.exp: Use "list -q". - * lib/gdb.exp (gdb_has_argv0): Use "break -q". - -2020-10-13 Pedro Alves - - * gdb.base/ui-redirect.exp: Expect "break -qualified main" in - saved breakpoints file. - * gdb.guile/scm-breakpoint.exp: Expect "-qualified main" when - inspecting breakpoint list. - * lib/gdb.exp (runto_main): Add "qualified" to options. - * lib/mi-support.exp (mi_runto_helper): Add 'qualified' parameter, - and handle it. - (mi_runto_main): Pass 1 as qualified argument. - -2020-10-13 Pedro Alves - - * lib/mi-support.exp (mi_runto_main): New proc. - (mi_run_to_main): Use it. - * gdb.mi/mi-catch-cpp-exceptions.exp: Likewise. - * gdb.mi/mi-var-cmd.exp: Likewise. - * gdb.mi/mi-var-invalidate.exp: Likewise. - * mi-var-list-children-invalid-grandchild.exp: Likewise. - * gdb.mi/mi2-amd64-entry-value.exp: Likewise. - * gdb.mi/new-ui-mi-sync.exp: Likewise. - * gdb.mi/user-selected-context-sync.exp: Likewise. - * gdb.opt/inline-cmds.exp: Likewise. - * gdb.python/py-framefilter-mi.exp: Likewise. - * gdb.python/py-mi.exp: Likewise. - -2020-10-13 Pedro Alves - - * gdb.ada/fun_in_declare.exp: Use "runto_main" instead of - "runto main". - * gdb.ada/small_reg_param.exp: Likewise. - * gdb.arch/powerpc-d128-regs.exp: Likewise. - * gdb.base/annota1.exp: Likewise. - * gdb.base/anon.exp: Likewise. - * gdb.base/breakpoint-in-ro-region.exp: Likewise. - * gdb.base/dprintf-non-stop.exp: Likewise. - * gdb.base/dprintf.exp: Likewise. - * gdb.base/gdb11530.exp: Likewise. - * gdb.base/gdb11531.exp: Likewise. - * gdb.base/gnu_vector.exp: Likewise. - * gdb.base/interrupt-noterm.exp: Likewise. - * gdb.base/memattr.exp: Likewise. - * gdb.base/step-over-syscall.exp: Likewise. - * gdb.base/watch-cond-infcall.exp: Likewise. - * gdb.base/watch-read.exp: Likewise. - * gdb.base/watch-vfork.exp: Likewise. - * gdb.base/watch_thread_num.exp: Likewise. - * gdb.base/watchpoint-stops-at-right-insn.exp: Likewise. - * gdb.guile/scm-frame-inline.exp: Likewise. - * gdb.linespec/explicit.exp: Likewise. - * gdb.opt/inline-break.exp: Likewise. - * gdb.python/py-frame-inline.exp: Likewise. - * gdb.reverse/break-precsave.exp: Likewise. - * gdb.reverse/break-reverse.exp: Likewise. - * gdb.reverse/consecutive-precsave.exp: Likewise. - * gdb.reverse/consecutive-reverse.exp: Likewise. - * gdb.reverse/finish-precsave.exp: Likewise. - * gdb.reverse/finish-reverse.exp: Likewise. - * gdb.reverse/fstatat-reverse.exp: Likewise. - * gdb.reverse/getresuid-reverse.exp: Likewise. - * gdb.reverse/i386-precsave.exp: Likewise. - * gdb.reverse/i386-reverse.exp: Likewise. - * gdb.reverse/i386-sse-reverse.exp: Likewise. - * gdb.reverse/i387-env-reverse.exp: Likewise. - * gdb.reverse/i387-stack-reverse.exp: Likewise. - * gdb.reverse/insn-reverse.exp: Likewise. - * gdb.reverse/machinestate-precsave.exp: Likewise. - * gdb.reverse/machinestate.exp: Likewise. - * gdb.reverse/pipe-reverse.exp: Likewise. - * gdb.reverse/readv-reverse.exp: Likewise. - * gdb.reverse/recvmsg-reverse.exp: Likewise. - * gdb.reverse/rerun-prec.exp: Likewise. - * gdb.reverse/s390-mvcle.exp: Likewise. - * gdb.reverse/solib-precsave.exp: Likewise. - * gdb.reverse/solib-reverse.exp: Likewise. - * gdb.reverse/step-precsave.exp: Likewise. - * gdb.reverse/step-reverse.exp: Likewise. - * gdb.reverse/time-reverse.exp: Likewise. - * gdb.reverse/until-precsave.exp: Likewise. - * gdb.reverse/until-reverse.exp: Likewise. - * gdb.reverse/waitpid-reverse.exp: Likewise. - * gdb.reverse/watch-precsave.exp: Likewise. - * gdb.reverse/watch-reverse.exp: Likewise. - * gdb.threads/kill.exp: Likewise. - * gdb.threads/tid-reuse.exp: Likewise. - -2020-10-13 Simon Marchi - - PR gdb/26642 - * gdb.base/maint-target-async-off.c: New test. - * gdb.base/maint-target-async-off.exp: New test. - -2020-10-13 Alan Modra - - * gdb.arch/powerpc-altivec.s, - * gdb.arch/powerpc-power7.s, - * gdb.arch/powerpc-power8.s, - * gdb.arch/powerpc-power9.s, - * gdb.arch/powerpc-vsx.s, - * gdb.arch/powerpc-vsx2.s: Remove duplicate instructions. - * gdb.arch/powerpc-altivec.exp, - * gdb.arch/powerpc-power7.exp, - * gdb.arch/powerpc-power8.exp, - * gdb.arch/powerpc-power9.exp, - * gdb.arch/powerpc-vsx.exp, - * gdb.arch/powerpc-vsx2.exp: Likewise, and update expected - disassembly of mfvsrd/mtvsrd. - -2020-10-13 Alan Modra - - * gdb.arch/arm-disassembler-options.exp: Adjust expected - "target architecture" output. - * gdb.arch/powerpc-d128-regs.exp: Likewise. - * gdb.arch/powerpc-disassembler-options.exp: Likewise. - * gdb.arch/ppc64-symtab-cordic.exp: Likewise. - * gdb.arch/s390-disassembler-options.exp: Likewise. - -2020-10-12 Pedro Alves - - PR exp/26602 - PR c++/26550 - * gdb.cp/ambiguous.cc (marker1): Delete. - (main): Initialize all the fields of the locals. Replace marker1 - call with a "set breakpoint here" marker. - * gdb.cp/ambiguous.exp: Modernize. Use gdb_continue_to_breakpoint - instead of running to marker1. Add tests printing all the - variables and all the fields of the variables. - (test_ambiguous): New proc, expecting the new GDB output when a - field access is ambiguous. Change all "warning: X ambiguous" - tests to use it. - -2020-10-12 Gary Benson - - * gdb.base/msym-bp.c (foo): Add __attribute__ ((used)). - * gdb.base/msym-bp-2.c (foo): Likewise. - * gdb.base/msym-lang.c (foo): Likewise. - * gdb.base/msym-lang-main.c (foo): Likewise. - * gdb.base/symtab-search-order-1.c (static_global): Likewise. - * gdb.guile/scm-pretty-print.c (eval_func): Likewise. - * gdb.mi/mi-sym-info-1.c (global_f1): Likewise. - * gdb.mi/mi-sym-info-2.c (global_f1, var1, var2): Likewise. - * gdb.multi/watchpoint-multi-exit.c (globalvar): Likewise. - * gdb.python/py-as-string.c (enum_valid, enum_invalid): Likewise. - * gdb.python/py-objfile.c (static_var): Likewise. - * gdb.python/py-symbol.c (rr): Likewise. - * gdb.python/py-symbol-2.c (anon, rr): Likewise. - * gdb.mi/mi-sym-info.exp (lineno1, lineno2): Updated. - -2020-10-11 Andrew Burgess - - * gdb.fortran/mixed-lang-stack.exp (run_tests): Update expected - output of backtrace. - -2020-10-09 Tom Tromey - - * gdb.ada/scalar_storage/storage.adb (Another_Range): New type. - (Rec): Add field. Fix range. - * gdb.ada/scalar_storage.exp: Update. - -2020-10-09 Hannes Domani - - PR exp/26714 - * gdb.base/printcmds.exp: Add tests for void results. - -2020-10-09 Jan Vrany - - * gdb.mi/mi-cmd-param-changed.exp: Check that notification is - is emmited for both 'set directories' and 'directory' commands. - -2020-10-08 Tom Tromey - - * gdb.base/style.exp: Check that "main"'s name is styled. - -2020-10-07 Tom Tromey - - * gdb.base/find.exp: Rename some tests. - -2020-10-06 Gary Benson - - * gdb.base/list0.c (unused): Add __attribute__ ((used)). - * gdb.base/list1.c (unused): Likewise. - -2020-10-06 Gary Benson - - * gdb.base/list-ambiguous0.c (ambiguous_var): Add - __attribute__ ((used)). - * gdb.base/list-ambiguous1.c (ambiguous_var): Likewise. - -2020-10-06 Andrew Burgess - - * gdb.base/m32r.ld: Remove SEARCH_DIR line. Add MEMORY regions, - make use of regions throughout. - * gdb.base/overlays.exp: Enclose string with variableds in "..", - not {...}. - * gdb.base/ovlymgr.c: Add 'string.h' and 'stdlib.h' includes. - -2020-10-05 Hannes Domani - - * gdb.base/call-sc.c: Fix return struct on stack test case. - * gdb.base/call-sc.exp: Likewise. - -2020-10-02 Gary Benson - - * README: Fix "paralell". - -2020-09-30 Gary Benson - - * gdb.dwarf2/dw2-double-set-die-type.S (.Ldie_3e0): - Convert directive to lowercase. - (.Labbrev1_begin): Add missing label. - (abbrev code 0x1): Remove DW_AT_stmt_list. - (.Ldie_b): Likewise. - -2020-09-27 Tom Tromey - - * gdb.tui/new-layout.exp: Use with_test_prefix. - -2020-09-26 Gareth Rees (tiny change) - - PR python/26586 - * gdb.python/python.exp: add test cases for the from_tty - argument to gdb.execute. - -2020-09-25 Gary Benson - - * gdb.base/infcall-nested-structs.exp.tcl: Add - additional_flags=-Wno-tautological-compare for C++ - tests when compiling using Clang. - -2020-09-25 Gary Benson - - * lib/gdb.exp (gdb_compile): Pass "-x c++" earlier, and only - for .c files. - -2020-09-24 Tom Tromey - - PR tui/26638: - * gdb.tui/list.exp: Check output of "focus next". - -2020-09-23 Tom Tromey - - * gdb.dwarf2/intbits.exp: New file. - * gdb.dwarf2/intbits.c: New file. - -2020-09-20 Pedro Alves - - * lib/mi-support.exp (mi_uncatched_gdb_exit) Switch to the main - spawn_id before calling remote_close. Close secondary MI channel. - -2020-09-20 Pedro Alves - - * gdb.base/testenv.exp (find_env): Bail out if printing 'envp[$i]' - fails. - -2020-09-19 Andrew Burgess - - * gdb.fortran/array-slices.exp: Update expected results. - * gdb.fortran/class-allocatable-array.exp: Likewise. - * gdb.fortran/multi-dim.exp: Likewise. - * gdb.fortran/vla-type.exp: Likewise. - * gdb.mi/mi-vla-fortran.exp: Likewise. - -2020-09-18 Victor Collod - - PR gdb/26635 - * gdb.arch/amd64-prologue-skip-cf-protection.exp: Make the test - compatible with i386, and move it to... - * gdb.arch/i386-prologue-skip-cf-protection.exp: ... here. - * gdb.arch/amd64-prologue-skip-cf-protection.c: Move to... - * gdb.arch/i386-prologue-skip-cf-protection.c: ... here. - -2020-09-18 Pedro Alves - - PR gdb/26631 - * gdb.multi/multi-target-thread-find.exp: New file. - -2020-09-18 Pedro Alves - - * gdb.multi/multi-target-continue.exp: New file, factored out from - multi-target.exp. - * gdb.multi/multi-target-info-inferiors.exp: New file, factored out from - multi-target.exp. - * gdb.multi/multi-target-interrupt.exp: New file, factored out from - multi-target.exp. - * gdb.multi/multi-target-no-resumed.exp: New file, factored out from - multi-target.exp. - * gdb.multi/multi-target-ping-pong-next.exp: New file, factored out from - multi-target.exp. - * gdb.multi/multi-target.exp.tcl: New file, factored out from - multi-target.exp. - * gdb.multi/multi-target.exp: Delete. - -2020-09-18 Andrew Burgess - - * gdb.fortran/array-slices.exp: Add missing message data. - -2020-09-17 Pedro Alves - - * gdb.cp/call-c-1.c (foo) [__cplusplus]: Add extern "C". - -2020-09-17 Pedro Alves - - * gdb.python/py-frame-inline.exp: Adjust to optionally expect a - full prototype. - -2020-09-17 Pedro Alves - - * gdb.python/py-as-string.c: Add cast. - -2020-09-17 Pedro Alves - - * gdb.base/sizeof.c (fill): Add cast. - -2020-09-17 Pedro Alves - - * gdb.base/share-env-with-gdbserver.c (main): Add cast. - -2020-09-17 Pedro Alves - - * gdb.base/prologue.c [__cplusplus] (marker): Explicitly specify - linkage name. - * gdb.base/prologue.exp: Use print /d. - * gdb.base/symbol-alias.exp: Handle C++ output. - * gdb.base/symbol-alias2.c: Handle C++ output. - [__cplusplus] (func): Explicitly specify linkage name. - -2020-09-17 Pedro Alves - - * gdb.python/py-nested-maps.c (struct key_t): Rename to... - (struct my_key_t): ... this. Adjust all references. - (struct value_t): Rename to ... - (struct my_value_t): ... this. Adjust all references. - (create_map, add_map_element, create_map_map) - (add_map_map_element): Add casts. - -2020-09-17 Pedro Alves - - * gdb.python/py-framefilter-mi.c (funca): Add casts. - * gdb.python/py-framefilter.c.c (funca, func2): Add casts. - -2020-09-17 Pedro Alves - - * gdb.mi/var-cmd.c (do_anonymous_type_tests): Add cast. - -2020-09-17 Pedro Alves - - * gdb.base/exprs.c: Replace 'this' with 'self' throughout. - * gdb.base/ptype.c: : Replace 'this' with 'self' throughout. - (charfoo, intfoo): Define full prototype. - * gdb.base/ptype1.c (charfoo): Define full prototype. - * gdb.base/setvar.c: Replace 'this' with 'self' throughout. - * gdb.base/whatis.c: Replace 'this' with 'self' throughout. - -2020-09-17 Pedro Alves - - * gdb.base/charset.c [__cplusplus] (wchar_t, char16_t, char32_t): - Don't define. - (utf_32_string): Compile for both C and C++. - * gdb.base/charset.exp: Use "print /d". - -2020-09-17 Pedro Alves - - * gdb.base/watchpoint.c (buf): Make it 31 bytes. - (nullptr): Rename to ... - (null_ptr): ... this. - * gdb.base/watchpoint.exp: Adjust to rename. - -2020-09-17 Pedro Alves - - * gdb.base/printcmds.c (three, flag_enum_without_zero) - (three_not_flag): Add casts. - -2020-09-17 Pedro Alves - - * gdb.base/examine-backward.c (Barrier, TestStrings): Now unsigned - char array. - (main): Add references to Barrier, TestStrings, TestStringsH and - TestStringsW. - * gdb.base/examine-backward.exp: Issue "set print asm-demangle on" - and expect a full prototype in C++. - -2020-09-17 Pedro Alves - - * gdb.base/nested-addr.c (main): Add cast. - * gdb.base/nested-addr.exp: Use "print /d". - -2020-09-17 Pedro Alves - - * gdb.base/break.exp (func): New. Use it throughout when - expecting a function name. - -2020-09-17 Pedro Alves - - * gdb.base/display.exp: Issue "set print asm-demangle on". - -2020-09-17 Pedro Alves - - * gdb.base/find.c: Include . - (init_bufs): Add cast. - * gdb.base/find.exp: Issue "set print asm-demangle on". - -2020-09-16 Tom Tromey - - PR gdb/26598: - * gdb.base/skipcxx.exp: New file. - * gdb.base/skipcxx.cc: New file. - -2020-09-16 Tom de Vries - - PR testsuite/26617 - * gdb.dlang/watch-loc.c: Only add .debug_aranges if - WITH_DEBUG_SECTIONS is defined. - (xstr, str): New macro. - (.debug_aranges): Use DMAIN_START_0/1/2 and DMAIN_LENGTH - to get start and size of _Dmain. - * gdb.dlang/watch-loc.exp: Pass DMAIN_START_0/1/2 and DMAIN_LENGTH - using additional_flags. - -2020-09-16 Tankut Baris Aktemur - - * gdb.base/bp-cmds-sourced-script.c: New file. - * gdb.base/bp-cmds-sourced-script.exp: New test. - * gdb.base/bp-cmds-sourced-script.gdb: New file. - -2020-09-16 Tom de Vries - - * lib/gdbserver-support.exp (gdbserver_exit): Make sure we - get the gdb prompt after issuing "monitor exit". - -2020-09-16 Tom de Vries - - PR testsuite/26624 - * lib/gdb.exp (gdb_assert): Catch errors in condition evaluation. - -2020-09-16 Tom de Vries - - PR testsuite/26618 - * gdb.tui/new-layout.exp: Escape unbalanced braces. - -2020-09-15 Tom Tromey - - PR rust/26197: - * lib/rust-support.exp (rust_llvm_version): New proc. - * gdb.rust/simple.exp: Check rust_llvm_version. - -2020-09-14 Tom de Vries - - * gdb.rust/traits.exp: Fix PATH warning. - -2020-09-13 Pedro Alves - - * gdb.base/catch-follow-exec.c (main): Add explicit return - statement. - * gdb.base/catch-signal.c (main): Likewise. - * gdb.base/condbreak-call-false.c (main): Likewise. - * gdb.base/consecutive.c (main): Add explicit return - statement and return type. - * gdb.base/cursal.c (main): Add explicit return statement. - * gdb.base/cvexpr.c (main): Likewise. - * gdb.base/display.c (main): Add explicit return statement and - return type. - * gdb.base/dprintf-detach.c (main): Add explicit return statement. - * gdb.base/endianity.c (main): Likewise. - * gdb.base/execd-prog.c (main): Likewise. - * gdb.base/gdb1090.c (main): Likewise. - * gdb.base/info_qt.c (main): Likewise. - * gdb.base/lineinc.c (main): Likewise. - * gdb.base/load-command.c (main): Likewise. - * gdb.base/macscp1.c (main): Likewise. - * gdb.base/pr10179-a.c (main): Likewise. - * gdb.base/quit-live.c (main): Likewise. - * gdb.base/scope0.c (main): Likewise. - * gdb.base/settings.c (main): Likewise. - * gdb.base/stack-checking.c (main): Return int. - * gdb.base/varargs.c (main): Add explicit return statement. - * gdb.cp/ambiguous.cc (main): Likewise. - * gdb.cp/anon-struct.cc (main): Likewise. - * gdb.cp/anon-union.cc (main): Likewise. - * gdb.cp/bool.cc (main): Likewise. - * gdb.cp/bs15503.cc (main): Likewise. - * gdb.cp/cplusfuncs.cc (main): Likewise. - * gdb.cp/cttiadd.cc (main): Likewise. - * gdb.cp/extern-c.cc (main): Likewise. - * gdb.cp/filename.cc (main): Likewise. - * gdb.cp/formatted-ref.cc (main): Likewise. - * gdb.cp/mb-ctor.cc (main): Likewise. - * gdb.cp/member-ptr.cc (main): Likewise. - * gdb.cp/minsym-fallback-main.cc (main): Likewise. - * gdb.cp/overload-const.cc (main): Likewise. - * gdb.cp/paren-type.cc (main): Likewise. - * gdb.cp/parse-lang.cc (main): Likewise. - * gdb.cp/pr-1023.cc (main): Likewise. - * gdb.cp/psmang1.cc (main): Likewise. - * gdb.cp/readnow-language.cc (main): Likewise. - * gdb.cp/ref-params.cc (main): Likewise. - * gdb.cp/rvalue-ref-params.cc (main): Likewise. - * gdb.cp/virtbase2.cc (main): Likewise. - * gdb.dwarf2/dw2-abs-hi-pc.c (main): Likewise. - * gdb.dwarf2/dw2-namespaceless-anonymous.c (main): Likewise. - * gdb.dwarf2/dw4-toplevel-types.cc (main): Likewise. - * gdb.mi/mi-console.c (main): Likewise. - * gdb.mi/mi-read-memory.c (main): Likewise. - * gdb.modula2/multidim.c (main): Likewise. - * gdb.opt/inline-small-func.c (main): Likewise. - * gdb.python/py-rbreak.c (main): Likewise. - * gdb.stabs/exclfwd1.c (main): Likewise. - * gdb.trace/qtro.c (main): Likewise. - -2020-09-13 Pedro Alves - - * gdb.base/share-env-with-gdbserver.c (main): Call my_getenv - instead of getenv. - -2020-09-13 Pedro Alves - - * gdb.base/dbx.exp (dbx_gdb_start): Adjust to use gdb_spawn - instead of spawning GDB with remote_spawn. - * lib/mi-support.exp (default_mi_gdb_start): Adjust to use - gdb_spawn instead of spawning GDB with remote_spawn. - -2020-09-13 Pedro Alves - - * gdb.dwarf2/ada-linkage-name.c (main): Move to the bottom of the - file and add calls to first and second. - * gdb.dwarf2/atomic.c (main): Move to the bottom of the file and - add call to f. - -2020-09-13 Pedro Alves - - * gdb.mi/mi-break-qualified.cc: New file. - * gdb.mi/mi-break-qualified.exp: New file. - * lib/mi-support.exp (mi_create_breakpoint_multi) - (mi_make_breakpoint_loc, mi_make_breakpoint_multi): New - procedures. - (mi_create_breakpoint_1): New, factored out from - mi_create_breakpoint. - -2020-09-13 Pedro Alves - - * gdb.cp/inherit.exp: No longer pass -Wno-deprecated-register. - * gdb.cp/misc.exp: No longer pass -Wno-deprecated-register. - * gdb.cp/misc.cc (class small, small::method, marker_reg1) - (register_class): Delete. - (main): Don't call register_class. - -2020-09-13 Pedro Alves - - * gdb.cp/classes.exp: No longer pass -Wno-deprecated-register. - (do_tests): Remove "calling method for small class" test. - * gdb.cp/classes.cc (class small, small::method, marker_reg1) - (register_class): Delete. - (main): Don't call register_class. - * gdb.cp/call-method-register.exp: New file, based on bits removed - from classes.exp. - * gdb.cp/call-method-register.cc: New file, based on bits removed - from classes.cc. - -2020-09-13 Pedro Alves - - * gdb.base/msym-bp-2.c: New. - * gdb.base/msym-bp-shl-lib.c: New file. - * gdb.base/msym-bp-shl-main-2.c: New file. - * gdb.base/msym-bp-shl-main.c: New file. - * gdb.base/msym-bp-shl.exp: New file. - * gdb.base/msym-bp.c: New file. - * gdb.base/msym-bp.exp: New file. - -2020-09-13 Joel Brobecker - - * gdb.base/default.exp: Change $_gdb_major to 11. - -2020-09-11 Moritz Riesterer - Felix Willgerodt - - * x86-avx512bf16.c: New file. - * x86-avx512bf16.exp: Likewise. - * lib/gdb.exp (skip_avx512bf16_tests): New function. - -2020-09-11 Tom de Vries - - PR exp/26602 - * gdb.cp/ambiguous.exp: Add KFAILs for PR26602. - -2020-09-11 Tankut Baris Aktemur - - * gdb.base/bp-cmds-execution-x-script.exp: Remove a stale comment. - -2020-09-10 Alan Modra - - PR 26597 - * gdb.dlang/demangle.exp: Update tests as per gcc commit 387d0773f3. - -2020-09-08 Tom de Vries - - * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Consume gdb prompt - after gdb_starti_cmd. - -2020-09-03 Alok Kumar Sharma - - * lib/fortran.exp (fortran_complex8): New proc. - (fortran_complex16): New proc. - * gdb.fortran/complex.exp: Use routines from fortran.exp - * gdb.fortran/pointer-to-pointer.exp: Likewise. - * gdb.fortran/vla-ptr-info.exp: Likewise. - -2020-09-03 Tom de Vries - - PR breakpoint/26546 - * gdb.base/label-without-address.exp: Runto main first. - -2020-09-02 Tom Tromey - - * gdb.ada/mi_var_access.exp: Test children of access variable. - * gdb.ada/mi_var_access/mi_access.adb: Add new stop markers. - * gdb.ada/mi_var_array.exp: Update. - -2020-08-31 Kevin Buettner - - * gdb.base/corefile.exp (warning-free): XFAIL test when running - on docker w/ AUFS storage driver. - -2020-08-31 Kevin Buettner - - * gdb.base/corefile2.exp (renamed binfile): New tests. - -2020-08-31 Simon Marchi - - * gdb.dwarf2/dw2-reg-undefined.exp: Remove spurious #. - -2020-08-31 Simon Marchi - - * gdb.dwarf2/frame-inlined-in-outer-frame.exp: New file. - * gdb.dwarf2/frame-inlined-in-outer-frame.S: New file. - -2020-08-31 Simon Marchi - - * gdb.dwarf2/dw2-reg-undefined.exp: Test "set debug frame 1" - output, printing a "not saved" value from history and printing a - convenience variable created from a "not saved" value. - -2020-08-31 Tom de Vries - - * gdb.base/eh_return.exp: Use nopie. - -2020-08-28 Pedro Alves - - * gdb.base/advance-until-multiple-locations.exp - (advance_overload, until_overload): Adjust to match the - frame/function header instead of the source line text. - -2020-08-28 Tom de Vries - - * gdb.base/label-without-address.c: New test. - * gdb.base/label-without-address.exp: New file. - -2020-08-27 Pedro Alves - - PR gdb/26523 - PR gdb/26524 - * gdb.base/advance-until-multiple-locations.cc: New. - * gdb.base/advance-until-multiple-locations.exp: New. - -2020-08-27 Simon Marchi - - * gdb.dwarf2/dw2-reg-undefined.exp: Use multi_line. - -2020-08-27 Andrew Burgess - - * gdb.arch/amd64-byte.exp: Make test names unique, use - gdb_breakpoint, and fix typo 'forth' -> 'fourth'. - * gdb.arch/amd64-dword.exp: Likewise. - * gdb.arch/amd64-pseudo.c: Fix typo 'forth' -> 'fourth'. - * gdb.arch/amd64-stap-special-operands.exp: Make test names - unique. - * gdb.arch/amd64-tailcall-ret.exp: Likewise. - * gdb.arch/amd64-word.exp: Make test names unique, use - gdb_breakpoint, and fix typo 'forth' -> 'fourth'. - * gdb.arch/i386-byte.exp: Make test names unique, use - gdb_breakpoint. - * gdb.arch/i386-word.exp: Likewise. - -2020-08-25 Shahab Vahedi - - * gdb.arch/arc-tdesc-cpu.xml: Use new feature names. - -2020-08-25 Simon Marchi - - PR gdb/26532 - * gdb.threads/stepi-random-signal.exp: Update pattern. - -2020-08-25 Simon Marchi - - PR gdb/26532 - * gdb.base/ui-redirect.exp: Update pattern. - -2020-08-25 Gary Benson - - * gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler - when compiling with clang. - * gdb.dwarf2/dw2-restore.exp: Likewise. - -2020-08-25 Gary Benson - - * gdb.cp/ambiguous.exp: Enable test when compiling with GCC. - Add additional_flags=-Wno-inaccessible-base when compiling - with GCC >= 10.1 or clang. Add additional_flags=-w when - compiling with GCC < 10. - -2020-08-25 Gaius Mulley - - PR m2/26372 - * gdb.modula2/multidim.c: New file. - * gdb.modula2/multidim.exp: New file. - -2020-08-24 Simon Marchi - - * lib/gdb.exp (runto): Always emit fail on internal error. - -2020-08-24 Simon Marchi - - * gdb.base/gdb-sigterm.exp (do_test): Update expected regexp. - * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: - Likewise. - * gdb.threads/stepi-random-signal.exp: Likewise. - -2020-08-20 Tankut Baris Aktemur - - * gdb.base/print-file-var.exp: Fix typo "breapoint". - * gdb.trace/strace.exp: Ditto. - -2020-08-19 Alok Kumar Sharma - - * gdb.fortran/vla-type.exp: Skip commands not required for - the Flang compiled binaries after prologue fix. - -2020-08-17 Tom de Vries - Tom Tromey - - PR rust/26197: - * gdb.rust/simple.exp (xfail_pattern): Update for new failure. - -2020-08-17 Tom Tromey - - * gdb.ada/mi_var_access.exp: New file. - * gdb.ada/mi_var_access/mi_access.adb: New file. - * gdb.ada/mi_var_access/pck.adb: New file. - * gdb.ada/mi_var_access/pck.ads: New file. - -2020-08-16 Tom de Vries - - PR gdb/25350 - * gdb.base/eh_return.c: New test. - * gdb.base/eh_return.exp: New file. - -2020-08-15 Tom de Vries - - * gdb.fortran/mixed-lang-stack.c (fortran_charlen_t): New type. - (mixed_func_1d_): Use fortran_charlen_t in decl. - -2020-08-15 Tom de Vries - - PR backtrace/26390 - * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all. - Update expected pattern. - -2020-08-13 Pedro Alves - - * gdb.fortran/complex.exp: Check skip_fortran_tests. - * gdb.fortran/library-module.exp: Likewise. - * gdb.fortran/logical.exp: Likewise. - * gdb.fortran/module.exp: Likewise. - * gdb.fortran/print_type.exp: Likewise. - * gdb.fortran/vla-alloc-assoc.exp: Likewise. - * gdb.fortran/vla-datatypes.exp: Likewise. - * gdb.fortran/vla-history.exp: Likewise. - * gdb.fortran/vla-ptr-info.exp: Likewise. - * gdb.fortran/vla-ptype-sub.exp: Likewise. - * gdb.fortran/vla-ptype.exp: Likewise. - * gdb.fortran/vla-sizeof.exp: Likewise. - * gdb.fortran/vla-type.exp: Likewise. - * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise. - * gdb.fortran/vla-value-sub-finish.exp: Likewise. - * gdb.fortran/vla-value-sub.exp: Likewise. - * gdb.fortran/vla-value.exp: Likewise. - -2020-08-13 Pedro Alves - - * gdb.ada/access_tagged_param.exp: Check skip_ada_tests. - * gdb.ada/access_to_packed_array.exp: Likewise. - * gdb.ada/access_to_unbounded_array.exp: Likewise. - * gdb.ada/addr_arith.exp: Likewise. - * gdb.ada/arr_acc_idx_w_gap.exp: Likewise. - * gdb.ada/arr_arr.exp: Likewise. - * gdb.ada/arr_enum_idx_w_gap.exp: Likewise. - * gdb.ada/array_bounds.exp: Likewise. - * gdb.ada/array_of_variable_length.exp: Likewise. - * gdb.ada/array_ptr_renaming.exp: Likewise. - * gdb.ada/array_subscript_addr.exp: Likewise. - * gdb.ada/arraydim.exp: Likewise. - * gdb.ada/arrayparam.exp: Likewise. - * gdb.ada/arrayptr.exp: Likewise. - * gdb.ada/assign_1.exp: Likewise. - * gdb.ada/assign_arr.exp: Likewise. - * gdb.ada/atomic_enum.exp: Likewise. - * gdb.ada/attr_ref_and_charlit.exp: Likewise. - * gdb.ada/bad-task-bp-keyword.exp: Likewise. - * gdb.ada/bias.exp: Likewise. - * gdb.ada/boolean_expr.exp: Likewise. - * gdb.ada/bp_c_mixed_case.exp: Likewise. - * gdb.ada/bp_enum_homonym.exp: Likewise. - * gdb.ada/bp_inlined_func.exp: Likewise. - * gdb.ada/bp_on_var.exp: Likewise. - * gdb.ada/bp_range_type.exp: Likewise. - * gdb.ada/bp_reset.exp: Likewise. - * gdb.ada/call_pn.exp: Likewise. - * gdb.ada/catch_assert_if.exp: Likewise. - * gdb.ada/catch_ex.exp: Likewise. - * gdb.ada/catch_ex_std.exp: Likewise. - * gdb.ada/char_enum.exp: Likewise. - * gdb.ada/char_param.exp: Likewise. - * gdb.ada/complete.exp: Likewise. - * gdb.ada/cond_lang.exp: Likewise. - * gdb.ada/convvar_comp.exp: Likewise. - * gdb.ada/dgopt.exp: Likewise. - * gdb.ada/disc_arr_bound.exp: Likewise. - * gdb.ada/display_nested.exp: Likewise. - * gdb.ada/dot_all.exp: Likewise. - * gdb.ada/dyn_loc.exp: Likewise. - * gdb.ada/dyn_stride.exp: Likewise. - * gdb.ada/excep_handle.exp: Likewise. - * gdb.ada/expr_delims.exp: Likewise. - * gdb.ada/expr_with_funcall.exp: Likewise. - * gdb.ada/exprs.exp: Likewise. - * gdb.ada/fin_fun_out.exp: Likewise. - * gdb.ada/fixed_cmp.exp: Likewise. - * gdb.ada/formatted_ref.exp: Likewise. - * gdb.ada/frame_arg_lang.exp: Likewise. - * gdb.ada/frame_args.exp: Likewise. - * gdb.ada/fullname_bp.exp: Likewise. - * gdb.ada/fun_addr.exp: Likewise. - * gdb.ada/fun_in_declare.exp: Likewise. - * gdb.ada/fun_overload_menu.exp: Likewise. - * gdb.ada/fun_renaming.exp: Likewise. - * gdb.ada/funcall_char.exp: Likewise. - * gdb.ada/funcall_param.exp: Likewise. - * gdb.ada/funcall_ptr.exp: Likewise. - * gdb.ada/funcall_ref.exp: Likewise. - * gdb.ada/homonym.exp: Likewise. - * gdb.ada/info_addr_mixed_case.exp: Likewise. - * gdb.ada/info_auto_lang.exp: Likewise. - * gdb.ada/info_exc.exp: Likewise. - * gdb.ada/info_types.exp: Likewise. - * gdb.ada/int_deref.exp: Likewise. - * gdb.ada/interface.exp: Likewise. - * gdb.ada/iwide.exp: Likewise. - * gdb.ada/lang_switch.exp: Likewise. - * gdb.ada/length_cond.exp: Likewise. - * gdb.ada/maint_with_ada.exp: Likewise. - * gdb.ada/mi_catch_assert.exp: Likewise. - * gdb.ada/mi_catch_ex.exp: Likewise. - * gdb.ada/mi_catch_ex_hand.exp: Likewise. - * gdb.ada/mi_dyn_arr.exp: Likewise. - * gdb.ada/mi_ex_cond.exp: Likewise. - * gdb.ada/mi_exc_info.exp: Likewise. - * gdb.ada/mi_interface.exp: Likewise. - * gdb.ada/mi_prot.exp: Likewise. - * gdb.ada/mi_ref_changeable.exp: Likewise. - * gdb.ada/mi_string_access.exp: Likewise. - * gdb.ada/mi_task_arg.exp: Likewise. - * gdb.ada/mi_task_info.exp: Likewise. - * gdb.ada/mi_var_array.exp: Likewise. - * gdb.ada/mi_var_union.exp: Likewise. - * gdb.ada/mi_variant.exp: Likewise. - * gdb.ada/minsyms.exp: Likewise. - * gdb.ada/mod_from_name.exp: Likewise. - * gdb.ada/nested.exp: Likewise. - * gdb.ada/null_array.exp: Likewise. - * gdb.ada/optim_drec.exp: Likewise. - * gdb.ada/out_of_line_in_inlined.exp: Likewise. - * gdb.ada/packed_array_assign.exp: Likewise. - * gdb.ada/packed_tagged.exp: Likewise. - * gdb.ada/pp-rec-component.exp: Likewise. - * gdb.ada/print_chars.exp: Likewise. - * gdb.ada/print_pc.exp: Likewise. - * gdb.ada/ptr_typedef.exp: Likewise. - * gdb.ada/ptype_arith_binop.exp: Likewise. - * gdb.ada/ptype_array.exp: Likewise. - * gdb.ada/ptype_field.exp: Likewise. - * gdb.ada/ptype_tagged_param.exp: Likewise. - * gdb.ada/ptype_union.exp: Likewise. - * gdb.ada/py_range.exp: Likewise. - * gdb.ada/py_taft.exp: Likewise. - * gdb.ada/rdv_wait.exp: Likewise. - * gdb.ada/rec_comp.exp: Likewise. - * gdb.ada/rec_return.exp: Likewise. - * gdb.ada/ref_param.exp: Likewise. - * gdb.ada/ref_tick_size.exp: Likewise. - * gdb.ada/rename_subscript_param.exp: Likewise. - * gdb.ada/repeat_dyn.exp: Likewise. - * gdb.ada/same_component_name.exp: Likewise. - * gdb.ada/same_enum.exp: Likewise. - * gdb.ada/scalar_storage.exp: Likewise. - * gdb.ada/set_wstr.exp: Likewise. - * gdb.ada/small_reg_param.exp: Likewise. - * gdb.ada/str_binop_equal.exp: Likewise. - * gdb.ada/str_ref_cmp.exp: Likewise. - * gdb.ada/str_uninit.exp: Likewise. - * gdb.ada/sub_variant.exp: Likewise. - * gdb.ada/sym_print_name.exp: Likewise. - * gdb.ada/taft_type.exp: Likewise. - * gdb.ada/tagged.exp: Likewise. - * gdb.ada/tagged_access.exp: Likewise. - * gdb.ada/task_bp.exp: Likewise. - * gdb.ada/task_switch_in_core.exp: Likewise. - * gdb.ada/tasks.exp: Likewise. - * gdb.ada/tick_last_segv.exp: Likewise. - * gdb.ada/tick_length_array_enum_idx.exp: Likewise. - * gdb.ada/type_coercion.exp: Likewise. - * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise. - * gdb.ada/unchecked_union.exp: Likewise. - * gdb.ada/uninitialized_vars.exp: Likewise. - * gdb.ada/var_arr_attrs.exp: Likewise. - * gdb.ada/var_arr_typedef.exp: Likewise. - * gdb.ada/var_rec_arr.exp: Likewise. - * gdb.ada/variant-record.exp: Likewise. - * gdb.ada/variant.exp: Likewise. - * gdb.ada/variant_record_packed_array.exp: Likewise. - * gdb.ada/varsize_limit.exp: Likewise. - * gdb.ada/whatis_array_val.exp: Likewise. - * gdb.ada/widewide.exp: Likewise. - * gdb.ada/win_fu_syms.exp: Likewise. - -2020-08-12 Gary Benson - - * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label. - -2020-08-04 Andrew Burgess - - * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to - unset the array variable. - -2020-08-03 Tom de Vries - - PR symtab/26333 - * lib/dwarf.exp (DW_LNE_user): New proc. - * gdb.dwarf2/dw2-vendor-extended-opcode.c: New test. - * gdb.dwarf2/dw2-vendor-extended-opcode.exp: New file. - -2020-07-31 Kevin Buettner - - * gdb.base/coremaker2.c: Change all uses of 'unsigned long long' - to 'uintptr_t' - (inttypes.h): Include. - -2020-07-31 Kevin Buettner - - * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB. - (C5_24k): Delete. - (C5_8k, C5_64k, C5_256k): New macros. - (buf_ro): Allocate 256 KiB of initialized data. - -2020-07-30 Tankut Baris Aktemur - - * gdb.base/condbreak-bad.exp: Extend the test with scenarios - that attempt to overwrite an existing condition with a condition - that fails parsing and also with a condition that parses fine - but contains junk at the end. - -2020-07-30 Tankut Baris Aktemur - - * gdb.base/condbreak-bad.c: New test. - * gdb.base/condbreak-bad.exp: New file. - -2020-07-30 Tom de Vries - - * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor - out of ... - (GDBInfoModuleSymbols::check_entry): ... here. - (GDBInfoModuleSymbols::check_optional_entry): New proc. - * gdb.fortran/info-modules.exp: Use check_optional_entry for entries - related to __def_init_mod1_M1t1 / __vtype_mod1_M1t1 / __copy_mod1_M1t1. - -2020-07-30 Tom de Vries - - * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on - "__class_some_module_Number_t" optional. - -2020-07-29 Tom de Vries - - * lib/selftest-support.exp (selftest_setup): Allow breakpoint at - multiple locations. - -2020-07-29 Tom de Vries - - * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines - rather than function name. - -2020-07-28 Andrew Burgess - - PR symtab/26270: - * gdb.cp/disasm-func-name.cc: New file. - * gdb.cp/disasm-func-name.exp: New file. - -2020-07-28 Tom Tromey - - * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to - 'varval' location. - -2020-07-28 Andrew Burgess - - * gdb.python/py-unwind.py: Update to make use of a register - descriptor. - -2020-07-28 Andrew Burgess - - * gdb.python/py-arch-reg-names.exp: Add additional tests. - -2020-07-25 Andrew Burgess - - PR fortran/23051 - PR fortran/26139 - * gdb.fortran/class-allocatable-array.exp: New file. - * gdb.fortran/class-allocatable-array.f90: New file. - * gdb.fortran/pointer-to-pointer.exp: New file. - * gdb.fortran/pointer-to-pointer.f90: New file. - -2020-07-25 Tom de Vries - - PR symtab/26243 - * gdb.dwarf2/dw2-line-number-zero.c: New test. - * gdb.dwarf2/dw2-line-number-zero.exp: New file. - -2020-07-24 Tom de Vries - - PR testsuite/26293 - * gdb.ada/mi_prot.exp: Require gnatmake-8. - -2020-07-23 Pedro Alves - - * gdb.server/server-kill.exp (prepare): New, factored out from the - top level. - (kill_server): New. - (test_tstatus, test_unwind_nosyms, test_unwind_syms): New. - (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms. - -2020-07-23 Andrew Burgess - - * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file. - -2020-07-22 Sandra Loosemore - - * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags): - Initialize to empty string at top level. - (gdb_wrapper_init): Revert check for file existence on build. - Build the wrapper in its default place, not a build-specific - location. When host == build, make the pathname absolute. - (gdb_compile): Delete leftover declaration of - gdb_wrapper_initialized. Check gdb_wrapper_file being an empty - string instead of uninitialized. - -2020-07-22 Kevin Buettner - - * gdb.base/corefile2.exp: New file. - * gdb.base/coremaker2.exp: New file. - -2020-07-22 Kevin Buettner - - * gdb.base/coredump-filter.exp: Add second - non-Private-Shared-Anon-File test. - (test_disasm): Rename binfile for test which is expected - to fail. - -2020-07-22 Kevin Buettner - - * gdb.base/corefile.exp: Add test "accessing read-only mmapped - data in core file". - * gdb.base/coremaker.c (buf2ro): New global. - (mmapdata): Add a read-only mmap mapping. - -2020-07-22 Kevin Buettner - - PR corefiles/25631 - * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data): - New test. - * gdb.base/coremaker.c (buf3): New global. - (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE - flags. - -2020-07-22 Kevin Buettner - - * gdb.base/coremaker.c (filler_ro): New global constant. - -2020-07-22 Tom Tromey - - * gdb.ada/mi_prot.exp: New file. - * gdb.ada/mi_prot/pkg.adb: New file. - * gdb.ada/mi_prot/pkg.ads: New file. - * gdb.ada/mi_prot/prot.adb: New file. - -2020-07-22 Tankut Baris Aktemur - - * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that - loads two JITers. - -2020-07-21 Andrew Burgess - - * gdb.python/py-arch-reg-groups.exp: Additional tests. - -2020-07-21 Andrew Burgess - - * gdb.python/py-arch-reg-names.exp: Additional tests. - -2020-07-21 Tom de Vries - - * gdb.reverse/solib-precsave.exp: Handle additional "recommended - breakpoint locations". - * gdb.reverse/solib-reverse.exp: Same. - -2020-07-21 Tom de Vries - - * gdb.reverse/step-reverse.c (callee): Merge statements. - -2020-07-21 Tom de Vries - - * gdb.fortran/info-modules.exp (info module variables): Allow missing - line numbers for some variables. - -2020-07-21 Tom de Vries - - * gdb.opt/inline-locals.c (init_array): New func. - (func1): Use init_array. - * gdb.opt/inline-locals.exp: Update pattern. - -2020-07-21 Tom de Vries - - * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env - vars. Fix PATH and DUPLICATE errors. Cleanup whitespace. - -2020-07-20 Ludovic Courtès - - * gdb.guile/source2.scm: Add #f first argument to 'format'. - * gdb.guile/types-module.exp: Remove "ERROR:" from - regexps since Guile 3.0 no longer prints that. - -2020-07-20 Ludovic Courtès - - * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax - error regexp to match on Guile 2.2. - -2020-07-20 Gary Benson - - * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling - with clang. - -2020-07-20 Tom de Vries - - * gdb.threads/omp-par-scope.c (lock, lock2): New variable. - (omp_set_lock_in_order): New function. - (single_scope, multi_scope, nested_func, nested_parallel): Use - omp_set_lock_in_order and omp_unset_lock. - (main): Init and destroy lock and lock2. - -2020-07-20 Tom de Vries - - * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type. - -2020-07-20 Tom de Vries - - * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails. - -2020-07-17 Tom de Vries - - * gdb.base/valgrind-infcall-2.c: New test. - * gdb.base/valgrind-infcall-2.exp: New file. - * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup. - -2020-07-17 Tom de Vries - - * gdb.dlang/circular.c (found): Use found_label as label name. - * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name. - * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name. - * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range. - * gdb.dwarf2/ada-linkage-name.exp: Same. - * gdb.dwarf2/arr-subrange.exp: Same. - * gdb.dwarf2/atomic-type.exp: Same. - * gdb.dwarf2/comp-unit-lang.exp: Same. - * gdb.dwarf2/cpp-linkage-name.exp: Same. - * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same. - * gdb.dwarf2/dw2-lexical-block-bare.exp: Same. - * gdb.dwarf2/dw2-regno-invalid.exp: Same. - * gdb.dwarf2/implptr-64bit.exp: Same. - * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same. - * gdb.dwarf2/imported-unit-runto-main.exp: Same. - * gdb.dwarf2/imported-unit.exp: Same. - * gdb.dwarf2/main-subprogram.exp: Same. - * gdb.dwarf2/missing-type-name.exp: Same. - * gdb.dwarf2/nonvar-access.exp: Same. - * gdb.dwarf2/struct-with-sig.exp: Same. - * gdb.dwarf2/typedef-void-finish.exp: Same. - * gdb.dwarf2/void-type.exp: Same. - -2020-07-17 Tom de Vries - - * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop - src parameter. - * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls. - * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same. - * gdb.dwarf2/dw2-ifort-parameter.exp: Same. - * gdb.dwarf2/dw2-opt-structptr.exp: Same. - * gdb.dwarf2/dwz.exp: Same. - * gdb.dwarf2/implptr-optimized-out.exp: Same. - * gdb.dwarf2/implref-array.exp: Same. - * gdb.dwarf2/implref-const.exp: Same. - * gdb.dwarf2/implref-global.exp: Same. - * gdb.dwarf2/implref-struct.exp: Same. - * gdb.dwarf2/info-locals-optimized-out.exp: Same. - * gdb.dwarf2/opaque-type-lookup.exp: Same. - * gdb.dwarf2/var-access.exp: Same. - * gdb.dwarf2/varval.exp: Same. - * gdb.trace/entry-values.exp: Same. - -2020-07-17 Tom de Vries - - * lib/dwarf.exp (Dwarf::extern): Remove. - * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern. - * gdb.dlang/circular.exp: Same. - * gdb.dwarf2/comp-unit-lang.exp: Same. - * gdb.dwarf2/dw2-ifort-parameter.exp: Same. - * gdb.dwarf2/dw2-symtab-includes.exp: Same. - * gdb.dwarf2/dwz.exp: Same. - * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same. - * gdb.dwarf2/imported-unit-runto-main.exp: Same. - * gdb.dwarf2/imported-unit.exp: Same. - * gdb.dwarf2/opaque-type-lookup.exp: Same. - -2020-07-16 Sandra Loosemore - - * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host. - Use double quotes instead of single quotes. - -2020-07-16 Caroline Tice - - * gdb.dwarf2/dw5-rnglist-test.cc: New file. - * gdb.dwarf2/dw5-rnglist-test.exp: New file. - -2020-07-16 Tom de Vries - - * lib/dwarf.exp (program): Initialize _line. - (DW_LNE_end_sequence): Reinitialize _line. - (DW_LNS_advance_line): Update _line. - (line): New proc. - * gdb.dwarf2/dw2-inline-many-frames.exp: Use line. - * gdb.dwarf2/dw2-inline-small-func.exp: Same. - * gdb.dwarf2/dw2-inline-stepping.exp: Same. - * gdb.dwarf2/dw2-is-stmt-2.exp: Same. - * gdb.dwarf2/dw2-is-stmt.exp: Same. - * gdb.dwarf2/dw2-ranges-func.exp: Same. - -2020-07-15 Andrew Burgess - - * gdb.fortran/ptype-on-functions.exp: Make the result pattern more - generic. - -2020-07-15 Tom de Vries - - * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if - is_amd64_regs_target. - -2020-07-15 Andrew Burgess - - * gdb.fortran/ptype-on-functions.exp: Add more tests. - * gdb.fortran/ptype-on-functions.f90: Likewise. - -2020-07-14 Simon Marchi - - * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid - values in documentation for addr_size to 4 and 8. - -2020-07-14 Andrew Burgess - - * gdb.arch/amd64-osabi.exp: Update. - * gdb.arch/arm-disassembler-options.exp: Update. - * gdb.arch/powerpc-disassembler-options.exp: Update. - * gdb.arch/ppc64-symtab-cordic.exp: Update. - * gdb.arch/s390-disassembler-options.exp: Update. - * gdb.base/all-architectures.exp.tcl: Update. - * gdb.base/attach-pie-noexec.exp: Update. - * gdb.base/catch-syscall.exp: Update. - * gdb.xml/tdesc-arch.exp: Update. - -2020-07-14 Tom de Vries - - * gdb.threads/clone-new-thread-event.c (gettid): Rename to ... - (local_gettid): ... this. - (fn): Update. - -2020-07-13 Sandra Loosemore - - * gdb.base/info_sources.exp: Skip directory match tests on - remote hosts. - -2020-07-13 Gary Benson - - * gdb.base/savedregs.exp (caller): Use parentheses to - make expected expression evaluation ordering explicit. - -2020-07-13 Gary Benson - - * gdb.arch/i386-sse.c (have_sse) : Make unsigned. - -2020-07-13 Gary Benson - - * gdb.base/bigcore.c (main): Use a volatile pointer when - attempting to trigger a SIGSEGV. - * gdb.base/gcore-relro-pie.c (break_here): Likewise. - * gdb.base/gcore-tls-pie.c (break_here): Likewise. - * gdb.base/savedregs.c (thrower): Likewise. - * gdb.mi/mi-syn-frame.c (bar): Likewise. - -2020-07-13 Gary Benson - - * gdb.base/vla-datatypes.c (vla_factory): Factor out sections - defining and using VLA structure fields into... - * gdb.base/vla-struct-fields.c: New file. - * gdb.base/vla-datatypes.exp: Factor out VLA structure field - tests into... - * gdb.base/vla-struct-fields.exp: New file. - -2020-07-13 Tom de Vries - - * lib/gdb.exp (have_fuse_ld_gold): New caching proc. - * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold. - * gdb.base/gold-gdb-index.exp: Same. - * gdb.base/morestack.exp: Same. - -2020-07-11 Daniel Xu - - PR rust/26121 - * gdb.rust/modules.rs: Prevent linker from discarding test - symbol. - -2020-07-10 Pedro Alves - - PR gdb/26199 - * gdb.multi/multi-target.c (exit_thread): New. - (thread_start): Break loop if EXIT_THREAD. - * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc. - (top level) Call test_no_resumed. - -2020-07-08 Tom Tromey - - * gdb.ada/catch_ex/foo.adb: Pass string to raise. - * gdb.ada/catch_ex.exp: Examine catchpoint text. - -2020-07-06 Andrew Burgess - - PR python/22748 - * gdb.opt/inline-frame-tailcall.c: New file. - * gdb.opt/inline-frame-tailcall.exp: New file. - * gdb.python/py-unwind-inline.c: New file. - * gdb.python/py-unwind-inline.exp: New file. - * gdb.python/py-unwind-inline.py: New file. - -2020-07-06 Andrew Burgess - - * gdb.python/py-arch-reg-groups.exp: New file. - -2020-07-06 Andrew Burgess - - * gdb.python/py-arch-reg-names.exp: New file. - -2020-07-06 Andrew Burgess - - * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for - gdb.PendingFrame.architecture method. - -2020-07-06 Tom de Vries - - * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order. - -2020-07-03 Pedro Alves - - * gdb.base/structs2.c (main): Adjust second parem_reg call to - explicitly write negative numbers. - * gdb.base/structs2.exp: Adjust expected output. - -2020-07-03 Pedro Alves - - * gdb.base/charset.c (init_string): Change all char parameters to - unsigned char parameters. - -2020-07-03 Pedro Alves - - * gdb.base/call-sc.exp (start_scalars_test): Use - prepare_for_testing and don't try compiling with -DNO_PROTOTYPES. - * gdb.base/overlays.c: Remove references to PARAMS. - * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references. - * gdb.base/reread.exp: Don't set 'prototypes' global. - * gdb.base/structs.exp (start_structs_test): Use - prepare_for_testing and don't try compiling with -DNO_PROTOTYPES. - * gdb.base/structs2.exp: Don't set 'prototypes' global. Use - prepare_for_testing and don't try compiling with -DNO_PROTOTYPES. - Don't issue "set width 0". Remove gdb_stop_suppressing_tests - call. - * gdb.base/varargs.exp: Don't set 'prototypes' global. - -2020-07-03 Pedro Alves - - * gdb.base/m32rovly.c: Delete. - * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__. - -2020-06-30 Philippe Waroquiers - - * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead - of gdb_py_test_multiple. - * gdb.python/py-cmd.exp: Likewise. - * gdb.python/py-events.exp: Likewise. - * gdb.python/py-function.exp: Likewise. - * gdb.python/py-inferior.exp: Likewise. - * gdb.python/py-infthread.exp: Likewise. - * gdb.python/py-linetable.exp: Likewise. - * gdb.python/py-parameter.exp: Likewise. - * gdb.python/py-value.exp: Likewise. - -2020-06-30 Tom de Vries - - PR testsuite/26175 - * lib/future.exp (gdb_default_target_compile): Detect and handle - early_flags. - -2020-06-29 Simon Marchi - - * boards/simavr.exp (gdb_load): Catch errors when closing - previous connection. Close connection, wait for process and - unset simavr_spawn_id on failure. - -2020-06-29 Tom de Vries - - * lib/gdb.exp (unknown): Make test-case unresolved. - -2020-06-29 Tom de Vries - - PR gdb/25475 - * gdb.server/solib-list.exp: Verify that the symbol reload - confirmation question is asked. - -2020-06-26 Philippe Waroquiers - - * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp, - have a input seq nr in each pass message. - * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp. - * lib/gdb-python.exp (gdb_py_test_multiple): Remove. - * gdb.python/python.exp: Make test names unique, - use gdb_test_multiline instead of gdb_py_test_multiple, - use $gdb_test_name. - * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name - -2020-06-26 Nick Alcock - - * configure.ac: Add --enable-libctf. - * aclocal.m4: sinclude ../config/enable.m4. - * Makefile.in (site.exp): Add enable_libctf to site.exp. - * lib/gdb.exp (skip_ctf_tests): Use it. - * gdb.base/ctf-constvars.exp: Error message tweak. - * gdb.base/ctf-ptype.exp: Likewise. - * configure: Regenerate. - -2020-06-26 Gary Benson - - * gdb.cp/try_catch.cc: Include string.h. - (main): Replace comparison against string literal with - strcmp, avoiding build failure with -Wstring-compare. - Add "marker test-complete". - * gdb.cp/try_catch.exp: Run the test to the above marker, - then verify that the value of "test" is still true. - -2020-06-25 Andrew Burgess - - * gdb.arch/riscv-tdesc-regs.exp: New test cases. - -2020-06-25 Andrew Burgess - - * gdb.arch/riscv-tdesc-regs.exp: Extend test case. - -2020-06-25 Andrew Burgess - - * gdb.arch/riscv-tdesc-loading-01.xml: New file. - * gdb.arch/riscv-tdesc-loading-02.xml: New file. - * gdb.arch/riscv-tdesc-loading-03.xml: New file. - * gdb.arch/riscv-tdesc-loading-04.xml: New file. - * gdb.arch/riscv-tdesc-loading.exp: New file. - -2020-06-25 Andrew Burgess - - * gdb.arch/riscv-tdesc-regs.exp: Extend test case. - -2020-06-25 Andrew Burgess - - * gdb.arch/riscv-tdesc-regs-32.xml: New file. - * gdb.arch/riscv-tdesc-regs-64.xml: New file. - * gdb.arch/riscv-tdesc-regs.c: New file. - * gdb.arch/riscv-tdesc-regs.exp: New file. - -2020-06-24 Pedro Alves - - * gdb.arch/amd64-entry-value-paramref.exp: Use - prepare_for_testing_full and don't pass "c++" for the .S file - build spec. - * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with - $options, since it's an assembly file. Remove -Wno-deprecated. - * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when - compiling C++ programs. - -2020-06-24 Pedro Alves - - * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with - Clang, add "-Wno-unknown-warning-option" to the options. - -2020-06-23 Andrew Burgess - - * gdb.xml/tdesc-reload.c: New file. - * gdb.xml/tdesc-reload.exp: New file. - * gdb.xml/maint-xml-dump-01.xml: New file. - * gdb.xml/maint-xml-dump-02.xml: New file. - * gdb.xml/maint-xml-dump.exp: New file. - -2020-06-23 Sandra Loosemore - - * lib/completion-support.exp (test_gdb_completion_offers_commands): - Adjust for omitted commands when TUI is disabled. - -2020-06-23 Gary Benson - Pedro Alves - - * gdb.cp/namespace.cc: Improve -Wunused-value fix. - * gdb.cp/nsimport.cc: Likewise. - * gdb.cp/nsnested.cc: Likewise. - * gdb.cp/nsnoimports.cc: Likewise. - * gdb.cp/nsusing.cc: Likewise. - * gdb.cp/smartp.cc: Likewise. - * gdb.python/py-pp-integral.c: Likewise. - * gdb.python/py-pp-re-notag.c: Likewise. - -2020-06-23 Gary Benson - - * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value. - * gdb.cp/nsimport.cc: Likewise. - * gdb.cp/nsnested.cc: Likewise. - * gdb.cp/nsnoimports.cc: Likewise. - * gdb.cp/nsusing.cc: Likewise. - * gdb.cp/smartp.cc: Likewise. - * gdb.python/py-pp-integral.c: Likewise. - * gdb.python/py-pp-re-notag.c: Likewise. - -2020-06-22 Philippe Waroquiers - - * gdb.base/default-args.exp: New test. - * gdb.base/default-args.c: New file. - * gdb.base/alias.exp: Update expected error msg for alias foo=bar. - * gdb.base/default.exp: Update to new help text. - * gdb.base/help.exp: Likewise. - * gdb.base/page.exp: Likewise. - * gdb.base/style.exp: Likewise. - * gdb.guile/guile.exp: Likewise. - * gdb.python/python.exp: Likewise. - -2020-06-22 Sandra Loosemore - - * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on - remote host. Fix search path syntax on Windows host. - -2020-06-21 Philippe Waroquiers - - * gdb.base/attach.exp: Test priority of 'exec-file' changed - over 'exec-file-mismatch'. - * gdb.base/attach.c: Mark should_exit volatile. - * gdb.base/attach2.c: Likewise. Add a comment explaining - why the sleep cannot be big. - * gdb.base/attach3.c: New file. - -2020-06-20 Sandra Loosemore - - * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory - prefix optional. - -2020-06-20 Sandra Loosemore - - * gdb.base/list-missing-source.exp: Correct $srcfile manipulation - for remote host. - -2020-06-19 Sandra Loosemore - Hafiz Abid Qadeer - - * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of - file sent to remote host. - (top level): Allow int32_t as type of 32-bit register. - -2020-06-19 Tom de Vries - - * lib/gdb.exp (gdb_note): New proc. - * lib/future.exp (gdb_default_target_compile_1): Factor out of ... - (gdb_default_target_compile): ... here. Only call - gdb_default_target_compile_1 if use_gdb_compile() is set. - (use_gdb_compile): Change to array. - (toplevel): Update sets of use_gdb_compile to specify language. - Warn about default_target_compile override. Store dejagnu's version - of default_target_compile in dejagnu_default_target_compile. - -2020-06-18 Tom de Vries - - * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ... - (default_gdb_init): ... here. - -2020-06-17 Sandra Loosemore - - Fix TUI support checks in gdb.tui tests. - - * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't - just say UNSUPPORTED. - * gdb.tui/corefile-run.exp: Likewise. - * gdb.tui/empty.exp: Likewise. - * gdb.tui/list-before.exp: Likewise. - * gdb.tui/list.exp: Likewise. - * gdb.tui/main.exp: Likewise. - * gdb.tui/regs.exp: Likewise. - * gdb.tui/resize.exp: Likewise. - * gdb.tui/tui-layout-asm-short-prog.exp: Likewise. - * gdb.tui/tui-layout-asm.exp: Likewise. - * gdb.tui/tui-missing-src.exp: Likewise. - * gdb.tui/winheight.exp: Likewise. - * gdb.tui/new-layout.exp: Likewise. Also move check earlier. - -2020-06-17 Sandra Loosemore - - Fix TCL error in gdb.python/py-format-string.exp. - - * gdb.python/py-format-string.exp: Move test for python support - earlier, out of function body. - -2020-06-15 Simon Marchi - - * gdb.base/index-cache-load-twice.c: New. - * gdb.base/index-cache-load-twice.exp: New. - -2020-06-17 Keith Seitz - - * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS - when executing "gdb --configuration". - -2020-06-17 Tom de Vries - - * lib/gdb.exp (gdb_tcl_unknown): New proc. - (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override - conditional on presence of gdb_tcl_unknown. - (gdb_finish): Make override undo conditional on presence of - gdb_tcl_unknown. - -2020-06-16 Tom Tromey - - * gdb.python/tui-window.py (failwin): New function. Register it - as a TUI window type. - * gdb.python/tui-window.exp: Create new "fail" layout. Test it. - -2020-06-16 Gary Benson - - * gdb.python/py-nested-maps.c (create_map): Add missing return - value. - (create_map_map): Likewise. - -2020-06-15 Tankut Baris Aktemur - - * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename - variable. - * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"), - and use the already-defined 'options' variable. - -2020-06-12 Andrew Burgess - Tom de Vries - - * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global. - (gdb_persistent_global, gdb_persistent_global_no_decl): New proc. - (gdb_setup_known_globals): New proc. - (gdb_cleanup_globals): New proc. - * lib/gdb.exp (load_lib): New override proc. - (gdb_stdin_log_init): Set var in_file as persistent global. - * lib/pascal.exp (gdb_stdin_log_init): Set vars - pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and - fpc_compiler as persistent global. - -2020-06-12 Tom de Vries - - * lib/tuiterm.exp (spawn): Rename to ... - (tui_spawn): ... this. - (toplevel): Move rename of spawn ... - (gdb_init_tuiterm): ... here. New proc. - (gdb_finish_tuiterm): New proc. - * lib/gdb.exp (gdb_finish_hooks): New global var. - (gdb_finish): Handle gdb_finish_hooks. - (tuiterm_env): New proc. - * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with - tuiterm_env. - * gdb.tui/basic.exp: Same. - * gdb.tui/corefile-run.exp: Same. - * gdb.tui/empty.exp: Same. - * gdb.tui/list-before.exp: Same. - * gdb.tui/list.exp: Same. - * gdb.tui/main.exp: Same. - * gdb.tui/new-layout.exp: Same. - * gdb.tui/regs.exp: Same. - * gdb.tui/resize.exp: Same. - * gdb.tui/tui-layout-asm-short-prog.exp: Same. - * gdb.tui/tui-layout-asm.exp: Same. - * gdb.tui/tui-missing-src.exp: Same. - * gdb.tui/winheight.exp: Same. - -2020-06-12 Tom de Vries - - PR testsuite/26110 - * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown. - (gdb_finish): Reinstall dejagnu's override of ::unknown. - -2020-06-11 Tom Tromey - - PR gdb/18318: - * gdb.base/printcmds.exp (test_float_accepted): Add more hex - floating point tests. - -2020-06-11 Keith Seitz - - PR gdb/21356 - * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct - vla_struct. - Add new struct vla_typedef and union vla_typedef_union and - corresponding instantiation objects. - Initialize new objects. - * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object - and vla_typedef_union_object. - Fixup type for vla_struct_object. - -2020-06-11 Tom de Vries - - * lib/gdb.exp (with_override): New proc, factored out of ... - * gdb.base/dbx.exp: ... here. Use with_override and save_vars. - -2020-06-10 Tom de Vries - - * gdb.ada/ptype_union.exp: Remove PR24713 workaround. - -2020-06-09 Simon Marchi - - * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix - parameter, update callers. - -2020-06-04 Simon Marchi - - * gdb.dwarf2/share-psymtabs-bt.exp: New file. - * gdb.dwarf2/share-psymtabs-bt.c: New file. - * gdb.dwarf2/share-psymtabs-bt-2.c: New file. - -2020-06-04 Tom de Vries - - * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages. - -2020-06-04 Tom de Vries - - * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by - exp_continue. - -2020-06-04 Tom de Vries - - * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail. - -2020-06-03 Tom de Vries - - PR symtab/26046 - * gdb.cp/breakpoint-locs-2.cc: New test. - * gdb.cp/breakpoint-locs.cc: New test. - * gdb.cp/breakpoint-locs.exp: New file. - * gdb.cp/breakpoint-locs.h: New test. - -2020-06-03 Tom de Vries - - PR testsuite/25609 - * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on - value of global verbose. - * gdb.base/jit-elf.exp: Same. - * gdb.base/jit-reader.exp: Same. - -2020-06-02 Tom de Vries - - * gdb.dwarf2/multidictionary.exp: Don't use - gdb_spawn_with_cmdline_opts. - -2020-06-01 Andrew Burgess - - * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the - use_header case. - * gdb.dwarf2/dw2-inline-header-1.exp: New file. - * gdb.dwarf2/dw2-inline-header-2.exp: New file. - * gdb.dwarf2/dw2-inline-header-3.exp: New file. - * gdb.dwarf2/dw2-inline-header-lbls.c: New file. - * gdb.dwarf2/dw2-inline-header.c: New file. - * gdb.dwarf2/dw2-inline-header.h: New file. - -2020-05-30 Pedro Alves - - * gdb.linespec/cp-replace-typedefs-ns-template.cc: New. - * gdb.linespec/cp-replace-typedefs-ns-template.exp: New. - -2020-05-29 Gary Benson - - * gdb.compile/compile-cplus.exp (additional_flags): Also - set when building with clang. - (additional_flags, srcfilesoptions): Pass -Wno-deprecated - when building with clang. - -2020-05-29 Gary Benson - - * gdb.arch/i386-avx.exp (additional_flags): Also set when - building with clang. - * gdb.arch/i386-sse.exp (additional_flags): Likewise. - -2020-05-29 Gary Benson - - * gdb.cp/koenig.exp (prepare_for_testing): Add - additional_flags=-Wno-unused-comparison. - * gdb.cp/operator.exp (prepare_for_testing): Likewise. - -2020-05-28 Gary Benson - - * gdb.base/sigaltstack.c (catcher): Add default case to switch - statement. - -2020-05-28 Gary Benson - - * gdb.cp/classes.exp (prepare_for_testing): Add - additional_flags=-Wno-deprecated-register. - * gdb.cp/inherit.exp (prepare_for_testing): Likewise. - * gdb.cp/misc.exp: Likewise. - -2020-05-28 Gary Benson - - * gdb.linespec/cpls-ops.cc (dummy): New static global. - (test_op_new::operator new): Add return statement. - (test_op_new_array::operator new[]): Likewise. - -2020-05-27 Pedro Alves - - * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used - check. Use test_gdb_complete_unique instead of - test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use - test_gdb_complete_multiple instead of - test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple. - -2020-05-27 Luis Machado - - * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names. - * gdb.arch/aarch64-tagged-pointer.exp: Likewise. - * gdb.arch/arm-disassembler-options.exp: Likewise. - * gdb.arch/arm-disp-step.exp: Likewise. - * gdb.arch/thumb-prologue.exp: Likewise. - * gdb.base/async.exp: Likewise. - * gdb.base/auxv.exp: Likewise. - * gdb.base/complex-parts.exp: Likewise. - * gdb.base/ena-dis-br.exp: Likewise. - * gdb.base/foll-exec.exp: Likewise. - * gdb.base/permissions.exp: Likewise. - * gdb.base/relocate.exp: Likewise. - * gdb.base/return2.exp: Likewise. - * gdb.base/sigbpt.exp: Likewise. - * gdb.base/siginfo-obj.exp: Likewise. - * gdb.cp/converts.exp: Likewise. - * gdb.cp/exceptprint.exp: Likewise. - * gdb.cp/inherit.exp: Likewise. - * gdb.cp/nsnoimports.exp: Likewise. - * gdb.cp/virtbase2.exp: Likewise. - * gdb.mi/mi-var-cmd.exp: Likewise. - * gdb.mi/var-cmd.c: Likewise. - -2020-05-26 Tom Tromey - - * gdb.ada/arr_acc_idx_w_gap.exp: Add tests. - -2020-05-26 Tom Tromey - - * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests. - * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New - type. - * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New - variable. - -2020-05-26 Christian Biesinger - - * Makefile.in: Use = instead of == for the test command - for portability. - -2020-05-26 Tom de Vries - - * gdb.base/gold-gdb-index-2.c: New test. - * gdb.base/gold-gdb-index.c: New test. - * gdb.base/gold-gdb-index.exp: New file. - * gdb.base/gold-gdb-index.h: New test. - -2020-05-25 Tom de Vries - - * boards/gold-gdb-index.exp: New file. - -2020-05-25 Simon Marchi - - * boards/simavr.exp: New file. - -2020-05-25 Simon Marchi - - * lib/gdb.exp (gdb_run_cmd): Return success or failure. - * gdb.base/inferior-args.exp: New file. - * gdb.base/inferior-args.c: New file. - -2020-05-25 Simon Marchi - - * lib/gdb.exp (gdb_run_cmd): Change argument from args to - inferior_args. Pass it to gdb_reload. - (gdb_start_cmd, gdb_starti_cmd): Change argument from args to - inferior_args. - (gdb_reload): Add inferior_args argument. - * config/gdbserver.exp (gdb_reload): Add inferior_args argument, - pass it to gdbserver_run. - * boards/native-gdbserver.exp: Do not set noargs. - * boards/native-extended-gdbserver.exp (gdb_reload): Add - inferior_args argument. - * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise. - * gdb.base/a2-run.exp: Check for use_gdb_stub. - * gdb.base/args.exp: Likewise. - -2020-05-25 Tom de Vries - - * lib/gdb.exp (exec_is_pie): Add comment. - -2020-05-25 Tom de Vries - - * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f - instead of $binfile in the untested message. - -2020-05-25 Tom de Vries - - PR testsuite/26031 - * lib/gdb.exp (exec_is_pie): Test readelf -h output. - -2020-05-25 Tom de Vries - - * boards/gold.exp: New file. - -2020-05-23 Tom Tromey - - * gdb.base/style.exp: Remove completion styling test. - * lib/gdb-utils.exp (style): Remove completion styles. - -2020-05-23 Tom Tromey - - * gdb.base/style.exp: Add completion styling test. - * lib/gdb-utils.exp (style): Add completion styles. - -2020-05-22 Andrew Burgess - - * gdb.base/annota1.exp: Update expected results. - * gdb.cp/annota2.exp: Update expected results, remove duplicate - test name. - * gdb.cp/annota3.exp: Update expected results. - -2020-05-20 Simon Marchi - - PR gdb/26016 - * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val - against MAP_FAILED. - * gdb.base/coremaker.c (mmapdata): Likewise. - * gdb.base/jit-reader-host.c (main): Likewise. - * gdb.base/sym-file-loader.c (load): Likewise. - (load_shlib): Likewise. - -2020-05-20 Tom Tromey - - * gdb.ada/array_char_idx.exp: Recognize initialized array. - -2020-05-20 Tom de Vries - - PR symtab/25833 - * gdb.base/with-mf-inc.c: New test. - * gdb.base/with-mf-main.c: New test. - * gdb.base/with-mf.exp: New file. - -2020-05-19 Tom Tromey - - * gdb.rust/simple.exp: Restore missing test result. - -2020-05-19 Tom de Vries - - * gdb.base/gdb-caching-proc.exp: Fix typo. - -2020-05-19 Tom Tromey - - * gdb.rust/simple.exp: Add some test descriptions. - (test_one_slice): Use with_test_prefix. - -2020-05-18 Tom de Vries - - * gdb.base/gdb-caching-proc.exp: Use with_test_prefix. - -2020-05-17 Pedro Alves - - PR gdb/25741 - * gdb.base/hw-sw-break-same-address.exp: New file. - -2020-05-16 Pedro Alves - - * gdb.multi/multi-re-run.exp (test_re_run): Switch - LAST_LOADED_FILE accordingly. - -2020-05-15 Philippe Waroquiers - - * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases. - -2020-05-15 Philippe Waroquiers - - * gdb.base/help.exp: Test apropos and help for commands - having aliases. Fixed comments not starting with an - upper-case letter or not finishing with a dot. - -2020-05-15 Philippe Waroquiers - - * gdb.base/alias.exp: Update help output check. - -2020-05-15 Philippe Waroquiers - - * gdb.base/default.exp: Update output following fixes. - -2020-05-15 Philippe Waroquiers - - * gdb.base/alias.exp: Test aliases starting with a prefix of - another alias. - -2020-05-15 Gary Benson - - * gdb.base/info-os.c (main): Add return statement. - * gdb.base/info_minsym.c (minsym_fun): Likewise. - * gdb.base/large-frame-2.c (func): Likewise. - * gdb.base/pr10179-a.c (foo1, bar1): Likewise. - * gdb.base/pr10179-b.c (foo2): Likewise. - * gdb.base/valgrind-disp-step.c (foo): Likewise. - * gdb.base/watch-cond.c (func): Likewise. - * gdb.multi/goodbye.c (verylongfun): Likewise. - * gdb.multi/hello.c (commonfun): Likewise. - * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise. - * gdb.threads/fork-plus-threads.c (thread_func): Likewise. - * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks): - Likewise. - * gdb.threads/hand-call-new-thread.c (foo): Likewise. - * gdb.threads/interrupt-while-step-over.c (child_function): - Likewise. - * gdb.trace/actions-changed.c (end): Likewise. - -2020-05-15 Gary Benson - - * gdb.opencl/callfuncs.exp: Report when test skipped. - * gdb.opencl/convs_casts.exp: Likewise. - * gdb.opencl/datatypes.exp: Likewise. - * gdb.opencl/operators.exp: Likewise. - * gdb.opencl/vec_comps.exp: Likewise. - -2020-05-15 Tom de Vries - - * gdb.base/align.exp.in: Rename to ... - * gdb.base/align.exp.tcl: ... this. - * gdb.base/align-c++.exp: Update. - * gdb.base/align-c.exp: Update. - * gdb.base/all-architectures.exp.in: Rename to ... - * gdb.base/all-architectures.exp: ... this. - * gdb.base/all-architectures-0.exp: Update. - * gdb.base/all-architectures-1.exp: Update. - * gdb.base/all-architectures-2.exp: Update. - * gdb.base/all-architectures-3.exp: Update. - * gdb.base/all-architectures-4.exp: Update. - * gdb.base/all-architectures-5.exp: Update. - * gdb.base/all-architectures-6.exp: Update. - * gdb.base/all-architectures-7.exp: Update. - * gdb.base/infcall-nested-structs.exp.in: Rename to ... - * gdb.base/infcall-nested-structs.exp.tcl: ... this. - * gdb.base/infcall-nested-structs-c++.exp: Update. - * gdb.base/infcall-nested-structs-c.exp: Update. - * gdb.base/info-types.exp.in: Rename to ... - * gdb.base/info-types.exp.tcl: ... this. - * gdb.base/info-types-c++.exp: Update. - * gdb.base/info-types-c.exp: Update. - * gdb.base/max-depth.exp.in: Rename to ... - * gdb.base/max-depth.exp.tcl: ... this. - * gdb.base/max-depth-c++.exp: Update. - * gdb.base/max-depth-c.exp: Update. - * gdb.cp/cpexprs.exp.in: Rename to ... - * gdb.cp/cpexprs.exp.tcl: ... this. - * gdb.cp/cpexprs-debug-types.exp: Update. - * gdb.cp/cpexprs.exp: Update. - * gdb.cp/infcall-nodebug.exp.in: Rename to ... - * gdb.cp/infcall-nodebug.exp.tcl: ... this. - * gdb.cp/infcall-nodebug-c++-d0.exp: Update. - * gdb.cp/infcall-nodebug-c++-d1.exp: Update. - * gdb.cp/infcall-nodebug-c-d0.exp: Update. - * gdb.cp/infcall-nodebug-c-d1.exp: Update. - * gdb.dwarf2/clang-debug-names.exp.in: Rename to ... - * gdb.dwarf2/clang-debug-names.exp.tcl: ... this. - * gdb.dwarf2/clang-debug-names-2.exp: Update. - * gdb.dwarf2/clang-debug-names.exp: Update. - -2020-05-15 Andrew Burgess - - * lib/check-test-names.exp: Remove code that prevents this file - loading when tests are run in parallel. - -2020-05-15 Pedro Alves - - * gdb.multi/multi-kill.exp (start_inferior): Remove - 'testpid' parameter. Refer to namespace variable directly. - (testpid): Declare as namespace variable. - -2020-05-15 Pedro Alves - - * gdb.multi/multi-kill.exp: Wrap in namespace. - (start_inferior): Add TESTPID parameter. Use it instead of the - testpid global. - (top level): Define empty TESTPID array, and pass it down to - start_inferior. - -2020-05-14 Tom de Vries - - * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior - output. - -2020-05-14 Tom de Vries - - * gdb.base/align.exp: Split into ... - * gdb.base/align.exp.in: ... - * gdb.base/align-c++.exp: ... - * gdb.base/align-c.exp: ... these. - * gdb.base/infcall-nested-structs.exp: Split into ... - * gdb.base/infcall-nested-structs.exp.in: ... - * gdb.base/infcall-nested-structs-c++.exp: ... - * gdb.base/infcall-nested-structs-c.exp: ... these. - * gdb.base/info-types.exp: Split into ... - * gdb.base/info-types.exp.in: ... - * gdb.base/info-types-c++.exp: ... - * gdb.base/info-types-c.exp: ... these. - * gdb.base/max-depth.exp: Split into ... - * gdb.base/max-depth.exp.in: ... - * gdb.base/max-depth-c++.exp: ... - * gdb.base/max-depth-c.exp: ... these. - * gdb.cp/infcall-nodebug.exp: Split into ... - * gdb.cp/infcall-nodebug.exp.in: ... - * gdb.cp/infcall-nodebug-c++-d0.exp: ... - * gdb.cp/infcall-nodebug-c++-d1.exp: ... - * gdb.cp/infcall-nodebug-c-d0.exp: ... - * gdb.cp/infcall-nodebug-c-d1.exp: ... these. - -2020-05-14 Tankut Baris Aktemur - Pedro Alves - - * gdb.multi/multi-exit.c: New file. - * gdb.multi/multi-exit.exp: New file. - * gdb.multi/multi-kill.c: New file. - * gdb.multi/multi-kill.exp: New file. - -2020-05-14 Tankut Baris Aktemur - - * gdb.base/annota1.exp: Update the expected output. - * gdb.cp/annota2.exp: Ditto. - -2020-05-12 Andrew Burgess - - * lib/check-test-names.exp: Disable when testing is being run in - parallel. - -2020-05-12 Tom de Vries - - * gdb.base/jit-elf.exp: Fix string concat. - -2020-05-12 Tom de Vries - - * lib/jit-elf-helpers.exp: Don't use undefined variables in untested - messages. - -2020-05-12 Tom de Vries - - * gdb.multi/multi-term-settings.exp: Use with_test_prefix. - -2020-05-12 Tom de Vries - - * gdb.ada/catch_ex.exp: Use with_test_prefix. - * gdb.ada/mi_catch_ex.exp: Same. - * gdb.ada/mi_catch_ex_hand.exp: Same. - -2020-05-12 Tom de Vries - - * gdb.fortran/complex.exp: Use with_test_prefix. - -2020-05-12 Tom de Vries - - * gdb.trace/passcount.exp: Fix test-names. - -2020-05-12 Tom de Vries - - * gdb.pascal/gdb11492.exp: Use with_test_prefix. - -2020-05-12 Tom de Vries - - * gdb.gdb/complaints.exp: Use with_test_prefix. - * gdb.xml/tdesc-regs.exp: Same. - * gdb.opt/inline-locals.exp: Fix test name. - -2020-05-12 Tom de Vries - - * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix. - * gdb.dwarf2/dw2-bad-parameter-type.exp: Same. - * gdb.dwarf2/implref-struct.exp: Same. - * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type. - * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test. - -2020-05-11 Simon Marchi - - * gdb.base/jit-so.exp (one_jit_test): Change test name. - -2020-05-11 Andrew Burgess - - * lib/check-test-names.exp (all_test_names): New module variable. - (counts): Add 'duplicates' field. - (_check_duplicates): New procedure. - (check): Also check for duplicates. - (do_log_summary): Print duplicates count. - (do_reset_vars): Reset counter for duplicate test names, and - discard all know test names. - -2020-05-11 Andrew Burgess - - * lib/gdb.exp: Include check-test-names.exp library. - * lib/check-test-names.exp: New file. - -2020-05-11 Tom de Vries - - * gdb.ada/packed_tagged.exp: Change kfail into xfail. - -2020-05-11 Keith Seitz - - * gdb.ada/attr_ref_and_charlit.exp: Fix typo. - -2020-05-11 Tom de Vries - - * gdb.cp/cpexprs.exp: Move everything except flags setting ... - * gdb.cp/cpexprs.exp.in: .. here. - * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of - cpexprs.exp. - -2020-05-11 Keith Seitz - - * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses - test names. - * gdb.ada/arrayptr.exp: Likewise. - * gdb.ada/assign_arr.exp: Likewise. - * gdb.ada/attr_ref_and_charlit.exp: Likewise. - * gdb.ada/bp_on_var.exp: Likewise. - * gdb.ada/call_pn.exp: Likewise. - * gdb.ada/complete.exp: Likewise. - * gdb.ada/fun_overload_menu.exp: Likewise. - * gdb.ada/funcall_param.exp: Likewise. - * gdb.ada/funcall_ref.exp: Likewise. - * gdb.ada/packed_array_assign.exp: Likewise. - * gdb.ada/same_component_name.exp: Likewise. - * gdb.ada/type_coercion.exp: Likewise. - * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise. - * gdb.ada/variant_record_packed_array.exp: Likewise. - -2020-05-11 Tom de Vries - - PR symtab/25941 - * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored - out of ... - * gdb.dwarf2/clang-debug-names.exp: ... here. - * gdb.dwarf2/clang-debug-names-2.exp: New file. Include - clang-debug-names.exp.in. - * gdb.dwarf2/clang-debug-names-2-foo.c: New test. - * gdb.dwarf2/clang-debug-names-2.c: New test. - -2020-05-10 Alok Kumar Sharma - - * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_, - (fortran_runto_main): New Proc, fortran version of runto_main. - * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_ - * gdb.fortran/array-bounds.exp: Likewise. - * gdb.fortran/array-slices.exp: Likewise. - * gdb.fortran/block-data.exp: Likewise. - * gdb.fortran/charset.exp: Likewise. - * gdb.fortran/common-block.exp: Likewise. - * gdb.fortran/complex.exp: Likewise. - * gdb.fortran/derived-type-function.exp: Likewise. - * gdb.fortran/derived-type.exp: Likewise. - * gdb.fortran/info-modules.exp: Likewise. - * gdb.fortran/info-types.exp: Likewise. - * gdb.fortran/intrinsics.exp: Likewise. - * gdb.fortran/library-module.exp: Likewise. - * gdb.fortran/logical.exp: Likewise. - * gdb.fortran/max-depth.exp: Likewise. - * gdb.fortran/module.exp: Likewise. - * gdb.fortran/multi-dim.exp: Likewise. - * gdb.fortran/nested-funcs.exp: Likewise. - * gdb.fortran/print-formatted.exp: Likewise. - * gdb.fortran/print_type.exp: Likewise. - * gdb.fortran/printing-types.exp: Likewise. - * gdb.fortran/ptr-indentation.exp: Likewise. - * gdb.fortran/ptype-on-functions.exp: Likewise. - * gdb.fortran/subarray.exp: Likewise. - * gdb.fortran/vla-alloc-assoc.exp: Likewise. - * gdb.fortran/vla-datatypes.exp: Likewise. - * gdb.fortran/vla-history.exp: Likewise. - * gdb.fortran/vla-ptr-info.exp: Likewise. - * gdb.fortran/vla-ptype-sub.exp: Likewise. - * gdb.fortran/vla-ptype.exp: Likewise. - * gdb.fortran/vla-sizeof.exp: Likewise. - * gdb.fortran/vla-type.exp: Likewise. - * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise. - * gdb.fortran/vla-value-sub-finish.exp: Likewise. - * gdb.fortran/vla-value-sub.exp: Likewise. - * gdb.fortran/vla-value.exp: Likewise. - * gdb.fortran/whatis_type.exp: Likewise. - * gdb.mi/mi-var-child-f.exp: Likewise. - -2020-05-09 Tom de Vries - - * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail. - -2020-05-08 Tom de Vries - - * gdb.dwarf2/clang-debug-names.c: New test. - * gdb.dwarf2/clang-debug-names.exp: New file. - -2020-05-06 Simon Marchi - - * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file. - * gdb.arch/amd64-prologue-skip-cf-protection.c: New file. - -2020-05-06 Tom de Vries - - * gdb.reverse/consecutive-precsave.exp: Handle if instruction after - breakpoint is at a "recommended breakpoint location". - * gdb.reverse/consecutive-reverse.exp: Same. - -2020-05-06 Tom de Vries - - * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current - address. - -2020-05-06 Tom de Vries - - * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment. - -2020-05-06 Tom de Vries - - * gdb.base/store.exp (check_set, up_set): Allowing missing location - info for r. - -2020-05-06 Tom de Vries - - * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if - necessary. - -2020-05-06 Tom de Vries - - * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to - void. - -2020-05-06 Tom de Vries - - * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out - of ... - * gdb.base/async.exp: ... here. - * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a - "recommended breakpoint location". - -2020-05-06 Tom de Vries - - * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias. - -2020-05-04 Tom de Vries - - * gdb.base/async.exp: Check whether instruction addresses are a - "recommended breakpoint location". - -2020-05-03 Tom Tromey - - * gdb.base/sepdebug.exp: Remove "catch" test. - * gdb.base/break.exp: Remove "catch" test. - * gdb.base/default.exp: Update expected output. - -2020-05-02 Tom de Vries - - * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc. - * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds. - * gdb.arch/i386-mpx-map.exp: Same. - * gdb.arch/i386-mpx-sigsegv.exp: Same. - * gdb.arch/i386-mpx-simple_segv.exp: Same. - * gdb.arch/i386-mpx.exp: Same. - -2020-05-02 Tom de Vries - - * gdb.base/psym-external-decl.c (main): Add use of variable aaa. - -2020-05-01 Tom de Vries - - * gdb.ada/operator_bp.exp: Allow more than required amount of - breakpoint. - -2020-05-01 Tom de Vries - - * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning. - -2020-04-30 Hannes Domani - - PR gdb/18706 - * gdb.cp/stub-array-size.cc: New test. - * gdb.cp/stub-array-size.exp: New file. - * gdb.cp/stub-array-size.h: New test. - * gdb.cp/stub-array-size2.cc: New test. - -2020-04-30 Hannes Domani - - * gdb.python/py-format-string.exp: Adjust pretty_arrays expected - output to the new format. - -2020-04-29 Simon Marchi - - * gdb.base/break.exp: Use with_test_prefix. - -2020-04-29 Tom de Vries - - * lib/gdb.exp (debug_types): New proc. - * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232. - * gdb.python/py-symtab.exp: Same. - -2020-04-29 Hannes Domani - - PR gdb/17320 - * gdb.base/pretty-array.c: New test. - * gdb.base/pretty-array.exp: New file. - -2020-04-29 Tom de Vries - - PR symtab/25889 - * gdb.cp/cpexprs.exp: Adapt for inclusion. - * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section - and include cpexprs.exp. - -2020-04-28 Mark Williams - - PR gdb/24480 - * dw4-toplevel-types.exp: Test for top level types. - * dw4-toplevel-types.cc: Test for top level types. - -2020-04-28 Tankut Baris Aktemur - - * gdb.threads/stop-with-handle.exp: Fix typo in comment - (theads -> threads). - -2020-04-28 Tom de Vries - - * gdb.opt/inline-cmds.exp: Set KFAIL PR. - -2020-04-28 Tom de Vries - - * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*". - -2020-04-28 Tom de Vries - - * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL. - -2020-04-28 Tom de Vries - - * gdb.dwarf2/main-foo.c: New test. - * gdb.dwarf2/struct-with-sig.exp: New file. - -2020-04-25 Tom de Vries - - * boards/debug-types.exp: New file. - -2020-04-25 Andrew Burgess - - * gdb.btrace/multi-inferior.exp: Avoid paths in test names. - -2020-04-24 Tom Tromey - - PR symtab/12707: - * gdb.python/py-symbol.exp: Update expected results for - linkage_name test. - * gdb.cp/print-demangle.exp: New file. - * gdb.base/c-linkage-name.exp: Fix test. - * gdb.guile/scm-symbol.exp: Update expected results for - linkage_name test. - -2020-04-24 Tom Tromey - - * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove. - * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file. - * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF - assembler. - -2020-04-24 Tom de Vries - - * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to - C++. - -2020-04-24 Tom Tromey - - * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings - values. - * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings - values. Update test for minimal encodings. - * gdb.ada/lang_switch.exp: Update test for minimal encodings. - * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings - values. Update test for minimal encodings. - -2020-04-24 Tom Tromey - - PR python/23662: - * gdb.ada/variant.exp: Add Python checks. - * gdb.rust/simple.exp: Add dynamic type checks. - -2020-04-24 Tom Tromey - - * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings. - Make array type matching more lax. - * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings. - * gdb.ada/mi_variant.exp: New file. - * gdb.ada/mi_variant/pck.ads: New file. - * gdb.ada/mi_variant/pkg.adb: New file. - * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings. - * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings. - -2020-04-24 Tom Tromey - - * gdb.ada/variant.exp: Add dynamic field offset tests. - * gdb.ada/variant/pck.ads (Nested_And_Variable): New type. - * gdb.ada/variant/pkg.adb: Add new variables. - -2020-04-24 Tom Tromey - - * gdb.ada/variant.exp: New file - * gdb.ada/variant/pkg.adb: New file - * gdb.ada/variant/pck.adb: New file - -2020-04-24 Tom de Vries - - * lib/gdb.exp (clean_restart): Reset errcnt and warncnt. - -2020-04-24 Tom de Vries - - * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile - flags. - -2020-04-24 Tom de Vries - - * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags. - -2020-04-24 Tom de Vries - - * lib/gdb.exp (default_gdb_start): Handle eof. - (clean_restart): Detect and handle gdb_start failure. Return -1 upon - failure. - * gdb.base/readnever.exp: Handle clean_restart failure. - -2020-04-23 Tom de Vries - - * gdb.base/decl-before-def.exp: Run to main and print a again. - -2020-04-23 Tom de Vries - - * gdb.base/decl-before-def-decl.c: New test. - * gdb.base/decl-before-def-def.c: New test. - * gdb.base/decl-before-def.exp: New file. - -2020-04-23 Tom de Vries - - * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow. - -2020-04-22 Tom de Vries - - * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix - debug_info_offset. - * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes - before $objsfile in the line line. - -2020-04-22 Tom de Vries - - * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length. - -2020-02-18 Mihails Strasuns - - * gdb.base/jit-attach-pie.c: Use jit-protocol.h. - * gdb.base/jit-elf-main.c: Use jit-protocol.h. - * gdb.base/jit-reader-host.c: Use jit-protocol.h. - * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h. - * gdb.base/jit-protocol.h: Update definitions to match all usage - contexts. - -2020-02-18 Mihails Strasuns - - * gdb.base: Rename all jit related test and source files. - -2020-02-18 Mihails Strasuns - - * gdb.base/jit-reader.exp: Relax register output check. - -2020-04-22 Tom de Vries - - PR symtab/25764 - * gdb.base/psym-external-decl-2.c: New test. - * gdb.base/psym-external-decl.c: New test. - * gdb.base/psym-external-decl.exp: New file. - * gdb.threads/tls.exp: Add PR25807 kfail. - -2020-04-22 Tom de Vries - - PR symtab/25801 - * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c - in "info source" output. - -2020-04-22 Tom de Vries - - PR symtab/25700 - * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial - symtab for imported_unit.c. - -2020-04-21 Gary Benson - - * gdb.base/advance.c (func): New argument, to match call site. - (func2, func3): Add return statements. - -2020-04-21 Tankut Baris Aktemur - - * gdb.multi/run-only-second-inf.c: New file. - * gdb.multi/run-only-second-inf.exp: New file. - -2020-04-21 Markus Metzger - - * gdb.btrace/multi-inferior.c: New test. - * gdb.btrace/multi-inferior.exp: New file. - -2020-04-21 Markus Metzger - - * gdb.btrace/enable-new-thread.c: New test. - * gdb.btrace/enable-new-thread.exp: New file. - -2020-04-21 Tom de Vries - - PR gdb/25471 - * gdb.threads/killed-outside.c: New test. - * gdb.threads/killed-outside.exp: New file. - -2020-04-20 Gary Benson - - * gdb.base/nested-subp1.exp: Use support_nested_function_tests. - * gdb.base/nested-subp2.exp: Likewise. - * gdb.base/nested-subp3.exp: Likewise. - -2020-04-20 Gary Benson - - * gdb.base/nested-subp1.exp: Disable test when using clang. - * gdb.base/nested-subp2.exp: Likewise. - * gdb.base/nested-subp3.exp: Likewise. - -2020-04-20 Gary Benson - - * gdb.cp/exception.cc: Fix compilation error with clang. - -2020-04-20 Gary Benson - - * gdb.trace/tspeed.c: Fix compilation error with clang. - -2020-04-20 Gary Benson - - * gdb.base/jit-main.c: Fix compilation error with clang. - -2020-04-17 Kamil Rytarowski - - * gdb.base/attach-twice.c: Include "sys/types.h". - (PTRACE_ATTACH): Add fallback definition. - (main): Pass `0' to the 4th argument of `ptrace'. - -2020-04-17 Kamil Rytarowski - - * gdb.base/fork-running-state.c: Include "signal.h". - -2020-04-17 Tom Tromey - - * gdb.cp/maint.exp (test_help): Simplify multiple_help_body. - Update tests. - * gdb.btrace/cpu.exp: Update tests. - * gdb.base/maint.exp: Update tests. - * gdb.base/default.exp: Update tests. - * gdb.base/completion.exp: Update tests. - -2020-04-16 Tom de Vries - - PR symtab/25791 - * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ... - (ensure_gdb_index): and factor out and move ... - * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here. - * gdb.dwarf2/imported-unit-runto-main.exp: New file. - -2020-04-16 Tom de Vries - - * gdb.base/maint-expand-symbols-header-file.exp: Set language before - loading exec. - -2020-04-15 Andrew Burgess - - * gdb.base/many-completions.exp: New file. - -2020-04-14 Tom de Vries - - PR symtab/25718 - * gdb.dwarf2/dw2-symtab-includes.exp: New file. - -2020-04-14 Tom de Vries - - PR symtab/25720 - * gdb.base/maint-expand-symbols-header-file.c: New test. - * gdb.base/maint-expand-symbols-header-file.exp: New file. - * gdb.base/maint-expand-symbols-header-file.h: New test. - -2020-04-14 Andrew Burgess - - * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete. - * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to - get_func_info. - (get_func_info): Delete. - * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete. - * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete. - * lib/dwarf.exp (get_func_info): New function. - -2020-04-13 Tom de Vries - - * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar - to what find_gnatmake does. - -2020-04-10 Tom de Vries - - * gdb.base/style.exp: Expect "Expanding full symbols" message for - -readnow. - -2020-04-10 Tom de Vries - - PR cli/25808 - * gdb.base/style.c: Add leading newlines. - * gdb.base/style.exp: Use gdb_get_line_number to get specific lines. - Check listing of main's one-line body. - -2020-04-08 Tom de Vries - - * lib/gdb.exp (psymtabs_p): New proc. - * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in - importing unit" unsupported if there are no partial symbols. - -2020-04-08 Tom de Vries - - PR testsuite/25760 - * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails. - -2020-04-07 Tom de Vries - - PR symtab/25796 - * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file. - -2020-04-07 Tom de Vries - - * gdb.base/check-psymtab.c: New test. - * gdb.base/check-psymtab.exp: New file. - -2020-04-06 Tom Tromey - - * gdb.ada/variant-record/proc.adb: New file. - * gdb.ada/variant-record/value.adb: New file. - * gdb.ada/variant-record/value.s: New file. - * gdb.ada/variant-record.exp: New file. - -2020-04-03 Hannes Domani - - PR gdb/25325 - * gdb.cp/typed-enum.cc: New test. - * gdb.cp/typed-enum.exp: New file. - -2020-04-02 Andrew Burgess - - * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file. - * gdb.dwarf2/dw2-inline-small-func.c: New file. - * gdb.dwarf2/dw2-inline-small-func.exp: New file. - * gdb.dwarf2/dw2-inline-small-func.h: New file. - * gdb.opt/inline-small-func.c: New file. - * gdb.opt/inline-small-func.exp: New file. - * gdb.opt/inline-small-func.h: New file. - -2020-04-02 Andrew Burgess - - * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New - function. - -2020-04-02 Andrew Burgess - - * lib/dwarf.exp (function_range): Allow compiler options to be - specified. - -2020-04-02 Tom de Vries - - * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add - __attribute__((always_inline)). - * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2. - -2020-04-02 Tom de Vries - - * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ... - (gdbserver_gdb_exit): ... here. Add timeout warning. - * gdb.multi/multi-target.exp (server_spawn_ids): New global var. - (connect_target_extended_remote): Append new server_spawn_id to - server_spawn_ids. - (cleanup): New proc. - (setup, ): Call cleanup. - -2020-04-02 Tom de Vries - - * gdb.base/main-psymtab.exp: New file. - -2020-04-02 Tom de Vries - - * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style. - -2020-04-01 Tom Tromey - - * gdb.base/complex-parts.exp: Add type tests. - -2020-04-01 Tom Tromey - - * gdb.base/complex-parts.exp: Add arithmetic tests. - -2020-04-01 Tom Tromey - - * gdb.compile/compile.exp: Update. - * gdb.compile/compile-cplus.exp: Update. - * gdb.base/varargs.exp: Update. - * gdb.base/floatn.exp: Update. - * gdb.base/endianity.exp: Update. - * gdb.base/callfuncs.exp (do_function_calls): Update. - * gdb.base/funcargs.exp (complex_args, complex_integral_args) - (complex_float_integral_args): Update. - * gdb.base/complex.exp: Update. - * gdb.base/complex-parts.exp: Update. - -2020-04-01 Tom Tromey - - * gdb.rust/union.rs: New file. - * gdb.rust/union.exp: New file. - * gdb.rust/simple.rs (Union, Union2): Move to union.rs. - (main): Update. - * gdb.rust/simple.exp: Move union tests to union.exp. - -2020-04-01 Tom Tromey - - * gdb.rust/simple.rs (main): Remove "y0". - -2020-04-01 Tankut Baris Aktemur - - * gdb.multi/stop-all-on-exit.c: New test. - * gdb.multi/stop-all-on-exit.exp: New file. - -2020-04-01 Hannes Domani - - PR gdb/24789 - * gdb.cp/misc.cc: Add integer reference variable. - * gdb.cp/misc.exp: Add test. - -2020-04-01 Tankut Baris Aktemur - - * gdb.server/stop-reply-no-thread.exp: Enhance the test - scenario to cover execution until the end and also the case - -2020-03-31 Tom de Vries - - * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to - c. Use "maint info symtabs" to check symtab expansion. - -2020-03-30 Tom de Vries - - * gdb.base/c-linkage-name.exp: Use readnow call to mark a test - unsupported. - (verify_psymtab_expanded): Move ... - * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported - test. - (readnow): New proc. - -2020-03-23 Andrew Burgess - - * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address - with $hex. - -2020-03-20 Tom Tromey - - * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions. - -2020-03-20 Tom Tromey - - * gdb.ada/sub_variant/subv.adb: New file. - * gdb.ada/sub_variant.exp: New file. - -2020-03-20 Tom de Vries - - * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if - first break fails. - * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same. - -2020-03-19 Andrew Burgess - - * gdb.server/exit-multiple-threads.c: New file. - * gdb.server/exit-multiple-threads.exp: New file. - -2020-03-19 Andrew Burgess - - * gdb.fortran/mixed-lang-stack.c: New file. - * gdb.fortran/mixed-lang-stack.cpp: New file. - * gdb.fortran/mixed-lang-stack.exp: New file. - * gdb.fortran/mixed-lang-stack.f90: New file. - -2020-03-19 Andrew Burgess - - * gdb.linespec/cp-completion-aliases.cc: New file. - * gdb.linespec/cp-completion-aliases.exp: New file. - -2020-03-19 Tom de Vries - - * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching - more precise. - -2020-03-18 Tom de Vries - - * gdb.dwarf2/break-inline-psymtab-2.c: New test. - * gdb.dwarf2/break-inline-psymtab.c: New test. - * gdb.dwarf2/break-inline-psymtab.exp: New file. - -2020-03-16 Tom de Vries - - * lib/cache.exp (gdb_do_cache): Add and handle local variables - cache_verify and cache_verify_proc. - -2020-03-15 Tom de Vries - - * gdb.server/solib-list.exp: Handle - 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'. - -2020-03-15 Tom de Vries - - * gdb.base/maint.exp: Use exp_continue in long lines for "maint print - objfiles". - -2020-03-14 Tom Tromey - - * gdb.base/cvexpr.exp: Add test for _Atomic and restrict. - -2020-03-14 Tom de Vries - - * gdb.mi/mi-fortran-modules.exp: Use exp_continue. - -2020-03-14 Tom de Vries - - * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads" - result in line-by-line fashion. - -2020-03-14 Tom de Vries - - * lib/gdb.exp (supports_statement_frontiers): New proc. - * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers. - -2020-03-14 Tom de Vries - - * gdb.base/printcmds.exp: Add missing quoting for "print - teststring2". - -2020-03-13 Tom Tromey - - * gdb.base/printcmds.exp (test_print_strings): Add regression - test. - * gdb.base/printcmds.c (charptr): New typedef. - (teststring2): New global. - -2020-03-13 Andrew Burgess - - * gdb.base/break-interp.exp: Use the tail of the filename, not the - full path in the test name. - (test_ld): Add some with_test_prefix blocks to make test names - unique. - -2020-03-13 Tom de Vries - - * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts. - -2020-03-13 Tom de Vries - - * gdb.mi/mi-sym-info.exp: Make matching more precise. - -2020-03-13 Tom de Vries - - PR symtab/25646 - * gdb.dwarf2/imported-unit.exp: Add test. - -2020-03-13 Tom de Vries - - * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef. - (var1, var2): New variable. - * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict - matching symbols. - -2020-03-13 Tom de Vries - - * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc. - (Term::command): Use prompt prefix. - (Term::enter_tui): Use command_no_prompt_prefix instead of prefix. - * gdb.tui/tui-layout-asm-short-prog.exp: Use - command_no_prompt_prefix instead of prefix. - * gdb.tui/tui-layout-asm.exp: Same. - -2020-03-12 Simon Marchi - - * gdb.base/break-interp.exp: Use foreach_with_prefix. - -2020-03-12 Simon Marchi - - * gdb.arch/amd64-disp-step-avx.S: Add nops after _start. - * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced - on" while stepping over the test instruction, match printed - message. - -2020-03-12 Tom de Vries - - * gdb.base/info-types.exp: Use exp_continue during matching of output - of "info types". - -2020-03-12 Tom de Vries - - * gdb.threads/execl.exp: Delete breakpoint after hitting it. - -2020-03-12 Tom de Vries - - * gdb.fortran/module.exp: Use exp_continue during matching of output - of "info variable -n". - -2020-03-12 Tom de Vries - - * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to - gdb.dwarf2/dw2-ranges-base.c. - -2020-03-12 Tom de Vries - - * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test - in presence of GLIBC debuginfo. - -2020-03-12 Tom de Vries - - * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching - $core. - -2020-03-12 Tom de Vries - - * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp - more precise. - -2020-03-11 Simon Marchi - - * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert - from Unix to Windows path. - -2020-03-11 Tom de Vries - - * gdb.ada/minsyms.exp: Set language to ada. - -2020-03-11 Tom de Vries - - * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf. - -2020-03-11 Tom de Vries - - * gdb.btrace/reconnect.exp: Allow source line pattern after stepi. - -2020-03-11 Tom Tromey - - * gdb.dwarf2/variant.exp: Mark discriminants as artificial. - -2020-03-11 Tom de Vries - - * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages. - -2020-03-11 Tom de Vries - - * gdb.base/break-interp.exp: Limit verbose scope. - -2020-03-11 Tom de Vries - - * gdb.fortran/logical.f90: Define variable with character type. - * gdb.fortran/logical.exp: Use character type instead of uint8_t. - -2020-03-11 Tom de Vries - - * gdb.base/list-ambiguous.exp: Set EDITOR to true. - -2020-03-11 Tom de Vries - - * gdb.ada/access_to_packed_array.exp: Test printing of expanded - symtabs. - -2020-03-10 Andrew Burgess - Bernd Edlinger - - * gdb.cp/step-and-next-inline.cc: New file. - * gdb.cp/step-and-next-inline.exp: New file. - * gdb.cp/step-and-next-inline.h: New file. - * gdb.dwarf2/dw2-is-stmt.c: New file. - * gdb.dwarf2/dw2-is-stmt.exp: New file. - * gdb.dwarf2/dw2-is-stmt-2.c: New file. - * gdb.dwarf2/dw2-is-stmt-2.exp: New file. - * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern. - -2020-03-10 Andrew Burgess - - * lib/dwarf.exp (Dwarf::lines) Add support for modifying the - is-stmt flag in the line table. - -2020-03-09 Tom de Vries - - * lib/gdb.exp (cached_file): Create cache dir. - -2020-03-07 Tom de Vries - - * gdb.cp/ref-params.exp: Compare build_executable result with -1. - * gdb.cp/rvalue-ref-params.exp: Same. - -2020-03-06 Tom de Vries - - * lib/gdb.exp (tentative_rename, cached_file): New proc. - * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh. - -2020-03-06 Tom de Vries - - * README: Fix "the the". - * gdb.base/dprintf.exp: Same. - -2020-03-05 Tom de Vries - - * gdb.base/maint.exp: Update "main print statistics" expected output. - -2020-03-04 Alok Kumar Sharma - - * lib/fortran.exp (fortran_int4): Handle flang kind printing. - (fortran_int8): Likewise. - (fortran_real4): Likewise. - (fortran_real8): Likewise. - (fortran_complex4): Likewise. - (fortran_logical4): Likewise. - (fortran_character1): Likewise. - -2020-03-03 Andrew Burgess - - * gdb.fortran/logical.exp: Add tests that any non-zero value is - printed as true. - -2020-03-03 Sergio Durigan Junior - - * gdb.base/printcmds.exp: Add test to verify printf of a - variable holding an address. - -2020-03-03 Tom de Vries - - * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout. - -2020-03-03 Tom de Vries - - * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for - gdb_test_multiple call. - -2020-03-03 Tom de Vries - - * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to - gdb_test_multiple calls. - -2020-03-02 Andrew Burgess - - * gdb.base/default.exp: Remove test of 'set history filename'. - * gdb.base/gdbinit-history.exp: Add tests for setting the history - filename to the empty string. - * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE - and GDBHISTSIZE. - -2020-03-02 Andrew Burgess - - * gdb.server/stop-reply-no-thread.exp: Add test where T packet is - disabled. - -2020-03-02 Pedro Alves - Tom de Vries - - * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using - -prompt prefix, before user_code argument. Add -lbl option likewise. - (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt) - (gdb_is_target_1): Add -prompt prefix and move to before user_code - argument. - * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to - have "\r\n" at start-of-line, instead of at end-of-line. - -2020-02-28 Simon Marchi - - * lib/trace-support.exp (get_in_proc_agent): Adjust path to - libinproctrace.so. - -2020-02-28 Luis Machado - - * gdb.arch/aarch64-fp.exp: Switch from "info registers" command - to "p/x". - -2020-02-28 Luis Machado - - * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h, - asm/ptrace.h and error.h. - -2020-02-28 Tom de Vries - - * gdb.base/c-linkage-name.c (main): Call do_something_other_cu. - (struct wrapper, do_something, mundane/symada__cS): Move ... - * gdb.base/c-linkage-name-2.c: ... here. New source file. - * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion. - Update "print symada__cS before partial symtab expansion" regexp. - Update breakpoint location. Flush symbol cache after expansion. - -2020-02-28 Luis Machado - - * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output. - -2020-02-27 Tom de Vries - - * config/sid.exp: Remove unused globals. - * gdb.base/attach.exp: Same. - * gdb.base/catch-load.exp: Same. - * gdb.base/dbx.exp: Same. - * lib/gdb.exp: Same. - * lib/mi-support.exp: Same. - * lib/prompt.exp: Same. - -2020-02-27 Tom de Vries - - * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is - not set. - -2020-02-26 Aaron Merey - - * gdb.debuginfod: New directory for debuginfod tests. - * gdb.debuginfod/main.c: New test file. - * gdb.debuginfod/fetch_src_and_symbols.exp: New tests. - -2020-02-26 Tom de Vries - - PR gdb/25603 - * gdb.base/persistent-lang.cc: New test. - * gdb.base/persistent-lang.exp: New file. - -2020-02-25 Andrew Burgess - - * gdb.fortran/derived-type-striding.exp: Add a new test. - * gdb.fortran/derived-type-striding.f90: Add pointer variable for - new test. - -2020-02-25 Andrew Burgess - - * gdb.base/cached-source-file.exp: Avoid source file paths in test - names. - -2020-02-25 Tom de Vries - - PR go/18926 - * gdb.go/methods.exp: Remove gcc/93866 xfail. - -2020-02-24 Tom de Vries - - PR gdb/25592 - * gdb.base/info-locals-unused-static-var.c: New test. - * gdb.base/info-locals-unused-static-var.exp: New file. - -2020-02-22 Tom Tromey - - * gdb.python/tui-window.exp: New file. - * gdb.python/tui-window.py: New file. - -2020-02-22 Tom Tromey - - PR tui/17850: - * gdb.tui/new-layout.exp: Add horizontal layout and winheight - tests. - -2020-02-22 Tom Tromey - - * gdb.tui/new-layout.exp: Add sub-layout tests. - -2020-02-22 Tom Tromey - - * gdb.tui/new-layout.exp: New file. - -2020-02-22 Tom Tromey - - * gdb.rust/rust-style.rs: New file. - * gdb.rust/rust-style.exp: New file. - * gdb.base/style.exp: Test structure printing. - * gdb.base/style.c (struct some_struct): New type. - (enum etype): New type. - (struct_value): New global. - -2020-02-21 Tom de Vries - - PR go/18926 - * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix. - Remove blanket xfails. Use message argument for gdb_breakpoint. - Make continuing to breakpoint test conditional on setting breakpoint. - Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7 - DW_AT_name attribute. Add xfail for GCC PR93866. - -2020-02-21 Andrew Burgess - - * gdb.dwarf2/cpp-linkage-name.c: New file. - * gdb.dwarf2/cpp-linkage-name.exp: New file. - -2020-02-21 Shahab Vahedi - - * lib/gdb.exp (gdb_wrapper_init): Reset - "gdb_wrapper_initialized" to 0 if "wrapper_file" does - not exist. - -2020-02-20 Tom de Vries - - PR go/17018 - * gdb.go/hello.exp: Copy ... - * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect - print of st to print value of global definition. Add xfail for GCC - PR93844. - * gdb.go/hello.exp: Remove printing of st before definition. - * gdb.go/hello.go: Copy ... - * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst - to st. - * gdb.go/hello.go: Remove myst. Remove comment about shadowing. - -2020-02-20 Tom de Vries - - * lib/gdb.exp (support_go_compile): New gdb_caching_proc. - (gdb_simple_compile): Handle compile_flags go by using .go extension - for source file. - * gdb.go/chan.exp: Use support_go_compile. - * gdb.go/handcall.exp: Same. - * gdb.go/hello.exp: Same. - * gdb.go/integers.exp: Same. - * gdb.go/max-depth.exp: Same. - * gdb.go/methods.exp: Same. - * gdb.go/package.exp: Same. - * gdb.go/strings.exp: Same. - * gdb.go/types.exp: Same. - * gdb.go/unsafe.exp: Same. - -2020-02-19 Tom de Vries - - * gdb.python/lib-types.exp: Make xfail more strict. - -2020-02-19 Tom de Vries - - * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check. - -2020-02-19 Doug Evans - - PR rust/25535 - * gdb.rust/simple.exp: Add test. - * gdb.rust/simple.rs: Add test. - -2020-02-19 Tom de Vries - - * gdb.base/corefile-buildid.exp (check_exec_file): Match info files - output line-by-line. - -2020-02-19 Tom de Vries - - * gdb.cp/cpexprs.exp: Remove c++/14186 kfail. - -2020-02-19 Tom de Vries - - * gdb.base/solib-overlap.exp: Use exec instead of system to execute - prelink. - -2020-02-19 Tom de Vries - - * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc. - (gdb_do_cache): Use gdb_do_cache_wrap. - * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap. - -2020-02-19 Tom de Vries - - * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as - gdb_compile option. - -2020-02-18 Simon Marchi - - * gdb.base/printcmds.exp (test_print_enums): Update expected - output. - -2020-02-18 Simon Marchi - - * gdb.base/printcmds.exp (test_print_enums): Expect hex values - for "unknown". - -2020-02-18 Simon Marchi - - * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY - enumerator. - -2020-02-18 Simon Marchi - - * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with - FE_, add FE_NONE. - (three): Update. - (enum flag_enum_without_zero): New enum. - (flag_enum_without_zero): New variable. - (enum not_flag_enum): New enum. - (three_not_flag): New variable. - * gdb.base/printcmds.exp (test_artificial_arrays): Update. - (test_print_enums): Add more tests for printing flag enums. - -2020-02-18 Tom de Vries - - * lib/ada.exp (gdb_compile_ada_1): Factor out of ... - (gdb_compile_ada): ... here. - (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada - failure. Use gdb_compile_ada_1 instead of gdb_compile_ada. - -2020-02-14 Tom Tromey - - * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in - build directory. - * boards/gdbserver-base.exp: Update path to gdbserver. - -2020-02-13 Tom de Vries - - * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation. - -2020-02-13 Tom de Vries - - * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink - are missing. - -2020-02-13 Tom de Vries - - * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch - call. - -2020-02-11 Sergio Durigan Junior - - PR tui/25126 - https://bugzilla.redhat.com/show_bug.cgi?id=1784210 - * gdb.base/cached-source-file.c: New file. - * gdb.base/cached-source-file.exp: New file. - -2020-02-11 Tom de Vries - - PR testsuite/25488 - * lib/gdb.exp (gdb_init): Unset $file_last_loaded. - -2020-02-10 Tom de Vries - - * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests. - -2020-02-10 Maciej W. Rozycki - - * gdb.base/step-over-no-symbols.exp: Verify that $before_addr - and $after_addr are both integers before making a comparison. - -2020-02-09 Tom de Vries - - * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb - command output and paste it into gdb.log. If any, paste catch message - to gdb.log. - -2020-02-07 Tom Tromey - - PR breakpoints/24915: - * gdb.base/annotate-symlink.exp: Use setup_xfail. - -2020-02-06 Shahab Vahedi - - * gdb.tui/tui-missing-src.exp: Add the "missing source - file" test for the TUI. - -2020-02-06 Andrew Burgess - - * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid - including a port number in the output. - -2020-02-04 Alok Kumar Sharma - - * lib/fortran.exp (fortran_int4): Handle clang. - (fortran_int8): Likewise. - (fortran_real4): Likewise. - (fortran_real8): Likewise. - (fortran_complex4): Likewise. - (fortran_logical4): Likewise. - (fortran_character1): Likewise. - -2020-02-04 Tom de Vries - - * README (Race detection): Add note. - -2020-02-04 Tom de Vries - - * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*". - -2020-02-04 Tom de Vries - - * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses. - -2020-02-03 Rogerio A. Cardoso - - * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of - tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-, - bctarl+ extended mnemonics when avaliable by bgttar, bnstarl, - blttar, bnetarl. - * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions - binary for blttar, bnetarl. - * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of - wait instruction. Delete ldmx test. - * gdb.arch/powerpc-power9.s: Delete ldmx instruction. - -2020-02-03 Alok Kumar Sharma - - * gdb.fortran/array-bounds-high.exp: New file. - * gdb.fortran/array-bounds-high.f90: New file. - -2020-02-03 Lukas Durfina (tiny change) - - * gdb.base/fileio.c: Remove #include of . - Replace #include of by . - -2020-02-01 Tom de Vries - - * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo. - -2020-01-31 Andrew Burgess - - PR tui/9765 - * gdb.tui/tui-layout-asm-short-prog.S: New file. - * gdb.tui/tui-layout-asm-short-prog.exp: New file. - -2020-01-29 Luis Machado - - * gdb.arch/aarch64-brk-patterns.c: New source file. - * gdb.arch/aarch64-brk-patterns.exp: New test. - -2020-01-29 Tankut Baris Aktemur - - * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the - GCC/Clang version. - * gdb.cp/pass-by-ref.exp: Ditto. - -2020-01-29 Tom de Vries - - * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG. - * gdb.threads/watchpoint-fork-mt.c: Same. - * gdb.threads/watchpoint-fork-parent.c: Same. - * gdb.threads/watchpoint-fork-st.c: Same. - * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0. - -2020-01-27 Luis Machado - - * gdb.base/step-over-syscall.exp (setup): Check if we're already - sitting at a syscall instruction when we hit the syscall function's - breakpoint. - Check PC against one obtained with the x command. - Validate syscall number. - (step_over_syscall): Don't continue to the syscall instruction if - we're already there. - -2020-01-25 Philippe Waroquiers - - * gdb.base/attach.exp: Test 'set exec-file-mismatch'. - -2020-01-24 Andrew Burgess - - * gdb.dwarf2/dw2-inline-many-frames.c: New file. - * gdb.dwarf2/dw2-inline-many-frames.exp: New file. - -2020-01-24 Andrew Burgess - - * gdb.dwarf2/dw2-inline-stepping.c: New file. - * gdb.dwarf2/dw2-inline-stepping.exp: New file. - -2020-01-24 Andrew Burgess - - * gdb.base/maint.exp: Update line table parsing test. - * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test. - -2020-01-24 Pedro Alves - - PR gdb/25410 - * gdb.multi/multi-re-run-1.c: New. - * gdb.multi/multi-re-run-2.c: New. - * gdb.multi/multi-re-run.exp: New. - -2020-01-24 Andrew Burgess - - PR gdb/23718 - * gdb.server/server-kill-python.exp: New file. - -2020-01-24 Andrew Burgess - - * gdb.server/multi-ui-errors.c: New file. - * gdb.server/multi-ui-errors.exp: New file. - -2020-01-24 Andrew Burgess - - PR tui/9765 - * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window. - -2020-01-19 Tom Tromey - - * gdb.tui/main.exp: Add check for plain "file". - -2020-01-16 Christian Biesinger - - * lib/gdb.exp: Fix spelling error (seperatelly). - -2020-01-14 Tom Tromey - - PR symtab/12535: - * gdb.python/python.exp: Test decode_line with empty string - argument. - -2020-01-14 Bernd Edlinger - - * gdb.base/skip-inline.exp: Extend test. - -2020-01-13 Andrew Burgess - - * gdb.dwarf2/dw2-bad-elf-other.S: New file. - * gdb.dwarf2/dw2-bad-elf.c: New file. - * gdb.dwarf2/dw2-bad-elf.exp: New file. - -2020-01-13 Andrew Burgess - - * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and - _line_saw_file. - -2020-01-13 Andrew Burgess - - * lib/tuiterm.exp (Term::_check_box): Check some parts of the top - border. - -2020-01-10 Tankut Baris Aktemur - - * gdb.multi/multi-target.exp (setup): Factor out "info - connections" and "info inferiors" tests to ... - (test_info_inferiors): ... this new procedure. - (top level): Run new "info-inferiors" tests. - -2020-01-10 Pedro Alves - - * gdb.server/bkpt-other-inferior.exp: New file. - -2020-01-10 Pedro Alves - - * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output - of "add-inferior". - * gdb.base/quit-live.exp: Likewise. - * gdb.base/remote-exec-file.exp: Likewise. - * gdb.guile/scm-progspace.exp: Likewise. - * gdb.linespec/linespec.exp: Likewise. - * gdb.mi/new-ui-mi-sync.exp: Likewise. - * gdb.mi/user-selected-context-sync.exp: Likewise. - * gdb.multi/multi-target.exp (setup): Add "info connection" and - "info inferiors" tests. - * gdb.multi/remove-inferiors.exp: Adjust expected output of - "add-inferior". - * gdb.multi/watchpoint-multi.exp: Likewise. - * gdb.python/py-inferior.exp: Likewise. - * gdb.server/extended-remote-restart.exp: Likewise. - * gdb.threads/fork-plus-threads.exp: Adjust expected output of - "info inferiors". - * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise. - * gdb.trace/report.exp: Likewise. - -2020-01-10 Pedro Alves - - * gdb.multi/multi-target.c: New file. - * gdb.multi/multi-target.exp: New file. - * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop - mode requested, but remote does not support non-stop". - -2020-01-10 Pedro Alves - - * gdb.server/extended-remote-restart.exp (test_reload): Explicitly - disconnect before reconnecting. - -2020-01-10 Tankut Baris Aktemur - Pedro Alves - - * gdb.server/connect-without-multi-process.exp: Also test - continuing to end. - -2020-01-10 Pedro Alves - - * gdb.base/remote-exec-file.exp: New file. - -2020-01-10 Pedro Alves - - * gdb.base/fork-running-state.exp (do_test): Adjust expected - output. - * gdb.threads/async.c: New. - * gdb.threads/async.exp: New. - * gdb.multi/tids-gid-reset.c: New. - * gdb.multi/tids-gid-reset.exp: New. - -2020-01-10 George Barrett - - * gdb.base/stap-probe.c (relocation_marker): Add dummy variable - to help in finding the image relocation offset. - * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile - options in arguments. - (stap_test_no_debuginfo): Likewise. - (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add - test variants. - (stap_test): Add null semaphore relocation test. - -2020-01-10 George Barrett - - * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES. - * gdb.base/stap-probe.exp: Likewise. - (stap_test): Pass argument as an additional flag. - (stap_test_no_debuginfo): Likewise. - (stap_test): Check `info probes stap' output for semaphore - addresses if the test binary is supposed to have them. - -2020-01-09 Andrew Burgess - - * gdb.tui/basic.exp: Add more scrolling tests. - -2020-01-09 Tom Tromey - - PR tui/18932: - * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a - meangingful value. - (Term::command, Term::resize): Update. - * gdb.tui/basic.exp: Add scrolling test. - -2020-01-09 Andrew Burgess - - * gdb.tui/tui-layout-asm.exp: New file. - -2020-01-09 Andrew Burgess - - * lib/tuiterm.exp (Term::check_box_contents): New proc. - -2020-01-09 Andrew Burgess - - * lib/tuiterm.exp (Term::prepare_for_tui): New proc. - (Term::enter_tui): Use Term::prepare_for_tui. - -2020-01-09 Andrew Burgess - - * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when - called. - -2020-01-09 Andrew Burgess - - * gdb.base/skip.exp: Fix race condition in test. - -2020-01-06 Andrew Burgess - - * gdb.base/backtrace.c: New file. - * gdb.base/backtrace.exp: New file. - -2020-01-05 Andrew Burgess - - * gdb.tui/list.exp: Test 'focus next' after 'list main'. - -2020-01-03 Philippe Waroquiers - - * gdb.base/style.exp: Test that warnings are styled. - -2019-12-29 Bernd Edlinger - - * gdb.base/line65535.exp: New file. - * gdb.base/line65535.c: New file. - -2019-12-27 Simon Marchi - - * lib/ada.exp (gnat_runtime_has_debug_info): New proc. - * lib/gnat_debug_info_test.adb: New file. - * gdb.ada/ptype_tagged_param.exp: Use - gnat_runtime_has_debug_info, expect a different output if - runtime does not have debug info. - -2019-12-20 Simon Marchi - - * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add - (another) quote in test name. - -2019-12-20 Simon Marchi - - * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry): - Add quote in test name. - -2019-12-20 Tankut Baris Aktemur - - * gdb.cp/pass-by-ref.cc: Delete. Generated in the output - directory instead. - * gdb.cp/pass-by-ref.exp: Extend with more cases. - * gdb.cp/pass-by-ref-2.cc: New file. - * gdb.cp/pass-by-ref-2.exp: New file. - -2019-12-20 Tom Tromey - - * gdb.tui/list-before.exp: New file. - -2019-12-20 Tom Tromey - - * gdb.tui/list.exp: Check for source on initial listing. - -2019-12-11 Tom Tromey - - * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter. - Add crlf test. - -2019-12-18 Simon Marchi - - * gdb.base/default.exp: Update value of $_gdb_major. - -2019-12-17 Bernd Edlinger - - * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0. - -2019-12-17 Bernd Edlinger - - * gdb.base/skip.exp: Whitespace fix. - -2019-12-16 Bernd Edlinger - - * gdb.base/skip-inline.c: New file. - * gdb.base/skip-inline.exp: New file. - -2019-12-16 Simon Marchi - - * gdb.base/jit-reader.exp (jit_reader_test): Rename - jit_function_00 to jit_function_stack_mangle. - * gdb.base/jithost.c (jit_function_t): Rename to... - (jit_function_stack_mangle_t): ... this. - (jit_function_add_t): New typedef. - (jit_function_00_code): Rename to... - (jit_function_stack_mangle_code): ... this, make static. - (jit_function_add_code): New. - (main): Generate "add" function and call it. Adjust to changes - in jithost_abi. - * gdb.base/jithost.h (struct jithost_abi_bounds): New. - (struct jithost_abi) : Remove fields. - : New fields. - * gdb.base/jitreader.c (struct reader_state) : Remove fields. - : New field. - (read_debug_info): Adjust to renaming, create block for "add" - function. - (read_sp, unwind_frame, get_frame_id): Adjust to other changes. - -2019-12-11 Tom Tromey - - * gdb.tui/resize.exp: Fix regexp. - * gdb.tui/regs.exp: Fix regexps. - * gdb.tui/main.exp: Fix regexp. - -2019-12-11 Tom Tromey - - * gdb.tui/resize.exp: Update. - * gdb.tui/empty.exp (layouts): Update. - -2019-12-11 Tom Tromey - - * gdb.tui/regs.exp: Update. - * gdb.tui/empty.exp (layouts): Update. - * gdb.tui/basic.exp: Update. - * lib/tuiterm.exp (_check_box): Don't check bottom border. - -2019-12-11 Philippe Waroquiers - - * gdb.base/options.exp: Add -raw-values in the print completion list. - * gdb.python/py-prettyprint.exp: Add tests for -raw-values. - -2019-12-10 Kevin Buettner - - * gdb.threads/omp-par-scope.c: New file. - * gdb/threads/omp-par-scope.exp: New file. - -2019-12-10 Kevin Buettner - - * lib/gdb.exp (support_nested_function_tests): New proc. - -2019-12-10 Kevin Buettner - - * lib/gdb.exp (gdb_compile_openmp): New proc. - (build_executable_from_specs): Add an "openmp" option. - (gdb_compile_pthreads): Add non-executable case. - -2019-12-10 Tom Tromey - - * gdb.ada/unchecked_union.exp: New file. - * gdb.ada/unchecked_union/pck.adb: New file. - * gdb.ada/unchecked_union/pck.ads: New file. - * gdb.ada/unchecked_union/unchecked_union.adb: New file. - * gdb-utils.exp (string_to_regexp): Also quote "?". - -2019-12-10 George Barrett - - Test scripted probe breakpoints. - * gdb.guile/scm-breakpoint.c (main): Add probe point. - * gdb.python/py-breakpoint.c (main): Likewise. - * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe - specifier test. - * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise. - -2019-12-09 Tankut Baris Aktemur - - * gdb.cp/rvalue-ref-overload.cc (g): New function that takes - an rvalue parameter. - * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue - parameter. - -2019-12-09 Andrew Burgess - - * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system - modules. - -2019-12-09 Andrew Burgess - - * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a - broken version of GCC. - -2019-12-09 Andrew Burgess - - * gdb.fortran/info-modules.exp: Rewrite to make use of new - sym-info-cmds library. - * gdb.fortran/info-types.exp: Likewise. - * lib/sym-info-cmds.exp: New file. - -2019-12-08 Tom de Vries - - * gdb.dwarf2/imported-unit.exp: Fix inter-CU references. - -2019-12-07 Keith Seitz - - * gdb.base/corefile-buildid-shlib-shr.c: New file. - * gdb.base/corefile-buildid-shlib.c: New file. - * gdb.base/corefile-buildid.c: New file. - * gdb.base/corefile-buildid.exp: New file. - -2019-12-06 Tom de Vries - - * gdb.dwarf2/varval.exp: Add decl before def test. - -2019-12-06 Tankut Baris Aktemur - - * gdb.cp/rvalue-ref-overload.exp: Minor cleanup. - -2019-12-06 Tankut Baris Aktemur - - * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both - CV and reference conversion for overload resolution. - * gdb.cp/rvalue-ref-overload.exp: Test it. - -2019-12-06 Philippe Waroquiers - - * gdb.threads/pthreads.exp: Test taas and tfaas without command. - * gdb.base/frameapply.exp: Test faas without command. - -2019-12-04 Andrew Burgess - - * lib/gdb.exp (gdb_compile): Add -J compiler option when building - Fortran tests. - * gdb.mi/mi-fortran-modules.exp: Compile source files in correct - order. - -2019-12-04 Andrew Burgess - - * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle - casting to type with no kind specified. - (test_basic_parsing_of_type_kinds): Additional tests for types - with no kind specified, and add tests for single/double - precision/complex types. - -2019-12-04 Tom Tromey - - * gdb.base/endianity.c (struct other) : New field. - (main): Initialize it. - * gdb.base/endianity.exp: Update. - -2019-12-04 Tom Tromey - - * gdb.ada/scalar_storage/storage.adb: New file. - * gdb.ada/scalar_storage/pck.adb: New file. - * gdb.ada/scalar_storage/pck.ads: New file. - * gdb.ada/scalar_storage.exp: New file. - -2019-12-04 Tom Tromey - - * gdb.base/endianity.c (struct otherendian) : New field. - (main): Initialize it. - * gdb.base/endianity.exp: Update. - -2019-12-04 Andrew Burgess - - * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter. - -2019-12-04 Andrew Burgess - - * gdb.mi/mi-fortran-modules.exp: Add additional tests for - -symbol-info-module-functions and -symbol-info-module-variables. - -2019-12-01 Andrew Burgess - - * gdb.fortran/array-slices.exp: Add test for dynamic strings. - -2019-12-01 Richard Bunt - Andrew Burgess - - * gdb.fortran/derived-type-striding.exp: New file. - * gdb.fortran/derived-type-striding.f90: New file. - * gdb.fortran/array-slices.exp: New file. - * gdb.fortran/array-slices.f90: New file. - -2019-11-30 Philippe Waroquiers - - * gdb.base/define.exp: Test . in command names. - * gdb.base/setshow.exp: Update test, as . is now part of - command name. - -2019-11-30 Philippe Waroquiers - - * gdb.base/define-prefix.exp: New file. - -2019-11-28 Andrew Burgess - - * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to - compile. - (skip_btrace_pt_tests): Likewise. - -2019-11-27 Andrew Burgess - - * gdb.fortran/info-modules.exp: Compile source files in correct - order. - -2019-11-27 Kevin Buettner - - * gdb.dwarf2/imported-unit.exp: New file. - * gdb.dwarf2/imported-unit.c: New file. - -2019-11-27 Andrew Burgess - - * gdb.mi/mi-fortran-modules-2.f90: New file. - * gdb.mi/mi-fortran-modules.exp: New file. - * gdb.mi/mi-fortran-modules.f90: New file. - -2019-11-27 Andrew Burgess - - * gdb.mi/mi-sym-info-1.c: New file. - * gdb.mi/mi-sym-info-2.c: New file. - * gdb.mi/mi-sym-info.exp: New file. - -2019-11-22 Tom Tromey - - * gdb.ada/tasks.exp: Add -ada-task-info regression test. - * gdb.ada/tasks/foo.adb: Add another stopping location. - -2019-11-21 Peeter Joot - - * gdb.base/endianity.c: New test. - * gdb.base/endianity.exp: New file. - -2019-11-21 Lukas Durfina - - * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64. - -2019-11-21 Tom de Vries - - PR gdb/24956 - * gdb.base/ui-redirect.exp: Test output of user-defined command. - -2019-11-20 Sergio Durigan Junior - - * gdb.python/py-progspace.exp: Add missing parentheses on some - 'print' commands. - -2019-11-19 Tom Tromey - - * gdb.tui/winheight.exp: New file. - -2019-11-19 Andrew Burgess - - * gdb.base/ctf-whatis.c: Delete. - * gdb.base/ctf-whatis.exp: Delete. - * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf. - -2019-11-19 Andrew Burgess - - * gdb.base/ctf-cvexpr.exp: Delete. - * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf. - -2019-11-19 Andrew Burgess - - * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in - the compiler. Clean up header comment a little. - * gdb.base/ctf-ptype.exp: Likewise. - * gdb.base/ctf-whatis.exp: Likewise. - * lib/gdb.exp (skip_ctf_tests): New proc. - -2019-11-18 Sergio Durigan Junior - - https://bugzilla.redhat.com/show_bug.cgi?id=1765117 - * gdb.tui/corefile-run.exp: New file. - -2019-11-14 Tom Tromey - - * gdb.base/gdbvars.exp (test_convenience_variables): Add - regression tests. - -2019-11-12 Tom Tromey - - * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output - after any command. Expect prompt after WAIT_FOR is seen. - (enter_tui): Enable resize messages. - (command): Expect command in output. - (get_line): Avoid error when cursor appears to be off-screen. - (dump_screen): Include screen size in title. - (_do_resize): New proc, from "resize". - (resize): Rewrite. Do resize in two steps. - * gdb.tui/empty.exp (layouts): Fix entries. - (check_boxes): Remove xfail. - (check_text): Dump screen on failure. - -2019-11-10 Andrew Burgess - - * gdb.python/py-symbol.exp: Add test for - gdb.lookup_static_symbols. - -2019-11-10 Andrew Burgess - - * gdb.python/py-symbol.c: Declare and call function from new - py-symbol-2.c file. - * gdb.python/py-symbol.exp: Compile both source files, and add new - tests for gdb.lookup_static_symbol. - * gdb.python/py-symbol-2.c: New file. - -2019-11-02 Tom de Vries - - * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test. - * gdb.base/anon.exp: Same. - * gdb.base/auto-connect-native-target.exp: Same. - * gdb.base/call-ar-st.exp: Same. - * gdb.base/catch-syscall.exp: Same. - * gdb.base/commands.exp: Same. - * gdb.base/default.exp: Same. - * gdb.base/display.exp: Same. - * gdb.base/float.exp: Same. - * gdb.base/foll-fork.exp: Same. - * gdb.base/help.exp: Same. - * gdb.base/info-macros.exp: Same. - * gdb.base/info-proc.exp: Same. - * gdb.base/info-target.exp: Same. - * gdb.base/long_long.exp: Same. - * gdb.base/macscp.exp: Same. - * gdb.base/memattr.exp: Same. - * gdb.base/nofield.exp: Same. - * gdb.base/pointers.exp: Same. - * gdb.base/printcmds.exp: Same. - * gdb.base/ptype.exp: Same. - * gdb.base/restore.exp: Same. - * gdb.base/return.exp: Same. - * gdb.base/scope.exp: Same. - * gdb.base/set-noassign.exp: Same. - * gdb.base/setshow.exp: Same. - * gdb.base/shlib-call.exp: Same. - * gdb.base/signals.exp: Same. - * gdb.base/sigstep.exp: Same. - * gdb.base/skip.exp: Same. - * gdb.base/solib-symbol.exp: Same. - * gdb.base/stap-probe.exp: Same. - * gdb.base/step-line.exp: Same. - * gdb.base/step-test.exp: Same. - * gdb.base/style.exp: Same. - * gdb.base/varargs.exp: Same. - * gdb.base/vla-datatypes.exp: Same. - * gdb.base/vla-ptr.exp: Same. - * gdb.base/vla-sideeffect.exp: Same. - * gdb.base/volatile.exp: Same. - * gdb.base/watch-cond-infcall.exp: Same. - * gdb.base/watchpoint.exp: Same. - -2019-11-02 Tom de Vries - - * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test. - * gdb.cp/cpexprs.exp: Same. - * gdb.cp/except-multi-location.exp: Same. - * gdb.cp/exceptprint.exp: Same. - * gdb.cp/gdb2384.exp: Same. - * gdb.cp/inherit.exp: Same. - * gdb.cp/m-static.exp: Same. - * gdb.cp/meth-typedefs.exp: Same. - * gdb.cp/misc.exp: Same. - * gdb.cp/namespace.exp: Same. - * gdb.cp/non-trivial-retval.exp: Same. - * gdb.cp/overload.exp: Same. - * gdb.cp/pr17132.exp: Same. - * gdb.cp/re-set-overloaded.exp: Same. - * gdb.cp/rvalue-ref-types.exp: Same. - * gdb.cp/templates.exp: Same. - -2019-11-01 Luis Machado - - PR gdb/25124 - - * gdb.arch/pr25124.S: New file. - * gdb.arch/pr25124.exp: New file. - -2019-10-31 Andrew Burgess - - * gdb.fortran/info-modules.exp: Update expected results, and add - additional tests for 'info module functinos', and 'info module - variables'. - * gdb.fortran/info-types.exp: Update expected results. - * gdb.fortran/info-types.f90: Extend testcase with additional - module variables and functions. - -2019-10-31 Andrew Burgess - - * gdb.fortran/info-modules.exp: New file. - * gdb.fortran/info-types.exp: Build with new file. - * gdb.fortran/info-types.f90: Include and use new module. - * gdb.fortran/info-types-2.f90: New file. - -2019-10-31 Philippe Waroquiers - - * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str. - * gdb.base/settings.exp: Test all settings types using - $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting, - that now verifies that the value of "maint show" is the same as - returned by the settings functions. Test the type of the - maintenance settings. - * gdb.base/default.exp: Update show_conv_list. - -2019-10-31 Tom de Vries - - * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to - gdb_test. - * gdb.arch/amd64-disp-step.exp: Same. - * gdb.asm/asm-source.exp: Same. - * gdb.btrace/buffer-size.exp: Same. - * gdb.btrace/cpu.exp: Same. - * gdb.btrace/enable.exp: Same. - * gdb.dwarf2/count.exp: Same. - * gdb.dwarf2/dw2-ranges-func.exp: Same. - * gdb.dwarf2/dw2-ranges-psym.exp: Same. - * gdb.fortran/vla-datatypes.exp: Same. - * gdb.fortran/vla-history.exp: Same. - * gdb.fortran/vla-ptype.exp: Same. - * gdb.fortran/vla-value.exp: Same. - * gdb.fortran/whatis_type.exp: Same. - * gdb.guile/guile.exp: Same. - * gdb.multi/tids.exp: Same. - * gdb.python/py-finish-breakpoint.exp: Same. - * gdb.python/py-framefilter.exp: Same. - * gdb.python/py-pp-registration.exp: Same. - * gdb.python/py-xmethods.exp: Same. - * gdb.python/python.exp: Same. - * gdb.server/connect-with-no-symbol-file.exp: Same. - * gdb.server/no-thread-db.exp: Same. - * gdb.server/run-without-local-binary.exp: Same. - * gdb.stabs/weird.exp: Same. - * gdb.threads/attach-many-short-lived-threads.exp: Same. - * gdb.threads/thread-find.exp: Same. - * gdb.threads/tls-shared.exp: Same. - * gdb.threads/tls.exp: Same. - * gdb.threads/wp-replication.exp: Same. - * gdb.trace/ax.exp: Same. - * lib/gdb.exp (gdb_test_exact, help_test_raw): Same. - -2019-10-31 Tom de Vries - - * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test. - * gdb.ada/array_subscript_addr.exp: Same. - * gdb.ada/arrayidx.exp: Same. - * gdb.ada/arrayparam.exp: Same. - * gdb.ada/arrayptr.exp: Same. - * gdb.ada/boolean_expr.exp: Same. - * gdb.ada/call_pn.exp: Same. - * gdb.ada/complete.exp: Same. - * gdb.ada/fixed_cmp.exp: Same. - * gdb.ada/fun_addr.exp: Same. - * gdb.ada/funcall_param.exp: Same. - * gdb.ada/interface.exp: Same. - * gdb.ada/mod_from_name.exp: Same. - * gdb.ada/null_array.exp: Same. - * gdb.ada/packed_array.exp: Same. - * gdb.ada/packed_tagged.exp: Same. - * gdb.ada/print_chars.exp: Same. - * gdb.ada/print_pc.exp: Same. - * gdb.ada/ptype_arith_binop.exp: Same. - * gdb.ada/ptype_field.exp: Same. - * gdb.ada/ptype_tagged_param.exp: Same. - * gdb.ada/rec_return.exp: Same. - * gdb.ada/ref_tick_size.exp: Same. - * gdb.ada/str_ref_cmp.exp: Same. - * gdb.ada/taft_type.exp: Same. - * gdb.ada/tagged.exp: Same. - * gdb.ada/type_coercion.exp: Same. - * gdb.ada/uninitialized_vars.exp: Same. - -2019-10-30 Tom de Vries - - * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag. - -2019-10-26 Tom de Vries - - * gdb.base/bigcore.c: Fix typos in comments. - * gdb.base/ctf-ptype.c: Same. - * gdb.base/long_long.c: Same. - * gdb.dwarf2/dw2-op-out-param.S: Same. - * gdb.python/py-evthreads.c: Same. - * gdb.reverse/i387-stack-reverse.c: Same. - * gdb.trace/tfile.c: Same. - * lib/compiler.c: Same. - * lib/compiler.cc: Same. - -2019-10-25 Tom de Vries - - * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in - gdb_test_multiple calls. - * gdb.reverse/sigall-reverse.exp: Same. - * gdb.reverse/solib-precsave.exp: Same. - * gdb.reverse/solib-reverse.exp: Same. - * gdb.reverse/until-precsave.exp: Same. - * gdb.reverse/until-reverse.exp: Same. - -2019-10-24 Tom de Vries - - * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag. - * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing - kfail using -wrap pattern flag and convenience variable - gdb_test_name. - -2019-10-24 Andrew Burgess - - * gdb.python/py-progspace.exp: Add tests for the - Progspace.block_for_pc method. - -2019-10-23 Tom Tromey - - * configure: Rebuild. - * aclocal.m4: Use m4_include, not sinclude. - -2019-10-21 Tom de Vries - - * gdb.base/infcall-nested-structs.c: Add - __attribute__((noinline,noclone)) to all functions. - (call_all): Add missing variable initialization. Simplify return value. - (breakpt): Increment volatile variable, to prevent call from being - optimized out. - * gdb.base/infcall-nested-structs.exp: Compile with -O2. - -2019-10-17 Tom de Vries - - * gdb.fortran/module.exp: Allow info variables to print info for files - other than module.f90. - -2019-10-16 Andrew Burgess - - * gdb.fortran/module.exp: Extend with 'info variables' test. - -2019-10-16 Andrew Burgess - - * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and - F77_FOR_TARGET. - -2019-10-16 Tom de Vries - - PR tdep/25096 - * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs. - -2019-10-16 Tom de Vries - - PR tdep/24104 - * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104. - Add KFAIL for PR tdep/25096. - -2019-10-16 Tom de Vries - - PR testsuite/25059 - * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541. - -2019-10-16 Tom de Vries - - * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed - as signed. - -2019-10-14 Simon Marchi - - * gdb.mi/list-thread-groups-available.exp: Read entries one by - one instead of increasing timeout. - -2019-10-13 Tom de Vries - - PR record/25038 - * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL. - * gdb.reverse/sigall-reverse.exp: Same. - * gdb.reverse/solib-precsave.exp: Same. - * gdb.reverse/solib-reverse.exp: Same. - * gdb.reverse/step-precsave.exp: Same. - * gdb.reverse/until-precsave.exp: Same. - * gdb.reverse/until-reverse.exp: Same. - * lib/gdb.exp (gdb_continue_to_breakpoint): Same. - -2019-10-10 Andreas Arnez - - * gdb.base/infcall-nested-structs.c (cmp_struct_02_01) - (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02) - (cmp_struct_05_01, cmp_struct_static_02_01) - (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant - comparisons. - -2019-10-10 Tom de Vries - - PR testsuite/24888 - * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to - gnatlink. - -2019-10-09 Tom de Vries - - PR testsuite/25048 - * gdb.rust/simple.exp: Add xfails for incorrect DWARF. - -2019-10-07 Andrew Burgess - - * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada - exceptions due to missing debug information. - -2019-10-07 Tom de Vries - - * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1. - -2019-10-07 Andrew Burgess - - * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism. - * gdb.base/annota1.exp: Update to use gdb_test_name. - -2019-10-07 Weimin Pan - - * gdb.base/ctf-whatis.exp: New file. - * gdb.base/ctf-whatis.c: New file. - * gdb.base/ctf-ptype.exp: New file. - * gdb.base/ctf-ptype.c: New file. - * gdb.base/ctf-constvars.exp: New file. - * gdb.base/ctf-constvars.c: New file. - * gdb.base/ctf-cvexpr.exp: New file. - -2019-10-04 Tom de Vries - - * gdb.cp/local-static.c (main): Move declaration of int i out of the - for loop. - -2019-10-03 Tom Tromey - - PR rust/24976: - * gdb.rust/simple.rs (Union2): New type. - (main): Use Union2. - * gdb.rust/simple.exp: Add test. - -2019-10-03 Andrew Burgess - - * gdb.fortran/nested-funcs-2.exp: Run tests with and without the - nested function prefix. - -2019-10-03 Bernhard Heckel - Richard Bunt - Andrew Burgess - - * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on - nested functions. - * gdb.fortran/nested-funcs.f90: Update expected results. - * gdb.fortran/nested-funcs-2.exp: New file. - * gdb.fortran/nested-funcs-2.f90: New file. - -2019-10-03 Andrew Burgess - - * gdb.python/py-parameter.exp: Make test names unique. - * gdb.python/py-template.exp: Likewise. - * gdb.python/py-value.exp: Likewise. - -2019-10-03 Andrew Burgess - - * gdb.base/break-interp.exp: Reduce test name duplication. - * gdb.base/call-sc.exp: Likewise. - * gdb.base/callfuncs.exp: Likewise. - * gdb.base/charset.exp: Likewise. - * gdb.base/dump.exp: Likewise. - * gdb.base/ena-dis-br.exp: Likewise. - * gdb.base/relational.exp: Likewise. - * gdb.base/step-over-syscall.exp: Likewise. - * gdb.base/structs.exp: Likewise. - -2019-10-03 Andrew Burgess - - * gdb.linespec/explicit.exp: Make test names unique. - * gdb.linespec/ls-errs.exp: Likewise. - -2019-10-03 Andrew Burgess - - * gdb.reverse/break-precsave.exp: Make test names unique. - * gdb.reverse/break-reverse.exp: Likewise. - * gdb.reverse/finish-precsave.exp: Likewise. - * gdb.reverse/finish-reverse.exp: Likewise. - * gdb.reverse/machinestate-precsave.exp: Likewise. - * gdb.reverse/machinestate.exp: Likewise. - * gdb.reverse/readv-reverse.exp: Likewise. - * gdb.reverse/recvmsg-reverse.exp: Likewise. - * gdb.reverse/sigall-precsave.exp: Likewise. - * gdb.reverse/sigall-reverse.exp: Likewise. - * gdb.reverse/step-indirect-call-thunk.exp: Likewise. - * gdb.reverse/watch-precsave.exp: Likewise. - * gdb.reverse/watch-reverse.exp: Likewise. - -2019-10-03 Andrew Burgess - - * gdb.threads/stop-with-handle.c: New file. - * gdb.threads/stop-with-handle.exp: New file. - -2019-10-03 Tom de Vries - - PR testsuite/25059 - * gdb.base/list-missing-source.exp: Allowing the "Compilation - directory" line to be missing. - -2019-10-03 Tom de Vries - - PR testsuite/25059 - * gdb.base/info-types.exp: Make the presence of the 'unsigned int' - type optional. - -2019-10-02 Andreas Arnez - - * gdb.python/py-format-string.c (string.h): New include. - (main): Fill a_struct_with_union.the_union.an_int with bytes of - the same value, for endianness-independence. - * gdb.python/py-format-string.exp (default_regexp_dict) - (test_pretty_structs, test_format): Adjust expected output to the - changed initialization. - -2019-10-02 Tom Tromey - - * gdb.ada/catch_ex_std.exp: Add $_ada_exception test. - -2019-10-02 Pedro Alves - Andrew Burgess - - * gdb.base/print-file-var-lib1.c: Include and - "print-file-var.h". - (this_version_id) Use ATTRIBUTE_VISIBILITY. - (get_version_1): Print this_version_id and its address. - Add extern "C" wrappers around interface functions. - * gdb.base/print-file-var-lib2.c: Include and - "print-file-var.h". - (this_version_id) Use ATTRIBUTE_VISIBILITY. - (get_version_2): Print this_version_id and its address. - Add extern "C" wrappers around interface functions. - * gdb.base/print-file-var-main.c: Include , , - and "print-file-var.h". - Add extern "C" wrappers around interface functions. - [VERSION_ID_MAIN] (this_version_id): Define. - (main): Define v0. Use dlopen if SHLIB_NAME is defined. - * gdb.base/print-file-var.h: Add some #defines to simplify setting - up extern "C" blocks. - * gdb.base/print-file-var.exp (test): New, factored out from top - level. - (top level): Test all combinations of attribute hidden or not, - dlopen or not, and this_version_id symbol in main file or not. - Compile tests as both C++ and C, make test names unique. - -2019-10-01 Tom Tromey - - * gdb.base/style.exp: Test "show logging filename". - -2019-10-01 Tom Tromey - - * lib/gdb-utils.exp (style): Handle "metadata" argument. - * gdb.base/style.exp: Add metadata style test. - -2019-10-01 Tom Tromey - - * gdb.base/style.exp: Test "pwd". - -2019-10-01 Tom Tromey - - * gdb.base/style.exp: Update tests. - -2019-10-01 Andreas Arnez - - * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and - 'six' to unsigned. - (s1): Initialize fields 'four' and 'six' instead of 'three' and - 'five'. Use an all-ones bit pattern for each. - * gdb.base/pretty-print.exp: Adjust expected output of "print s1" - to its changed values. - -2019-09-30 Tom Tromey - - * gdb.rust/traits.rs: Disable all warnings. - -2019-09-29 Tom de Vries - - * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file. - -2019-09-29 Tom de Vries - - * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy. - -2019-09-27 Tom de Vries - - * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps. - -2019-09-27 Tom de Vries - - PR record/23188 - * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188. - -2019-09-26 Tom Tromey - - * gdb.ada/py_taft.exp: New file. - * gdb.ada/py_taft/main.adb: New file. - * gdb.ada/py_taft/pkg.adb: New file. - * gdb.ada/py_taft/pkg.ads: New file. - -2019-09-24 Tom de Vries - - PR gdb/24598 - * gdb.arch/amd64-init-x87-values.exp: Add xfail. - -2019-09-22 Tom de Vries - - * gdb.base/restore.exp: Allow register variables to be optimized out at - -O0. - -2019-09-20 Ulrich Weigand - - * gdb.arch/spu-info.exp: Remove file. - * gdb.arch/spu-info.c: Remove file. - * gdb.arch/spu-ls.exp: Remove file. - * gdb.arch/spu-ls.c: Remove file. - - * gdb.asm/asm-source.exp: Remove support for spu*-*-*. - * gdb.asm/spu.inc: Remove file. - - * gdb.base/dump.exp: Remove support for spu*-*-*. - * gdb.base/stack-checking.exp: Likewise. - * gdb.base/overlays.exp: Likewise. - * gdb.base/ovlymgr.c: Likewise. - * gdb.base/spu.ld: Remove file. - - * gdb.cp/bs15503.exp: Remove support for spu*-*-*. - * gdb.cp/cpexprs.exp: Likewise. - * gdb.cp/exception.exp: Likewise. - * gdb.cp/gdb2495.exp: Likewise. - * gdb.cp/mb-templates.exp: Likewise. - * gdb.cp/pr9167.exp: Likewise. - * gdb.cp/userdef.exp: Likewise. - - * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*. - - * gdb.cell: Remove directory. - * lib/cell.exp: Remove file. - -2019-09-19 Tom de Vries - - * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern. - -2019-09-19 Tom de Vries - - * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing. - -2019-09-19 Tom de Vries - - * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning - UNSUPPORTED) for 'Network is unreachable' message. Factor out of ... - (gdb_target_cmd): ... here. - * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return - value 2. - -2019-09-18 Andrew Burgess - - * gdb.base/source-dir.exp: Avoid having directory names in test - names. - -2019-09-17 Andrew Burgess - - * gdb.base/source-dir.exp: Add extra test for mapped compilation - directory. - -2019-09-17 Andrew Burgess - - * gdb.base/list-missing-source.exp: New file. - -2019-09-14 Tom de Vries - - PR teststuite/24599 - * gdb.ada/rename_subscript_param.exp: Require gnatmake 8. - * lib/ada.exp (gnatmake_version_at_least): New proc. - -2019-09-12 Andrew Burgess - - * gdb.base/maint.exp: Use exec_has_index_section. - -2019-09-12 Andrew Burgess - - * gdb.base/maint.exp: Add test for 'maint info sections'. - -2019-09-12 Tom de Vries - - * gdb.base/store.exp: Allow register variables to be optimized out at - -O0. - -2019-09-12 Philippe Waroquiers - - * gdb.ada/rdv_wait.exp: Update to new task names. - * gdb.base/task_switch_in_core.exp: Likewise. - * gdb.base/info_sources_base.c: Likewise. - -2019-09-10 Tom Tromey - - * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET. - -2019-09-10 Tom Tromey - - * gdb.ada/dgopt.exp: New file. - * gdb.ada/dgopt/x.adb: New file. - -2019-09-08 Tom Tromey - - * gdb.tui/resize.exp: Remove setup_xfail. - * gdb.tui/regs.exp: Remove setup_xfail. - * gdb.tui/basic.exp: Remove setup_xfail. - -2019-09-06 David Blaikie - - * gdb.base/label.exp: un-XFAIL label related tests under Clang. - * gdb.cp/cplabel.exp: Ditto. - * gdb.linespec/ls-errs.exp: Ditto. - -2019-09-05 Tom de Vries - - * lib/gdb.exp (cmp_file_string): New proc. - * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with - runto_main. Verify save breakpoints output. - -2019-09-04 Philippe Waroquiers - - * gdb.base/info-var.exp: Test info variables without running - to main, to avoid expect's buffer overflow. - -2019-09-03 Tom Tromey - - * gdb.ada/bias.exp: New file. - * gdb.ada/bias/bias.adb: New file. - * gdb.ada/print_chars.exp: Add regression test. - * gdb.ada/print_chars/foo.adb (My_Character): New type. - (MC): New variable. - -2019-08-29 Sandra Loosemore - - * gdb.base/argv0-symlink.exp: Run only on native target - and local host. - -2019-08-29 Tom de Vries - - * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more - diverse debug info. - * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4. - -2019-08-28 Tom de Vries - - * gdb.base/info-var.exp: Allow info variables to print info for files - other than info-var-f1.c and info-var-f2.c. - -2019-08-28 Andrew Burgess - - * gdb.fortran/info-types.exp: Add module. - * gdb.fortran/info-types.f90: Update expected results. - -2019-08-28 Andrew Burgess - - * gdb.fortran/info-types.exp: New file. - * gdb.fortran/info-types.f90: New file. - * lib/fortran.exp (fortran_character1): New proc. - -2019-08-27 Andrew Burgess - - * gdb.base/info-fun.exp: Extend to test the -n flag for 'info - functions'. Reindent as needed. - * gdb.base/info-var-f1.c: New file. - * gdb.base/info-var-f2.c: New file. - * gdb.base/info-var.exp: New file. - * gdb.base/info-var.h: New file. - -2019-08-26 Tom de Vries - - PR c++/24852 - * gdb.cp/no-libstdcxx-probe.exp: New test. - -2019-08-26 Tom de Vries - - * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe - * tests need to be skipped. - * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests. - * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to - mi_skip_libstdcxx_probe_tests. - -2019-08-26 Sergio Durigan Junior - - * gdb.python/py-xmethods.exp: Use raw strings when passing - arguments to SimpleXMethodMatcher. - -2019-08-22 Tom de Vries - - * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages - more informative. - -2019-08-21 Pedro Alves - - * gdb.base/with.exp: Test "with" with no arguments. - -2019-08-21 Tom de Vries - - * gdb.base/gdb-caching-proc.exp: Sort files. - -2019-08-20 Tom de Vries - - * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before - compilation. - -2019-08-16 Tom de Vries - - * gdb.base/compare-sections.exp ("after run to main"): Allow - mismatched read-only sections for PIE executables. - -2019-08-16 Tom Tromey - - * lib/tuiterm.exp (_csi_Z): New proc. - * gdb.tui/basic.exp: Update window positions. - * gdb.tui/empty.exp: Update window positions. - -2019-08-15 Sandra Loosemore - - * gdb.base/examine-backward.exp: Correct regexp for - "examine 3 bytes backward from ${address_zero}". - -2019-08-15 Tom Tromey - - * gdb.tui/empty.exp: Enable resizing tests. - -2019-08-15 Tom Tromey - - * gdb.ada/char_enum.exp: Add regression tests. - * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_' - and '0'. - (Char, Gchar): Update. - * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'. - -2019-08-15 Christian Biesinger - - * gdb.python/python.exp: Expect a leading underscore on - GdbOutput{,Error}File. - -2019-08-15 Sandra Loosemore - - * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or - Windows host. - -2019-08-15 Sandra Loosemore - - * gdb.base/batch-preserve-term-settings.exp - (test_terminal_settings_preserved_after_sigterm): Skip on Windows. - -2019-08-15 Christian Biesinger - - * lib/gdb.exp: When running on a mingw target, replace - /x/ with x:/. - -2019-08-14 Alan Hayward - - * gdb.arch/aarch64-prologue.c: New test. - * gdb.arch/aarch64-prologue.exp: New file. - -2019-08-13 Tom de Vries - - * gdb.gdb/selftest.exp (send ^C to child process again): Accept also - Thread. - -2019-08-13 Sandra Loosemore - - * gdb.python/py-completion.exp: Download the .py file to the host - and use its host pathname. Conditionalize tests that use - tab completion and manipulate files on the build machine. - * gdb.python/py-events.exp: Download the .py file to the host - and use its host pathname. - * gdb.python/py-evsignal.exp: Likewise. - * gdb.python/py-evthreads.exp: Likewise. - * gdb.python/py-framefilter-invalidarg.exp: Match Windows - pathname syntax. - * gdb.python/py-framefilter.exp: Download the .py file to the right - place on the host. Match Windows pathname syntax. - * gdb.python/py-mi-var-info-path-expression.exp: Download the - .py file to the host and use its host pathname. - * gdb.python/py-objfile-script.exp: Match Windows pathname syntax. - * gdb.python/py-objfile.exp: Expect a host pathname, not a - build pathname. Skip symlink test on Windows host. Add missing - newline at end of file. - * gdb.python/py-pp-maint.exp: Download the .py file to the host - and use its host pathname. - * gdb.python/py-pp-registration.exp: Match Windows pathname syntax. - * gdb.python/py-section-script.exp: Use host location of binfile - on safe-path. Use correct path separator on Windows host. - Reorder alternatives in gdb_test_multiple to prevent matching - the wrong alternative on success. - * gdb.python/py-symtab.exp: Match Windows pathname syntax. - -2019-08-12 Patrick Palka - - * gdb.gdb/selftest.exp (test_with_self): Update test to now - expect the GDB inferior to no longer immediately stop after - being resumed with "signal SIGINT". - -2019-08-09 Sandra Loosemore - - * gdb.linespec/break-ask.exp: Generalize regexps to match - Windows pathnames too. - -2019-08-08 Tom de Vries - - PR testsuite/24862 - * lib/tuiterm.exp (_accept): Fix CSI regexp. - -2019-08-07 Philippe Waroquiers - - * gdb.base/style.exp: Update tests for help doc new invariants. - * gdb.base/help.exp: Likewise. - -2019-08-06 Tom Tromey - - * gdb.base/style.exp: Add disassemble test. - * gdb.base/style.c (some_called_function): New function. - (main): Use it. - -2019-08-05 Christian Biesinger - - * gdb.python/py-block.exp: Test dictionary access on blocks. - -2019-08-05 Simon Marchi - - PR gdb/24863 - * gdb.mi/list-thread-groups-available.exp: Increase timeout for - -list-thread-groups --available test when running under - check-read1. - -2019-08-05 Tom de Vries - - PR testsuite/24863 - * lib/gdb.exp (with_read1_timeout_factor): New proc. - * gdb.base/help.exp: Use with_read1_timeout_factor. - * gdb.base/info-macros.exp: Same. - * gdb.cp/nested-types.exp: Same. - -2019-08-05 Tom de Vries - - * lib/gdb.exp (version_at_least): Factor out of ... - (tcl_version_at_least): ... here. - (gdb_compile): Fail if pie results in non-PIE executable. - (readelf_version, readelf_prints_pie): New proc. - (exec_is_pie): Return -1 if unknown. - -2019-08-05 Tom de Vries - - * lib/gdb.exp (tcl_version_at_least): Fix typo. - -2019-08-04 Sandra Loosemore - - * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts. - -2019-08-04 Sandra Loosemore - - * lib/completion-support.exp (test_gdb_complete_none): Skip - tab completion tests if no readline support. - (test_gdb_complete_unique_re): Likewise. - (test_gdb_complete_multiple): Likewise. - -2019-08-03 Philippe Waroquiers - - * gdb.base/info_sources.exp: New file. - * gdb.base/info_sources.c: New file. - * gdb.base/info_sources_base.c: New file. - -2019-08-01 Pedro Franco de Carvalho - - * gdb.base/batch-exit-status.exp: Call test_exit_status with - prefix argument. - (test_exit_status): Add prefix argument. - -2019-08-01 Tom de Vries - - PR testsuite/24863 - * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by - calling exp_continue for new thread and thread exited messages. - -2019-08-01 Tom de Vries - - PR testsuite/24863 - * gdb.base/structs.exp: Fix check-read1 timeout using - gdb_test_sequence. - * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc. - -2019-08-01 Tom de Vries - - PR testsuite/24863 - * gdb.base/break-interp.exp: Use exp_continue after each "info files" - line. - -2019-08-01 Tom de Vries - - PR testsuite/24863 - * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence. - -2019-07-30 Tom Tromey - - * gdb.ada/display_nested.exp: New file. - * gdb.ada/display_nested/foo.adb: New file. - * gdb.ada/display_nested/pack.adb: New file. - * gdb.ada/display_nested/pack.ads: New file. - -2019-07-30 Christian Biesinger - - * gdb.python/py-symbol.c: Add a static variable and one in an anonymous - namespace. - * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol. - -2019-07-30 Tom de Vries - - * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1) - instead. - -2019-07-30 Tom de Vries - - PR testsuite/24834 - * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable. - (exec_is_pie): New proc. - -2019-07-29 Christian Biesinger - - * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent) - -2019-07-29 Christian Biesinger - - * gdb.python/py-objfile.c: Add global and static vars. - * gdb.python/py-objfile.exp: Test new functions Objfile. - lookup_global_symbol and lookup_static_symbol. - -2019-07-29 Tom Tromey - - * lib/tuiterm.exp (Term::_csi_@): New proc. - (Term::_csi_X): Don't move cursor. - -2019-07-29 Philippe Waroquiers - - * gdb.base/options.exp: Update backtrace - completion to - new option -frame-info. - * gdb.base/frame-args.exp: Test new 'frame-arguments presence'. - Test new 'set print frame-info'. Test backtrace -frame-info - overriding 'set print frame-info'. - * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'. - Test new 'set print frame-info'. - Verify consistency of backtrace with and without filters, with and - without -no-filters. - * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what - default. - -2019-07-29 Tom de Vries - - * gdb.linespec/explicit.exp: Fix completion trigger for "complete with - no arguments". - -2019-07-29 Tom de Vries - - * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second - is a substring of the first for "complete non-unique file name". - -2019-07-29 Tom de Vries - - * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp - with ".*". - -2019-07-29 Tom de Vries - - * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1): - Pass prompt_regexp parameter to gdb_test_multiple calls. - -2019-07-29 Tom de Vries - - * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint - print registers" regexps. - -2019-07-29 Tom de Vries - - * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp. - -2019-07-29 Tom de Vries - - PR gdb/24855 - * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter. - (skip_python_tests_prompt): Add prompt_regexp argument to - gdb_test_multiple calls. - -2019-07-27 Tom Tromey - - * gdb.tui/main.exp: New file. - -2019-07-27 Tom Tromey - - * lib/tuiterm.exp (Term::clean_restart): Make "executable" - optional. - * gdb.tui/empty.exp: New file. - -2019-07-27 Tom Tromey - - * lib/tuiterm.exp (spawn): New proc. - (Term::resize): New proc. - * gdb.tui/resize.exp: New file. - -2019-07-27 Tom Tromey - - * gdb.tui/list.exp: New file. - -2019-07-27 Tom Tromey - - * gdb.tui/regs.exp: New file. - -2019-07-27 Tom Tromey - - * gdb.tui/basic.exp: Add "layout split" test. - -2019-07-27 Tom Tromey - - * gdb.tui/basic.exp: Add "layout asm" test. - -2019-07-27 Tom Tromey - - * lib/tuiterm.exp: New file. - * gdb.tui/basic.exp: New file. - -2019-07-27 Kevin Buettner - - * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping): - Enable tests associated with this flag. Adjust regex - referencing "foo_low" to now refer to "foo_cold" instead. - -2019-07-27 Kevin Buettner - - * gdb.dwarf2/dw2-ranges-func.c: Rename to... - * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this. - * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to - foo_cold. Revise comments to match. - * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file. - * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests - were wrapped into this proc; Call do_test in loop from outermost - level. - (foo_low): Rename all occurrences to "foo_cold". - (backtrace from baz): New test. - (x2/i foo_cold): New test. - (info line *foo_cold): New test. - -2019-07-26 Tom de Vries - - * gdb.arch/i386-pkru.exp: Fix unterminated string. - -2019-07-25 Tom de Vries - - PR testsuite/24830 - * gdb.mi/mi-catch-cpp-exceptions.exp: Call - mi_skip_libstdcxx_probe_tests, and skip unsupported tests. - * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ... - (skip_libstdcxx_probe_tests): ... here. - * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc. - -2019-07-24 Tom de Vries - - PR testsuite/24807 - * gdb.objc/basicclass.m: Include stdio.h. - * gdb.objc/nondebug.m: Same. - * gdb.objc/objcdecode.m: Same. - -2019-07-24 Tom de Vries - - PR testsuite/24612 - * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to - additional_flags. - -2019-07-24 Tom de Vries - - PR testsuite/24831 - * gdb.multi/tids.exp: Update error messages for info threads. - -2019-07-24 Tom de Vries - - * gdb.base/info-types.exp: Allow info types to print info for more than - one file. - -2019-07-23 Tom de Vries - - PR testsuite/24842 - * gdb.dwarf2/multidictionary.exp: Consume initial prompt after - gdb_spawn_with_cmdline_opts. - -2019-07-23 Srinath Parvathaneni - - * gdb.arch/arm-cmse-sgstubs.c: New test. - * gdb.arch/arm-cmse-sgstubs.exp: New file. - -2019-07-23 Tom de Vries - - PR testsuite/24711 - * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before - issuing next command. - -2019-07-22 Andrew Burgess - - * gdb.ada/info_auto_lang.exp: Update expected results. - * gdb.base/info-types.c: Add additional types to check. - * gdb.base/info-types.exp: Update expected results. - -2019-07-22 Andrew Burgess - - * gdb.base/info-types.c: New file. - * gdb.base/info-types.exp: New file. - -2019-07-19 Andrew Burgess - - * gdb.arch/riscv-bp-infcall.c: New file. - * gdb.arch/riscv-bp-infcall.exp: New file. - -2019-07-17 Andrew Burgess - - PR breakpoints/24541 - * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541. - -2019-07-14 Tom de Vries - - PR testsuite/24760 - * gdb.objc/basicclass.exp: Fix unterminated string. - -2019-07-12 Bernhard Heckel - Andrew Burgess - - * gdb.fortran/vla-ptype.exp: Print array with negative bounds. - * gdb.fortran/vla-sizeof.exp: Print the size of an array with - negative bounds. - * gdb.fortran/vla-value.exp: Print elements of an array with - negative bounds. - * gdb.fortran/vla.f90: Setup an array with negative bounds for - testing. - -2019-07-11 Andrew Burgess - - * gdb.base/options.exp (expect_string): Dequote strings in - results. - (test-string): Test strings with different quoting and reindent. - -2019-07-10 Tom Tromey - - * gdb.ada/mi_ex_cond.exp: Update expected results. - * gdb.ada/mi_catch_ex_hand.exp: Update expected results. - * gdb.ada/mi_catch_ex.exp: Update expected results. - * gdb.ada/mi_catch_assert.exp: Update expected results. - * gdb.ada/catch_ex.exp (catch_exception_info) - (catch_exception_entry, catch_assert_entry) - (catch_unhandled_entry): Update. - * gdb.ada/catch_assert_if.exp: Update expected results. - -2019-07-10 Richard Bunt - Stephen Roberts - - * gdb.base/define.exp: Restore original prompt. - -2019-07-09 Pedro Alves - - * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info - breakpoints" output. - * gdb.cp/exception.exp: Adjust expected "info breakpoints" output. - * gdb.python/py-breakpoint.exp: No longer expect that "catch - throw" creates breakpoint. - * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect - 'type="catchpoint"'. - -2019-07-09 Pedro Alves - - PR c++/15468 - * gdb.cp/except-multi-location-lib.cc: New. - * gdb.cp/except-multi-location-main.cc: New. - * gdb.cp/except-multi-location.exp: New. - -2019-07-09 Sergio Durigan Junior - - * gdb.base/printcmds.exp (test_printf_convenience_var): Set - language to "c++" before dealing with wchar_t. Remove DO_WSTRING - argument and update callers. - -2019-07-09 Andrew Burgess - - * gdb.arch/amd64-break-on-asm-line.S: New file. - * gdb.arch/amd64-break-on-asm-line.exp: New file. - -2019-07-08 Philippe Waroquiers - - * gdb.base/printcmds.exp: Test printing C string and - C wide string convenience vars without transiting via the inferior. - Also make test names unique. - -2019-07-08 Alan Hayward - - PR breakpoints/25011 - * gdb.base/break-idempotent.exp: Test both PIE and non PIE. - -2019-07-04 Pedro Alves - - * lib/gdb.exp (foreach_with_prefix): Don't return early if - body returned ok(0), break(3) or continue(4). - * gdb.testsuite/foreach_with_prefix.exp: New file. - -2019-07-04 Alan Hayward - - * gdb.server/unittest.exp: Allow 0 unit tests to run. - -2019-07-03 Pedro Alves - - * lib/gdb.exp (foreach_with_prefix): Use "catch" and - "return -code". - -2019-07-03 Pedro Alves - - PR cli/24732 - * gdb.base/shell.exp: Load completion-support.exp. - Adjust expected error output. Add completion tests. - -2019-07-03 Pedro Alves - - * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use - string_to_regexp. - -2019-07-03 Pedro Alves - - * gdb.base/options.exp (expect_none, expect_flag, expect_bool) - (expect_integer): Adjust to expect "-string". - (expect_string): New. - (all_options): Expect "-string". - (test-flag, test-boolean): Adjust to expect "-string". - (test-string): New proc. - (top level): Call it. - -2019-07-03 Pedro Alves - - * gdb.base/options.exp (test-misc, test-flag, test-boolean) - (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass - the expected output in the success. - -2019-07-03 Pedro Alves - - * lib/completion-support.exp (test_gdb_complete_tab_multiple): - Split one gdb_test_multiple call in two to avoid a race. - -2019-07-03 Pedro Alves - - * gdb.base/with.c: New file. - * gdb.base/with.exp: New file. - -2019-07-03 Pedro Alves - - * gdb.base/settings.exp: Replace all references to "maint - test-settings set" with references to "maint set test-settings", - and all references to "maint test-settings show" with references - to "maint show test-settings". - -2019-07-03 Pedro Alves - - * gdb.base/settings.exp (test-string): Adjust expected out when - testing "maint test-settings show filename" - -2019-07-02 Pedro Alves - - * gdb.base/options.exp (test-info-threads): New procedure. - (top level): Call it. - -2019-06-28 Tom Tromey - - * gdb.dwarf2/ada-linkage-name.c: New file. - * gdb.dwarf2/ada-linkage-name.exp: New file. - -2019-06-27 Tom Tromey - - PR c++/20020: - * gdb.cp/constexpr-field.exp: Use setup_xfail. - -2019-06-26 Tom de Vries - - * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF. - -2019-06-26 Tom de Vries - - * gdb.base/index-cache.exp: Add back missing debug option. - -2019-06-23 Philippe Waroquiers - - * gdb.base/alias.exp: Test non matching/non existing prefixes. - -2019-06-25 Tom de Vries - - PR testsuite/24727 - * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1. - -2019-06-24 Tom de Vries - - * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference. - -2019-06-24 Tom de Vries - - * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of - DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file. - * gdb.trace/unavailable-dwarf-piece.exp: Same. - -2019-06-24 Tom de Vries - - * gdb.dwarf2/inlined_subroutine-inheritance.exp: - -2019-06-21 Tom de Vries - - * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id. - -2019-06-21 Tom de Vries - - PR testsuite/24518 - PR ada/24713 - * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains - index. - -2019-06-19 Tom Tromey - - * gdb.ada/length_cond.exp: Add intro comment. - -2019-06-19 Tom Tromey - - * gdb.ada/length_cond.exp: New file. - * gdb.ada/length_cond/length_cond.adb: New file. - * gdb.ada/length_cond/pck.adb: New file. - * gdb.ada/length_cond/pck.ads: New file. - -2019-06-18 Tom de Vries - - * boards/fission.exp (debug_flags): Add "-fuse-ld=gold". - -2019-06-18 Tom Tromey - - * gdb.base/list0.h: Add comment explaining control character. - -2019-06-18 Tom de Vries - - * boards/fission.exp: Break up long debug_flags line. - -2019-06-16 Tom de Vries - - PR gdb/24445 - * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with - generated index. - -2019-06-16 Andrew Burgess - - PR gdb/24686 - * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to - improve detection of bug gdb/24541. - -2019-06-16 Simon Marchi - - PR gdb/24669 - * gdb.base/index-cache.exp (uses_readnow, - expecting_index_cache_use): Define global variable. - (test_cache_enabled_miss, test_cache_enabled_hit): Use - expecting_index_cache_use. - -2019-06-16 Bernhard Heckel - Andrew Burgess - - * gdb.fortran/pointers.f90: New file. - * gdb.fortran/print_type.exp: New file. - * gdb.fortran/vla-ptype.exp: Adapt expected results. - * gdb.fortran/vla-type.exp: Likewise. - * gdb.fortran/vla-value.exp: Likewise. - * gdb.mi/mi-vla-fortran.exp: Likewise. - -2019-06-15 Andrew Burgess - - * gdb.mi/mi-catch-cpp-exceptions.cc: New file. - * gdb.mi/mi-catch-cpp-exceptions.exp: New file. - * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught' - as a stop reason. - -2019-06-15 Andrew Burgess - - * gdb.base/annota1.exp: Update expected results. - * gdb.cp/annota2.exp: Likewise. - * gdb.cp/annota3.exp: Likewise. - -2019-06-15 Andrew Burgess - - * gdb.base/style-logging.exp: Remove path from test name. - -2019-06-14 Tom Tromey - - PR gdb/24502: - * gdb.base/style-logging.exp: New file. - -2019-06-14 Tom Tromey - - * gdb.base/symfile-warn.exp: New file. - * gdb.base/symfile-warn.c: New file. - -2019-06-14 Tom Tromey - - * gdb.base/annotate-symlink.exp: New file. - -2019-06-14 Tom Tromey - - * gdb.ada/set_wstr.exp: Add reassignment test. - -2019-06-14 Tom Tromey - - * gdb.ada/formatted_ref.exp (test_p_x_addr): Check - 'unchecked_access and 'unrestricted_access as well. - -2019-06-14 Tom Tromey - - PR ada/24539: - * gdb.ada/vla.exp: Update tests. - * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering - pragma. - -2019-06-13 Pedro Alves - - * gdb.base/settings.exp (test-integer): Test junk after - "unlimited". - -2019-06-13 Pedro Alves - - * gdb.base/options.exp (test-thread-apply): New. - (top level): Call it. - -2019-06-13 Pedro Alves - - * gdb.base/options.exp (test-frame-apply): New. - (top level): Test print commands with different "frame apply" - prefixes. - -2019-06-13 Pedro Alves - - * lib/completion-support.exp (test_gdb_complete_tab_multiple) - (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add - 'max_completions' parameter and handle it. - (test_gdb_completion_offers_commands): New. - -2019-06-13 Pedro Alves - - * gdb.base/options.exp (test-backtrace): Test completing qualifiers. - -2019-06-13 Pedro Alves - - * gdb.base/options.exp (test-backtrace): New. - (top level): Call it. - -2019-06-13 Pedro Alves - - * gdb.guile/scm-frame-args.exp: Use "set print - raw-frame-arguments" instead of "set print raw frame-arguments". - * gdb.python/py-frame-args.exp: Likewise. - -2019-06-13 Pedro Alves - - * gdb.compile/compile.exp: Adjust expected output to option - processing changes. - -2019-06-13 Pedro Alves - - * gdb.base/options.exp: Build executable. - (test-print): New procedure. - (top level): Call it, once for "print" and another for "compile - print". - -2019-06-13 Pedro Alves - - * gdb.base/options.c: New file. - * gdb.base/options.exp: New file. - -2019-06-13 Pedro Alves - - * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check - that "o" is ambiguous. - -2019-06-13 Pedro Alves - - * gdb.base/settings.c: New file. - * gdb.base/settings.exp: New file. - -2019-06-13 Pedro Alves - - * gdb.base/completion.exp: Fix comment typo. - -2019-06-13 Pedro Alves - - * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1 - foo --1" test. - -2019-06-11 Bernhard Heckel - - * gdb.fortran/block-data.f: New. - * gdb.fortran/block-data.exp: New. - -2019-06-11 Tom de Vries - - PR testsuite/24521 - * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols" - message. - -2019-06-11 Tom de Vries - - PR testsuite/24521 - * gdb.dwarf2/nonvar-access.exp: Fix main high_pc. - -2019-06-11 Tom de Vries - - * boards/readnow.exp: New file. - -2019-06-10 Andrew Burgess - - * gdb.fortran/vla-sizeof.exp: Update expected results. - -2019-06-06 Amos Bird - - * gdb.base/annota1.exp (thread_switch): Add test for - thread-exited annotation. - -2019-06-06 Tom Tromey - - * gdb.base/maint.exp: Expect command started/finished output. - -2019-06-05 Andrew Burgess - - * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in - comment. - * gdb.arch/riscv-unwind-long-insn-8.s: Likewise. - -2019-06-05 Andrew Burgess - - * gdb.arch/riscv-unwind-long-insn-6.s: New file. - * gdb.arch/riscv-unwind-long-insn-8.s: New file. - * gdb.arch/riscv-unwind-long-insn.c: New file. - * gdb.arch/riscv-unwind-long-insn.exp: New file. - -2019-06-04 Christian Biesinger - - * gdb.python/py-type.exp: Test for new gdb.Type.objfile property. - -2019-06-03 Philippe Waroquiers - - * lib/gdb.exp (help_list_trailer): New regexp variable - factorizing the help trailer message. - (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS - arg to allow to better factorize various tests. - (test_user_defined_class_help): Factorizes testing 'help user-defined'. - (test_prefix_command_help): Use help_list_trailer. - * gdb.python/py-cmd.exp: Use test_user_defined_class_help. - * gdb.guile/scm-cmd.exp: Likewise. - * gdb.trace/tracecmd.exp: Update caller of test_class_help. - * gdb.base/help.exp: Use test_user_defined_class_help. - * gdb.base/style.exp: Add tests for styling of help and apropos. - * lib/gdb-utils.exp (style): Add title and highlight styles. - -2019-05-31 Philippe Waroquiers - - * gdb.base/shell.exp: Test pipe command, $_shell_exitcode, - $_shell_exitsignal. - * gdb.base/default.exp: Update for new convenience variables. - -2019-05-29 Tom Tromey - - * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-" - to "break complete ada" test case's regexp. - -2019-05-29 Tom Tromey - - PR c++/20020: - * gdb.cp/constexpr-field.exp: New file. - * gdb.cp/constexpr-field.cc: New file. - -2019-05-29 Tom Tromey - - * gdb.base/finish.exp (finish_no_print): New proc. - (finish_tests): Call it. - -2019-05-24 Tom de Vries - - * gdb.dwarf2/gdb-add-index.exp: New file. - -2019-05-22 Tom Tromey - - * gdb.base/info-shared.exp (check_info_shared): Use "style". - * gdb.base/style.exp: Use "style". - * lib/gdb-utils.exp (style): New proc. - -2019-05-22 Tom de Vries - - * gdb.base/align.exp: Require c++11. - -2019-05-22 Tom de Vries - - PR testsuite/24586 - * gdb.python/py-mi-var-info-path-expression.exp: Call - mi_skip_python_tests to check if python is supported. - -2019-05-22 Alan Hayward - - * gdb.arch/aarch64-pauth.c: New test. - * gdb.arch/aarch64-pauth.exp: New file. - -2019-05-22 Alan Hayward - - * README (Re-running Tests Outside The Testsuite): New section. - -2019-05-21 Tom de Vries - - * gdb.arch/amd64-eval.exp: Require c++11. - * gdb.base/max-depth.exp: Same. - * gdb.compile/compile-cplus-array-decay.exp: Same. - * gdb.cp/meth-typedefs.exp: Same. - * gdb.cp/subtypes.exp: Same. - * gdb.cp/temargs.exp: Same. - -2019-05-21 Alan Hayward - - * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional. - -2019-05-18 Andrew Burgess - - PR gdb/18644 - * gdb.fortran/complex.exp: Remove setup_kfail calls. - * gdb.fortran/printing-types.exp: Add new test. - * gdb.fortran/printing-types.f90: Add 16-byte real variable for - testing. - * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove - setup_kfail call. - -2019-05-17 Alan Hayward - - * README (Running the Testsuite): Change example. - (Testsuite Parameters): Remove TRANSCRIPT. - * lib/gdb.exp: Remove TRANSCRIPT check. - -2019-05-17 Alan Hayward - - * README (Testsuite Parameters): Add replay logging to - GDBSERVER_DEBUG. - (gdbserver,debug): Refer to GDBSERVER_DEBUG. - * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug - as a comma separated list. - (gdb_debug_init): Override procedure. - -2019-05-17 Alan Hayward - - * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file. - (gdb_write_cmd_file): New procedure. - * lib/gdbserver-support.exp (gdbserver_start): Call - gdbserver_write_cmd_file. - (gdbserver_write_cmd_file): New procedure. - -2019-05-17 Alan Hayward - - * lib/gdb.exp (gdb_unload): Mark Y as an answer. - (delete_breakpoints): Likewise. - (gdb_run_cmd): Likewise. - (gdb_start_cmd): Likewise. - (gdb_starti_cmd): Likewise. - (gdb_internal_error_resync): Likewise. - (gdb_test_multiple): Likewise. - (gdb_reinitialize_dir): Likewise. - (default_gdb_exit): Likewise. - (gdb_file_cmd): Mark kill as optional. - (default_gdb_start): Call gdb_stdin_log_init. - (send_gdb): Call gdb_stdin_log_write. - (rerun_to_main): Mark Y as an answer. - (gdb_stdin_log_init): New function. - (gdb_stdin_log_write): Likewise. - -2019-05-17 Alan Hayward - - * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging. - * gdb.base/debug-expr.exp: Likewise. - * gdb.base/foll-fork.exp: Likewise. - * gdb.base/foll-vfork.exp: Likewise. - * gdb.base/fork-print-inferior-events.exp: Likewise. - * gdb.base/gdb-sigterm.exp: Likewise. - * gdb.base/gdbinit-history.exp: Likewise. - * gdb.base/osabi.exp: Likewise. - * gdb.base/sss-bp-on-user-bp-2.exp: Likewise. - * gdb.base/ui-redirect.exp: Likewise. - * gdb.gdb/unittest.exp: Likewise. - * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging. - * gdb.mi/mi-watch.exp: Likewise. - * gdb.mi/new-ui-mi-sync.exp: Likewise. - * gdb.mi/user-selected-context-sync.exp: Likewise. - * gdb.python/python.exp: Disable debug test when debugging. - * gdb.threads/check-libthread-db.exp: Disable when debugging. - * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: - Likewise. - * gdb.threads/stepi-random-signal.exp: Likewise. - -2019-05-17 Alan Hayward - - * Makefile.in: Pass through GDB_DEBUG. - * README (Testsuite Parameters): Add GDB_DEBUG. - (gdb,debug): Add board setting. - * lib/gdb.exp (default_gdb_start): Start debugging. - (gdb_debug_enabled): New procedure. - (gdb_debug_init): Likewise. - -2019-05-17 Alan Hayward - - * Makefile.in: Pass through GDB_DEBUG. - * README (Testsuite Parameters): Add GDB_DEBUG. - (gdb,debug): Add board setting. - * lib/gdb.exp (default_gdb_start): Start debugging. - (gdb_debug_enabled): New procedure. - (gdb_debug_init): Likewise. - -2019-05-17 Alan Hayward - - * gdb.base/ui-redirect.exp: Add debug redirect tests. - -2019-05-17 Alan Hayward - - * gdb.base/ui-redirect.exp: Test redirection. - -2019-01-28 Jan Vrany - - * gdb.mi/mi-complete.exp: New file. - * gdb.mi/mi-complete.cc: Likewise. - -2019-05-15 Bernhard Heckel - - * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to - indexed and sliced arrays, and pointers to arrays. - -2019-05-14 Tom Tromey - - * gdb.base/info-shared.exp (check_info_shared): Add "info shared" - styling test. - -2019-05-14 Tom de Vries - - * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address - selection entry encoding. - -2019-05-10 Tom Tromey - - * gdb.ada/info_exc.exp: Add "complete" test. - -2019-05-09 Tom de Vries - - * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references - CU-relative. - -2019-05-09 Tom de Vries - - * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references - CU-relative. - -2019-05-08 Joel Brobecker - - * gdb.ada/frame_arg_lang.exp: New testcase. - * gdb.ada/frame_arg_lang/bla.adb: New file. - * gdb.ada/frame_arg_lang/pck.ads: New file. - * gdb.ada/frame_arg_lang/pck.adb: New file. - * gdb.ada/frame_arg_lang/foo.c: New file. - -2019-05-08 Tom Tromey - - * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test. - -2019-05-08 Tom Tromey - - * gdb.base/ptype-offsets.exp: Update tests. - -2019-05-08 Tom Tromey - - * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test - cases. - * gdb.base/ptype-offsets.cc (struct abc) : Now - "short". - -2019-05-08 Tom Tromey - - * gdb.ada/vla.exp: New file. - * gdb.ada/vla/vla.adb: New file. - -2019-05-07 Tom de Vries - - * gdb.base/index-cache.exp (ls_host): Fix return statement. - -2019-05-07 Tom de Vries - - PR testsuite/24522 - * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges - section. - -2019-05-07 Tom de Vries - - PR testsuite/24522 - * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in - .debug_aranges section. - -2019-05-07 Tom de Vries - - PR testsuite/24159 - * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr. - -2019-05-06 Tom de Vries - - * lib/gdb.exp (exec_has_index_section): New proc. - * gdb.base/index-cache.exp: Handle case that binfile contains an index - section. - -2019-05-04 Tom de Vries - - * boards/cc-with-debug-names.exp: New file. - -2019-05-03 Tom Tromey - - * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type. - * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type. - * gdb.ada/char_enum.exp: Add test. - -2019-05-03 Tom de Vries - - * boards/cc-with-gdb-index.exp: New file. - -2019-05-02 Andrew Burgess - - * gdb.rust/simple.exp: Add new test case. - * gdb.rust/simple.rs (struct StringAtOffset): New struct. - (main): Initialise an instance of the new struct. - -2019-05-01 Tom Tromey - - * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New - record. - (NPR): New variable. - * gdb.ada/packed_array_assign.exp: Add nested packed assignment - test. - -2019-05-01 Tom Tromey - - * gdb.ada/packed_array_assign.exp: Add packed assignment - regression test. - -2019-05-01 Tom de Vries - - * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB). - -2019-05-01 Tom de Vries - - * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp. - -2019-04-30 Ali Tamur - - * lib/dwarf.exp(): Added DW_FORM_strx1-4. - -2019-04-30 Tom Tromey - - * lib/ada.exp (find_ada_tool): New proc. - * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs. - * gdb.ada/catch_ex_std.exp: New file. - * gdb.ada/catch_ex_std/foo.adb: New file. - * gdb.ada/catch_ex_std/some_package.adb: New file. - * gdb.ada/catch_ex_std/some_package.ads: New file. - -2019-04-30 Tom Tromey - - PR c++/24470: - * gdb.cp/temargs.cc: Add test code from PR. - -2019-04-30 Andrew Burgess - - * gdb.fortran/vla-datatypes.exp: Update expected results. - * gdb.fortran/vla-ptype.exp: Likewise. - * gdb.fortran/vla-type.exp: Likewise. - * gdb.fortran/vla-value.exp: Likewise. - -2019-04-30 Andrew Burgess - - * gdb.fortran/ptr-indentation.exp: Update expected results. - * gdb.fortran/ptype-on-functions.exp: Likewise. - * gdb.fortran/vla-ptr-info.exp: Likewise. - * gdb.fortran/vla-value.exp: Likewise. - -2019-04-30 Andrew Burgess - - * gdb.fortran/ptype-on-functions.exp: New file. - * gdb.fortran/ptype-on-functions.f90: New file. - -2019-04-30 Andrew Burgess - - * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower - case void string. - -2019-04-30 Andrew Burgess - - * gdb.fortran/complex.exp: Expand. - * gdb.fortran/complex.f: Renamed to... - * gdb.fortran/complex.f90: ...this, and extended to add more - complex values. - -2019-04-30 Andrew Burgess - - * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR, - MODULO, CMPLX. - -2019-04-29 Andrew Burgess - Richard Bunt - - * gdb.base/max-depth.c: New file. - * gdb.base/max-depth.exp: New file. - * gdb.python/py-nested-maps.c: New file. - * gdb.python/py-nested-maps.exp: New file. - * gdb.python/py-nested-maps.py: New file. - * gdb.python/py-format-string.exp (test_max_depth): New proc. - (test_all_common): Call test_max_depth. - * gdb.fortran/max-depth.exp: New file. - * gdb.fortran/max-depth.f90: New file. - * gdb.go/max-depth.exp: New file. - * gdb.go/max-depth.go: New file. - * gdb.modula2/max-depth.exp: New file. - * gdb.modula2/max-depth.c: New file. - * lib/gdb.exp (get_print_expr_at_depths): New proc. - -2019-04-29 Tom de Vries - - * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp. - -2019-04-27 Philippe Waroquiers - - * gdb.base/callexit.exp: Test may-call-functions off. - -2019-04-25 Keith Seitz - - PR c++/24367 - * gdb.cp/meth-typedefs.cc (incomplete_struct) - (another_incomplete_struct, test_incomplete): New definitions. - (main): Use new definitions. - * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete' - functions. - -2019-04-25 Ali Tamur - - * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx. - -2019-04-25 Sergio Durigan Junior - - PR corefiles/11608 - PR corefiles/18187 - * gdb.base/coredump-filter-build-id.exp: New file. - -2019-04-25 Alan Hayward - - * Makefile.in: Pass through GDBSERVER_DEBUG. - * README (Testsuite Parameters): Add GDBSERVER_DEBUG. - (gdbserver,debug): Add board setting. - * gdb.trace/tspeed.exp: Skip when debugging. - * lib/gdb.exp (gdbserver_debug_enabled): New procedure. - * lib/gdbserver-support.exp: Likewise - -2019-04-24 Tom Tromey - - * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for - Rust. - -2019-04-24 Tom Tromey - - * gdb.arch/amd64-eval.exp: Test bitfield return. - * gdb.arch/amd64-eval.cc (struct Bitfields): New. - (class Foo) : New method. - (main): Call it. - -2019-04-23 Andrew Burgess - - * gdb.cp/many-args.cc: New file. - * gdb.cp/many-args.exp: New file. - -2019-04-23 Tom de Vries - - PR gdb/24433 - * gdb.btrace/reconnect.exp: Fix stepi 19 pattern. - -2019-04-23 Alan Hayward - - * gdb.trace/backtrace.exp: Use nopie flag. - * gdb.trace/circ.exp: Likewise. - * gdb.trace/collection.exp: Likewise. - * gdb.trace/ftrace.exp: Likewise. - * gdb.trace/mi-trace-unavailable.exp: Likewise. - * gdb.trace/mi-traceframe-changed.exp: Likewise. - * gdb.trace/qtro.exp: Likewise. - * gdb.trace/read-memory.exp: Likewise. - * gdb.trace/report.exp: Likewise. - * gdb.trace/tfile.exp: Likewise. - * gdb.trace/tfind.exp: Likewise. - * gdb.trace/unavailable.exp: Likewise. - -2019-04-22 Pedro Alves - - * gdb.base/solib-probes-nosharedlibrary.c, - gdb.base/solib-probes-nosharedlibrary.exp: New files. - -2019-04-19 Tom Tromey - - * gdb.ada/ptype_union.c: New file. - * gdb.ada/ptype_union.exp: New file. - -2019-04-19 Tom Tromey - - PR symtab/24423: - * gdb.base/list0.h (foo): Add a control-l character. - -2019-04-18 Tom de Vries - - PR gdb/24433 - * boards/local-board.exp: Set sysroot to "". - -2019-04-18 Tom de Vries - Pedro Alves - - PR gdb/24454 - * gdb.threads/vfork-follow-child-exec.c: New file. - * gdb.threads/vfork-follow-child-exec.exp: New file. - * gdb.threads/vfork-follow-child-exit.c: New file. - * gdb.threads/vfork-follow-child-exit.exp: New file. - -2019-04-15 Leszek Swirski - - * gdb.arch/amd64-eval.cc: New file. - * gdb.arch/amd64-eval.exp: New file. - -2019-04-11 Alan Hayward - - * gdb.server/sysroot.c: New test. - * gdb.server/sysroot.exp: New file. - * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text - matching param. - -2019-04-11 Andrew Burgess - - * gdb.base/align.exp: Extend test to cover structures containing - only static fields. - -2019-04-11 Tom de Vries - - * boards/cc-with-dwz-m.exp: New file. - * boards/cc-with-dwz.exp: New file. - * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work. - -2019-04-09 Simon Marchi - - * gdb.base/start-cpp.exp: New file. - * gdb.base/start-cpp.cc: New file. - -2019-04-08 Kevin Buettner - - * gdb.python/py-thrhandle.exp: Adjust tests to call - thread_from_handle instead of thread_from_thread_handle. - -2019-04-08 Kevin Buettner - - * gdb.python/py-thrhandle.exp: Add tests for - gdb.InferiorThread.handle. - -2019-04-01 Andrew Burgess - - * gdb.python/py-function.exp: Check calling helper function from - all languages. - * lib/gdb.exp (gdb_supported_languages): New proc. - -2019-04-01 Andrew Burgess - - * gdb.base/complex-parts.c: New file. - * gdb.base/complex-parts.exp: New file. - -2019-04-01 Tom Tromey - - PR symtab/23331: - * gdb.dwarf2/dw2-ranges-main.c: New file. - * gdb.dwarf2/dw2-ranges-psym.c: New file. - * gdb.dwarf2/dw2-ranges-psym.exp: New file. - -2019-03-30 Simon Marchi - - * gdb.base/default.exp: Add values for $_gdb_major and - $_gdb_minor. - -2019-03-29 Tom Tromey - - * gdb.base/help.exp: Tighten apropos regexp. - -2019-03-29 Keith Seitz - - * gdb.fortran/array-bounds.exp: New file. - * gdb.fortran/array-bounds.f90: New file. - -2019-03-28 Philippe Waroquiers - - * gdb.multi/multi-term-settings.c (main): Increase alarm timer. - -2019-03-28 Philippe Waroquiers - - * gdb.multi/hello.c (main): Increase alarm timer. - -2019-03-28 Sandra Loosemore - - * gdb.threads/watchpoint-fork.exp (test): Use large timeout - factor when no hardware watchpoint support. - -2019-03-28 Alan Hayward - Pedro Alves - - * boards/local-board.exp: set sysroot to /. - -2019-03-27 Alan Hayward - - * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep - in child. - -2019-03-26 Andrew Burgess - - * gdb.python/py-prettyprint.c (struct container) : New - field. - (make_container): Initialise new field. - * gdb.python/py-prettyprint.exp: Add new tests. - * gdb.python/py-prettyprint.py (class ContainerPrinter) - : New method. - -2019-03-26 Andrew Burgess - - * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and - gdb_continue_to_breakpoint more throughout this test. - (run_lang_tests) Supply unique test names, and use - gdb_test_no_output. - -2019-03-26 Andrew Burgess - - * gdb.base/finish-pretty.exp: Update expected results. - * gdb.base/pretty-print.c: New file. - * gdb.base/pretty-print.exp: New file. - -2019-03-25 Pedro Alves - - * lib/gdb.exp (gdb_test_multiple): Split appends to $code and - move comments outside list. Append '-i "" eof' section. - -2019-03-22 Alan Hayward - - PR testsuite/25016 - * README: Add pie options. - * gdb.base/break-interp.exp: Ensure pie is disabled. - * gdb.base/dump.exp: Likewise. - * lib/gdb.exp (gdb_compile): Add pie option. - -2019-03-19 Tom Tromey - - * gdb.mi/mi2-cli-display.c: New file. - * gdb.mi/mi2-cli-display.exp: New file. - -2019-03-18 Joel Brobecker - Tom Tromey - - * gdb.ada/ptype_array/pck.adb: New file. - * gdb.ada/ptype_array/pck.ads: New file. - * gdb.ada/ptype_array/foo.adb: New file. - * gdb.ada/ptype_array.exp: New file. - -2019-03-14 Tom Tromey - - * gdb.base/style.exp: Add "set style sources" test. - -2019-03-13 Simon Marchi - - * mi-breakpoint-location-ena-dis.exp: Rename to ... - * mi-breakpoint-multiple-locations.exp: ... this. - (make_breakpoints_pattern): New proc. - (do_test): Add mi_version parameter, test -break-insert, - -break-info and =breakpoint-created. - -2019-03-12 Andrew Burgess - - * config/default.exp: Remove 'load_lib gdb.exp'. - * config/monitor.exp: Likewise. - * config/sid.exp: Likewise. - * config/sim.exp: Likewise. - * config/slite.exp: Likewise. - * config/unix.exp: Likewise. - * gdb.base/default.exp: Remove unhelpful comment. - -2019-03-06 Andrew Burgess - - * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases. - -2019-03-06 Andrew Burgess - - * gdb.fortran/intrinsics.exp: Extend to cover ABS. - -2019-03-06 Andrew Burgess - - * gdb.fortran/type-kinds.exp: Update expected results. - -2019-03-06 Andrew Burgess - - * gdb.fortran/type-kinds.exp: Test new integer type kind. - -2019-03-06 Andrew Burgess - - * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New - function. - (test_basic_parsing_of_type_kinds): Expand types tested. - (test_parsing_invalid_type_kinds): New function. - -2019-03-06 Andrew Burgess - - * gdb.fortran/intrinsics.exp: New file. - * gdb.fortran/intrinsics.f90: New file. - * gdb.fortran/type-kinds.exp: New file. - -2019-03-06 Andrew Burgess - - * gdb.fortran/dot-ops.exp: New file. - -2019-03-06 Andrew Burgess - - * gdb.fortran/types.exp (test_logical_literal_types_accepted): - Check upper and lower case logical literals. - -2019-03-06 Andrew Burgess - - * gdb.fortran/types.exp (test_float_literal_types_accepted): - Remove duplicate tests. - -2019-03-06 Alan Hayward - - * lib/gdb.exp (builtin_cd): rename of cd. - (cd): Override builtin. - -2019-03-06 Richard Bunt - - * gdb.fortran/function-calls.exp: New file. - * gdb.fortran/function-calls.f90: New test. - -2019-03-04 Richard Bunt - - * gdb.fortran/short-circuit-argument-list.exp: Remove reliance - on user program standard output. - * gdb.fortran/short-circuit-argument-list.f90: Record function - calls. - -2019-02-28 Alan Hayward - - * lib/gdbserver-support.exp (gdbserver_start): Check for listen - failure. - -2019-02-28 Rainer Orth - - PR gdb/8527 - * gdb.base/interrupt-daemon-attach.c, - gdb.base/interrupt-daemon-attach.exp: New test. - -2019-02-27 Pedro Alves - - * gdb.base/page.exp: Add tests for "set width/height -1". - -2019-02-27 Pedro Alves - - * gdb.base/page.exp: Add tests for "set/show width/height" with - "infinite" values. - -2019-02-27 Tom Tromey - - * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python - 2.4. - * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4 - workaround. - -2019-02-27 Andrew Burgess - - * gdb.base/align.exp: Extend to compile in both C and C++, and add - tests for structs with static members. - -2019-02-26 Tom Tromey - - * gdb.python/py-value.exp (test_value_from_buffer): Check for - ValueError, not TypeError. - -2019-02-26 Kevin Buettner - - * gdb.python/py-value.exp (test_value_from_buffer): New proc with - call from main program. - -2019-02-23 Joel Brobecker - - * gdb.ada/mi_ref_changeable.exp: Update copyright year range. - * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise. - * gdb.ada/mi_ref_changeable/pck.adb: Likewise. - * gdb.ada/mi_ref_changeable/pck.ads: Likewise. - * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise. - -2019-02-22 Keith Seitz - - PR symtab/23853 - * gdb.base/symlink-sourcefile.c: New file. - * gdb.base/symlink-sourcefile.exp: New file. - -2019-02-20 Tom Tromey - - * gdb.base/info_qt.exp: Update. - -2019-02-19 Simon Marchi - - * gdb.base/source.exp: Move "error in sourced script" code to - the end. - * gdb.base/source-error.gdb: Move contents to - source-error-1.gdb. Add new code to source source-error-1.gdb. - * gdb.base/source-error-1.gdb: New file, from previous - source-error.gdb. - -2019-02-17 Tom Tromey - - * gdb.base/style.exp: Use -g3 to compile when possible. Add test - for macro styling. - * gdb.base/style.c (SOME_MACRO): New macro. - -2019-02-17 Tom Tromey - - * gdb.base/style.exp: Add line-wrapping tests. - * gdb.base/page.exp: Add test for quitting during pagination. - -2019-02-17 Joel Brobecker - - * gdb.ada/big_packed_array: New testcase. - * gdb.ada/homonym.exp: Fix incorrect expected output for - "break " test. - -2019-02-13 Weimin Pan - - PR breakpoints/21870 - * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue - and prepare_for_testing. Add comment. - * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and - redundant cleanup call. Clean up comment. - -2019-02-12 Weimin Pan - - PR breakpoints/21870 - * gdb.arch/aarch64-dbreg-contents.exp: New file. - * gdb.arch/aarch64-dbreg-contents.c: New file. - -2019-02-10 Joel Brobecker - - * gdb.ada/mi_ref_changeable: New testcase. - -2019-02-07 Alan Hayward - - * gdb.base/attach.exp: Add double attach test. - -2019-02-07 Simon Marchi - - * lib/gdb.exp (default_gdb_start): Don't match pagination - prompt. - (gdb_init): Set stty_init. - -2019-01-27 Tom Tromey - - * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to - skip_python_tests. - -2019-01-24 Alan Hayward - - * gdb.base/infcall-nested-structs.c (struct struct_static_02_01): - New structure. - (struct struct_static_02_02): Likewise. - (struct struct_static_02_03): Likewise. - (struct struct_static_02_04): Likewise. - (struct struct_static_04_01): Likewise. - (struct struct_static_04_02): Likewise. - (struct struct_static_04_03): Likewise. - (struct struct_static_04_04): Likewise. - (struct struct_static_06_01): Likewise. - (struct struct_static_06_02): Likewise. - (struct struct_static_06_03): Likewise. - (struct struct_static_06_04): Likewise. - (cmp_struct_static_02_01): Likewise. - (cmp_struct_static_02_02): Likewise. - (cmp_struct_static_02_03): Likewise. - (cmp_struct_static_02_04): Likewise. - (cmp_struct_static_04_01): Likewise. - (cmp_struct_static_04_02): Likewise. - (cmp_struct_static_04_03): Likewise. - (cmp_struct_static_04_04): Likewise. - (cmp_struct_static_06_01): Likewise. - (cmp_struct_static_06_02): Likewise. - (cmp_struct_static_06_03): Likewise. - (cmp_struct_static_06_04): Likewise. - (call_all): Test new structs. - * gdb.base/infcall-nested-structs.exp: Likewise. - -2019-01-21 Alan Hayward - * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C. - -2019-01-21 Alan Hayward - * gdb.base/stack-protector.c: New test. - * gdb.base/stack-protector.exp: New file. - * gdb.cp/ovldbreak.exp: Only allow a single break line. - * lib/gdb.exp (get_compiler_info): Use getting_compiler_info - option. - (gdb_compile): Remove stack protector for GCC and prevent - recursion. - -2019-01-16 Keith Seitz - - PR gdb/23773 - * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file. - -2019-01-14 Pedro Franco de Carvalho - - * gdb.arch/vsx-regs.exp: Add tests that use the vector register - aliases. - * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two - tests. - * gdb.arch/powerpc-vector-regs.c: New file. - * gdb.arch/powerpc-vector-regs.exp: New file. - -2019-01-14 Pedro Franco de Carvalho - - * gdb.arch/altivec-regs.exp: Fix the list passed to - gdb_expect_list when testing "info vector". - -2019-01-12 Andrew Burgess - - * gdb.base/style.exp: Don't include path in testname. - -2019-01-10 Keith Seitz - - PR gdb/23712 - PR symtab/23010 - * gdb.dwarf2/multidictionary.exp: New file. - -2019-01-09 Simon Marchi - - * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to... - (test_gnuv3_style_demangling): ... this. - (test_lucid_style_demangling): Remove. - (test_arm_style_demangling): Remove. - (test_hp_style_demangling): Remove. - (do_tests): Remove calls to the above. - -2019-01-09 Andrew Burgess - - * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt - case. - -2019-01-06 Tom Tromey - - PR gdb/28155: - * gdb.dwarf2/typedef-void-finish.exp: New file. - -2018-12-28 Tom Tromey - Simon Marchi - - * gdb.base/jit-exec.exp: New file. - * gdb.base/jit-exec.c: New file. - * gdb.base/jit-execd.c: New file. - -2018-12-28 Tom Tromey - - * gdb.base/style.exp: Update test to check for address styling. - -2018-12-28 Tom Tromey - - * gdb.base/style.exp: Add test for styling of "Reading symbols" - message. - -2018-12-28 Tom Tromey - - * gdb.base/style.exp: Add test for version number styling. - -2018-12-28 Tom Tromey - - * gdb.base/style.exp: Add test for print_address_symbolic. - -2018-12-28 Tom Tromey - - * gdb.base/style.exp: Add test for breakpoint setting. - -2018-12-28 Tom Tromey - - * gdb.base/style.exp: Add test for variable names. - -2018-12-28 Tom Tromey - - * gdb.base/style.exp: New file. - * gdb.base/style.c: New file. - -2018-12-28 Tom Tromey - - * lib/gdb.exp (gdb_init): Set the TERM environment variable to - "dumb". - * gdb.base/readline.exp (operate_and_get_next): Save and restore - the TERM environment variable. - -2018-12-27 Tom Tromey - - * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add - pagination test. - -2018-12-24 Andrew Burgess - - * gdb.dwarf2/dw2-unusual-field-names.c: New file. - * gdb.dwarf2/dw2-unusual-field-names.exp: New file. - -2018-12-24 Philippe Waroquiers - - * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr. - Filename a.adb changed to bp_fun_addr.adb. - gdb.ada/bp_fun_addr.exp: Update test accordingly. - -2018-12-21 Jan Vrany - - * lib/gdb.exp (gdb_compile): Add new nopie flag enforce - non-PIE executables. - * README: Mention the gdb,nopie_flag board setting. - * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce - non-PIE executable. - * gdb.arch/amd64-entry-value.exp: Likewise. - * gdb.arch/amd64-invalid-stack-middle.exp: Likewise. - * gdb.arch/i386-float.exp: Likewise. - * gdb.arch/i386-signal.exp: Likewise. - * gdb.mi/mi-reg-undefined.exp: Likewise. - -2018-12-21 Paul Marechal - - PR gdb/23974 - * gdb.base/info-os.exp: Check return for unknown "info os" type. - -2018-12-20 Philippe Waroquiers - - * gdb.ada/info_auto_lang.exp: Normalize some_c source file. - Update order of results accordingly. - -2018-12-12 Andrew Burgess - - * gdb.base/annota1.exp: Update a test regexp. - -2018-12-11 Andrew Burgess - - * gdb.base/float.exp: Handle RISC-V targets without an FPU. - -2018-12-09 Philippe Waroquiers - - * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60. - (reuse_time): Initialize to REUSE_TIME_CAP. - (check_rc): New function. - (main): Use REUSE_TIME_CAP instead of hardcoded 60. - Check pthread_create rc. - (spawner_thread_func): Check pthread_create and pthread_join rc. - -2018-12-08 Pedro Alves - - * gdb.base/list.exp (test_forward_search): Rename to ... - (test_forward_reverse_search): ... this. Also test reverse-search - and the forward-search alias. - -2018-12-05 Andrew Burgess - - * config/sim.exp (gdb_target_sim): Remove redundant adjustment of - local timeout variable before return, and remove all local timeout - variable entirely. - (gdb_load): Likewise. - -2018-12-01 Tom de Vries - - * gdb.base/gdb-caching-proc.exp: New file. - -2018-11-25 Sergio Durigan Junior - - * Makefile.in (TIMESTAMP): New variable. - (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST) - command. - (check-single-racy): Likewise. - (check/%.exp): Likewise. - (check-racy/%.exp): Likewise. - (workers/%.worker): Likewise. - (build-perf): Likewise. - (check-perf): Likewise. - * README: Describe new "TS" and "TS_FORMAT" variables. - * print-ts.py: New file. - -2018-11-21 Benno Fünfstück - - PR python/23714 - * gdb.python/python.exp: Test command repetition after - gdb.execute. - -2018-11-20 Andrew Burgess - - * gdb.opt/inline-break.exp: Add test that info breakpoint output - is correctly aligned. - -2018-11-20 Philippe Waroquiers - - * gdb.ada/info_auto_lang.exp: New testcase. - * gdb.ada/info_auto_lang/global_pack.ads: New file. - * gdb.ada/info_auto_lang/proc_in_ada.adb: New file. - * gdb.ada/info_auto_lang/some_c.c: New file. - -2018-11-20 Philippe Waroquiers - - * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to - FUNC_lang language syntax. - -2018-11-20 Philippe Waroquiers - - * gdb.base/info_minsym.c: New file. - * gdb.base/info_minsym.exp: New file. - -2018-11-19 Tom Tromey - - PR rust/23625: - * gdb.rust/simple.exp: Add ptype test. Update expected output. - * gdb.rust/expr.exp: Update expected output. Change one test. - -2018-11-19 Tom Tromey - - * gdb.rust/simple.rs: Don't initialize empty_enum_value. - -2018-11-19 Pedro Alves - - * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use - gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we - see the expected warning. - -2018-11-16 Alan Hayward - - PR gdb/22736: - * gdb.cp/infcall-nodebug-lib.c: New test. - * gdb.cp/infcall-nodebug-main.c: New test. - * gdb.cp/infcall-nodebug.exp: New file. - -2018-11-12 Simon Marchi - - * gdb.base/skip.exp: Add standard_testfile. Add "skip delete" - completer tests. - -2018-11-09 Tom de Vries - - * gdb.base/msym-lang.c: New test. - * gdb.base/msym-lang.exp: New file. - * gdb.base/msym-lang-main.c: New test. - -2018-11-08 Tom Tromey - - PR gdb/23555: - PR gdb/23838: - * gdb.base/warning.exp: New file. - -2018-11-08 Jan Beulich - - * testsuite/gdb.arch/i386-avx512.c, - testsuite/gdb.arch/i386-avx512.exp: Add 7th test. - -2018-11-08 Andrew Burgess - - * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating - point hardware. - -2018-11-07 Andrew Burgess - - * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'. - * gdb.dwarf2/missing-type-name.exp: New file. - -2018-11-06 Tom de Vries - - * gdb.base/many-headers.c: New test. - * gdb.base/many-headers.exp: New file. - -2018-11-06 Jim Wilson - - * gdb.base/code_elim.exp: For riscv, set additional_flags - to include -msmall-data-limit=0. - -2018-11-01 Joel Brobecker - - * gdb.ada/watch_minus_l: New testcase. - -2018-11-01 Sangamesh Mallayya - - * gdb.arch/aix-sighandle.c: New file. - * gdb.arch/aix-sighandle.exp: New file. - -2018-10-31 Andrew Burgess - - * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float - registers being unions. - -2018-10-31 Tom de Vries - - * lib/valgrind.exp: New file. - (vgdb_start, vgdb_stop): New procs, factored out of ... - * gdb.base/valgrind-bt.exp: ... here, ... - * gdb.base/valgrind-disp-step.exp: ... here and ... - * gdb.base/valgrind-infcall.exp: ... here. - -2018-10-31 Tom de Vries - - * lib/gdb.exp (get_valueof): Don't output read value in test name. - -2018-10-31 Andrew Burgess - - * gdb.dwarf2/void-type.c: New file. - * gdb.dwarf2/void-type.exp: New file. - -2018-10-27 Philippe Waroquiers - - * gdb.base/info_qt.c: New file. - * gdb.base/info_qt.exp: New file. - -2018-10-26 Pedro Franco de Carvalho - - * gdb.arch/powerpc-htm-regs.c: New file. - * gdb.arch/powerpc-htm-regs.exp: New file. - -2018-10-26 Pedro Franco de Carvalho - - * gdb.arch/powerpc-tar.c: New file. - * gdb.arch/powerpc-tar.exp: New file. - -2018-10-26 Pedro Franco de Carvalho - - * gdb.arch/powerpc-ppr-dscr.c: New file. - * gdb.arch/powerpc-ppr-dscr.exp: New file. - -2018-10-25 Tom de Vries - - * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb. - -2018-10-24 Tom de Vries - - * lib/gdb.exp (gdb_test_multiple): Log wait status on process no - longer exists error. - -2018-10-24 Tom de Vries - - * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test. - -2018-10-24 Tom de Vries - - * gdb.base/valgrind-db-attach.exp: Handle removed support for - --db-attach in valgrind. - -2018-10-23 Andrew Burgess - - * gdb.arch/riscv-reg-aliases.c: New file. - * gdb.arch/riscv-reg-aliases.exp: New file. - -2018-10-19 Alan Hayward - - * gdb.python/py-cmd.exp: Check for gdb_prompt. - -2018-10-19 Alan Hayward - - * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6. - -2018-10-19 Alan Hayward - - * gdb.cp/ovldbreak.exp: Fix regexps. - -2018-10-19 Alan Hayward - - * gdb.compile/compile-cplus-print.exp: Start inferior earlier. - -2018-10-18 Sergio Durigan Junior - - PR cli/23785 - * gdb.base/restore.exp: New test to check if "restore" with an - invalid file doesn't segfault. - -2018-10-18 Tom de Vries - - * gdb.ada/bp_inlined_func.exp: Fix capitalized test name. - * gdb.ada/excep_handle.exp: Same. - * gdb.ada/mi_string_access.exp: Same. - * gdb.ada/mi_var_union.exp: Same. - * gdb.arch/arc-analyze-prologue.exp: Same. - * gdb.arch/arc-decode-insn.exp: Same. - * gdb.base/readnever.exp: Same. - * gdb.fortran/printing-types.exp: Same. - * gdb.guile/scm-lazy-string.exp: Same. - -2018-10-16 Tom de Vries - - PR gdb/23730 - * gdb.base/catch-follow-exec.c: Add copyright notice. - * gdb.base/catch-follow-exec.exp: Rewrite to use - gdb_spawn_with_cmdline_opts. Require gdb-native. - -2018-10-12 Sandra Loosemore - - * gdb.trace/actions-changed.exp: Check for arch support. - * gdb.trace/actions.exp: Likewise. - * gdb.trace/ax.exp: Likewise. - * gdb.trace/backtrace.exp: Likewise. - * gdb.trace/change-loc.exp: Likewise. - * gdb.trace/deltrace.exp: Likewise. - * gdb.trace/ftrace-lock.exp: Check for shlib and arch support. - * gdb.trace/ftrace.exp: Likewise. - * gdb.trace/infotrace.exp: Check for arch support. - * gdb.trace/mi-trace-frame-collected.exp: Likewise. - * gdb.trace/mi-tracepoint-changed.exp: Likewise. - * gdb.trace/mi-tsv-changed.exp: Likewise. - * gdb.trace/packetlen.exp: Likewise. - * gdb.trace/passc-dyn.exp: Likewise. - * gdb.trace/passcount.exp: Likewise. - * gdb.trace/pending.exp: Likewise. - * gdb.trace/range-stepping.exp: Check for shlib support. - * gdb.trace/report.exp: Check for arch support. - * gdb.trace/save-trace.exp: Likewise. - * gdb.trace/signal.exp: Check for signal support. - * gdb.trace/tfind.exp: Check for arch support. - * gdb.trace/trace-break.exp: Check for arch and shlib support. - * gdb.trace/trace-common.h: Add comment. - * gdb.trace/trace-condition.exp: Check for shlib and arch support. - * gdb.trace/trace-enable-disable.exp: Likewise. - * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call. - * gdb.trace/tracecmd.exp: Check for arch support. - * gdb.trace/tspeed.exp: Check for shlib and target support. - * gdb.trace/tstatus.exp: Check for arch support. - * gdb.trace/tsv.exp: Likewise. - * gdb.trace/while-dyn.exp: Likewise. - * gdb.trace/while-stepping.exp: Likewise. - * lib/trace-support.exp (gdb_trace_common_supports_arch): New. - -2018-10-12 Simon Marchi - - * gdb.trace/tspeed.exp: Remove nowarnings. - (prepare_for_trace_test): Declare "global ipalib". - * gdb.trace/tspeed.c: Include unistd.h. - (main): Remove superfluous printf argument. - -2018-10-11 Sandra Loosemore - - * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX - directory prefix on the filename. - -2018-10-10 Sergio Durigan Junior - - * gdb.gdb/unittest.exp: Update expected message informing that - selftests have been disabled. - * gdb.server/unittest.exp: Likewise. - -2018-10-09 Tom de Vries - - * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd - with runto_main. - -2018-10-08 Weimin Pan - - PR c++/16841 - * gdb.cp/virtbase2.cc: New file. - * gdb.cp/virtbase2.exp: New file. - -2018-10-06 Tom Tromey - - PR python/19399: - * gdb.python/py-inferior.exp: Add architecture test. - -2018-10-06 Tom Tromey - - * gdb.base/gnu-ifunc.exp (build): Use standard_output_file. - * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file. - -2018-10-06 Tom Tromey - - * gdb.python/py-breakpoint.exp (check_last_event): Check location - of a "throw" catchpoint. - -2018-10-06 Sergio Durigan Junior - - * gdb.base/info-proc.exp: Update string expected from "help info - proc". - -2018-10-04 Tom Tromey - - * gdb.cp/maint.exp (test_invalid_name): Update expected output. - * gdb.gdb/complaints.exp (test_short_complaints): Remove. - (test_initial_complaints, test_empty_complaints): Update. - * gdb.dwarf2/dw2-stack-boundary.exp: Update. - -2018-10-04 Tom Tromey - - PR cli/19551: - * lib/mi-support.exp (mi_gdb_file_cmd): Update. - * lib/gdb.exp (gdb_file_cmd): Update. - * gdb.stabs/weird.exp (print_weird_var): Update. - * gdb.server/solib-list.exp: Update. - * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update. - * gdb.mi/mi-cli.exp: Update. - * gdb.linespec/linespec.exp: Update. - * gdb.dwarf2/dw2-stack-boundary.exp: Update. - * gdb.dwarf2/dw2-objfile-overlap.exp: Update. - * gdb.cp/cp-relocate.exp: Update. - * gdb.base/sym-file.exp: Update. - * gdb.base/relocate.exp: Update. - * gdb.base/readnever.exp: Update. - * gdb.base/print-symbol-loading.exp (test_load_core): Update. - * gdb.base/kill-detach-inferiors-cmd.exp: Update. - * gdb.base/dbx.exp (gdb_file_cmd): Update. - * gdb.base/code_elim.exp: Update. - * gdb.base/break-unload-file.exp (test_break): Update. - * gdb.base/break-interp.exp (test_attach_gdb): Update. - * gdb.base/break-idempotent.exp (force_breakpoint_re_set): - Update. - * gdb.base/attach.exp (do_attach_tests): Update. - * gdb.base/sepdebug.exp: Update. - * gdb.python/py-section-script.exp: Update. - -2018-10-04 Tom Tromey - - PR cli/22234: - * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output. - * gdb.gdb/complaints.exp (test_short_complaints): Update expected - output. - -2018-10-04 Tom Tromey - - * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet; - set width and height to 0. - (test_command_line_attach_run): Use -quiet. - -2018-10-03 Sandra Loosemore - - * lib/gdb.exp (skip_ifunc_tests): New. - * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle - other compile failures. - * gdb.compile/compile-ifunc.exp: Skip if no ifunc support. - -2018-10-01 Simon Marchi - - * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on - is_amd64_regs_target. - -2018-10-01 Alan Hayward - - * gdb.arch/aarch64-sighandler-regs.c: New test. - * gdb.arch/aarch64-sighandler-regs.exp: New file. - * lib/gdb.exp (skip_aarch64_sve_tests): New proc. - -2018-10-01 Markus Metzger - - * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline - assembly. - -2018-09-28 Andrew Burgess - - * gdb.base/frame-selection.exp: New file. - * gdb.base/frame-selection.c: New file. - -2018-09-27 Alan Hayward - - * gdb.threads/check-libthread-db.c (thread_routine): Use a - pthread barrier. - (main): Likewise. - -2018-09-26 Andrew Burgess - - * gdb.base/large-frame-1.c: New file. - * gdb.base/large-frame-2.c: New file. - * gdb.base/large-frame.exp: New file. - * gdb.base/large-frame.h: New file. - -2018-09-24 Jozef Lawrynowicz - - PR gdb/20948 - * gdb.base/write_mem.exp: New test. - * gdb.base/write_mem.c: Likewise. - -2018-09-23 Tom Tromey - - PR python/18852: - * gdb.python/py-parameter.exp: Add test for parameter that throws - on "set". - -2018-09-23 Tom Tromey - - PR python/17284: - * gdb.python/py-template.exp (test_template_arg): Add test for - negative template argument number. - -2018-09-23 Tom Tromey - - PR python/14062: - * gdb.python/python.exp: Add test for post_event error. - -2018-09-23 Tom Tromey - - PR python/18170: - * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to - convert pointers to int and long. - -2018-09-23 Tom Tromey - - PR python/20126: - * gdb.python/py-value.exp (test_value_numeric_ops): Add - signed-ness conversion tests. - -2018-09-23 Tom Tromey - - PR python/18352; - * gdb.python/py-value.exp (test_float_conversion): New proc. - Use it. - -2018-09-20 Hafiz Abid Qadeer - - gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern. - -2018-09-18 Sandra Loosemore - - * gdb.base/complete-empty.exp: Skip tab-completion tests if - no readline. - * gdb.base/utf8-identifiers.exp: Likewise. - * gdb.cp/cpcompletion.exp: Likewise. - * gdb.linespec/cpcompletion.exp: Likewise. - * gdb.linespec/cpls-abi-tag.exp: Likewise. - * gdb.linespec/cpls-ops.exp: Likewise. - -2018-09-19 Richard Bunt - Chris January - - * gdb.cp/koenig.exp: Extend to test logical short circuiting. - * gdb.fortran/short-circuit-argument-list.exp: New file. - * gdb.fortran/short-circuit-argument-list.f90: New test. - -2018-09-18 Sergio Durigan Junior - - * gdb.arch/amd64-invalid-stack-top.exp: Expect optional - "arch=" keyword when executing "-stack-list-frames". - -2018-09-18 Sergio Durigan Junior - - * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional - "arch=" keyword when executing "-stack-list-frames". - -2018-09-18 Sergio Durigan Junior - - * gdb.ada/complete.exp: Expect for "@" when doing "complete - break ada". - -2018-09-17 Simon Marchi - - PR python/23669 - * gdb.python/python.exp: Test gdb.execute("show commands"). - -2018-09-16 Tom Tromey - - * gdb.base/new-ui.exp (do_execution_tests): Update. - * gdb.base/dbx.exp (test_breakpoints): Update. - -2018-09-14 Alan Hayward - - * lib/gdb.exp (gdb_simple_compile): Add proc. - (is_elf_target): Use gdb_simple_compile. - (skip_altivec_tests): Likewise. - (skip_vsx_tests): Likewise. - (skip_tsx_tests): Likewise. - (skip_btrace_tests): Likewise. - (skip_btrace_pt_tests): Likewise. - (gdb_can_simple_compile): Likewise. - (gdb_has_argv0): Likewise. - (gdb_target_symbol_prefix): Likewise. - (target_supports_scheduler_locking): Likewise. - -2018-09-13 Tom Tromey - - * Makefile.in (TAGS): Recognize proc_with_prefix and - gdb_caching_proc. - -2018-09-13 Simon Marchi - - * gdb.python/py-progspace.exp: Test the Progspace.objfiles - method. - -2018-09-13 Simon Marchi - - * gdb.python/py-inferior.exp: Add tests for Inferior.progspace - and a few other Inferior properties when the Inferior is no - longer valid. - -2018-09-13 Tom Tromey - - PR rust/23650: - * gdb.rust/simple.exp: Add test for enum field access error. - -2018-09-13 Tom Tromey - - PR rust/23626: - * gdb.rust/simple.rs (EmptyEnum): New type. - (main): Use it. - * gdb.rust/simple.exp (test_one_slice): Add empty enum test. - -2018-09-13 Simon Marchi - - * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior. - * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile. - * gdb.python/py-symtab.exp: Update test printing an objfile. - -2018-09-12 Simon Marchi - - * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior - object. - -2018-09-12 Alan Hayward - - * lib/gdb.exp (gdb_can_simple_compile): Add proc. - (support_complex_tests): Use gdb_can_simple_compile. - (is_ilp32_target): Likewise. - (is_lp64_target): Likewise. - (is_64_target): Likewise. - (is_amd64_regs_target): Likewise. - (is_aarch32_target): Likewise. - (gdb_int128_helper): Likewise. - -2018-09-11 Jan Kratochvil - - * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path. - -2018-09-10 Jerome Guitton - - * gdb.ada/same_component_name: Add test for case of tagged record - with variable-length fields. - -2018-09-10 Xavier Roirand - - * gdb.ada/access_to_unbounded_array.exp: New testcase. - * gdb.ada/access_to_unbounded_array/foo.adb: New file. - * gdb.ada/access_to_unbounded_array/pack.adb: New file. - * gdb.ada/access_to_unbounded_array/pack.ads: New file. - -2018-09-10 Xavier Roirand - - * gdb.ada/mi_string_access.exp: New testcase. - * gdb.ada/mi_string_access/bar.adb: New file. - * gdb.ada/mi_string_access/pck.adb: New file. - * gdb.ada/mi_string_access/pck.asd: New file. - -2018-09-10 Xavier Roirand - - * gdb.ada/mi_var_union.exp: New testcase. - * gdb.ada/mi_var_union/bar.adb: New file. - * gdb.ada/mi_var_union/pck.adb: New file. - * gdb.ada/mi_var_union/pck.asd: New file. - -2018-09-08 Tom Tromey - - * gdb.python/py-prettyprint.exp: Use with_test_prefix. - -2018-09-08 Tom Tromey - - PR python/16047: - * gdb.python/py-prettyprint.py (pp_int_typedef3): New class. - (register_pretty_printers): Register new printer. - * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3 - test. - * gdb.python/py-prettyprint.c (int_type3): New typedef. - (an_int_type3): New global. - -2018-09-08 Joel Brobecker - - * gdb.ada/expr_with_funcall: New testcase. - -2018-09-08 Joel Brobecker - - * gdb.ada/packed_array_assign: New testcase. - -2018-09-07 Andrew Burgess - - * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test - names, and add test prefixes to make test names unique. - -2018-09-05 Tom de Vries - - * gdb.dwarf2/varval.exp: Add test. - -2018-09-04 Gary Benson - - * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect - 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id. - -2018-08-31 Tom Tromey - - * gdb.rust/simple.rs: Rename second variable "v". - -2018-08-30 Andrew Burgess - - * gdb.base/funcargs.c (use_a): New function. - (recurse): Call use_a. - -2018-08-29 Keith Seitz - - * gdb.compile/compile-cplus-anonymous.cc: New file. - * gdb.compile/compile-cplus-anonymous.exp: New file. - * gdb.compile/compile-cplus-array-decay.cc: New file. - * gdb.compile/compile-cplus-array-decay.exp: New file. - * gdb.compile/compile-cplus-inherit.cc: New file. - * gdb.compile/compile-cplus-inherit.exp: New file. - * gdb.compile/compile-cplus-member.cc: New file. - * gdb.compile/compile-cplus-member.exp: New file. - * gdb.compile/compile-cplus-method.cc: New file. - * gdb.compile/compile-cplus-method.exp: New file. - * gdb.compile/compile-cplus-mod.c: "New" file. - * gdb.compile/compile-cplus-namespace.cc: New file. - * gdb.compile/compile-cplus-namespace.exp: New file. - * gdb.compile/compile-cplus-nested.cc: New file. - * gdb.compile/compile-cplus-nested.exp: New file. - * gdb.compile/compile-cplus-print.c: "New" file. - * gdb.compile/compile-cplus-print.exp: "New" file. - * gdb.compile/compile-cplus-virtual.cc: New file. - * gdb.compile/compile-cplus-virtual.exp: New file. - * gdb.compile/compile-cplus.c: "New" file. - * gdb.compile/compile-cplus.exp: "New" file. - * lib/compile-support.exp: New file. - -2018-08-16 Gary Benson - - PR gdb/13000: - * gdb.base/batch-exit-status.exp: New file. - * gdb.base/batch-exit-status.good-commands: Likewise. - * gdb.base/batch-exit-status.bad-commands: Likewise. - -2018-08-29 Alan Hayward - - * gdb.base/infcall-nested-structs.c (struct struct01): Remove. - (struct struct02): Likewise. - (struct struct03): Likewise. - (struct struct04): Likewise. - (struct struct_01_01): New struct. - (struct struct_01_02): Likewise. - (struct struct_01_03): Likewise. - (struct struct_01_04): Likewise. - (struct struct_02_01): Likewise. - (struct struct_02_02): Likewise. - (struct struct_02_03): Likewise. - (struct struct_02_04): Likewise. - (struct struct_04_01): Likewise. - (struct struct_04_02): Likewise. - (struct struct_04_03): Likewise. - (struct struct_04_04): Likewise. - (struct struct_05_01): Likewise. - (struct struct_05_02): Likewise. - (struct struct_05_03): Likewise. - (struct struct_05_04): Likewise. - (cmp_struct01): Remove function. - (cmp_struct02): Likewise. - (cmp_struct03): Likewise. - (cmp_struct04): Likewise. - (cmp_struct_01_01): Add Function. - (cmp_struct_01_02): Likewise. - (cmp_struct_01_03): Likewise. - (cmp_struct_01_04): Likewise. - (cmp_struct_02_01): Likewise. - (cmp_struct_02_02): Likewise. - (cmp_struct_02_03): Likewise. - (cmp_struct_02_04): Likewise. - (cmp_struct_04_01): Likewise. - (cmp_struct_04_02): Likewise. - (cmp_struct_04_03): Likewise. - (cmp_struct_04_04): Likewise. - (cmp_struct_05_01): Likewise. - (cmp_struct_05_02): Likewise. - (cmp_struct_05_03): Likewise. - (cmp_struct_05_04): Likewise. - (call_all): Add new structs. - * gdb.base/infcall-nested-structs.exp: Likewise. - -2018-08-27 Jan Vrany - - * gdb.python/py-framefilter-mi.exp: Update regexp to - check for "arch" field in frame output. - -2018-08-23 Kevin Buettner - - * gdb.dwarf2/dw2-ranges-func.c: New file. - * gdb.dwarf2/dw2-ranges-func.exp: New file. - -2018-08-22 Simon Marchi - - * gdb.base/term.exp: Compare terminal settings with values from - the inferior. - * gdb.base/term.c: Get and set terminal settings. - -2018-08-22 Jan Vrany - - * lib/mi-support.exp (mi_expect_stop): Update regexp to - accommodate new "arch" field in frame output. - * gdb.mi/mi-return.exp: Likewise. - * gdb.mi/mi-stack.exp: Likewise. - * gdb.mi/mi-syn-frame.exp: Likewise. - * gdb.mi/user-selected-context-sync.exp: Likewise. - -2018-08-19 Michael Spang - - PR gdb/11786 - * gdb.base/gcore-tls-pie.c: New file. - * gdb.base/gcore-tls-pie.exp: New file. - -2018-08-18 Kevin Buettner - - * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value. - * gdb.dwarf2/varval.c: New file. - * gdb.dwarf2/varval.exp: New file. - -2018-08-17 Alan Hayward - - PR gdb/18931 - * gdb.arch/aarch64-fp.c (main): Fix asm registers. - -2018-08-16 Keith Seitz - - * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code" - tests expected to pass. - -2018-08-14 Jan Vrany - - * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for - -data-disassemble -a. - (test_disassembly_bogus_args): Likewise. - -2018-08-14 Andrew Burgess - - * gdb.mi/list-thread-groups-available.exp: Update test regexp. - -2018-08-09 Andrew Burgess - - * gdb.base/vla-optimized-out.exp: Add new test. - -2018-08-09 Andrew Burgess - - * gdb.base/vla-optimized-out-o3.exp: Delete. - * gdb.base/vla-optimized-out-o3-strict.exp: Delete. - * gdb.base/vla-optimized-out.exp: Extend to cover all of the - deleted tests. - -2018-08-08 Andrew Burgess - - PR gdb/18050: - * gdb.server/extended-remote-restart.c: New file. - * gdb.server/extended-remote-restart.exp: New file. - -2018-08-07 Simon Marchi - - * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with - "set variable index = 42". - -2018-08-07 Simon Marchi - - * boards/index-cache-gdb.exp: New file. - * gdb.dwarf2/index-cache.exp: New file. - * gdb.dwarf2/index-cache.c: New file. - * gdb.base/maint.exp: Check if we are using the index cache. - -2018-08-07 Rainer Orth - - * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in - MAKEFLAGS. - -2018-08-06 Rainer Orth - - * dg-extract-results.sh: Move to toplevel contrib. - * Makefile.in (check-parallel): Reflect dg-extract-results.sh move. - * Makefile.in (check-parallel-racy): Likewise. - -2018-08-06 Andrew Burgess - - * lib/gdb.exp (target_supports_scheduler_locking): New proc. - * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking - tests if the target supports scheduler locking. - -2018-08-04 Tom de Vries - - * gdb.python/py-rbreak.exp: Fix rbreak regexp. - -2018-08-02 Tom Tromey - - PR symtab/16842. - * gdb.cp/temargs.exp: Test "info address" of a template - parameter. - -2018-07-31 Jan Vrany - - * gdb.python/py-mi-var-info-path-expression.c: New file. - * gdb.python/py-mi-var-info-path-expression.py: New file. - * gdb.python/py-mi-var-info-path-expression.exp: New file. - -2018-07-30 Sergio Durigan Junior - - * lib/gdbserver-support.exp (gdbserver_start): Match any kind of - error after "cannot resolve name" string. - -2018-07-28 Andrew Burgess - - * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has - started. - * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running. - -2018-07-28 Tom de Vries - - * gdb.base/vla-optimized-out-o3-strict.exp: New file. - -2018-07-26 Tom de Vries - - * gdb.base/vla-optimized-out.c: Add comment about origin of test-case. - -2018-07-26 Andrew Burgess - - * gdb.base/maint.exp: Add check that dwarf unwinders control flag - is visible. - -2018-07-26 Tom de Vries - - PR breakpoints/23366 - * gdb.base/catch-follow-exec.c: New test. - * gdb.base/catch-follow-exec.exp: New file. - -2018-07-25 Tom de Vries - - * gdb.base/vla-optimized-out-o3.exp: New file. Reuse - vla-optimized-out.c. - -2018-07-25 Jan Vrany - - * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file. - * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file. - -2018-07-20 Tom de Vries - - * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on - NOCLONE macro. - * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE. - -2018-07-19 Tom de Vries - - * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in - regular expression. - -2018-07-18 Tom de Vries - - * gdb.base/vla-optimized-out.c: New test. - * gdb.base/vla-optimized-out.exp: New file. - -2018-07-13 Sergio Durigan Junior - - * lib/gdbserver-support.exp (gdbserver_start): Expect for the - message "No address associated with hostname" when gdbserver - cannot resolve the hostname. - -2018-07-12 Philippe Waroquiers - - * gdb.threads/pthreads.exp: Test qcs FLAG arguments. - Add some test prefixes to make tests unique. - -2018-07-12 Philippe Waroquiers - - * gdb.base/frameapply.c: New file. - * gdb.base/frameapply.exp: New file. - -2018-07-12 Philippe Waroquiers - - * gdb.base/skip.exp: Update expected error message. - -2018-07-11 Sergio Durigan Junior - Jan Kratochvil - Paul Fertser - Tsutomu Seki - - * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST' - parameter. - * boards/native-extended-gdbserver.exp: Do not set 'sockethost' - by default. - * boards/native-gdbserver.exp: Likewise. - * gdb.server/run-without-local-binary.exp: Improve regexp used - for detecting when a remote debugging connection succeeds. - * gdb.server/server-connect.exp: New file. - * lib/gdbserver-support.exp (gdbserver_default_get_comm_port): - Do not prefix the port number with ":". - (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement - support for detecting and using it. Add '$debughost_gdbserver' - to the list of arguments used to start gdbserver. Handle case - when gdbserver cannot resolve a network name. - -2018-07-11 Sergio Durigan Junior - - PR c++/23373 - * gdb.base/ptype-offsets.cc (struct static_member): New - struct. - (main) : New variable. - * gdb.base/ptype-offsets.exp: Add test for printing a struct - with a static member in it. - -2018-07-10 Andrew Burgess - - * gdb.base/watchpoint-reuse-slot.exp: Test with hardware - watchpoints enabled and disabled. - -2018-07-09 Andrew Burgess - - * gdb.base/examine-backward.exp: Still run tests around address - 0x0, even if address 0x0 is not readable. Update the pattern for - matching address 0x0 in expected output. - -2018-07-06 Andrew Burgess - - * gdb.base/share-env-with-gdbserver.c (main): Add call to - malloc/free. - -2018-07-04 Tom de Vries - - * gdb.dwarf2/dw2-error.exp: Update expected error message. - -2018-07-02 Maciej W. Rozycki - - PR tdep/8282 - * gdb.arch/mips-disassembler-options.exp: New test. - * gdb.arch/mips-disassembler-options.s: New test source. - -2018-06-29 Pedro Alves - - * gdb.threads/names.exp: Adjust expected "info threads" output. - -2018-06-29 Pedro Alves - - * gdb.opt/inline-break.exp (line number, address): Add "info - break" tests. - -2018-06-29 Pedro Alves - - * gdb.opt/inline-break.c (func1): Add "break here" marker. - * gdb.opt/inline-break.exp: Test setting breakpoints by line - number and address and running to them. - -2018-06-29 Richard Bunt - - * gdb.base/watchpoint-hw-attach.exp: Remove unstable output. - -2018-06-28 Jan Kratochvil - - * lib/compiler.c: Remove executable permission flag. - -2018-06-28 Richard Bunt - - * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded - code. - * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame. - -2018-06-28 Petr Tesarik - - * gdb.base/relocate.exp: Add test for "add-symbol-file -o ". - -2018-06-28 Petr Tesarik - - * gdb.base/relocate.exp: Test add-symbol-file behavior when the - address argument is omitted. - -2018-06-28 Petr Tesarik - - * gdb.base/relocate.exp: Add test for "symbol-file -o ". - -2018-06-27 Omair Javaid - - PR gdb/21695 - * gdb.base/infoline-reloc-main-from-zero.exp: New test. - * gdb.base/infoline-reloc-main-from-zero.c: New file. - -2018-06-26 Tom Tromey - - PR rust/22574: - * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests. - * gdb.rust/simple.rs (struct SimpleLayout): New. - -2018-06-22 Simon Marchi - - * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in - "info registers" output. - -2018-06-21 Richard Bunt - - * gdb.base/watchpoint-hw-attach.c: New test. - * gdb.base/watchpoint-hw-attach.exp: New file. - -2018-06-20 Simon Marchi - - * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh - through /bin/sh. - * boards/dwarf4-gdb-index.exp: Likewise. - * boards/fission-dwp.exp: Likewise. - -2018-06-20 Ulrich Weigand - - * gdb.base/float128.exp: Add comment and improved fail message - to the failure case of "print large128" test. - -2018-06-19 Simon Marchi - - * configure.ac: Remove AC_PREREQ. - * configure: Re-generate. - -2018-06-19 Pedro Alves - - * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller) - (func_extern_caller): New. - (main): Call func_extern_caller. - * gdb.opt/inline-break.exp: Add tests for inline frame skipping - logic change. - -2018-06-18 Weimin Pan - - PR gdb/16841 - * gdb.cp/typedef-base.cc: New file. - * gdb.cp/typedef-base.exp: New file. - -2018-06-18 Tom de Vries - - * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations. - -2018-06-16 Andrew Burgess - Richard Bunt - - * gdb.threads/attach-slow-waitpid.c: New file. - * gdb.threads/attach-slow-waitpid.exp: New file. - * gdb.threads/slow-waitpid.c: New file. - -2018-06-14 Pedro Alves - - * gdb.base/fork-running-state.c: Include . - (exit_if_relative_exits): New. - (fork_child): If 'exit_if_relative_exits' is true, exit if the parent - exits. - (fork_parent): If 'exit_if_relative_exits' is true, exit if the - child exits. - -2018-06-14 Tom de Vries - - PR cli/22573 - * gdb.base/finish-pretty.c: New test. - * gdb.base/finish-pretty.exp: New file. - -2018-06-14 Pedro Alves - - * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build - gdb's expected startup output. - -2018-06-14 Pedro Alves - - * lib/selftest-support.exp (selftest_setup): Remove inlined - function handling. - -2018-06-14 Tom de Vries - - * lib/selftest-support.exp (selftest_setup): Allow function arguments in - matching of breakpoint printing. - -2018-06-13 Tom de Vries - - PR testsuite/23269 - * gdb.base/fork-running-state.c (main): Move setting of alarm ... - (fork_child): ... here, and ... - (fork_parent): ... here. - -2018-06-12 Tom de Vries - - * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text. - -2018-06-12 Andrew Burgess - Stephen Roberts - - * gdb.threads/multiple-successive-infcall.exp: Remove kfail case, - rewrite test to describe action performed, rather than possible - failure. - -2018-06-08 Gary Benson - - * gdb.threads/check-libthread-db.exp: New file. - * gdb.threads/check-libthread-db.c: Likewise. - -2018-06-05 Tom Tromey - - * gdb.base/default.exp: Update expected "show version" output. - -2018-06-05 Tom Tromey - - PR cli/12326: - * gdb.cp/static-print-quit.exp: Update. - * lib/gdb.exp (pagination_prompt): Update. - * gdb.base/page.exp: Use pagination_prompt. Add new tests. - * gdb.python/python.exp: Update. - -2018-06-04 Joel Brobecker - - * gdb.mi/list-thread-groups-no-inferior.exp: New testcase. - -2018-06-01 Joel Brobecker - - * gdb.ada/bp_fun_addr: New testcase. - -2018-06-01 Tom Tromey - - * gdb.xml/tdesc-regs.exp (load_description): Update expected - results. - * gdb.dwarf2/method-ptr.exp: Set language to C++. - * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++. - * gdb.cp/typeid.exp (do_typeid_tests): Update type_re. - * gdb.base/maint.exp (maint_pass_if): Update. - -2018-05-31 Maciej W. Rozycki - - * gdb.base/endian.exp: New test. - * gdb.base/endian.c: New test source. - -2018-05-24 Andrew Burgess - - PR gdb/23203 - * gdb.base/bt-selected-frame.c: New file. - * gdb.base/bt-selected-frame.exp: New file. - * lib/gdb.exp (get_current_frame_number): New function. - -2018-05-24 Maciej W. Rozycki - Pedro Alves - - * gdb.threads/tls-core.c: Include - (thread_proc): Call `abort'. - * gdb.threads/tls-core.exp: Generate a core with core_find too. - (tls_core_test): New procedure, bits factored out from ... - (top level): ... here. Test both native cores and gcore cores. - -2018-05-23 Tom Tromey - - * gdb.gdb/complaints.exp (test_initial_complaints): Simplify. - -2018-05-23 Tom Tromey - - * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention - symfile_complaints. - (test_short_complaints): Likewise. - (test_empty_complaints): Likewise. - (test_initial_complaints): Update. - -2018-05-23 Tom Tromey - - * gdb.gdb/complaints.exp (test_empty_complaints): Update. - -2018-05-23 Tom Tromey - - * gdb.gdb/complaints.exp (test_serial_complaints): Remove. - (test_short_complaints): Update. - -2018-05-22 Pedro Alves - - * gdb.base/remote.exp: Only gdb_start after compiling the - testcase. Issue "disconnect" before testing "set remote" command - defaults. Issue clean_restart before running to main. - -2018-05-22 Pedro Alves - - * gdb.base/remote.exp: Adjust expected output of "show remote - memory-write-packet-size". Add tests for "set remote - memory-write-packet-size 0" and "set remote - memory-write-packet-size fixed/limit". - -2018-05-22 Pedro Alves - - PR gdb/22973 - * gdb.base/utf8-identifiers.c: New file. - * gdb.base/utf8-identifiers.exp: New file. - -2018-05-22 Pedro Franco de Carvalho - - * gdb.arch/powerpc-fpscr-gcore.exp: New file. - -2018-05-22 Pedro Franco de Carvalho - - * gdb.arch/powerpc-vsx-gcore.exp: New file. - -2018-05-18 Tom Tromey - - * gdb.base/ptype-offsets.exp: Update. - -2018-05-17 Keith Seitz - - * gdb.ada/bp_inlined_func.exp: Update inlined frame locations - in expected breakpoint stop locations. - * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to - move to proper scope to test variable values. - * gdb.opt/inline-break.c (inline_func1, not_inline_func1) - (inline_func2, not_inline_func2, inline_func3, not_inline_func3): - New functions. - (main): Call not_inline_func3. - * gdb.opt/inline-break.exp: Start inferior and set breakpoints at - inline_func1, inline_func2, and inline_func3. Test that when each - breakpoint is hit, GDB properly reports both the stop location - and the backtrace. Repeat tests for temporary breakpoints. - -2018-05-15 Maciej W. Rozycki - - * gdb.server/server-kill.exp: Verify whether `server_pid' exists - rather then trying to access it in determining whether the PID - of `gdbserver' could have been retrieved. - -2018-05-08 Andrew Burgess - - * gdb.arch/amd64-init-x87-values.S: New file. - * gdb.arch/amd64-init-x87-values.exp: New file. - -2018-05-08 Jan Kratochvil - - * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests. - -2018-05-04 Tom Tromey - - PR python/22730: - * gdb.python/python.exp: Test multi-line execute. - -2018-05-04 Tom Tromey - - PR python/22731: - * gdb.python/py-breakpoint.exp: Test setting breakpoint commands. - -2018-05-04 Tom Tromey - - PR gdb/11750: - * gdb.base/define.exp: Test defining a user command inside a user - command. - * gdb.base/commands.exp (define_if_without_arg_test): Test "define". - -2018-05-04 Jan Kratochvil - Pedro Alves - - PR breakpoints/19806 and support for PR external/20207. - * gdb.base/watchpoint-unaligned.c: New file. - * gdb.base/watchpoint-unaligned.exp: New file. - -2018-05-04 Andrew Burgess - - * gdb.base/maint.exp: Make test names unique, use - test_prefix_command_help to test 'help maint info', and remove - repeated test of 'help maint'. - -2018-05-04 Tom Tromey - - PR gdb/22619: - * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat - behavior. - -2018-05-04 Andrew Burgess - - * gdb.base/maint.exp: Process output from 'maint print registers' - line at a time. - -2018-05-04 Andrew Burgess - - * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a - timeout. - -2018-05-03 Andrew Burgess - - * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register - filter pattern. - -2018-05-02 Pedro Alves - - * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and - to_log_command renames. - * gdb.base/sss-bp-on-user-bp-2.exp: Likewise. - -2018-05-02 Tom Tromey - - * gdb.python/py-parameter.exp: Set test message. - -2018-05-02 Tom Tromey - - PR python/20084: - * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and - PARAM_ZUINTEGER_UNLIMITED tests. - -2018-04-28 Dan Robertson - - PR rust/23124 - * gdb.rust/expr.exp: Test that the unit type is correctly parsed - when casting. - -2018-04-30 Tom Tromey - - * gdb.python/py-type.exp: Check align attribute. - * gdb.python/py-type.c: New "aligncheck" global. - -2018-04-30 Tom Tromey - - PR exp/17095: - * gdb.dwarf2/dw2-align.exp: New file. - * gdb.cp/align.exp: New file. - * gdb.base/align.exp: New file. - * lib/gdb.exp (gdb_int128_helper): New proc. - (has_int128_c, has_int128_cxx): New caching procs. - -2018-04-27 Tom Tromey - - PR rust/22545: - * gdb.rust/simple.exp: Add inclusive range tests. - -2018-04-26 Pedro Alves - - * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves - ifunc breakpoint locations correctly of ifunc breakpoints set - while the program resolves the ifunc. - -2018-04-26 Pedro Alves - - * gdb.base/gnu-ifunc-final.c: New file. - * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c. - * gdb.base/gnu-ifunc.exp (executable): Delete. - (staticexecutable): Adjust. - (lib_opts, exec_opts): Delete. - (make_binsuffix, build, set-break): New procedures. - (misc_tests): New, with tests factored out from the top level. - (top level): Test different combinations of ifunc resolver name, - resolver with and with debug info, and ifunc target with and - without debug info. Wrap static tests with with_target_prefix. - -2018-04-26 Pedro Alves - - * gdb.compile/compile-ifunc.exp: Also expect "function has unknown - return type" warnings. - -2018-04-25 Pedro Alves - - * gdb.base/hook-stop.exp: Expect "killed" instead of "has been - killed". - * gdb.base/kill-after-signal.exp: Likewise. - * gdb.threads/kill.exp: Likewise. - -2018-04-24 Jan Kratochvil - Sergio Durigan Junior - Pedro Alves - - * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...' - regexps to expect for '[Inferior ... detached]' as well. - * gdb.base/attach.exp: Likewise. - * gdb.base/catch-syscall.exp (check_for_program_end): Adjust - "gdb_continue_to_end". - (test_catch_syscall_with_wrong_args): Likewise. - * gdb.base/foll-fork.exp: Adjust regexps to match '[' and - ']'. Don't set 'verbose' on. - * gdb.base/foll-vfork.exp: Likewise. - * gdb.base/fork-print-inferior-events.c: New file. - * gdb.base/fork-print-inferior-events.exp: New file. - * gdb.base/hook-stop.exp: Adjust regexps to expect for new - '[Inferior ... has been killed]' message. - * gdb.base/kill-after-signal.exp: Likewise. - * gdb.base/solib-overlap.exp: Adjust regexps to expect for new - detach message. - * gdb.threads/kill.exp: Adjust regexps to expect for new kill - message. - * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...' - regexps to expect for '[Inferior ... detached]' as well. - * gdb.threads/process-dies-while-detaching.exp: Likewise. - -2018-04-24 Simon Marchi - - PR gdb/23104 - * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load. - -2018-04-22 Rajendra SY - - PR gdb/23095 - * gdb.base/break-probes.exp: Pass shlib_load to - prepare_for_testing. Set normal_bp to r_debug_state if target is - bsd. - -2018-04-19 Richard Bunt - - * gdb.threads/multiple-successive-infcall.c: New test. - * gdb.threads/multiple-successive-infcall.exp: New file. - -2018-04-17 Tom Tromey - - * gdb.rust/simple.rs (Union): New type. - (main): New local "u". - * gdb.rust/simple.exp (test_one_slice): Add new test case. - -2018-04-16 Andreas Arnez - - * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line - number information in output of "whereis" command. - * gdb.base/info-fun.exp: Likewise, for "info fun" command. - -2018-04-13 Andreas Arnez - - * gdb.ada/info_types.exp: Adjust expected output to the line - numbers now printed by "info var/func/type". - * gdb.base/completion.exp: Likewise. - * gdb.base/included.exp: Likewise. - * gdb.cp/cp-relocate.exp: Likewise. - * gdb.cp/cplusfuncs.exp: Likewise. - * gdb.cp/namespace.exp: Likewise. - * gdb.dwarf2/dw2-case-insensitive.exp: Likewise. - -2018-04-13 Markus Metzger - - * gdb.btrace/cpu.exp: New. - -2018-04-13 Markus Metzger - - * gdb.base/step-indirect-call-thunk.exp: New. - * gdb.base/step-indirect-call-thunk.c: New. - * gdb.reverse/step-indirect-call-thunk.exp: New. - * gdb.reverse/step-indirect-call-thunk.c: New. - -2018-04-11 Simon Marchi - - * gdb.base/pie-fork.c: New file. - * gdb.base/pie-fork.exp: New file. - -2018-04-11 Tom Tromey - - * gdb.rust/simple.exp: Add test for ".." struct initializer. - -2018-04-10 Pedro Alves - - * gdb.base/fork-running-state.c (fork_child): Don't exit if parent - exits. Instead loop running forever. - (fork_parent): Run forever too. - -2018-04-07 Simon Marchi - - * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use - mi_continue_to_line. - * gdb.mi/mi-stack.c (callee4): Add comment. - -2018-04-07 Simon Marchi - - * gdb.mi/mi-stack.exp: Fix indentation. - -2018-04-07 Simon Marchi - - PR gdb/22979 - * gdb.arch/amd64-osabi.exp: New file. - -2018-04-07 Simon Marchi - - PR gdb/22980 - * gdb.base/osabi.exp: New file. - -2018-04-02 Weimin Pan - - * gdb.cp/static-typedef-print.exp: New file. - * gdb.cp/static-typedef-print.cc: New file. - -2018-03-27 Joel Brobecker - - * gdb.ada/varsize_limit: New testcase. - -2018-03-27 Joel Brobecker - - * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail. - - * gdb.ada/notcplusplus: New testcase. - - * gdb.base/c-linkage-name.c: New file. - * gdb.base/c-linkage-name.exp: New testcase. - -2018-03-26 Tom Tromey - - * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt. - * gdb.python/py-framefilter.py (name_error): New global. - (ErrorInName.function): Use name_error. - -2018-03-26 Tom Tromey - - PR backtrace/15582: - * gdb.python/py-framefilter.exp: Add "bt hide" test. - -2018-03-23 Keith Seitz - - PR c++/22968 - * gdb.cp/subtypes.exp: New file. - * gdb.cp/subtypes.h: New file. - * gdb.cp/subtypes.cc: New file. - * gdb.cp/subtypes-2.cc: New file. - -2018-03-23 Andrew Burgess - - * gdb.arch/amd64-disp-step-avx.S: Add '_start' label. - (done): Call '_exit' not 'exit' to avoid atexit handlers. - * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and - -nostartfiles when compiling the test. Confirm that all registers - xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after. - -2018-03-23 Andrew Burgess - - * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag - option, syntax was wrong anyway. - * gdb.arch/arm-disp-step.exp: Likewise. - * gdb.arch/sparc64-regs.exp: Likewise. - * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag - option, syntax was wrong anyway, switch to use - prepare_for_testing. - * gdb.arch/i386-disp-step.exp: Likewise. - -2018-03-23 Andreas Arnez - - * gdb.ada/exec_changed.exp: Replace "target_info exists - use_gdb_stub" by "use_gdb_stub". - * gdb.ada/start.exp: Likewise. - * gdb.base/async-shell.exp: Likewise. - * gdb.base/attach-pie-misread.exp: Likewise. - * gdb.base/attach-wait-input.exp: Likewise. - * gdb.base/break-entry.exp: Likewise. - * gdb.base/break-interp.exp: Likewise. - * gdb.base/dprintf-detach.exp: Likewise. - * gdb.base/nostdlib.exp: Likewise. - * gdb.base/solib-nodir.exp: Likewise. - * gdb.base/statistics.exp: Likewise. - * gdb.base/testenv.exp: Likewise. - * gdb.mi/mi-exec-run.exp: Likewise. - * gdb.mi/mi-start.exp: Likewise. - * gdb.multi/dummy-frame-restore.exp: Likewise. - * gdb.multi/multi-arch-exec.exp: Likewise. - * gdb.multi/multi-arch.exp: Likewise. - * gdb.multi/tids.exp: Likewise. - * gdb.multi/watchpoint-multi.exp: Likewise. - * gdb.python/py-events.exp: Likewise. - * gdb.threads/attach-into-signal.exp: Likewise. - * gdb.threads/attach-stopped.exp: Likewise. - * gdb.threads/threadapply.exp: Likewise. - * lib/selftest-support.exp: Likewise. - -2018-03-22 Andreas Arnez - - * gdb.base/info-proc.exp: Add test for "info proc cmdline". - -2018-03-20 Stephen Roberts - - * gdb.perf/template-breakpoints.cc: New file. - * gdb.perf/template-breakpoints.exp: New file. - * gdb.perf/template-breakpoints.py: New file. - -2018-03-19 Tom Tromey - - * gdb.rust/simple.rs (main): Add local variables field1, field2, - y0. - * gdb.rust/simple.exp: Test bare identifier form of struct - initializer. - -2018-03-19 Tom Tromey - - * gdb.gdb/observer.exp: Remove. - -2018-03-19 Andreas Arnez - - * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the - "qualified" option when setting breakpoints. - * gdb.trace/backtrace.exp: Likewise. - * gdb.trace/circ.exp: Likewise. - * gdb.trace/collection.exp: Likewise. - * gdb.trace/disconnected-tracing.exp: Likewise. - * gdb.trace/ftrace-lock.exp: Likewise. - * gdb.trace/ftrace.exp: Likewise. - * gdb.trace/infotrace.exp: Likewise. - * gdb.trace/packetlen.exp: Likewise. - * gdb.trace/passc-dyn.exp: Likewise. - * gdb.trace/qtro.exp: Likewise. - * gdb.trace/read-memory.exp: Likewise. - * gdb.trace/report.exp: Likewise. - * gdb.trace/signal.exp: Likewise. - * gdb.trace/status-stop.exp: Likewise. - * gdb.trace/strace.exp: Likewise. - * gdb.trace/tfind.exp: Likewise. - * gdb.trace/trace-break.exp: Likewise. - * gdb.trace/trace-condition.exp: Likewise. - * gdb.trace/trace-mt.exp: Likewise. - * gdb.trace/tstatus.exp: Likewise. - * gdb.trace/tsv.exp: Likewise. - * gdb.trace/unavailable-dwarf-piece.exp: Likewise. - * gdb.trace/unavailable.exp: Likewise. - * gdb.trace/while-dyn.exp: Likewise. - -2018-03-16 Andreas Arnez - - * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure - that libinproctrace is copied to the target. - -2018-03-14 Tom Tromey - - PR cli/14977: - * gdb.base/printcmds.exp (test_printf): Add printf test of %s with - a null pointer. - * gdb.base/wchar.exp: Likewise. - -2018-03-14 Tom Tromey - - PR cli/19918: - * gdb.base/printcmds.exp (test_printf): Add printf test using '-' - flag. - -2018-03-08 Simon Marchi - - PR gdb/22841 - * boards/remote-stdio-gdbserver.exp (${board}_file): Pass - "target" to remote_exec. - -2018-03-08 Simon Marchi - - PR gdb/22841 - * boards/gdbserver-base.exp (${board}_file, ${board}_download, - ${board}_upload): Remove. - -2018-03-07 Andreas Arnez - - * gdb.cp/watch-cp.cc: New test. - * gdb.cp/watch-cp.exp: New file. - -2018-03-06 Andrew Burgess - - * gdb.base/infcall-nested-structs.exp: New file. - * gdb.base/infcall-nested-structs.c: New file. - * gdb.base/float.exp: Add riscv support. - -2018-03-02 Thomas Preud'homme - - * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits. - * gdb.mi/dw2-ref-missing-frame-func.c: Likewise. - -2018-02-28 Sergio Durigan Junior - - * gdb.server/abspath.exp: New file. - * lib/gdb.exp (with_cwd): New procedure. - -2018-02-28 Simon Marchi - - * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and - use it. - (gdb_is_target_remote_prompt): New proc. - (gdb_is_target_remote): Use gdb_is_target_remote_prompt. - (gdb_is_target_native): Pass prompt parameter to - gdb_is_target_1. - -2018-02-26 Simon Marchi - - * gdb.base/load-command.c: New file. - * gdb.base/load-command.exp: New file. - * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to... - (gdb_is_target_1): ...this, and generalize for other targets - than just remote. - (gdb_is_target_remote): Use gdb_is_target_1. - (gdb_is_target_native): use gdb_is_target_1. - -2018-02-26 Tom Tromey - - PR python/16497: - * gdb.python/py-framefilter.exp: Update test. - -2018-02-26 Tom Tromey - - * gdb.dwarf2/variant.c: New file. - * gdb.dwarf2/variant.exp: New file. - -2018-02-26 Tom Tromey - - * gdb.rust/simple.exp: Accept more possible results in enum test. - -2018-02-25 Simon Marchi - - * lib/cp-support.exp (cp_test_ptype_class): Move space inside - parentheses. - -2018-02-23 Maciej W. Rozycki - - * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the - name of a variable: $actual_linejj -> $actual_line. - -2018-02-21 John Baldwin - - * gdb.arch/amd64-i386-address.exp: Fix a typo. - -2018-02-20 Markus Metzger - - * gdb.btrace/buffer-size.exp: Do not force BTS. - -2018-02-14 Pedro Alves - - * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after - getting a "Quit". - -2018-02-09 Markus Metzger - - * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message. - Fix test name. - -2018-02-07 Simon Marchi - - * gdb.cp/m-static.exp: Check type of optimized out static - member. - -2018-02-03 Andrew Burgess - - * config/sid.exp (gdb_target_sid): Remove use of cleanup. - * config/sim.exp (gdb_target_sim): Remove use of cleanup. - -2018-02-01 Simon Marchi - Leszek Swirski - - * gdb.python/py-prettyprint.c - (struct to_string_returns_value_inner, - struct to_string_returns_value_wrapper): New. - (main): Add tsrvw variable. - * gdb.python/py-prettyprint.py (ToStringReturnsValueInner, - ToStringReturnsValueWrapper): New classes. - (register_pretty_printers): Register new pretty-printers. - * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing - recursive pretty printer. - * gdb.python/py-mi.exp: Likewise. - -2018-02-01 Leszek Swirski - - * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member - functions with the same name as an include file are parsed - correctly. - -2018-02-01 Yao Qi - - * gdb.base/attach.exp (do_attach_tests): Set sysroot to - "\[^\r\n\]*". - -2018-01-31 Nikola Prica - - * gdb.arch/powerpc-prologue-frame.s: New file. - * gdb.arch/powerpc-prologue-frame.c: Likewise. - * gdb.arch/powerpc-prologue-frame.exp: Likewise. - -2018-01-31 Joel Brobecker - - * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test. - -2018-01-30 Pedro Alves - - PR gdb/13211 - * gdb.base/interrupt-daemon.c: New. - * gdb.base/interrupt-daemon.exp: New. - * gdb.multi/multi-term-settings.c: New. - * gdb.multi/multi-term-settings.exp: New. - -2018-01-30 Joel Brobecker - - * gdb.base/break.exp: Save the location where the breakpoint - on break.c:47 was actually inserted when debugging the version - compiled at -O2 and use it in the expected output of the "info - break" test performed soon after. - -2018-01-22 Pedro Alves - Sergio Durigan Junior - - * gdb.base/whatis.exp: Add tests for 'set print object on' + - 'whatis ' 'whatis *' and 'whatis &'. - -2018-01-22 Joel Brobecker - - * gdb.base/break-include.c, gdb.base/break-include.inc, - gdb.base/break-include.exp: New files. - * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's - line number now being the actual line number where the breakpoint - was inserted. - * gdb.mi/mi-break.exp: Likewise. - * gdb.mi/mi-reverse.exp: Likewise. - * gdb.mi/mi-simplerun.exp: Ditto. - -2018-01-21 Andrew Burgess - - * gdb.python/py-mi.exp: Don't expect a thread-id for floating - varobj. - * gdb.mi/mi-var-create-rtti.exp: Likewise. - -2018-01-21 Don Breazeal - Andrew Burgess - - * gdb.mi/basics.c: Add new global. - * gdb.mi/mi-frame-regs.exp: New file. - * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new - case. - -2018-01-21 Andrew Burgess - - * gdb.arch/amd64-entry-value.exp: Test using @entry on a - non-parameter, and on an unknown symbol. - -2018-01-19 Tom Tromey - - * gdb.rust/modules.rs (TWENTY_THREE): New global. - * gdb.rust/modules.exp: Add ::-qualified lookup test. - -2018-01-19 Andreas Arnez - - * gdb.arch/s390-vregs.exp: Explicitly cast the return values of - setrlimit and chdir to int. - -2018-01-19 Andreas Arnez - - * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the - function. - (my_tend): Likewise. - * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the - rationale of avoiding FP- and vector instructions. - -2018-01-19 Ruslan Kabatsayev - - * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from - "info reg" with "\[ \t\]*". - * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with - "\[ \t\]+". - * gdb.arch/s390-multiarch.exp: Ditto. - * gdb.base/pc-fp.exp: Ditto. - * gdb.reverse/i386-precsave.exp: Ditto. - * gdb.reverse/i386-reverse.exp: Ditto. - * gdb.reverse/i387-env-reverse.exp: Ditto. - * gdb.reverse/i387-stack-reverse.exp: Ditto. - -2018-01-18 Andreas Arnez - - * lib/gdb.exp (gdb_compile): Re-enable use of - universal_compile_options for languages other than Rust. - -2018-01-18 Andreas Arnez - - * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float. - -2018-01-17 Mike Gulick - - PR gdb/16577 - * gdb.base/solib-vanish.exp: New. - * gdb.base/solib-vanish-main.c: New. - * gdb.base/solib-vanish-lib1.c: New. - * gdb.base/solib-vanish-lib2.c: New. - -2018-01-17 Yao Qi - - * gdb.compile/compile.exp: Match the address printed for - frame in the output of command "bt". - -2018-01-15 Tom Tromey - - * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to - compute sp_reg. - -2018-01-12 Andrew Burgess - - * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed - to prepare. - (prepare): Return 0 on error, 1 on success. - -2018-01-12 Pedro Alves - - * gdb.base/continue-after-aborted-step-over.c: New. - * gdb.base/continue-after-aborted-step-over.exp: New. - -2018-01-11 Simon Marchi - - * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load - options when not creating an executable. - -2018-01-11 Pedro Alves - - PR remote/22597 - * gdb.server/stop-reply-no-thread.c: New file. - * gdb.server/stop-reply-no-thread.exp: New file. - -2018-01-10 Pedro Alves - - PR gdb/22670 - * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C - functions too. Test setting breakpoints and printing C functions - with no debug info too. - * gdb.ada/bp_c_mixed_case/qux.c: New file. - -2018-01-10 Pedro Alves - - PR gdb/22670 - * gdb.ada/complete.exp ("complete break ada"): Replace kfail with - a fail. - -2018-01-10 Pedro Alves - - PR gdb/22670 - * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls. - -2018-01-08 Simon Marchi - - * gdb.server/unittest.exp: Match the output in non-development - mode. - -2018-01-08 Simon Marchi - - * gdb.gdb/unittest.exp: Match output in non-development mode. - -2018-01-08 Joel Brobecker - - * gdb.ada/access_tagged_param.exp: Relax expected output - for value of "ObjL" in "continue" to pck.inspect breakpoint - test. - -2018-01-08 Joel Brobecker - - * gdb.ada/arr_enum_idx_w_gap.exp: New file. - * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file. - -2018-01-05 Pedro Alves - - PR gdb/18653 - * gdb.base/libsegfault.exp: New. - -2018-01-05 Joel Brobecker - - PR gdb/22670 - * gdb.ada/access_tagged_param.exp: New file. - * gdb.ada/access_tagged_param/foo.adb: New file. - -2018-01-05 Pedro Alves - - PR gdb/22670 - * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to - exercise lower case too, and to exercise both full matching and - wild matching. - -2018-01-05 Joel Brobecker - - * gdb.ada/rename_subscript_param: New testcase. - -2018-01-05 Jerome Guitton - - * gdb.ada/arr_acc_idx_w_gap: New testcase. - -2018-01-05 Joel Brobecker - - * gdb.ada/convvar_comp: New testcase. - -2018-01-05 Xavier Roirand - - * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type. - (My_Table): New global variable. - * testsuite/gdb.ada/array_char_idx.exp: Add test. - -2018-01-04 Joel Brobecker - - PR gdb/22670 - * gdb.ada/maint_with_ada: New testcase. - -2018-01-04 Joel Brobecker - - PR gdb/22670 - * gdb.ada/bp_c_mixed_case: New testcase. - -2018-01-04 Joel Brobecker - - PR gdb/22670 - * gdb.ada/complete.exp: Add "complete break ada" test. - -2018-01-04 Joel Brobecker - - PR gdb/22670 - * gdb.ada/info_addr_mixed_case: New testcase. - -2018-01-03 Xavier Roirand - - * gdb.ada/excep_handle.exp: New testcase. - * gdb.ada/excep_handle/foo.adb: New file. - * gdb.ada/excep_handle/pck.ads: New file. - -2018-01-03 Joel Brobecker - - * gdb.base/step-line.c: Add extra empty line in copyright header. - * gdb.base/step-line.inp: Likewise. - -2018-01-02 Joel Brobecker - - * gdb.ada/dyn_stride.exp: Add slice test. - -2018-01-02 Joel Brobecker - - * gdb.ada/dyn_stride: New testcase. - -2017-12-27 Stafford Horne - - * gdb.xml/extra-regs.xml: Add example foo reggroup. - * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup. - -2017-12-27 Stafford Horne - - * gdb.base/reggroups.c: New file. - * gdb.base/reggroups.exp: New file. - -2017-12-18 Joel Brobecker - - * gdb.dwarf2/ada-valprint-error.c: New file. - * gdb.dwarf2/ada-valprint-error.exp: New file. - -2017-12-18 Joel Brobecker - - * gdb.ada/assign_arr: New testcase. - -2017-12-18 Xavier Roirand - - * gdb.ada/funcall_ptr: New testcase. - -2017-12-15 Sergio Durigan Junior - - PR cli/16224 - * gdb.base/ptype-offsets.cc: New file. - * gdb.base/ptype-offsets.exp: New file. - -2017-12-15 Yao Qi - - * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions' - if XML is disabled. - -2017-12-15 Xavier Roirand - - * gdb.ada/same_component_name: New testcase. - -2017-12-14 Joel Brobecker - - * gdb.ada/str_binop_equal: New testcase. - -2017-12-14 Joel Brobecker - - * gdb.ada/task_switch_in_core: New testcase. - -2017-12-13 Simon Marchi - - * gdb.python/py-breakpoint.c (foo_ns::multiply): New function. - * gdb.python/py-breakpoint.exp: Compile the test case as c++, - call test_bkpt_qualified. - (test_bkpt_qualified): New proc. - -2017-12-13 Pedro Alves - - * lib/completion-support.exp (test_gdb_complete_tab_multiple): - Tighten regexp by matching with an anchor. - -2017-12-13 Pedro Alves - - * gdb.cp/cpcompletion.exp: Load completion-support.exp. - ("expression with namespace"): New set of tests. - * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar) - (Nested::Test_NS::qux): New. - * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add - defaults to 'start_quote_char' and 'end_quote_char' parameters. - -2017-12-13 Joel Brobecker - - * gdb.base/server-del-break.c: New file. - * gdb.base/server-del-break.exp: New file. - -2017-12-12 Stafford Horne - - * gdb.xml/tdesc-regs.exp: Add or1k support. - -2017-12-12 Stafford Horne - - * gdb.base/bp-permanent.c: Define nop of or1k. - -2017-12-11 Joel Brobecker - - * gdb.ada/variant_record_packed_array.exp: Adapt test to accept - output with components being reordered. - -2017-12-11 Joel Brobecker - - * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept - output with components being reordered. - -2017-12-08 Jan Kratochvil - Pedro Alves - - * gdb.base/maint.exp (check for .gdb_index): Check also for - .debug_names. - * gdb.dlang/watch-loc.c (.debug_aranges): New. - * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise. - * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used) - (.gdb_index used after symbol reloading): Support also .debug_names. - * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New. - -2017-12-08 Yao Qi - - * gdb.arch/aarch64-tagged-pointer.c (main): Update. - * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint. - -2017-12-08 Yao Qi - - * gdb.arch/aarch64-tagged-pointer.c (main): Update. - * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint. - -2017-12-08 Yao Qi - - * gdb.arch/aarch64-tagged-pointer.c: New file. - * gdb.arch/aarch64-tagged-pointer.exp: New file. - -2017-12-08 Sergio Durigan Junior - - * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call - "int". - -2017-12-07 Keith Seitz - - PR breakpoints/22569 - * gdb.linespec/ls-errs.exp: Change expected result of "break - -source this file has spaces.c -line 3". - Check that an explicit source file followed by whitespace is - identified as an invalid explicit location. - -2017-12-07 Keith Seitz - - * gdb.cp/nested-types.cc: New file. - * gdb.cp/nested-types.exp: New file. - * lib/cp-support.exp: Load data-structures.exp library. - (debug_cp_test_ptype_class): New global. - (cp_ptype_class_verbose, next_line): New procedures. - (cp_test_ptype_class): Add and document new parameter `recursive_qid'. - Add and document new return value. - Switch the list of lines to a queue. - Add support for new `type' key for nested type definitions. - Add debugging/troubleshooting messages. - * lib/data-structures.exp: New file. - -2017-12-07 Simon Marchi - - * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define - with proc_with_prefix, don't use with_test_prefix. - -2017-12-07 Tom Tromey - - * gdb.base/break.exp: Add test for empty "commands". - -2017-12-07 Yao Qi - - * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on - malloc and catch syscall. - -2017-12-07 Phil Muldoon - - * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new - tests for explicit locations. - -2017-12-06 Pedro Alves - - * gdb.arch/i386-avx.exp: If testing with a RSP target, check - force-disabling XML descriptions. - -2017-12-04 Pedro Alves - - PR gdb/22499 - * gdb.arch/amd64-disp-step-avx.S: New file. - * gdb.arch/amd64-disp-step-avx.exp: New file. - -2017-12-03 Pedro Alves - - * gdb.threads/process-dies-while-detaching.c: Include - and . - (parent_function): Print distinct messages when waitpid fails, or - the child exits with a signal, or the child exits for an unhandled - reason. - * gdb.threads/process-dies-while-detaching.exp - (detach_and_expect_exit): New 'inf_output_re' parameter and use - it. Wait for both inferior output and GDB's prompt. Use an - indirect spawn id list. - (do_detach): New parameter 'child_exit'. Use it to compute - expected inferior output. - (test_detach, test_detach_watch, test_detach_killed_outside): - Adjust to pass down the expected child exit kind. - -2017-12-01 Joel Brobecker - Sergio Durigan Junior - Pedro Alves - - * gdb.base/readnever.c, gdb.base/readnever.exp: New files. - -2017-12-01 Sergio Durigan Junior - - * gdb.base/relocate.exp: Add tests to guarantee that arguments - to 'symbol-file' and 'add-symbol-file' can be - position-independent. - -2017-12-01 Yao Qi - - * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with - the URL in copyright header. - * gdb.arch/aarch64-fp.exp: Likewise. - * gdb.arch/ppc64-atomic-inst.exp: Likewise. - * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise. - * gdb.base/expand-psymtabs.exp: Likewise. - * gdb.cp/expand-psymtabs-cxx.exp: Likewise. - * gdb.fortran/common-block.exp: Likewise. - * gdb.fortran/common-block.f90: Likewise. - * gdb.fortran/logical.exp: Likewise. - * gdb.fortran/vla-datatypes.f90: Likewise. - * gdb.fortran/vla-sub.f90: Likewise. - -2017-11-30 Joel Brobecker - - * gdb.ada/repeat_dyn: New testcase. - -2017-11-30 Ulrich Weigand - - * gdb.cell/gcore.exp: Fix typo when setting spu_bin. - Update for changed thread numbering. - * gdb.cell/bt.exp: Update for changed GDB output. - -2017-11-30 Simon Marchi - - * boards/cc-with-tweaks.exp: Include local-board.exp instead of - setting isremote by hand. - * boards/dwarf4-gdb-index.exp: Likewise. - * boards/fission.exp: Likewise. - * boards/stabs.exp: Likewise. - -2017-11-30 Pedro Alves - - * gdb.linespec/cpls-ops.exp - (check_explicit_skips_function_argument): Extract the underlying - type of size_t instead of hardcoding it. - -2017-11-29 Pedro Alves - - PR c++/19436 - * gdb.linespec/cpls-abi-tag.cc: New file. - * gdb.linespec/cpls-abi-tag.exp: New file. - -2017-11-29 Pedro Alves - - * gdb.base/langs.exp: Use -qualified. - * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without - it. - * gdb.cp/namespace.exp: Use -qualified. - * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2) - (overload-3, template-overload, template-ret-type, const-overload) - (const-overload-quoted, anon-ns, ambiguous-prefix): New - procedures. - (test_driver): Call them. - * gdb.cp/save-bp-qualified.cc: New. - * gdb.cp/save-bp-qualified.exp: New. - * gdb.linespec/explicit.exp: Test -qualified. - * lib/completion-support.exp (completion::explicit_opts_list): Add - "-qualified". - * lib/gdb.exp (gdb_breakpoint): Handle "qualified". - -2017-11-29 Phil Muldoon - - * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests. - -2017-11-29 Tom Tromey - - * gdb.base/relocate.exp: Update invalid argument test. - Add new tests for invalid arguments. - -2017-11-29 Thomas Preud'homme - - * gdb.cp/psymtab-parameter.cc (func): Change return type back to long. - Return 0 as a long. - * gdb.cp/psymtab-parameter.exp: Change func's return type back to long. - -2017-11-29 Thomas Preud'homme - - * gdb.cp/breakpoint.cc (bar): Set return type to void. - * gdb.cp/psymtab-parameter.cc (func): Likewise. - * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of - func (). - * gdb.cp/shadow.cc (B.func): Return 0. - -2017-11-27 Joel Brobecker - - * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust - expected output in gdb_expect call to allow the exception - message to be present as well. Fix syntax confusion to avoid - TCL thinking that exception_name is an array. - -2017-11-26 Ulrich Weigand - - * gdb.arch/spu-info.c: Include . - (do_signal_test): Fix broken calls to write. - * gdb.arch/spu-info.exp: Use prepare_for_testing. - Fix checks for empty mailboxes. Update signal tests for corrected - do_signal_test routine. Allow nonzero event status. - * gdb.arch/spu-ls.exp: Use prepare_for_testing. - * gdb.cell/arch.exp: Use standard_output_file. - * gdb.cell/break.exp: Likewise. - * gdb.cell/bt.exp: Likewise. - * gdb.cell/core.exp: Likewise. - * gdb.cell/dwarfaddr.exp: Likewise. - * gdb.cell/ea-cache.exp: Likewise. - * gdb.cell/ea-standalone.exp: Likewise. - * gdb.cell/f-regs.exp: Likewise. - * gdb.cell/fork.exp: Likewise. - * gdb.cell/gcore.exp: Likewise. - * gdb.cell/mem-access.exp: Likewise. - * gdb.cell/ptype.exp: Likewise. - * gdb.cell/registers.exp: Likewise. - * gdb.cell/sizeof.exp: Likewise. - * gdb.cell/solib-symbol.exp: Likewise. - * gdb.cell/solib.exp: Likewise. - -2017-11-25 Pedro Alves - - * gdb.base/complete-empty.exp: New file. - * gdb.base/completion.exp: Adjust. - -2017-11-25 Pedro Alves - - * gdb.linespec/cpls-ops.cc: New file. - * gdb.linespec/cpls-ops.exp: New file. - * lib/completion-support.exp (test_complete_prefix_range_re): New, - factored out from ... - (test_complete_prefix_range): ... this. - -2017-11-24 Pedro Alves - - * gdb.linespec/cpcompletion.exp: New file. - * gdb.linespec/cpls-hyphen.cc: New file. - * gdb.linespec/cpls.cc: New file. - * gdb.linespec/cpls2.cc: New file. - * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust - test to use test_gdb_complete_unique. Add label completion, - keyword completion and explicit location completion tests. - * lib/completion-support.exp: New file. - -2017-11-24 Joel Brobecker - - * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp, - gdb.ada/mi_ex_cond.exp: Accept optional exception message in - when hitting an exception catchpoint. - -2017-11-22 Yao Qi - - * gdb.base/macscp.exp: Append -g3 to additional_flags for clang. - -2017-11-22 Simon Marchi - - * gdb.opt/inline-locals.exp: Mark tests as KFAIL. - * gdb.dwarf2/info-locals-optimized-out.exp: New file. - * gdb.dwarf2/info-locals-optimized-out.c: New file. - -2017-11-22 Yao Qi - - * gdb.base/info-os.exp: Pass pthreads. - * gdb.multi/multi-attach.exp: Likewise. - -2017-11-22 Yao Qi - - * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc - compiler. - -2017-11-22 Yao Qi - - * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags. - * gdb.base/break-interp.exp: Likewise. - * gdb.base/jit-attach-pie.exp: Likewise. - -2017-11-22 Ulrich Weigand - - * gdb.base/float128.c (large128): New variable. - * gdb.base/float128.exp: Add test to print largest __float128 value. - -2017-11-22 Ulrich Weigand - - * gdb.arch/vsx-regs.exp: Update register content checks. - -2017-11-21 Ulrich Weigand - - * gdb.arch/ppc-longdouble.exp: New file. - * gdb.arch/ppc-longdouble.c: Likewise. - -2017-11-21 Pedro Alves - - * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'. - -2017-11-20 Pedro Alves - - * gdb.base/whatis-ptype-typedefs.c (double_typedef) - (long_double_typedef): New typedefs. - Use DEF on double and long double. - * gdb.base/whatis-ptype-typedefs.exp: Add double and long double - cases. - (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size', - and 'long_double_ptr_same_size' locals. Use them to decide - whether cast from array/function to float is valid/invalid. - -2017-11-17 Tom Tromey - - * gdb.rust/traits.rs: New file. - * gdb.rust/traits.exp: New file. - -2017-11-17 Joel Brobecker - - * gdb.ada/minsyms: New testcase. - -2017-11-16 Pedro Alves - - * gdb.base/bp-cmds-continue-ctrl-c.c: New file. - * gdb.base/bp-cmds-continue-ctrl-c.exp: New file. - -2017-11-16 Pedro Alves - - * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if - gdb,noinferiorio is set, and use gdb_test_stdio otherwise. - -2017-11-16 Pedro Alves - - * gdb.server/reconnect-ctrl-c.c: New file. - * gdb.server/reconnect-ctrl-c.exp: New file. - -2017-11-16 Phil Muldoon - - * gdb.python/py-rbreak.exp: New file. - * gdb.python/py-rbreak.c: New file. - * gdb.python/py-rbreak-func2.c: New file. - -2017-11-16 Pedro Alves - - * gdb.base/starti.exp ("continue" test): Remove ".*"s from - pattern. - * lib/gdb.exp (gdb_test_sequence): Don't send empty command to - GDB. - -2017-11-15 Simon Marchi - - * gdb.tui/completionn.exp (test_tab_completion): Add space in - regex. - -2017-11-13 Simon Marchi - - * gdb.opt/inline-locals.exp: Remove trailing parentheses from - test names. - -2017-11-09 Pedro Alves - - * gdb.tui/tui-completion.exp (test_tab_completion): New procedure, - factored out from ... - (top level): ... here, and adjusted to avoid expecting beyond the - prompt in a single gdb_test_multiple. - -2017-11-09 Pedro Alves - - * gdb.multi/multi-attach.exp ("kill" test): Match the whole query - output. - * gdb.server/ext-attach.exp ("kill" test): Likewise. - * gdb.server/ext-restart.exp ("kill" test): Likewise. - * gdb.server/ext-run.exp ("kill" test): Likewise. - * gdb.server/ext-wrapper.exp ("kill" test): Likewise. - -2017-11-09 Pedro Alves - - * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to - match till end of line. - -2017-11-09 Pedro Alves - - * gdb.base/memattr.exp: Tighten regexes to match the end line. - -2017-11-09 Pedro Alves - - * gdb.base/completion.exp (ignore_and_resync, test_tab_complete): - New procedures, factored out from ... - (top level): ... here, and adjusted to avoid expecting beyond the - prompt in one go. - -2017-11-09 Pedro Alves - - * gdb.asm/asm-source.exp ("kill" test): Match the whole query - output. Fix '?' match. - -2017-11-08 Joel Brobecker - - * gdb.ada/scoped_watch: New testcase. - * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior - which is actually correct. - * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj. - * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj. - -2017-11-08 Pedro Alves - - * gdb.gdb/complaints.exp (test_initial_complaints) - (test_serial_complaints, test_short_complaints): Call - complaint_internal instead of complaint. - -2017-11-08 Djordje Todorovic - - * gdb.threads/tls-core.c: New file. - * gdb.threads/tls-core.exp: Likewise. - -2017-11-08 Pedro Alves - - * gdb.ada/complete.exp (p ): New test. - (p Exported_Capitalized): New test. - (p exported_capitalized): New test. - -2017-11-07 Pedro Alves - - * gdb.cp/ena-dis-br-range.exp: Add more tests. - -2017-11-07 Pedro Alves - - * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test. - * gdb.cp/ena-dis-br-range.exp: Adjust tests. - (disable_invalid, disable_inverted, disable_negative): New - procedures. - ("bad numbers"): New set of tests. - -2017-11-07 Pedro Alves - - * gdb.cp/ena-dis-br-range.exp: Add tests. - -2017-11-07 Pedro Alves - - * gdb.base/ena-dis-br.exp: Don't expect "warning:". - -2017-11-07 Xavier Roirand - Pedro Alves - - * gdb.base/ena-dis-br.exp: Add reference to - gdb.cp/ena-dis-br-range.exp. - * gdb.cp/ena-dis-br-range.exp: New file. - * gdb.cp/ena-dis-br-range.cc: New file. - -2017-11-06 Pedro Alves - - * gdb.base/attach-non-pgrp-leader.c: New. - * gdb.base/attach-non-pgrp-leader.exp: New. - -2017-11-06 Pedro Alves - - * configure.ac: No longer check for termio.h and sgtty.h. - * configure: Regenerate. - * remote-utils.c: Include termios.h instead of gdb_termios.h. - (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS. - Remove termio and sgtty code. - -2017-11-03 Yao Qi - - * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing - in GDB is disabled. - -2017-11-03 Yao Qi - - * gdb.python/py-thrhandle.exp: Skip it if python is not - enabled. - -2017-10-31 Simon Marchi - - * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace - as a breakpoint command. - -2017-10-28 Maksim Dzabraev - - PR python/21213 - * gdb.python/py-infthread.exp: Test calling - InferiorThread.inferior () multiple times in a row. - -2017-10-27 Keith Seitz - - * gdb.opt/inline-break.exp (break_info_1): New procedure. - Test "info break" for every inlined function breakpoint. - -2017-10-27 Yao Qi - - * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered. - -2017-10-26 Patrick Frants - - * gdb.cp/classes.exp (test_static_members): Test printing - Outer::instance. - * gdb.cp/classes.c (struct Inner, struct Outer): New. - (Inner::instance, Outer::instance): New. - -2017-10-24 Pedro Alves - - * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on - extra console" test in two stages. - -2017-10-24 Pedro Alves - - * gdb.threads/attach-into-signal.exp (corefunc): Reindent. - -2017-10-24 Pedro Alves - - * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry" - loop. - -2017-10-24 Pedro Alves - - * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach - $attempt" and "stoppedtry $stoppedtry" test prefixes. - -2017-10-24 Pedro Alves - - * lib/gdb-python.exp (get_python_valueof): Add 'test' optional - parameter and handle it. Don't output read value in test name. - -2017-10-24 Pedro Alves - - * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use - custom test name. - -2017-10-24 Pedro Alves - - * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't - include the unstable output directory name in the test's name. - (initial_setup_simple) <'set args'>: Use custom test name. - -2017-10-24 Pedro Alves - - * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test - with explicit test name. - -2017-10-20 Pedro Alves - - * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before - 'wait -i'. Use gdb_assert and remote_close. - -2017-10-19 Andrew Burgess - - * gdb.linespec/ls-errs.exp (do_test): Update comment, use line - number from variable rather than hard-coded. - -2017-10-19 Pedro Alves - - * gdb.base/long-inferior-output.c: New file. - * gdb.base/long-inferior-output.exp: New file. - -2017-11-18 Keith Seitz - - * gdb.cp/cpexprs.cc (base) : New - method. - (main): Call it. - * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix. - Add additional user-defined conversion operator tests. - -2017-10-17 Pedro Alves - - * boards/native-stdio-gdbserver.exp: Load "local-board". - -2017-10-17 Pedro Alves - - * gdb.base/quit-live.c: New file. - * gdb.base/quit-live.exp: New file. - -2017-10-16 Keith Seitz - - * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef) - (class_with_protected_typedef, class_with_private_typedef) - (struct_with_public_typedef, struct_with_protected_typedef) - (struct_with_private_typedef): New classes/structs. - * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for - typedefs and access specifiers. - -2017-10-16 Pedro Alves - Simon Marchi - - * README (Local vs Remote vs Native): New section. - * boards/local-board.exp: New file, with bits factored out from - ... - * boards/native-extended-gdbserver.exp: ... here. Load - "local-board". - * boards/native-gdbserver.exp: Load "local-board". - (${board}_spawn, ${board}_exec): Delete. - * boards/native-stdio-gdbserver.exp: Most contents factored out to - ... - * boards/stdio-gdbserver-base.exp: ... this new file. - * boards/native-stdio-gdbserver.exp: Reimplement, by loading - "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd - procedure. - * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base - instead of native-stdio-gdbserver. Don't set gdb_server_prog nor - stdio_gdbserver_command. - (${board}_get_remote_address, ${board}_get_comm_port) - (${board}_download, ${board}_upload): Delete. - (get_target_remote_pipe_cmd): New. - -2017-10-16 Simon Marchi - - * gdb.python/py-breakpoint.exp (test_bkpt_basic, - test_bkpt_deletion, test_bkpt_cond_and_cmds, - test_bkpt_invisible, test_watchpoints, test_bkpt_internal, - test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address, - test_bkpt_pending, test_bkpt_events): Use proc_with_prefix, - remove with_test_prefix. - -2017-10-13 Pedro Alves - - * lib/gdb.exp (target_can_use_run_cmd): New procedure. - * gdb.base/annota1.exp: Use it instead of is_remote. - * gdb.base/annota3.exp: Use it instead of is_remote. - * gdb.cp/annota2.exp: Use it instead of is_remote. - * gdb.cp/annota3.exp: Use it instead of is_remote. - * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote. - -2017-10-13 Pedro Alves - - * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote. - (test_num_test_vars, run_and_count_vars, find_env) - (test_set_unset_env, test_inherit_env_var): New procedures. - (top level): Use them. - -2017-10-13 Pedro Alves - - * lib/selftest-support.exp (selftest_setup): Extend comments, and - also skip on stub-like targets. - -2017-10-13 Pedro Alves - - PR gdb/22293 - * gdb.base/find-unmapped.exp: Don't skip if is_remote target. - (top level): Move some tests to ... - (test_not_found): ... this new procedure. - (top level): Call it. - -2017-10-13 Pedro Alves - - * gdb.base/term.exp: Don't skip if is_remote target. Instead, - expect different "info terminal" output if testing with a - non-native target. - -2017-10-13 Pedro Alves - Simon Marchi - - PR python/12966 - * gdb.python/py-evthreads.exp: Remove is_remote target kfail. - -2017-10-13 Pedro Alves - - * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on" - already. - -2017-10-13 Pedro Alves - - * gdb.python/py-evsignal.exp: Check gdb_protocol instead of - is_remote. - -2017-10-13 Pedro Alves - - * gdb.threads/thread_events.exp: Check gdb_protocol instead of - is_remote. - -2017-10-13 Pedro Alves - - * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol - is set. - (corefile_test_attach): Likewise. Check can_spawn_for_attach - instead of is_remote. - -2017-10-13 Pedro Alves - - * gdb.base/remote.exp: Check gdb_protocol instead of is_remote. - (top level): Add comment. - -2017-10-13 Pedro Alves - - * gdb.base/remote.exp (top level): Fix comment typo and add - missing return. - -2017-10-13 Pedro Alves - Simon Marchi - - * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests - calls and add comments. Skip test if use_gdb_stub is set. - (top level): Use "set cwd" command instead of "cd" command. - -2017-10-13 Pedro Alves - - * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove - is_remote target check. - -2017-10-13 Pedro Alves - - * gdb.base/scope.exp: Use build_executable + clean_restart + - gdb_file_cmd instead of prepare_for_testing and no longer skip - "before run" tests on is_remote target boards. Update comments. - * boards/native-extended-gdbserver.exp - (extended_gdbserver_load_last_file): New, factored out from ... - (gdb_load): ... this. Move further below and add comment. - (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New. - -2017-10-12 Pedro Alves - - * gdb.base/attach.exp: Remove references to gdb64. - * gdb.base/dbx.exp: Remove references to gdb64. - -2017-10-12 Simon Marchi - Pedro Alves - - * gdb.base/label.exp: Remove is_remote target check. - -2017-10-12 Pedro Alves - - * gdb.base/auvx.exp (coredir): Update comment. - (top level) : Use "set cwd" command instead of "cd" - command. - -2017-10-12 Pedro Alves - Simon Marchi - - * gdb.base/catch-fork-static.exp: No longer skip on is_remote - target boards. - -2017-10-12 Pedro Alves - Simon Marchi - - * gdb.base/checkpoint.exp: Don't check is_remote or isnative. - Instead skip if there's any gdb_protocol set. - -2017-10-12 Simon Marchi - Pedro Alves - - * gdb.base/dprintf-non-stop.exp: Remove is_remote target check. - -2017-10-12 Pedro Alves - Simon Marchi - - * gdb.base/argv0-symlink.exp: kfail on remote gdbserver, - instead of on dejagnu remote boards. - -2017-10-12 Pedro Alves - Simon Marchi - - * gdb.base/inferior-died.exp: Remove is_remote and isnative - checks. Use build_executable + clean_restart instead of - prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead - of enabling non-stop after starting gdb. - -2017-10-12 Pedro Alves - - * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target. - * gdb.threads/non-ldr-exc-2.exp: Ditto. - * gdb.threads/non-ldr-exc-3.exp: Ditto. - * gdb.threads/non-ldr-exc-4.exp: Ditto. - -2017-10-11 Anton Kolesov - - * gdb.arch/arc-tdesc-cpu.exp: New file. - * gdb.arch/arc-tdesc-cpu.xml: Likewise. - -2017-10-10 Simon Marchi - - * lib/gdb.exp (get_integer_valueof): Don't output read value in test name. - -2017-10-10 Pedro Alves - - * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't - expect CLI output. - -2017-10-10 Pedro Alves - - * lib/selftest-support.exp (selftest_setup): Update for - captured_command_loop's prototype change. - -2017-10-09 Pedro Alves - - Test both arch1=>arch2 and arch2=>arch1. - - * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2) - (srcfile2, binfile2, march1, march2): Remove globals. Largely - factored out to... - (append_arch1_options, append_arch2_options, append_arch_options) - (build_executables): New procedures. - (do_test): New 'first_arch' parameter. Use it to define 'from_exec' - local. - (top level): Add new 'first_arch' testing axis. - -2017-10-09 Pedro Alves - - * gdb.multi/multi-arch-exec.c: Include and . - (barrier): New. - (thread_start, all_started): New functions. - (main): Spawn new thread and wait until it is scheduled. - * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads - option. - (do_test): Add 'selected_thread' parameter. Run to all_started - instead of main. Explicitly set the breakpoint at main. Switch - to the SELECTED_THREAD thread. - (top level): Test handling the exec event with either the main - thread or the second thread selected. - -2017-10-09 Pedro Alves - - * gdb.base/print-file-var-main.c: Fix get_version_2 value check - logic. Move STOP marker after the value checks. - * gdb.base/print-file-var.exp (continue to STOP marker): Tighten - regexp. - -2017-10-06 Sandra Loosemore - - * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts. - -2017-10-05 Ulrich Weigand - - * gdb.base/dfp-exprs.exp: Update tests to larger range of supported - integer-to-dfp conversion. - * gdb.base/dfp-test.exp: Likewise. - -2017-10-04 Pedro Alves - - * gdb.multi/hangout.c: Include . - (hangout_loop): New function. - (main): Call alarm. Call hangout_loop in a loop. - * gdb.multi/hello.c: Include . - (hello_loop): New function. - (main): Call alarm. Call hangout_loop in a loop. - * gdb.multi/multi-arch.exp: Test running to a breakpoint one - inferior with the other selected. - -2017-10-04 Simon Marchi - - * gdb.mi/list-thread-groups-available.exp: New file. - * gdb.mi/list-thread-groups-available.c: New file. - -2017-10-04 Sergio Durigan Junior - - * gdb.base/set-cwd.exp: Make it available on - native-extended-gdbserver. - -2017-10-04 Sergio Durigan Junior - - * gdb.base/set-cwd.c: New file. - * gdb.base/set-cwd.exp: Likewise. - -2017-10-02 Tom Tromey - - PR rust/22236: - * gdb.rust/simple.rs (main): New variable "fslice". - * gdb.rust/simple.exp: Add slice tests. Update string tests. - -2017-10-02 Tom Tromey - - * gdb.rust/simple.exp: Test ptype of a slice. - -2017-10-02 Tom Tromey - - * gdb.rust/simple.exp: Test index of slice. - -2017-09-27 Tom Tromey - - * gdb.base/macscp.exp: Add __VA_OPT__ tests. - -2017-09-26 Thomas Preud'homme - Pedro Alves - - * gdb.base/compare-sections.exp (get value of read-only section): Read - as unsigned value. - (corrupt read-only section): Likewise and don't set written if patching - failed. - -2017-09-21 Kevin Buettner - - * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New - files. - -2017-09-20 Pedro Alves - - * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect - symbol names in gdb's output. - * gdb.cp/overload.exp ("list all overloads"): Likewise. - -2017-09-20 Pedro Alves - - * gdb.base/list-ambiguous.exp (test_list_ambiguous_function): - Rename to ... - (test_list_ambiguous_symbol): ... this and add a symbol name - parameter. Adjust. - (test_list_ambiguous_function): Reimplement on top of - test_list_ambiguous_symbol and also test listing ambiguous - variables. - * gdb.base/list-ambiguous0.c (ambiguous): Rename to ... - (ambiguous_fun): ... this. - (ambiguous_var): New. - * gdb.base/list-ambiguous1.c (ambiguous): Rename to ... - (ambiguous_fun): ... this. - (ambiguous_var): New. - -2017-09-19 John Baldwin - - * gdb.base/starti.c: New file. - * gdb.base/starti.exp: New file. - * lib/gdb.exp (gdb_starti_cmd): New procedure. - -2017-09-14 Pedro Alves - - * gdb.base/nodebug.exp (nodebug_runto): New procedure. - (top level): Use it instead of runto. - -2017-09-11 Tom Tromey - - * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test. - -2017-09-11 Tom Tromey - - * gdb.python/py-infthread.exp: Add tests for new_thread event. - * gdb.python/py-inferior.exp: Add tests for new inferior events. - -2017-09-08 Christoph Weinmann - - * gdb.fortran/printing-types.exp: New file. - * gdb.fortran/printing-types.exp: New file. - -2017-09-08 Bernhard Heckel - - * gdb.fortran/vla-ptype.exp: Fix typos. - * gdb.fortran/vla-value.exp: Same. - -2017-09-08 Bernhard Heckel - - * gdb.fortran/vla-value.exp: Use type names defined in libfortran. - * gdb.mi/mi-var-child-f.exp: Likewise. - * gdb.mi/mi-vla-fortran.exp: Likewise. - -2017-09-08 Frank Penczek - Christoph Weinmann - Bernhard Heckel - - * gdb.fortran/ptr-indentation.f90: New file. - * gdb.fortran/ptr-indentation.exp: New file. - -2017-09-05 Tom Tromey - - PR gdb/22010: - * gdb.base/sizeof.exp (check_valueof): Cast char constant to int. - -2017-09-06 Thomas Preud'homme - - * gdb.arch/thumb2-it.exp: Cast call to assembly defined function. - -2017-09-06 Jan Kratochvil - - * gdb.threads/tls-nodebug-pie.c: New file. - * gdb.threads/tls-nodebug-pie.exp: New file. - -2017-09-05 Tom Tromey - - * lib/gdb.exp (gdb_compile): Don't use universal_compile_options - for rust. - -2017-09-05 Simon Marchi - - * gdb.multi/multi-arch-exec.exp: Test with different - "follow-exec-mode" settings. - (do_test): New procedure. - -2017-09-04 Pedro Alves - - * gdb.base/func-static.c (S::method const, S::method volatile) - (S::method volatile const): New methods. - (c_s, v_s, cv_s): New instances. - (main): Call method() on them. - * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables. - (cannot_resolve): New procedure. - (cxx_scopes_list): Test cv methods. Add print-scope-quote and - print-quote-unquoted columns. - (do_test): Test printing each scope too. - -2017-09-04 Pedro Alves - - * gdb.base/local-static.exp: Also test with - class::method::variable wholly quoted. - * gdb.cp/m-static.exp (class::method::variable): Remove test. - -2017-09-04 Pedro Alves - - * gdb.base/local-static.c: New. - * gdb.base/local-static.cc: New. - * gdb.base/local-static.exp: New. - -2017-09-04 Pedro Alves - - * gdb.asm/asm-source.exp: Add casts to int. - * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2) - (dataglobal64_1, dataglobal64_2): New globals. - * gdb.base/nodebug.exp: Test different expressions involving the - new globals, with print, whatis and ptype. Add casts to int. - * gdb.base/solib-display.exp: Add casts to int. - * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int. - * gdb.cp/m-static.exp: Add cast to int. - * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int. - * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing - tls variable with no debug info without a cast. Test with a cast - to int too. - * gdb.trace/entry-values.exp: Add casts. - -2017-09-04 Pedro Alves - - * gdb.base/nodebug.exp: Test that ptype's error about functions - with unknown return type includes the function name too. - -2017-09-04 Pedro Alves - - * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast - return type of munmap in infcall. - * gdb.base/break-probes.exp: Cast return type of foo in infcall. - * gdb.base/checkpoint.exp: Simplify using for loop. Cast return - type of ftell in infcall. - * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return - type of getpid in infcall. - * gdb.base/infcall-exec.exp: Cast return type of execlp in - infcall. - * gdb.base/info-os.exp: Cast return type of getpid in infcall. - Bail on failure to extract the pid. - * gdb.base/nodebug.c: #include . - (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto): - New functions. - * gdb.base/nodebug.exp (test_call_promotion): New procedure. - Change expected output of print/whatis/ptype with functions with - no debug info. Test all supported languages. Call - test_call_promotion. - * gdb.compile/compile.exp: Adjust expected output to expect - warning. - * gdb.threads/siginfo-threads.exp: Likewise. - -2017-09-04 Pedro Alves - - * gdb.base/callfuncs.exp (do_function_calls): New parameter - "prototypes". Test calling float functions via prototyped and - unprototyped function pointers. - (perform_all_tests): New parameter "prototypes". Pass it down. - (top level): Pass down "prototypes" parameter to - perform_all_tests. - -2017-09-04 Simon Marchi - - * gdb.base/commands.exp (loop_break_test, loop_continue_test): - Test with nested loops. - -2017-09-04 Simon Marchi - - * gdb.base/commands.exp: Call the new procedures. - (loop_break_test, loop_continue_test): New procedures. - -2017-09-04 Simon Marchi - - * gdb.base/commands.exp: Call new procedure. - (define_if_without_arg_test): New procedure. - -2017-09-04 Pedro Alves - - * gdb.base/list-ambiguous.exp: New file. - * gdb.base/list-ambiguous0.c: New file. - * gdb.base/list-ambiguous1.c: New file. - * gdb.base/list.exp (test_list_range): Adjust expected output. - -2017-08-31 Sergio Durigan Junior - - * gdb.base/share-env-with-gdbserver.c: New file. - * gdb.base/share-env-with-gdbserver.exp: Likewise. - -2017-08-28 Simon Marchi - - * gdb.base/commands.exp (gdbvar_simple_if_test, - gdbvar_simple_if_test, gdbvar_complex_if_while_test, - progvar_simple_if_test, progvar_simple_while_test, - progvar_complex_if_while_test, user_defined_command_test, - user_defined_command_args_eval, - user_defined_command_args_stack_test, - user_defined_command_manyargs_test, bp_deleted_in_command_test, - temporary_breakpoint_commands, - gdb_test_no_prompt, redefine_hook_test, - redefine_backtrace_test): Remove "global gdb_prompt". - -2017-08-28 Simon Marchi - - * gdb.base/commands.exp (user_defined_command_case_sensitivity): - New proc, call it from toplevel. - -2017-08-23 Sergio Durigan Junior - - PR remote/21852 - * gdb.server/normal.c: New file, copied from gdb.base. - * gdb.server/run-without-local-binary.exp: New file. - -2017-08-07 Weimin Pan - - * gdb.arch/sparc64-adi.exp: New file. - * gdb.arch/sparc64-adi.c: New file. - -2017-08-22 Pedro Alves - - * gdb.cp/overload.exp (line_range_pattern): New procedure. - (top level): Add "list all overloads" tests. - -2017-08-22 Tom Tromey - - * gdb.gdb/xfullpath.exp: Remove. - -2017-08-21 Pedro Alves - - PR gdb/19487 - * gdb.base/symbol-alias.c: New. - * gdb.base/symbol-alias2.c: New. - * gdb.base/symbol-alias.exp: New. - -2017-08-21 Pedro Alves - - * gdb.base/dfp-test.c - (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t) - (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New. - * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests. - * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests. - * gdb.base/whatis-ptype-typedefs.c: New. - * gdb.base/whatis-ptype-typedefs.exp: New. - * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs. - (an_int, an_int_type, an_int_type2): New globals. - * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests - involving typedefs and cast expressions. - * gdb.python/py-prettyprint.py (class pp_int_typedef): New. - (lookup_typedefs_function): New. - (typedefs_pretty_printers_dict): New. - (top level): Register lookup_typedefs_function in - gdb.pretty_printers. - -2017-08-18 Yao Qi - - * gdb.server/unittest.exp: New. - -2017-08-15 Sergio Durigan Junior - - PR gdb/21954 - * gdb.base/environ.exp: Add test to check if 'unset environment' - works. - -2017-08-14 Andreas Arnez - - * lib/gdb.exp (universal_compile_options): New caching proc. - (gdb_compile): Suppress GCC's coloring of messages. - -2017-08-14 Tom Tromey - - PR gdb/21675: - * gdb.base/printcmds.exp (test_radices): New function. - * gdb.dwarf2/var-access.exp: Use p/u, not p/d. - * gdb.base/sizeof.exp (check_valueof): Use p/d. - * lib/gdb.exp (get_integer_valueof): Use p/d. - -2017-08-12 Simon Marchi - - * lib/gdb.exp (get_valueof): Don't capture end-of-line - characters. - -2017-08-05 Tom Tromey - - * gdb.rust/simple.exp: Allow String to appear in a different - namespace. - -2017-07-26 Yao Qi - - * gdb.gdb/unittest.exp: Invoke command - "maintenance check xml-descriptions". - -2017-07-24 Andreas Arnez - - * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the - calling context. - (hex128): Drop erroneous calculation of parameters. - -2017-07-22 Simon Marchi - - * gdb.python/py-unwind.exp: Disable stack protection when - building test file. - -2017-07-20 Pedro Alves - - * gdb.base/default.exp (set language): Adjust expected output. - -2017-07-20 Pedro Alves - - * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ... - (test_minsym): ... this, and make static. - (get_pck__foo__bar__minsym): Rename to ... - (get_test_minsym): ... this. - * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust - symbol names and comments. - * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ... - (get_test_minsym): ... this. - (pck__foo__bar__minsym__2): Rename to ... - (test_minsym): ... this. - (main): Adjust. - -2017-07-17 Pedro Alves - - * gdb.base/completion.exp: Adjust expected output. - * gdb.linespec/ls-errs.exp: Don't send tab characters, now that - the completer works. - -2017-07-17 Pedro Alves - - * gdb.linespec/ls-errs.exp (do_test): Adjust expected output. - -2017-07-15 Andrew Burgess - - * gdb.mi/mi-vla-fortran.exp: Make test names unique. - -2017-07-14 Tom Tromey - - PR rust/21764: - * gdb.rust/simple.exp: Add tests. - -2017-07-14 Tom Tromey - - * gdb.rust/simple.exp: Add regression test for PR rust/21763. - -2017-07-14 Pedro Alves - - * gdb.linespec/base/one/thefile.cc (z1): New function. - * gdb.linespec/base/two/thefile.cc (z2): New function. - * gdb.linespec/linespec.exp: Add tests. - -2017-07-13 Andrew Burgess - - * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing - to mi_create_breakpoint. - -2017-07-13 Andrew Burgess - - * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to - mi_create_breakpoint. - -2017-07-11 Iain Buclaw - - * gdb.dlang/demangle.exp: Update for demangling changes. - -2017-07-09 Tom Tromey - - * gdb.dwarf2/shortpiece.exp: New file. - -2017-07-06 David Blaikie - - * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO, - built from fissiont-multi-cu{1,2}.c. - * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp, - except putting 'main' and 'func' in separate CUs in the same DWO file. - * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO - test. - * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO - test. - -2017-07-06 Pedro Alves - - * gdb.python/py-unwind.exp: Test flushregs. - -2017-06-30 Sergio Durigan Junior - - PR cli/21688 - * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new - tests for alias commands and trailing whitespace. - -2017-06-30 Sergio Durigan Junior - - PR cli/21688 - * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New - procedure. Call it. - -2017-06-29 Pedro Alves - - * gdb.base/printcmds.exp: Add tests. - -2017-06-28 Doug Gilmore - - PR gdb/21337 - * gdb.base/reread-readsym.exp: New file. - * gdb.base/reread-readsym.c: New file. - -2017-06-21 Kevin Buettner - - * gdb.exp (gdb_test): Using noncapturing parens for the $pattern - subpattern. - -2017-06-19 Peter Bergner - - * gdb.arch/powerpc-power9.exp: Update test case for new lnia - extended mnemonic. - * gdb.arch/powerpc-power9.s: Likewise. - -2017-06-14 Andreas Arnez - - * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx - on 32-bit x86 targets. Exploit is_*_target macros where - appropriate. - -2017-06-13 Andreas Arnez - - * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned - register pieces. - -2017-06-13 Andreas Arnez - - * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields - located in one or more DWARF pieces. - -2017-06-13 Andreas Arnez - - * lib/gdb.exp (get_endianness): New proc. - * gdb.arch/aarch64-fp.exp: Use it. - * gdb.arch/altivec-regs.exp: Likewise. - * gdb.arch/e500-regs.exp: Likewise. - * gdb.arch/vsx-regs.exp: Likewise. - * gdb.base/dump.exp: Likewise. - * gdb.base/funcargs.exp: Likewise. - * gdb.base/gnu_vector.exp: Likewise. - * gdb.dwarf2/formdata16.exp: Likewise. - * gdb.dwarf2/implptrpiece.exp: Likewise. - * gdb.dwarf2/nonvar-access.exp: Likewise. - * gdb.python/py-inferior.exp: Likewise. - * gdb.trace/unavailable-dwarf-piece.exp: Likewise. - -2017-06-13 Andreas Arnez - - PR gdb/21226 - * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that - stack value pieces are taken from the LSB end. - -2017-06-13 Andreas Arnez - - * gdb.dwarf2/var-pieces.exp: Add test case for modifying a - variable at nonzero offset. - -2017-06-13 Andreas Arnez - - * gdb.dwarf2/var-access.c: New file. - * gdb.dwarf2/var-access.exp: New test. - * lib/gdb-utils.exp (string_to_regexp): Quote braces as well. - -2017-06-12 Tom Tromey - - * gdb.dwarf2/formdata16.exp: Add tests. - -2017-06-12 Tom Tromey - - * gdb.arch/altivec-regs.exp: Expect decimal results for uint128. - -2017-06-12 Tom Tromey - - PR exp/16225: - * gdb.reverse/i386-sse-reverse.exp: Update tests. - * gdb.arch/vsx-regs.exp: Update tests. - * gdb.arch/s390-vregs.exp (hex128): New proc. - Update test. - * gdb.arch/altivec-regs.exp: Update tests. - -2017-06-07 Sergio Durigan Junior - - * gdb.base/startup-with-shell.c: New file. - * gdb.base/startup-with-shell.exp: Likewise. - -2017-06-07 Sergio Durigan Junior - - * gdb.server/non-existing-program.exp: Update regex in order to - reflect the fact that gdbserver is now using fork_inferior (with a - shell) to startup the inferior. - -2017-05-30 Simon Marchi - - * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't - support function calls from GDB. - -2017-05-21 Tom Tromey - - PR rust/21466: - * gdb.rust/unsized.exp: New file. - * gdb.rust/unsized.rs: New file. - -2017-05-19 Tom Tromey - - PR rust/21484: - * gdb.rust/watch.exp: New file. - * gdb.rust/watch.rs: New file. - -2017-05-18 Tom Tromey - - * gdb.rust/simple.exp: Allow Box to be qualified. - -2017-05-18 Thomas Preud'homme - - * gdb.base/float.exp: Expect GDB prompt for targets without FPU. - -2017-05-18 Pedro Alves - - * gdb.base/fileio.c (test_write, test_read, test_close) - (test_fstat): Don't print 'ret' in the fail path. - -2017-05-18 Pedro Alves - - * gdb.base/fileio.c (stop, test_open, test_write, test_read) - (test_lseek, test_close, test_stat, test_fstat, test_isatty) - (test_system, test_rename, test_unlink, test_time): Change - prototypes. - * gdb.base/fileio.exp (stop_msg): Adjust. - -2017-05-18 Pedro Alves - - * gdb.base/fileio.c (null_str): New global. - (test_stat): Use it. - * gdb.base/fileio.exp: Remove nowarnings. - -2017-05-17 Yao Qi - - * gdb.base/fileio.exp: Pass nowarnings to gdb_compile. - -2017-05-17 Simon Marchi - - * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add - argument command. - (top-level): Invoke test_set_inferior_tty. - -2017-05-04 Pedro Alves - - * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread): - Add parens to print call for Python 3. - -2017-05-03 Keith Seitz - - * gdb.cp/oranking.cc (dummy): New function to grab malloc. - (main): Call it. - -2017-05-01 Tim Wiederhake - - * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling - to prev and next. - -2017-05-01 Tim Wiederhake - - * gdb.python/py-record-btrace.exp: Remove test for - gdb.BtraceInstruction.error. - -2017-05-01 Tim Wiederhake - - * gdb.python/py-record-btrace.exp: Remove Record.ptid test. - -2017-05-01 Tim Wiederhake - - * gdb.python/py-record-btrace-threads.c: New file. - * gdb.python/py-record-btrace-threads.exp: New file. - -2017-04-28 Sergio Durigan Junior - - PR testsuite/8595 - * gdb.base/environ.exp: Make test available in all architectures. - Move bits related to "info program" testing to - gdb.base/info-program.exp. Rewrite tests to use the two new - procedures mentione below. - (test_set_show_env_var) New procedure. - (test_set_show_env_var_equal): Likewise. - * gdb.base/info-program.exp: New file. - -2017-04-27 Keith Seitz - - * gdb.cp/oranking.cc (test15): New function. - (main): Call test15 and declare additional variables for testing. - * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and - "p foo101('abc')" tests. - Add tests for cv qualifier overloads. - * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for - "lvalue reference overload" test. - * gdb.cp/rvalue-ref-params.exp: Remove kfail status for - "print value of f1 on Child&& in f2" test. - -2017-04-19 Pedro Alves - - * gdb.threads/threadapply.exp (kill_and_remove_inferior): New - procedure. - (top level): Call it. - * lib/gdb.exp (gdb_define_cmd): New procedure. - -2017-04-12 Pedro Alves - - PR gdb/21323 - * gdb.cp/wide_char_types.c: Include . - (wchar): New global. - * gdb.cp/wide_char_types.exp (wide_char_types_program) - (do_test_wide_char, wide_char_types_no_program, top level): Add - wchar_t testing. - -2017-04-12 Pedro Alves - - PR c++/21323 - * gdb.cp/wide_char_types.c: New file. - * gdb.cp/wide_char_types.exp: New file. - -2017-04-05 Sergio Durigan Junior - - PR gdb/21352 - * gdb.trace/tsv.exp: Add test for "tsave -r". - -2017-03-30 Iain Buclaw - - * gdb.dlang/watch-loc.c: New file. - * gdb.dlang/watch-loc.exp: New file. - -2017-03-29 Jan Kratochvil - - * gdb.python/py-section-script.exp (sepdebug): New testcases. - -2017-03-28 Anton Kolesov - - * gdb.arch/arc-analyze-prologue.S: New file. - * gdb.arch/arc-analyze-prologue.exp: Likewise. - -2017-03-28 Anton Kolesov - - * gdb.arch/arc-decode-insn.S: New file. - * gdb.arch/arc-decode-insn.exp: Likewise. - -2017-03-21 Ivo Raisr - - PR tdep/20928 - * gdb.arch/sparc64-regs.exp: New file. - * gdb.arch/sparc64-regs.S: Likewise. - -2017-03-21 Tim Wiederhake - - * gdb.python/py-record-btrace.exp: Check for buffer on Python 2 - and memory view on Python 3. - -2017-03-20 Artemiy Volkov - Keith Seitz - - PR gdb/14441 - * gdb.cp/demangle.exp: Add rvalue reference tests. - * gdb.cp/rvalue-ref-casts.cc: New file. - * gdb.cp/rvalue-ref-casts.exp: New file. - * gdb.cp/rvalue-ref-overload.cc: New file. - * gdb.cp/rvalue-ref-overload.exp: New file. - * gdb.cp/rvalue-ref-params.cc: New file. - * gdb.cp/rvalue-ref-params.exp: New file. - * gdb.cp/rvalue-ref-sizeof.cc: New file. - * gdb.cp/rvalue-ref-sizeof.exp: New file. - * gdb.cp/rvalue-ref-types.cc: New file. - * gdb.cp/rvalue-ref-types.exp: New file. - * gdb.python/py-rvalue-ref-value-cc.cc: New file. - * gdb.python/py-rvalue-ref-value-cc.exp: New file. - -2017-03-20 Marc-Andre Laperle - - * gdb.mi/mi-solib.exp (test_file_list_shared_libraries): - New procedure. - -2017-03-20 Marc-Andre Laperle - - * lib/mi-support.exp (mi_gdb_test): Add additional message - for unexpected output. - -2017-03-20 Andreas Arnez - - * gdb.base/examine-backward.c (Barrier): New character array - constant, to ensure that TestStrings is preceded by a string - terminator. - -2017-03-16 Andreas Arnez - - * lib/dwarf.exp: Add support for DW_OP_implicit_pointer. - * gdb.dwarf2/nonvar-access.exp: Add test for stack value location - and implicit pointer into such a location. - -2017-03-16 Doug Evans - - * gdb.python/py-lazy-string (pointer): Really add new typedef. - -2017-03-16 Thomas Preud'homme - - * gdb.cp/m-static.exp: Fix expectation for prototype of - test5.single_constructor and single_constructor::single_constructor. - -2017-03-16 Doug Evans - - * gdb.guile/scm-value.c (main) Delete locals sptr, sn. - * gdb.guile/scm-lazy-string.c: New file. - * gdb.guile/scm-value.exp: Move lazy string tests to ... - * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests - for pointer, array, typedef lazy strings. - -2017-03-16 Doug Evans - - PR python/17728, python/18439, python/18779 - * gdb.python/py-value.c (main) Delete locals sptr, sn. - * gdb.python/py-lazy-string.c (pointer): New typedef. - (main): New locals ptr, array, typedef_ptr. - * gdb.python/py-value.exp: Move lazy string tests to ... - * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer, - array, typedef lazy strings. - -2017-03-14 Anton Kolesov - - * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof): - Add optional 'test' parameter. - -2017-03-13 Simon Marchi - - * gdb.base/commands.exp (backslash_in_multi_line_command_test): - Skip for versions of DejaGnu < 1.5. - -2017-03-13 Simon Marchi - - * lib/gdb.exp (dejagnu_version): New proc. - * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu): - Use dejagnu_version. - -2017-03-10 Keith Seitz - - PR c++/8128 - * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument - type from destructor regexps. - Add a branch which actually passes the test. - Adjust "ptype t5i" test names. - -2017-03-08 Pedro Alves - - * gdb.base/step-over-exit.exp: Add explicit test message. - -2017-03-08 Pedro Alves - - PR gdb/18360 - * gdb.threads/interrupt-while-step-over.c: New file. - * gdb.threads/interrupt-while-step-over.exp: New file. - -2017-03-08 Pedro Alves - - * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix. - * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix. - -2017-03-08 Pedro Alves - - * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting - PKRU as not supported as a PASS. - -2017-03-08 Pedro Alves - - * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test - prefix instead of $binfile1/$binfile2. - * gdb.btrace/gcore.exp: Use "core" instead of unstable path name - in test message. - * gdb.python/py-completion.exp: Use "load python file" as test - messages instead of unstable path names. - -2017-03-08 Pedro Alves - Jan Kratochvil - - PR cli/21218 - * gdb.base/commands.exp (backslash_in_multi_line_command_test): - New proc. - (top level): Call it. - -2017-03-08 Pedro Alves - - PR tui/21216 - * gdb.tui/tui-nl-filtered-output.exp: New file. - -2017-03-08 Pedro Alves - - * gdb.base/completion.exp: Move TUI completion tests to ... - * gdb.tui/completion.exp: ... this new file. - -2017-03-08 Pedro Alves - - * gdb.base/tui-disasm-long-lines.c, - gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c, - gdb.base/tui-layout.exp: Move to ... - * gdb.tui/: ... this new directory. - -2017-03-07 Pedro Alves - - * gdb.base/tui-layout.c: New file. - * gdb.base/tui-layout.exp: New file. - -2017-03-07 Pedro Alves - - * gdb.base/tui-layout.c: Rename to ... - * gdb.base/tui-disasm-long-lines.c: ... this. - * gdb.base/tui-layout.exp: Rename to ... - * gdb.base/tui-disasm-long-lines.exp: ... this. - -2017-03-07 Pedro Alves - - * gdb.base/tui-layout.exp: Add intro comment and fix typo. - -2017-03-07 Walfred Tedeschi - - * i386-mpx-call.c: New file. - * i386-mpx-call.exp: New file. - -2017-02-28 Peter Bergner - - * gdb.arch/powerpc-power.exp: Delete test. - * gdb.arch/powerpc-power.s: Likewise. - * gdb.disasm/disassembler-options.exp: New test. - * gdb.arch/powerpc-altivec.exp: Likewise. - * gdb.arch/powerpc-altivec.s: Likewise. - * gdb.arch/powerpc-altivec2.exp: Likewise. - * gdb.arch/powerpc-altivec2.s: Likewise. - * gdb.arch/powerpc-altivec3.exp: Likewise. - * gdb.arch/powerpc-altivec3.s: Likewise. - * gdb.arch/powerpc-power7.exp: Likewise. - * gdb.arch/powerpc-power7.s: Likewise. - * gdb.arch/powerpc-power8.exp: Likewise. - * gdb.arch/powerpc-power8.s: Likewise. - * gdb.arch/powerpc-power9.exp: Likewise. - * gdb.arch/powerpc-power9.s: Likewise. - * gdb.arch/powerpc-vsx.exp: Likewise. - * gdb.arch/powerpc-vsx.s: Likewise. - * gdb.arch/powerpc-vsx2.exp: Likewise. - * gdb.arch/powerpc-vsx2.s: Likewise. - * gdb.arch/powerpc-vsx3.exp: Likewise. - * gdb.arch/powerpc-vsx3.s: Likewise. - * gdb.arch/arm-disassembler-options.exp: Likewise. - * gdb.arch/powerpc-disassembler-options.exp: Likewise. - * gdb.arch/s390-disassembler-options.exp: Likewise. - -2017-02-23 Luis Machado - - * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ... - (check_supported_features): ... this. Changed return type to void. - (supports_rdseed): New static global. - (rdseed): Check supports_rdseed. - (initialize): Call check_supported_features. - -2017-02-21 Edjunior Barbosa Machado - - * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on - gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx - and lqarx/stqcx. - * gdb.arch/ppc64-isa207-atomic-inst.S: New file. - * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise. - -2017-02-21 Edjunior Barbosa Machado - - * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with - uppercase. - -2017-02-20 Jan Kratochvil - - * gdb.dwarf2/formdata16.c: New file. - * gdb.dwarf2/formdata16.exp: New file. - * lib/dwarf.exp (Dwarf): Add DW_FORM_data16. - -2017-02-20 Jan Kratochvil - - * gdb.arch/amd64-entry-value-param-dwarf5.S: New file. - * gdb.arch/amd64-entry-value-param-dwarf5.c: New file. - * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file. - * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and - DW_AT_GNU_*. - -2017-02-20 Jan Kratochvil - - * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string. - -2017-02-15 Sergio Durigan Junior - - PR gdb/21164 - * gdb.base/maint.exp: Add testcases for when the commands do - not have arguments. - -2017-02-15 Thomas Preud'homme - - * gdb.cp/chained-calls.exp: Use p instead of P. - -2017-02-14 Tim Wiederhake - - * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp, - gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file. - -2017-02-14 Tom Tromey - - PR python/13598: - * gdb.python/py-events.exp: Add before_prompt event tests. - -2017-02-14 Andreas Arnez - - * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets. - -2017-02-13 Luis Machado - - * gdb.linespec/explicit.c (my_unique_function_name): New function. - (main): Call my_unique_function_name. - * gdb.linespec/explicit.exp: Use my_unique_function_name to test - completion of patterns with a single match. - Add missing -re switches to gdb_test_multiple calls. - -2017-02-13 Luis Machado - - * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and - return if core file is not recognized. - -2017-02-10 Simon Marchi - - * gdb.base/new-ui.exp (do_test): Test queries behavior on main - and extra UIs. - -2017-02-10 Simon Marchi - - * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use - proc_with_prefix. - -2017-02-10 Tom Tromey - - * gdb.python/py-xmethods.exp: Use "p" command, not "P". - -2017-02-10 Martin Galvan - - PR gdb/21122 - * gdb.base/help.exp: Update match pattern for testing 'help commands'. - -2017-02-08 Jerome Guitton - - * gdb.base/define.exp: Add test for command abbreviations - in define. - -2017-02-06 Luis Machado - - * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c. - * gdb.reverse/insn-reverse-x86.c: New file. - -2017-02-06 Ivo Raisr - - PR tdep/20936 - * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests. - -2017-02-03 Tom Tromey - - PR rust/21097: - * gdb.rust/simple.exp: Add new tests. - -2017-02-02 Pedro Alves - - * gdb.mi/mi-logging.exp: Add "redirect while already logging" - tests. - -2017-02-01 Andreas Arnez - - * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of - taking a 2-byte value out of a 4-byte DWARF implicit value on - big-endian targets. - * gdb.dwarf2/nonvar-access.exp: Add more comments to existing - logic. Add test cases for DW_OP_implicit. - -2017-02-01 Markus Metzger - - * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running. - -2017-02-01 Markus Metzger - - * gdb.btrace/enable.exp: Call gdb_exit before - skip_gdbserver_tests. - -2017-02-01 Markus Metzger - - * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to - GDBFLAGS. - -2017-02-01 Markus Metzger - - * gdb.btrace/buffer-size.exp: Add unsupported/untested message if - the test is skipped. - * gdb.btrace/data.exp: Likewise. - * gdb.btrace/delta.exp: Likewise. - * gdb.btrace/dlopen.exp: Likewise. - * gdb.btrace/enable-running.exp: Likewise. - * gdb.btrace/enable.exp: Likewise. - * gdb.btrace/exception.exp: Likewise. - * gdb.btrace/function_call_history.exp: Likewise. - * gdb.btrace/gcore.exp: Likewise. - * gdb.btrace/instruction_history.exp: Likewise. - * gdb.btrace/multi-thread-step.exp: Likewise. - * gdb.btrace/nohist.exp: Likewise. - * gdb.btrace/non-stop.exp: Likewise. - * gdb.btrace/reconnect.exp: Likewise. - * gdb.btrace/record_goto-step.exp: Likewise. - * gdb.btrace/record_goto.exp: Likewise. - * gdb.btrace/rn-dl-bind.exp: Likewise. - * gdb.btrace/segv.exp: Likewise. - * gdb.btrace/step.exp: Likewise. - * gdb.btrace/stepi.exp: Likewise. - * gdb.btrace/tailcall-only.exp: Likewise. - * gdb.btrace/tailcall.exp: Likewise. - * gdb.btrace/tsx.exp: Likewise. - * gdb.btrace/unknown_functions.exp: Likewise. - * gdb.btrace/vdso.exp: Likewise. - -2017-02-01 Markus Metzger - - * gdb.btrace/enable-running.c: New. - * gdb.btrace/enable-running.exp: New. - -2017-01-27 Walfred Tedeschi - - * gdb.arch/amd64-gs_base.c: New file. - * gdb.arch/amd64-gs_base.exp: New file. - -2017-01-26 Luis Machado - - * lib/memory.exp: Remove spurious empty newlines. - -2017-01-26 Simon Marchi - - * gdb.python/py-bad-printers.exp: Load python file using "source". - * gdb.python/py-events.exp: Likewise. - * gdb.python/py-evsignal.exp: Likewise. - * gdb.python/py-evthreads.exp: Likewise. - * gdb.python/py-frame-args.exp: Likewise. - * gdb.python/py-framefilter-invalidarg.exp: Likewise. - * gdb.python/py-framefilter-mi.exp: Likewise. - * gdb.python/py-framefilter.exp: Likewise. - * gdb.python/py-mi.exp: Likewise. - * gdb.python/py-pp-maint.exp: Likewise. - * gdb.python/py-pp-registration.exp: Likewise. - * gdb.python/py-prettyprint.exp: Likewise. - (run_lang_tests): Likewise. - * gdb.python/py-typeprint.exp: Likewise. - -2017-01-26 Luis Machado - - * lib/memory.exp: New file. - * lib/gdb.exp: Load memory.exp. - * gdb.base/memattr.exp (delete_memory): Move proc to - lib/memory.exp and rename to delete_memory_regions. - Replace delete_memory with delete_memory_regions. - Cleanup memory regions before tests. - * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions - before tests. - -2017-01-26 Luis Machado - - * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own - files. - (initialize): New function conditionally defined. - (testcases): Move within conditional block. - (main): Call initialize. - * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits - of gdb.reverse/insn-reverse.c. - * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of - gdb.reverse/insn-reverse.c. - -2017-01-26 Yao Qi - - * gdb.base/all-architectures.exp.in (do_arch_tests): Test - disassemble on address 0. - -2017-01-25 Andreas Arnez - Yao Qi - - * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler. - * gdb.dwarf2/implptr-64bit.S: Remove. - * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some - variables in caller's context. Add DW_OP_implicit_value. - -2017-01-25 Yao Qi - - * lib/dwarf.exp (Dwarf::_location): Handle - DW_OP_GNU_implicit_pointer with proper size. - -2017-01-20 Luis Machado - - * gdb.python/py-xmethods.exp: Fix test names starting with lowercase - and add untested calls. - -2017-01-20 Luis Machado - - * gdb.python/python.exp: Check line number against what GDB thinks - the line number is for func1. - -2017-01-08 Iain Buclaw - - * gdb.dlang/debug-expr.exp: New file. - -2016-12-23 Luis Machado - - Fix test names for the following files: - - * gdb.ada/exec_changed.exp - * gdb.ada/info_types.exp - * gdb.arch/aarch64-atomic-inst.exp - * gdb.arch/aarch64-fp.exp - * gdb.arch/altivec-abi.exp - * gdb.arch/altivec-regs.exp - * gdb.arch/amd64-byte.exp - * gdb.arch/amd64-disp-step.exp - * gdb.arch/amd64-dword.exp - * gdb.arch/amd64-entry-value-inline.exp - * gdb.arch/amd64-entry-value-param.exp - * gdb.arch/amd64-entry-value-paramref.exp - * gdb.arch/amd64-entry-value.exp - * gdb.arch/amd64-i386-address.exp - * gdb.arch/amd64-invalid-stack-middle.exp - * gdb.arch/amd64-invalid-stack-top.exp - * gdb.arch/amd64-optimout-repeat.exp - * gdb.arch/amd64-prologue-skip.exp - * gdb.arch/amd64-prologue-xmm.exp - * gdb.arch/amd64-stap-special-operands.exp - * gdb.arch/amd64-stap-wrong-subexp.exp - * gdb.arch/amd64-tailcall-cxx.exp - * gdb.arch/amd64-tailcall-noret.exp - * gdb.arch/amd64-tailcall-ret.exp - * gdb.arch/amd64-tailcall-self.exp - * gdb.arch/amd64-word.exp - * gdb.arch/arm-bl-branch-dest.exp - * gdb.arch/arm-disp-step.exp - * gdb.arch/arm-neon.exp - * gdb.arch/arm-single-step-kernel-helper.exp - * gdb.arch/avr-flash-qualifier.exp - * gdb.arch/disp-step-insn-reloc.exp - * gdb.arch/e500-abi.exp - * gdb.arch/e500-regs.exp - * gdb.arch/ftrace-insn-reloc.exp - * gdb.arch/i386-avx512.exp - * gdb.arch/i386-bp_permanent.exp - * gdb.arch/i386-byte.exp - * gdb.arch/i386-cfi-notcurrent.exp - * gdb.arch/i386-disp-step.exp - * gdb.arch/i386-dr3-watch.exp - * gdb.arch/i386-float.exp - * gdb.arch/i386-gnu-cfi.exp - * gdb.arch/i386-mpx-map.exp - * gdb.arch/i386-mpx-sigsegv.exp - * gdb.arch/i386-mpx-simple_segv.exp - * gdb.arch/i386-mpx.exp - * gdb.arch/i386-permbkpt.exp - * gdb.arch/i386-prologue.exp - * gdb.arch/i386-signal.exp - * gdb.arch/i386-size-overlap.exp - * gdb.arch/i386-unwind.exp - * gdb.arch/i386-word.exp - * gdb.arch/mips-fcr.exp - * gdb.arch/powerpc-d128-regs.exp - * gdb.arch/powerpc-stackless.exp - * gdb.arch/ppc64-atomic-inst.exp - * gdb.arch/s390-stackless.exp - * gdb.arch/s390-tdbregs.exp - * gdb.arch/s390-vregs.exp - * gdb.arch/sparc-sysstep.exp - * gdb.arch/thumb-bx-pc.exp - * gdb.arch/thumb-singlestep.exp - * gdb.arch/thumb2-it.exp - * gdb.arch/vsx-regs.exp - * gdb.asm/asm-source.exp - * gdb.base/a2-run.exp - * gdb.base/advance.exp - * gdb.base/all-bin.exp - * gdb.base/anon.exp - * gdb.base/args.exp - * gdb.base/arithmet.exp - * gdb.base/async-shell.exp - * gdb.base/async.exp - * gdb.base/attach-pie-noexec.exp - * gdb.base/attach-twice.exp - * gdb.base/auto-load.exp - * gdb.base/bang.exp - * gdb.base/bitfields.exp - * gdb.base/break-always.exp - * gdb.base/break-caller-line.exp - * gdb.base/break-entry.exp - * gdb.base/break-inline.exp - * gdb.base/break-on-linker-gcd-function.exp - * gdb.base/break-probes.exp - * gdb.base/break.exp - * gdb.base/breakpoint-shadow.exp - * gdb.base/call-ar-st.exp - * gdb.base/call-sc.exp - * gdb.base/call-signal-resume.exp - * gdb.base/call-strs.exp - * gdb.base/callfuncs.exp - * gdb.base/catch-fork-static.exp - * gdb.base/catch-gdb-caused-signals.exp - * gdb.base/catch-load.exp - * gdb.base/catch-signal-fork.exp - * gdb.base/catch-signal.exp - * gdb.base/catch-syscall.exp - * gdb.base/charset.exp - * gdb.base/checkpoint.exp - * gdb.base/chng-syms.exp - * gdb.base/code-expr.exp - * gdb.base/code_elim.exp - * gdb.base/commands.exp - * gdb.base/completion.exp - * gdb.base/complex.exp - * gdb.base/cond-expr.exp - * gdb.base/condbreak.exp - * gdb.base/consecutive.exp - * gdb.base/continue-all-already-running.exp - * gdb.base/coredump-filter.exp - * gdb.base/corefile.exp - * gdb.base/dbx.exp - * gdb.base/debug-expr.exp - * gdb.base/define.exp - * gdb.base/del.exp - * gdb.base/disabled-location.exp - * gdb.base/disasm-end-cu.exp - * gdb.base/disasm-optim.exp - * gdb.base/display.exp - * gdb.base/duplicate-bp.exp - * gdb.base/ena-dis-br.exp - * gdb.base/ending-run.exp - * gdb.base/enumval.exp - * gdb.base/environ.exp - * gdb.base/eu-strip-infcall.exp - * gdb.base/eval-avoid-side-effects.exp - * gdb.base/eval-skip.exp - * gdb.base/exitsignal.exp - * gdb.base/expand-psymtabs.exp - * gdb.base/filesym.exp - * gdb.base/find-unmapped.exp - * gdb.base/finish.exp - * gdb.base/float.exp - * gdb.base/foll-exec-mode.exp - * gdb.base/foll-exec.exp - * gdb.base/foll-fork.exp - * gdb.base/fortran-sym-case.exp - * gdb.base/freebpcmd.exp - * gdb.base/func-ptr.exp - * gdb.base/func-ptrs.exp - * gdb.base/funcargs.exp - * gdb.base/gcore-buffer-overflow.exp - * gdb.base/gcore-relro-pie.exp - * gdb.base/gcore-relro.exp - * gdb.base/gcore.exp - * gdb.base/gdb1090.exp - * gdb.base/gdb11530.exp - * gdb.base/gdb11531.exp - * gdb.base/gdb1821.exp - * gdb.base/gdbindex-stabs.exp - * gdb.base/gdbvars.exp - * gdb.base/hbreak.exp - * gdb.base/hbreak2.exp - * gdb.base/included.exp - * gdb.base/infcall-input.exp - * gdb.base/inferior-died.exp - * gdb.base/infnan.exp - * gdb.base/info-macros.exp - * gdb.base/info-os.exp - * gdb.base/info-proc.exp - * gdb.base/info-shared.exp - * gdb.base/info-target.exp - * gdb.base/infoline.exp - * gdb.base/interp.exp - * gdb.base/interrupt.exp - * gdb.base/jit-reader.exp - * gdb.base/jit-simple.exp - * gdb.base/kill-after-signal.exp - * gdb.base/kill-detach-inferiors-cmd.exp - * gdb.base/label.exp - * gdb.base/langs.exp - * gdb.base/ldbl_e308.exp - * gdb.base/line-symtabs.exp - * gdb.base/linespecs.exp - * gdb.base/list.exp - * gdb.base/long_long.exp - * gdb.base/longest-types.exp - * gdb.base/maint.exp - * gdb.base/max-value-size.exp - * gdb.base/memattr.exp - * gdb.base/mips_pro.exp - * gdb.base/morestack.exp - * gdb.base/moribund-step.exp - * gdb.base/multi-forks.exp - * gdb.base/nested-addr.exp - * gdb.base/nextoverexit.exp - * gdb.base/noreturn-finish.exp - * gdb.base/noreturn-return.exp - * gdb.base/nostdlib.exp - * gdb.base/offsets.exp - * gdb.base/opaque.exp - * gdb.base/pc-fp.exp - * gdb.base/permissions.exp - * gdb.base/print-symbol-loading.exp - * gdb.base/prologue-include.exp - * gdb.base/psymtab.exp - * gdb.base/ptype.exp - * gdb.base/random-signal.exp - * gdb.base/randomize.exp - * gdb.base/range-stepping.exp - * gdb.base/readline-ask.exp - * gdb.base/recpar.exp - * gdb.base/recurse.exp - * gdb.base/relational.exp - * gdb.base/restore.exp - * gdb.base/return-nodebug.exp - * gdb.base/return.exp - * gdb.base/run-after-attach.exp - * gdb.base/save-bp.exp - * gdb.base/scope.exp - * gdb.base/sect-cmd.exp - * gdb.base/set-lang-auto.exp - * gdb.base/set-noassign.exp - * gdb.base/setvar.exp - * gdb.base/sigall.exp - * gdb.base/sigbpt.exp - * gdb.base/siginfo-addr.exp - * gdb.base/siginfo-infcall.exp - * gdb.base/siginfo-obj.exp - * gdb.base/siginfo.exp - * gdb.base/signals-state-child.exp - * gdb.base/signest.exp - * gdb.base/sigstep.exp - * gdb.base/sizeof.exp - * gdb.base/skip.exp - * gdb.base/solib-corrupted.exp - * gdb.base/solib-nodir.exp - * gdb.base/solib-search.exp - * gdb.base/stack-checking.exp - * gdb.base/stale-infcall.exp - * gdb.base/stap-probe.exp - * gdb.base/start.exp - * gdb.base/step-break.exp - * gdb.base/step-bt.exp - * gdb.base/step-line.exp - * gdb.base/step-over-exit.exp - * gdb.base/step-over-syscall.exp - * gdb.base/step-resume-infcall.exp - * gdb.base/step-test.exp - * gdb.base/store.exp - * gdb.base/structs3.exp - * gdb.base/sym-file.exp - * gdb.base/symbol-without-target_section.exp - * gdb.base/term.exp - * gdb.base/testenv.exp - * gdb.base/ui-redirect.exp - * gdb.base/until.exp - * gdb.base/unwindonsignal.exp - * gdb.base/value-double-free.exp - * gdb.base/vla-datatypes.exp - * gdb.base/vla-ptr.exp - * gdb.base/vla-sideeffect.exp - * gdb.base/volatile.exp - * gdb.base/watch-cond-infcall.exp - * gdb.base/watch-cond.exp - * gdb.base/watch-non-mem.exp - * gdb.base/watch-read.exp - * gdb.base/watch-vfork.exp - * gdb.base/watchpoint-cond-gone.exp - * gdb.base/watchpoint-delete.exp - * gdb.base/watchpoint-hw-hit-once.exp - * gdb.base/watchpoint-hw.exp - * gdb.base/watchpoint-stops-at-right-insn.exp - * gdb.base/watchpoints.exp - * gdb.base/wchar.exp - * gdb.base/whatis-exp.exp - * gdb.btrace/buffer-size.exp - * gdb.btrace/data.exp - * gdb.btrace/delta.exp - * gdb.btrace/dlopen.exp - * gdb.btrace/enable.exp - * gdb.btrace/exception.exp - * gdb.btrace/function_call_history.exp - * gdb.btrace/gcore.exp - * gdb.btrace/instruction_history.exp - * gdb.btrace/nohist.exp - * gdb.btrace/reconnect.exp - * gdb.btrace/record_goto-step.exp - * gdb.btrace/record_goto.exp - * gdb.btrace/rn-dl-bind.exp - * gdb.btrace/segv.exp - * gdb.btrace/step.exp - * gdb.btrace/stepi.exp - * gdb.btrace/tailcall-only.exp - * gdb.btrace/tailcall.exp - * gdb.btrace/tsx.exp - * gdb.btrace/unknown_functions.exp - * gdb.btrace/vdso.exp - * gdb.compile/compile-ifunc.exp - * gdb.compile/compile-ops.exp - * gdb.compile/compile-print.exp - * gdb.compile/compile-setjmp.exp - * gdb.cp/abstract-origin.exp - * gdb.cp/ambiguous.exp - * gdb.cp/annota2.exp - * gdb.cp/annota3.exp - * gdb.cp/anon-ns.exp - * gdb.cp/anon-struct.exp - * gdb.cp/anon-union.exp - * gdb.cp/arg-reference.exp - * gdb.cp/baseenum.exp - * gdb.cp/bool.exp - * gdb.cp/breakpoint.exp - * gdb.cp/bs15503.exp - * gdb.cp/call-c.exp - * gdb.cp/casts.exp - * gdb.cp/chained-calls.exp - * gdb.cp/class2.exp - * gdb.cp/classes.exp - * gdb.cp/cmpd-minsyms.exp - * gdb.cp/converts.exp - * gdb.cp/cp-relocate.exp - * gdb.cp/cpcompletion.exp - * gdb.cp/cpexprs.exp - * gdb.cp/cplabel.exp - * gdb.cp/cplusfuncs.exp - * gdb.cp/cpsizeof.exp - * gdb.cp/ctti.exp - * gdb.cp/derivation.exp - * gdb.cp/destrprint.exp - * gdb.cp/dispcxx.exp - * gdb.cp/enum-class.exp - * gdb.cp/exception.exp - * gdb.cp/exceptprint.exp - * gdb.cp/expand-psymtabs-cxx.exp - * gdb.cp/expand-sals.exp - * gdb.cp/extern-c.exp - * gdb.cp/filename.exp - * gdb.cp/formatted-ref.exp - * gdb.cp/fpointer.exp - * gdb.cp/gdb1355.exp - * gdb.cp/gdb2495.exp - * gdb.cp/hang.exp - * gdb.cp/impl-this.exp - * gdb.cp/infcall-dlopen.exp - * gdb.cp/inherit.exp - * gdb.cp/iostream.exp - * gdb.cp/koenig.exp - * gdb.cp/local.exp - * gdb.cp/m-data.exp - * gdb.cp/m-static.exp - * gdb.cp/mb-ctor.exp - * gdb.cp/mb-inline.exp - * gdb.cp/mb-templates.exp - * gdb.cp/member-name.exp - * gdb.cp/member-ptr.exp - * gdb.cp/meth-typedefs.exp - * gdb.cp/method.exp - * gdb.cp/method2.exp - * gdb.cp/minsym-fallback.exp - * gdb.cp/misc.exp - * gdb.cp/namelessclass.exp - * gdb.cp/namespace-enum.exp - * gdb.cp/namespace-nested-import.exp - * gdb.cp/namespace.exp - * gdb.cp/nextoverthrow.exp - * gdb.cp/no-dmgl-verbose.exp - * gdb.cp/non-trivial-retval.exp - * gdb.cp/noparam.exp - * gdb.cp/nsdecl.exp - * gdb.cp/nsimport.exp - * gdb.cp/nsnested.exp - * gdb.cp/nsnoimports.exp - * gdb.cp/nsrecurs.exp - * gdb.cp/nsstress.exp - * gdb.cp/nsusing.exp - * gdb.cp/operator.exp - * gdb.cp/oranking.exp - * gdb.cp/overload-const.exp - * gdb.cp/overload.exp - * gdb.cp/ovldbreak.exp - * gdb.cp/ovsrch.exp - * gdb.cp/paren-type.exp - * gdb.cp/parse-lang.exp - * gdb.cp/pass-by-ref.exp - * gdb.cp/pr-1023.exp - * gdb.cp/pr-1210.exp - * gdb.cp/pr-574.exp - * gdb.cp/pr10687.exp - * gdb.cp/pr12028.exp - * gdb.cp/pr17132.exp - * gdb.cp/pr17494.exp - * gdb.cp/pr9067.exp - * gdb.cp/pr9167.exp - * gdb.cp/pr9631.exp - * gdb.cp/printmethod.exp - * gdb.cp/psmang.exp - * gdb.cp/psymtab-parameter.exp - * gdb.cp/ptype-cv-cp.exp - * gdb.cp/ptype-flags.exp - * gdb.cp/re-set-overloaded.exp - * gdb.cp/ref-types.exp - * gdb.cp/rtti.exp - * gdb.cp/scope-err.exp - * gdb.cp/shadow.exp - * gdb.cp/smartp.exp - * gdb.cp/static-method.exp - * gdb.cp/static-print-quit.exp - * gdb.cp/temargs.exp - * gdb.cp/templates.exp - * gdb.cp/try_catch.exp - * gdb.cp/typedef-operator.exp - * gdb.cp/typeid.exp - * gdb.cp/userdef.exp - * gdb.cp/using-crash.exp - * gdb.cp/var-tag.exp - * gdb.cp/virtbase.exp - * gdb.cp/virtfunc.exp - * gdb.cp/virtfunc2.exp - * gdb.cp/vla-cxx.exp - * gdb.disasm/t01_mov.exp - * gdb.disasm/t02_mova.exp - * gdb.disasm/t03_add.exp - * gdb.disasm/t04_sub.exp - * gdb.disasm/t05_cmp.exp - * gdb.disasm/t06_ari2.exp - * gdb.disasm/t07_ari3.exp - * gdb.disasm/t08_or.exp - * gdb.disasm/t09_xor.exp - * gdb.disasm/t10_and.exp - * gdb.disasm/t11_logs.exp - * gdb.disasm/t12_bit.exp - * gdb.disasm/t13_otr.exp - * gdb.dlang/circular.exp - * gdb.dwarf2/arr-stride.exp - * gdb.dwarf2/arr-subrange.exp - * gdb.dwarf2/atomic-type.exp - * gdb.dwarf2/bad-regnum.exp - * gdb.dwarf2/bitfield-parent-optimized-out.exp - * gdb.dwarf2/callframecfa.exp - * gdb.dwarf2/clztest.exp - * gdb.dwarf2/corrupt.exp - * gdb.dwarf2/data-loc.exp - * gdb.dwarf2/dup-psym.exp - * gdb.dwarf2/dw2-anon-mptr.exp - * gdb.dwarf2/dw2-anonymous-func.exp - * gdb.dwarf2/dw2-bad-mips-linkage-name.exp - * gdb.dwarf2/dw2-bad-unresolved.exp - * gdb.dwarf2/dw2-basic.exp - * gdb.dwarf2/dw2-canonicalize-type.exp - * gdb.dwarf2/dw2-case-insensitive.exp - * gdb.dwarf2/dw2-common-block.exp - * gdb.dwarf2/dw2-compdir-oldgcc.exp - * gdb.dwarf2/dw2-compressed.exp - * gdb.dwarf2/dw2-const.exp - * gdb.dwarf2/dw2-cp-infcall-ref-static.exp - * gdb.dwarf2/dw2-cu-size.exp - * gdb.dwarf2/dw2-dup-frame.exp - * gdb.dwarf2/dw2-entry-value.exp - * gdb.dwarf2/dw2-icycle.exp - * gdb.dwarf2/dw2-ifort-parameter.exp - * gdb.dwarf2/dw2-inline-break.exp - * gdb.dwarf2/dw2-inline-param.exp - * gdb.dwarf2/dw2-intercu.exp - * gdb.dwarf2/dw2-intermix.exp - * gdb.dwarf2/dw2-lexical-block-bare.exp - * gdb.dwarf2/dw2-linkage-name-trust.exp - * gdb.dwarf2/dw2-minsym-in-cu.exp - * gdb.dwarf2/dw2-noloc.exp - * gdb.dwarf2/dw2-op-call.exp - * gdb.dwarf2/dw2-op-out-param.exp - * gdb.dwarf2/dw2-opt-structptr.exp - * gdb.dwarf2/dw2-param-error.exp - * gdb.dwarf2/dw2-producer.exp - * gdb.dwarf2/dw2-ranges-base.exp - * gdb.dwarf2/dw2-ref-missing-frame.exp - * gdb.dwarf2/dw2-reg-undefined.exp - * gdb.dwarf2/dw2-regno-invalid.exp - * gdb.dwarf2/dw2-restore.exp - * gdb.dwarf2/dw2-restrict.exp - * gdb.dwarf2/dw2-single-line-discriminators.exp - * gdb.dwarf2/dw2-strp.exp - * gdb.dwarf2/dw2-undefined-ret-addr.exp - * gdb.dwarf2/dw2-unresolved.exp - * gdb.dwarf2/dw2-var-zero-addr.exp - * gdb.dwarf2/dw4-sig-types.exp - * gdb.dwarf2/dwz.exp - * gdb.dwarf2/dynarr-ptr.exp - * gdb.dwarf2/enum-type.exp - * gdb.dwarf2/gdb-index.exp - * gdb.dwarf2/implptr-64bit.exp - * gdb.dwarf2/implptr-optimized-out.exp - * gdb.dwarf2/implptr.exp - * gdb.dwarf2/implref-array.exp - * gdb.dwarf2/implref-const.exp - * gdb.dwarf2/implref-global.exp - * gdb.dwarf2/implref-struct.exp - * gdb.dwarf2/mac-fileno.exp - * gdb.dwarf2/main-subprogram.exp - * gdb.dwarf2/member-ptr-forwardref.exp - * gdb.dwarf2/method-ptr.exp - * gdb.dwarf2/missing-sig-type.exp - * gdb.dwarf2/nonvar-access.exp - * gdb.dwarf2/opaque-type-lookup.exp - * gdb.dwarf2/pieces-optimized-out.exp - * gdb.dwarf2/pieces.exp - * gdb.dwarf2/pr10770.exp - * gdb.dwarf2/pr13961.exp - * gdb.dwarf2/staticvirtual.exp - * gdb.dwarf2/subrange.exp - * gdb.dwarf2/symtab-producer.exp - * gdb.dwarf2/trace-crash.exp - * gdb.dwarf2/typeddwarf.exp - * gdb.dwarf2/valop.exp - * gdb.dwarf2/watch-notconst.exp - * gdb.fortran/array-element.exp - * gdb.fortran/charset.exp - * gdb.fortran/common-block.exp - * gdb.fortran/complex.exp - * gdb.fortran/derived-type-function.exp - * gdb.fortran/derived-type.exp - * gdb.fortran/logical.exp - * gdb.fortran/module.exp - * gdb.fortran/multi-dim.exp - * gdb.fortran/nested-funcs.exp - * gdb.fortran/print-formatted.exp - * gdb.fortran/subarray.exp - * gdb.fortran/vla-alloc-assoc.exp - * gdb.fortran/vla-datatypes.exp - * gdb.fortran/vla-history.exp - * gdb.fortran/vla-ptr-info.exp - * gdb.fortran/vla-ptype-sub.exp - * gdb.fortran/vla-ptype.exp - * gdb.fortran/vla-sizeof.exp - * gdb.fortran/vla-type.exp - * gdb.fortran/vla-value-sub-arbitrary.exp - * gdb.fortran/vla-value-sub-finish.exp - * gdb.fortran/vla-value-sub.exp - * gdb.fortran/vla-value.exp - * gdb.fortran/whatis_type.exp - * gdb.go/chan.exp - * gdb.go/handcall.exp - * gdb.go/hello.exp - * gdb.go/integers.exp - * gdb.go/methods.exp - * gdb.go/package.exp - * gdb.go/strings.exp - * gdb.go/types.exp - * gdb.go/unsafe.exp - * gdb.guile/scm-arch.exp - * gdb.guile/scm-block.exp - * gdb.guile/scm-breakpoint.exp - * gdb.guile/scm-cmd.exp - * gdb.guile/scm-disasm.exp - * gdb.guile/scm-equal.exp - * gdb.guile/scm-frame-args.exp - * gdb.guile/scm-frame-inline.exp - * gdb.guile/scm-frame.exp - * gdb.guile/scm-iterator.exp - * gdb.guile/scm-math.exp - * gdb.guile/scm-objfile.exp - * gdb.guile/scm-ports.exp - * gdb.guile/scm-symbol.exp - * gdb.guile/scm-symtab.exp - * gdb.guile/scm-value-cc.exp - * gdb.guile/types-module.exp - * gdb.linespec/break-ask.exp - * gdb.linespec/cpexplicit.exp - * gdb.linespec/explicit.exp - * gdb.linespec/keywords.exp - * gdb.linespec/linespec.exp - * gdb.linespec/ls-dollar.exp - * gdb.linespec/ls-errs.exp - * gdb.linespec/skip-two.exp - * gdb.linespec/thread.exp - * gdb.mi/mi-async.exp - * gdb.mi/mi-basics.exp - * gdb.mi/mi-break.exp - * gdb.mi/mi-catch-load.exp - * gdb.mi/mi-cli.exp - * gdb.mi/mi-cmd-param-changed.exp - * gdb.mi/mi-console.exp - * gdb.mi/mi-detach.exp - * gdb.mi/mi-disassemble.exp - * gdb.mi/mi-eval.exp - * gdb.mi/mi-file-transfer.exp - * gdb.mi/mi-file.exp - * gdb.mi/mi-fill-memory.exp - * gdb.mi/mi-inheritance-syntax-error.exp - * gdb.mi/mi-linespec-err-cp.exp - * gdb.mi/mi-logging.exp - * gdb.mi/mi-memory-changed.exp - * gdb.mi/mi-read-memory.exp - * gdb.mi/mi-record-changed.exp - * gdb.mi/mi-reg-undefined.exp - * gdb.mi/mi-regs.exp - * gdb.mi/mi-return.exp - * gdb.mi/mi-reverse.exp - * gdb.mi/mi-simplerun.exp - * gdb.mi/mi-solib.exp - * gdb.mi/mi-stack.exp - * gdb.mi/mi-stepi.exp - * gdb.mi/mi-syn-frame.exp - * gdb.mi/mi-until.exp - * gdb.mi/mi-var-block.exp - * gdb.mi/mi-var-child.exp - * gdb.mi/mi-var-cmd.exp - * gdb.mi/mi-var-cp.exp - * gdb.mi/mi-var-display.exp - * gdb.mi/mi-var-invalidate.exp - * gdb.mi/mi-var-list-children-invalid-grandchild.exp - * gdb.mi/mi-vla-fortran.exp - * gdb.mi/mi-watch.exp - * gdb.mi/mi2-var-child.exp - * gdb.mi/user-selected-context-sync.exp - * gdb.modula2/unbounded-array.exp - * gdb.multi/dummy-frame-restore.exp - * gdb.multi/multi-arch-exec.exp - * gdb.multi/multi-arch.exp - * gdb.multi/tids.exp - * gdb.multi/watchpoint-multi.exp - * gdb.opencl/callfuncs.exp - * gdb.opencl/convs_casts.exp - * gdb.opencl/datatypes.exp - * gdb.opencl/operators.exp - * gdb.opencl/vec_comps.exp - * gdb.opt/clobbered-registers-O2.exp - * gdb.opt/inline-break.exp - * gdb.opt/inline-bt.exp - * gdb.opt/inline-cmds.exp - * gdb.opt/inline-locals.exp - * gdb.pascal/case-insensitive-symbols.exp - * gdb.pascal/floats.exp - * gdb.pascal/gdb11492.exp - * gdb.python/lib-types.exp - * gdb.python/py-arch.exp - * gdb.python/py-as-string.exp - * gdb.python/py-bad-printers.exp - * gdb.python/py-block.exp - * gdb.python/py-breakpoint-create-fail.exp - * gdb.python/py-breakpoint.exp - * gdb.python/py-caller-is.exp - * gdb.python/py-cmd.exp - * gdb.python/py-explore-cc.exp - * gdb.python/py-explore.exp - * gdb.python/py-finish-breakpoint.exp - * gdb.python/py-finish-breakpoint2.exp - * gdb.python/py-frame-args.exp - * gdb.python/py-frame-inline.exp - * gdb.python/py-frame.exp - * gdb.python/py-framefilter-mi.exp - * gdb.python/py-infthread.exp - * gdb.python/py-lazy-string.exp - * gdb.python/py-linetable.exp - * gdb.python/py-mi-events.exp - * gdb.python/py-mi-objfile.exp - * gdb.python/py-mi.exp - * gdb.python/py-objfile.exp - * gdb.python/py-pp-integral.exp - * gdb.python/py-pp-maint.exp - * gdb.python/py-pp-re-notag.exp - * gdb.python/py-pp-registration.exp - * gdb.python/py-recurse-unwind.exp - * gdb.python/py-strfns.exp - * gdb.python/py-symbol.exp - * gdb.python/py-symtab.exp - * gdb.python/py-sync-interp.exp - * gdb.python/py-typeprint.exp - * gdb.python/py-unwind-maint.exp - * gdb.python/py-unwind.exp - * gdb.python/py-value-cc.exp - * gdb.python/py-xmethods.exp - * gdb.reverse/amd64-tailcall-reverse.exp - * gdb.reverse/break-precsave.exp - * gdb.reverse/break-reverse.exp - * gdb.reverse/consecutive-precsave.exp - * gdb.reverse/consecutive-reverse.exp - * gdb.reverse/finish-precsave.exp - * gdb.reverse/finish-reverse-bkpt.exp - * gdb.reverse/finish-reverse.exp - * gdb.reverse/fstatat-reverse.exp - * gdb.reverse/getresuid-reverse.exp - * gdb.reverse/i386-precsave.exp - * gdb.reverse/i386-reverse.exp - * gdb.reverse/i386-sse-reverse.exp - * gdb.reverse/i387-env-reverse.exp - * gdb.reverse/i387-stack-reverse.exp - * gdb.reverse/insn-reverse.exp - * gdb.reverse/machinestate-precsave.exp - * gdb.reverse/machinestate.exp - * gdb.reverse/next-reverse-bkpt-over-sr.exp - * gdb.reverse/pipe-reverse.exp - * gdb.reverse/readv-reverse.exp - * gdb.reverse/recvmsg-reverse.exp - * gdb.reverse/rerun-prec.exp - * gdb.reverse/s390-mvcle.exp - * gdb.reverse/step-precsave.exp - * gdb.reverse/step-reverse.exp - * gdb.reverse/time-reverse.exp - * gdb.reverse/until-precsave.exp - * gdb.reverse/until-reverse.exp - * gdb.reverse/waitpid-reverse.exp - * gdb.reverse/watch-precsave.exp - * gdb.reverse/watch-reverse.exp - * gdb.rust/generics.exp - * gdb.rust/methods.exp - * gdb.rust/modules.exp - * gdb.rust/simple.exp - * gdb.server/connect-with-no-symbol-file.exp - * gdb.server/ext-attach.exp - * gdb.server/ext-restart.exp - * gdb.server/ext-wrapper.exp - * gdb.server/file-transfer.exp - * gdb.server/server-exec-info.exp - * gdb.server/server-kill.exp - * gdb.server/server-mon.exp - * gdb.server/wrapper.exp - * gdb.stabs/exclfwd.exp - * gdb.stabs/gdb11479.exp - * gdb.threads/clone-new-thread-event.exp - * gdb.threads/corethreads.exp - * gdb.threads/current-lwp-dead.exp - * gdb.threads/dlopen-libpthread.exp - * gdb.threads/gcore-thread.exp - * gdb.threads/sigstep-threads.exp - * gdb.threads/watchpoint-fork.exp - * gdb.trace/actions-changed.exp - * gdb.trace/backtrace.exp - * gdb.trace/change-loc.exp - * gdb.trace/circ.exp - * gdb.trace/collection.exp - * gdb.trace/disconnected-tracing.exp - * gdb.trace/ftrace.exp - * gdb.trace/mi-trace-frame-collected.exp - * gdb.trace/mi-trace-unavailable.exp - * gdb.trace/mi-traceframe-changed.exp - * gdb.trace/mi-tsv-changed.exp - * gdb.trace/no-attach-trace.exp - * gdb.trace/passc-dyn.exp - * gdb.trace/qtro.exp - * gdb.trace/range-stepping.exp - * gdb.trace/read-memory.exp - * gdb.trace/save-trace.exp - * gdb.trace/signal.exp - * gdb.trace/status-stop.exp - * gdb.trace/tfile.exp - * gdb.trace/trace-break.exp - * gdb.trace/trace-buffer-size.exp - * gdb.trace/trace-condition.exp - * gdb.trace/tracefile-pseudo-reg.exp - * gdb.trace/tstatus.exp - * gdb.trace/unavailable.exp - * gdb.trace/while-dyn.exp - * gdb.trace/while-stepping.exp - -2016-12-22 Doug Evans - - * gdb.base/maint.exp: Update tests for maint print symbols, psymbols - and msymbols. - -2016-12-19 Yao Qi - - * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove. - (test_with_self): Don't call do_steps_and_nexts, and remove - code about stepping into xmalloc. - -2016-12-09 Yao Qi - - * gdb.base/all-architectures.exp.in: Remove kfail for rx. - -2016-12-09 Yao Qi - - * gdb.base/all-architectures.exp.in: Remove kfail for rl78. - -2016-12-09 Pedro Alves - - * gdb.base/all-architectures-0.exp: New file. - * gdb.base/all-architectures-1.exp: New file. - * gdb.base/all-architectures-2.exp: New file. - * gdb.base/all-architectures-3.exp: New file. - * gdb.base/all-architectures-4.exp: New file. - * gdb.base/all-architectures-5.exp: New file. - * gdb.base/all-architectures-6.exp: New file. - * gdb.base/all-architectures-7.exp: New file. - * gdb.base/all-architectures.exp.in: New file. - -2016-12-09 Yao Qi - - * gdb.perf/skip-prologue.exp: Add parameter COMPILE. - -2016-12-02 Luis Machado - - * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when - possible. - Remove useless pattern-matching code. - -2016-12-02 Pedro Alves - - * gdb.base/commands.exp (user_defined_command_manyargs_test): New - procedure. - (top level): Call it. - -2016-12-02 Pedro Alves - - * gdb.base/commands.exp (user_defined_command_args_stack_test): - New procedure. - (top level): Call it. - -2016-12-02 Pedro Alves - - PR cli/20559 - * gdb.base/commands.exp (user_defined_command_args_eval): New - procedure. - (top level): Call it. - -2016-12-02 Luis Machado - - * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore - timeout handling. - -2016-12-02 Tom Tromey - - * gdb.dwarf2/main-subprogram.c: New file. - * gdb.dwarf2/main-subprogram.exp: New file. - -2016-12-01 Luis Machado - - * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple. - * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into - gdb_test_no_output for a couple of cases. - * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple. - -2016-12-01 Luis Machado - - Fix test names and standardize compilation error messages throughout - the following files: - - * gdb.ada/start.exp - * gdb.arch/alpha-step.exp - * gdb.arch/e500-prologue.exp - * gdb.arch/ftrace-insn-reloc.exp - * gdb.arch/gdb1291.exp - * gdb.arch/gdb1431.exp - * gdb.arch/gdb1558.exp - * gdb.arch/i386-dr3-watch.exp - * gdb.arch/i386-sse-stack-align.exp - * gdb.arch/ia64-breakpoint-shadow.exp - * gdb.arch/pa-nullify.exp - * gdb.arch/powerpc-aix-prologue.exp - * gdb.arch/thumb-bx-pc.exp - * gdb.base/annota1.exp - * gdb.base/annota3.exp - * gdb.base/arrayidx.exp - * gdb.base/assign.exp - * gdb.base/attach.exp - * gdb.base/auxv.exp - * gdb.base/bang.exp - * gdb.base/bfp-test.exp - * gdb.base/bigcore.exp - * gdb.base/bitfields2.exp - * gdb.base/break-fun-addr.exp - * gdb.base/break-probes.exp - * gdb.base/call-rt-st.exp - * gdb.base/callexit.exp - * gdb.base/catch-fork-kill.exp - * gdb.base/charset.exp - * gdb.base/checkpoint.exp - * gdb.base/comprdebug.exp - * gdb.base/constvars.exp - * gdb.base/coredump-filter.exp - * gdb.base/cursal.exp - * gdb.base/cvexpr.exp - * gdb.base/detach.exp - * gdb.base/display.exp - * gdb.base/dmsym.exp - * gdb.base/dprintf-pending.exp - * gdb.base/dso2dso.exp - * gdb.base/dtrace-probe.exp - * gdb.base/dump.exp - * gdb.base/enum_cond.exp - * gdb.base/exe-lock.exp - * gdb.base/exec-invalid-sysroot.exp - * gdb.base/execl-update-breakpoints.exp - * gdb.base/exprs.exp - * gdb.base/fileio.exp - * gdb.base/find.exp - * gdb.base/finish.exp - * gdb.base/fixsection.exp - * gdb.base/foll-vfork.exp - * gdb.base/frame-args.exp - * gdb.base/gcore.exp - * gdb.base/gdb1250.exp - * gdb.base/global-var-nested-by-dso.exp - * gdb.base/gnu-ifunc.exp - * gdb.base/hashline1.exp - * gdb.base/hashline2.exp - * gdb.base/hashline3.exp - * gdb.base/hbreak-in-shr-unsupported.exp - * gdb.base/huge.exp - * gdb.base/infcall-input.exp - * gdb.base/info-fun.exp - * gdb.base/info-shared.exp - * gdb.base/jit-simple.exp - * gdb.base/jit-so.exp - * gdb.base/jit.exp - * gdb.base/jump.exp - * gdb.base/label.exp - * gdb.base/lineinc.exp - * gdb.base/logical.exp - * gdb.base/longjmp.exp - * gdb.base/macscp.exp - * gdb.base/miscexprs.exp - * gdb.base/new-ui-echo.exp - * gdb.base/new-ui-pending-input.exp - * gdb.base/new-ui.exp - * gdb.base/nodebug.exp - * gdb.base/nofield.exp - * gdb.base/offsets.exp - * gdb.base/overlays.exp - * gdb.base/pending.exp - * gdb.base/pointers.exp - * gdb.base/pr11022.exp - * gdb.base/printcmds.exp - * gdb.base/prologue.exp - * gdb.base/ptr-typedef.exp - * gdb.base/realname-expand.exp - * gdb.base/relativedebug.exp - * gdb.base/relocate.exp - * gdb.base/remote.exp - * gdb.base/reread.exp - * gdb.base/return2.exp - * gdb.base/savedregs.exp - * gdb.base/sep.exp - * gdb.base/sepdebug.exp - * gdb.base/sepsymtab.exp - * gdb.base/set-inferior-tty.exp - * gdb.base/setshow.exp - * gdb.base/shlib-call.exp - * gdb.base/sigaltstack.exp - * gdb.base/siginfo-addr.exp - * gdb.base/signals.exp - * gdb.base/signull.exp - * gdb.base/sigrepeat.exp - * gdb.base/so-impl-ld.exp - * gdb.base/solib-display.exp - * gdb.base/solib-overlap.exp - * gdb.base/solib-search.exp - * gdb.base/solib-symbol.exp - * gdb.base/structs.exp - * gdb.base/structs2.exp - * gdb.base/symtab-search-order.exp - * gdb.base/twice.exp - * gdb.base/unload.exp - * gdb.base/varargs.exp - * gdb.base/watchpoint-solib.exp - * gdb.base/watchpoint.exp - * gdb.base/whatis.exp - * gdb.base/wrong_frame_bt_full.exp - * gdb.btrace/dlopen.exp - * gdb.cell/ea-standalone.exp - * gdb.cell/ea-test.exp - * gdb.cp/dispcxx.exp - * gdb.cp/gdb2384.exp - * gdb.cp/method2.exp - * gdb.cp/nextoverthrow.exp - * gdb.cp/pr10728.exp - * gdb.disasm/am33.exp - * gdb.disasm/h8300s.exp - * gdb.disasm/mn10300.exp - * gdb.disasm/sh3.exp - * gdb.dwarf2/dw2-dir-file-name.exp - * gdb.fortran/complex.exp - * gdb.fortran/library-module.exp - * gdb.guile/scm-pretty-print.exp - * gdb.guile/scm-symbol.exp - * gdb.guile/scm-type.exp - * gdb.guile/scm-value.exp - * gdb.linespec/linespec.exp - * gdb.mi/gdb701.exp - * gdb.mi/gdb792.exp - * gdb.mi/mi-breakpoint-changed.exp - * gdb.mi/mi-dprintf-pending.exp - * gdb.mi/mi-dprintf.exp - * gdb.mi/mi-exit-code.exp - * gdb.mi/mi-pending.exp - * gdb.mi/mi-solib.exp - * gdb.mi/new-ui-mi-sync.exp - * gdb.mi/pr11022.exp - * gdb.mi/user-selected-context-sync.exp - * gdb.opt/solib-intra-step.exp - * gdb.python/py-events.exp - * gdb.python/py-finish-breakpoint.exp - * gdb.python/py-mi.exp - * gdb.python/py-prettyprint.exp - * gdb.python/py-shared.exp - * gdb.python/py-symbol.exp - * gdb.python/py-template.exp - * gdb.python/py-type.exp - * gdb.python/py-value.exp - * gdb.reverse/solib-precsave.exp - * gdb.reverse/solib-reverse.exp - * gdb.server/solib-list.exp - * gdb.stabs/weird.exp - * gdb.threads/reconnect-signal.exp - * gdb.threads/stepi-random-signal.exp - * gdb.trace/actions.exp - * gdb.trace/ax.exp - * gdb.trace/backtrace.exp - * gdb.trace/change-loc.exp - * gdb.trace/deltrace.exp - * gdb.trace/ftrace-lock.exp - * gdb.trace/ftrace.exp - * gdb.trace/infotrace.exp - * gdb.trace/mi-tracepoint-changed.exp - * gdb.trace/packetlen.exp - * gdb.trace/passcount.exp - * gdb.trace/pending.exp - * gdb.trace/range-stepping.exp - * gdb.trace/report.exp - * gdb.trace/stap-trace.exp - * gdb.trace/tfind.exp - * gdb.trace/trace-break.exp - * gdb.trace/trace-condition.exp - * gdb.trace/trace-enable-disable.exp - * gdb.trace/trace-mt.exp - * gdb.trace/tracecmd.exp - * gdb.trace/tspeed.exp - * gdb.trace/tsv.exp - * lib/perftest.exp - -2016-12-01 Luis Machado - - * gdb.cp/gdb2495.exp: Replace gdb_test_multiple - with gdb_test_no_output. - Use command as test name. - -2016-12-01 Luis Machado - - Fix test names starting with uppercase throughout the files. - - * gdb.ada/assign_1.exp - * gdb.ada/boolean_expr.exp - * gdb.base/arrayidx.exp - * gdb.base/del.exp - * gdb.base/gcore-buffer-overflow.exp - * gdb.base/testenv.exp - * gdb.compile/compile.exp - * gdb.python/py-framefilter-invalidarg.exp - * gdb.python/py-framefilter.exp - -2016-12-01 Luis Machado - - Fix test names starting with uppercase throughout the files. - - * gdb.ada/array_return.exp - * gdb.ada/expr_delims.exp - * gdb.ada/mi_dyn_arr.exp - * gdb.ada/mi_interface.exp - * gdb.ada/mi_var_array.exp - * gdb.ada/watch_arg.exp - * gdb.arch/alpha-step.exp - * gdb.arch/altivec-regs.exp - * gdb.arch/e500-regs.exp - * gdb.arch/powerpc-d128-regs.exp - * gdb.base/arrayidx.exp - * gdb.base/break.exp - * gdb.base/checkpoint.exp - * gdb.base/debug-expr.exp - * gdb.base/dmsym.exp - * gdb.base/radix.exp - * gdb.base/sepdebug.exp - * gdb.base/testenv.exp - * gdb.base/watch_thread_num.exp - * gdb.base/watchpoint-cond-gone.exp - * gdb.cell/break.exp - * gdb.cell/ea-cache.exp - * gdb.compile/compile.exp - * gdb.cp/gdb2495.exp - * gdb.gdb/selftest.exp - * gdb.gdb/xfullpath.exp - * gdb.go/hello.exp - * gdb.go/integers.exp - * gdb.objc/basicclass.exp - * gdb.pascal/hello.exp - * gdb.pascal/integers.exp - * gdb.python/py-breakpoint.exp - * gdb.python/py-cmd.exp - * gdb.python/py-linetable.exp - * gdb.python/py-xmethods.exp - * gdb.python/python.exp - * gdb.reverse/consecutive-precsave.exp - * gdb.reverse/finish-precsave.exp - * gdb.reverse/i386-precsave.exp - * gdb.reverse/machinestate-precsave.exp - * gdb.reverse/sigall-precsave.exp - * gdb.reverse/solib-precsave.exp - * gdb.reverse/step-precsave.exp - * gdb.reverse/until-precsave.exp - * gdb.reverse/watch-precsave.exp - * gdb.threads/leader-exit.exp - * gdb.threads/pthreads.exp - * gdb.threads/wp-replication.exp - * gdb.trace/actions.exp - * gdb.trace/mi-tsv-changed.exp - * gdb.trace/tsv.exp - -2016-12-01 Luis Machado - - Fix test names starting with uppercase throughout the files. - - * gdb.arch/i386-bp_permanent.exp - * gdb.arch/i386-gnu-cfi.exp - * gdb.base/disasm-end-cu.exp - * gdb.base/macscp.exp - * gdb.base/pending.exp - * gdb.base/watch_thread_num.exp - * gdb.cp/exception.exp - * gdb.cp/gdb2495.exp - * gdb.cp/local.exp - * gdb.python/py-evsignal.exp - * gdb.python/python.exp - * gdb.trace/tracecmd.exp - -2016-12-01 Luis Machado - - Fix test names starting with uppercase throughout the files. - - * gdb.base/charset.exp - * gdb.base/eval.exp - * gdb.base/multi-forks.exp - * gdb.guile/scm-progspace.exp - * gdb.opencl/datatypes.exp - * gdb.python/py-block.exp - * gdb.python/py-function.exp - * gdb.python/py-symbol.exp - * gdb.python/py-symtab.exp - * gdb.python/py-xmethods.exp - * gdb.reverse/break-precsave.exp - * gdb.reverse/break-reverse.exp - * gdb.reverse/consecutive-precsave.exp - * gdb.reverse/consecutive-reverse.exp - * gdb.reverse/finish-precsave.exp - * gdb.reverse/finish-reverse-bkpt.exp - * gdb.reverse/finish-reverse.exp - * gdb.reverse/fstatat-reverse.exp - * gdb.reverse/getresuid-reverse.exp - * gdb.reverse/i386-precsave.exp - * gdb.reverse/i386-reverse.exp - * gdb.reverse/i386-sse-reverse.exp - * gdb.reverse/i387-stack-reverse.exp - * gdb.reverse/insn-reverse.exp - * gdb.reverse/machinestate-precsave.exp - * gdb.reverse/machinestate.exp - * gdb.reverse/next-reverse-bkpt-over-sr.exp - * gdb.reverse/pipe-reverse.exp - * gdb.reverse/readv-reverse.exp - * gdb.reverse/recvmsg-reverse.exp - * gdb.reverse/rerun-prec.exp - * gdb.reverse/s390-mvcle.exp - * gdb.reverse/sigall-precsave.exp - * gdb.reverse/sigall-reverse.exp - * gdb.reverse/solib-precsave.exp - * gdb.reverse/solib-reverse.exp - * gdb.reverse/step-precsave.exp - * gdb.reverse/step-reverse.exp - * gdb.reverse/time-reverse.exp - * gdb.reverse/until-precsave.exp - * gdb.reverse/until-reverse.exp - * gdb.reverse/waitpid-reverse.exp - * gdb.reverse/watch-precsave.exp - * gdb.reverse/watch-reverse.exp - -2016-12-01 Luis Machado - - Fix test names starting with uppercase throughout the files. - - * gdb.arch/i386-mpx-simple_segv.exp - * gdb.arch/i386-mpx.exp - * gdb.arch/i386-permbkpt.exp - * gdb.arch/pa-nullify.exp - * gdb.arch/powerpc-d128-regs.exp - * gdb.arch/vsx-regs.exp - * gdb.base/bfp-test.exp - * gdb.base/break.exp - * gdb.base/breakpoint-shadow.exp - * gdb.base/callfuncs.exp - * gdb.base/charset.exp - * gdb.base/commands.exp - * gdb.base/completion.exp - * gdb.base/dfp-test.exp - * gdb.base/echo.exp - * gdb.base/ending-run.exp - * gdb.base/eval.exp - * gdb.base/expand-psymtabs.exp - * gdb.base/float128.exp - * gdb.base/floatn.exp - * gdb.base/foll-exec-mode.exp - * gdb.base/gdb1056.exp - * gdb.base/gdb11531.exp - * gdb.base/kill-after-signal.exp - * gdb.base/multi-forks.exp - * gdb.base/overlays.exp - * gdb.base/pending.exp - * gdb.base/sepdebug.exp - * gdb.base/testenv.exp - * gdb.base/valgrind-db-attach.exp - * gdb.base/watch_thread_num.exp - * gdb.base/watchpoint-cond-gone.exp - * gdb.base/watchpoint.exp - * gdb.base/watchpoints.exp - * gdb.cp/arg-reference.exp - * gdb.cp/baseenum.exp - * gdb.cp/operator.exp - * gdb.cp/shadow.exp - * gdb.dwarf2/dw2-op-out-param.exp - * gdb.dwarf2/dw2-reg-undefined.exp - * gdb.go/chan.exp - * gdb.go/hello.exp - * gdb.go/integers.exp - * gdb.go/methods.exp - * gdb.go/package.exp - * gdb.guile/scm-parameter.exp - * gdb.guile/scm-progspace.exp - * gdb.guile/scm-value.exp - * gdb.mi/mi-pending.exp - * gdb.mi/user-selected-context-sync.exp - * gdb.multi/multi-attach.exp - * gdb.multi/tids.exp - * gdb.opt/clobbered-registers-O2.exp - * gdb.pascal/floats.exp - * gdb.pascal/integers.exp - * gdb.python/py-block.exp - * gdb.python/py-events.exp - * gdb.python/py-parameter.exp - * gdb.python/py-symbol.exp - * gdb.python/py-symtab.exp - * gdb.python/py-type.exp - * gdb.python/py-value.exp - * gdb.python/py-xmethods.exp - * gdb.python/python.exp - * gdb.reverse/break-precsave.exp - * gdb.reverse/consecutive-precsave.exp - * gdb.reverse/finish-precsave.exp - * gdb.reverse/i386-precsave.exp - * gdb.reverse/machinestate-precsave.exp - * gdb.reverse/sigall-precsave.exp - * gdb.reverse/solib-precsave.exp - * gdb.reverse/step-precsave.exp - * gdb.reverse/until-precsave.exp - * gdb.reverse/watch-precsave.exp - * gdb.server/ext-attach.exp - * gdb.server/ext-restart.exp - * gdb.server/ext-run.exp - * gdb.server/ext-wrapper.exp - * gdb.stabs/gdb11479.exp - * gdb.stabs/weird.exp - * gdb.threads/attach-many-short-lived-threads.exp - * gdb.threads/kill.exp - * gdb.threads/watchpoint-fork.exp - -2016-12-01 Luis Machado - - Fix test names starting with uppercase throughout all the files below. - - * gdb.ada/array_return.exp - * gdb.ada/catch_ex.exp - * gdb.ada/info_exc.exp - * gdb.ada/mi_catch_ex.exp - * gdb.ada/mi_dyn_arr.exp - * gdb.ada/mi_ex_cond.exp - * gdb.ada/mi_exc_info.exp - * gdb.ada/mi_interface.exp - * gdb.ada/mi_task_arg.exp - * gdb.ada/mi_task_info.exp - * gdb.ada/mi_var_array.exp - * gdb.arch/alpha-step.exp - * gdb.arch/amd64-disp-step.exp - * gdb.arch/arm-disp-step.exp - * gdb.arch/disp-step-insn-reloc.exp - * gdb.arch/e500-prologue.exp - * gdb.arch/ftrace-insn-reloc.exp - * gdb.arch/gdb1558.exp - * gdb.arch/i386-bp_permanent.exp - * gdb.arch/i386-disp-step.exp - * gdb.arch/i386-float.exp - * gdb.arch/i386-gnu-cfi.exp - * gdb.arch/ia64-breakpoint-shadow.exp - * gdb.arch/mips16-thunks.exp - * gdb.arch/pa-nullify.exp - * gdb.arch/powerpc-aix-prologue.exp - * gdb.arch/powerpc-power.exp - * gdb.arch/ppc-dfp.exp - * gdb.arch/s390-tdbregs.exp - * gdb.arch/spu-info.exp - * gdb.arch/spu-ls.exp - * gdb.arch/thumb-bx-pc.exp - * gdb.base/advance.exp - * gdb.base/annota-input-while-running.exp - * gdb.base/arrayidx.exp - * gdb.base/asmlabel.exp - * gdb.base/async.exp - * gdb.base/attach-wait-input.exp - * gdb.base/auto-connect-native-target.exp - * gdb.base/batch-preserve-term-settings.exp - * gdb.base/bfp-test.exp - * gdb.base/bigcore.exp - * gdb.base/bp-permanent.exp - * gdb.base/break-always.exp - * gdb.base/break-fun-addr.exp - * gdb.base/break-idempotent.exp - * gdb.base/break-main-file-remove-fail.exp - * gdb.base/break-probes.exp - * gdb.base/break-unload-file.exp - * gdb.base/break.exp - * gdb.base/call-ar-st.exp - * gdb.base/call-rt-st.exp - * gdb.base/call-sc.exp - * gdb.base/call-signal-resume.exp - * gdb.base/call-strs.exp - * gdb.base/callexit.exp - * gdb.base/callfuncs.exp - * gdb.base/catch-gdb-caused-signals.exp - * gdb.base/catch-signal-siginfo-cond.exp - * gdb.base/catch-syscall.exp - * gdb.base/compare-sections.exp - * gdb.base/cond-eval-mode.exp - * gdb.base/condbreak-call-false.exp - * gdb.base/consecutive-step-over.exp - * gdb.base/cursal.exp - * gdb.base/disabled-location.exp - * gdb.base/disasm-end-cu.exp - * gdb.base/display.exp - * gdb.base/double-prompt-target-event-error.exp - * gdb.base/dprintf-bp-same-addr.exp - * gdb.base/dprintf-detach.exp - * gdb.base/dprintf-next.exp - * gdb.base/dprintf-non-stop.exp - * gdb.base/dprintf-pending.exp - * gdb.base/dso2dso.exp - * gdb.base/ending-run.exp - * gdb.base/enum_cond.exp - * gdb.base/examine-backward.exp - * gdb.base/exe-lock.exp - * gdb.base/exec-invalid-sysroot.exp - * gdb.base/execl-update-breakpoints.exp - * gdb.base/execution-termios.exp - * gdb.base/fileio.exp - * gdb.base/fixsection.exp - * gdb.base/foll-exec-mode.exp - * gdb.base/foll-exec.exp - * gdb.base/fork-running-state.exp - * gdb.base/frame-args.exp - * gdb.base/fullpath-expand.exp - * gdb.base/func-ptr.exp - * gdb.base/gcore-relro-pie.exp - * gdb.base/gdb1090.exp - * gdb.base/gdb1555.exp - * gdb.base/global-var-nested-by-dso.exp - * gdb.base/gnu-ifunc.exp - * gdb.base/hbreak-in-shr-unsupported.exp - * gdb.base/hbreak-unmapped.exp - * gdb.base/hook-stop.exp - * gdb.base/infcall-input.exp - * gdb.base/info-fun.exp - * gdb.base/info-shared.exp - * gdb.base/interrupt-noterm.exp - * gdb.base/jit-so.exp - * gdb.base/jit.exp - * gdb.base/line-symtabs.exp - * gdb.base/list.exp - * gdb.base/longjmp.exp - * gdb.base/macscp.exp - * gdb.base/max-value-size.exp - * gdb.base/nodebug.exp - * gdb.base/nofield.exp - * gdb.base/overlays.exp - * gdb.base/paginate-after-ctrl-c-running.exp - * gdb.base/paginate-bg-execution.exp - * gdb.base/paginate-inferior-exit.exp - * gdb.base/pending.exp - * gdb.base/pr11022.exp - * gdb.base/printcmds.exp - * gdb.base/ptr-typedef.exp - * gdb.base/ptype.exp - * gdb.base/randomize.exp - * gdb.base/range-stepping.exp - * gdb.base/realname-expand.exp - * gdb.base/relativedebug.exp - * gdb.base/remote.exp - * gdb.base/savedregs.exp - * gdb.base/sepdebug.exp - * gdb.base/set-noassign.exp - * gdb.base/shlib-call.exp - * gdb.base/shreloc.exp - * gdb.base/sigaltstack.exp - * gdb.base/sigbpt.exp - * gdb.base/siginfo-addr.exp - * gdb.base/siginfo-obj.exp - * gdb.base/siginfo-thread.exp - * gdb.base/signest.exp - * gdb.base/signull.exp - * gdb.base/sigrepeat.exp - * gdb.base/skip.exp - * gdb.base/so-impl-ld.exp - * gdb.base/solib-corrupted.exp - * gdb.base/solib-disc.exp - * gdb.base/solib-display.exp - * gdb.base/solib-overlap.exp - * gdb.base/solib-search.exp - * gdb.base/solib-symbol.exp - * gdb.base/source-execution.exp - * gdb.base/sss-bp-on-user-bp-2.exp - * gdb.base/sss-bp-on-user-bp.exp - * gdb.base/stack-checking.exp - * gdb.base/stale-infcall.exp - * gdb.base/step-break.exp - * gdb.base/step-line.exp - * gdb.base/step-over-exit.exp - * gdb.base/step-test.exp - * gdb.base/structs.exp - * gdb.base/sym-file.exp - * gdb.base/symtab-search-order.exp - * gdb.base/term.exp - * gdb.base/type-opaque.exp - * gdb.base/unload.exp - * gdb.base/until-nodebug.exp - * gdb.base/until.exp - * gdb.base/unwindonsignal.exp - * gdb.base/watch-cond.exp - * gdb.base/watch-non-mem.exp - * gdb.base/watch_thread_num.exp - * gdb.base/watchpoint-reuse-slot.exp - * gdb.base/watchpoint-solib.exp - * gdb.base/watchpoint.exp - * gdb.btrace/dlopen.exp - * gdb.cell/arch.exp - * gdb.cell/break.exp - * gdb.cell/bt.exp - * gdb.cell/core.exp - * gdb.cell/data.exp - * gdb.cell/dwarfaddr.exp - * gdb.cell/ea-cache.exp - * gdb.cell/ea-standalone.exp - * gdb.cell/ea-test.exp - * gdb.cell/f-regs.exp - * gdb.cell/fork.exp - * gdb.cell/gcore.exp - * gdb.cell/mem-access.exp - * gdb.cell/ptype.exp - * gdb.cell/registers.exp - * gdb.cell/sizeof.exp - * gdb.cell/solib-symbol.exp - * gdb.cell/solib.exp - * gdb.compile/compile-tls.exp - * gdb.cp/exception.exp - * gdb.cp/gdb2495.exp - * gdb.cp/local.exp - * gdb.cp/mb-inline.exp - * gdb.cp/mb-templates.exp - * gdb.cp/pr10687.exp - * gdb.cp/pr9167.exp - * gdb.cp/scope-err.exp - * gdb.cp/templates.exp - * gdb.cp/virtfunc.exp - * gdb.dwarf2/dw2-dir-file-name.exp - * gdb.dwarf2/dw2-single-line-discriminators.exp - * gdb.fortran/complex.exp - * gdb.fortran/library-module.exp - * gdb.guile/guile.exp - * gdb.guile/scm-cmd.exp - * gdb.guile/scm-frame-inline.exp - * gdb.guile/scm-objfile.exp - * gdb.guile/scm-pretty-print.exp - * gdb.guile/scm-symbol.exp - * gdb.guile/scm-type.exp - * gdb.guile/scm-value.exp - * gdb.linespec/keywords.exp - * gdb.linespec/ls-errs.exp - * gdb.linespec/macro-relative.exp - * gdb.linespec/thread.exp - * gdb.mi/mi-breakpoint-changed.exp - * gdb.mi/mi-dprintf-pending.exp - * gdb.mi/mi-fullname-deleted.exp - * gdb.mi/mi-logging.exp - * gdb.mi/mi-pending.exp - * gdb.mi/mi-solib.exp - * gdb.mi/new-ui-mi-sync.exp - * gdb.mi/user-selected-context-sync.exp - * gdb.multi/dummy-frame-restore.exp - * gdb.multi/multi-arch-exec.exp - * gdb.multi/remove-inferiors.exp - * gdb.multi/watchpoint-multi-exit.exp - * gdb.opt/solib-intra-step.exp - * gdb.perf/backtrace.exp - * gdb.perf/single-step.exp - * gdb.perf/skip-command.exp - * gdb.perf/skip-prologue.exp - * gdb.perf/solib.exp - * gdb.python/lib-types.exp - * gdb.python/py-as-string.exp - * gdb.python/py-bad-printers.exp - * gdb.python/py-block.exp - * gdb.python/py-breakpoint.exp - * gdb.python/py-cmd.exp - * gdb.python/py-events.exp - * gdb.python/py-evthreads.exp - * gdb.python/py-finish-breakpoint.exp - * gdb.python/py-finish-breakpoint2.exp - * gdb.python/py-frame-inline.exp - * gdb.python/py-frame.exp - * gdb.python/py-inferior.exp - * gdb.python/py-infthread.exp - * gdb.python/py-mi.exp - * gdb.python/py-objfile.exp - * gdb.python/py-pp-maint.exp - * gdb.python/py-pp-registration.exp - * gdb.python/py-prettyprint.exp - * gdb.python/py-recurse-unwind.exp - * gdb.python/py-shared.exp - * gdb.python/py-symbol.exp - * gdb.python/py-symtab.exp - * gdb.python/py-template.exp - * gdb.python/py-type.exp - * gdb.python/py-unwind-maint.exp - * gdb.python/py-unwind.exp - * gdb.python/py-value.exp - * gdb.python/python.exp - * gdb.reverse/finish-reverse-bkpt.exp - * gdb.reverse/insn-reverse.exp - * gdb.reverse/next-reverse-bkpt-over-sr.exp - * gdb.reverse/solib-precsave.exp - * gdb.reverse/solib-reverse.exp - * gdb.stabs/gdb11479.exp - * gdb.stabs/weird.exp - * gdb.threads/fork-child-threads.exp - * gdb.threads/fork-plus-threads.exp - * gdb.threads/fork-thread-pending.exp - * gdb.threads/forking-threads-plus-breakpoint.exp - * gdb.threads/hand-call-in-threads.exp - * gdb.threads/interrupted-hand-call.exp - * gdb.threads/linux-dp.exp - * gdb.threads/local-watch-wrong-thread.exp - * gdb.threads/next-while-other-thread-longjmps.exp - * gdb.threads/non-ldr-exit.exp - * gdb.threads/pending-step.exp - * gdb.threads/print-threads.exp - * gdb.threads/process-dies-while-detaching.exp - * gdb.threads/process-dies-while-handling-bp.exp - * gdb.threads/pthreads.exp - * gdb.threads/queue-signal.exp - * gdb.threads/reconnect-signal.exp - * gdb.threads/signal-command-handle-nopass.exp - * gdb.threads/signal-command-multiple-signals-pending.exp - * gdb.threads/signal-delivered-right-thread.exp - * gdb.threads/signal-sigtrap.exp - * gdb.threads/sigthread.exp - * gdb.threads/staticthreads.exp - * gdb.threads/stepi-random-signal.exp - * gdb.threads/thread-unwindonsignal.exp - * gdb.threads/thread_check.exp - * gdb.threads/thread_events.exp - * gdb.threads/tid-reuse.exp - * gdb.threads/tls-nodebug.exp - * gdb.threads/tls-shared.exp - * gdb.threads/tls-so_extern.exp - * gdb.threads/tls.exp - * gdb.threads/wp-replication.exp - * gdb.trace/actions-changed.exp - * gdb.trace/actions.exp - * gdb.trace/backtrace.exp - * gdb.trace/change-loc.exp - * gdb.trace/collection.exp - * gdb.trace/deltrace.exp - * gdb.trace/disconnected-tracing.exp - * gdb.trace/entry-values.exp - * gdb.trace/ftrace-lock.exp - * gdb.trace/ftrace.exp - * gdb.trace/infotrace.exp - * gdb.trace/mi-trace-frame-collected.exp - * gdb.trace/mi-trace-unavailable.exp - * gdb.trace/mi-traceframe-changed.exp - * gdb.trace/mi-tracepoint-changed.exp - * gdb.trace/mi-tsv-changed.exp - * gdb.trace/no-attach-trace.exp - * gdb.trace/packetlen.exp - * gdb.trace/passc-dyn.exp - * gdb.trace/passcount.exp - * gdb.trace/pending.exp - * gdb.trace/pr16508.exp - * gdb.trace/qtro.exp - * gdb.trace/range-stepping.exp - * gdb.trace/read-memory.exp - * gdb.trace/report.exp - * gdb.trace/save-trace.exp - * gdb.trace/signal.exp - * gdb.trace/stap-trace.exp - * gdb.trace/status-stop.exp - * gdb.trace/strace.exp - * gdb.trace/tfile.exp - * gdb.trace/tfind.exp - * gdb.trace/trace-break.exp - * gdb.trace/trace-condition.exp - * gdb.trace/trace-enable-disable.exp - * gdb.trace/trace-mt.exp - * gdb.trace/tracecmd.exp - * gdb.trace/tracefile-pseudo-reg.exp - * gdb.trace/tspeed.exp - * gdb.trace/tstatus.exp - * gdb.trace/tsv.exp - * gdb.trace/unavailable.exp - * gdb.trace/while-dyn.exp - * gdb.trace/while-stepping.exp - * lib/gdb-guile.exp - * lib/gdb.exp - * lib/mi-support.exp - * lib/pascal.exp - * lib/perftest.exp - * lib/prelink-support.exp - * lib/selftest-support.exp - -2016-11-30 Simon Marchi - - * Makefile.in: Include disable-implicit-rules.mk. - -2016-11-24 Andreas Arnez - - * gdb.dwarf2/nonvar-access.exp: Add a test for accessing - non-byte-aligned bit fields. - -2016-11-24 Andreas Arnez - - PR gdb/12616 - * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB - respects the DW_AT_data_bit_offset attribute. - -2016-11-22 Simon Marchi - - * gdb.base/default.exp: Fix output of "set language". - -2016-11-17 Simon Marchi - - * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines - prefixed with @GMAKE_FALSE@. Update comment related to non-GNU - make. - * configure.ac: Remove checks for the make program. - * configure: Re-generate. - -2016-11-16 Kevin Buettner - - * gdb.python/py-recurse-unwind.c (main): Add loop. - * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls - to read_register() and gdb.parse_and_eval(). Make each code - call a separate case that can be individually tested. - * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New - proc. Call cont_and_backtrace for each of the code paths that - we want to test in the unwinder. - -2016-11-15 Andreas Arnez - - * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for - the definition of struct S. - -2016-11-11 Catherine Moore - - * gdb.base/dump.exp: Identify verilog format dump tests as such. - -2016-11-09 Pedro Alves - - * gdb.base/commands.exp (runto_or_return): New procedure. - (gdbvar_simple_if_test, gdbvar_simple_while_test) - (gdbvar_complex_if_while_test, progvar_simple_if_test) - (progvar_simple_while_test, progvar_complex_if_while_test) - (if_while_breakpoint_command_test) - (infrun_breakpoint_command_test, breakpoint_command_test) - (user_defined_command_test, watchpoint_command_test) - (test_command_prompt_position, redefine_hook_test) - (stray_arg0_test, error_clears_commands_left, redefine_hook_test) - (redefine_backtrace_test): Use runto_or_return, $valnum_re, - multi_line_input and multi_line. Remove gdb_expect and - gdb_stop_suppressing_tests uses. - * lib/gdb.exp (valnum_re): New global. - (multi_line_input): New procedure. - -2016-11-09 Simon Marchi - - * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname): - Remove. - (test_setup): Define with proc_with_prefix. - (test_cli_inferior): Likewise. - (test_cli_thread): Likewise. - (test_cli_frame): Likewise. - (test_cli_select_frame): Likewise. - (test_cli_up_down): Likewise. - (test_mi_thread_select): Likewise. - (test_mi_stack_select_frame): Likewise. - (test_cli_in_mi_inferior): Likewise. - (test_cli_in_mi_thread): Likewise. - (test_cli_in_mi_frame): Likewise. - (top level): Do not use with_test_prefix_procname. - -2016-11-09 Pedro Alves - - * gdb.base/commands.exp (gdbvar_simple_if_test) - (gdbvar_simple_while_test, gdbvar_complex_if_while_test) - (progvar_simple_if_test, progvar_simple_while_test) - (progvar_complex_if_while_test, if_while_breakpoint_command_test) - (infrun_breakpoint_command_test, breakpoint_command_test) - (user_defined_command_test, watchpoint_command_test) - (test_command_prompt_position, deprecated_command_test) - (bp_deleted_in_command, temporary_breakpoint_commands) - (stray_arg0_test, source_file_with_indented_comment) - (recursive_source_test, if_commands_test) - (error_clears_commands_left, redefine_hook_test) - (redefine_backtrace_test): Use proc_with_prefix. - * lib/gdb.exp (proc_with_prefix): New proc. - -2016-11-09 Andreas Arnez - - * gdb.base/tui-layout.c: New file. - * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the - disassembly window contains very long lines. - -2016-11-08 Tom Tromey - - * gdb.python/py-value.exp (test_value_creation): Make "long" test - depend on Python 2. - -2016-11-08 Tom Tromey - - * gdb.python/py-framefilter.py (ElidingFrameDecorator.address): - New method. - -2016-10-29 Manish Goregaokar - - * gdb.rust/simple.exp: Add tests for `sizeof(expr)`. - -2016-10-27 Manish Goregaokar - - * gdb.rust/simple.rs: Add test for univariant enums without - discriminants and for encoded struct-like enums. - -2016-10-28 Pedro Alves - - * gdb.base/maint.exp : Use - gdb_test_multiple, tighten regexps and match symtabs and line - tables incrementally. - -2016-10-28 Luis Machado - - * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more - general. - -2016-10-25 Luis Machado - - * gdb.base/exec-invalid-sysroot.exp: New file. - -2016-10-24 Jan Kratochvil - - * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first. - -2016-10-20 Jan Kratochvil - - * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp. - -2016-10-19 Maciej W. Rozycki - - * gdb.base/killed-outside.exp: Remove $options from a call to - `prepare_for_testing'. - -2016-10-17 Simon Marchi - - * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args): - Change test message. - -2016-10-17 Simon Marchi - - * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args): - Update comment. - -2016-10-17 Simon Marchi - - * gdb.trace/mi-trace-save.exp: New file. - -2016-10-13 Yao Qi - - * gdb.base/code_elim.exp (get_var_address): Remove. - * gdb.base/relocate.exp: Likewise. - * gdb.base/shreloc.exp: Likewise. - * lib/gdb.exp (get_var_address): New. - -2016-10-13 Yao Qi - - * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do - floating point tests if $skip_float_test is false. - -2016-10-12 Luis Machado - - * gdb.python/py-value.c (main): Check if argv is NULL before using it. - * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded - argc values. - Add 1 to argc so we guarantee distinct initial/modified argc values. - -2016-10-11 Jan Kratochvil - - * gdb.arch/powerpc-prologue.c (optimized_1): New declaration. - -2016-10-11 Jan Kratochvil - - * gdb.arch/powerpc-prologue.exp: Use standard_output_file - * gdb.arch/ppc64-symtab-cordic.exp: Likewise. - * gdb.arch/vsx-regs.exp: Likewise. - -2016-10-07 Yao Qi - - * gdb.xml/tdesc-regs.exp: Set regdir to "arm/". - -2016-10-07 Markus Metzger - - * gdb.python/python.exp: Test decode_line("*0"). - -2016-10-06 Doug Evans - - * gdb.python/py-value.exp (test_value_creation): Add test for large - unsigned 64-bit value. - -2016-10-06 Tom Tromey - - * gdb.compile/compile.exp: Change java tests to rust. - * gdb.base/setshow.exp: Change java tests to rust. - * gdb.base/default.exp: Remove java from language list. - * README (Examples): Update language example. - * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java - test. - * lib/gdb.exp (skip_java_tests): Remove. - * lib/java.exp: Remove. - * gdb.java: Remove. - -2016-10-06 Maciej W. Rozycki - - * gdb.arch/mips-fcr.exp: New test. - * gdb.arch/mips-fcr.c: Source for the new test. - -2016-10-06 Maciej W. Rozycki - - * gdb.base/solib-disc.exp: Use `standard_output_file' - throughout. - -2016-10-06 Pedro Alves - - * gdb.base/jit-simple-dl.c: New file. - * gdb.base/jit-simple-jit.c: New file, factored out from ... - * gdb.base/jit-simple.c: ... this. - * gdb.base/jit-simple.exp (jit_run): Delete. - (build_jit): New proc. - (jit_test_reread): Recompile either the main program or the shared - library, depending on what is being tested. Skip changing address - if caller wants to. Compare before/after addresses. If testing - standalone, explicitly load the binary. Test "maint info - breakpoints". - (top level): Add "standalone vs shared lib" and "change address" - vs "same address" axes. - -2016-10-06 Pedro Alves - - * gdb.base/jit-simple.exp (top level) Delete get_compiler_info - call. - (jit_run): Delete. - (jit_test_reread): Use with_test_prefix. Reload the main binary - explicitly. Compare the before/after addresses of the JIT - descriptor. - -2016-08-15 Doug Evans - - * gdb.xml/extra-regs.xml: Update, end field now required, default type - for single bitfields is bool. - * gdb.xml/tdesc-regs.exp: Ditto. - -2016-10-05 Jan Kratochvil - - * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo. - -2016-10-05 Yao Qi - - * lib/gdb.exp (support_complex_tests): Return zero if - gdb_skip_float_test return true. - -2016-10-03 Antoine Tremblay - Simon Marchi - - PR gdb/20487 - * gdb.mi/user-selected-context-sync.exp: New file. - * gdb.mi/user-selected-context-sync.c: New file. - -2016-10-03 Antoine Tremblay - Simon Marchi - - PR gdb/20487 - * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt - =thread-select-event check. - -2016-09-29 Peter Bergner - - * gdb.arch/powerpc-power.exp : Update tests to account for - the compulsory L operand changes. - * gdb.arch/powerpc-power.s: Likewise. - -2016-09-29 Jan Kratochvil - - PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression - * gdb.base/jit-attach-pie.c: New file. - * gdb.base/jit-attach-pie.exp: New file. - -2016-09-28 Pedro Alves - - * gdb.base/infcall-input.c: New file. - * gdb.base/infcall-input.exp: New file. - -2016-09-22 Yao Qi - - * lib/gdbserver-support.exp: Rename mi_gdb_exit. - (gdb_exit): Rename it to ... - (gdbserver_gdb_exit): ... Close GDBserver. - (gdb_exit): New proc, call gdbserver_gdb_exit. - (mi_gdb_exit): Likewise. - -2016-09-22 Yao Qi - - * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute - path. - * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base. - Remove duplication. - -2016-09-22 Yao Qi - - * lib/gdbserver-support.exp: Check the existence of - gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit. - -2016-09-21 Anton Kolesov - - * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32. - -2016-09-21 Tom Tromey - - PR gdb/20604: - * gdb.base/quit.exp: New file. - -2016-09-21 Simon Marchi - - * .gitignore: New file. - -2016-09-21 Maciej W. Rozycki - - * gdb.arch/mips16-thunks.exp: Use `standard_output_file' - throughout. - -2016-09-16 Andreas Arnez - - * lib/gdb.exp: No longer skip hardware breakpoint tests on s390. - -2016-09-16 Jan Kratochvil - - * gdb.cp/casts.cc (decltype): Move it ... - (main): ... with its call to ... - * gdb.cp/casts03.cc: ... a new file. - * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it. - -2016-09-15 Jan Kratochvil - - * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11. - -2016-09-15 Peter Bergner - - * gdb.arch/powerpc-power.s: Update Power9 instruction tests - and sync up the test with tests in gas/testsuite/gas/ppc. - * gdb.arch/powerpc-power.exp: Likewise. - -2016-09-15 Jan Kratochvil - - * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE. - -2016-09-11 Sergio Durigan Junior - Jan Kratochvil - - * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to - make m1's definition to be different from m2's. Use 'dummy' as an - argument for probe 'two'. - -2016-09-10 Jon Beniston - - * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options - for sim target. - -2016-09-09 Andreas Arnez - - * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external - variable declaration. - (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap. - * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable. - * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver - received HWCAP as its argument. - -2016-09-06 Pedro Alves - - * gdb.base/new-ui-pending-input.c: New file. - * gdb.base/new-ui-pending-input.exp: New file. - * gdb.exp (clear_gdb_spawn_id): New procedure. - (with_spawn_id): Check whether gdb_spawn_id exists before - referencing it. If gdb_spawn_id didn't exist on entry, clear it - on exit. - -2016-09-05 Ulrich Weigand - - * gdb.base/float128.c: New file. - * gdb.base/float128.exp: Likewise. - * gdb.base/floatn.c: Likewise. - * gdb.base/floatn.exp: Likewise. - -2016-09-05 Ulrich Weigand - - * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment. - -2016-09-05 Pedro Alves - - PR backtrace/19927 - * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that - unwinders are immediately called as side effect of "source" or - "disable unwinder" commands. - * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls. - -2016-09-02 Yao Qi - - * gdb.base/return-nodebug.exp: Skip the test if skip_float_test - is true and $type is "float" or "double". - -2016-09-02 Yao Qi - - * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns - true. - * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test. - * gdb.base/call-rt-st.exp: Likewise. - * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its - return value instead of gdb,skip_float_test. - * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test. - (do_function_calls): Use its return value instead of - gdb,skip_float_test. - * gdb.base/finish.exp: Likewise. - * gdb.base/funcargs.exp: Likewise. - * gdb.base/return.exp: Likewise. - * gdb.base/return2.exp: Likewise. - * gdb.base/varargs.exp: Likewise. - * lib/gdb.exp (gdb_skip_float_test): Change it to - gdb_caching_proc. Detect the broken ptrace on arm-linux. - -2016-08-30 Andreas Arnez - - * gdb.multi/tids.exp: Test "thread apply all". - -2016-08-29 Jan Kratochvil - - * gdb.base/default.exp (tty): Remove. - -2016-08-24 Kevin Buettner - - * gdb.python/py-recurse-unwind.c: New file. - * gdb.python/py-recurse-unwind.py: New file. - * gdb.python/py-recurse-unwind.exp: New file. - -2016-08-24 Simon Marchi - - * gdb.base/set-inferior-tty.exp: New file. - * gdb.base/set-inferior-tty.c: New file. - -2016-08-23 Pedro Alves - - PR gdb/20494 - * gdb.base/new-ui-echo.c: New file. - * gdb.base/new-ui-echo.exp: New file. - -2016-08-23 Yao Qi - - * gdb.server/connect-stopped-target.exp (do_test): Pass "" to - gdbserver_spawn. - * gdb.server/connect-without-multi-process.exp (do_test): - Likewise. - -2016-08-23 Yao Qi - - * gdb.base/signals-state-child.exp: Set variables gdb_txt and - standalone_txt. Delete gdb_txt and standalone_txt on host - and target. Spawn the binary on target. Copy files from - target to host. - -2016-08-22 Pedro Alves - - PR gdb/20505 - * gdb.base/vdso-warning.exp: Test core dumps too. Use - with_test_prefix. Factor out bits to ... - (test_no_vdso): ... this new procedure. - -2016-08-19 Carl Love - - * gdb.arch/altivec-regs.exp: Use standard_testfile instead of - maintaining separate logic for constructing the output path. - * gdb.arch/powerpc-d128-regs.exp: Likewise. - * gdb.arch/ppc-dfp.exp: Likewise. - * gdb.arch/ppc-fp.exp: Likewise. - * gdb.arch/vsx-regs.exp: Likewise. - * gdb.arch/altivec-abi.exp: Likewise, plus added local variable - binprefix for generating the additional binary files. - -2016-08-19 Pedro Alves - - * gdb.trace/mi-trace-frame-collected.exp - (test_trace_frame_collected): On x32, expect two registers. - -2016-08-18 Carl Love - - * gdb.arch/powerpc-power.s: Add new Power9 instruction tests - and sync up the test with tests in gas/testsuite/gas/ppc. - * gdb.arch/powerpc-power.exp: Likewise. - -2016-08-17 Simon Marchi - - * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix - expected error message. - -2016-08-17 Simon Marchi - - * gdb.multi/remove-inferiors.exp: New file. - * gdb.multi/remove-inferiors.c: New file. - -2016-08-12 Yao Qi - - * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's - argument list. - -2016-08-10 Pedro Alves - - PR gdb/19187 - * gdb.reverse/waitpid-reverse.exp: Add comment and remove - setup_kfails. - -2016-08-09 Pedro Alves - Simon Marchi - - PR gdb/20418 - * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files. - * lib/mi-support.exp (mi_expect_interrupt): Remove anchors. - -2016-08-09 Pedro Alves - - PR mi/20431 - * gdb.mi/mi-cmd-error.exp: New file. - -2016-08-09 Pedro Alves - - PR gdb/18653 - * gdb.base/signals-state-child.c: New file. - * gdb.base/signals-state-child.exp: New file. - * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern. - -2016-08-09 Pedro Alves - - * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file. - -2016-08-03 Tom Tromey - - PR python/18565: - * gdb.python/py-frame-inline.exp: Add Frame.function test. - -2016-08-01 Yao Qi - - * gdb.threads/process-dies-while-detaching.exp (do_test): Set - variable mode to "multi-process" if $multi_process is 1, otherwise - set it to "single-process". - -2016-08-01 Yao Qi - - * gdb.cp/anon-struct.exp: Check is_aarch32_target. - * gdb.cp/cpexprs.exp: Likewise. - * gdb.cp/m-static.exp: Likewise. - -2016-07-26 Tom Tromey - - PR python/20190: - * gdb.threads/tls.exp (check_thread_local): Add python symbol - test. - -2016-07-26 Markus Metzger - - * gdb.btrace/record_goto.exp: se is_amd64_regs_target for - selecting assembly source files. - * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting - assembly source files. - * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting - assembly source files. - * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for - selecting assembly source files. - -2016-07-25 Simon Marchi - - * gdb.base/new-ui.exp (do_test_invalid_args): New - procedure. - -2016-07-25 Tim Wiederhake - - * gdb.btrace/reconnect.c: New file. - * gdb.btrace/reconnect.exp: New file. - -2016-07-23 Gabriel Krisman Bertazi - - * gdb.base/catch-syscall.exp (do_syscall_tests): Add call - to test_catch_syscall_group. - (test_catch_syscall_group): New. - -2016-07-21 Tom Tromey - - * gdb.rust/simple.rs (main): Use empty struct expression. - * gdb.rust/simple.exp: Add tests for empty struct expression. - -2016-07-21 Yao Qi - - * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1 - if gdb_skip_xml_test is true on some targets. - -2016-07-21 Yao Qi - - * gdb.server/solib-list.exp: Unset last_loaded_file. - -2016-07-20 Jan Kratochvil - - * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and - "step into captured_main (args)". - -2016-07-20 Jan Kratochvil - - * gdb.btrace/tailcall-only.exp: Use is_lp64_target check. - -2016-07-20 Jan Kratochvil - - * gdb.python/py-unwind.exp: Test also ![is_lp64_target]. - -2016-07-19 Pedro Alves - - * gdb.opt/inline-break.exp: Remove optimize=-O2. - * gdb.opt/inline-bt.exp: Likewise. - * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add - additional_flags=-Winline. - * gdb.opt/inline-locals.exp: Likewise. - * gdb.opt/inline-markers.c (ATTR): Define. - (inlined_fn): Use it. - -2016-07-19 Yao Qi - - * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative. - (test_with_self): Remove some code. Remove argument executable. - (top-level): Use do_self_tests. - -2016-07-15 Zachary Welch - Don Breazeal - - * gdb.base/maint.exp: Escape paths used in regular expressions. - * gdb.stabs/weird.exp: Likewise. - -2016-07-13 Tom Tromey - - PR python/15620, PR python/18620: - * gdb.python/py-breakpoint.exp (connect_event, check_last_event) - (test_bkpt_events): New procs. - -2016-07-13 Tom Tromey - - PR python/17698: - * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending" - test. - (test_watchpoints): Likewise. - (test_bkpt_pending): New proc. - -2016-07-13 Tom Tromey - - PR cli/18053: - * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load - completion test. - -2016-07-13 Jan Kratochvil - - * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc. - * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label. - * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to - f_label. - (g): Rename g_end_lbl to g_label. - * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for - low_pc and high_pc. - * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise. - -2016-07-12 Tom Tromey - - PR python/19293: - * gdb.python/py-unwind-maint.exp: Update tests. - -2016-07-12 Yao Qi - - * lib/selftest-support.exp (selftest_setup): Match the output - when captured_main is inlined. - -2016-07-07 Walfred Tedeschi - - * gdb.fortran/derived-types.exp (result_line, result_line_2): - New variables. - (print this%a, print this%b, print this): New tests. - * gdb.fortran/derived-types.f90 (this): New object and - initialization. - -2016-07-06 Simon Marchi - - * gdb.ada/arraydim.exp: Remove extra directory level in build - directory. - -2016-07-06 Simon Marchi - - * lib/ada.exp: Remove extra directory level in build directory. - * gdb.ada/cond_lang.exp: Likewise. - * gdb.ada/exec_changed.exp: Likewise. - * gdb.ada/lang_switch.exp: Likewise. - -2016-07-06 Manish Goregaokar - - * simple.rs: Add test for raw pointer subscripting. - * simple.exp: Add test expectations. - -2016-07-05 Yao Qi - - * gdb.mi/mi-reverse.exp: Match =record-started output. - -2016-07-01 Pedro Alves - - * gdb.base/jit-reader.exp (info_registers_current_frame): New - procedure. - (jit_reader_test): Test the jit reader's unwinder. - * gdb.base/jithost.c (jit_function_00_code): New global. - (main): Use memcpy to fill in the mmapped code, instead of poking - bytes manually here. - * gdb.base/jitreader.c (enum register_mapping) : New - value. - (read_debug_info): Save the function's range. - (read_sp): New function. - (unwind_frame): Use it. Also unwind RBP. - (get_frame_id): Use read_sp. - (gdb_init_reader): Use calloc instead of malloc. - * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test' - parameter. Use gdb_test_multiple. - -2016-07-01 Pedro Alves - Antoine Tremblay - - * gdb.threads/process-dies-while-detaching.c: New file. - * gdb.threads/process-dies-while-detaching.exp: New file. - -2016-07-01 Pedro Alves - - * gdb.multi/watchpoint-multi-exit.c: New file. - * gdb.multi/watchpoint-multi-exit.exp: New file. - -2016-06-30 Pedro Alves - - * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't - unset inferior_spawn_id. - -2016-06-30 Pedro Alves - - * lib/mi-support.exp (default_mi_gdb_start): Declare global - FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY. - -2016-06-29 Yao Qi - - * gdb.base/return.c: Add copyright header. - -2016-06-29 Tom Tromey - - PR python/20129: - * gdb.python/py-framefilter.exp: Add tests for setting priority - and disabling of non-existent frame filter. - -2016-06-29 Yao Qi - - * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to - 0x0f07ff. - -2016-06-28 Yao Qi - - * gdb.base/catch-syscall.exp: Remove check on isnative and target - triplets. Start gdb, execute catch syscall, and continue. Check - gdb's output to determine catch syscall is supported. - -2016-06-27 Manish Goregaokar - - * gdb.rust/simple.rs: Add test for returning unit in a function. - * gdb.rust/simple.exp: Add expectation for functions returning - unit. - -2016-06-27 Pierre-Marie de Rodat - - * gdb.python/py-breakpoint-create-fail.c, - gdb.python/py-breakpoint-create-fail.exp, - gdb.python/py-breakpoint-create-fail.py: New testcase. - -2016-06-25 Manish Goregaokar - - PR gdb/20239 - * gdb.rust/simple.rs: Add more tests for printing NonZero enums. - * gdb.rust/simple.exp: Add test expectations for new NonZero - tests. - -2016-06-24 David Taylor - - * gdb.base/offsets.exp: New file. - * gdb.base/offsets.c: New file. - -2016-06-23 Tom Tromey - - PR gdb/16483: - * gdb.python/py-framefilter.exp: Add "info frame-filter" test - before any filters are loaded. - -2016-06-21 Walfred Tedeschi - - * gdb.fortran/derived-type.exp (print q): Add fields to the output. - * gdb.fortran/vla-type.exp (print twov): Fix vla tests with - structs. - * gdb.fortran/derived-type-function.exp: New file. - * gdb.fortran/derived-type-function.f90: New file. - - -2016-06-21 Pedro Alves - - * gdb.base/new-ui.exp: New file. - * lib/mi-support.exp (switch_gdb_spawn_id): Move to ... - * lib/gdb.exp (switch_gdb_spawn_id): ... here. - (with_spawn_id): New procedure. - -2016-06-21 Pedro Alves - - * gdb.mi/mi-exec-run.exp: New file. - -2016-06-21 Pedro Alves - - * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect - breakpoint command's output on the main UI. - (test_break): New procedure, factored out from calls in the top - level. - (top level): Use foreach_with_prefix to test MI as main UI and as - separate UI. - -2016-06-21 Pedro Alves - - * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing) - (test_awatch_creation_and_listing) - (test_rwatch_creation_and_listing, test_watchpoint_triggering): - Remove 'type' parameter. - (test_watchpoint_all): New parameter mi_mode. Remove - with_test_prefix. - (top level): Use foreach_with_prefix, and add main/separate UI MI - testing axis. - -2016-06-21 Pedro Alves - - * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY. - * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id. - * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset - gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id. - (gdb_main_spawn_id, mi_spawn_id): Declare and - comment. - (mi_create_inferior_pty): New procedure, - factored out from default_mi_gdb_start. - (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New - procedures. - (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the - separate-mi-tty option is specified, or SEPARATE_MI_TTY is set. - Use mi_create_inferior_pty. - (mi_gdb_start): Use eval to pass down args list. - -2016-06-21 Pedro Alves - - * gdb.opt/inline-cmds.c: Add "set mi break here" marker. - * gdb.opt/inline-cmds.exp: Add MI tests. - -2016-06-21 Pedro Alves - - * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp. - -2016-06-21 Pedro Alves - - * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure. - (top level): Use it instead of mi_execute_to. - -2016-06-21 Pedro Alves - - * gdb.python/py-mi-events-gdb.py (stop_handler_str) - (cont_handler_str): New. - (signal_stop_handler): Set stop_handler_str instead of printing to - stdout. - (continue_handler): Set cont_handler_str instead of printing to - stdout. - * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of - mi_send_resuming_command. Print stop_handler_str and - cont_handler_str instead of expecting the python events print - directly. - -2016-06-17 Sanjoy Das - - * gdb.base/jit-reader.exp: New file. - * gdb.base/jithost.c: New file. - * gdb.base/jithost.h: New file. - * gdb.base/jitreader.c : New file. - * gdb.base/jit-protocol.h: New file. - -2016-06-17 Yao Qi - - * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New - parameters follow_fork and detach_on_fork. Set follow-fork-mode - and detach-on-fork. Adjust tests. - (top level): Invoke break_cond_on_syscall with combinations of - syscall, follow-fork-mode and detach-on-fork. - -2016-06-17 Yao Qi - - * gdb.base/step-over-exit.c: New. - * gdb.base/step-over-exit.exp: New. - -2016-06-17 Yan-Ting Lin - - * gdb.base/float.exp: Add target check for nds32*-*-*. - * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*. - -2016-06-13 Andrew Burgess - - * gdb.base/call-ar-st.exp: Report unsupported rather than xfail - for unsupported target features. - * gdb.base/call-rt-st.exp: Likewise. - * gdb.base/call-sc.exp: Likewise. - * gdb.base/call-signal-resume.exp: Likewise. - * gdb.base/call-strs.exp: Likewise. - * gdb.base/callexit.exp: Likewise. - * gdb.base/callfuncs.exp: Likewise. - * gdb.base/nodebug.exp: Likewise. - * gdb.base/printcmds.exp: Likewise. - * gdb.base/ptype.exp: Likewise. - * gdb.base/structs.exp: Likewise. - * gdb.base/unwindonsignal.exp: Likewise. - * gdb.cp/gdb2495.exp: Likewise. - * gdb.cp/templates.exp: Likewise. - * gdb.cp/virtfunc.exp: Likewise. - * gdb.threads/hand-call-in-threads.exp: Likewise. - * gdb.threads/interrupted-hand-call.exp: Likewise. - * gdb.threads/thread-unwindonsignal.exp: Likewise. - -2016-06-10 Tom Tromey - - PR rust/20110: - * gdb.rust/expr.exp: Add test for integer constant larger than - i32. - -2016-06-10 Bernhard Heckel - - * gdb.fortran/nested-funcs.exp: New. - * gdb.fortran/nested-funcs.f90: New. - -2016-06-09 Toshihito Kikuchi - - * gdb.base/examine-backward.c: New file. - * gdb.base/examine-backward.exp: New file. - -2016-06-06 Simon Marchi - - * gdb.mi/mi-record-changed.exp: Adjust =record-started output - matching. - -2016-06-02 Tom Tromey - - PR python/18984: - * gdb.python/py-shared.exp: Add solib_name test. - -2016-06-02 Simon Marchi - - * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested. - -2016-05-31 Martin Galvan - - PR c++/19893 - * gdb.dwarf2/implref.exp: Rename to... - * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements. - * gdb.dwarf2/implref-array.c: New file. - * gdb.dwarf2/implref-array.exp: Likewise. - * gdb.dwarf2/implref-global.c: Likewise. - * gdb.dwarf2/implref-global.exp: Likewise. - * gdb.dwarf2/implref-struct.c: Likewise. - * gdb.dwarf2/implref-struct.exp: Likewise. - -2016-05-30 Antoine Tremblay - - * gdb.trace/trace-condition.exp: Add 64bit tests. - -2016-05-30 Antoine Tremblay - - * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64 - bits types. - (main): Adapt to 8 to 64 bits types. - * gdb.trace/trace-condition.exp: Add new tests. - -2016-05-30 Antoine Tremblay - - * gdb.trace/trace-condition.exp: Add emit_less_unsigned test. - -2016-05-30 Antoine Tremblay - - * gdb.trace/ftrace.exp (test_ftrace_condition): Remove. - Move condition tests... - * gdb.trace/trace-condition.exp: Here. - -2016-05-30 Antoine Tremblay - - * gdb.trace/trace-condition.exp: Add counter-case tests. - -2016-05-30 Jan Kratochvil - - PR c++/15231 - * gdb.ada/out_of_line_in_inlined.exp: Remove xfails. - * gdb.dwarf2/dw2-lexical-block-bare.exp: New file. - -2016-05-27 Pedro Alves - - * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu): - New procedure. - (top level): Call it, and bail out of DejaGnu is known to be bad. - -2016-05-27 Andrew Burgess - - * gdb.base/whatis.c: Extend the test case. - * gdb.base/whatis.exp: Add additional tests. - -2016-05-25 Bernhard Heckel - -* gdb.fortran/type.f90: Add pointer variable. -* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers. - -2016-05-25 Bernhard Heckel - - * gdb.fortran/vla-type.exp: Fix testcase name. - -2016-05-25 Bernhard Heckel - - * gdb.fortran/vla-type.exp: Access elements in nested structs. - -2016-05-25 Bernhard Heckel - - * gdb.fortran/type.f90: Add nested structures. - * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures. - * gdb.fortran/derived-type.exp: Adapt expected output. - * gdb.fortran/vla-type.exp: Adapt expected output. - -2016-05-25 Bernhard Heckel - - * gdb.fortran/whatis_type.exp: Adapt expected output. - -2016-05-25 Bernhard Heckel - - * gdb.fortran/print_type.exp: Fix expected output. - * gdb.fortran/whatis_type.exp: Fix expected output. - -2016-05-25 Bernhard Heckel - - * gdb.fortran/whatis_type.exp: Use multi_line. - -2016-05-24 Tom Tromey - - PR python/17386: - * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that - use value as an index. - -2016-05-23 Tom Tromey - - PR python/17981: - * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for - no-breakpoint case. - -2016-05-24 Pedro Alves - - PR gdb/19828 - * gdb.threads/clone-attach-detach.c: New file. - * gdb.threads/clone-attach-detach.exp: New file. - -2016-05-24 Francis Ricci (tiny patch) - - * gdb.base/annota-input-while-running.exp: Fix syntax error. - -2016-05-23 Tom Tromey - - PR python/19438, PR python/18393: - * gdb.python/py-progspace.exp: Add "dir" test. - * gdb.python/py-objfile.exp: Add "dir" test. - -2016-05-23 Yao Qi - - * gdb.arch/thumb-prologue.exp: Use standard_testfile. - * gdb.arch/thumb2-it.exp: Likewise. - -2016-05-18 Simon Marchi - - * gdb.mi/mi-threads-interrupt.c: New file. - * gdb.mi/mi-threads-interrupt.exp: New file. - -2016-05-17 Simon Marchi - - PR gdb/18077 - * gdb.mi/mi-async-run.exp: New file. - * gdb.mi/mi-async-run.c: New file. - -2016-05-17 Tom Tromey - Manish Goregaokar - - * lib/rust-support.exp: New file. - * lib/gdb.exp (skip_rust_tests): New proc. - (build_executable_from_specs): Handle rust. - * lib/future.exp (gdb_find_rustc): New proc. - (gdb_default_target_compile): Handle rust. - * gdb.rust/expr.exp: New file. - * gdb.rust/generics.exp: New file. - * gdb.rust/generics.rs: New file. - * gdb.rust/methods.exp: New file. - * gdb.rust/methods.rs: New file. - * gdb.rust/modules.exp: New file. - * gdb.rust/modules.rs: New file. - * gdb.rust/simple.exp: New file. - * gdb.rust/simple.rs: New file. - -2016-05-17 Tom Tromey - - * gdb.base/default.exp (set language): Add rust. - -2016-05-17 Tom Tromey - - * gdb.gdb/unittest.exp: New file. - -2016-05-16 Yao Qi - - * gdb.base/batch-preserve-term-settings.exp: Remove variable - shell_prompt. Update shell_prompt_re. - -2016-05-12 Doug Evans - - PR symtab/19999 - * lib/dwarf.exp (build_executable_from_fission_assembler): Pass - $options when building executable. - * gdb.dwarf2/fission-loclists-pie.S: New file. - * gdb.dwarf2/fission-loclists-pie.exp: New file. - -2016-05-04 Simon Marchi - - * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead - of [is_remote target], - -2016-05-04 Simon Marchi - - * lib/gdb.exp (use_gdb_stub): New procedure. - -2016-05-03 Yunlian Jiang - Doug Evans - - PR symtab/19914 - * gdb.dwarf2/dwp-sepdebug.c: New file. - * gdb.dwarf2/dwp-sepdebug.exp: New file. - -2016-05-02 Simon Marchi - - * gdb.base/detach.exp: Remove is_remote check. - -2016-05-02 Simon Marchi - - * gdb.base/annota-input-while-running.exp: Don't check for - [is_remote target]. Enable annotations after running to main. - Remove unused "set test..." line. - -2016-04-28 Simon Marchi - - * gdb.trace/trace-enable-disable.exp: New file. - * gdb.trace/trace-enable-disable.c: New file. - -2016-04-28 Simon Marchi - - * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result, - use it in info sharedlibrary test. - * gdb.trace/ftrace-lock.exp: Likewise. - * gdb.trace/ftrace.exp: Likewise. - * gdb.trace/range-stepping.exp: Likewise. - * gdb.trace/trace-break.exp: Likewise. - * gdb.trace/trace-condition.exp: Likewise. - * gdb.trace/trace-mt.exp: Likewise. - -2016-04-27 Simon Marchi - - * lib/gdb.exp (gdb_load_shlibs): Rename to... - (gdb_load_shlib): ... this. - * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs -> - gdb_load_shlib. - * gdb.base/catch-load.exp (one_catch_load_test): Likewise. - * gdb.base/ctxobj.exp: Likewise. - * gdb.base/dprintf-pending.exp: Likewise. - * gdb.base/dso2dso.exp: Likewise. - * gdb.base/fixsection.exp: Likewise. - * gdb.base/gcore-relro.exp: Likewise. - * gdb.base/gdb1555.exp: Likewise. - * gdb.base/global-var-nested-by-dso.exp: Likewise. - * gdb.base/gnu-ifunc.exp: Likewise. - * gdb.base/hbreak-in-shr-unsupported.exp: Likewise. - * gdb.base/jit-so.exp (one_jit_test): Likewise. - * gdb.base/pending.exp: Likewise. - * gdb.base/print-file-var.exp: Likewise. - * gdb.base/print-symbol-loading.exp: Likewise. - * gdb.base/shlib-call.exp: Likewise. - * gdb.base/shreloc.exp: Likewise. - * gdb.base/so-impl-ld.exp: Likewise. - * gdb.base/solib-disc.exp: Likewise. - * gdb.base/solib-nodir.exp: Likewise. - * gdb.base/solib-overlap.exp: Likewise. - * gdb.base/solib-symbol.exp: Likewise. - * gdb.base/solib-weak.exp (do_test): Likewise. - * gdb.base/sym-file.exp: Likewise. - * gdb.base/symtab-search-order.exp: Likewise. - * gdb.base/type-opaque.exp: Likewise. - * gdb.base/unload.exp: Likewise. - * gdb.base/watchpoint-solib.exp: Likewise. - * gdb.compile/compile.exp: Likewise. - * gdb.cp/gdb2384.exp: Likewise. - * gdb.cp/infcall-dlopen.exp: Likewise. - * gdb.cp/re-set-overloaded.exp: Likewise. - * gdb.fortran/library-module.exp: Likewise. - * gdb.opt/solib-intra-step.exp: Likewise. - * gdb.python/py-finish-breakpoint.exp: Likewise. - * gdb.python/py-shared.exp: Likewise. - * gdb.reverse/solib-precsave.exp: Likewise. - * gdb.reverse/solib-reverse.exp: Likewise. - * gdb.server/solib-list.exp: Likewise. - * gdb.threads/dlopen-libpthread.exp: Likewise. - * gdb.threads/tls-shared.exp: Likewise. - * gdb.threads/tls-so_extern.exp: Likewise. - * gdb.trace/change-loc.exp: Likewise. - * gdb.trace/ftrace-lock.exp: Likewise. - * gdb.trace/ftrace.exp: Likewise. - * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise. - * gdb.trace/pending.exp: Likewise. - * gdb.trace/range-stepping.exp: Likewise. - * gdb.trace/strace.exp (strace_remove_socket): Likewise. - (strace_info_marker): Likewise. - (strace_probe_marker): Likewise. - (strace_trace_on_same_addr): Likewise. - (strace_trace_on_diff_addr): Likewise. - * gdb.trace/trace-break.exp: Likewise. - * gdb.trace/trace-condition.exp: Likewise. - * gdb.trace/trace-mt.exp: Likewise. - -2016-04-27 Simon Marchi - - * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return - result of gdb_remote_download. - * gdb.base/ctxobj.exp: Split gdb_load_shlibs call. - * gdb.base/dso2dso.exp: Likewise. - * gdb.base/global-var-nested-by-dso.exp: Likewise. - * gdb.base/print-file-var.exp: Likewise. - * gdb.base/shlib-call.exp: Likewise. - * gdb.base/shreloc.exp: Likewise. - * gdb.base/solib-overlap.exp: Likewise. - * gdb.base/solib-weak.exp (do_test): Likewise. - * gdb.base/unload.exp: Likewise. - -2016-04-27 Yao Qi - - * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals - exists. - -2016-04-26 Bernhard Heckel - - * vla-type.exp: Print structure from toplevel. - -2016-04-26 Bernhard Heckel - - * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays - of dynamic types. - * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays - of dynamic types. - -2016-04-26 Bernhard Heckel - - * gdb.fortran/vla-type.f90: New file. - * gdb.fortran/vla-type.exp: New file. - -2016-04-25 Yao Qi - - * gdb.base/branch-to-self.c: New file. - * gdb.base/branch-to-self.exp: New file. - -2016-04-22 Yao Qi - - * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match - more after $hex. - -2016-04-22 Yao Qi - - * gdb.base/annota1.exp: Set breakpoint on line $main_line. - * gdb.base/annota3.exp: Likewise. - -2016-04-22 Yao Qi - - * gdb.reverse/step-precsave.exp: Do one step and test program - stops in "callee" and do multiple steps until program goes out - of "callee". - * gdb.reverse/step-reverse.exp: Likewise. - -2016-04-22 Yao Qi - - * gdb.trace/signal.exp: Also pass if - $tracepoint_hits($i) > $iterations. - -2016-04-22 Yao Qi - - * gdb.trace/signal.c: New file. - * gdb.trace/signal.exp: New file. - -2016-04-19 Doug Evans - - * gdb.base/bad-file.exp: New file. - -2016-04-18 Martin Galvan - - * gdb.dwarf2/implref.exp: New file. - -2016-04-18 Bernhard Heckel - - * gdb.fortran/common-block.exp: Use type naming defined in lib fortran. - * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran. - * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran. - * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran. - * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran. - * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran. - * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran. - * lib/fortran.exp (fortran_int4): New procedure. - (fortran_real4, fortran_real8, fortran_complex4): Likewise. - (fortran_logical4): Likewise. - -2016-04-18 Benrhard Heckel - - * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler. - -2016-04-18 Bernhard Heckel - - * lib/compiler.c: Add Intel specific preprocessor macros. - * lib/compiler.cc: Likewise. - -2016-04-13 Luis Machado - - * gdb.server/connect-with-no-symbol-file.c: New file. - * gdb.server/connect-with-no-symbol-file.exp: New file. - -2016-04-13 Simon Marchi - - * lib/gdb.exp (gdb_remote_download): Fix and extend comment. - -2016-04-13 Simon Marchi - - * boards/gdbserver-base.exp (${board}_download): Copy source file to - standard output directory. - -2016-04-13 Antoine Tremblay - - * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase. - -2016-04-13 Markus Metzger - - * gdb.btrace/instruction_history.c (loop): Add declaration. - -2016-04-12 Antoine Tremblay - - * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond". - -2016-04-09 Simon Marchi - - * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add - parentheses to print. - (continue_handler): Likewise. - -2016-04-08 Simon Marchi - - * gdb.server/solib-list.exp: Remove is_remote check. - Pass shlib= to gdb_compile. Don't link shared library with - -soname. Call gdb_remote_download instead of gdb_load_shlibs. - Run binary filename through "readlink -f" on the target. - -2016-04-08 Pedro Alves - - * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the - interpreter filename as argument to gdbserver_spawn. - * lib/gdbserver-support.exp (gdbserver_download_current_prog): - Return empty if $last_loaded_file does not exist. - -2016-04-08 Jan Kratochvil - - Fix compatibility with gcc-4.8.5-4.el7.x86_64. - * gdb.base/jit-main.c: Use exit after usage. - -2016-04-07 Jan Kratochvil - - * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and - GDBHISTSIZE prior to the tests. - * gdb.base/gdbinit-history.exp: Likewise. - -2016-04-07 Pedro Alves - - * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option - instead of build_executable. Use gdb_load_shlibs. - -2016-04-07 Yao Qi - - * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint. - Execute "si" command. - -2016-04-07 Yao Qi - - * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint - number instead of the comments on some line. - -2016-04-06 Don Breazeal - - * gdb.dwarf2/dw2-opt-structptr.c: New test program. - * gdb.dwarf2/dw2-opt-structptr.exp: New test script. - -2016-04-06 Simon Marchi - - * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using - standard_output_file. Remove unused binfile variable. - -2016-04-05 Catalin Udma - - * gdb.python/py-mi-objfile-gdb.py: Use "list main" command. - * gdb.python/py-mi-objfile.exp: Match "list main" output - in console format. - -2016-04-05 Simon Marchi - - * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of - absolute. - -2016-04-05 Simon Marchi - - * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of - absolute. - * gdb.trace/ftrace.exp: Likewise. - * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote - targets as well. - (gdb_compile_shlib): Set SONAME for non-remote targets as well. - (gdb_load_shlibs): Copy libraries to test directory when testing - natively. Only set solib-search-path if testing remotely. - * lib/mi-support.exp (mi_load_shlibs): Likewise. - -2016-04-05 Simon Marchi - - * gdb.base/jit-so.exp: Use gdb_remote_download instead of - gdb_download. Use it even if the target is not remote. - * gdb.base/jit.exp (compile_jit_test): Likewise. - * lib/gdb.exp (gdb_remote_download): Copy files to the standard - output directory if the destination board is local, otherwise use - the standard remote_download from DejaGnu. - (gdb_download): Remove. - (gdb_load_shlibs): Use gdb_remote_download instead of - gdb_download. - * lib/gdbserver-support.exp (gdbserver_download_current_prog): - Use gdb_remote_download instead of gdb_download. Use it even if - the target is not remote. - * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download - instead of gdb_download. - -2016-04-04 Simon Marchi - - * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix. - (test_insert_delete_modify): Call mi_load_shlibs before trying to - run. - -2016-04-01 Artemiy Volkov - - PR gdb/19820 - * gdb.base/printcmds.exp: Add artificial arrays tests. - -2016-03-31 Pedro Alves - - PR gdb/19858 - * gdb.base/jit-main.c: Include unistd.h. - (ATTACH): Define to 0 if not already defined. - (wait_for_gdb, mypid): New globals. - (WAIT_FOR_GDB): New macro. - (MAIN): Set an alarm. Store the process's pid. Wait for GDB at - some breakpoint locations. - * gdb.base/jit.exp (clean_reattach, continue_to_test_location): - New procedures. - (one_jit_test): Add REATTACH parameter, and handle it. Use - continue_to_test_location. - (top level): Test attach, and adjusts calls to one_jit_test. - -2016-03-31 Pedro Alves - - PR gdb/19858 - * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add - BINSUFFIX parameter, and handle it. - (top level): Adjust calls compile_jit_test. - -2016-03-31 Catalin Udma - - PR python/19743 - * gdb.python/py-mi-events-gdb.py: New file. - * gdb.python/py-mi-events.c: New file. - * gdb.python/py-mi-events.exp: New file. - -2016-03-30 Yao Qi - - * gdb.reverse/until-precsave.exp: Match function name only. - * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf. - Move malloc to a condition block. - * gdb.reverse/until-reverse.exp: Match function name only. - -2016-03-29 Marcin Kościelnicki - - * gdb.trace/ftrace.exp: Set arg0exp for s390. - * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390. - * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num - variable for GPR 0 instead of assuming it is register 0. - * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder. - * lib/trace-support.exp: Add s390 registers. - -2016-03-29 Yao Qi - - * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing. - -2016-03-24 Yao Qi - - * gdb.reverse/break-reverse.exp: Add quotation mark in the - test message. - -2016-03-17 Andreas Arnez - - * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of - maintaining separate logic for constructing the output path. - -2016-03-16 Don Breazeal - - * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks): - Retry fork and waitpid on interrupted system call errors. - * gdb.threads/forking-threads-plus-breakpoint.exp (do_test): - Use with_timeout_factor to increase timeout by factor of 10. - -2016-03-15 Don Breazeal - - * gdb.cp/scope-err.cc: New test program. - * gdb.cp/scope-err.exp: New test script. - * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple - lines and "set breakpoint here" comment. - * gdb.linespec/ls-errs.exp: Added C++ testing and new test case. - Fixed some whitespace and format issues. - * gdb.mi/mi-linespec-err-cp.cc: New test program. - * gdb.mi/mi-linespec-err-cp.exp: New test script. - -2016-03-15 Doug Evans - - * gdb.xml/extra-regs.xml: Add enum, mixed_flags values. - * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file. - All callers updated. Add tests for enums, mixed flags register. - -2016-03-15 Doug Evans - - * gdb.base/skip.c (main): Call test_skip_file_and_function. - * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function. - -2016-03-14 Simon Marchi - - * gdb.base/default.exp: Add $_as_string to the list of expected - convenience functions. - -2016-03-11 Andrew Burgess - - * gdb.base/maint.exp: New tests for 'maint info line-table'. - -2016-03-10 Simon Marchi - - * gdb.python/py-as-string.exp: New file. - * gdb.python/py-as-string.c: New file. - -2016-03-09 Pedro Alves - - * gdb.threads/attach-into-signal.exp: Adjust to "Program received - signal" -> "Thread NN received signal" output change. - * gdb.threads/ia64-sigill.exp: Likewise. - * gdb.threads/linux-dp.exp: Likewise. - * gdb.threads/manythreads.exp: Likewise. - * gdb.threads/pending-step.exp: Likewise. - * gdb.threads/print-threads.exp: Likewise. - * gdb.threads/sigstep-threads.exp: Likewise. - * gdb.threads/staticthreads.exp: Likewise. - * gdb.threads/tls.exp: Likewise. - -2016-03-09 Pedro Alves - - * gdb.base/command-line-input.exp: New file. - -2016-03-09 Marcin Kościelnicki - - * gdb.trace/ftrace.exp: Set arg0exp for ppc. - * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc. - * gdb.trace/pending.exp: Accept leading dot before function name. - * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc. - * lib/trace-support.exp: Set registers for ppc. - -2016-03-09 Marcin Kościelnicki - - * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and - use it for disassembly; accept .main in addition to main in backtrace. - -2016-03-09 Wei-cheng Wang - Marcin Kościelnicki - - * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef. - (gdb_recursion_test_ptr): New global variable. - (gdb_recursion_test): Call gdb_recursion_test_ptr instead of - gdb_recursion_test. - (gdb_c_test): Ditto. - -2016-03-09 Marcin Kościelnicki - - * gdb.trace/change-loc.exp: Don't depend on tracepoint location - ordering. - -2016-03-09 Marcin Kościelnicki - - * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label. - (bar): Add bar_start_lbl label. - * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead - of foo/bar for emitting DWARF and tracing. - -2016-03-06 Sergio Durigan Junior - - * analyze-racy-logs.py: Set executable bit. - -2016-03-05 Sergio Durigan Junior - - * Makefile.in (DEFAULT_RACY_ITER): New variable. - (CHECK_TARGET_TMP): Likewise. - (check-single-racy): New rule. - (check-parallel-racy): Likewise. - (TEST_TARGETS): Adjust rule to account for RACY_ITER. - (do-check-parallel-racy): New rule. - (check-racy/%.exp): Likewise. - * README (Racy testcases): New section. - * analyze-racy-logs.py: New file. - -2016-03-03 Doug Evans - - * gdb.base/skip.exp: Use with_test_prefix. - -2016-03-03 Yao Qi - - * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail. - Invoke step_over_syscall "clone" and break_cond_on_syscall - "clone". - * gdb.base/step-over-clone.c: New file. - -2016-03-03 Yao Qi - - * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix - code format. - -2016-03-03 Yao Qi - - * gdb.base/disp-step-fork.c: Rename to ... - * gdb.base/step-over-fork.c: ... it. New file. - * gdb.base/disp-step-vfork.c: Rename to ... - * gdb.base/step-over-vfork.c: ... it. New file. - * gdb.base/disp-step-syscall.exp: Rename to ... - * gdb.base/step-over-syscall.exp: ... it. New file. - (disp_step_cross_syscall): Rename to ... - (step_over_syscall): ... it. - -2016-03-03 Yao Qi - - * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New. - If target supports condition evaluation on target, invoke - break_cond_on_syscall for fork and vfork. - -2016-03-03 Yao Qi - - * gdb.base/disp-step-syscall.exp: Don't invoke - support_displaced_stepping. - (disp_step_cross_syscall): Test with displaced stepping off and - on if supported. - -2016-03-03 Yao Qi - - * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New - proc. - (setup): New proc. - (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall - and setup. - -2016-03-02 Bernhard Heckel - - * gdb.fortran/vla-history.exp: Remove breakpoint. - -2016-03-02 Bernhard Heckel - - * gdb.fortran/vla-history.exp: Lookup array elements and printing - exceeds timeout. - -2016-03-02 Bernhard Heckel - - * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an - breakpoint. - -2016-03-02 Bernhard Heckel - - * gdb.mi/vla.f90: Nullify pointer after declaration. - -2016-03-01 Pedro Alves - - * gdb.trace/ftrace-lock.c: Include . - -2016-03-01 Pedro Alves - - * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h" - before anything else. - * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define - _GNU_SOURCE here. - * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h" - before anything else. - * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE. - -2016-03-01 Pedro Alves - - * gdb.base/catch-fork-kill.c: Include . - -2016-03-01 Yao Qi - - * gdb.arch/arm-disp-step.exp: Use standard_testfile and - prepare_for_testing. - -2016-03-01 Yao Qi - - * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing. - -2016-03-01 Andreas Arnez - - * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of - manually constructing the output path. - -2016-03-01 Andreas Arnez - - * gdb.arch/s390-stackless.S: New. - * gdb.arch/s390-stackless.exp: New. - -2016-02-28 Iain Buclaw - - * gdb.dlang/circular.c: New file. - * gdb.dlang/circular.exp: New file. - -2016-02-26 Yao Qi - - * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New. - [__arm__] (ext_reg_mov, ext_reg_push_pop): New. - (testcases): Update. - -2016-02-26 Yao Qi - - * gdb.reverse/aarch64.c: Rename to ... - * gdb.reverse/insn-reverse.c: ... it. - * gdb.reverse/aarch64.exp: Rename to ... - * gdb.reverse/insn-reverse.exp: ... it. - -2016-02-26 Yao Qi - - * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h. - (testcase_ftype): New. - (testcases): New array. - (n_testcases): New. - (main): Call each element in testcases. - * gdb.reverse/aarch64.exp: Remove is_aarch64_target check. - (read_testcase): New. - Do the tests in a loop. - -2016-02-25 Yao Qi - - * gdb.base/branches.c: Remove. - -2016-02-25 Marcin Kościelnicki - - PR gdb/13808 - * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail. - -2016-02-25 Marcin Kościelnicki - - * gdb.trace/ftrace.exp: Remove unnecessary target check. - -2016-02-25 Marcin Kościelnicki - - * gdb.trace/entry-values.exp: Surround $call_insn with '\y', - change x86_64 call_insn to 'callq'. - -2016-02-24 Antoine Tremblay - - * gdb.trace/tfile-avx.c: Move to... - * gdb.trace/tracefile-pseudo-reg.c: Here. - * gdb.trace/tfile-avx.exp: Move to... - * gdb.trace/tracefile-pseudo-reg.exp: Here. - -2016-02-24 Gary Benson - - * gdb.base/attach-pie-noexec.exp: Do not expect an error - message on attach. - -2016-02-23 Doug Evans - - * gdb.base/skip.c (test_skip): New function. - (end_test_skip_file_and_function): New function. - (test_skip_file_and_function): New function. - * gdb.base/skip1.c (test_skip): New function. - (skip1_test_skip_file_and_function): New function. - * gdb.base/skip.exp: Add tests for new skip options. - * gdb.base/skip-solib.exp: Update expected output. - * gdb.perf/skip-command.cc: New file. - * gdb.perf/skip-command.exp: New file. - * gdb.perf/skip-command.py: New file. - -2016-02-22 Marcin Kościelnicki - - * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix - info registers pattern. - -2016-02-18 Iain Buclaw - - * lib/future.exp: Add D support. - (gdb_find_gdc): New proc. - (gdb_default_target_compile): Add D support. - -2016-02-18 Wei-cheng Wang - - * gdb.trace/tspeed.c (myclock): Return wallclock instead of - user+system time. - (trace_speed_test): Determine the iteration count for a time - between 15..30 seconds. - -2016-02-18 Walfred Tedeschi - - * gdb.arch/i386-mpx-sigsegv.c: New file. - * gdb.arch/i386-mpx-sigsegv.exp: New file. - * gdb.arch/i386-mpx-simple_segv.c: New file. - * gdb.arch/i386-mpx-simple_segv.exp: New file. - -2016-02-18 Yao Qi - - * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): - Don't call setup_kfail. - -2016-02-18 Yao Qi - - * gdb.threads/forking-threads-plus-breakpoint.exp (do_test): - Set "set breakpoint condition-evaluation" per $cond_bp_target. - -2016-02-16 Doug Evans - - * gdb.base/skip.c: Add copyright. Whitespace cleanup. - * gdb.base/skip1.c: Ditto. - * gdb.base/skip.exp: Whitespace cleanup. - -2016-02-16 Don Breazeal - - PR remote/19496 - * gdb.threads/forking-threads-plus-breakpoint.exp (do_test): - Remove kfail for PR remote/19496. - -2016-02-16 Simon Marchi - - * lib/gdb.exp (standard_temp_file): Return a path specific to - the runtest invocation. - -2016-02-16 Simon Marchi - - * gdb.trace/save-trace.exp: Change relative path to be in the - standard output directory. - -2016-02-15 Jan Kratochvil - - * gdb.arch/i386-prologue.c: Add missing prototypes. - -2016-02-15 Jan Kratochvil - - * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file. - * gdb.arch/i386-prologue.exp: Likewise. - * gdb.arch/i386-size.exp: Likewise. - -2016-02-15 Simon Marchi - - * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to - define object file path. - * gdb.btrace/gcore.exp: Use standard_output_file to define core - file path. - * lib/opencl.exp (gdb_compile_opencl_hostapp): Use - standard_output_file to define binfile. - -2016-02-14 Jan Kratochvil - - Fix compatibility with recent gfortran-5.3.1. - * gdb.fortran/vla-history.exp (print vla1 allocated) - (print vla2 allocated, print $2, print $3): Remove - (print $4): Rename to ... - (print $2): ... here. - (print $9): Rename to ... - (print $5): ... here. - (print $10): Rename to ... - (print $6): ... here. - * gdb.fortran/vla.f90: Add pvla initialization. - -2016-02-14 Jan Kratochvil - - * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024): - New test. - * gdb.fortran/vla-value-sub.exp: Likewise. - -2016-02-12 Marcin Kościelnicki - - * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15. - -2016-02-12 Simon Marchi - - * i386-biarch-core.exp: Define corefile using - standard_output_file. - -2016-02-12 Yao Qi - - * gdb.arch/arm-single-step-kernel-helper.c: New. - * gdb.arch/arm-single-step-kernel-helper.exp: New. - -2016-02-12 Markus Metzger - - * gdb.btrace/tailcall-only.exp: New. - * gdb.btrace/tailcall-only.c: New. - * gdb.btrace/x86_64-tailcall-only.S: New. - * gdb.btrace/i686-tailcall-only.S: New. - -2016-02-11 Pedro Alves - - * README (Parallel testing): Add missing double quotes. - -2016-02-11 Pedro Alves - - * README (Parallel testing): New section. - (GDB_PARALLEL): Rewrite. - (FORCE_PARALLEL): Document. - -2016-02-11 Marcin Kościelnicki - - * gdb.trace/tfile-avx.c: New test. - * gdb.trace/tfile-avx.exp: New test. - -2016-02-09 Keith Seitz - - PR breakpoints/19546 - * gdb.base/infcall-exec.c: New file. - * gdb.base/infcall-exec2.c: New file. - * gdb.base/infcall-exec.exp: New file. - -2016-02-09 Keith Seitz - - * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure. - (toplevel): Call test_bkpt_address. - -2016-02-09 Keith Seitz - - PR python/19506 - * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure. - (toplevel): Call test_bkpt_address. - -2016-02-09 Simon Marchi - - * configure.ac: Use AC_CONFIG_FILES instead of passing arguments - to AC_OUTPUT. - * configure: Regenerate. - -2016-02-09 Pedro Alves - - PR breakpoints/19548 - * gdb.base/execl-update-breakpoints.c (some_function): New - function. - (main): Call it. - * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint. - Tighten expected GDB output. - -2016-02-08 Simon Marchi - - * Makefile.in (ALL_SUBDIRS): Remove. - (clean mostlyclean): Do not recurse in ALL_SUBDIRS. - (distclean maintainer-clean realclean): Likewise. - * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile. - * configure: Regenerate. - * gdb.ada/Makefile.in: Delete. - * gdb.arch/Makefile.in: Likewise. - * gdb.asm/Makefile.in: Likewise. - * gdb.base/Makefile.in: Likewise. - * gdb.btrace/Makefile.in: Likewise. - * gdb.cell/Makefile.in: Likewise. - * gdb.compile/Makefile.in: Likewise. - * gdb.cp/Makefile.in: Likewise. - * gdb.disasm/Makefile.in: Likewise. - * gdb.dlang/Makefile.in: Likewise. - * gdb.dwarf2/Makefile.in: Likewise. - * gdb.fortran/Makefile.in: Likewise. - * gdb.gdb/Makefile.in: Likewise. - * gdb.go/Makefile.in: Likewise. - * gdb.guile/Makefile.in: Likewise. - * gdb.java/Makefile.in: Likewise. - * gdb.linespec/Makefile.in: Likewise. - * gdb.mi/Makefile.in: Likewise. - * gdb.modula2/Makefile.in: Likewise. - * gdb.multi/Makefile.in: Likewise. - * gdb.objc/Makefile.in: Likewise. - * gdb.opencl/Makefile.in: Likewise. - * gdb.opt/Makefile.in: Likewise. - * gdb.pascal/Makefile.in: Likewise. - * gdb.perf/Makefile.in: Likewise. - * gdb.python/Makefile.in: Likewise. - * gdb.reverse/Makefile.in: Likewise. - * gdb.server/Makefile.in: Likewise. - * gdb.stabs/Makefile.in: Likewise. - * gdb.threads/Makefile.in: Likewise. - * gdb.trace/Makefile.in: Likewise. - * gdb.xml/Makefile.in: Likewise. - * lib/gdb.exp (make_gdb_parallel_path): Add check for - GDB_PARALLEL. - (standard_output_file): Remove check for GDB_PARALLEL, always - return path in outputs/$subdir/$testname. - -2016-02-08 Simon Marchi - - * Makefile.in (abs_srcdir): Assign @abs_srcdir@. - (site.exp): Assign abs_srcdir to tcl's srcdir. - -2016-02-04 Yao Qi - - * gdb.base/foll-exec-mode.c: Include limits.h. - (main): Add parameters argc and argv. Get directory from - argv[0]. - * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in - compilation. - * gdb.base/foll-exec.c: Include limits.h. - (main): Add parameters argc and argv. - Get directory from argv[0]. - * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation. - Adjust tests on the number of lines as source code changed. - * gdb.base/foll-vfork-exit.c: Include limits.h. - (main): Add one line of statement before vfork. - * gdb.base/foll-vfork.c: Include limits.h and string.h. - (main): Add parameters argc and argv. Get directory from - argv[0]. - * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation. - (setup_gdb): Set tbreak to skip some source lines. - * gdb.multi/bkpt-multi-exec.c: Include limits.h. - (main): Add parameters argc and argv. Get directory from - argv[0]. - * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in - compilation. - * gdb.multi/multi-arch-exec.c: Include limits.h and string.h. - (main): Add parameters argc and argv. Get directory from - argv[0]. - * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in - compilation. - -2016-02-01 Doug Evans - - * gdb.base/skip.exp: Clean up multiple references to same test name. - -2016-02-01 Pedro Alves - - PR remote/19496 - * gdb.threads/forking-threads-plus-breakpoint.exp - (displaced_stepping_supported): New global. - (probe_displaced_stepping_support): New procedure. - (do_test): Add 'displaced' parameter, and use it. - (top level): Check for displaced stepping support. Add displaced - stepping on/off testing axis. - -2016-02-01 Andrew Burgess - - * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated - pointer. Don't perform further tests on the unassociated pointer - if the first test fails. - -2016-02-01 Andrew Burgess - - * gdb.base/max-value-size.c: New file. - * gdb.base/max-value-size.exp: New file. - * gdb.base/huge.exp: Disable max-value-size for this test. - -2016-01-28 Iain Buclaw - - * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite. - -2016-01-28 Yao Qi - - * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor. - -2016-01-25 Pedro Alves - - PR threads/19461 - * gdb.base/fork-running-state.c: New file. - * gdb.base/fork-running-state.exp: New file. - -2016-01-25 Pedro Alves - - PR gdb/19494 - * gdb.base/catch-fork-kill.c: New file. - * gdb.base/catch-fork-kill.exp: New file. - -2016-01-25 Pedro Alves - - * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix): - Delete, moved to lib/gdb.exp. - * gdb.threads/forking-threads-plus-breakpoint.exp - (foreach_with_prefix): Likewise. - * gdb.threads/process-dies-while-handling-bp.exp - (foreach_with_prefix): Likewise. - * lib/gdb.exp (foreach_with_prefix): New procedure. - -2016-01-25 Marcin Kościelnicki - - * gdb.trace/backtrace.exp: Bump stack collection fudge factor. - * gdb.trace/entry-values.exp: Bump stack collection fudge factor. - -2016-01-23 Marcin Kościelnicki - - * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big - endian targets. - -2016-01-22 Jan Kratochvil - Pedro Alves - - Fix testsuite compatibility with Guile. - * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread - number. - -2016-01-22 Jan Kratochvil - - Fix testsuite compatibility with Guile. - * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread. - (thread 1): New test for backtrace through signal handler. - -2016-01-22 Yao Qi - - PR testsuite/19491 - * gdb.base/multi-forks.c: Include - ../lib/unbuffer_output.c - (main): Call gdb_unbuffer_output. - -2016-01-21 Doug Evans - - * lib/ada.exp (gdb_compile_ada): Fix typo. - -2016-01-21 Joel Brobecker - - * gdb.base/break-fun-addr.exp: New file. - * gdb.base/break-fun-addr1.c: New file. - * gdb.base/break-fun-addr2.c: New file. - -2016-01-20 Simon Marchi - - * gdb.python/py-pp-maint.exp: Change/add enum flag tests. - * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex - enum flag values. - -2016-01-20 Andreas Arnez - - * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail - when GDB can not set the vector return value. Add more comments - for clarification. - -2016-01-20 Antoine Tremblay - - * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile - command. - -2016-01-19 Simon Marchi - - * Makefile.in (DO_RUNTEST): Add --status and update usages. - -2016-01-19 Simon Marchi - - * Makefile.in (check-single): Pass --status to runtest. - (check/%.exp): Likewise. - -2016-01-19 Simon Marchi - - * Makefile.in (check-parallel): Propagate return code from make - do-check-parallel. - -2016-01-19 Marcin Kościelnicki - - * gdb.trace/ftrace.exp: Fix expected message on continue. - * gdb.trace/pending.exp: Fix expected message on continue. - * gdb.trace/trace-break.exp: Fix expected message on continue. - -2016-01-18 Simon Marchi - - * lib/gdb.exp (gdb_test): Remove unused global references. - -2016-01-18 Pedro Alves - - * gdb.base/async-shell.exp: Adjust expected output. - * gdb.base/dprintf-non-stop.exp: Adjust expected output. - * gdb.base/siginfo-thread.exp: Adjust expected output. - * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output. - * gdb.java/jnpe.exp: Adjust expected output. - * gdb.threads/clone-new-thread-event.exp: Adjust expected output. - * gdb.threads/continue-pending-status.exp: Adjust expected output. - * gdb.threads/leader-exit.exp: Adjust expected output. - * gdb.threads/manythreads.exp: Adjust expected output. - * gdb.threads/pthreads.exp: Adjust expected output. - * gdb.threads/schedlock.exp: Adjust expected output. - * gdb.threads/siginfo-threads.exp: Adjust expected output. - * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust - expected output. - * gdb.threads/signal-delivered-right-thread.exp: Adjust expected - output. - * gdb.threads/sigthread.exp: Adjust expected output. - * gdb.threads/watchpoint-fork.exp: Adjust expected output. - -2016-01-18 Yao Qi - - * gdb.guile/scm-section-script.c: Replace @progbits with - %progbits. - * gdb.python/py-section-script.c: Likewise. - -2016-01-15 Pedro Alves - - * gdb.multi/tids.exp: Test star wildcard ranges. - -2016-01-15 Pedro Alves - - * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234" - command from "thread apply" invocation. - (thr_apply_info_thr_invalid): Default the expected output to the - input tid list. - (top level): Add tests that use convenience variables. Add tests - for "thread apply" with a valid TID list, but missing the command. - -2016-01-13 Pedro Alves - - * gdb.base/default.exp: Expect $_gthread as well. - * gdb.multi/tids.exp: Test $_gthread. - * gdb.threads/thread-specific.exp: Test $_gthread. - -2016-01-13 Pedro Alves - - * gdb.multi/tids.exp: Test "info threads -gid". - -2016-01-13 Pedro Alves - - * gdb.multi/tids.exp: Test InferiorThread.global_num and - Breakpoint.thread. - * gdb.python/py-infthread.exp: Test InferiorThread.global_num. - -2016-01-07 Pedro Alves - - * gdb.base/break.exp: Adjust to output changes. - * gdb.base/hbreak2.exp: Likewise. - * gdb.base/sepdebug.exp: Likewise. - * gdb.base/watch_thread_num.exp: Likewise. - * gdb.linespec/keywords.exp: Likewise. - * gdb.multi/info-threads.exp: Likewise. - * gdb.threads/thread-find.exp: Likewise. - * gdb.multi/tids.c: New file. - * gdb.multi/tids.exp: New file. - -2016-01-13 Pedro Alves - - * gdb.python/py-infthread.exp: Test InferiorThread.inferior. - -2016-01-13 Pedro Alves - - * gdb.base/default.exp: Expect $_inferior as well. - * gdb.multi/base.exp: Test $_inferior. - -2016-01-13 Pedro Alves - - PR breakpoints/19388 - * gdb.base/catch-signal-siginfo-cond.c: New file. - * gdb.base/catch-signal-siginfo-cond.exp: New file. - -2016-01-12 Josh Stone - Philippe Waroquiers - - * gdb.base/catch-syscall.c (do_execve): New variable. - (main): Conditionally trigger an execve. - * gdb.base/catch-syscall.exp: Enable testing for remote targets. - (test_catch_syscall_execve): New, check entry/return across execve. - (do_syscall_tests): Call test_catch_syscall_execve. - -2016-01-12 Pedro Alves - - * gdb.base/random-signal.exp (do_test): New procedure, with body - of testcase moved in. - -2016-01-11 Jan Kratochvil - Pedro Alves - - * gdb.base/funcargs.exp (finish from indirectly called function): - Reintroduce the case for 'First'. - -2016-01-11 Jan Kratochvil - Pedro Alves - - * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow) - (tcatch_vfork_then_child_follow_exec) - (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork - identification. - -2016-01-11 Jan Kratochvil - - * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements - and repeats to unlimited. - * gdb.python/py-value.exp: Likewise. - * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements - and repeats to unlimited. - -2016-01-08 Jan Kratochvil - - * gdb.multi/goodbye.c: Fix compilation warnings by adding return types - and reordering the functions. - * gdb.multi/hangout.c: Likewise. - * gdb.multi/hello.c: Likewise. - -2016-01-08 Simon Marchi - - * gdb.perf/lib/perftest/perftest.py: Change relative imports to - absolute. - (SingleStatisticTestResult.report): Use dict.keys instead of - dict.iterkeys. - -2016-01-06 Pedro Alves - - * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1. - -2016-01-04 Markus Metzger - - * gdb.btrace/dlopen.exp: New. - * gdb.btrace/dlopen.c: New. - * gdb.btrace/dlopen-dso.c: New. - -2015-12-25 Sandra Loosemore - - * lib/gdb.exp (gdb_test): Update comments to clarify that the - PATTERN argument is optional. - -2015-12-24 Joel Brobecker - - * lib/ada.exp (target_compile_ada_from_dir): New function. - (gdb_compile_ada): Reimplement avoiding the use of project files. - * gdb.ada/gnat_ada.gpr: Delete. - * gdb.ada/cond_lang.exp: Adjust test to make path before - filename optional. - * gdb.ada/small_reg_param.exp: Likewise. - -2015-12-22 Simon Marchi - - * gdb.base/foll-vork.exp: Remove HP-UX special case. - -2015-12-22 Thomas Preud'homme - - * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump - case. - -2015-12-21 Simon Marchi - - * gdb.base/break.exp: Remove dead code. - * gdb.base/sepdebug.exp: Likewise. - -2015-12-21 Simon Marchi - - * gdb.asm/asm-source.exp: Remove HP-UX references. - * gdb.base/annota1.exp: Likewise. - * gdb.base/annota3.exp: Likewise. - * gdb.base/attach.exp: Likewise. - * gdb.base/bigcore.exp: Likewise. - * gdb.base/break.exp: Likewise. - * gdb.base/call-ar-st.exp: Likewise. - * gdb.base/callfuncs.exp: Likewise. - * gdb.base/catch-fork-static.exp: Likewise. - * gdb.base/display.exp: Likewise. - * gdb.base/foll-exec-mode.exp: Likewise. - * gdb.base/foll-exec.exp: Likewise. - * gdb.base/foll-fork.exp: Likewise. - * gdb.base/foll-vfork.exp: Likewise. - * gdb.base/funcargs.exp: Likewise. - * gdb.base/hbreak2.exp: Likewise. - * gdb.base/inferior-died.exp: Likewise. - * gdb.base/interrupt.exp: Likewise. - * gdb.base/multi-forks.exp: Likewise. - * gdb.base/nodebug.exp: Likewise. - * gdb.base/sepdebug.exp: Likewise. - * gdb.base/solib1.c: Likewise. - * gdb.base/step-test.exp: Likewise. - * gdb.mi/non-stop.c: Likewise. - * gdb.mi/pthreads.c: Likewise. - * gdb.multi/bkpt-multi-exec.ex: Likewise. - * gdb.threads/pthreads.c: Likewise. - * gdb.threads/staticthreads.exp: Likewise. - * lib/future.exp: Likewise. - * lib/gdb.exp: Likewise. - * gdb.base/so-indr-cl.c: Remove. - * gdb.base/so-indr-cl.exp: Likewise. - * gdb.base/solib.c: Likewise. - * gdb.base/solib.exp: Likewise. - * gdb.base/solib2.c: Likewise. - -2015-12-21 Simon Marchi - - * gdb.base/break.exp: Remove references to HP CC/aCC compilers. - * gdb.base/call-ar-st.exp: Likewise. - * gdb.base/callfuncs.exp: Likewise. - * gdb.base/condbreak.exp: Likewise. - * gdb.base/constvars.exp: Likewise. - * gdb.base/hbreak2.exp: Likewise. - * gdb.base/langs.exp: Likewise. - * gdb.base/list.exp: Likewise. - * gdb.base/long_long.exp: Likewise. - * gdb.base/ptype.exp: Likewise. - * gdb.base/scope.exp: Likewise. - * gdb.base/signals.exp: Likewise. - * gdb.base/so-impl-ld.exp: Likewise. - * gdb.base/varargs.exp: Likewise. - * gdb.base/volatile.exp: Likewise. - * gdb.base/whatis.exp: Likewise. - * gdb.cp/cplusfuncs.exp: Likewise. - * gdb.cp/inherit.exp: Likewise. - * gdb.cp/local.exp: Likewise. - * gdb.cp/member-ptr.exp: Likewise. - * gdb.cp/method.exp: Likewise. - * gdb.cp/overload.exp: Likewise. - * gdb.cp/templates.exp: Likewise. - * gdb.stabs/weird.exp: Likewise. - * lib/compiler.c: Likewise. - * lib/compiler.cc: Likewise. - * lib/cp-support.exp: Likewise. - * lib/gdb.exp: Likewise. - -2015-12-20 Simon Marchi - - * configure.ac: Remove HP-UX case. - * configure: Regenerate. - -2015-12-18 Simon Marchi - - * lib/gdb.exp (gdb_compile): Add function doc. - -2015-12-17 Pedro Alves - - PR threads/19354 - * gdb.multi/info-threads.exp: New file. - -2015-12-15 Yao Qi - - * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target - is aarch64*-*-*. - -2015-12-14 Sandra Loosemore - - * gdb.base/history-duplicates.exp: Skip if no readline support. - -2015-12-14 Sandra Loosemore - - * gdb.base/gdbinit-history.exp: Skip for remote-host testing. - -2015-12-14 Sandra Loosemore - - * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing. - -2015-12-14 Sandra Loosemore - - * gdb.base/completion.exp: Skip tests that interrupt GDB with - ctrl-C if nointerrupts target property is set. - * gdb.base/double-prompt-target-event-error.exp: Likewise. - * gdb.base/paginate-after-ctrl-c-running.exp: Likewise. - * gdb.base/paginate-bg-execution.exp: Likewise. - * gdb.base/paginate-execution-startup.exp: Likewise. - * gdb.base/random-signal.exp: Likewise. - * gdb.base/range-stepping.exp: Likewise. - * gdb.cp/annota2.exp: Likewise. - * gdb.cp/annota3.exp: Likewise. - * gdb.gdb/selftest.exp: Likewise. - * gdb.threads/continue-pending-status.exp: Likewise. - * gdb.threads/leader-exit.exp: Likewise. - * gdb.threads/manythreads.exp: Likewise. - * gdb.threads/pthreads.exp: Likewise. - * gdb.threads/schedlock.exp: Likewise. - * gdb.threads/sigthread.exp: Likewise. - -2015-12-11 Don Breazeal - - * gdb.base/execl-update-breakpoints.exp (main): Enable for target - remote. - * gdb.base/foll-exec-mode.exp (main): Disable for target remote. - * gdb.base/foll-exec.exp (main): Enable for target remote. - * gdb.base/foll-fork.exp (main): Likewise. - * gdb.base/foll-vfork.exp (main): Likewise. - * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart. - (proc continue_to_exit_bp_loc): Use clean_restart. - * gdb.base/pie-execl.exp (main): Disable for target remote. - * gdb.base/watch-vfork.exp (main): Enable for target remote. - * gdb.mi/mi-nsthrexec.exp (main): Likewise. - * gdb.threads/execl.exp (main): Likewise. - * gdb.threads/fork-child-threads.exp (main): Likewise. - * gdb.threads/fork-plus-threads.exp (main): Disable for target - remote. - * gdb.threads/fork-thread-pending.exp (main): Enable for target - remote. - * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow - pid.tid style ptids, instead of just tid. - * gdb.threads/thread-execl.exp (main): Enable for target remote. - * gdb.threads/watchpoint-fork.exp (main): Likewise. - * gdb.trace/report.exp (use_collected_data): Allow pid.tid style - ptids, instead of just tid. - -2015-12-11 Andrew Burgess - - * gdb.base/list.exp (test_list_forward): Add end of file error - test. - (test_repeat_list_command): Add end of file error test. - (test_list_backwards): Add beginning of file error test. - -2015-12-11 Andrew Burgess - - * gdb.base/list.exp (test_list_invalid_args): New function, - defined, and called. - -2015-12-11 Andrew Burgess - - * gdb.base/list.exp (test_list): Make test names unique. - -2015-12-11 Yao Qi - - * gdb.base/coremaker2.c: Remove. - -2015-12-10 Pedro Alves - - * gdb.multi/base.exp: Remove stale "spaces" references. - -2015-12-10 Pedro Alves - - * gdb.multi/base.exp: Don't use nowarnings. - * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings. - * gdb.multi/hangout.c: Include stdio.h. - * gdb.multi/hello.c: Include stdlib.h. - * gdb.multi/multi-arch-exec.c: Include stdlib.h. - * gdb.multi/multi-arch-exec.exp: Don't use nowarnings. - * gdb.multi/multi-arch.exp: Don't use nowarnings. - -2015-12-10 Andrew Burgess - - * gdb.dwarf2/dw2-ranges-base.c: New file. - * gdb.dwarf2/dw2-ranges-base.exp: New file. - * lib/dwarf.exp (namespace eval Dwarf): Add new variables to - support additional line table, and debug ranges generation. - (Dwarf::ranges): New function, generate .debug_ranges. - (Dwarf::lines): Support generating simple line table programs. - (Dwarf::assemble): Initialise new namespace variables. - -2015-12-09 Kevin Buettner - - * gdb.base/async.exp (proc test_background): Add case for - asynchronous execution not supported. - -2015-12-09 Luis Machado - - * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal - format and change test names to make them unique. - -2015-12-09 Ruslan Kabatsayev - Pedro Alves - - PR gdb/18702 - Add checking of floatformats setup on x86_64 hosts. - * gdb.arch/i386-float.S (main): Load bigval and smallval. - (smallval, bigval): New labels/constants. - * gdb.arch/i386-float.exp: Use with_test_prefix and test "info - float" after loading bigval and smallval. - -2015-12-07 Pierre-Marie de Rodat - - * gdb.ada/fun_overload_menu.exp: New testcase. - * gdb.ada/fun_overload_menu/foo.adb: New testcase. - -2015-12-04 Josh Stone - - * gdb.base/catch-fork-static.exp: New. - -2015-12-03 Yao Qi - - * gdb.base/sizeof.c: Don't include stdio.h and - ../lib/unbuffer_output.c. - (main): New variable 'size' and 'value'. Remove printf and - gdb_unbuffer_output. Assign return value to size and value. - * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio - at the beginning. - (check_sizeof): Check the result by printing variable 'size'. - (check_valueof): Check the result by printing variable 'value'. - -2015-12-01 Yao Qi - - * gdb.base/disp-step-syscall.exp: Define syscall instruction - for aarch64*-*-linux* target. - -2015-11-30 Pedro Alves - - * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls. - -2015-11-30 Pedro Alves - - * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count): - Handle non-stop mode vCont replies. - -2015-11-30 Pedro Alves - - * gdb.base/dprintf-non-stop.exp: Use build_executable instead of - prepare_for_testing. Start gdb with "set non-stop on" appended to - GDBFLAGS. Lax expected stop output. - -2015-11-27 Yao Qi - - * gdb.arch/arm-neon.exp: New. - * gdb.arch/arm-neon.c: New. - -2015-11-27 Yao Qi - - * gdb.cp/annota2.exp: Rewrite the pattern using multi_line. - -2015-11-27 Yao Qi - - * gdb.cp/annota2.exp: Allow multiple occurrences of the - frames-invalid annotation. - -2015-11-27 Yao Qi - - * gdb.cp/annota2.exp: Use ${frames_invalid}. - -2015-11-26 Simon Marchi - - * gdb.threads/names.exp: New file. - * gdb.threads/names.c: New file. - * README: Mention gdb,no_thread_names. - -2015-11-26 Markus Metzger - - PR 19297 - * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not - support" error. - -2015-11-24 Pedro Alves - - PR 17539 - * gdb.base/display.exp: Expect displays to be sorted in ascending - order. Use multi_line. - * gdb.base/solib-display.exp: Likewise. - -2015-11-24 Pedro Alves - - PR 17539 - * gdb.base/display.exp: Expect displays to be sorted in ascending - order. Use multi_line. - * gdb.base/solib-display.exp: Likewise. - -2015-11-24 Pedro Alves - - PR 17539 - * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and - threads in ascending order. - * gdb.base/foll-fork.exp: Likewise. - * gdb.base/foll-vfork.exp: Likewise. - * gdb.base/multi-forks.exp: Likewise. - * gdb.mi/mi-nonstop.exp: Likewise. - * gdb.mi/mi-nsintrall.exp: Likewise. - * gdb.multi/base.exp: Likewise. - * gdb.multi/multi-arch.exp: Likewise. - * gdb.python/py-inferior.exp: Likewise. - * gdb.threads/break-while-running.exp: Likewise. - * gdb.threads/execl.exp: Likewise. - * gdb.threads/gcore-thread.exp: Likewise. - * gdb.threads/info-threads-cur-sal.exp: Likewise. - * gdb.threads/kill.exp: Likewise. - * gdb.threads/linux-dp.exp: Likewise. - * gdb.threads/multiple-step-overs.exp: Likewise. - * gdb.threads/next-bp-other-thread.exp: Likewise. - * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise. - * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise. - * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise. - * gdb.threads/thread-find.exp: Likewise. - * gdb.threads/tls.exp: Likewise. - * lib/mi-support.exp (mi_reverse_list): Delete. - (mi_check_thread_states): No longer reverse list. - -2015-11-24 Pedro Alves - - * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently - use lowercase. - -2015-11-23 Simon Marchi - - * gdb.trace/actions.c: Include trace-common.h. - (main): Add a location for a fast tracepoint. - * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to - the normal tracepoints. - (gdb_verify_tracepoints): Adjust number of expected tracepoints. - -2015-11-23 Simon Marchi - - * save-trace.exp: Factor out code to these... - (gdb_save_tracepoints): New. - (gdb_load_tracepoints): New. - (do_save_load_test): New. - -2015-11-23 Kevin Buettner - - * gdb.base/asmlabel.exp: New test. - * gdb.base/asmlabel.c: New test case. - -2015-11-23 Joel Brobecker - - * gdb.base/wrong_frame_bt_full-main.c: New file. - * gdb.base/wrong_frame_bt_full-opaque.c: New file. - * gdb.base/wrong_frame_bt_full.exp: New file. - -2015-11-23 Joel Brobecker - - * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test. - -2015-11-20 Jose E. Marchesi - - * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the - pstate register when comparing registers values in - sparc64-*-linux-gnu targets to avoid spurious differences. - -2015-11-20 Jose E. Marchesi - - * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid. - -2015-11-19 Sandra Loosemore - - * gdb.base/nested-subp1.exp: Pass executable, not executable name, - as type argument to gdb_compile. - * gdb.base/nested-subp2.exp: Likewise. - * gdb.base/nested-subp3.exp: Likewise. - -2015-11-17 Dominik Vogt - - * lib/dwarf.exp (_note): Fix left shift of negative value. - * gdb.trace/trace-condition.exp: Likewise. - -2015-11-13 Yao Qi - - * gdb.base/call-sc.exp (test_scalar_returns): Remove the - comments about d10v. - (test_scalar_returns): Likewise. - * gdb.base/d10v.ld: Remove. - * gdb.base/overlays.exp: Remove the target triplet checking for - d10v-*-*. - * gdb.base/structs.exp (test_struct_returns): Remove the - comments about d10v. - (test_struct_calls): Likewise. - -2015-11-13 Yao Qi - - * gdb.base/gnu_vector.exp: Check the return value by "p res". - * gdb.base/gnu_vector.c: Don't include stdio.h. - (main): Don't print res and call add_some_intvecs. - -2015-11-11 Marcin Kościelnicki - - * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL - macro. - (func5): Removed. - (func4): Use FAST_TRACEPOINT_LABEL. - * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL - macro. - (func): Removed. - (thread_function): Use FAST_TRACEPOINT_LABEL. - * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro. - (func): Remove. - (marker): Use FAST_TRACEPOINT_LABEL. - * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro. - (pendfunc1): Remove. - (pendfunc): Use FAST_TRACEPOINT_LABEL. - * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro. - (foo): Remove. - (pendfunc2): Use FAST_TRACEPOINT_LABEL. - * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL - macro. - (func): Remove. - (marker): Use FAST_TRACEPOINT_LABEL. - * gdb.trace/trace-common.h: New header. - * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL - macro. - (func): Remove. - (marker): Use FAST_TRACEPOINT_LABEL. - * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro. - (func): Remove. - (thread_function): Use FAST_TRACEPOINT_LABEL. - -2015-11-10 Marcin Kościelnicki - - * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $ - in front. - * gdb.trace/change-loc.exp: Use global pcreg definition. - * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition. - * gdb.trace/entry-values.exp: Use global spreg definition, add $ - in front. - * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition. - * gdb.trace/pending.exp: Likewise. - * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition. - * gdb.trace/trace-break.exp: Likewise. - * gdb.trace/trace-condition.exp: Use global pcreg definition, add $ - in front. - * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition. - * gdb.trace/while-dyn.exp: Use global fpreg definition, add $ - in front. - * lib/trace-support.exp: Define fpreg, spreg, pcreg variables. - -2015-11-09 Joel Brobecker - - * gdb.ada/fin_fun_out: New testcase. - -2015-11-07 Kevin Buettner - - * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode - value associated with DW_AT_byte_size. - * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode - constants for DW_AT_byte_size, DW_AT_lower_bound, and - DW_AT_upper_bound. - -2015-11-07 Kevin Buettner - - * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc. - (gdb_target_symbol_prefix_flags): Define in terms of _asm - version. - * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp, - gdb.dwarf2/dw2-canonicalize-type.exp, - gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp, - gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp, - gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags - provided by gdb_target_symbol_prefix_flags_asm. - * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S, - testsuite/gdb.dwarf2/dw2-minsym-in-cu.S, - testsuite/gdb.dwarf2/dw2-unresolved-main.c, - testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S, - gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting - macros where needed). Use this macro for symbols which require - the prefix provided by SYMBOL_PREFIX. - -2015-11-05 Kevin Buettner - - * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol): - New procs. - * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values, - representing expressions, of more than one list element. - * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol - to prepend linker symbol prefix to f. - * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for - table_1 and table_2. - * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble): - Likewise, for f and g. - * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise, - for ptr. - * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise, - for main. - * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for - table_1_ptr and table_2_ptr. - -2015-11-03 Jan Kratochvil - Joel Brobecker - - * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data. - -2015-11-04 Marcin Kościelnicki - - * gdb.reverse/s390-mvcle.c: New test. - * gdb.reverse/s390-mvcle.exp: New file. - * lib/gdb.exp: Enable reverse tests on s390*-linux. - -2015-11-02 Marcin Kościelnicki - - * gdb.reverse/readv-reverse.exp: Obvious typo fixed. - -2015-11-02 Marcin Kościelnicki - - * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after - reaching marker2. - * gdb.reverse/getresuid-reverse.exp: Likewise. - * gdb.reverse/pipe-reverse.exp: Likewise. - * gdb.reverse/readv-reverse.exp: Likewise. - * gdb.reverse/recvmsg-reverse.exp: Likewise. - * gdb.reverse/time-reverse.exp: Likewise. - * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs. - -2015-10-30 Yao Qi - - * gdb.threads/wp-replication.c (watch_count_done): Remove. - (empty_cycle): Remove. - (main): Don't call empty_cycle. Don't use watch_count_done. - * gdb.threads/wp-replication.exp: Don't set breakpoint on - empty_cycle. Rewrite the code counting HW watchpoints. - -2015-10-30 Marcin Kościelnicki - - * gdb.reverse/fstatat-reverse.c: New test. - * gdb.reverse/fstatat-reverse.exp: New file. - * gdb.reverse/getresuid-reverse.c: New test. - * gdb.reverse/getresuid-reverse.exp: New file. - * gdb.reverse/pipe-reverse.c: New test. - * gdb.reverse/pipe-reverse.exp: New file. - * gdb.reverse/readv-reverse.c: New test. - * gdb.reverse/readv-reverse.exp: New file. - * gdb.reverse/recvmsg-reverse.c: New test. - * gdb.reverse/recvmsg-reverse.exp: New file. - * gdb.reverse/time-reverse.c: New test. - * gdb.reverse/time-reverse.exp: New file. - * gdb.reverse/waitpid-reverse.c: New test. - * gdb.reverse/waitpid-reverse.exp: New file. - -2015-10-27 Jan Kratochvil - - * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile. - -2015-10-26 Doug Evans - - PR symtab/17391 - * lib/dwarf.exp (_location): Add support for DW_OP_regx. - * gdb.dwarf2/bad-regnum.c: New file. - * gdb.dwarf2/bad-regnum.exp: New file. - -2015-10-26 Doug Evans - - PR python/18938 - * gdb.python/python.exp: Add test for symlink from .py file to .notpy - file. - -2015-10-25 Jan Kratochvil - - * gdb.compile/compile.exp (compile code globalvar): Update expectation - for a change by "Mention language in compile error message". - -2015-10-21 Simon Marchi - - PR python/18073 - * gdb.python/py-type.c (C::a_method): New. - (C::a_const_method): New. - (C::a_static_method): New. - (a_function): New. - * gdb.python/py-type.exp (test_fields): Test getting fields - from function and method. - -2015-10-21 Keven Boell - - * gdb.fortran/vla-alloc-assoc.exp: New file. - * gdb.fortran/vla-datatypes.exp: New file. - * gdb.fortran/vla-datatypes.f90: New file. - * gdb.fortran/vla-history.exp: New file. - * gdb.fortran/vla-ptype-sub.exp: New file. - * gdb.fortran/vla-ptype.exp: New file. - * gdb.fortran/vla-sizeof.exp: New file. - * gdb.fortran/vla-sub.f90: New file. - * gdb.fortran/vla-value-sub-arbitrary.exp: New file. - * gdb.fortran/vla-value-sub-finish.exp: New file. - * gdb.fortran/vla-value-sub.exp: New file. - * gdb.fortran/vla-value.exp: New file. - * gdb.fortran/vla-ptr-info.exp: New file. - * gdb.mi/mi-vla-fortran.exp: New file. - * gdb.mi/vla.f90: New file. - -2015-10-21 Sandra Loosemore - - * gdb.base/freebpcmd.exp: Use with_timeout_factor instead - of hardwired timeout value. - -2015-10-20 Jan Kratochvil - Pedro Alves - - * gdb.dwarf2/dw2-regno-invalid.exp: New file. - * lib/dwarf.exp (Dwarf): Add DW_OP_bregx. - -2015-10-19 Josh Stone - - * gdb.base/catch-syscall.c: Include . - (unknown_syscall): New variable. - (main): Trigger a vfork and an unknown syscall. - * gdb.base/catch-syscall.exp (vfork_syscalls): New variable. - (unknown_syscall_number): Likewise. - (check_call_to_syscall): Accept an optional syscall pattern. - (check_return_from_syscall): Likewise. - (check_continue): Likewise. - (test_catch_syscall_without_args): Check for vfork and ENOSYS. - (test_catch_syscall_skipping_return): New test toggling off 'catch - syscall' to step over the syscall return, then toggling back on. - (test_catch_syscall_mid_vfork): New test turning on 'catch syscall' - during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall. - (do_syscall_tests): Call test_catch_syscall_without_args and - test_catch_syscall_mid_vfork. - (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS. - (fill_all_syscalls_numbers): Initialize unknown_syscall_number. - -2015-10-19 Andrew Stubbs - - * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD, - print g_vE): Add new pass patterns. - * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to - print various symbol names for vptr fields. - -2015-10-12 Andrew Burgess - - * gdb.base/dbx.exp (test_func): Remove xfails, update expected - results. - -2015-10-12 Yao Qi - - * gdb.arch/disp-step-insn-reloc.exp: New test case. - -2015-10-12 Yao Qi - - * lib/gdb.exp (support_displaced_stepping): Return 1 if target - is aarch64*-*-linux*. - -2015-10-12 Yao Qi - - * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ... - (can_relocate_bcond_true): ... it. - (can_relocate_bcond_false): New function. - (foo): Likewise. - (can_relocate_bl): Likewise. - (testcases) [__aarch64__]: Add can_relocate_bcond_false and - can_relocate_bl. - -2015-10-12 Pierre-Marie de Rodat - - * gdb.base/nested-addr.c: New file. - * gdb.base/nested-addr.exp: New testcase. - -2015-10-09 Markus Metzger - - * gdb.btrace/vdso.c (main): Remove breakpoint markers. - * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore - its output. Ignore the output of "record goto begin" and instead - check that GDB is replaying. - -2015-10-09 Pedro Alves - - * gdb.base/a2-run.exp (maybe_exp_continue): New procedure. - (top level): Use it in the run with no args test. - -2015-10-08 Iain Buclaw - - * gdb.dlang/properties.exp: New file. - -2015-10-02 Sandra Loosemore - - * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match - whether or not address 0x1000 is mapped on the target. - -2015-09-30 Simon Marchi - - * gdb.python/py-type.exp: Do not run tests if binaries fail to - build. - -2015-09-30 Markus Metzger - - * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record - instruction-history test. - -2015-09-28 Doug Evans - - * gdb.base/gcore.c (array_func): Add reference to static_array. - -2015-09-25 Simon Marchi - - * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected - source line. - -2015-09-24 Sandra Loosemore - - * gdb.cp/classes.exp (test_enums): Generalize regexp to allow - short or char as base type. - -2015-09-23 Sandra Loosemore - - * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying - to allow any size enum. - -2015-09-23 Pierre-Marie de Rodat - - * gdb.ada/array_ptr_renaming.exp: New testcase. - * gdb.ada/array_ptr_renaming/foo.adb: New file. - * gdb.ada/array_ptr_renaming/pack.ads: New file. - -2015-09-21 Pierre Langlois - - * gdb.trace/ftrace-lock.c: New file. - * gdb.trace/ftrace-lock.exp: New file. - -2015-09-21 Pierre Langlois - - * gdb.arch/insn-reloc.c: New file. - * gdb.arch/ftrace-insn-reloc.exp: New file. - -2015-09-21 Pierre Langlois - - * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop - instruction. - * gdb.trace/pendshr1.c (pendfunc): Likewise. - * gdb.trace/pendshr2.c (pendfunc2): Likewise. - * gdb.trace/range-stepping.c: Likewise. - * gdb.trace/trace-break.c: Likewise. - * gdb.trace/trace-mt.c (thread_function): Likewise. - * gdb.trace/ftrace.c (marker): Likewise. - * gdb.trace/trace-condition.c (marker): Likewise. - * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target. - * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if - is_aarch64_target. - -2015-09-18 Doug Evans - - * gdb.dwarf2/dw2-bad-unresolved.c: New file. - * gdb.dwarf2/dw2-bad-unresolved.exp: New file. - -2015-09-18 Sandra Loosemore - - * gdb.base/dso2dso.exp: Don't use directory prefix when setting - the breakpoint. - -2015-09-18 Sandra Loosemore - - * gdb.mi/mi-pending.exp: Don't use directory prefix when setting - the pending breakpoint. Remove timeout override for "Run till - MI pending breakpoint on pendfunc3 on thread 2" test. - -2015-09-18 Sandra Loosemore - - * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint - filename pattern. - -2015-09-18 Sandra Loosemore - - * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix - in breakpoint filename pattern. - -2015-09-18 Sandra Loosemore - - * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs. - -2015-09-18 Sandra Loosemore - - * gdb.linespec/explicit.exp: Check for readline support for - tab-completion tests. Fix obvious typo. - -2015-09-18 Markus Metzger - - * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step, - and replay. - -2015-09-18 Markus Metzger - - * gdb.btrace/non-stop.c: New. - * gdb.btrace/non-stop.exp: New. - -2015-09-17 Pierre Langlois - Yao Qi - - * gdb.trace/trace-condition.c: New file. - * gdb.trace/trace-condition.exp: New file. - -2015-09-16 Wei-cheng Wang - - * gdb.trace/ftrace.exp: (test_ftrace_condition) New function - for testing bytecode compilation. - -2015-09-16 Pedro Alves - Sandra Loosemore - - * gdb.threads/non-stop-fair-events.c (timeout): New global. - (SECONDS): Redefine. - (main): Call pthread_kill and alarm early. - * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping - support. - (test): If the target can't hardware step and doesn't support - displaced stepping, increase the timeout. - -2015-09-16 Pedro Alves - - * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor) - (enable_debug): New procedures. - (test): Use them. Bail out if waiting for threads fails. - (top level): Bail out if a test fails. - -2015-09-16 Yao Qi - - * gdb.asm/asm-source.exp: Set asm-arch for - aarch64*-*-* target. - * gdb.asm/aarch64.inc: New file. - -2015-09-15 Pierre-Marie de Rodat - - * gdb.ada/array_of_variable_length.exp: New testcase. - * gdb.ada/array_of_variable_length/foo.adb: New file. - * gdb.ada/array_of_variable_length/pck.adb: New file. - * gdb.ada/array_of_variable_length/pck.ads: New file. - -2015-09-15 Doug Evans - - * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming - of function static local variable. - -2015-09-15 Philippe Waroquiers - - * gdb.threads/tls-so_extern.exp: New test file. - * gdb.threads/tls-so_extern.c: New test file. - * gdb.threads/tls-so_extern_main.c: New test file. - -2015-09-15 Jan Kratochvil - - * gdb.opt/solib-intra-step-lib.c: New file. - * gdb.opt/solib-intra-step-main.c: New file. - * gdb.opt/solib-intra-step.exp: New file. - -2015-09-15 Pedro Alves - - * gdb.threads/non-ldr-exc-3.exp (do_test): Use - gdb_continue_to_breakpoint instead of gdb_test_multiple. - -2015-09-14 Pedro Alves - - * gdb.base/hook-stop-continue.c: Delete. - * gdb.base/hook-stop-continue.exp: Delete. - * gdb.base/hook-stop-frame.c: Delete. - * gdb.base/hook-stop-frame.exp: Delete. - * gdb.base/hook-stop.c: New file. - * gdb.base/hook-stop.exp: New file. - -2015-09-14 Pierre-Marie de Rodat - - * gdb.ada/access_to_packed_array.exp: New testcase. - * gdb.ada/access_to_packed_array/foo.adb: New file. - * gdb.ada/access_to_packed_array/pack.adb: New file. - * gdb.ada/access_to_packed_array/pack.ads: New file. - -2015-09-14 Markus Metzger - - * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS - buffer size test. - -2015-09-11 Don Breazeal - - * gdb.base/foll-exec.c: Add copyright header. Fix - formatting issues. - * gdb.base/foll-exec.exp (zap_session): Delete proc. - (do_exec_tests): Use clean_restart in place of zap_session, - and for test initialization. Fix formatting issues. Use - fail in place of perror. - * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in - an expect statement to match an expression with output from - the program under debug. - * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add - non-stop tests and use save_vars to enable non-stop in GDBFLAGS. - * gdb.threads/non-ldr-exc-2.exp: Likewise. - * gdb.threads/non-ldr-exc-3.exp: Likewise. - * gdb.threads/non-ldr-exc-4.exp: Likewise. - -2015-09-09 Doug Evans - - * gdb.python/py-prettyprint.exp: Check result of run_lang_tests. - -2015-09-09 Doug Evans - - * gdb.base/pie-execl.exp: Fix result test of build_executable. - -2015-09-09 Doug Evans - - * gdb.base/savedregs.exp: Fix typo. - -2015-09-09 Pedro Alves - - * gdb.mi/mi-cli.exp: Add CLI finish tests. - -2015-09-08 Sandra Loosemore - - * gdb.threads/hand-call-in-threads.exp: Make sure the thread - command actually switches threads. Give up on remaining - tests if target fails to stop at breakpoint. - -2015-09-03 Pierre-Marie de Rodat - - * gdb.ada/funcall_char.exp: New testcase. - * gdb.ada/funcall_char/foo.adb: New file. - -2015-09-01 Pierre-Marie de Rodat - - * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant - expected outputs. Add two testcases for completing ambiguous - functions. - * gdb.ada/complete/aux_pck.adb: New file. - * gdb.ada/complete/aux_pck.ads: New file. - * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two - Ambiguous_Func functions. - * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function. - * gdb.ada/complete/pck.adb: Likewise. - -2015-08-27 Ulrich Weigand - - * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected - failures to run the test program under GDB. - -2015-08-26 Luis Machado - - * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language - to C. - -2015-08-26 Patrick Palka - - * gdb.base/run-after-attach.exp: New test file. - * gdb.base/run-after-attach.c: New test file. - -2015-08-26 Don Breazeal - - * gdb.base/foll-exec-2.c: New test program. - * gdb.base/foll-exec-2.exp: New test. - -2015-08-25 Pierre-Marie de Rodat - - * gdb.base/nested-subp1.exp: New file. - * gdb.base/nested-subp1.c: New file. - * gdb.base/nested-subp2.exp: New file. - * gdb.base/nested-subp2.c: New file. - * gdb.base/nested-subp3.exp: New file. - * gdb.base/nested-subp3.c: New file. - -2015-08-24 Pedro Alves - - * gdb.server/connect-without-multi-process.c: New file. - * gdb.server/connect-without-multi-process.exp: New file. - -2015-08-24 Luis Machado - - * gdb.opt/inline-markers.c: Make z int. - -2015-08-24 Luis Machado - - * gdb.opt/inline-markers.c: Make z volatile. - -2015-08-24 Luis Machado - - * gdb.opt/inline-bt.c: New volatile global z. - * gdb.opt/inline-cmds.c: Likewise. - * gdb.opt/inline-locals.c: Likewise. - * gdb.opt/inline-markers.c: New extern global z. - (marker): Use z. - (inline_fn): Likewise. - -2015-08-24 Pedro Alves - - * config/m32r-stub.exp: Remove file. - * gdb.base/call-ar-st.exp: Remove reference to sparclet. - * gdb.base/call-rt-st.exp: Likewise. - * gdb.base/call-strs.exp: Likewise. - * gdb.base/default.exp: Remove references to h8300-*-hms and - *-*-udi*. - * gdb.base/funcargs.exp: Remove reference to sparclet-*-*. - -2015-08-24 Andreas Arnez - - * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native - -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish" - and "return" use KFAIL when GDB can not read/write the vector - return value. - -2015-08-21 Gary Benson - - * gdb.trace/pending.exp: Cope with remote transfer warnings. - -2015-08-20 Pedro Alves - - * gdb.server/solib-list.exp: No longer expect an interior stop in - non-stop mode. - -2015-08-20 Pedro Alves - - * gdb.server/connect-stopped-target.c: New file. - * gdb.server/connect-stopped-target.exp: New file. - -2015-08-20 Pedro Alves - - * gdb.dwarf2/comp-unit-lang.exp: New file. - * gdb.dwarf2/comp-unit-lang.c: New file. - -2015-08-20 Pierre-Marie de Rodat - - * gdb.ada/attr_ref_and_charlit.exp: New testcase. - * gdb.ada/attr_ref_and_charlit/foo.adb: New file. - -2015-08-19 Kevin Buettner - - * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file. - * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file. - -2015-08-18 Doug Evans - Adrian Sendroiu - - * lib/gdb.exp (skip_python_tests_prompt): Renamed from - skip_python_tests. New arg prompt_regexp. - (skip_python_tests): New function. - * lib/mi-support.exp (mi_skip_python_tests): New function. - * gdb.python/py-mi-objfile-gdb.py: New file. - * gdb.python/py-mi-objfile.c: New file. - * gdb.python/py-mi-objfile.exp: New file. - -2015-08-17 Keith Seitz - - * gdb.linespec/explicit.exp: Move strace test from here ... - * gdb.trace/strace.exp: ... to here. - -2015-08-15 Patrick Palka - - * gdb.base/kill-detach-inferiors-cmd.exp: New test file. - * gdb.base/kill-detach-inferiors-cmd.c: New test file. - -2015-08-14 Doug Evans - - * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing - inferior before selecting a new file. - -2015-08-14 Doug Evans - - * gdb.mi/mi-disassemble.exp: Update. - * gdb.base/disasm-optim.S: New file. - * gdb.base/disasm-optim.c: New file. - * gdb.base/disasm-optim.h: New file. - * gdb.base/disasm-optim.exp: New file. - -2015-08-14 Keith Seitz - - * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for - "evaluated-by". - -2015-08-13 Joel Brobecker - - * gdb.base/dso2dso.exp: Improve the testcase's documentation. - -2015-08-13 Pierre-Marie de Rodat - - * gdb.ada/fun_renaming.exp: New testcase. - * gdb.ada/fun_renaming/fun_renaming.adb: New file. - * gdb.ada/fun_renaming/pack.adb: New file. - * gdb.ada/fun_renaming/pack.ads: New file. - -2015-08-12 Keith Seitz - - * gdb.base/dso2dso.exp: Pass basename of source file in call to - gdb_get_line_number. - -2015-08-12 Joel Brobecker - - * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h, - gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c, - gdb.base/dso2dso.exp: New files. - -2015-08-12 Sergio Durigan Junior - Pedro Alves - Keith Seitz - - * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore - GDBFLAGS. - -2015-08-12 Patrick Palka - - * gdb.base/gdbhistsize-history.exp - (test_histsize_history_setting): Use save_vars. - * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting): - Use save_vars. - (test_no_truncation_of_unlimited_history_file): Use save_vars. - * gdb.base/readline.exp: Use save_vars. - -2015-08-12 Patrick Palka - - * lib/gdb.exp (save_vars): New proc. - -2015-08-11 Keith Seitz - - * gdb.base/help.exp: Update help_breakpoint_text. - -2015-08-11 Keith Seitz - - * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc. - (at toplevel): Call test_explicit_breakpoints. - * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf - breakpoints. - * lib/mi-support.exp (mi_make_breakpoint): Add support for - breakpoint conditions, "-cond". - -2015-08-11 Keith Seitz - - * gdb.linespec/3explicit.c: New file. - * gdb.linespec/cpexplicit.cc: New file. - * gdb.linespec/cpexplicit.exp: New file. - * gdb.linespec/explicit.c: New file. - * gdb.linespec/explicit.exp: New file. - * gdb.linespec/explicit2.c: New file. - * gdb.linespec/ls-errs.exp: Add explicit location tests. - * lib/gdb.exp (capture_command_output): Regexp-escape `command' - before using in the matching pattern. - Clarify that `prefix' is a regular expression. - -2015-08-11 Keith Seitz - - * gdb.base/dprintf-pending.exp: Update dprintf "without format" - test. - Add tests for missing ",FMT" and ",". - -2015-08-10 Doug Evans - Keith Seitz - - PR gdb/17960 - * gdb.base/completion.exp: Add location completer tests. - -2015-08-07 Pedro Alves - - * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move - tests here. - (top level): Run do_test with and without displaced stepping. - -2015-08-07 Pedro Alves - - * gdb.base/valgrind-disp-step.c: New file. - * gdb.base/valgrind-disp-step.exp: New file. - -2015-08-07 Pedro Alves - - * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads): - Delete function. - (main): Add alarm. Run an infinite loop instead of calling - wait_threads. - * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change - comment. - * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads): - Delete function. - (main): Add alarm. Run an infinite loop instead of calling - wait_threads. - * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change - comment. - -2015-08-07 Pedro Alves - - * gdb.base/checkpoint-ns.exp: New file. - * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to - standard_testfile. - -2015-08-07 Markus Metzger - - * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New. - * gdb.btrace/instruction_history.exp: Update. - * gdb.btrace/tsx.exp: New. - * gdb.btrace/tsx.c: New. - -2015-08-06 Pedro Alves - - * gdb.reverse/step-precsave.exp: Use with_timeout_factor to - increase timeout. - * gdb.reverse/until-precsave.exp: Bump timeouts. - -2015-08-06 Pedro Alves - - * gdb.base/valgrind-infcall.exp: Issue a "disconnect". - -2015-08-06 Pedro Alves - - PR gdb/18749 - * gdb.threads/process-dies-while-handling-bp.c: New file. - * gdb.threads/process-dies-while-handling-bp.exp: New file. - -2015-08-06 Pedro Alves - - * gdb.threads/forking-threads-plus-breakpoint.exp: New file. - * gdb.threads/forking-threads-plus-breakpoint.c: New file. - -2015-08-05 Pedro Alves - - * gdb.threads/next-while-other-thread-longjmps.c: New file. - * gdb.threads/next-while-other-thread-longjmps.exp: New file. - -2015-08-03 Sandra Loosemore - - * gdb.base/bp-permanent.exp: Report test as unsupported if - the target cannot stop at the permanent breakpoint. - -2015-08-03 Doug Evans - - * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from - 10000. - -2015-08-03 Doug Evans - - * Makefile.in (workers/%.worker, build-perf): New rule. - (GDB_PERFTEST_MODE): New variable. - (check-perf): Use it. - (clean): Clean up gdb.perf parallel build subdirs. - * lib/build-piece.exp: New file. - * lib/gdb.exp (make_gdb_parallel_path): New function - (standard_output_file, standard_temp_file): Call it. - (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs - of $GDB_PARALLEL. - * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path. - -2015-08-03 Doug Evans - - * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global. - (LOG_FILE_NAME): New global. - (TextReporter.__init__): Initialize self.txt_sum. - (TextReporter.report): Add support for multiple data-points. - Move report to perftest.sum, put raw data in perftest.log. - (TextReporter.start): Open sum and log files. - (TextReporter.end): Close sum and log files. - * gdb.perf/lib/perftest/testresult.py - (SingleStatisticTestResult.record): Handle multiple data-points. - -2015-07-31 Pedro Alves - - * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id. - Use spawn_id_get_pid. Wait for spawn id after eof. Use - kill_wait_spawned_process instead of explicit "kill -9". - * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach - returning a spawn id instead of a pid. Use spawn_id_get_pid and - kill_wait_spawned_process. - * gdb.base/attach-twice.exp: Likewise. - * gdb.base/attach.exp: Likewise. - (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and - gdb_test_multiple. - * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach - returning a spawn id instead of a pid. Use spawn_id_get_pid and - kill_wait_spawned_process. - * gdb.base/valgrind-infcall.exp: Likewise. - * gdb.multi/multi-attach.exp: Likewise. - * gdb.python/py-prompt.exp: Likewise. - * gdb.python/py-sync-interp.exp: Likewise. - * gdb.server/ext-attach.exp: Likewise. - * gdb.threads/attach-into-signal.exp (corefunc): Use - spawn_wait_for_attach, spawn_id_get_pid and - kill_wait_spawned_process. - * gdb.threads/attach-many-short-lived-threads.exp: Adjust to - spawn_wait_for_attach returning a spawn id instead of a pid. Use - spawn_id_get_pid and kill_wait_spawned_process. - * gdb.threads/attach-stopped.exp (corefunc): Use - spawn_wait_for_attach, spawn_id_get_pid and - kill_wait_spawned_process. - * gdb.base/break-interp.exp: Rename $res to $test_spawn_id. - Use spawn_id_get_pid. Wait for spawn id after eof. Use - kill_wait_spawned_process instead of explicit "kill -9". - * lib/gdb.exp (can_spawn_for_attach): Adjust comment. - (kill_wait_spawned_process, spawn_id_get_pid): New procedures. - (spawn_wait_for_attach): Use spawn instead of exec to spawn - processes. Don't map cygwin/windows pids here. Now returns a - spawn id list. - -2015-07-30 Sandra Loosemore - - * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit - 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the - correct patch. - -2015-07-30 Sandra Loosemore - - * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets. - -2015-07-30 Sandra Loosemore - - Reapply: - 2014-05-21 Mark Wielaard - - * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type. - -2015-07-30 Pedro Alves - - * linux-low.c (handle_extended_wait): Set the child's last - reported status to TARGET_WAITKIND_STOPPED. - -2015-07-30 Pedro Alves - - PR threads/18600 - * gdb.threads/fork-plus-threads.exp: Test that "info inferiors" - only shows inferior 1. - -2015-07-30 Simon Marchi - Pedro Alves - - PR threads/18600 - * gdb.threads/fork-plus-threads.c: New file. - * gdb.threads/fork-plus-threads.exp: New file. - -2015-07-29 Patrick Palka - - * gdb.base/batch-preserve-term-settings.exp - (test_terminal_settings_preserved_after_cli_exit): Use - send_quit_command. - -2015-07-29 Pedro Alves - Don Breazeal - - * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect - output from both inferior_spawn_id and gdb_spawn_id. - -2015-07-29 Sergio Durigan Junior - - * gdb.threads/attach-into-signal.exp (corefunc): Use - with_test_prefix on nested loops, uniquefying the test messages. - -2015-07-29 Sergio Durigan Junior - - * gdb.python/py-objfile.exp: Fix typo that snuck in from my last - commit. - -2015-07-29 Patrick Palka - - * gdb.base/batch-preserve-term-settings.exp (send_quit_command): - New proc. - (test_terminal_settings_preserved_after_sigterm): New test. - -2015-07-29 Patrick Palka - - * gdb.base/batch-preserve-term-settings.exp - (test_terminal_settings_preserved_after_cli_exit): New test. - -2015-07-29 Patrick Palka - - * gdb.base/batch-preserve-term-settings.exp: Remove top-level - manipulation of saved_gdbflags. - (test_terminal_settings_preserved): Remove global declaration of - the unused variable pagination_prompt. Remove manipulation of - saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of - GDBFLAGS. - -2015-07-29 Pedro Alves - - * boards/gdbserver-base.exp: Don't set gdb,noinferiorio. - -2015-07-29 Pedro Alves - - * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio - at the top. - -2015-07-29 Pedro Alves - - * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c". - (main): Call gdb_unbuffer_output. - * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c". - (main): Call gdb_unbuffer_output. - * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c". - (main): Call gdb_unbuffer_output. - * gdb.base/call-strs.exp: Adjust to step over the - gdb_unbuffer_output call. - * gdb.base/catch-gdb-caused-signals.c: Include - "../lib/unbuffer_output.c". - (main): Call gdb_unbuffer_output. - * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c". - (main): Call gdb_unbuffer_output. - * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c". - (main): Call gdb_unbuffer_output. - * gdb.base/run.c: Include "../lib/unbuffer_output.c". - (main): Call gdb_unbuffer_output. - * gdb.base/shlib-call.exp: Adjust to step over the - gdb_unbuffer_output call. - * gdb.base/shmain.c: Include "../lib/unbuffer_output.c". - (main): Call gdb_unbuffer_output. - * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c". - (main): Call gdb_unbuffer_output. - * gdb.base/varargs.c: Include "../lib/unbuffer_output.c". - (main): Rename to ... - (test): ... this. - (main): Reimplement. - * gdb.base/varargs.exp: Run to test instead of to main. - * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c". - (main): Call gdb_unbuffer_output. - -2015-07-29 Pedro Alves - - * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure, - factore out from mi_continue_dprintf. For call-style dprintfs, - expect dprintf output out of $inferior_spawn_id. - (mi_continue_dprintf): Use mi_expect_dprintf. - * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c". - (main): Call gdb_unbuffer_output. - -2015-07-29 Pedro Alves - - * lib/mi-support.exp (mi_inferior_spawn_id): Delete. - (default_mi_gdb_start): Set inferior_spawn_id instead of - mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to - gdb_spawn_id. - (mi_gdb_test): Always expect inferior output from both - $inferior_spawn_id and $gdb_spawn_id. - -2015-07-29 Pedro Alves - - * gdb.gdb/selftest.exp (test_with_self): Update comment. Use - send_inferior and $inferior_spawn_id. - -2015-07-29 Pedro Alves - - * gdb.gdb/complaints.exp (test_initial_complaints) - (test_serial_complaints, test_short_complaints): Use - gdb_test_stdio. - (test_empty_complaint): Handle $inferior_spawn_id != - $gdb_spawn_id. - -2015-07-29 Pedro Alves - - * gdb.base/varargs.exp: Use gdb_test_stdio. - -2015-07-29 Pedro Alves - - * gdb.base/shlib-call.exp: Use gdb_test_stdio. - -2015-07-29 Pedro Alves - - * gdb.base/ending-run.exp: Use gdb_test_stdio. - -2015-07-29 Pedro Alves - - * gdb.base/call-rt-st.exp (print_struct_call): Split "result" - parameter into two new parameters, "inf_result" and "gdb_result". - Expect inferior output and gdb output from $inferior_spawn_id and - $gdb_spawn_id, respectively. Adjust all callers. - -2015-07-29 Pedro Alves - - * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead - of gdb_test_sequence. - -2015-07-29 Pedro Alves - - * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper) - (saw_spurious_output): Expect inferior output from - $inferior_spawn_id. Use gdb_test_stdio. - -2015-07-29 Pedro Alves - - * gdb.base/dprintf.exp: Use standard_testfile. Change - prepare_for_testing call. - (srcfile): Don't set. - (restart): New procedure. - (test_dprintf): New procecure, use to continue over dprintfs. - (test_call, test_agent): New procedures, tests moved here. - Restart gdb and recreate dprintfs. Adjust expected output. - -2015-07-29 Pedro Alves - - * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio. - -2015-07-29 Pedro Alves - - * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test. - -2015-07-29 Pedro Alves - - * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use - gdb_test_stdio. - -2015-07-29 Pedro Alves - - * lib/gdb.exp (gdb_test_stdio): New procedure. - -2015-07-29 Pedro Alves - - * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end. - -2015-07-29 Pedro Alves - - * gdb.base/call-signal-resume.exp: Remove check for - gdb,noinferiorio. Don't expect "no signal". Use gdb_test. - * gdb.base/unwindonsignal.exp: Likewise. - * gdb.base/call-signals.c (gen_signal): Remove printf call. - * gdb.base/unwindonsignal.c (gen_signal): Likewise. - -2015-07-29 Pedro Alves - - * gdb.base/siginfo-addr.c (pass): New function. - (handler): Call it iff si_addr is correct. - * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check. - Set a breakpoint at "pass" and continue to it. - -2015-07-28 Sergio Durigan Junior - - * gdb.python/py-objfile.exp: Make some tests have unique names. - * gdb.python/py-pp-registration.exp: Likewise. - -2015-07-28 Pedro Alves - - * gdb.server/server-exec-info.exp: Issue a "disconnect". - -2015-07-27 Simon Marchi - - * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL. - -2015-07-27 Simon Marchi - - * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail. - -2015-07-27 Patrick Palka - - * gdb.base/gdb-sigterm-2.exp: New test. - -2015-07-25 Doug Evans - - Revert: - * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL. - (workers/%.worker, build-perf): New rule. - (GDB_PERFTEST_MODE): New variable. - (check-perf): Use it. - (clean): Clean up gdb.perf parallel build subdirs. - * lib/build-piece.exp: New file. - * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name. - * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path - name. - (standard_temp_file): Ditto. - (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs - of $GDB_PARALLEL. - -2015-07-24 Doug Evans - - * gdb.perf/lib/perftest/utils.py: New file. - * gdb.perf/gm-hello.cc: New file. - * gdb.perf/gm-pervasive-typedef.cc: New file. - * gdb.perf/gm-pervasive-typedef.h: New file. - * gdb.perf/gm-std.cc: New file. - * gdb.perf/gm-std.h: New file. - * gdb.perf/gm-use-cerr.cc: New file. - * gdb.perf/gm-utils.h: New file. - * gdb.perf/gmonster-null-lookup.py: New file. - * gdb.perf/gmonster-pervasive-typedef.py: New file. - * gdb.perf/gmonster-print-cerr.py: New file. - * gdb.perf/gmonster-ptype-string.py: New file. - * gdb.perf/gmonster-runto-main.py: New file. - * gdb.perf/gmonster-select-file.py: New file. - * gdb.perf/gmonster1-null-lookup.exp: New file. - * gdb.perf/gmonster1-pervasive-typedef.exp: New file. - * gdb.perf/gmonster1-print-cerr.exp: New file. - * gdb.perf/gmonster1-ptype-string.exp: New file. - * gdb.perf/gmonster1-runto-main.exp: New file. - * gdb.perf/gmonster1-select-file.exp: New file. - * gdb.perf/gmonster1.cc: New file. - * gdb.perf/gmonster1.exp: New file. - * gdb.perf/gmonster2-null-lookup.exp: New file. - * gdb.perf/gmonster2-pervasive-typedef.exp: New file. - * gdb.perf/gmonster2-print-cerr.exp: New file. - * gdb.perf/gmonster2-ptype-string.exp: New file. - * gdb.perf/gmonster2-runto-main.exp: New file. - * gdb.perf/gmonster2-select-file.exp: New file. - * gdb.perf/gmonster2.cc: New file. - * gdb.perf/gmonster2.exp: New file. - -2015-07-24 Doug Evans - - * gdb.perf/README: New file. - * lib/perftest.exp (tcl_string_list_to_python_list): New function. - * lib/gen-perf-test.exp: New file. - -2015-07-24 Doug Evans - - * lib/perftest.exp (PerfTest::compile): Unconditionally call body. - (PerfTest::startup): New function. - (PerfTest::run): Return result of calling body. - (PerfTest::assemble): Rewrite. - * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result. - * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto. - * gdb.perf/single-step.exp (PerfTest::assemble): Ditto. - * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto. - * gdb.perf/solib.exp (PerfTest::assemble): Ditto. - -2015-07-24 Doug Evans - - * lib/gdb.exp (clean_restart): Make executable optional. - -2015-07-24 Doug Evans - - * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove - compiler_info references. - * gdb.cp/temargs.exp: Ditto. - * lib/gdb.exp: Unset compiler_info instead of setting to "unknown". - (get_compiler_info): Early exit if already computed. Set compiler_info - to "unknown" if there was a problem. - (test_compiler_info): Add function comment. Call get_compiler_info. - -2015-07-24 Doug Evans - - * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL. - (workers/%.worker, build-perf): New rule. - (GDB_PERFTEST_MODE): New variable. - (check-perf): Use it. - (clean): Clean up gdb.perf parallel build subdirs. - * lib/build-piece.exp: New file. - * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name. - * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path - name. - (standard_temp_file): Ditto. - (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs - of $GDB_PARALLEL. - -2015-07-24 Doug Evans - - * lib/future.exp (gdb_default_target_compile): New option - "early_flags". - * lib/gdb.exp (gdb_compile): Undo debian's change in default of - --as-needed. - -2015-07-24 Sergio Durigan Junior - - * gdb.base/catch-syscall.exp: Call gdb_exit before - gdb_skip_xml_test. - -2015-07-24 Pedro Alves - - * gdb.python/py-events.exp: Accept output between the stop event - and the prompt. - * gdb.python/py-evsignal.exp: Likewise. - * gdb.python/py-evthreads.exp: Likewise. - -2015-07-24 Pedro Alves - - PR gdb/18717 - * gdb.threads/non-ldr-exit.c: New file. - * gdb.threads/non-ldr-exit.exp: New file. - -2015-07-24 Yao Qi - - * gdb.server/ext-wrapper.exp: Test --wrapper option when - restarting process. - -2015-07-24 Yao Qi - - * gdb.server/ext-restart.exp: New file. - -2015-07-24 Yao Qi - - * lib/gdbserver-support.exp (gdbserver_start_extended): Add - argument options. - * gdb.server/ext-wrapper.exp: New file. - -2015-07-23 Doug Evans - - * gdb.dwarf2/dw2-dummy-cu.S: New file. - * gdb.dwarf2/dw2-dummy-cu.exp: New file. - -2015-07-23 Pierre-Marie de Rodat - - * gdb.ada/var_arr_typedef.exp: New testcase. - * gdb.ada/var_arr_typedef/pack.adb: New file. - * gdb.ada/var_arr_typedef/pack.ads: New file. - * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file. - -2015-07-20 Joel Brobecker - - * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output. - -2015-07-16 Jan Kratochvil - - * gdb.arch/i386-biarch-core.exp: Replace istarget - by "complete set gnutarget". Remove expectation for the "core-file" - command. - -2015-07-15 Jan Kratochvil - - Revert the previous commit: - Tests for validate symbol file using build-id. - -2015-07-15 Aleksandar Ristovski - - * gdb.base/sigaltstack.exp (finish_test): Add kfail for - nios2-*-linux*. - * gdb.base/sigbpt.exp (stepi_out): Likewise. - * gdb.base/siginfo.exp: Likewise. - * gdb.base/sigstep.exp (advance, advancei): Likewise. - -2015-07-15 Pierre Langlois - - * gdb.base/range-stepping.exp (gdb_range_stepping_enabled): - Move it to ... - * lib/range-stepping-support.exp (gdb_range_stepping_enabled): - ... here. - * gdb.trace/range-stepping.exp: Check that the target supports - range stepping. - -2015-07-14 Jan Kratochvil - - * gdb.arch/i386-biarch-core.exp: Fix comment typo. - -2015-07-14 Pedro Alves - - * gdb.base/killed-outside.exp: New file. - * gdb.base/killed-outside.c: New file. - -2015-07-10 Jan Kratochvil - - * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter. - (n at main): New. - * gdb.asm/asmsrc1.s: Add comment "mark: main enter". - -2015-07-10 Andreas Arnez - - * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the - infcall tests instead of setting up for KFAIL. - -2015-07-10 Markus Metzger - - * gdb.btrace/record_goto-step.exp: New. - -2015-07-08 Jan Kratochvil - - PR compile/18484 - * gdb.compile/compile.c (struct struct_type): Add volatile to - selffield's type. - * gdb.compile/compile.exp - (compile code struct_object.selffield = &struct_object): Skip further - struct_object tests if this one xfails. - -2015-07-08 Robert O'Callahan - - PR exp/18617 - * gdb.trace/ax.exp: Add test. - -2015-07-07 Yao Qi - - * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target - instead of istarget "aarch64*-*-*". - * gdb.arch/aarch64-fp.exp: Likewise. - * gdb.base/float.exp: Likewise. - * gdb.reverse/aarch64.exp: Likewise. - * lib/gdb.exp (is_aarch64_target): New proc. - -2015-07-07 Yao Qi - - * lib/gdb.exp (is_aarch32_target): New proc. - * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target - instead of "istarget "arm*-*-*"". - * gdb.arch/arm-disp-step.exp: Likewise. - * gdb.arch/thumb-bx-pc.exp: Likewise. - * gdb.arch/thumb-prologue.exp: Likewise. - * gdb.arch/thumb-singlestep.exp: Likewise. - * gdb.base/disp-step-syscall.exp: Likewise. - * gdb.base/float.exp: Likewise. - -2015-07-07 Yao Qi - - * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): - Set arch1, arch2, syscall1_name, syscall2_name and syscall_number. - -2015-07-07 Yao Qi - - * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target - is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET} - if it exists. - * gdb.multi/multi-arch.exp: Likewise. - -2015-07-07 Simon Marchi - - * gdb.python/py-lazy-string.exp: Add missing parentheses to - print. - -2015-07-07 Yao Qi - - * gdb.arch/thumb-singlestep.exp: Do one more single step. - -2015-06-30 Martin Galvan - - * lib/gdb.exp (test_class_help): Remove the unneeded escaping of - '[' and ']' characters. - -2015-06-30 Iain Buclaw - - * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite. - -2015-06-29 Pedro Alves - - PR threads/18127 - * gdb.threads/hand-call-new-thread.c: New file. - * gdb.threads/hand-call-new-thread.c: New file. - -2015-06-26 Keith Seitz - Doug Evans - - PR 16253 - * gdb.cp/var-tag-2.cc: New file. - * gdb.cp/var-tag-3.cc: New file. - * gdb.cp/var-tag-4.cc: New file. - * gdb.cp/var-tag.cc: New file. - * gdb.cp/var-tag.exp: New file. - -2015-06-26 Patrick Palka - - * gdb.base/history-duplicates.exp: New test. - -2015-06-26 Patrick Palka - - * gdb.base/completion.exp: Test the completion of the "focus" - command. - -2015-06-26 Jan Kratochvil - - * gdb.arch/amd64-prologue-skip.S: New file. - * gdb.arch/amd64-prologue-skip.exp: New file. - -2015-06-25 Simon Marchi - - * gdb.python/py-prettyprint.exp (run_lang_tests): Add - is_address_zero_readable check. - -2015-06-24 Peter Bergner - - * gdb.arch/powerpc-power.exp : Fixup test results. - * gdb.arch/powerpc-power.s : Likewise. - -2015-06-24 Yao Qi - - * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all - linux targets. - -2015-06-24 Yao Qi - - * lib/gdb.exp (supports_get_siginfo_type): New proc. - * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type. - * gdb.base/siginfo-thread.exp: Likewise. - -2015-06-22 Yao Qi - - * boards/remote-gdbserver-on-localhost.exp: Add comments. - -2015-06-22 Yao Qi - - * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target - aarch64*-*-*. - (skip_hw_watchpoint_tests): Likewise. - -2015-06-18 Patrick Palka - - * gdb.base/gdbinit-history.exp: Test the interaction between - setting GDBHISTSIZE and setting the history size via .gdbinit. - -2015-06-17 Patrick Palka - - PR gdb/16999 - * gdb.base/gdbhistsize-history.exp: New test. - -2015-06-17 Patrick Palka - - * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE - with GDBHISTSIZE. - * gdb.base/readline.exp: Likewise. - -2015-06-17 Yao Qi - - * lib/gdb.exp (get_build_id): Move braces and "else" to the same - line. - -2015-06-17 Patrick Palka - - * gdb.base/gdbinit-history.exp: Add test case to check that - an unlimited history file does not get truncated on exit. - -2015-06-17 Andreas Arnez - - * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h. - (VECTOR): New macro. Use it... - (int4, uint4, char4, float4, int2, longlong2, float2, double2): - ...for these typedefs. - (int8, char1, int1, double1): New typedefs. - (struct just_int2, struct two_int2): New structures. - (add_some_intvecs, add_many_charvecs, add_various_floatvecs) - (add_structvecs, add_singlevecs): New functions. - (main): Call add_some_intvecs twice. - * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt - the compile and exit upon failure. Try compiling for the "native" - architecture. Test inferior function calls with vector arguments - and vector return value handling with "finish" and "return". - -2015-06-10 Jon Turney - - * gdb.base/sepdebug.exp: Add EXEEXT where needed. - * lib/gdb.exp (get_build_id): Teach how to extract build-id from a - PE file. - * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump. - -2015-06-12 Antoine Tremblay - - PR breakpoints/16465 - * gdb.mi/mi-dprintf-pending.c: New file. - * gdb.mi/mi-dprintf-pending.exp: New test. - * gdb.mi/mi-dprintf-pendshr.c: New file. - -2015-06-10 Walfred Tedeschi - Mircea Gherzan - - * gdb.arch/i386-mpx-map.c: New file. - * gdb.arch/i386-mpx-map.exp: New File. - -2015-06-10 Walfred Tedeschi - - * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed. - * gdb.arch/i386-mpx.exp: Indentation fixed. - -2015-06-10 Walfred Tedeschi - - * gdb.arch/i386-mpx.c: Added final return to the have_mpx - function and improved indentation. - * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for - gdb_test_multiple. Added additional tests to skip the test. - -2015-06-10 Walfred Tedeschi - - * gdb.arch/i386-avx512.c: Change path in include file. - * gdb.arch/i386-avx512.exp: Change include dir path - compilation flag. - * gdb.arch/i386-mpx.c: Change path in include file. - * gdb.arch/i386-mpx.exp: Change include dir path compilation - flag. - -2015-06-04 Jan Kratochvil - - * gdb.compile/compile-print.exp (compile print *vararray@3) - (compile print *vararrayp@3): Change xfail to kfail compile/18489. - -2015-06-03 Jan Kratochvil - - * gdb.compile/compile.exp (keep jit in memory): Rename to ... - (do not keep jit in memory): ... this. - (expect 5): Change it to ... - (expect no 5): ... this. - -2015-06-02 Simon Marchi - - PR gdb/15564 - * gdb.mi/mi-detach.exp: New file. - -2015-06-01 Jan Kratochvil - - PR symtab/18392 - * gdb.arch/amd64-tailcall-self.S: New file. - * gdb.arch/amd64-tailcall-self.c: New file. - * gdb.arch/amd64-tailcall-self.exp: New file. - -2015-05-28 Don Breazeal - - * gdb.base/foll-vfork.exp (main): Disable exec-dependent - tests for remote targets by checking is_target_gdbserver. - -2015-05-27 Doug Evans - - * gdb.dwarf2/opaque-type-lookup-2.c: New file. - * gdb.dwarf2/opaque-type-lookup.c: New file. - * gdb.dwarf2/opaque-type-lookup.exp: New file. - -2015-05-26 Doug Evans - - * gdb.cp/iostream.cc: New file. - * gdb.cp/iostream.exp: New file. - -2015-05-26 Doug Evans - - * gdb.dwarf2/dw2-op-call.exp: Update. - * gdb.dwarf2/dw4-sig-types.exp: Update. - * gdb.dwarf2/implptr.exp: Update. - * gdb.mi/mi-cmd-param-changed.exp: Update. - -2015-05-26 Doug Evans - - * gdb.python/py-lazy-string.c: New file. - * gdb.python/py-lazy-string.exp: New file. - * gdb.python/py-prettyprint.c (lazystring) : New member. - (main): Update. Add estring3. - * gdb.python/py-prettyprint.exp: Add tests for strings at address 0. - * gdb.python/py-prettyprint.py (pp_ls): Handle length. - -2015-05-26 Omair Javaid - Yao Qi - - * gdb.reverse/aarch64.c: New. - * gdb.reverse/aarch64.exp: New. - -2015-05-26 Omair Javaid - - * lib/gdb.exp (supports_process_record): Return true for - aarch64*-linux*. - (supports_reverse): Likewise. - -2015-05-22 Patrick Palka - - * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting): - Use with_test_prefix. - -2015-05-21 Andrew Burgess - - * gdb.base/completion.exp: Add test for completion of layout - names. - -2015-05-20 Andrew Burgess - - * lib/gdb.exp (skip_tui_tests): New proc. - * gdb.base/tui-layout.exp: Check skip_tui_tests. - -2015-05-19 Pedro Alves - - * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting): - Save the whole env array instead of just HOME. Unset HISTSIZE in - the environment while testing. Restore whole environment - afterwards. - -2015-05-16 Doug Evans - - * gdb.guile/scm-ports.c: New file. - * gdb.guile/scm-ports.exp: Add memory port tests. - -2015-05-16 Jan Kratochvil - - * gdb.compile/compile-print.c: New file. - * gdb.compile/compile-print.exp: New file. - -2015-05-16 Jan Kratochvil - - * gdb.compile/compile-ops.exp: Cast param to void. - * gdb.compile/compile.exp: Complete type for _gdb_expr. - (compile code struct_object.selffield = &struct_object): Add xfail. - -2015-05-15 Joel Brobecker - - * gdb.ada/arr_enum_with_gap: New testcase. - -2015-05-15 Joel Brobecker - - * gdb.ada/byte_packed_arr: New testcase. - -2015-05-15 Joel Brobecker - - * gdb.ada/pckd_neg: New testcase. - -2015-05-13 Patrick Palka - - PR gdb/17820 - * gdb.base/gdbinit-history.exp: New test. - * gdb.base/gdbinit-history/unlimited/.gdbinit: New file. - * gdb.base/gdbinit-history/zero/.gdbinit: New file. - -2015-05-09 Siva Chandra Reddy - - * gdb.python/py-xmethods.cc: Enhance test case. - * gdb.python/py-xmethods.exp: New tests. - * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker - function. - (B_indexoper): Likewise. - (global_dm_list) : Add new xmethod worker functions. - -2015-05-08 Sergio Durigan Junior - - * gdb.base/coredump-filter.exp: Correctly unset - "coredump_var_addr" array. - -2015-05-08 Pedro Alves - - * gdb.server/non-existing-program.exp: Unset spawn_id. - -2015-05-08 Siva Chandra Reddy - - PR python/18291 - * gdb.python/py-xmethods.exp: Add tests. - -2015-05-08 Yao Qi - - PR gdb/18208 - * gdb.base/coredump-filter.c (set_coredump_filter): New function. - * gdb.base/coredump-filter.exp (do_save_core): Call inferior - function set_coredump_filter, and remove remote_exec call. - Remove argument ipid. Callers update. - (top level): Don't get inferior's PID. - -2015-05-08 Andreas Arnez - - * gdb.base/watch_thread_num.exp: Skip test on targets without - access watchpoints. - -2015-05-06 Pedro Alves - - PR server/18081 - * gdb.server/non-existing-program.exp: New file. - -2015-05-05 Joel Brobecker - - * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests. - -2015-05-05 Joel Brobecker - - * gdb.ada/out_of_line_in_inlined: New testcase. - -2015-05-05 Joel Brobecker - - * gdb.ada/var_rec_arr: New testcase. - -2015-04-30 Yao Qi - - * gdb.base/break-idempotent.exp: If - skip_hw_watchpoint_multi_tests returns true, skip the tests - on "rwatch" and "awatch". - -2015-04-30 Yao Qi - - * gdb.base/relativedebug.exp: Invoke gdb command - "info sharedlibrary", and if libc.so doesn't have debug info, - skip the test. - -2015-04-29 Doug Evans - - * gdb.python/py-xmethods.exp: Add ptype tests. - * gdb.python/py-xmethods.py (E_method_char_worker): Add - get_result_type method. - -2015-04-29 Luis Machado - - * gdb.base/watch-bitfields.exp: Switch to software watchpoints if - the target does not support hardware watchpoints. - -2015-04-29 Luis Machado - - * gdb.base/break-always.exp: Abort testing if writing to memory - causes an error. - -2015-04-28 Doug Evans - - * gdb.python/py-pp-maint.py: Move "replace" testing to ... - * gdb.python/py-pp-registration.exp: ... here. New file. - * gdb.python/py-pp-registration.c: New file. - * gdb.python/py-pp-registration.py: New file. - -2015-04-28 Doug Evans - - * gdb.python/py-bad-printers.c: New file. - * gdb.python/py-bad-printers.py: New file. - * gdb.python/py-bad-printers.exp: New file. - -2015-04-28 Sasha Smundak - - * gdb.python/py-type.exp: New test. - -2015-04-28 Andy Wingo - - * gdb.python/py-parameter.exp: - * gdb.guile/scm-parameter.exp: Escape the path that we are - matching against, as it might contain characters that are special - to regular expressions. - -2015-04-27 Joel Brobecker - - * gdb.ada/rec_comp: New testcase. - -2015-04-26 Sergio Durigan Junior - - * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr" - before using it. - -2015-04-24 Andrew Burgess - - * gdb.base/dump.exp: Add *.verilog files to all_files list. Add - new tests for verilog output. - -2015-04-24 Yao Qi - - * boards/remote-gdbserver-on-localhost.exp: New file. - -2015-04-23 Pedro Alves - - * gdb.base/interrupt.exp: Use an indirect spawn id list holding - $inferior_spawn_id instead of $inferior_spawn_id directly. On - "end of file", remove $inferior_spawn_id from the indirect list. - -2015-04-23 Pedro Alves - - * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file. - -2015-04-23 Pedro Alves - - * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout - on $any_spawn_id instead of only on $gdb_spawn_id. - -2015-04-21 Pierre Muller - - PR pascal/17815 - * lib/pascal.exp (gpc_compile): Add new option "class". - (fpc_compile): Likewise. - * gdb.pascal/case-insensitive-symbols.pas: New file. - * gdb.pascal/case-insensitive-symbols.exp: New file. - -2015-04-20 Gary Benson - - * gdb.base/attach.exp: Fix three extended remote failures. - -2015-04-17 Gary Benson - - * gdb.server/server-exec-info.exp: Inhibit GDB from accessing - the main executable over the remote protocol. - -2015-04-16 Pedro Alves - - * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start - a new gdbserver if gdbserver_reconnect_p is set. - -2015-04-16 Pedro Alves - - * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p - is set, don't exit gdbserver. - -2015-04-16 Andreas Arnez - - * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an - appropriate .insn, such that an older assembler can be used. - * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable - the z/Architecture instruction set on 31-bit targets as well. - -2015-04-16 Andreas Arnez - - * gdb.go/handcall.exp: Remove all logic related to the first - breakpoint and rely on go_runto_main instead. - * gdb.go/strings.exp: Likewise. - * gdb.go/unsafe.exp: Likewise. - * gdb.go/hello.exp: Likewise. Also rename the remaining - breakpoint marker to "breakpoint 1". - * gdb.go/handcall.go: Remove comment "set breakpoint 1 here". - * gdb.go/strings.go: Likewise. - * gdb.go/unsafe.go: Likewise. - * gdb.go/hello.go: Likewise. Also remove the second occurrence of - "set breakpoint 2 here" and rename the remaining breakpoint marker - to "breakpoint 1". - -2015-04-15 Simon Marchi - - * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function - if itertools.imap is not present. - * gdb.python/py-objfile.exp: Add parentheses. - * gdb.python/py-type.exp: Same. - * gdb.python/py-unwind-maint.py: Same. - -2015-04-15 Yao Qi - - * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead - of ":$ptr_size" and set its form explicitly. - -2015-04-15 Pedro Alves - Yao Qi - - * gdb.base/watch-bitfields.exp (test_watch_location): Increase - timeout by factor of 4. - (test_regular_watch): Likewise. - * gdb.base/watchpoint-solib.exp: Use with_timeout_factor. - * gdb.reverse/sigall-reverse.exp: Likewise. - * gdb.reverse/until-precsave.exp: Likewise. - * lib/gdb.exp (with_timeout_factor): New proc. - (gdb_expect): Move some code to ... - (get_largest_timeout): ... here. New procedure. - -2015-04-14 Luis Machado - - * gdb.base/bp-permanent.exp (test): Reinstate correct test message. - -2015-04-13 Luis Machado - - * gdb.base/bp-permanent.exp (test): Handle the case of being unable - to write to the .text section. - -2015-04-13 Luis Machado - - * gdb.base/coredump-filter.exp: Restrict test to Linux systems only. - Handle the case of targets that do not provide PID information. - -2015-04-13 Yao Qi - - * lib/gdbserver-support.exp (gdb_exit): Catch exception - and use expect instead of gdb_expect. - -2015-04-13 Sergio Durigan Junior - - * gdb.base/coredump-filter.exp: Rename variable "addr" to - "coredump_var_addr" to avoid naming conflict with other testcases. - -2015-04-10 Pedro Alves - - * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use - gdb_test_sequence and gdb_assert. - -2015-04-10 Pedro Alves - - * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use - test messages that don't include the breakpoint address. - -2015-04-10 Yao Qi - - * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return - false for some offset and width combinations which aren't - supported by linux kernel. - -2015-04-10 Pedro Alves - - * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New - procedure, factored out from ... - (top level): ... here. Add "set displaced-stepping" testing axis. - * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New - parameter "displaced". Use it. - (top level): Use foreach and add "set displaced-stepping" testing - axis. - -2015-04-10 Pedro Alves - - * gdb.threads/step-over-trips-on-watchpoint.c (child_function): - Remove comment. - * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find - both the address of the instruction that triggers the watchpoint - and the address of the instruction immediately after, and use - those addresses for the test. Fix comment. - -2015-04-10 Pedro Alves - - * gdb.base/sigstep.exp (breakpoint_to_handler) - (breakpoint_to_handler_entry): New parameter 'displaced'. Use it. - Test "backtrace" in handler. - (breakpoint_over_handler): New parameter 'displaced'. Use it. - (top level): Add new "displaced" test axis to - breakpoint_to_handler, breakpoint_to_handler_entry and - breakpoint_over_handler. - -2015-04-10 Pedro Alves - - PR gdb/18216 - * gdb.threads/multiple-step-overs.exp: Remove expected eof. - -2015-04-10 Yao Qi - - * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc. - (test_add_rn_pc): New function. - * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc. - (top level): Invoke test_add_rn_pc. - -2015-04-10 Pedro Alves - - PR gdb/13858 - * gdb.base/step-over-no-symbols.exp: New file. - -2015-04-09 Andy Wingo - - * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled - after the Python tests. - -2015-04-08 Keith Seitz - - PR python/16699 - * gdb.python/py-completion.exp: New tests for completion. - * gdb.python/py-completion.py (CompleteLimit1): New class. - (CompleteLimit2): Likewise. - (CompleteLimit3): Likewise. - (CompleteLimit4): Likewise. - (CompleteLimit5): Likewise. - (CompleteLimit6): Likewise. - (CompleteLimit7): Likewise. - -2015-04-08 Pedro Alves - - PR gdb/18214 - PR gdb/18216 - * gdb.threads/multiple-step-overs.c (sigusr1_handler): New - function. - (main): Install it as SIGUSR1 handler. - * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix' - parameter. Always use "setup" as prefix. Toggle "set - displaced-stepping" off/on depending on global. Don't switch to - thread 1 here. - (top level): Add displaced stepping "off/on" test axis. Update - "setup" calls. Wrap each subtest with with_test_prefix. Test - continuing with a queued signal in each thread. - -2015-04-08 Pedro Alves - - * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd. - * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use - gdb_breakpoint instead of gdb_test that doesn't expect anything. - Return early if running to main fails. - * gdb.trace/while-stepping.exp: Likewise. - -2015-04-07 Pedro Alves - - * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id != - $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to - interact with inferior program. - -2015-04-07 Pedro Alves - - * lib/gdb.exp (inferior_spawn_id): New global. - (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's - spawn id after processing the user code. - (default_gdb_start): Set inferior_spawn_id. - (send_inferior): New procedure. - * lib/gdbserver-support.exp (gdbserver_start): Set - inferior_spawn_id. - (close_gdbserver, gdb_exit): Unset inferior_spawn_id. - -2015-04-07 Pedro Alves - - * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling. - * lib/gdbserver-support.exp (gdbserver_start): Make - $server_spawn_id global. - (gdbserver_start): Don't wait for gdbserver's spawn id with - expect_background. - (close_gdbserver): New procedure. - (gdb_exit): Rename the default version and reimplement. - -2015-04-07 Pedro Alves - - * lib/gdb.exp (gdb_test_multiple): When processing an argument, - append the substituted item, not the original item. - -2015-04-07 Pedro Alves - - * gdb.base/interrupt.exp: Use gdb_test_multiple instead of - gdb_expect. - -2015-04-07 Pedro Alves - - * gdb.base/interrupt.exp: Don't handle the case of the inferior - output appearing once only. - -2015-04-07 Pedro Alves - - * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test - that doesn't expect anything. Return early if running to main - fails. - -2015-04-07 Yao Qi - - * gdb.threads/non-stop-fair-events.c (SECONDS): New macro. - (child_function): Call alarm. - (main): Move call to alarm into the loop. - * gdb.threads/non-stop-fair-events.exp: Build program with - -DTIMEOUT=$timeout. - -2015-04-06 Doug Evans - - * lib/pascal.exp (gpc_compile): Rename dest arg to destfile. - Fix dest parameter to board_info. - (fpc_compile): Ditto. - (gdb_compile_pascal): Rename dest arg to destfile. - -2015-04-03 Pierre-Marie de Rodat - - * gdb.ada/funcall_ref.exp: New file. - * gdb.ada/funcall_ref/foo.adb: New file. - -2015-04-02 Yao Qi - - * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target - is remote. - -2015-04-02 Gary Benson - - * gdb.base/break-probes.exp: Cope with "target:" sysroot. - -2015-04-01 Sasha Smundak - - * gdb.python/py-unwind-maint.c: New file. - * gdb.python/py-unwind-maint.exp: New test. - * gdb.python/py-unwind-maint.py: New file. - * gdb.python/py-unwind.c: New file. - * gdb.python/py-unwind.exp: New test. - * gdb.python/py-unwind.py: New test. - -2015-04-01 Pedro Alves - - * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message - to fail instead of non-existent $test. - -2015-04-01 Pedro Alves - - * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to - GDBFLAGS if not empty. - -2015-04-01 Pierre-Marie de Rodat - - * gdb.ada/complete.exp: Remove "multi_line". - * gdb.ada/info_exc.exp: Remove "multi_line". - * gdb.ada/packed_tagged.exp: Remove "multi_line". - * gdb.ada/ptype_field.exp: Remove "multi_line". - * gdb.ada/sym_print_name.exp: Remove "multi_line". - * gdb.ada/tagged.exp: Remove "multi_line". - * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with - [multi_line ...] - * gdb.btrace/delta.exp: Likewise. - * gdb.btrace/exception.exp: Likewise. - * gdb.btrace/function_call_history.exp: Likewise. - * gdb.btrace/instruction_history.exp: Likewise. - * gdb.btrace/nohist.exp: Likewise. - * gdb.btrace/record_goto.exp: Likewise. - * gdb.btrace/segv.exp: Likewise. - * gdb.btrace/stepi.exp: Likewise. - * gdb.btrace/tailcall.exp: Likewise. - * gdb.btrace/unknown_functions.exp: Likewise. - * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise. - * lib/gdb.exp: Add the "multi_line" helper. - -2015-04-01 Pedro Alves - - * gdb.threads/tid-reuse.c: New file. - * gdb.threads/tid-reuse.exp: New file. - -2015-03-31 Sergio Durigan Junior - - PR corefiles/16092 - * gdb.base/coredump-filter.c: New file. - * gdb.base/coredump-filter.exp: Likewise. - -2015-03-27 Petr Machata - - * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset. - (Dwarf::_line_count, Dwarf::_line_saw_file): New variables. - (Dwarf::assemble): Initialize them. - (Dwarf::lines): New function. - -2015-03-26 Jon Turney - - * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set - SYMBOL_PREFIX for x86_64-*-cygwin. - -2015-03-26 Andy Wingo - - PR symtab/18148 - * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a - const_value but not a location. - * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without - location defined in non-main CUs are visible. - -2015-03-26 Yao Qi - - PR testsuite/18139 - * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2. - Add a line number entry for the same line. - * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2. - Add a line number entry for the same line. - -2015-03-26 Yao Qi - - * gdb.linespec/break-asm-file0.s (func2): Use nop instead of - .int 0. - (func): Likewise. Add .Lfunc_1 label. - Use .Lfunc_1 label. - * gdb.linespec/break-asm-file1.s (func3): Use nop instead of - .int 0. - (func): Likewise. - Use .Lfunc_1 label. - -2015-03-26 Yao Qi - - * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing. - Call gdb_compile instead to compile each .s files without debug - information. - -2015-03-26 Yao Qi - - * gdb.base/savedregs.exp (process_saved_regs): Make - "Saved registers:" optional in the pattern. - -2015-03-25 Markus Metzger - - * gdb.btrace/next.exp: Merged into step.exp. - * gdb.btrace/finish.exp: Merged into step.exp. - * gdb.btrace/nexti.exp: Merged into stepi.exp. - * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using - "record goto" and checking the exact replay position. - * gdb.btrace/stepi.exp: Choose test file based on target. Do not - check for "Recording format" in "info record" output. - * gdb.btrace/record_goto.exp: Choose test file based on target. - * gdb.btrace/x86-record_goto.S: Renamed into ... - * gdb.btrace/x86_64-record_goto.S: ... this. - * gdb.btrace/i686-record_goto.S: New. - * gdb.btrace/x86-tailcall.S: Renamed into ... - * gdb.btrace/x86_64-tailcall.S: ... this. - * gdb.btrace/i686-tailcall.S: New. - * gdb.btrace/x86-tailcall.c: Renamed into ... - * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two - separate statements. Update test. - * gdb.btrace/delta.exp: Use record_goto.c as test file. - * gdb.btrace/gcore.exp: Use record_goto.c as test file. - * gdb.btrace/nohist.exp: Use record_goto.c as test file. - * gdb.btrace/tailcall.exp: Choose test file based on target. - * gdb.btrace/Makefile.in: Remove next, finish, and nexti. - -2015-03-25 Markus Metzger - - * gdb.btrace/exception.exp: Increase BTS buffer size. - -2015-03-24 Pedro Alves - - * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all". - -2015-03-24 Pedro Alves - - * gdb.threads/schedlock.exp (test_step): No longer expect that - "set scheduler-locking step" with "next" over a function call runs - threads unlocked. - -2015-03-24 Antoine Tremblay - - * gdb.mi/mi-pending.exp: Fix output of breakpoint test. - -2015-03-24 Antoine Tremblay - - PR breakpoints/16466 - * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup. - * gdb.mi/mi-pending.c (thread_func): New function. - (int main): Add threading support required. - * gdb.mi/mi-pending.exp: Add tests for this issue. - * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency. - (pendfunc2): Remove stdio dependency. - * gdb.mi/mi-pendshr2.c: New file. - -2015-03-23 Keith Seitz - - * gdb.linespec/keywords.c: New file. - * gdb.linespec/keywords.exp: New file. - -2015-03-23 Keith Seitz - - PR gdb/18021 - * gdb.dwarf2/staticvirtual.exp: New test. - -2015-03-20 Jan Kratochvil - - * Makefile.in (ALL_SUBDIRS): Remove gdb.hp. - * README: Remove HP-UX and gdb.hp. - (configuration): - * configure: Regenerate. - * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile, - gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile, - gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile, - gdb.hp/gdb.defects/Makefile. - * gdb.hp/Makefile.in: File deleted. - * gdb.hp/gdb.aCC/Makefile.in: File deleted. - * gdb.hp/gdb.aCC/optimize.c: File deleted. - * gdb.hp/gdb.aCC/optimize.exp: File deleted. - * gdb.hp/gdb.aCC/run.c: File deleted. - * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted. - * gdb.hp/gdb.base-hp/Makefile.in: File deleted. - * gdb.hp/gdb.base-hp/callfwmall.c: File deleted. - * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted. - * gdb.hp/gdb.base-hp/dollar.c: File deleted. - * gdb.hp/gdb.base-hp/dollar.exp: File deleted. - * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted. - * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted. - * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted. - * gdb.hp/gdb.base-hp/pxdb.c: File deleted. - * gdb.hp/gdb.base-hp/pxdb.exp: File deleted. - * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted. - * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted. - * gdb.hp/gdb.base-hp/reg.exp: File deleted. - * gdb.hp/gdb.base-hp/reg.s: File deleted. - * gdb.hp/gdb.base-hp/sized-enum.c: File deleted. - * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted. - * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted. - * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted. - * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted. - * gdb.hp/gdb.compat/Makefile.in: File deleted. - * gdb.hp/gdb.compat/average.c: File deleted. - * gdb.hp/gdb.compat/sum.c: File deleted. - * gdb.hp/gdb.compat/xdb.c: File deleted. - * gdb.hp/gdb.compat/xdb0.c: File deleted. - * gdb.hp/gdb.compat/xdb0.h: File deleted. - * gdb.hp/gdb.compat/xdb1.c: File deleted. - * gdb.hp/gdb.compat/xdb1.exp: File deleted. - * gdb.hp/gdb.compat/xdb2.exp: File deleted. - * gdb.hp/gdb.compat/xdb3.exp: File deleted. - * gdb.hp/gdb.defects/Makefile.in: File deleted. - * gdb.hp/gdb.defects/bs14602.c: File deleted. - * gdb.hp/gdb.defects/bs14602.exp: File deleted. - * gdb.hp/gdb.defects/solib-d.c: File deleted. - * gdb.hp/gdb.defects/solib-d.exp: File deleted. - * gdb.hp/gdb.defects/solib-d1.c: File deleted. - * gdb.hp/gdb.defects/solib-d2.c: File deleted. - * gdb.hp/gdb.objdbg/Makefile.in: File deleted. - * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted. - * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted. - * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted. - * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted. - * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted. - * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted. - * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted. - * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted. - * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted. - * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted. - * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted. - * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted. - * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted. - * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted. - * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted. - * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted. - * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted. - * gdb.hp/gdb.objdbg/tools/symaddr: File deleted. - * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted. - * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted. - * gdb.hp/tools/odump: File deleted. - -2015-03-19 Pedro Alves - - * gdb.threads/continue-pending-status.exp (saw_thread_2) - (saw_thread_3): New globals. - (top level): Increment them when an event for the corresponding - thread is seen. - (no thread starvation): New test. - -2015-03-19 Pedro Alves - - * gdb.threads/continue-pending-status.c: New file. - * gdb.threads/continue-pending-status.exp: New file. - -2015-03-18 Pedro Alves - - * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): - Use gdb_is_target_remote instead of is_remote. Use - gdb_test_multiple instead of gdb_expect. Exit early if - gdb_test_multiple hits its internal matches. Tighten stepi tests - expected output. Fail on exit with any signal, instead of just - SIGILL. - -2015-03-18 Yao Qi - - PR tdep/18107 - * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New - variable. - * gdb.base/catch-syscall.exp: Don't skip it on - aarch64*-*-linux* target. Remove elements in all_syscalls. - (test_catch_syscall_multi_arch): Skip it on aarch64*-linux* - target. - (setup_all_syscalls): New proc. - -2015-03-16 Yao Qi - - * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc. - (top level): Skip tests if valid_addr_p returns false for - $cmd1 or $cmd2. - -2015-03-11 Andy Wingo - - * gdb.guile/scm-objfile.exp: Add objfile-progspace test. - -2015-03-11 Yao Qi - - * gdb.base/catch-syscall.exp: Fix typo in comments. - -2015-03-11 Yao Qi - - * gdb.base/catch-syscall.exp: Skip it on HP-UX target. - -2015-03-09 Pedro Alves - - * dg-extract-results.py: Delete. - -2015-03-09 Pedro Alves - - Merge dg-extract-results.sh from GCC upstream (r218843). - - 2014-12-17 Sergio Durigan Junior - * dg-extract-results.sh: Use --text with grep to avoid issues with - binary files. Fall back to cat -v, if that doesn't work. - -2015-03-05 Pedro Alves - - * gdb.base/bp-permanent.exp: Tighten "next over setup" regex. - -2015-03-04 Simon Marchi - - * lib/mi-support.exp (mi_expect_interrupt): Accept - alternative event for when in all-stop mode. - -2015-03-04 Pedro Alves - - * gdb.threads/thread-specific-bp.exp: Delete "info threads" test. - -2015-03-04 Mark Kettenis - - * gdb.base/foll-fork.exp: Enable on *-*-openbsd*. - -2015-03-04 Andreas Arnez - - * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the - regexps for GDB's current line display, accept a hex address - preceding the line number. - -2015-03-04 Andreas Arnez - - * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set - the 'arch1' variable for "s390*-linux*" targets. - -2015-03-04 Pedro Alves - - * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h. - (main): Pass missing retval argument to pthread_join call. - -2015-03-02 Pedro Alves - - * gdb.threads/thread-execl.exp (do_test): Handle non-stop. - (top level): Call do_test with non-stop as well. - -2015-03-02 Pedro Alves - - * lib/gdb.exp (gdb_test_multiple) : Set result to - -1. - -2015-03-02 Andreas Arnez - - * gdb.arch/s390-vregs.exp: New test. - * gdb.arch/s390-vregs.S: New file. - -2015-02-27 Pedro Alves - - * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust - call to catch_command_errors. - * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to - catch_command_errors. - -2015-02-27 Pedro Alves - - * gdb.gdb/complaints.exp (test_initial_complaints): Also accept - "true" for boolean result. - * gdb.gdb/selftest.exp (test_with_self): Also accept full - prototype of main. - -2015-02-27 Pedro Alves - - * lib/unbuffer_output.c: New file. - * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c". - (main): Call gdb_unbuffer_output. - -2015-02-27 Yao Qi - - * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux* - target. - -2015-02-26 Doug Evans - - * gdb.cp/class2.cc (Dbase, D): New classes. - (main): New local delta. - * gdb.cp/class2.exp: Test printing delta. - * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes. - (dynbar): New global. - * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar. - -2015-02-26 Jan Kratochvil - - * gdb.compile/compile-ifunc.c: New file. - * gdb.compile/compile-ifunc.exp: New file. - -2015-02-26 Antoine Tremblay - - * gdb.base/structs.exp: Check for correct struct on finish. - -2015-02-26 Yao Qi - - * lib/dwarf.exp (function_range): Adjust pattern when $func_length - is zero. - -2015-02-26 Jan Kratochvil - - * gdb.arch/cordic.ko.bz2: New file. - * gdb.arch/cordic.ko.debug.bz2: New file. - * gdb.arch/ppc64-symtab-cordic.exp: New file. - -2015-02-25 Yao Qi - - * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for - aarch64*-*-* target. - -2015-02-23 Pedro Alves - - * lib/gdb.exp (delete_breakpoints): Rewrite using - gdb_test_multiple. - -2015-02-23 Pedro Alves - - * gdb.base/info-os.c: Include stdlib.h. - -2015-02-22 Doug Evans - - PR symtab/17855 - * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache - is read after symbols have been re-read. - * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me. - * gdb.ada/exec_changed/second.adb (Second): Ditto. - -2015-02-21 Doug Evans - - * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'. - -2015-02-21 Jan Kratochvil - - PR corefiles/17808 - * gdb.arch/i386-biarch-core.core.bz2: New file. - * gdb.arch/i386-biarch-core.exp: New file. - -2015-02-21 Pedro Alves - - * gdb.threads/multi-create-ns-info-thr.exp: Return early if - runto_main fails. - -2015-02-20 Pedro Alves - - * gdb.base/solib-corrupted.exp: Expect "stap" as first column of - info probes. - -2015-02-20 Pedro Alves - - * gdb.threads/multi-create-ns-info-thr.exp: New file. - -2015-02-20 Pedro Alves - - * gdb.trace/no-attach-trace.exp: Don't run to main. Do - clean_restart before gdb_target_supports_trace. - -2015-02-20 Pedro Alves - - PR threads/18006 - * gdb.threads/clone-thread_db.c: New file. - * gdb.threads/clone-thread_db.exp: New file. - -2015-02-19 Antoine Tremblay - - PR breakpoints/16812 - * gdb.base/catch-gdb-caused-signals.c: New file. - * gdb.base/catch-gdb-caused-signals.exp: New file. - -2015-02-18 Jose E. Marchesi - - * configure: Regenerated. - * configure.ac: Use GDB_AC_TRANSFORM. - * aclocal.m4: sinclude ../transform.m4. - -2015-02-17 Jose E. Marchesi - - * lib/dtrace.exp: New file. - * gdb.base/dtrace-probe.exp: Likewise. - * gdb.base/dtrace-probe.d: Likewise. - * gdb.base/dtrace-probe.c: Likewise. - * lib/pdtrace.in: Likewise. - * configure.ac: Output variables with the transformed names of - the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in. - * configure: Regenerated. - -2015-02-17 Jose E. Marchesi - - * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from - expected message when trying to access $_probe_* convenience - variables while not on a probe. - -2015-02-11 Jan Kratochvil - - * gdb.python/py-framefilter.exp (pagination quit - *): New tests. - -2015-02-11 Pedro Alves - - * gdb.threads/step-bg-decr-pc-switch-thread.c: New file. - * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file. - -2015-02-10 Doug Evans - - * lib/gdb.exp (gdb_load): Always return a result. - -2015-02-10 Pedro Alves - - * gdb.threads/signal-sigtrap.c: New file. - * gdb.threads/signal-sigtrap.exp: New file. - -2015-02-10 Antoine Tremblay - - * gdb.trace/no-attach-trace.c: New file. - * gdb.trace/no-attach-trace.exp: New file. - -2015-02-09 Mark Wielaard - - * gdb.dwarf2/atomic.c: New file. - * gdb.dwarf2/atomic-type.exp: Likewise. - -2015-02-09 Markus Metzger - - * gdb.btrace/buffer-size.exp: Update "info record" output. - * gdb.btrace/delta.exp: Update "info record" output. - * gdb.btrace/enable.exp: Update "info record" output. - * gdb.btrace/finish.exp: Update "info record" output. - * gdb.btrace/instruction_history.exp: Update "info record" output. - * gdb.btrace/next.exp: Update "info record" output. - * gdb.btrace/nexti.exp: Update "info record" output. - * gdb.btrace/step.exp: Update "info record" output. - * gdb.btrace/stepi.exp: Update "info record" output. - * gdb.btrace/nohist.exp: Update "info record" output. - -2015-02-09 Markus Metzger - - * gdb.btrace/buffer-size: New. - -2015-02-09 Markus Metzger - - * gdb.btrace/delta.exp: Update "info record" output. - * gdb.btrace/enable.exp: Update "info record" output. - * gdb.btrace/finish.exp: Update "info record" output. - * gdb.btrace/instruction_history.exp: Update "info record" output. - * gdb.btrace/next.exp: Update "info record" output. - * gdb.btrace/nexti.exp: Update "info record" output. - * gdb.btrace/step.exp: Update "info record" output. - * gdb.btrace/stepi.exp: Update "info record" output. - * gdb.btrace/nohist.exp: Update "info record" output. - -2015-02-06 Simon Marchi - - PR gdb/15678 - * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input. - -2015-02-06 Pedro Alves - - * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New - macro. - (seconds_left, again): New globals. - (main): Wait seconds_left in a 1-second sleep loop instead of - sleeping 180 seconds. If 'again' is set, reset the seconds - counter. - * gdb.threads/attach-many-short-lived-threads.exp (test): Set - 'again' in the inferior before detaching. Print the seconds left. - (options): New global. - (top level): Build program with -DTIMEOUT=$timeout. - -2015-02-06 Pedro Alves - - * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to - determine how many seconds to pass to 'alarm'. - * gdb.base/gdb-sigterm.exp (top level): Build program with - -DTIMEOUT=$timeout. - (do_test): Return success/failure indication. Add more verbose - logging. Don't fail if 200 single steps are seen. Instead, fail - when the test times out. - (passes): New global. - (top level): Break the testing loop if testing fails on any - iteration. Use gdb_assert. - -2015-02-04 Don Breazeal - - * gdb.base/info-os.c (shmid, semid, msqid): Make variables static - and initialize them. - (ipc_cleanup): New function. - (main): Don't declare shmid, semid, and msqid. Add a call to - atexit so that we call ipc_cleanup on exit. - -2015-02-04 Pedro Alves - - * boards/native-extended-gdbserver.exp: Remove any target variant - specifications from the board name before clearing the isremote - flag from board_info. - -2015-01-31 Doug Evans - - * gdb.base/maint.exp : Update expected output. - -2015-01-31 Gary Benson - - * gdb.base/completion.exp: Disable completion limiting for - existing tests. Add new tests to check completion limiting. - * gdb.linespec/ls-errs.exp: Disable completion limiting. - -2015-01-31 Doug Evans - - * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12. - -2015-01-31 Doug Evans - - * gdb.guile/scm-section-script.c: Add duplicate inlined section script - entries. Duplicate file section script entries. - * gdb.guile/scm-section-script.exp: Add tests for duplicate entries, - inlined entries. Add test for safe-path rejection. - * gdb.python/py-section-script.c: Add duplicate inlined section script - entries. Duplicate file section script entries. - * gdb.python/py-section-script.exp: Add tests for duplicate entries, - inlined entries. Add test for safe-path rejection. - -2015-01-29 Joel Brobecker - - * gdb.ada/disc_arr_bound: New testcase. - -2015-01-29 Joel Brobecker - - * gdb.ada/mi_var_array: New testcase. - -2015-01-27 Doug Evans - - * gdb.python/py-objfile.exp: Add tests for objfile.username. - Add test for objfile.filename, objfile.username after objfile - has been unloaded. - -2015-01-26 Joel Brobecker - - * gdb.python/py-lookup-type.exp (test_lookup_type): Change - the second test to print the name attribute of value - returned by the call to gdb.lookup_type, and adjust - the expected output accordingly. - -2015-01-25 Mark Wielaard - - * gdb.arch/i386-bp_permanent.c (standard): New declaration. - * gdb.base/disp-step-fork.c: Include unistd.h. - * gdb.base/siginfo-obj.c: Include stdio.h. - * gdb.base/siginfo-thread.c: Likewise. - * gdb.mi/non-stop.c: Include unistd.h. - * gdb.mi/nsthrexec.c: Include stdio.h. - * gdb.mi/pthreads.c: Include unistd.h. - * gdb.modula2/unbounded1.c (main): Declare returns int. - * gdb.reverse/consecutive-reverse.c: Likewise. - * gdb.threads/create-fail.c: Include unistd.h. - * gdb.threads/killed.c: Likewise. - * gdb.threads/linux-dp.c: Likewise. - * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h. - * gdb.threads/non-ldr-exc-2.c: Likewise. - * gdb.threads/non-ldr-exc-3.c: Likewise. - * gdb.threads/non-ldr-exc-4.c: Likewise. - * gdb.threads/pthreads.c: Include unistd.h. - (main): Declare returns int. - * gdb.threads/tls-main.c (foo): New declaration. - * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE. - -2015-01-23 Simon Marchi - - * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file. - * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file. - -2015-01-15 Mark Wielaard - - * gdb.base/noreturn-return.c: New file. - * gdb.base/noreturn-return.exp: New file. - * gdb.base/noreturn-finish.c: New file. - * gdb.base/noreturn-finish.exp: New file. - -2015-01-23 Pedro Alves - - * gdb.threads/continue-pending-after-query.c: New file. - * gdb.threads/continue-pending-after-query.exp: New file. - -2015-01-22 Anders Granlund - Simon Marchi - - * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id. - * gdb.base/valgrind-db-attach.exp: Same. - * gdb.base/valgrind-infcall.exp: Same. - * lib/mi-support.exp (default_mi_gdb_start): Same. - * lib/prompt.exp (default_prompt_gdb_start): Same. - * lib/gdb.exp (default_gdb_spawn): Same. - (gdb_interact): New. - - -2015-01-22 Jan Kratochvil - - * gdb.compile/compile.exp (pointer to jit function): New test. - -2015-01-17 Wei-cheng Wang - - * lib/gdb.exp (supports_process_record): Return true for - powerpc*-*-linux*. - (supports_reverse): Likewise. - -2015-01-15 Don Breazeal - - * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach - instead of checking whether the target board is remote and - use spawn_wait_for_attach instead of exec/sleep. - * gdb.base/attach-twice.exp: Likewise. - -2015-01-15 Joel Brobecker - - * gdb.ada/var_arr_attrs: New testcase. - -2015-01-14 Pedro Alves - Joel Brobecker - - PR gdb/17525 - * gdb.base/bp-cmds-execution-x-script.c: New file. - * gdb.base/bp-cmds-execution-x-script.exp: New file. - * gdb.base/bp-cmds-execution-x-script.gdb: New file. - -2015-01-14 Pedro Alves - - PR cli/17828 - * gdb.base/batch-preserve-term-settings.c: New file. - * gdb.base/batch-preserve-term-settings.exp: New file. - -2015-01-13 Doug Evans - - * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked - binary. - -2015-01-13 Joel Brobecker - - * Makefile.in (clean mostlyclean): Do not delete *.py. - -2015-01-13 Joel Brobecker - - * gdb.python/py-lookup-type.exp: New file. - -2015-01-12 Pedro Alves - - * gdb.python/py-prompt.exp: When the board can't spawn for attach, - restore GDBFLAGS before returning. - -2015-01-12 Jan Kratochvil - - * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use - is_amd64_regs_target and is_x86_like_target. - -2015-01-11 Doug Evans - - * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value - is given without an explicit form. - * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric - attributes. - * gdb.dwarf/corrupt.exp: Ditto. - * gdb.dwarf2/enum-type.exp: Ditto. - * gdb.trace/entry-values.exp: Ditto. - * gdb.trace/unavailable-dwarf-piece.exp: Ditto. - -2015-01-11 Doug Evans - - PR gdb/15830 - * gdb.base/maint.exp: Remove references to "maint demangle". - * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle". - Add tests for explicitly specifying language to demangle. - * gdb.dlang/demangle.exp: Ditto. - -2015-01-09 Pedro Alves - - * gdb.threads/non-stop-fair-events.c: New file. - * gdb.threads/non-stop-fair-events.exp: New file. - -2015-01-09 Pedro Alves - - * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from - the global scope. Set a breakpoint after all threads are started - rather than stepping over two source lines. Expect the prompt. - * gdb.base/watch_thread_num.c (threads_started_barrier): New - global. - (NUM): Now 15. - (main): Use threads_started_barrier to wait for all threads to - start. Main thread no longer calls thread_function. Exit after - 180 seconds. - (loop): New function. - (thread_function): Wait on threads_started_barrier barrier. Call - 'loop' at each iteration. - * gdb.base/watch_thread_num.exp: Continue to breakpoint after all - threads have started, instead of hardcoding number of "next" - steps. Use an access watchpoint instead of a write watchpoint. - -2015-01-09 Pedro Alves - - * gdb.threads/ia64-sigill.c (threads_started_barrier): New global. - (thread_func): Wait on barrier. - (main): Wait for all threads to start before stopping GDB. - * gdb.threads/siginfo-threads.c (threads_started_barrier): New - global. - (thread1_func, thread2_func): Wait on barrier. - (main): Wait for all threads to start before stopping GDB. - * gdb.threads/watchthreads-reorder.c (threads_started_barrier): - New global. - (thread1_func, thread2_func): Wait on barrier. - (main): Wait for all threads to start before stopping GDB. - -2015-01-09 Pedro Alves - - * gdb.threads/attach-many-short-lived-threads.c: New file. - * gdb.threads/attach-many-short-lived-threads.exp: New file. - -2014-01-09 Pedro Alves - - * gdb.threads/fork-thread-pending.exp: Switch to the main thread - instead of to thread 2. - * gdb.threads/signal-command-multiple-signals-pending.c (main): - Add barrier around each pthread_create call instead of around all - calls. - * gdb.threads/signal-command-multiple-signals-pending.exp (test): - Set a break on thread_function and have the child threads hit it - one at at a time. - -2015-01-09 Pedro Alves - - * lib/gdb.exp (can_spawn_for_attach): New procedure. - (spawn_wait_for_attach): Error out if can_spawn_for_attach returns - false. - * gdb.base/attach.exp: Use can_spawn_for_attach instead of - checking whether the target board is remote. - * gdb.multi/multi-attach.exp: Likewise. - * gdb.python/py-sync-interp.exp: Likewise. - * gdb.server/ext-attach.exp: Likewise. - * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the - tests that need to attach, instead of checking whether the target - board is remote at the top of the file. - -2015-01-08 Yao Qi - - * gdb.trace/entry-values.exp: Set call_insn for MIPS target. - -2015-01-07 Jan Kratochvil - - Fix testcase compilation. - * gdb.arch/i386-avx512.exp (comp_flags): Remove /common. - -2015-01-06 Joel Brobecker - - * gdb.python/py-type.exp: Add a couple test about empty - array creation, and negative-length array creation. - -2015-01-02 Doug Evans - - * gdb.cp/nsalias.exp: Fix output of external/declaration flags. - -2015-01-02 Doug Evans - - * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc. - -2014-12-29 Yao Qi - - * gdb.trace/entry-values.exp: Update comments. Rename variable - bar_call_foo to returned_from_foo. - -2014-12-20 Mihail-Marian Nistor - - PR gdb/17394 - * gdb.linespec/break-asm-file.c: New file. - * gdb.linespec/break-asm-file.exp: New file. - * gdb.linespec/break-asm-file0.s: New file. - * gdb.linespec/break-asm-file1.s: New file. - -2014-12-18 Nigel Stephens - Maciej W. Rozycki - - * gdb.base/float.exp: Handle the new output from "info float" on - MIPS targets. - -2014-12-17 Jan Kratochvil - - Fix MinGW compilation. - * gdb.compile/compile-ops.exp: Update untested message if - !skip_compile_feature_tests. - * gdb.compile/compile-setjmp.exp: Likewise. - * gdb.compile/compile-tls.exp: Likewise. - * gdb.compile/compile.exp: Likewise. - * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not - supported on this host". - -2014-12-16 Doug Evans - - * boards/stabs.exp: New file. - -2014-12-16 Andreas Arnez - - * gdb.base/completion.exp: Adjust to format changes of "maint - print user-registers". - -2014-12-16 Catalin Udma - - PR server/17457 - * gdb.arch/aarch64-fp.c: New file. - * gdb.arch/aarch64-fp.exp: New file. - -2014-12-15 Sergio Durigan Junior - - Merge dg-extract-results.{sh,py} from GCC upstream (r210243, - r210637, r210913, r211666, r215400, r215817). - - 2014-05-08 Richard Sandiford - * dg-extract-results.py: New file. - * dg-extract-results.sh: Use it if the environment seems - suitable. - - 2014-05-20 Richard Sandiford - - * dg-extract-results.py (parse_run): Handle warnings that - are printed before a test harness is run. - - 2014-05-25 Richard Sandiford - - * dg-extract-results.py (Named): Remove __cmp__ method. - (output_variation): Use a key to sort variation.harnesses. - - 2014-06-14 Richard Sandiford - - * dg-extract-results.py: For Python 3, force sys.stdout to - handle surrogate escape sequences. - (safe_open): New function. - (output_segment, main): Use it. - - 2014-09-19 Segher Boessenkool - - * dg-extract-results.py (Prog.result_re): Include options - in test name. - - 2014-10-02 Segher Boessenkool - - * dg-extract-results.py (output_variation): Always sort if - do_sum. - -2014-12-15 Simon Marchi - - * lib/gdb.exp (default_gdb_start): After starting gdb, loop - as long as we get pagination notifications. - -2014-12-15 Jason Merrill - - * Makefile.in (check-gdb.%): Restore. - * README: Mention it. - -2014-12-13 Joel Brobecker - - * gdb.ada/str_uninit: New testcase. - -2014-12-13 Jan Kratochvil - - PR symtab/17642 - * gdb.base/vla-stub-define.c: New file. - * gdb.base/vla-stub.c: New file. - * gdb.base/vla-stub.exp: New file. - -2014-12-12 Phil Muldoon - Jan Kratochvil - Tom Tromey - - * configure.ac: Add gdb.compile/. - * configure: Regenerate. - * gdb.compile/Makefile.in: New file. - * gdb.compile/compile-ops.exp: New file. - * gdb.compile/compile-ops.c: New file. - * gdb.compile/compile-tls.c: New file. - * gdb.compile/compile-tls.exp: New file. - * gdb.compile/compile-constvar.S: New file. - * gdb.compile/compile-constvar.c: New file. - * gdb.compile/compile-mod.c: New file. - * gdb.compile/compile-nodebug.c: New file. - * gdb.compile/compile-setjmp-mod.c: New file. - * gdb.compile/compile-setjmp.c: New file. - * gdb.compile/compile-setjmp.exp: New file. - * gdb.compile/compile-shlib.c: New file. - * gdb.compile/compile.c: New file. - * gdb.compile/compile.exp: New file. - * lib/gdb.exp (skip_compile_feature_tests): New proc. - -2014-12-12 Tom Tromey - - * lib/dwarf.exp (_location): Ignore blank lines. Allow comments. - Handle DW_OP_pick, DW_OP_skip, DW_OP_bra. - -2014-12-12 Doug Evans - - * lib/gdb-python.exp (get_python_valueof): New function. - * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile. - -2014-12-12 Andreas Arnez - - * gdb.base/completion.exp: Add test for completion of "info - registers ". - -2014-12-12 Maciej W. Rozycki - - * gdb.base/func-ptrs.c: New file. - * gdb.base/func-ptrs.exp: New file. - -2014-12-10 Simon Marchi - - PR breakpoints/17012 - * gdb.base/dprintf-detach.c: New file. - * gdb.base/dprintf-detach.exp: New file. - -2014-12-10 Simon Marchi - - * gdb.trace/qtro.exp: Replace gdbserver detection code by... - * lib/gdb.exp (target_is_gdbserver): New procedure. - -2014-12-08 Doug Evans - - * gdb.python/py-objfile.exp: Add tests for objfile.owner. - -2014-12-05 Yao Qi - - * gdb.guile/scm-error.exp: Remove the third argument to - gdb_remote_download. - * gdb.guile/scm-frame-args.exp: Likewise. - * gdb.guile/scm-section-script.exp: Likewise. - -2014-12-05 Yao Qi - - * gdb.arch/i386-bp_permanent.exp: Use standard_testfile. - -2014-12-04 Doug Evans - - * gdb.python/py-objfile.exp: Add tests for - objfile.add_separate_debug_file. - -2014-12-04 Doug Evans - - * lib/gdb.exp (get_build_id): New function. - (build_id_debug_filename_get): Rewrite to use it. - * gdb.python/py-objfile.exp: Add test for objfile.build_id. - -2014-12-04 Maciej W. Rozycki - - * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of - `method(long)', not just 0x0. - * gdb.cp/nsalias.exp: Align code labels to 4. - * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes. - * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise. - * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise. - * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro. - (cu_text_start, FUNC_lang_start): Use `START_INSNS'. - * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints. - -2014-12-02 Doug Evans - - PR symtab/17602 - * gdb.cp/anon-ns.cc: Move guts of this file to ... - * gdb.cp/anon-ns2.cc: ... here. New file. - * gdb.cp/anon-ns.exp: Update. - -2014-12-02 Nick Bull - - * gdb.python/py-events.py (inferior_call_handler): New. - (register_changed_handler, memory_changed_handler): New. - (test_events.invoke): Register new handlers. - * gdb.python/py-events.exp: Add tests for inferior call, - memory_changed and register_changed events. - -2014-12-02 Andreas Arnez - - * gdb.base/execl-update-breakpoints.exp: Specify the link address - with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext' - if the linker doesn't understand this. - -2014-12-01 Simon Marchi - - * gdb.python/python.exp: Change expected reply to help(). - -2014-12-01 Yao Qi - - * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke - AC_CONFIG_SUBDIRS(gdb.gdbtk). - * configure: Re-generated. - -2014-11-28 Siva Chandra Reddy - - * gdb.cp/chained-calls.cc: New file. - * gdb.cp/chained-calls.exp: New file. - * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta". - -2014-11-28 Simon Marchi - - * gdb.ada/py_range.exp: Add parentheses to python calls to print. - * gdb.dwarf2/symtab-producer.exp: Same. - * gdb.gdb/python-interrupts.exp: Same. - * gdb.gdb/python-selftest.exp: Same. - * gdb.python/py-linetable.exp: Same. - * gdb.python/py-type.exp: Same. - * gdb.python/py-value-cc.exp: Same. - * gdb.python/py-value.exp: Same. - -2014-11-28 Yao Qi - - * gdb.base/break-probes.exp: Match library name prefixed with - sysroot. - -2014-11-27 Simon Marchi - - * gdb.python/py-linetable.exp: Escape properly sorted(fset) - test expected output. Add parentheses for the call to print. - Remove L suffix from integers. - -2014-11-26 Doug Evans - - * gdb.dwarf2/dw2-op-out-param.S: Fix comment. - -2014-11-22 Yao Qi - - * gdb.trace/entry-values.c: Remove asms. - (foo): Add foo_label. - (bar): Add bar_label. - * gdb.trace/entry-values.exp: Remove code computing foo's - length and bar's length. - (Dwarf::assemble): Invoke function_range for bar and use - MACRO_AT_func for foo. - -2014-11-22 Yao Qi - - * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart - and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42. - Use .Lgcc43_procstart instead of gcc43. - -2014-11-21 Joel Brobecker - - * gdb.ada/n_arr_bound: New testcase. - -2014-11-20 Sergio Durigan Junior - - PR breakpoints/10737 - * gdb.base/catch-syscall.exp (do_syscall_tests): Call - test_catch_syscall_multi_arch. - (test_catch_syscall_multi_arch): New function. - -2014-11-20 Doug Evans - - * gdb.base/maint.exp: Update expected output. - -2014-11-19 Andreas Arnez - - * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of - 4-byte instruction on S390. - -2014-11-19 Joel Brobecker - - * gdb.ada/arr_arr: New testcase. - -2014-11-19 Joel Brobecker - - * gdb.ada/pkd_arr_elem: New Testcase. - -2014-11-18 Luis Machado - - * gdb.reverse/break-precsave: Expect completion message for - core file reads. - * gdb.reverse/consecutive-precsave.exp: Likewise. - * gdb.reverse/finish-precsave.exp: Likewise. - * gdb.reverse/i386-precsave.exp: Likewise. - * gdb.reverse/machinestate-precsave.exp: Likewise. - * gdb.reverse/sigall-precsave.exp: Likewise. - * gdb.reverse/solib-precsave.exp: Likewise. - * gdb.reverse/step-precsave.exp: Likewise. - * gdb.reverse/until-precsave.exp: Likewise. - * gdb.reverse/watch-precsave.exp: Likewise. - -2014-11-17 Andreas Arnez - - * gdb.base/bp-permanent.c: Include unistd.h. - * gdb.python/py-framefilter-mi.c (main): Add return type. - * gdb.python/py-framefilter.c (main): Likewise. - * gdb.trace/actions-changed.c (main): Likewise. - -2014-11-17 Andreas Arnez - - * gdb.mi/until.c: Add eye-catchers. - * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal - line numbers. - -2014-11-17 Andreas Arnez - - * gdb.base/condbreak.exp: Drop references to removed non-prototype - function header variants in break1.c. - * gdb.base/ena-dis-br.exp: Likewise. - * gdb.base/hbreak2.exp: Likewise. - * gdb.reverse/until-precsave.exp: Drop references to removed - non-prototype function header variants in ur1.c. - * gdb.reverse/until-reverse.exp: Likewise. - -2014-11-17 Petr Machata - - * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit - ${_cu_offset_size} bytes abbrev offset. - -2014-11-15 Doug Evans - - PR symtab/17559 - * gdb.base/line-symtabs.exp: New file. - * gdb.base/line-symtabs.c: New file. - * gdb.base/line-symtabs.h: New file. - -2014-11-14 Yao Qi - - * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm. - (func): Add label func_label. - * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): - Replace low_pc and high_pc with MACRO_AT_range. - Replace name, low_pc and high_pc with MACRO_AT_func. - -2014-11-14 Yao Qi - - * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble): - Replace name, low_pc and high_pc with MACRO_AT_func. - -2014-11-14 Yao Qi - - * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to - produce debug information. - * gdb.dwarf2/implptr-optimized-out.S: Removed. - -2014-11-14 Yao Qi - - * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to - object and get function length. - (Dwarf::assemble): Replace name, low_pc and high_pc attributes - with MACRO_AT_func. - (top-level): Replace gdb_compile and clean_restart with - prepare_for_testing. - * gdb.dwarf2/main.c (main): Add label main_label. - -2014-11-14 Yao Qi - - * lib/dwarf.exp (function_range): New procedure. - (Dwarf::_handle_macro_at_func): New procedure. - (Dwarf::_handle_macro_at_range): New procedure. - (Dwarf): Handle MACRO_AT_func and MACRO_AT_range. - -2014-11-14 Yao Qi - - * lib/dwarf.exp (_handle_DW_TAG): Move some code to ... - (_handle_attribute): New procedure. - -2014-11-13 Andreas Arnez - - * gdb.ada/cond_lang/foo.c (callme): Add return type. - * gdb.base/call-sc.c (zed): Likewise. - * gdb.base/checkpoint.c (main): Likewise. - * gdb.base/dump.c (main): Likewise. - * gdb.base/gcore.c (main): Likewise. - * gdb.base/huge.c (main): Likewise. - * gdb.base/multi-forks.c (main): Likewise. - * gdb.base/pr10179-a.c (main): Likewise. - * gdb.base/savedregs.c (main): Likewise. - * gdb.base/sigaltstack.c (main): Likewise. - * gdb.base/siginfo.c (main): Likewise. - * gdb.base/structs.c (zed): Likewise. - * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise. - * gdb.mi/mi-syn-frame.c (main): Likewise. - * gdb.mi/until.c (foo, main): Likewise. - * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare. - * gdb.base/solib-weak.c (foo): Declare. - * gdb.base/attach-twice.c: Include stdio.h. - * gdb.base/weaklib1.c: Likewise. - * gdb.base/weaklib2.c: Likewise. - * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h. - * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and - unistd.h. - * gdb.base/attach-pie-misread.c: Include stdlib.h. - * gdb.mi/mi-exit-code.c: Likewise. - * gdb.base/break-interp-lib.c: Include string.h. - * gdb.base/coremaker.c: Likewise. - * gdb.base/testenv.c: Likewise. - * gdb.python/py-finish-breakpoint.c: Likewise. - * gdb.base/inferior-died.c: Include sys/wait.h. - * gdb.base/fileio.c: Include time.h. - * gdb.base/async-shell.c: Include unistd.h. - * gdb.base/dprintf-non-stop.c: Likewise. - * gdb.base/info-os.c: Likewise. - * gdb.mi/mi-console.c: Likewise. - * gdb.mi/watch-nonstop.c: Likewise. - * gdb.python/py-events.c: Likewise. - * gdb.base/async.c (baz): Move up before its invocation. - * gdb.base/code_elim2.c (my_global_func): Likewise. - * gdb.base/skip-solib-lib.c (multiply): Likewise. - * gdb.base/advance.c (func2): Likewise. - -2014-11-13 Andreas Arnez - - * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped - variant. - * gdb.base/annota3.c: Likewise. - * gdb.base/async.c: Likewise. - * gdb.base/average.c: Likewise. - * gdb.base/call-ar-st.c: Likewise. - * gdb.base/call-rt-st.c: Likewise. - * gdb.base/call-sc.c: Likewise. - * gdb.base/call-strs.c: Likewise. - * gdb.base/ending-run.c: Likewise. - * gdb.base/execd-prog.c: Likewise. - * gdb.base/exprs.c: Likewise. - * gdb.base/foll-exec.c: Likewise. - * gdb.base/foll-fork.c: Likewise. - * gdb.base/foll-vfork.c: Likewise. - * gdb.base/funcargs.c: Likewise. - * gdb.base/gcore.c: Likewise. - * gdb.base/jump.c: Likewise. - * gdb.base/langs0.c: Likewise. - * gdb.base/langs1.c: Likewise. - * gdb.base/langs2.c: Likewise. - * gdb.base/mips_pro.c: Likewise. - * gdb.base/nodebug.c: Likewise. - * gdb.base/opaque0.c: Likewise. - * gdb.base/opaque1.c: Likewise. - * gdb.base/recurse.c: Likewise. - * gdb.base/run.c: Likewise. - * gdb.base/scope0.c: Likewise. - * gdb.base/scope1.c: Likewise. - * gdb.base/setshow.c: Likewise. - * gdb.base/setvar.c: Likewise. - * gdb.base/shmain.c: Likewise. - * gdb.base/shr1.c: Likewise. - * gdb.base/shr2.c: Likewise. - * gdb.base/sigall.c: Likewise. - * gdb.base/signals.c: Likewise. - * gdb.base/so-indr-cl.c: Likewise. - * gdb.base/solib2.c: Likewise. - * gdb.base/structs.c: Likewise. - * gdb.base/sum.c: Likewise. - * gdb.base/vforked-prog.c: Likewise. - * gdb.base/watchpoint.c: Likewise. - * gdb.reverse/shr2.c: Likewise. - * gdb.reverse/until-reverse.c: Likewise. - * gdb.reverse/ur1.c: Likewise. - * gdb.reverse/watch-reverse.c: Likewise. - -2014-11-13 Andreas Arnez - - * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped - variant. - * gdb.base/sepdebug.exp: Drop references to removed code. - -2014-11-13 Andreas Arnez - - * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped - variant. Preserve original line numbering. - * gdb.base/list1.c: Likewise. - -2014-11-13 Andreas Arnez - - * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped - variant. - * gdb.base/break1.c: Likewise. - * gdb.base/break.exp: Drop references to removed code. - -2014-11-13 Andreas Arnez - - * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped - variant. - -2014-11-13 Andreas Arnez - - * gdb.base/callfuncs.exp (perform_all_tests): Re-indent. - -2014-11-13 Andreas Arnez - - * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main - logic into perform_all_tests() and invoke it with and without - function header prototypes. - (do_function_calls): Remove conditional XFAIL for PR 5318. - (rerun_and_prepare): Remove duplicate code. - (perform_all_tests): New. Main logic moved here. - -2014-11-13 Andreas Arnez - - * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in - code guarded by #ifdef NO_PROTOTYPES. - (t_double_many_args): Likewise. - (DEF_FUNC_MANY_ARGS_1): Likewise. - (DEF_FUNC_VALUES_1): Likewise. - (t_structs_ldc): Renamed from t_structs_fc in conditional code - guarded by #ifdef PROTOTYPES. - -2014-11-13 Andreas Arnez - - * gdb.mi/mi-console.c: Add eye-catcher. - * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher - instead of literal line number. - -2014-11-13 Andreas Arnez - - * gdb.base/shr2.c: Add eye-catcher. - * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal - line number. - -2014-11-13 Andreas Arnez - - * gdb.base/jump.c: Add eye-catchers. - * gdb.base/jump.exp: Refer to eye-catchers instead of literal line - numbers. - -2014-11-13 Andreas Arnez - - * gdb.base/execd-prog.c: Add eye-catchers. - * gdb.base/foll-exec.c: Likewise. - * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal - line numbers. - -2014-11-13 Andreas Arnez - - * gdb.base/ending-run.c: Add eye-catchers. - * gdb.base/ending-run.exp: Refer to eye-catchers instead of - literal line numbers. - -2014-11-13 Andreas Arnez - - * gdb.base/call-rt-st.c: Add eye-catchers. - * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of - literal line numbers. - -2014-11-13 Andreas Arnez - - * gdb.base/call-ar-st.c: Add eye-catchers. - * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of - literal line numbers. - -2014-11-13 Andreas Arnez - - * gdb.base/average.c: Add eye-catchers. - * gdb.base/sum.c: Likewise. - * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for - regexps dynamically. - -2014-11-13 Andreas Arnez - - * gdb.base/solib1.c: Add eye-catchers. - * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of - literal line numbers. - -2014-11-12 Pedro Alves - - * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the - leader has exited. - -2014-11-12 Pedro Alves - - * gdb.arch/i386-bp_permanent.c: New file. - * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64. - (srcfile): Set to i386-bp_permanent.c. - (top level): Adjust to work in both 32-bit and 64-bit modes. Test - that stepi does not execute the 'leave' instruction, instead of - testing it does execute. - * gdb.base/bp-permanent.c: New file. - * gdb.base/bp-permanent.exp: New file. - -2014-11-10 Doug Evans - - PR symtab/17564 - * gdb.base/symtab-search-order.exp: New file. - * gdb.base/symtab-search-order.c: New file. - * gdb.base/symtab-search-order-1.c: New file. - * gdb.base/symtab-search-order-shlib-1.c: New file. - -2014-11-07 Pedro Alves - - PR gdb/17511 - * gdb.base/sigstep.exp (in_handler_map) : xfail - i?86-*-linux*. - -2014-11-03 Siva Chandra Reddy - - PR c++/17494 - * gdb.cp/pr17494.cc: New file. - * gdb.cp/pr17494.exp: New file. - -2014-11-02 Yao Qi - - * gdb.python/python.exp: Get working directory and match the - output of "set extended-prompt \\w " with it. - -2014-10-30 Doug Evans - - * gdb.python/py-objfile.exp: Add tests for setting random attributes - in objfiles. - * gdb.python/py-progspace.exp: Add tests for setting random attributes - in progspaces. - -2014-10-30 Janis Johnson - - * gdb.base/fullpath-expand.exp: Skip for a remote host. - * gdb.base/realname-expand.exp: Likewise. - * gdb.linespec/macro-relative.exp: Likewise. - -2014-10-29 Pedro Alves - - PR gdb/17408 - * gdb.threads/schedlock.c (some_function): New function. - (call_function): New global. - (MAYBE_CALL_SOME_FUNCTION): New macro. - (thread_function): Call it. - * gdb.threads/schedlock.exp (get_args): Add description parameter, - and use it instead of a global counter. Adjust all callers. - (get_current_thread): Use "find current thread" for test message - here rather than having all callers pass down the same string. - (goto_loop): New procedure, factored out from ... - (my_continue): ... this. - (step_ten_loops): Change parameter from test message to command to - use. Adjust. - (list_count): Delete global. - (check_result): New procedure, factored out from duplicate top - level code. - (continue tests): Wrap in with_test_prefix. - (test_step): New procedure, factored out from duplicate top level - code. - (top level): Test "step" in combination with all scheduler-locking - modes. Test "next" in combination with all scheduler-locking - modes, and in combination with stepping over a function call or - not. - * gdb.threads/next-bp-other-thread.c: New file. - * gdb.threads/next-bp-other-thread.exp: New file. - -2014-10-29 Pedro Alves - - PR python/17372 - * gdb.python/python.exp: Test a multi-line command that spawns - interactive Python. - * gdb.base/multi-line-starts-subshell.exp: New file. - -2014-10-29 Yao Qi - - * gdb.base/fileio.exp: Make directories on host. - -2014-10-29 Yao Qi - - * gdb.base/fileio.c (test_write): Close the file. - -2014-10-28 Pedro Alves - - PR gdb/12623 - * gdb.base/sigstep.c (no_handler): New global. - (main): If 'no_handler is true, set the signal handlers to - SIG_IGN. - * gdb.base/sigstep.exp (breakpoint_over_handler): Add - with_sw_watch and no_handler parameters. Handle them. - (top level) : Add a test axis for testing with a software watchpoint, and - another for testing with the signal handler set to SIG_IGN. - * gdb.base/step-sw-breakpoint-adjust-pc.c: New file. - * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file. - -2014-10-28 Pedro Alves - - PR gdb/17511 - * gdb.base/sigstep.c (handler): Add a few more writes to 'done'. - * gdb.base/sigstep.exp (other_handler_location): New global. - (advance): Support stepping into the signal handler, and running - commands while in the handler. - (in_handler_map): New global. - (top level): In the advance test, add combinations for getting - into the handler with stepping commands, and for running commands - in the handler. Add comment descripting the advancei tests. - -2014-10-28 Pedro Alves - - * gdb.base/sigstep.exp: Use build_executable instead of - prepare_for_testing. - (top level): Move code that starts GDB, runs to main and creates a - display to ... - (restart): ... this new procedure. - (top level): Move backtrace from signal handler test to ... - (validate_backtrace): ... this new procedure. - (advance, advancei): Rename parameter from 'i' to 'cmd'. Use - with_test_prefix. Always restart GDB. - (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use - with_test_prefix. Always restart GDB. No need to delete - breakpoints after the test. - (test_skip_handler): Remove prefix parameter. - (skip_over_handler, breakpoint_to_handler) - (breakpoint_to_handler_entry, breakpoint_over_handler): Rename - parameter from 'i' to 'cmd'. Use with_test_prefix. Always - restart GDB. No need to delete breakpoints after the test. - (top level): Use foreach to call the test procedures with - different commands. - -2014-10-28 Pedro Alves - - * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers - instead of GNATS numbers. - * gdb.base/sigbpt.exp: Likewise. - * gdb.base/siginfo.exp: Likewise. - * gdb.base/sigstep.exp: Likewise. - -2014-10-27 Pedro Alves - - * gdb.base/sigstep.c (dummy): New global. - (main): Issue a couple writes to the new global. - * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New - procedures. - (skip_over_handler): Use test_skip_handler. - (top level): Call skip_over_handler for stepi and nexti too. - (breakpoint_over_handler): Use test_skip_handler. - (top level): Call breakpoint_over_handler for stepi and nexti too. - -2014-10-27 Yao Qi - - * gdb.trace/tfile.c (adjust_function_address) - [__powerpc64__ && _CALL_ELF != 2]: Get function address from - function descriptor. - -2014-10-24 Don Breazeal - - * gdb.base/foll-fork.exp (test_follow_fork, - catch_fork_child_follow): Check for updated fork messages emitted - from infrun.c. - * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step, - vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp, - vfork_and_exec_child_follow_through_step): Check for updated vfork - messages emitted from infrun.c. - -2014-10-24 Pedro Alves - - * gdb.base/corefile.exp: Remove references to ultrix. - * gdb.base/interrupt.exp: Likewise. - * gdb.base/whatis.exp: Likewise. - * gdb.gdb/selftest.exp: Likewise. - * gdb.threads/manythreads.exp: Likewise. - * gdb.threads/print-threads.exp: Likewise. - * gdb.threads/pthreads.exp:: Likewise. - * gdb.threads/schedlock.exp: Likewise. - -2014-10-24 Siva Chandra Reddy - - * gdb.cp/non-trivial-retval.cc: Add a test case. - * gdb.cp/non-trivial-retval.exp: Add a test. - -2014-10-20 Yao Qi - - * gdb.python/py-objfile-script-gdb.py.in: Rename it to ... - * gdb.python/py-objfile-script-gdb.py: New file. - * gdb.python/py-objfile-script.exp: Update reference to - py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead - of remote_download. Remove the dest file. - -2014-10-20 Yao Qi - - * gdb.base/checkpoint.exp: Don't remove file copied on host. - * gdb.base/step-line.exp: Likewise. - * gdb.dwarf2/dw2-anonymous-func.exp: Likewise. - * gdb.dwarf2/dw2-basic.exp: Likewise. - * gdb.dwarf2/dw2-compressed.exp: Likewise. - * gdb.dwarf2/dw2-filename.exp: Likewise. - * gdb.dwarf2/dw2-intercu.exp: Likewise. - * gdb.dwarf2/dw2-intermix.exp: Likewise. - * gdb.dwarf2/dw2-producer.exp: Likewise. - * gdb.dwarf2/mac-fileno.exp: Likewise. - * gdb.python/py-frame-args.exp: Likewise. - * gdb.python/py-framefilter.exp: Likewise. - * gdb.python/py-mi.exp: Likewise. - * gdb.python/py-objfile-script.exp: Likewise - * gdb.python/py-pp-integral.exp: Likewise. - * gdb.python/py-pp-re-notag.exp: Likewise. - * gdb.python/py-prettyprint.exp: Likewise. - * gdb.python/py-section-script.exp: Likewise. - * gdb.python/py-typeprint.exp: Likewise. - * gdb.python/py-xmethods.exp: Likewise. - * gdb.stabs/weird.exp: Likewise. - * gdb.xml/tdesc-regs.exp: Likewise. - -2014-10-18 Kwok Cheung Yeung - - * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New. - (out_cu): Use addr_len for the size of addresses. - (out_line): Likewise. Size DW_LNE_set_address instruction - according to addr_len. - * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New. - (FUNC): Add START_INSNS to definition. - -2014-10-18 Yao Qi - - * gdb.base/argv0-symlink.exp: Check argv[0] value if - gdb_has_argv0 return true. - * gdb.guile/scm-value.exp (test_value_in_inferior): Don't - check [target_info exists noargs], check [gdb_has_argv0] - instead. - * gdb.python/py-value.exp (test_value_in_inferior): Likewise. - * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New - procedures. - -2014-10-17 Doug Evans - - * gdb.python/py-events.exp: Update expected output for clear_objfiles - event. - * gdb.python/py-events.py: Add clear_objfiles event. - -2014-10-17 Doug Evans - - * gdb.python/py-objfile.exp: Test progspace attribute. - -2014-10-17 Luis Machado - - * gdb.guile/scm-breakpoint.exp: Do not assume any - directory separators when matching source file paths. - * gdb.python/py-breakpoint.exp: Likewise. - * gdb.reverse/break-precsave.exp: Likewise. - * gdb.reverse/break-reverse.exp: Likewise. - * gdb.reverse/consecutive-precsave.exp: Likewise. - * gdb.reverse/finish-precsave.exp: Likewise. - * gdb.reverse/finish-reverse-bkpt.exp: Likewise. - * gdb.reverse/finish-reverse.exp: Likewise. - * gdb.reverse/i386-precsave.exp: Likewise. - * gdb.reverse/i387-env-reverse.exp: Likewise. - * gdb.reverse/i387-stack-reverse.exp: Likewise. - * gdb.reverse/machinestate-precsave.exp: Likewise. - * gdb.reverse/machinestate.exp: Likewise. - * gdb.reverse/sigall-precsave.exp: Likewise. - * gdb.reverse/solib-precsave.exp: Likewise. - * gdb.reverse/step-precsave.exp: Likewise. - * gdb.reverse/until-precsave.exp: Likewise. - * gdb.reverse/watch-precsave.exp: Likewise. - * gdb.reverse/watch-reverse.exp: Likewise. - -2014-10-17 Yao Qi - - * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host. - * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host. - -2014-10-17 Pedro Alves - - PR gdb/17471 - * gdb.base/bg-execution-repeat.c: New file. - * gdb.base/bg-execution-repeat.exp: New file. - -2014-10-17 Pedro Alves - - PR gdb/17300 - * gdb.base/continue-all-already-running.c: New file. - * gdb.base/continue-all-already-running.exp: New file. - -2014-10-17 Pedro Alves - - PR gdb/17472 - * gdb.base/annota-input-while-running.c: New file. - * gdb.base/annota-input-while-running.exp: New file. - -2014-10-17 Pedro Alves - - * gdb.base/callfuncs.exp: emove references to osf. - * gdb.base/sigall.exp: Likewise. - * gdb.gdb/selftest.exp: Likewise. - * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise. - * gdb.mi/non-stop.c: Likewise. - * gdb.mi/pthreads.c: Likewise. - * gdb.reverse/sigall-precsave.exp: Likewise. - * gdb.reverse/sigall-reverse.exp: Likewise. - * gdb.threads/pthreads.c: Likewise. - * gdb.threads/pthreads.exp: Likewise. - -2014-10-17 Yao Qi - - * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't - check 'target_info exists noargs'. - (test_command_prompt_position): Likewise. - (progvar_simple_if_test): Don't check 'target_info exists noargs'. - Remove "set args". - (progvar_simple_while_test): Likewise. - (progvar_complex_if_while_test): Likewise. - (if_while_breakpoint_command_test): Likewise. - (infrun_breakpoint_command_test): Likewise. - (breakpoint_command_test): Likewise. - (watchpoint_command_test): Likewise. - (bp_deleted_in_command_test): Likewise. - (temporary_breakpoint_commands): Likewise. - -2014-10-16 Yao Qi - - * gdb.base/remotetimeout.exp: Remove noargs checking. - -2014-10-15 Pedro Alves - - PR breakpoints/9649 - * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions. - * gdb.base/breakpoint-in-ro-region.exp - (probe_target_hardware_step): New procedure. - (top level): Probe hardware stepping and hardware breakpoint - support. Test stepping through a read-only region, with both - "breakpoint auto-hw" on and off and both "always-inserted" on and - off. - -2014-10-15 Iain Buclaw - - * gdb.dlang/demangle.exp: Update for demangling changes. - -2014-10-15 Siva Chandra Reddy - - * gdb.cp/non-trivial-retval.cc: Add new test cases. - * gdb.cp/non-trivial-retval.exp: Add new tests. - -2014-10-15 Siva Chandra Reddy - - PR c++/13403 - PR c++/15154 - * gdb.cp/non-trivial-retval.cc: New file. - * gdb.cp/non-trivial-retval.exp: New file. - -2014-10-15 Yao Qi - - * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on - remote host. - -2014-10-15 Yao Qi - - * gdb.python/py-symbol.exp: Match file base name if host is - remote, otherwise match file name with dir name. - * gdb.python/py-symtab.exp: Likewise. - * gdb.python/python.exp: Likewise. - -2014-10-15 Yao Qi - - * gdb.python/py-symbol.exp: Remove trailing ".*" in the - pattern. - * gdb.python/py-symtab.exp: Likewise. - * gdb.python/python.exp: Remove trailing ".*". Fix typo - locationn. - -2014-10-14 Joel Brobecker - - * gdb.ada/addr_arith: New testcase. - -2014-10-14 Maciej W. Rozycki - - * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers. - * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly. - * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers. - * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly. - -2014-10-14 Sergio Durigan Junior - - * gdb.arch/stap-eval-lang-ada.S: Likewise. - * gdb.arch/stap-eval-lang-ada.c: Likewise. - * gdb.arch/stap-eval-lang-ada.exp: New file. - -2014-10-14 Yao Qi - - * gdb.mi/mi-var-child.c (nothing1): New function. - (nothing2): New function. - (do_children_tests): Set function pointers by nothing1 and - nothing2. - * gdb.mi/mi-var-child.exp: Step over new added statements. - Update test to match the new output. - * gdb.mi/var-cmd.c (nothing1): New function. - (nothing2): New function. - (do_children_tests): Set function pointers by nothing1 and - nothing2. - * gdb.mi/mi-var-display.exp: Update test to match output. - Step to the line specified by $line_dct_nothing. - Increase the number of lines to step. - -2014-10-14 Yao Qi - - * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify - tests. - * gdb.mi/mi2-var-child.exp: Likewise. - -2014-10-13 Doug Evans - - * gdb.python/py-objfile.exp: Change name of file name test. - -2014-10-13 Doug Evans - - * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset - from the start of the CU. - -2014-10-13 Jan Kratochvil - Yao Qi - - Fix "save breakpoints" for "catch" command. - * gdb.base/catch-signal.exp: Add gdb_breakpoint "main". - Remove -nonewline. Match also the added "main" line. - -2014-10-12 Jan Kratochvil - - Fix "save breakpoints" for "disable $bpnum" command. - * gdb.base/save-bp.c (main): Add label. - * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it. - -2014-10-12 Jan Kratochvil - - * gdb.base/save-bp.exp (info break): Use gdb_test_sequence. - -2014-10-11 Yao Qi - - * gdb.server/server-kill.exp: Execute command - "set remote trace-status-packet on" before "tstatus". - -2014-10-11 Yao Qi - - * gdb.server/server-kill.c: Include sys/types.h and unistd.h. - (main): Call getppid. - * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;" - and continue to it. Read variable "server_pid". - -2014-10-11 Yao Qi - - * gdb.server/server-kill.exp: Remove "delete_breakpoints". - -2014-10-11 Yao Qi - - * gdb.threads/thread-find.exp: Don't execute command - "info threads". - * gdb.threads/attach-into-signal.exp (corefunc): Likewise. - * gdb.threads/linux-dp.exp: Don't check the condition - $threads_created equals to zero. - -2014-10-10 Pedro Alves - - * gdb.base/bigcore.exp: Remove references to IRIX. - * gdb.base/funcargs.exp: Likewise. - * gdb.base/interrupt.exp: Likewise. - * gdb.base/mips_pro.exp: Likewise. - * gdb.base/nodebug.exp: Likewise. - * gdb.base/setvar.exp: Likewise. - * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case. - -2014-10-10 Jan Kratochvil - Pedro Alves - - PR symtab/14466 - * gdb.base/vdso-warning.c: New file. - * gdb.base/vdso-warning.exp: New file. - -2014-10-02 Doug Evans - - * gdb.base/structs.c (main): Don't run forever. - -2014-10-02 Pedro Alves - - * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure. - (top level) : Use it. - -2014-10-02 Pedro Alves - - * gdb.threads/break-while-running.exp (test): Add new - 'update_thread_list' argument. Skip "info threads" if false. - (top level): Add new 'update_thread_list' axis. - -2014-10-02 Pedro Alves - - PR breakpoints/17431 - * gdb.base/execl-update-breakpoints.c: New file. - * gdb.base/execl-update-breakpoints.exp: New file. - -2014-10-01 Pedro Alves - - * gdb.base/breakpoint-in-ro-region.c: New file. - * gdb.base/breakpoint-in-ro-region.exp: New file. - -2014-10-01 Simon Marchi - - * gdb.mi/mi-exit-code.exp: New file. - * gdb.mi/mi-exit-code.c: New file. - -2014-09-30 Yao Qi - - * lib/prelink-support.exp (build_executable_own_libs): Error if - the target isn't native. - -2014-09-30 Yao Qi - - * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is - false. - -2014-09-22 Pedro Alves - - * gdb.threads/break-while-running.exp: New file. - * gdb.threads/break-while-running.c: New file. - -2014-09-19 Yao Qi - - * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test. - Invoke test. Restart GDB with --readnow and invoke test again. - -2014-09-19 Yao Qi - - * gdb.base/break-on-linker-gcd-function.exp: Move test into new - proc set_breakpoint_on_gcd_function. Invoke - set_breakpoint_on_gcd_function. Restart GDB with --readnow and - invoke set_breakpoint_on_gcd_function again. - -2014-09-18 Doug Evans - - * gdb.dwarf2/symtab-producer.exp: New file. - -2014-09-16 Sergio Durigan Junior - - * gdb.base/global-var-nested-by-dso-solib1.c: New file. - * gdb.base/global-var-nested-by-dso-solib2.c: Likewise. - * gdb.base/global-var-nested-by-dso.c: Likewise. - * gdb.base/global-var-nested-by-dso.exp: Likewise. - -2014-09-16 Sergio Durigan Junior - Pedro Alves - - * gdb.base/watch-bitfields.exp: Pass string other than test file - name to prepare_for_testing. - (watch): New procedure. - (expect_watchpoint): Use with_test_prefix. - (top level): Factor out tests to ... - (test_watch_location, test_regular_watch): ... these new - procedures, and use with_test_prefix and gdb_continue_to_end. - -2014-09-16 Patrick Palka - - PR breakpoints/12526 - * gdb.base/watch-bitfields.exp: New file. - * gdb.base/watch-bitfields.c: New file. - -2014-09-16 Pedro Alves - - * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare - software and hardware addresses, not software address against - itself. - -2014-09-16 Pedro Alves - - * gdb.base/watchpoint-stops-at-right-insn.c: New file. - * gdb.base/watchpoint-stops-at-right-insn.exp: New file. - -2014-09-16 Pedro Alves - - * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete - files. - * gdb.base/a2-run.exp: Remove all code guarded by istarget - "*-*-vxworks*" throughout. - * gdb.base/break.exp: Likewise. - * gdb.base/default.exp: Likewise. - * gdb.base/scope.exp: Likewise. - * gdb.base/sepdebug.exp: Likewise. - * gdb.base/break.c: Remove all code guarded by #ifdef vxworks - throughout. - * gdb.base/run.c: Likewise. - * gdb.base/sepdebug.c: Likewise. - * gdb.hp/gdb.aCC/run.c: Likewise. - * gdb.reverse/until-reverse.c: Likewise. - * lib/gdb.exp (gdb_compile): Remove is_vxworks branch. - -2014-09-16 Yao Qi - - * boards/local-remote-host-native.exp: New file. - -2014-09-14 Doug Evans - - * gdb.threads/queue-signal.c (thread_count): New variable. - (thread_count_mutex, thread_count_condvar): New variables. - (incr_thread_count, wait_all_threads_running): New functions. - (main): Wait for all threads to be in their thread functions. - -2014-09-13 Doug Evans - - * gdb.threads/queue-signal.c: New file. - * gdb.threads/queue-signal.exp: New file. - -2014-09-13 Doug Evans - - * lib/gdb.exp (gdb_prompt): Add comment and change initial value to - be consistent with what default_gdb_init uses. - (with_gdb_prompt): Change form of PROMPT argument from a regexp to - the plain text of the prompt. Add some logging printfs. - * gdb.perf/disassemble.exp: Update call to with_gdb_prompt. - -2014-09-12 Pedro Alves - - * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after - gdb_run_cmd with gdb_test_multiple or gdb_test throughout. - * gdb.arch/i386-size-overlap.exp: Likewise. - * gdb.arch/i386-size.exp: Likewise. - * gdb.arch/i386-unwind.exp: Likewise. - * gdb.base/a2-run.exp: Likewise. - * gdb.base/break.exp: Likewise. - * gdb.base/charset.exp: Likewise. - * gdb.base/chng-syms.exp: Likewise. - * gdb.base/commands.exp: Likewise. - * gdb.base/dbx.exp: Likewise. - * gdb.base/find.exp: Likewise. - * gdb.base/funcargs.exp: Likewise. - * gdb.base/jit-simple.exp: Likewise. - * gdb.base/reread.exp: Likewise. - * gdb.base/sepdebug.exp: Likewise. - * gdb.base/step-bt.exp: Likewise. - * gdb.cp/mb-inline.exp: Likewise. - * gdb.cp/mb-templates.exp: Likewise. - * gdb.objc/basicclass.exp: Likewise. - * gdb.threads/killed.exp: Likewise. - -2014-09-12 Edjunior Barbosa Machado - - PR tdep/17379 - * gdb.arch/powerpc-stackless.S: New file. - * gdb.arch/powerpc-stackless.exp: New file. - -2014-09-12 Jan Kratochvil - - * gdb.base/attach.c: Include unistd.h. - (main): Call alarm. Add label postloop. - * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number, - gdb_breakpoint, gdb_continue_to_breakpoint. - (test_command_line_attach_run): Kill ${testpid} in one exit path. - -2014-09-11 Pedro Alves - - PR gdb/17347 - * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure. - * gdb.base/attach.exp (test_command_line_attach_run): New - procedure. - (top level): Call it. - -2014-09-11 Pedro Alves - - * lib/gdb.exp (spawn_wait_for_attach): New procedure. - * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests) - (do_command_attach_tests): Use spawn_wait_for_attach. - * gdb.base/solib-overlap.exp: Likewise. - * gdb.multi/multi-attach.exp: Likewise. - * gdb.python/py-prompt.exp: Likewise. - * gdb.python/py-sync-interp.exp: Likewise. - * gdb.server/ext-attach.exp: Likewise. - -2014-09-11 Gabriel Krisman Bertazi - - * gdb.fortran/array-element.exp: Remove unexpected "continue" - command in testcase. Simplify testcase. - -2014-09-10 Joel Brobecker - - * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests. - -2014-09-10 Joel Brobecker - - * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests. - -2014-09-10 Joel Brobecker - - * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests. - -2014-09-10 Joel Brobecker - - * gdb.dwarf2/dynarr-ptr.c: New file. - * gdb.dwarf2/dynarr-ptr.exp: New file. - -2014-09-09 Maciej W. Rozycki - - * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor - of 30 rather than hardcoding 120 for a slow test case. Take the - `gdb,timeout' target setting into account for this calculation. - Don't extend the timeout for the test cases that don't need it. - -2014-09-09 Maciej W. Rozycki - - * gdb.reverse/sigall-reverse.exp: Increase the timeout by - a factor of 2 for a slow test case. Take the `gdb,timeout' - target setting into account for this calculation. - * gdb.reverse/until-precsave.exp: Increase the timeout by - a factor of 15 and 3 respectively rather than adding 120 - for a pair of slow test cases. Take the `gdb,timeout' - target setting into account for this calculation. - -2014-09-09 Maciej W. Rozycki - - * lib/gdb.exp (gdb_test_multiple): Remove code to select the - timeout, don't pass one down to gdb_expect. - (gdb_expect): Rework timeout selection. - -2014-09-09 Maciej W. Rozycki - - * lib/gdbserver-support.exp (gdbserver_start): Throw an error - exception on timeout. - (gdbserver_run): Catch any `gdbserver_spawn' error exceptions. - (gdbserver_start_extended): Catch any `gdbserver_start' error - exceptions. - (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise. - * lib/mi-support.exp (mi_gdb_target_load): Catch any - `gdbserver_gdb_load' error exceptions. - -2014-09-09 Maciej W. Rozycki - - * lib/gdbserver-support.exp (gdbserver_start): Set timeout to - 120 on waiting for the TCP socket to open. - -2014-09-09 Doug Evans - - * gdb.base/default.exp (show_conv_list): Add _caller_is, - _caller_matches, _any_caller_is, _any_caller_matches. - -2014-09-09 Doug Evans - - * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output. - -2014-09-09 Yao Qi - - * gdb.mi/mi-var-display.exp: Set print symbol off. - -2014-09-07 Gabriel Krisman Bertazi - - PR gdb/17035 - * gdb.base/commands.exp: Add tests to verify user-defined - commands with empty bodies. - * gdb.python/py-cmd.exp: Test that we don't show user-defined - python commands in `show user command`. - * gdb.python/scm-cmd.exp: Test that we don't show user-defined - scheme commands in `show user command`. - -2014-09-07 Jan Kratochvil - - PR python/17355 - * gdb.python/amd64-py-framefilter-invalidarg.S: New file. - * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file. - * gdb.python/py-framefilter-invalidarg.exp: New file. - * gdb.python/py-framefilter-invalidarg.py: New file. - -2014-09-06 Doug Evans - - PR 15276 - * gdb.python/py-caller-is.c: New file. - * gdb.python/py-caller-is.exp: New file. - -2014-09-05 Sergio Durigan Junior - - PR gdb/17235 - * gdb.arch/amd64-stap-wrong-subexp.exp: New file. - * gdb.arch/amd64-stap-wrong-subexp.S: Likewise. - -2014-09-04 Sergio Durigan Junior - - PR fortran/17237 - * gdb.fortran/print-formatted.exp: New file. - * gdb.fortran/print-formatted.f90: Likewise. - -2014-09-03 Sasha Smundak - - * gdb.python/py-frame.exp: Test Frame.read_register. - -2014-09-03 Sergio Durigan Junior - - PR python/16699 - * gdb.python/py-completion.exp: New file. - * gdb.python/py-completion.py: Likewise. - -2014-08-28 Doug Evans - - * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when - eax,etc. are live with values set by gdb and thus the compiler can't - use them. - * gdb.arch/i386-pseudo.c (main): Ditto. - -2014-08-27 Doug Evans - - * lib/gdb.exp (gdb_compile_shlib): Add support for clang. - -2014-08-25 Doug Evans - - * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type. - (main): Ditto. - -2014-08-25 Doug Evans - - * gdb.threads/thread-execl.exp: #include . - -2014-08-24 Yao Qi - - * gdb.guile/scm-value.exp (test_lazy_strings): Set print - symbol off. - * gdb.python/py-value.exp (test_lazy_strings): Likewise. - -2014-08-22 Doug Evans - - PR 17276 - * gdb.dwarf2/dw2-single-line-discriminators.S: New file. - * gdb.dwarf2/dw2-single-line-discriminators.c: New file. - * gdb.dwarf2/dw2-single-line-discriminators.exp: New file. - -2014-08-22 Yao Qi - - * gdb.python/py-finish-breakpoint.exp: Copy .py file to host. - * gdb.python/py-finish-breakpoint2.exp: Likewise. - * gdb.python/python.exp: Likewise. Use .py file on the host - instead of the build. - -2014-08-21 Jan Kratochvil - - * gdb.threads/gcore-stale-thread.c: New file. - * gdb.threads/gcore-stale-thread.exp: New file. - -2014-08-21 Pedro Alves - - * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test. - * gdb.base/gcore-relro-pie.exp: Likewise. - * gdb.base/gcore-relro.exp: Likewise. - * gdb.base/gcore.exp: Likewise. - * gdb.base/print-symbol-loading.exp: Likewise. - * gdb.threads/gcore-thread.exp: Likewise. - * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command". - -2014-08-20 Pedro Alves - Jan Kratochvil - - * Makefile.in (EXTRA_RULES, CC): New variables, get from - configure. - (EXPECT): Handle READ1 being set. - (all): Depend on EXTRA_RULES. - (check-read1, expect-read1, read1.so, read1): New rules. - * README (Testsuite Parameters): Document the READ1 make variable. - (Race detection): New section. - * configure: Regenerate. - * configure.ac: If build==host==target, and running under a - GNU/glibc system, add read1 to the extra Makefile rules. - (EXTRA_RULES): AC_SUBST it. - * lib/read1.c: New file. - -2014-08-20 Joel Brobecker - - * gdb.dwarf2/data-loc.exp: Add additional tests exercising - the handling of variables declared as a typedef to an array - which a DW_AT_data_location attribute. - -2014-08-19 Andrew Burgess - Pedro Alves - - PR symtab/14604 - PR symtab/14605 - * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use - gdb_test. - -2014-08-19 Pedro Alves - - * gdb.base/watchpoint-hw-hit-once.c (main): Update comment. - -2014-08-19 Yao Qi - - * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the - right line. - -2014-08-18 David Blaikie - - * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang. - -2014-08-18 Joel Brobecker - - * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound - attribute in array range. - -2014-08-18 Joel Brobecker - - * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files. - -2014-08-15 Siva Chandra Reddy - - PR c++/17132 - * gdb.cp/pr17132.cc: New file. - * gdb.cp/pr17132.exp: New file. - -2014-08-15 Siva Chandra Reddy - - * gdb.python/py-xmethods.py (A_getarrayind) - (E_method_char_worker.__call__, E_method_int_worker.__call__): - Use 'print' with function call syntax. - (E_method_matcher.match): Fix tab vs space indentation mixup. - -2014-08-15 Yao Qi - - * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns - false. - -2014-08-15 Yao Qi - - * gdb.cp/casts.exp: Set print symbol off. - * gdb.cp/class2.exp: Likewise. - * gdb.cp/overload.exp: Likewise. - * gdb.cp/templates.exp: Likewise. - -2014-08-11 Doug Evans - - * gdb.base/print-symbol-loading.exp (test_load_core): Update. - (test_load_shlib): Update. - -2014-08-09 Yao Qi - - * gdb.base/display.exp: Invoke is_address_zero_readable. - * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise. - * gdb.python/py-value.exp (test_value_in_inferior): Likewise. - * gdb.base/hbreak-unmapped.exp: Return if - is_address_zero_readable returns true. - * gdb.base/signest.exp: Likewise. - * gdb.base/signull.exp: Likewise. - * gdb.base/sigbpt.exp: Likewise. - * gdb.guile/scm-disasm.exp: Do the test if - is_address_zero_readable returns false. - * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise. - * gdb.python/py-arch.exp: Likewise. - * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise. - * lib/gdb.exp (is_address_zero_readable): New proc. - -2014-08-09 Yao Qi - - PR testsuite/13443 - * gdb.mi/mi-var-display.exp: Make test messages unique. - -2014-08-04 Tom Tromey - - * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug - target 0". - -2014-08-04 Tom Tromey - - * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not - "target_resume". - -2014-08-01 Joel Brobecker - - * gdb.base/vla-datatypes.c (vla_factory): Add new variable - inner_vla_struct_object_size. - * gdb.base/vla-datatypes.exp: Adjust last test, and mark it - as xfail. - -2014-07-30 Pedro Alves - - * gdb.threads/signal-command-handle-nopass.exp (test): Add - comment. - -2014-07-29 Yao Qi - - PR gdb/17206 - * gdb.base/until-nodebug.exp: New. - -2014-07-28 Doug Evans - - PR guile/17203 - * gdb.guile/scm-parameter.exp: Add tests for trying to create - previously existing parameter, and previously ambiguously spelled - parameter. - -2014-07-28 Will Newton - - * gdb.base/varargs.exp: Remove KFAILs for ARM. - -2014-07-26 Ludovic Courtès - Doug Evans - - PR guile/17146 - * gdb.guile/types-module.exp: Add tests for wrong type arguments. - -2014-07-25 Pedro Alves - - * gdb.threads/signal-command-handle-nopass.c: New file. - * gdb.threads/signal-command-handle-nopass.exp: New file. - * gdb.threads/signal-command-multiple-signals-pending.c: New file. - * gdb.threads/signal-command-multiple-signals-pending.exp: New file. - * gdb.threads/signal-delivered-right-thread.c: New file. - * gdb.threads/signal-delivered-right-thread.exp: New file. - -2014-07-25 Pedro Alves - - * gdb.base/double-prompt-target-event-error.exp - (cancel_pagination_in_target_event): Remove '-notransfer ' - match. - (cancel_pagination_in_target_event): Rework double prompt - detection. - * gdb.base/paginate-after-ctrl-c-running.exp - (test_ctrlc_while_target_running_paginates): Remove '-notransfer - ' match. - * gdb.base/paginate-bg-execution.exp - (test_bg_execution_pagination_return) - (test_bg_execution_pagination_cancel): Remove '-notransfer - ' matches. - * gdb.base/paginate-execution-startup.exp - (test_fg_execution_pagination_return) - (test_fg_execution_pagination_cancel): Remove '-notransfer - ' matches. - * gdb.base/paginate-inferior-exit.exp - (test_paginate_inferior_exited): Remove '-notransfer ' - match. - * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp. - * lib/gdb.exp (pagination_prompt): Run text through - string_to_regexp. - (gdb_test_multiple): Match $pagination_prompt instead of - "". - (string_to_regexp): Move to lib/gdb-utils.exp. - -2014-07-22 Jan Kratochvil - - * gdb.arch/amd64-entry-value-paramref.S: New file. - * gdb.arch/amd64-entry-value-paramref.cc: New file. - * gdb.arch/amd64-entry-value-paramref.exp: New file. - * gdb.arch/amd64-optimout-repeat.S: New file. - * gdb.arch/amd64-optimout-repeat.c: New file. - * gdb.arch/amd64-optimout-repeat.exp: New file. - -2014-07-17 Jan Kratochvil - - PR gdb/17170 - * gdb.base/statistics.exp: New file. - -2014-07-17 Doug Evans - - PR gdb/17170 - * gdb.base/maint.exp: Update testing of per-command stats. - -2014-07-16 Pedro Alves - - * gdb.trace/tfile.c: Include unistd.h and stdint.h. - (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef. - (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr) - (tfile_write_buf): New functions. - (add_memory_block): Rewrite using the above. - (adjust_function_address): New function. - (FUNCTION_ADDRESS): New macro. - (write_basic_trace_file): Remove short_x local, and use - tfile_write_16. Change type of func_addr local to unsigned long - long. Use FUNCTION_ADDRESS instead of handling the Thumb bit - here. Cast argument of add_memory_block to char pointer. - (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS. - (main): Remove parameters. - * gdb.trace/tfile.exp: Remove nowarnings. - -2014-07-15 Simon Marchi - - * gdb.base/debug-expr.exp: Test string evaluation with - "debug expression" on. - -2014-07-15 Pedro Alves - - * gdb.base/reread.exp: Use clean_restart. - -2014-07-15 Pierre Langlois - - * gdb.arch/avr-flash-qualifer.c: New. - * gdb.arch/avr-flash-qualifer.exp: New. - -2014-07-14 Pedro Alves - - * gdb.base/paginate-after-ctrl-c-running.c: New file. - * gdb.base/paginate-after-ctrl-c-running.exp: New file. - -2014-07-14 Pedro Alves - - * gdb.base/double-prompt-target-event-error.c: New file. - * gdb.base/double-prompt-target-event-error.exp: New file. - -2014-07-14 Pedro Alves - - PR gdb/17072 - * gdb.base/paginate-inferior-exit.c: New file. - * gdb.base/paginate-inferior-exit.exp: New file. - -2014-07-14 Pedro Alves - - PR gdb/17072 - * gdb.base/paginate-bg-execution.c: New file. - * gdb.base/paginate-bg-execution.exp: New file. - -2014-07-14 Pedro Alves - - PR gdb/17072 - * gdb.base/paginate-execution-startup.c: New file. - * gdb.base/paginate-execution-startup.exp: New file. - * lib/gdb.exp (pagination_prompt): New global. - (default_gdb_spawn): New procedure, factored out from - default_gdb_spawn. - (default_gdb_start): Adjust to call default_gdb_spawn. - (gdb_spawn): New procedure. - -2014-07-14 Pedro Alves - - * lib/gdb.exp (gdb_assert): New procedure. - * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it. - -2014-07-14 Pedro Alves - - * gdb.base/execution-termios.c: New file. - * gdb.base/execution-termios.exp: New file. - -2014-07-14 Tom Tromey - - * gdb.cp/vla-cxx.cc: New file. - * gdb.cp/vla-cxx.exp: New file. - -2014-07-14 Tom Tromey - - * gdb.reverse/rerun-prec.c: New file. - * gdb.reverse/rerun-prec.exp: New file. - -2014-07-12 Maciej W. Rozycki - Maciej W. Rozycki - - * lib/gdb-utils.exp: New file. - * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing - inline `gdb_init_command' processing. - (gdb_start_cmd): Likewise. - * lib/mi-support.exp (mi_run_cmd): Likewise. - * README: Document `gdb_init_command' and `gdb_init_commands'. - -2014-07-11 Jan Kratochvil - - Fix false FAIL running under a very long directory name. - * gdb.base/argv0-symlink.exp: Add "set print repeats 10000" - and "set print elements 10000". Twice. - -2014-07-11 Yao Qi - - * gdb.base/exprs.exp: "set print symbol off". - -2014-07-11 Pedro Alves - - * gdb.threads/kill.c: New file. - * gdb.threads/kill.exp: New file. - -2014-07-10 Yao Qi - - * gdb.trace/tfile.c (write_basic_trace_file) - [__thumb__||__thumb2__]: Clear the Thumb bit of the function - address written to trace file. - -2014-07-09 Pedro Alves - - * gdb.base/attach-wait-input.exp: New file. - * gdb.base/attach-wait-input.c: New file. - -2014-07-09 Andrew Burgess - - * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function - setting up test structures. - (main): Call new test function. - * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new - test function, continue into test function and walk test - structures. - -2014-07-02 Yao Qi - - * gdb.trace/entry-values.c: Define labels 'foo_start' and - 'bar_start' at the beginning of functions 'foo' and 'bar' - respectively. - * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start' - instead of 'foo' and 'bar'. - -2014-07-08 Markus Metzger - - * gdb.btrace/segv.exp: New. - * gdb.btrace/segv.c: New. - -2014-07-02 Luis Machado - - * gdb.trace/entry-values.exp: Handle powerpc-specific branch - instruction. - -2014-06-30 Mark Wielaard - - * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar, - vulture, vilify, villar): New volatile array constants. - (vindictive, vegetation): New const volatile array constants. - * gdb.base/volatile.exp: Test volatile and const volatile array - types. - -2014-06-30 Andreas Arnez - - * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the - target lacks support for awatch, rwatch, or hbreak. - -2014-06-27 Yao Qi - - * gdb.multi/dummy-frame-restore.exp: New. - * gdb.multi/dummy-frame-restore.c: New. - -2014-06-25 Markus Metzger - - * gdb.btrace/gcore.exp: New. - -2014-06-23 Pedro Alves - - * gdb.base/watchpoint-reuse-slot.c: New file. - * gdb.base/watchpoint-reuse-slot.exp: New file. - -2014-06-23 Siva Chandra Reddy - - * gdb.python/py-xmethods.exp: Use "progspace" instead of the - progspace's filename in 'info', 'enable' and 'disable' command - tests. - -2014-06-23 Jan Kratochvil - - * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target. - * gdb.arch/amd64-stap-optional-prefix.exp: Likewise. - * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target. - -2014-06-20 Gary Benson - - * gdb.arch/i386-avx.exp: Fix include file location. - * gdb.arch/i386-sse.exp: Likewise. - -2014-06-19 Iain Buclaw - - * gdb.dlang/expression.exp: New file. - -2014-06-19 Pedro Alves - - * gdb.threads/thread-execl.exp (do_test): New procedure, factored - out from ... - (top level): ... here. Iterate running tests under different - scheduler-locking settings. - -2014-06-18 Luis Machado - - * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries - to DW_FORM_addr and use non-zero addresses. - -2014-06-18 Siva Chandra Reddy - - PR gdb/17017 - * gdb.python/py-xmethods.cc: Add global function call counters and - increment them in their respective functions. Remove "cout" - statements. - * gdb.python/py-xmethods.exp: Make tests check the global function - call counters instead of depending on inferior IO. - -2014-06-18 Don Breazeal - - * gdb.base/foll-fork.exp (default_fork_parent_follow): - Deleted procedure. - (explicit_fork_parent_follow): Deleted procedure. - (explicit_fork_child_follow): Deleted procedure. - (test_follow_fork): New procedure. - (do_fork_tests): Replace calls to deleted procedures with - calls to test_follow_fork and reset GDB for subsequent - procedure calls. - -2014-06-17 Yao Qi - - * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is - CP1252. - -2014-06-17 Luis Machado - - * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test): - Initialize ptr and S explicitly. - (skip_type_update_when_not_use_rtti_test): Likewise. - -2014-06-16 Keith Seitz - - PR mi/15863 - * gdb.mi/mi-var-cmd.exp: Add test for -var-update before - the inferior is started. - -2014-06-16 Pedro Alves - - * gdb.base/break-main-file-remove-fail.c: New file. - * gdb.base/break-main-file-remove-fail.exp: New file. - * gdb.base/break-unload-file.exp: Use build_executable instead of - prepare_for_testing. - (test_break): New parameter "initial_load". Handle it. - (top level): Add initial_load cmdline/file axis. - -2014-06-12 Tom Tromey - - * gdb.base/completion.exp: Don't use directory name in test. - -2014-06-09 Gary Benson - - * gdb.base/sigall.c [Functions to send signals]: Reorder to - separate the always-available ANSI-standard signals from the - signals that require checking. - (main): Likewise. - * gdb.reverse/sigall-reverse.c [Functions to send signals]: - Likewise. - (main): Likewise. - -2014-06-07 Keith Seitz - - Revert: - PR c++/16253 - * gdb.cp/var-tag.cc: New file. - * gdb.cp/var-tag.exp: New file. - * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++. - * gdb.dwarf2/dw2-anon-mptr.exp: Likewise. - * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise. - * gdb.dwarf2/dw2-inheritance.exp: Likewise. - -2014-06-06 Doug Evans - - * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3. - -2014-06-06 Pedro Alves - - * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step) - in target debug output instead of looking at RSP packets, - disabling the test on any target that uses hardware stepping. - Update comments. - -2014-06-06 Pedro Alves - - * gdb.base/break-unload-file.exp: Fix typo. - -2014-06-06 Yao Qi - - * gdb.base/jit.exp (one_jit_test): Restrict the pattern - from "jit_function" to "^jit_function". - -2014-06-06 Yao Qi - - * gdb.base/async.c (foo): Add one statement. - * gdb.base/async.exp: Get the next instruction address and - match the output of "nexti" by instruction address. Match - the hex address in the output of "finish". - -2014-06-06 Gary Benson - - * gdb.base/call-signals.c: Remove preprocessor conditionals - for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE, - SIGSEGV and SIGTERM. - * gdb.base/sigall.c: Likewise. - * gdb.base/unwindonsignal.c: Likewise. - * gdb.reverse/sigall-reverse.c: Likewise. - -2014-06-06 Yao Qi - - * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If - readable, skip the test. - -2014-06-06 Yao Qi - - * gdb.threads/staticthreads.c (thread_function): Move the line - setting breakpoint on forward. - * gdb.threads/staticthreads.exp: Update comments. - -2014-06-05 Ludovic Courtès - - * gdb.guile/scm-value.exp (test_value_in_inferior): Add test - "history-append! type error". - -2014-06-05 Simon Marchi - - * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix - erroneous dprintf expected input. - -2014-06-04 Doug Evans - - * gdb.guile/scm-generics.exp: Delete. - -2014-06-04 Doug Evans - - * gdb.guile/scm-breakpoint.exp: Update. - Add tests for breakpoint registration. - -2014-06-04 Tom Tromey - - * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and - VLA-in-union. - * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct, - inner_vla_struct, vla_union types. Initialize objects of those - types and compute their sizes. - -2014-06-04 Nathan Sidwell - Hui Zhu - - * gdb.base/fileio.exp: Add test for shell not available as well as - available. - * gdb.base/fileio.c (test_system): Check for shell twice. - -2014-06-04 Yao Qi - - * gdb.base/auto-connect-native-target.exp: Remove redundant - space from the regexp pattern. - -2014-06-04 Yao Qi - - * gdb.base/default.exp: Replace "child" with "native" in - regexp pattern. - -2014-06-03 Siva Chandra Reddy - - * gdb.python/py-xmethods.cc: New testcase to test xmethods. - * gdb.python/py-xmethods.exp: New tests to test xmethods. - * gdb.python/py-xmethods.py: Python script supporting the - new testcase and tests. - -2014-06-03 Joel Brobecker - Pedro Alves - - PR breakpoints/17000 - * gdb.base/sss-bp-on-user-bp.exp: Remove kfail. - * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail. - -2014-06-03 Brad Mouring (tiny patch) - - * gdb.base/subst.exp: Add tests to verify partial path matching - output. - -2014-06-03 Pedro Alves - - * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote - target that doesn't use software single-stepping. - -2014-06-03 Pedro Alves - - PR breakpoints/17000 - * gdb.base/sss-bp-on-user-bp-2.c: New file. - * gdb.base/sss-bp-on-user-bp-2.exp: New file. - -2014-06-02 Doug Evans - - * gdb.guile/scm-parameter.exp: New file. - -2014-06-02 Doug Evans - - * gdb.guile/scm-cmd.c: New file. - * gdb.guile/scm-cmd.exp: New file. - -2014-06-02 Doug Evans - - * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace - pretty-printer lookup. - * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function. - (make-pp_s-printer): Call it. - (make-pretty-printer-from-dict): New function. - (lookup-pretty-printer-maker-from-dict): New function. - (*pretty-printer*): Simplify. - (make-objfile-pp_s-printer): New function. - (install-objfile-pretty-printers!): New function. - (make-progspace-pp_s-printer): New function. - (install-progspace-pretty-printers!): New function. - * gdb.guile/scm-progspace.c: New file. - * gdb.guile/scm-progspace.exp: New file. - -2014-06-02 Pedro Alves - - * gdb.base/dprintf-bp-same-addr.c: New file. - * gdb.base/dprintf-bp-same-addr.exp: New file. - -2014-06-02 Edjunior Barbosa Machado - - * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase. - * gdb.arch/powerpc-power.s: Likewise. - -2014-06-02 Joel Brobecker - - * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT. - -2014-06-01 Yao Qi - - * gdb.base/watchpoint.exp (test_watch_location): Check null - pointer can be dereferenced. If not, do the test, otherwise - skip it. - -2014-05-30 Andrew Burgess - - * gdb.arch/amd64-invalid-stack-middle.exp: Update expected - results. - * gdb.arch/amd64-invalid-stack-top.exp: Likewise. - -2014-05-30 Andrew Burgess - - * gdb.arch/amd64-invalid-stack-middle.S: New file. - * gdb.arch/amd64-invalid-stack-middle.c: New file. - * gdb.arch/amd64-invalid-stack-middle.exp: New file. - * gdb.arch/amd64-invalid-stack-top.c: New file. - * gdb.arch/amd64-invalid-stack-top.exp: New file. - -2014-05-30 Pedro Alves - - PR breakpoints/17000 - * gdb.base/sss-bp-on-user-bp.c: New file. - * gdb.base/sss-bp-on-user-bp.exp: New file. - -2014-05-30 David Blaikie - - * gdb.opt/inline-break.c: Fix clang compatibility by specifying - gnu_inline semantics via attribute. - * gdb.opt/inline-break.exp: Remove -std=c89 now that the test - source explicitly specifies the required semantics. - -2014-05-30 Maciej W. Rozycki - - * gdb.reverse/sigall-reverse.exp: Fix a typo. - -2014-05-29 Pedro Alves - Tom Tromey - - * gdb.base/async-shell.exp: Don't enable target-async. - * gdb.base/async.exp - * gdb.base/corefile.exp (corefile_test_attach): Remove 'async' - parameter. Adjust. - (top level): Don't test with "target-async". - * gdb.base/dprintf-non-stop.exp: Don't enable target-async. - * gdb.base/gdb-sigterm.exp: Don't test with "target-async". - * gdb.base/inferior-died.exp: Don't enable target-async. - * gdb.base/interrupt-noterm.exp: Likewise. - * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async". - * gdb.mi/mi-nonstop-exit.exp: Likewise. - * gdb.mi/mi-nonstop.exp: Likewise. - * gdb.mi/mi-ns-stale-regcache.exp: Likewise. - * gdb.mi/mi-nsintrall.exp: Likewise. - * gdb.mi/mi-nsmoribund.exp: Likewise. - * gdb.mi/mi-nsthrexec.exp: Likewise. - * gdb.mi/mi-watch-nonstop.exp: Likewise. - * gdb.multi/watchpoint-multi.exp: Adjust comment. - * gdb.python/py-evsignal.exp: Don't enable target-async. - * gdb.python/py-evthreads.exp: Likewise. - * gdb.python/py-prompt.exp: Likewise. - * gdb.reverse/break-precsave.exp: Don't test with "target-async". - * gdb.server/solib-list.exp: Don't enable target-async. - * gdb.threads/thread-specific-bp.exp: Likewise. - * lib/mi-support.exp: Adjust to use mi-async. - -2014-05-29 Pedro Alves - - PR gdb/13860 - * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop - reason, even in sync mode. - -2014-05-29 Pedro Alves - Hui Zhu - - PR PR15693 - * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file. - * gdb.mi/mi-condbreak-call-thr-state-st.c: New file. - * gdb.mi/mi-condbreak-call-thr-state.c: New file. - * gdb.mi/mi-condbreak-call-thr-state.exp: New file. - -2014-05-28 Joel Brobecker - - * config/monitor.exp (gdb_target_monitor): Replace use of - "set remotebaud" by "set serial baud". - -2014-05-26 Andy Wingo - - * gdb.guile/scm-breakpoint.exp: - * gdb.guile/scm-gsmob.exp: Update to use plain old object - properties instead of gdb-object-properties. - -2014-05-26 Yao Qi - - * gdb.server/no-thread-db.exp: Specify source file name - explicitly when setting a breakpoint. - -2014-05-23 Markus Metzger - - * gdb.btrace/vdso.c: New. - * gdb.btrace/vdso.exp: New. - -2014-05-23 Markus Metzger - - * gdb.base/gcore.exp (capture_command_output): Move ... - * lib/gdb.exp (capture_command_output): ... here. - -2014-05-23 Markus Metzger - - * gdb.btrace/data.exp: Test memory access during btrace replay. - -2014-05-22 Simon Marchi - - * lib/mi-support.exp (mi_run_cmd_full): Add comments. - -2014-05-21 Pedro Alves - - PR gdb/13860 - * gdb.mi/mi-cli.exp (line_callee4_next_step): New global. - (top level): Test that output related to execution commands is - sent to the console with CLI commands, but not with MI commands. - Test that breakpoint events are always mirrored to the console. - Also expect the new source line to be output after a "next" in - async mode too. Make it a pass/fail test. - * gdb.mi/mi-solib.exp: Test that the CLI solib event note is - output. - * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure. - -2014-05-21 Pedro Alves - - * gdb.base/list.exp (build_pattern, test_list): New procedures. - Use them to test variations of "list" after reaching a breakpoint. - * gdb.mi/mi-cli.exp (line_main_callme_2): New global. - Test "list" with listsize 10 after reaching a breakpoint. - * gdb.python/python.exp (decode_line current location line - number): Adjust expected line number. - -2014-05-21 Simon Marchi - - * lib/mi-support.exp (mi_run_cmd_full): Revert to original - behavior for $args, pass it directly to "run". - -2014-05-21 Maciej W. Rozycki - - * lib/gdb.exp (default_gdb_init): Bump `match_max' up from - 30000 to 65536. - -2014-05-21 Pedro Alves - - * boards/gdbserver-base.exp (GDBFLAGS): Set to "set - auto-connect-native-target off". - * gdb.base/auto-connect-native-target.c: New file. - * gdb.base/auto-connect-native-target.exp: New file. - -2014-05-21 Pedro Alves - - * gdb.base/default.exp: Test "target native" instead of "target - child". - -2014-05-21 Mark Wielaard - - * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type. - -2014-05-21 Jan Kratochvil - - Fix TLS access for -static -pthread. - * gdb.threads/staticthreads.c (tlsvar): New. - (thread_function, main): Initialize it. - * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls. - Add clean_restart. - <$have_tls != "">: Check TLSVAR. - -2014-05-21 Pedro Alves - - * gdb.base/dcache-line-read-error.c: New. - * gdb.base/dcache-line-read-error.exp: New. - -2014-05-20 Pedro Alves - - * gdb.base/compare-sections.c: New file. - * gdb.base/compare-sections.exp: New file. - -2014-05-20 Pedro Alves - - * gdb.base/break-idempotent.c: New file. - * gdb.base/break-idempotent.exp: New file. - -2014-05-20 Markus Metzger - - * gdb.btrace/nohist.exp: New. - -2014-05-20 Yao Qi - - * lib/gdb.exp (gdb_init): Set timeout if test file is under - gdb.reverse directory and gdb_reverse_timeout exists in board - setting. - * README: Document gdb_reverse_timeout. - -2014-05-20 Yao Qi - - * lib/gdb.exp (default_gdb_init): Rename argument 'args' by - 'test_file_name'. Treat args as a string instead of a list. - (gdb_init): Rename argument 'args' by 'test_file_name'. - -2014-05-19 Jan Kratochvil - - * gdb.arch/powerpc-power.exp: New file. - * gdb.arch/powerpc-power.s: New file. - -2014-05-16 Doug Evans - - * gdb.base/Makefile.in (EXECUTABLES): Add completion. - * gdb.base/completion.exp: Check that all expected files exist - before doing file completion. - -2014-05-16 Doug Evans - - * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir): - Update. - (do_syscall_tests_without_xml): Update. - -2014-05-16 Pedro Alves - - * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout" - instead of "unknown output after running". - -2014-05-16 Yao Qi - - * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove - file1.txt from host at the end. - * gdb.dwarf2/dw2-anonymous-func.exp: Likewise. - -2014-05-15 Doug Evans - - * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path. - * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before - loading file. Add test for TU lookup. - -2014-05-15 Simon Marchi - - * lib/mi-support.exp (mi_run_cmd_full): Set arguments by - calling "-exec-arguments" or "set args" before running the - inferior. - -2014-05-15 Simon Marchi - - * lib/mi-support.exp (mi_expect_stop): Expect message for - inferiors that exit with non-zero exit code. - -2014-05-14 Yao Qi - - * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't - match absolute path on remote host. - (test_file_list_exec_source_files): Remove "/" from the - pattern. - -2014-05-14 Yao Qi - - * boards/local-remote-host-notty.exp (${board}_file): New - proc. - -2014-05-07 Kyle McMartin - - Pushed by Joel Brobecker . - * gdb.arch/aarch64-atomic-inst.c: New file. - * gdb.arch/aarch64-atomic-inst.exp: New file. - -2014-05-07 Yao Qi - - * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int" - in current context" too. - -2014-05-05 Keith Seitz - - * gdb.linespec/ls-dollar.exp: Add test for linespec - file:convenience_variable. - -2014-05-05 Yao Qi - - * gdb.trace/unavailable.exp (gdb_collect_args_test): Save - traceframes into tfile and ctf trace files. Read data from - trace file and test collected data. - (gdb_collect_locals_test): Likewise. - (gdb_unavailable_registers_test): Likewise. - (gdb_unavailable_floats): Likewise. - (gdb_collect_globals_test): Likewise. - (top-level): Append "ctf" to trace_file_targets if GDB - supports. - -2014-05-05 Yao Qi - - * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some - code to ... - (gdb_collect_args_test_1): ... it. New proc. - (gdb_collect_locals_test): Move some code to ... - (gdb_collect_locals_test_1): ... it. New proc. - (gdb_unavailable_registers_test): Move some code to ... - (gdb_unavailable_registers_test_1): ... it. New proc. - (gdb_unavailable_floats): Move some code to ... - (gdb_unavailable_floats_1): ... it. New proc. - -2014-05-02 Sergio Durigan Junior - - * gdb.arch/amd64-stap-optional-prefix.S (main): Add several - probes to test for bitness recognition. - * gdb.arch/amd64-stap-optional-prefix.exp - (test_probe_value_without_reg): New procedure. - Add code to test for different kinds of bitness. - -2014-05-02 Sergio Durigan Junior - - PR breakpoints/16889 - * gdb.arch/amd64-stap-optional-prefix.S: New file. - * gdb.arch/amd64-stap-optional-prefix.exp: Likewise. - -2014-05-01 Pedro Alves - - * lib/gdb.exp (gdb_load): Extend comment. Skip calling - gdb_file_cmd if no file is specified. - * boards/native-extended-gdbserver.exp (gdb_load): Use the - last_loaded_file to set the remote exec-file. - -2014-05-01 Pedro Alves - - * boards/local-remote-host.exp: New file. - -2014-05-01 Pedro Alves - - * boards/local-remote-host.exp: Rename to ... - * boards/local-remote-host-notty.exp: ... this. - -2014-04-28 Joel Brobecker - - * gdb.ada/dyn_arrayidx: New testcase. - -2014-04-26 Yao Qi - - * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB - and compute the length of function main. Save it in - $main_length. - (Dwarf::assemble): Use $main_length instead of hard-coded 10. - (top-level): Use gdb_compile to compile objects into - executable and restart GDB. Remove invocation to - prepare_for_testing. - -2014-04-25 Simon Marchi - Pedro Alves - - PR server/16255 - * gdb.multi/multi-attach.c: New file. - * gdb.multi/multi-attach.exp: New file. - -2014-04-25 Pedro Alves - - * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to - user. - (top level): Test that "set remote conditional-breakpoints-packet - off" works as intended. - * gdb.base/dprintf.exp: Test that "set remote - breakpoint-commands-packet off" works as intended. - * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled): - New function. - (top level): Call it. - * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set - remote fast-tracepoints-packet off" works as intended. - * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ... - * lib/gdb.exp (gdb_is_target_remote): ... here. - -2014-04-24 David Blaikie - - * gdb.base/catch-syscall.c: Make unreferenced statics non-static to - ensure clang would not discard them. - * gdb.base/gdbvars.c: Ditto. - * gdb.base/memattr.c: Ditto. - * gdb.base/whatis.c: Ditto. - * gdb.python/py-prettyprint.c: Ditto. - * gdb.trace/actions.c: Ditto. - * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to - ensure clang would not discard it. - -2014-04-24 David Blaikie - - * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause - clang to emit the full definition of type required by the test - * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message - -2014-04-24 David Blaikie - - * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to - coax Clang into emitting the definition of the type. - * gdb.cp/pr10728-x.h (y): Ditto. - * gdb.cp/pr10728-y.cc (y): Ditto. - -2014-04-24 David Blaikie - - * gdb.base/label.exp: XFAIL label related tests under Clang. - * gdb.cp/cplabel.exp: Ditto. - * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL - under Clang those using labels. - -2014-04-25 Yao Qi - - * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused - double_label. - * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove - partial_label and double_label. - -2014-04-24 David Blaikie - - * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641. - -2014-04-24 David Blaikie - - * gdb.cp/cpexprs.cc: Move braces to the same line as the start - of the function to work across GCC and Clang. - * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable - pointer types (const void ** const V void **). - -2014-04-24 Michael Sturm - Walfred Tedeschi - - * Makefile.in (EXECUTABLES): Added i386-avx512. - * gdb.arch/i386-avx512.c: New file. - * gdb.arch/i386-avx512.exp: Likewise. - -2014-04-23 Keith Seitz - - * lib/mi-support.exp (mi_list_breakpoints): Delete. - (mi_make_breakpoint_table): New procedure. - (mi_create_breakpoint): Use mi_make_breakpoint - and return the result. - (mi_make_breakpoint): New procedure. - (mi_build_kv_pairs): New procedure. - - * gdb.mi/mi-break.exp: Remove unused globals, - update mi_create_breakpoint usage, and use mi_make_breakpoint_table. - All callers updated. - * gdb.mi/mi-dprintf.exp: Use variable to track command - number. - Update all callers of mi_create_breakpoint and use - mi_make_breakpoint_table. - Remove any unused global variables. - * gdb.mi/mi-nonstop.exp: Likewise. - * gdb.mi/mi-nsintrall.exp: Likewise. - * gdb.mi/mi-nsmoribund.exp: Likewise. - * gdb.mi/mi-nsthrexec.exp: Likewise. - * gdb.mi/mi-reverse.exp: Likewise. - * gdb.mi/mi-simplerun.exp: Likewise. - * gdb.mi/mi-stepn.exp: Likewise. - * gdb.mi/mi-syn-frame.exp: Likewise. - * gdb.mi/mi-until.exp: Likewise. - * gdb.mi/mi-var-cp.exp: Likewise. - * gdb.mi/mi-var-display.exp: Likewise. - * gdb.mi/mi2-amd64-entry-value.exp: Likewise. - * gdb.mi/mi2-var-child.exp: Likewise. - * gdb.mi/mi-vla-c99.exp: Likewise. - * lib/mi-support.exp: Likewise. - - From Ian Lance Taylor : - * lib/gdb.exp (parse_args): New procedure. - -2014-04-23 Pedro Alves - - * gdb.base/break-unload-file.c: New file. - * gdb.base/break-unload-file.exp: New file. - * gdb.base/sym-file-lib.c (baz): New function. - * gdb.base/sym-file-loader.c (struct segment) : New - field. - (load): Store the segment's mapped size. - (unload): New function. - (unload_shlib): New function. - * gdb.base/sym-file-loader.h (unload_shlib): New declaration. - * gdb.base/sym-file-main.c (main): Unload, and reload the library, - set a breakpoint at baz, and call it. - * gdb.base/sym-file.exp: New tests for stale breakpoint - instructions. - -2014-04-23 Pedro Alves - - * gdb.base/hbreak-in-shr-unsupported-shr.c: New file. - * gdb.base/hbreak-in-shr-unsupported.c: New file. - * gdb.base/hbreak-in-shr-unsupported.exp: New file. - * gdb.base/hbreak-unmapped.c: New file. - * gdb.base/hbreak-unmapped.exp: New file. - * gdb.trace/qtro.exp (gdb_is_target_remote): Move ... - * lib/gdb.exp (gdb_is_target_remote): ... here. - -2014-04-22 Pedro Alves - - * gdb.base/consecutive-step-over.c: New file. - * gdb.base/consecutive-step-over.exp: New file. - -2014-04-22 Pedro Alves - - * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple - instead of send_gdb/gdb_expect. - -2014-04-22 Yao Qi - - * lib/trace-support.exp (generate_tracefile): New procedure. - * gdb.trace/tfile.exp: Skip the test if generate_tracefile - return 0. - * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile - if generate_tracefile returns 1. - -2014-04-18 Tom Tromey - Pedro alves - - PR backtrace/15558 - * gdb.opt/inline-bt.exp: Test backtracing from an inline function - with a backtrace limit. - * gdb.python/py-frame-inline.exp: Test running to an inline - function with a backtrace limit, and printing the newest frame. - * gdb.python/py-frame-inline.c (main): Call f. - -2014-04-17 Marcus Shawcroft - - * gdb.java/jnpe.exp: Drop srcdir from untested path. - -2014-04-17 Marcus Shawcroft - - * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc): - Drop prefix from unsupported source file path. - -2014-04-17 Yao Qi - - * lib/gdb.exp (with_target_charset): New proc. - * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with - with_target_charset. - (test_print_strings): Likewise. - (test_repeat_bytes): Likewise. - * gdb.base/setvar.exp: Set target-charset to ASCII temporarily - for some tests. - -2014-04-16 Keith Seitz - - PR gdb/15827 - * gdb.dwarf2/corrupt.c: New file. - * gdb.dwarf2/corrupt.exp: New file. - -2014-04-16 Keith Seitz - - PR c++/16597 - * gdb.cp/namelessclass.cc: New file. - * gdb.cp/namelessclass.exp: New file. - * gdb.cp/namelessclass.S: New file. - -2014-04-16 Doug Evans - - * lib/gdbserver-support.exp (gdbserver_default_get_remote_address): - Add comment. - (gdbserver_default_get_comm_port): New function. - (gdbserver_start): Check if board file provided - "gdbserver,get_comm_port" and use it if so. - * boards/native-stdio-gdbserver.exp (sockethost): Set to "". - (gdb,socketport): Set to "stdio". - (gdbserver,get_comm_port): Set to ${board}_get_comm_port. - (stdio_gdbserver_template): Delete. - (${board}_get_remote_address): Update. - (${board}_build_remote_cmd): Delete. - (${board}_get_comm_port): New function. - (${board}_spawn): Update. - * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd): - Delete. - (${board}_get_remote_address): Update. - (${board}_get_comm_port): New function. - -2014-04-16 Andrew Burgess - - * gdb.base/memattr.exp: Improve regexps to handle memory regions - appearing in any order. - -2014-04-15 Doug Evans - - * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference - uninitialized value of "description". - -2014-04-15 Keith Seitz - - * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing): - Remove unused globals. - (test_running_the_program): Likewise. - (test_controlled_execution): Likewise. - (test_controlling_breakpoints): Likewise. - (test_program_termination): Likewise. - -2014-04-15 Keith Seitz - - * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove - unused globals. - (test_rbreak_creation_and_listing): Likewise. - (test_ignore_count): Likewise. - (test_error): Likewise. - -2014-04-15 Pedro Alves - - * gdb.base/sym-file-loader.h: Move inclusion of , - , and to - sym-file-loader.c. - (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr) - (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move - to sym-file-loader.c. - (struct library): Forward declare. - (load_shlib, lookup_function): Change prototypes. - (find_shstrtab, find_strtab, find_shdr, find_symtab) - (translate_offset): Remove declarations. - (get_text_addr): New declaration. - * gdb.base/sym-file-loader.c: Move inclusion of , - , and here from - sym-file-loader.h. - (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr) - (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move - here from sym-file-loader.h. - (struct library): New structure. - (load_shlib, lookup_function): Change prototypes and adjust to - work with a struct library. - (find_shstrtab, find_strtab, find_shdr, find_symtab) - (translate_offset): Make static. - (get_text_addr): New function. - * gdb.base/sym-file-main.c (main): Adjust to new loader interface. - -2014-04-15 Pedro Alves - - * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK. - -2014-04-15 Pedro Alves - - * gdb.base/sym-file-loader.c: Include . - (SELF_LINK): New define. - (get_origin): New function. - (load_shlib): Use it. - * gdb.base/sym-file.exp: Don't early return if the target is - remote. Use runto_main, and issue fail is that fails. Use - gdb_load_shlibs. - (shlib_name): Delete. - (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout. - -2014-04-15 Pedro Alves - - * gdb.base/sym-file.exp: Remove regex characters from test - message. Don't refer to breakpoint numbers in test messages. - -2014-04-14 Keith Seitz - - PR c++/16253 - * gdb.cp/var-tag.cc: New file. - * gdb.cp/var-tag.exp: New file. - * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++. - * gdb.dwarf2/dw2-anon-mptr.exp: Likewise. - * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise. - * gdb.dwarf2/dw2-inheritance.exp: Likewise. - -2014-04-14 Tom Tromey - - * gdb.cp/classes.exp (test_enums): Handle underlying type. - * gdb.dwarf2/enum-type.exp: Add test for enum with underlying - type. - * gdb.cp/enum-class.exp: New file. - * gdb.cp/enum-class.cc: New file. - -2014-04-14 Tom Tromey - - * gdb.dwarf2/enum-type.exp: New file. - -2014-04-14 Sanimir Agovic - - * gdb.mi/mi-vla-c99.exp: New file. - * gdb.mi/vla.c: New file. - -2014-04-14 Sanimir Agovic - - * gdb.base/vla-datatypes.c: New file. - * gdb.base/vla-datatypes.exp: New file. - -2014-04-14 Sanimir Agovic - - * gdb.base/vla-ptr.c: New file. - * gdb.base/vla-ptr.exp: New file. - -2014-04-14 Sanimir Agovic - - * gdb.dwarf2/count.exp: New file. - -2014-04-14 Sanimir Agovic - - * gdb.base/vla-sideeffect.c: New file. - * gdb.base/vla-sideeffect.exp: New file. - -2014-04-14 David Blaikie - - * gdb.mi/non-stop.c: Add return value for non-void function return - statement. - * gdb.threads/staticthreads.c: Ditto. - -2014-04-12 Siva Chandra Reddy - Doug Evans - - * gdb.guile/scm-value.c: Improve test case. - * gdb.guile/scm-value.exp: Add new test. - -2014-04-11 David Blaikie - - * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to - override Clang's default. - -2014-04-11 Joel Brobecker - - Revert the following changes (regressions): - - * gdb.base/vla-sideeffect.c: New file. - * gdb.base/vla-sideeffect.exp: New file. - - * gdb.dwarf2/count.exp: New file. - - * gdb.base/vla-multi.c: New file. - * gdb.base/vla-multi.exp: New file. - - * gdb.base/vla-ptr.c: New file. - * gdb.base/vla-ptr.exp: New file. - - * gdb.base/vla-datatypes.c: New file. - * gdb.base/vla-datatypes.exp: New file. - - * gdb.mi/mi-vla-c99.exp: New file. - * gdb.mi/vla.c: New file. - -2014-04-11 Keith Seitz - - PR c++/16675 - * gdb.cp/cpsizeof.exp: New file. - * gdb.cp/cpsizeof.cc: New file. - -2014-04-11 Sanimir Agovic - - * gdb.mi/mi-vla-c99.exp: New file. - * gdb.mi/vla.c: New file. - -2014-04-11 Sanimir Agovic - - * gdb.base/vla-datatypes.c: New file. - * gdb.base/vla-datatypes.exp: New file. - -2014-04-11 Sanimir Agovic - - * gdb.base/vla-ptr.c: New file. - * gdb.base/vla-ptr.exp: New file. - -2014-04-11 Sanimir Agovic - - * gdb.base/vla-multi.c: New file. - * gdb.base/vla-multi.exp: New file. - -2014-04-11 Sanimir Agovic - - * gdb.dwarf2/count.exp: New file. - -2014-04-11 Sanimir Agovic - - * gdb.base/vla-sideeffect.c: New file. - * gdb.base/vla-sideeffect.exp: New file. - -2014-04-11 Yao Qi - - * gdb.base/completion.exp: Check file exists before running tests - on file completion. - -2014-04-10 Pedro Alves - - * gdb.base/cond-eval-mode.c: New file. - * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust - prepare_for_testing to build the new file. Check result of - runto_main. - (test_break, test_watch): New procedures. - (top level): Use them. - -2014-04-08 Pierre Muller - - * gdb.base/printcmds.exp (test_artificial_arrays): Disable - Ctrl-V use for mingw hosts. - -2014-04-07 Siva Chandra Reddy - - * gdb.python/py-value.c: Improve test case. - * gdb.python/py-value.exp: Add new test. - -2014-04-07 David Blaikie - - * lib/compiler.c: Identify the clang compiler. - * lib/compiler.cc: Ditto. - -2014-04-03 Yao Qi - - * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD. - -2014-04-01 Anton Blanchard - - * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test - messages unique. - -2014-04-01 Anton Blanchard - - * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile, - prepare_for_testing. - -2014-04-01 Anton Blanchard - - * gdb.arch/ppc64-atomic-inst.c: Remove. - * gdb.arch/ppc64-atomic-inst.S: New file. - * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase. - -2014-03-31 Doug Evans - - * gdb.base/print-symbol-loading-lib.c: New file. - * gdb.base/print-symbol-loading-main.c: New file. - * gdb.base/print-symbol-loading.exp: New file. - -2014-03-31 Yao Qi - - * gdb.base/source-dir.exp: Allow ';' as a directory separator. - -2014-03-28 Joel Brobecker - - * gdb.ada/mi_dyn_arr: New testcase. - -2014-03-27 Doug Evans - - * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug". - -2014-03-27 Yao Qi - - * lib/gdb.exp (can_single_step_to_signal_handler): Return zero - if target is nios2-*-*. - -2014-03-26 Yao Qi - - * lib/gdb.exp (readline_is_used): New proc. - * gdb.base/completion.exp: Move tests on command complete up. - Skip the rest of tests if readline is not used. - * gdb.ada/complete.exp: Skp the test if readline is not - used. - * gdb.base/filesym.exp: Likewise. - * gdb.base/macscp.exp: Likewise. - * gdb.base/readline-ask.exp: Likewise. - * gdb.base/readline.exp: Likewise. - * gdb.python/py-cmd.exp: Likewise. - * gdb.trace/tfile.exp: Likewise. - -2014-03-26 Yao Qi - - * gdb.base/macscp.exp: Fix code format issues. - -2014-03-25 Ulrich Weigand - - * gdb.asm/asm-source.exp: Handle powerpc64le-* targets. - * gdb.asm/powerpc64le.inc: New file. - -2014-03-25 Pedro Alves - Doug Evans - - * gdb.base/source-execution.c: New file. - * gdb.base/source-execution.exp: New file. - * gdb.base/source-execution.gdb: New file. - -2014-03-24 Doug Evans - - * gdb.linespec/macro-relative.exp: Mark the test as unsupported if - using fission. - -2014-03-24 Hui Zhu - Pedro Alves - - PR breakpoints/16101 - * gdb.base/dprintf.exp: Use unsupported rather than changing the - test pass/fail messages. Detect missing support for dprintf when - breakpoints are actually inserted. - * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when - breakpoints are actually inserted. - * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue - fails. - -2014-03-24 Jan Kratochvil - - * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1". - -2014-03-22 Doug Evans - - * gdb.python/python.exp (python not supported): Verify multi-line - python command issues an error. - * gdb.guile/guile.exp (guile not supported): Verify multi-line - guile command issues an error. - -2014-03-21 Maciej W. Rozycki - - * gdb.threads/thread-specific.exp: Handle the lack of usable - $this_breakpoint and $this_thread. - -2014-03-21 Hui Zhu - - * gdb.base/attach.exp (do_command_attach_tests): New. - -2014-03-20 Tom Tromey - Pedro Alves - - PR cli/15718 - * gdb.base/condbreak-call-false.c: New file. - * gdb.base/condbreak-call-false.exp: New file. - -2014-03-20 Pedro Alves - - * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid): - Delete. - (block_signals, unblock_signals): Delete. - (child_function_2, main): Remove references to deleted variable - and functions. - -2014-03-20 Pedro Alves - - * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main): - Use pthread_kill to signal thread 2. - * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: - Adjust to make the test send itself a signal rather than using the - host's "kill" command. - -2014-03-20 Pedro Alves - - * gdb.threads/multiple-step-overs.c: New file. - * gdb.threads/multiple-step-overs.exp: New file. - * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: - Adjust expected infrun debug output. - -2014-03-20 Pedro Alves - - * gdb.threads/step-over-trips-on-watchpoint.c: New file. - * gdb.threads/step-over-trips-on-watchpoint.exp: New file. - -2014-03-20 Pedro Alves - - PR breakpoints/7143 - * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of - old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead - of gdb_test_multiple. - * gdb.cp/annota2.exp: Remove kfail for gdb/38. - * gdb.cp/annota3.exp: Remove kfail for gdb/38. - -2014-03-20 Pedro Alves - - * gdb.threads/step-over-lands-on-breakpoint.c: New file. - * gdb.threads/step-over-lands-on-breakpoint.exp: New file. - -2014-03-19 Pedro Alves - - * gdb.base/async.exp: Remove early return. - -2014-03-19 Pedro Alves - - * gdb.base/async.exp (step& tests): Pass explicit test messages. - -2014-03-19 Pedro Alves - - * gdb.base/async.exp (test_background): Expect \r\n after - "completed." in the fail pattern. - -2014-03-19 Pedro Alves - - * gdb.base/async.exp (test_background): New procedure. - Use it for all background execution command tests. - -2014-03-19 Pedro Alves - - * gdb.base/async.exp: Use prepare_for_testing. - -2014-03-19 Pedro Alves - - * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in - the same line. - -2014-03-19 Pedro Alves - - * gdb.base/async.c (main): Add "jump here" and "until here" line - marker comments. - * gdb.base/async.exp (jump_here): New global. - (jump& test): Use it. - (until_here): New global. - (until& test): Use it. - -2014-03-19 Pedro Alves - - * gdb.base/async.exp: Don't frob gdb_protocol. - -2014-03-18 Doug Evans - - * gdb.base/async.exp: Whitespace fixes. Turn on target-async. - Fix spelling of exec-done-display. - -2014-03-18 Jan Kratochvil - - PR gdb/15358 - * gdb.base/gdb-sigterm.c: New file. - * gdb.base/gdb-sigterm.exp: New file. - -2014-03-18 Pedro Alves - - PR gdb/13860 - * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail. - * lib/mi-support.exp (mi_expect_stop): Add special handling for - solib-event. - -2014-03-17 Joel Brobecker - - * gdb.ada/pckd_arr_ren: New testcase. - -2014-03-13 Doug Evans - - PR guile/16612 - * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage - collect after discarding symbols. - -2014-03-13 Ludovic Courtès - Doug Evans - - * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added - to history survives a gc. - -2014-03-13 Pedro Alves - - * gdb.base/default.exp: Don't test "target procfs". - -2014-03-13 Pedro Alves - - * gdb.base/default.exp: Update "target child" and "target procfs" - tests to not expect "Unix". - -2014-03-12 Tom Tromey - - * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach): - New procs. Add target-async tests. - * gdb.reverse/break-precsave.exp (precsave_tests): New proc. - Add target-async tests. - -2014-03-12 Andreas Arnez - - * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels - 'func_start' and 'func_end' for the beginning and end of the - function code, respectively. - * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and - 'func_end' instead of 'func' and 'main'. - -2014-03-12 Andreas Arnez - - * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove. - * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to - generate the debug info assembler source. - -2014-03-12 Andreas Arnez - - * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'. - * gdb.dwarf2/arr-subrange.exp: Likewise. - * gdb.dwarf2/dwz.exp: Likewise. - * gdb.dwarf2/method-ptr.exp: Likewise. - * gdb.dwarf2/missing-sig-type.exp: Likewise. - * gdb.dwarf2/subrange.exp: Likewise. - * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'. - * gdb.dwarf2/implptrpiece.exp: Likewise. - * gdb.dwarf2/nostaticblock.exp: Likewise. - -2014-03-12 Andreas Arnez - - * lib/gdb.exp (build_executable_from_specs): Don't prepend source - directory to absolute path name arguments. - -2014-03-10 Joel Brobecker - - * gdb.ada/tagged_access: New testcase. - -2014-03-07 Markus Metzger - - * gdb.btrace/data.exp: Update expected output. - -2014-03-06 Yao Qi - - * gdb.trace/pr16508.exp: New file. - -2014-03-05 Pedro Alves - - PR gdb/16575 - * gdb.base/breakpoint-shadow.exp (compare_disassembly): New - procedure. - (top level): Adjust to use it. Add tests that exercise breakpoint - interaction with the code-cache. - -2014-02-26 Ludovic Courtès - - * gdb.guile/scm-value.exp (test_value_in_inferior): Add - test for 'history-append!'. - -2014-02-26 Joel Brobecker - - * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file. - * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file. - * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file. - * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file. - * gdb.dwarf2/dw2-abs-hi-pc.c: New file. - * gdb.dwarf2/dw2-abs-hi-pc.exp: New file. - -2014-02-26 Joel Brobecker - - * testsuite/gdb.python/py-pp-re-notag.c: New file. - * testsuite/gdb.python/py-pp-re-notag.ex: New file. - * testsuite/gdb.python/py-pp-re-notag.p: New file. - -2014-02-26 Joel Brobecker - - * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files. - -2014-02-26 Joel Brobecker - - * gdb.dwarf2/arr-stride.c: New file. - * gdb.dwarf2/arr-stride.exp: New file. - -2014-02-26 Pedro Alves - - * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me - that won't ever trigger. Make sure that GDB reports the correct - breakpoint that caused the stop. - -2014-02-25 Jan Kratochvil - - PR gdb/16626 - * gdb.base/auto-load-script: New file. - * gdb.base/auto-load.c: New file. - * gdb.base/auto-load.exp: New file. - - PR gdb/16626 - * gdb.base/auto-load.exp: Fix out-of-srctree run. - -2014-02-25 Jan Kratochvil - - Fix dw2-icycle.exp -fsanitize=address GDB crash. - * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling. - -2014-02-24 Doug Evans - - * lib/gdb.exp (run_on_host): Log error output if program fails. - -2014-02-21 Pedro Alves - - * gdb.threads/step-after-sr-lock.c: Rename to ... - * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this. - * gdb.threads/step-after-sr-lock.exp: Rename to ... - * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: - ... this. - -2014-02-20 Sergio Durigan Junior - - PR tdep/16397 - * gdb.arch/amd64-stap-special-operands.exp: New file. - * gdb.arch/amd64-stap-three-arg-disp.S: Likewise. - * gdb.arch/amd64-stap-three-arg-disp.c: Likewise. - * gdb.arch/amd64-stap-triplet.S: Likewise. - * gdb.arch/amd64-stap-triplet.c: Likewise. - -2014-02-20 Joel Brobecker - - * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters - in .section pseudo-op. - -2014-02-20 lin zuojian - Joel Brobecker - Doug Evans - - PR symtab/16581 - * gdb.dwarf2/dw2-icycle.S: New file. - * gdb.dwarf2/dw2-icycle.c: New file. - * gdb.dwarf2/dw2-icycle.exp: New file. - -2014-02-19 Siva Chandra Reddy - - * gdb.python/py-value-cc.cc: Improve test case to enable testing - operations on gdb.Value objects. - * gdb.python/py-value-cc.exp: Add new test to test operations on - gdb.Value objects. - -2014-02-18 Doug Evans - - * Makefile.in (TESTS): New variable. - (expanded_tests, expanded_tests_or_none): New variables - (check-single): Pass $(expanded_tests_or_none) to runtest. - (check-parallel): Only run tests in $(TESTS) if non-empty. - (check/no-matching-tests-found): New rule. - * README: Document TESTS makefile variable. - -2014-02-18 Doug Evans - - * Makefile.in (check-parallel): rm -rf outputs temp. - -2014-02-16 Jan Kratochvil - - Fix "ERROR: no fileid for" in the testsuite. - * lib/gdb.exp (gdb_finish): Check gdb_spawn_id. - -2014-02-12 Doug Evans - - * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink. - (MISCELLANEOUS): New variable. - (clean): rm -rf $(MISCELLANEOUS). - * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and - dwp live in the same directory as symlinks, with each symlink pointed - to a differently named file in a different directory. - -2014-02-11 Doug Evans - - * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead - of Tcl file commands. - -2014-02-10 Mark Kettenis - - * gdb.threads/step-after-sr-lock.exp: Avoid executing - "kill -SIGUSR1 -1". - -2014-02-10 Joel Brobecker - - * gdb.ada/tick_length_array_enum_idx: New testcase. - -2014-02-10 Doug Evans - - * configure.ac (AC_OUTPUT): Add gdb.guile. - * configure: Regenerate. - * lib/gdb-guile.exp: New file. - * lib/gdb.exp (get_target_charset): New function. - * gdb.base/help.exp: Update expected output from "apropos apropos". - * gdb.guile/Makefile.in: New file. - * gdb.guile/guile.exp: New file. - * gdb.guile/scm-arch.c: New file. - * gdb.guile/scm-arch.exp: New file. - * gdb.guile/scm-block.c: New file. - * gdb.guile/scm-block.exp: New file. - * gdb.guile/scm-breakpoint.c: New file. - * gdb.guile/scm-breakpoint.exp: New file. - * gdb.guile/scm-disasm.c: New file. - * gdb.guile/scm-disasm.exp: New file. - * gdb.guile/scm-equal.c: New file. - * gdb.guile/scm-equal.exp: New file. - * gdb.guile/scm-error.exp: New file. - * gdb.guile/scm-error.scm: New file. - * gdb.guile/scm-frame-args.c: New file. - * gdb.guile/scm-frame-args.exp: New file. - * gdb.guile/scm-frame-args.scm: New file. - * gdb.guile/scm-frame-inline.c: New file. - * gdb.guile/scm-frame-inline.exp: New file. - * gdb.guile/scm-frame.c: New file. - * gdb.guile/scm-frame.exp: New file. - * gdb.guile/scm-generics.exp: New file. - * gdb.guile/scm-gsmob.exp: New file. - * gdb.guile/scm-iterator.c: New file. - * gdb.guile/scm-iterator.exp: New file. - * gdb.guile/scm-math.c: New file. - * gdb.guile/scm-math.exp: New file. - * gdb.guile/scm-objfile-script-gdb.in: New file. - * gdb.guile/scm-objfile-script.c: New file. - * gdb.guile/scm-objfile-script.exp: New file. - * gdb.guile/scm-objfile.c: New file. - * gdb.guile/scm-objfile.exp: New file. - * gdb.guile/scm-ports.exp: New file. - * gdb.guile/scm-pretty-print.c: New file. - * gdb.guile/scm-pretty-print.exp: New file. - * gdb.guile/scm-pretty-print.scm: New file. - * gdb.guile/scm-section-script.c: New file. - * gdb.guile/scm-section-script.exp: New file. - * gdb.guile/scm-section-script.scm: New file. - * gdb.guile/scm-symbol.c: New file. - * gdb.guile/scm-symbol.exp: New file. - * gdb.guile/scm-symtab-2.c: New file. - * gdb.guile/scm-symtab.c: New file. - * gdb.guile/scm-symtab.exp: New file. - * gdb.guile/scm-type.c: New file. - * gdb.guile/scm-type.exp: New file. - * gdb.guile/scm-value-cc.cc: New file. - * gdb.guile/scm-value-cc.exp: New file. - * gdb.guile/scm-value.c: New file. - * gdb.guile/scm-value.exp: New file. - * gdb.guile/source2.scm: New file. - * gdb.guile/types-module.cc: New file. - * gdb.guile/types-module.exp: New file. - -2014-02-10 Yao Qi - - PR testsuite/16543 - * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT. - * configure: Regenerated. - * Makefile.in: New file. - -2014-02-08 Andreas Schwab - - * gdb.python/py-framefilter.exp: Fix typo. - -2014-02-08 Yao Qi - - * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test - that no =breakpoint-modified is emitted when breakpoints are - modified through MI commands. - -2014-02-07 Pedro Alves - Pedro Alves - - * gdb.threads/step-after-sr-lock.c: New file. - * gdb.threads/step-after-sr-lock.exp: New file. - -2014-02-07 Pedro Alves - - * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print. - -2014-02-06 Jan Kratochvil - - Fix i386-sse-stack-align.exp regression since GDB_PARALLEL. - * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file. - -2014-02-06 Doug Evans - - * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected - output. - - * gdb.gdb/python-interrupts.exp: New file. - -2014-02-05 Yao Qi - - * gdb.trace/report.exp (use_collected_data): Test the output - of "info threads" and "info inferiors". - -2014-02-05 Yao Qi - - Revert this patch: - - 2013-05-24 Yao Qi - - * gdb.trace/tfile.exp: Test inferior and thread. - -2014-02-04 Ulrich Weigand - - * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint - on a function. - * gdb.base/step-bt.c: Call hello via function pointer to make - sure its first instruction is executed on powerpc64le-linux. - -2014-02-04 Ulrich Weigand - - * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*. - -2014-02-04 Ulrich Weigand - - * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants - of the test patterns for use on little-endian systems. - -2014-02-04 Ulrich Weigand - - * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test. - (decimal_vector): Fix for little-endian. - -2014-01-29 Jose E. Marchesi - - * gdb.arch/sparc-sysstep.exp: New file. - * gdb.arch/sparc-sysstep.c: Likewise. - - * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep. - -2014-01-28 Edjunior Barbosa Machado - - * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols. - -2014-01-23 Tom Tromey - - * gdb.ada/array_char_idx: New testcase. - -2014-01-23 Tom Tromey - - PR python/16487: - * gdb.python/py-framefilter.exp: Add test using "Error" filter. - * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New - classes. - -2014-01-23 Tom Tromey - - PR python/16491: - * gdb.python/py-framefilter.py (Reverse_Function.function): Read a - string from an inferior frame. - * gdb.python/py-framefilter-mi.exp: Update. - -2014-01-22 Doug Evans - - * gdb.server/server-mon.exp: Add tests for "set debug-format". - -2014-01-22 Andreas Arnez - - * gdb.base/catch-syscall.exp: Activate test on s390*-linux. - -2014-01-22 Andreas Arnez - - * gdb.trace/entry-values.exp: Remove excess space character from - regex patterns. Handle s390 call instruction. - -2014-01-22 Andreas Arnez - - * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and - define "*_start" label. Make "name" static. - * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to - ${name} by references to ${name}_start. - -2014-01-22 Andreas Arnez - - * gdb.base/info-macros.exp: Remove "debug" from the compile - options. - -2014-01-17 Iain Buclaw - - * gdb.dlang/demangle.exp: New file. - -2014-01-17 Iain Buclaw - - * gdb.dlang/primitive-types.exp: New file. - -2014-01-17 Iain Buclaw - - * configure.ac: Create gdb.dlang/Makefile. - * configure: Regenerate. - * Makefile.in (ALL_SUBDIRS): Add gdb.dlang. - * gdb.dlang/Makefile.in: New file. - * lib/d-support.exp: New file. - * lib/gdb.exp (skip_d_tests): New proc. - -2014-01-16 Markus Metzger - - * gdb.btrace/delta.exp: Check reverse stepi. - * gdb.btrace/tailcall.exp: Update. Add stepping tests. - * gdb.btrace/finish.exp: New. - * gdb.btrace/next.exp: New. - * gdb.btrace/nexti.exp: New. - * gdb.btrace/record_goto.c: Add comments. - * gdb.btrace/step.exp: New. - * gdb.btrace/stepi.exp: New. - * gdb.btrace/multi-thread-step.c: New. - * gdb.btrace/multi-thread-step.exp: New. - * gdb.btrace/rn-dl-bind.c: New. - * gdb.btrace/rn-dl-bind.exp: New. - * gdb.btrace/data.c: New. - * gdb.btrace/data.exp: New. - * gdb.btrace/Makefile.in (EXECUTABLES): Add new. - -2014-01-16 Markus Metzger - - * gdb.btrace/Makefile.in (EXECUTABLES): Add delta. - * gdb.btrace/exception.exp: Update. - * gdb.btrace/instruction_history.exp: Update. - * gdb.btrace/record_goto.exp: Update. - * gdb.btrace/tailcall.exp: Update. - * gdb.btrace/unknown_functions.exp: Update. - * gdb.btrace/delta.exp: New. - -2014-01-16 Markus Metzger - - * gdb.btrace/record_goto.exp: Add backtrace test. - * gdb.btrace/tailcall.exp: Add backtrace test. - -2014-01-16 Markus Metzger - - * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto. - * gdb.btrace/record_goto.c: New. - * gdb.btrace/record_goto.exp: New. - * gdb.btrace/x86-record_goto.S: New. - -2014-01-16 Markus Metzger - - * gdb.btrace/function_call_history.exp: Update tests. - * gdb.btrace/instruction_history.exp: Update tests. - -2014-01-16 Markus Metzger - - * gdb.btrace/function_call_history.exp: Fix expected field - order for "record function-call-history". - Add new tests for "record function-call-history /c". - * gdb.btrace/exception.cc: New. - * gdb.btrace/exception.exp: New. - * gdb.btrace/tailcall.exp: New. - * gdb.btrace/x86-tailcall.S: New. - * gdb.btrace/x86-tailcall.c: New. - * gdb.btrace/unknown_functions.c: New. - * gdb.btrace/unknown_functions.exp: New. - * gdb.btrace/Makefile.in (EXECUTABLES): Add new. - -2014-01-16 Markus Metzger - - * gdb.btrace/instruction_history.exp: Update. - * gdb.btrace/function_call_history.exp: Update. - -2014-01-16 Markus Metzger - - * gdb.btrace/function_call_history.exp: Fix expected function - trace. - * gdb.btrace/instruction_history.exp: Initialize traced. - Remove traced_functions. - -2014-01-16 Markus Metzger - - * gdb.btrace/function_call_history.exp: Update - * gdb.btrace/instruction_history.exp: Update. - -2014-01-16 Markus Metzger - - * gdb.btrace/enable.exp: Update expected text. - -2014-01-16 Omair Javaid - - * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4 - bytes. - -2014-01-15 Maciej W. Rozycki - - * gdb.base/float.exp: Handle "aarch64*-*-*" targets. - -2014-01-15 Omair Javaid - - * lib/gdb.exp (supports_process_record): Return true for - arm*-linux*. (supports_reverse): Likewise. - -2014-01-13 Siva Chandra Reddy - - PR python/15464 - PR python/16113 - * gdb.python/py-type.c: Enhance test case. - * gdb.python/py-value-cc.cc: Likewise - * gdb.python/py-type.exp: Add new tests. - * gdb.python/py-value-cc.exp: Likewise - -2014-01-10 Andreas Arnez - Pedro Alves - - * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol. - Make "name" extern. - * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace - references to ${name}_start by references to ${name}. - -2014-01-10 Joel Brobecker - - * gdb.ada/pp-rec-component.exp: Remove path from "source" test. - -2014-01-10 Joel Brobecker - - * gdb.python/py-pp-integral.exp: Remove path from "source" test. - -2014-01-09 Maciej W. Rozycki - Pedro Alves - - * gdb.mi/mi-info-os.exp: Connect to the target with - mi_gdb_target_load. - -2014-01-08 Pedro Alves - - * gdb.threads/reconnect-signal.c: New file. - * gdb.threads/reconnect-signal.exp: New file. - -2014-01-07 Jan Kratochvil - - * gdb.base/source-dir.exp: New file. - -2014-01-07 Joel Brobecker - - * gdb.ada/mi_interface: New testcase. - -2014-01-07 Joel Brobecker - - * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py, - gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb, - gdb.ada/pp-rec-component/pck.ads: New files. - -2014-01-07 Joel Brobecker - - * gdb.python/py-pp-integral.c: New file. - * gdb.python/py-pp-integral.py: New file. - * gdb.python/py-pp-integral.exp: New file. - -For older changes see ChangeLog-1993-2013. - -;; Local Variables: -;; mode: change-log -;; left-margin: 8 -;; fill-column: 74 -;; version-control: never -;; End: - - Copyright 2014-2021 Free Software Foundation, Inc. - Copying and distribution of this file, with or without modification, - are permitted provided the copyright notice and this notice are preserved. diff --git a/gdb/testsuite/ChangeLog-2014-2021 b/gdb/testsuite/ChangeLog-2014-2021 new file mode 100644 index 00000000000..a7fa58d769a --- /dev/null +++ b/gdb/testsuite/ChangeLog-2014-2021 @@ -0,0 +1,24952 @@ +2021-07-06 Tom de Vries + + * gdb.base/info-macros.exp: Replace use of + gdb_test_multiple_with_read1_timeout_factor with gdb_test_lines. + (gdb_test_multiple_with_read1_timeout_factor): Remove. + * lib/gdb.exp (gdb_test_lines): Add handling or -re-not . + +2021-07-05 Tom de Vries + + * gdb.fortran/ptype-on-functions.exp: Allow both $integer8 and + $integer4 for size of string length. + +2021-07-03 Joel Brobecker + + * gdb.base/default.exp: Change $_gdb_major to 12. + +2021-07-01 Pedro Alves + + PR mi/15729 + PR gdb/13463 + * gdb.base/access-mem-running.c: New. + * gdb.base/access-mem-running.exp: New. + * gdb.threads/access-mem-running-thread-exit.c: New. + * gdb.threads/access-mem-running-thread-exit.exp: New. + +2021-06-29 Simon Marchi + + * gdb.dwarf2/dw2-reg-undefined.exp: Update regexp. + +2021-06-25 Andrew Burgess + + * gdb.base/info_sources_2-header.h: New file. + * gdb.base/info_sources_2-lib.c: New file. + * gdb.base/info_sources_2-test.c: New file. + * gdb.base/info_sources_2.exp: New file. + +2021-06-25 Andrew Burgess + + * gdb.mi/mi-info-sources.exp: Add additional tests. + +2021-06-25 Andrew Burgess + + * gdb.dwarf2/dw2-filename.exp: Update expected results. + * gdb.mi/mi-file.exp: Likewise. + * gdb.mi/mi-info-sources-base.c: New file. + * gdb.mi/mi-info-sources.c: New file. + * gdb.mi/mi-info-sources.exp: New file. + +2021-06-25 Andrew Burgess + + * gdb.cp/method-call-in-c.cc (struct foo_type): Add static member + function static_method. + (global_var): New global. + (main): Use new static_method to ensure it is compiled in. + * gdb.cp/method-call-in-c.exp: Test calls to static member + function. + +2021-06-25 Andrew Burgess + + PR gdb/27994 + * gdb.cp/method-call-in-c.cc (struct foo_type): Add operator+=, + change initial value of var member variable. + (main): Make use of foo_type's operator+=. + * gdb.cp/method-call-in-c.exp: Test use of operator+=. + +2021-06-25 Andrew Burgess + + PR gdb/27994 + * gdb.cp/method-call-in-c.cc: New file. + * gdb.cp/method-call-in-c.exp: New file. + +2021-06-25 Tom Tromey + + * lib/gdb.exp (add_gdb_index, ensure_gdb_index): Add "style" + parameter. + * gdb.rust/dwindex.exp: New file. + * gdb.rust/dwindex.rs: New file. + +2021-06-25 Andrew Burgess + + * gdb.python/py-breakpoint.c (do_throw): New function. + (main): Call do_throw. + * gdb.python/py-breakpoint.exp (test_catchpoints): New proc. + +2021-06-25 Andrew Burgess + + * gdb.guile/scm-breakpoint.exp (test_catchpoints): New proc. + +2021-06-25 Andrew Burgess + + * gdb.guile/scm-breakpoint.exp (test_watchpoints): Add new tests. + +gdb/testsuite/ChangeLog +2021-06-25 Carl Love + + * gdb.arch/powerpc-plxv-norel.exp: Add call to skip_power_isa_3_1_tests. + * lib/gdb.exp(skip_power_isa_3_1_tests): New gdb_caching_proc test. + +2021-06-25 Tom Tromey + + * gdb.ada/py_range.exp: Add type name test cases. + +2021-06-24 Tom de Vries + + * gdb.base/info-macros.exp: Add after trailing whitespace in + test names. + +2021-06-24 Tom de Vries + + * gdb.base/argv0-symlink.exp: Use with_test_prefix. + +2021-06-23 Tom de Vries + + * lib/gdb.exp (gdb_test_lines): Rewrite to accept single + multiline tcl regexp. + * gdb.base/info-types.exp.tcl: Update. Make empty line at end of + regexp optional. + * gdb.base/info-macros.exp: Update. + * gdb.cp/cplusfuncs.exp: Update. + +2021-06-22 Andreas Schwab + + PR symtab/27999 + * lib/dwarf.exp (start_end): New proc inside loclists. + * gdb.dwarf2/loclists-start-end.exp: New file. + * gdb.dwarf2/loclists-start-end.c: New file. + +2021-06-22 Tom de Vries + + * gdb.dwarf2/imported-unit-c.exp: New file. + +2021-06-22 Andrew Burgess + + * gdb.server/server-kill.exp: Introduce global kill_pid_of, and + make use of this in prepare to select which pid we should kill. + Run all the tests twice with a different kill_pid_of value. + (prepare): Make use of kill_pid_of. + (test_stepi): New proc. + +2021-06-21 Andrew Burgess + + * gdb.python/py-frame.exp: Add Frame.level tests. + * gdb.python/py-pending-frame-level.c: New file. + * gdb.python/py-pending-frame-level.exp: New file. + * gdb.python/py-pending-frame-level.py: New file. + +2021-06-21 Andrew Burgess + + * gdb.python/py-unwind-user-regs.c: New file. + * gdb.python/py-unwind-user-regs.exp: New file. + * gdb.python/py-unwind-user-regs.py: New file. + +2021-06-17 Carl Love + + * gdb.arch/powerpc-power8.exp(bctar, bctarl): Update mnemonics + to bgetar and bgetarl. + * gdb.arch/powerpc-power8.s((bctar, bctarl): Update comments + for mnemonics to bgetar and bnstarl. + +2021-06-17 Simon Marchi + + * gdb.base/args.exp: Check target, KFAIL if remote. + (args_test): Add parameter and use it. + +2021-06-17 Simon Marchi + + * gdb.base/args.exp: Remove trailing parenthesis in test names. + +2021-06-17 Simon Marchi + + * gdb.base/args.exp: Use $old_gdbflags in all tests. + +2021-06-17 Simon Marchi + + * gdb.base/args.exp: Use save_vars. + +2021-06-14 Pedro Alves + + * gdb.base/annota1.exp: Build list using [list] instead of {}. + Tell [join] to join with no character. Build expected pattern in + separate variable instead of in the -re expression directly. + +2021-06-11 Kevin Buettner + + * gdb.mi/mi-sym-info.exp (114-symbol-info-function test): Increase + timeout. + +2021-06-11 Kevin Buettner + + * gdb.base/print-symbol-loading.exp (proc test_load_shlib): + Allow "Symbols already loaded for..." messages. + +2021-06-11 Kevin Buettner + + * gdb.base/execl-update-breakpoints.exp: Add regular + expression for optionally matching output related to + libthread_db. + * gdb.base/fork-print-inferior-events.exp: Likewise. + +2021-06-11 Felix Willgerodt + + * gdb.mi/array.f: Convert into... + * gdb.mi/array.f90: ...this. + * gdb.mi/mi-var-child-f.exp: Use array.f90. + +2021-06-11 Tom Tromey + + PR rust/23427 + * lib/rust-support.exp (rust_compiler_version): New caching proc. + * gdb.rust/rawids.exp: New file. + * gdb.rust/rawids.rs: New file. + +2021-06-10 Simon Marchi + + * lib/gdb.exp (default_gdb_exit): Unset gdb_tty_name. + (spawn_capture_tty_name): New, override builtin spawn. + (default_gdb_spawn): Capture GDB's TTY name. + * lib/tuiterm.exp (tuiterm_spawn): Remove. + (tuiterm_env_init, tuiterm_env_finish): Remove spawn override. + (Term) : Use new variable name. + (tuiterm_env_init, tuiterm_env_finish): Remove. + (tuiterm_env): Don't call tuiterm_env_init and register + tuiterm_env_finish in gdb_finish_hooks. + (gdb_finish_hooks): Remove. + (gdb_finish): Don't call finish hooks. + +2021-06-10 Tom de Vries + + * gdb.mi/user-selected-context-sync.c (child_sub_function, main): + Rewrite while (1) using dummy loop body. + +2021-06-10 Bhuvanendra Kumar N + + * gdb.base/foll-exec.c: convert the multi-line function call into + single line. + +2021-06-10 Tom de Vries + + * lib/cp-support.exp (cp_test_ptype_class): Break up regexp. + * gdb.cp/nested-types.exp: Remove usage of read1 timeout factor. + +2021-06-10 Tom de Vries + + * gdb.cp/cplusfuncs.exp (info_func_regexp): Use gdb_test_lines. + +2021-06-09 Tom Tromey + + * README (Example): Update read1 example. + +2021-06-09 Simon Marchi + + * lib/tuiterm.exp (Term) <_check_box>: Improve logging. + +2021-06-08 Lancelot Six + + * gdb.base/premature-dummy-frame-removal.py (TestUnwinder): Use + 'is None' instead of '== None' and 'is not None' instead of + '!= None'. + * gdb.python/py-frame-args.py (lookup_function): Same. + * gdb.python/py-framefilter-invalidarg.py (Reverse_Function): Same. + * gdb.python/py-framefilter.py (Reverse_Function): Same. + * gdb.python/py-nested-maps.py (lookup_function): Same. + * gdb.python/py-objfile-script-gdb.py (lookup_function): Same. + * gdb.python/py-prettyprint.py (lookup_function): Same. + * gdb.python/py-section-script.py (lookup_function): Same. + * gdb.python/py-unwind-inline.py (dummy_unwinder): Same. + * gdb.python/python.exp: Same. + * gdb.rust/pp.py (lookup_function): Same. + +2021-06-08 Tom de Vries + + * lib/gdb.exp (multi_line): Require more than one argument. + * gdb.base/gdbinit-history.exp: Update multi_line call. + * gdb.base/jit-reader.exp: Remove multi_line call. + * gdb.fortran/dynamic-ptype-whatis.exp: Same. + +2021-06-08 Tom de Vries + + * gdb.base/info-types.exp.tcl (match_line, gdb_test_lines): Move ... + * lib/gdb.exp: ... here. + * gdb.base/info-macros.exp: Use gdb_test_lines. + +2021-06-08 Tom de Vries + + * gdb.base/info-types.exp.tcl (match_line): Handle --any. + (gdb_test_lines): Factor out of ... + (run_test): ... here. + +2021-06-08 Tom de Vries + + * gdb.base/batch-preserve-term-settings.exp (spawn_shell): Fix + matching of initial prompt. + +2021-06-08 Tom de Vries + + * gdb.threads/multi-create-ns-info-thr.exp: Limit breakpoint regexp to + one line. + +2021-06-08 Tom de Vries + + * gdb.base/sect-cmd.exp: Use gdb_test. Use -wrap "". Fix + test name. + +2021-06-08 Tom de Vries + + * gdb.base/sect-cmd.exp: Fix saw_section_address_line regexp. + +2021-06-07 Simon Marchi + + * gdb.base/continue-all-already-running.exp: Call fail if can't + run to main. + +2021-06-07 Andrew Burgess + + PR gdb/27847 + * gdb.dwarf2/dw2-weird-type-len.c: New file. + * gdb.dwarf2/dw2-weird-type-len.exp: New file. + +2021-06-07 Simon Marchi + + * gdb.base/attach.exp (test_command_line_attach_run): Use + proc_with_prefix. + +2021-06-07 Tom de Vries + + PR testsuite/27908 + * gdb.base/run-attach-while-running.exp (test): Don't match prompt + after attach using '$gdb_prompt $'. + +2021-06-07 Tom de Vries + + * gdb.base/info-types.exp.tcl: Remove "File .*" matching from regexp + matching state machine. + +2021-06-07 Tom de Vries + + * gdb.base/new-ui-pending-input.exp + (test_command_line_new_ui_pending_input): Fix regexp for "initial + prompt on extra console". + +2021-06-07 Tom de Vries + + * gdb.base/info-types.exp.tcl (run_test): Move "random line" regexp + up. + +2021-06-06 Simon Marchi + + * gdb.server/stop-reply-no-thread-multi.exp: Clear sysroot when + host and target are local. + +2021-06-05 Hannes Domani + + * gdb.python/py-symbol.exp: Fix tests for Python 3. + +2021-06-05 Shahab Vahedi + + * gdb.arch/arc-disassembler-options.exp: New test. + * gdb.arch/arc-disassembler-options.s: New test source. + +2021-06-04 Tom Tromey + + * gdb.ada/array_of_symbolic_length.exp: New file. + * gdb.ada/array_of_symbolic_length/foo.adb: New file. + * gdb.ada/array_of_symbolic_length/gl.adb: New file. + * gdb.ada/array_of_symbolic_length/gl.ads: New file. + * gdb.ada/array_of_symbolic_length/pck.adb: New file. + * gdb.ada/array_of_symbolic_length/pck.ads: New file. + +2021-06-03 Magne Hov + + PR python/27841 + * gdb.python/py-events.exp: Extend inferior exit tests. + * gdb.python/py-events.py: Print inferior exit PID. + +2021-06-03 Hannes Domani + + * gdb.python/py-symbol.exp: Test symbol constants. + +2021-06-02 Bernd Edlinger + + * gdb.dwarf2/per-bfd-sharing.exp: Fix temp-dir leakage. + +2021-06-02 Carl Love + + * gdb.threads/threadapply.c: Add global mybarrier. + (main): Add pthread_barrier_init. + (thread_function): Replace while loop with myp increment and + pthread_barrier_wait. + +2021-06-02 Andrew Burgess + + * lib/gdb.exp (gdb_compile): Only add the -J option when using a + gcc based Fortran compiler, for example, flang does not support + this option. + +2021-06-02 Andrew Burgess + + * lib/fortran.exp (fortran_int8): Escape '*' in pattern. + +2021-06-01 Tom Tromey + + * Makefile.in (all): Don't print anything. + ($(abs_builddir)/site.exp site.exp): Use $(ECHO_GEN). + (expect-read1): Likewise. + (read1.so): Use $(ECHO_CC). + Include silent-rules.mk. + +2021-06-01 Tom Tromey + + * aclocal.m4, configure.ac, configure: Remove. + * Makefile.in (EXTRA_RULES): Remove. + ($(abs_builddir)/site.exp site.exp): Don't depend on + config.status. + (distclean maintainer-clean realclean, Makefile): Update. + (config.status): Remove target. + (lib/pdtrace): New target. + (all): Don't depend on EXTRA_RULES. + (check-read1): Depend on read1.so, expect-read1. + +2021-06-01 Tom de Vries + + PR symtab/26096 + * gdb.cp/cold-clone.cc: New test. + * gdb.cp/cold-clone.exp: New file. + +2021-06-01 Andrew Burgess + + * gdb.gdb/unittest.c: New file. + * gdb.gdb/unittest.exp: Run with and without a binary file loaded + into GDB. + +2021-06-01 Andrew Burgess + + * gdb.base/premature-dummy-frame-removal.c: New file. + * gdb.base/premature-dummy-frame-removal.exp: New file. + * gdb.base/premature-dummy-frame-removal.py: New file. + +2021-05-27 Simon Marchi + + * gdb.base/reverse-init-functions.exp: New. + +2021-05-27 Tom de Vries + + PR symtab/27919 + PR testsuite/27920 + * gdb.dwarf2/dw2-dummy-cu.exp: Use maint expand-symtabs instead of + -readnow. + +2021-05-27 Tom de Vries + + PR testsuite/27921 + * gdb.dwarf2/gdb-index.exp (add_gdb_index): Rename to ... + (local_add_gdb_index): ... this. + +2021-05-21 Tom de Vries + + PR testsuite/25047 + * boards/cc-with-gnu-debuglink.exp: New file. + +2021-05-21 Tankut Baris Aktemur + + * gdb.dwarf2/dw2-inline-with-lexical-scope.c (func): Replace + a dead code with an assignment to a global var. Fix a + whitespacing problem around an assignment operator. + +2021-05-19 Will Schmidt + + * gdb.arch/powerpc64-prologue.c: New test to exercise prologues + for the powerpc64 LE target. + * gdb.arch/powerpc-prologue.exp: Test Harness. + +2021-05-19 Andrew Burgess + + * gdb.guile/scm-pretty-print.exp: Add test names to resolve + duplicate test names. + +2021-05-19 Tom de Vries + + * gdb.base/info-types.exp.tcl: Scan info types output line-by-line. + +2021-05-17 Simon Marchi + + * gdb.python/py-framefilter-gdb.py.in: Rename to: + * gdb.python/py-framefilter-gdb.py: ... this. + * gdb.python/py-framefilter-invalidarg-gdb.py.in: Rename to: + * gdb.python/py-framefilter-invalidarg-gdb.py: ... this. + +2021-05-17 Simon Marchi + + * gdb.python/py-framefilter-gdb.py.in: Re-format. + * gdb.python/py-framefilter-invalidarg-gdb.py.in: Re-format. + +2021-05-17 Bhuvanendra Kumar N + + * gdb.base/class-allocatable-array.exp: Modified test for clang. + +2021-05-16 Weimin Pan + + * gdb.ctf/funcreturn.exp: New file. + * gdb.ctf/whatis.c: Copy from gdb.base. + +2021-05-14 Tom Tromey + + * gdb.rust/pp.exp: New file. + * gdb.rust/pp.py: New file. + * gdb.rust/pp.rs: New file. + +2021-05-14 Bernd Edlinger + + * gdb.base/index-cache.exp: Cleanup $cache_dir/*.gdb-index and + remove the directory. + * gdb.dwarf2/per-bfd-sharing.exp: Likewise. + +2021-05-14 Tankut Baris Aktemur + + * gdb.python/py-inferior.exp: Add test cases for 'connection_num'. + +2021-05-14 Kent Cheung + Andrew Burgess + + * gdb.python/py-format-string.c: Added a variable to test. + * gdb.python/py-format-string.exp: Check string representation is + printed at appropriate max_depth settings. + * gdb.python/py-nested-maps.exp: Likewise. + * gdb.guile/scm-pretty-print.exp: Add additional tests. + +2021-05-13 Andrew Burgess + + * gdb.guile/scm-pretty-print.exp (run_lang_tests): Give some tests + unique names, also wrap proc body in with_test_prefix. + +2021-05-13 Andrew Burgess + + * gdb.guile/scm-frame-args.exp: Add with_test_prefix to resolve + duplicate test names. + * gdb.guile/scm-parameter.exp: Provide test names to avoid + duplicate names based on the command being run. + * gdb.guile/scm-symbol.exp: Extend test name to make it unique. + * gdb.guile/scm-type.exp (restart_gdb): Don't print PASS line when + loading a support module. + (test_equality): Update test name to match the actual test, making + the name unique in the process. + * gdb.guile/scm-value.exp (test_value_in_inferior): Add test names + to resolve duplicate tests. + (test_inferior_function_call): Likewise. + (test_subscript_regression): Likewise. + +2021-05-13 Andrew Burgess + + * lib/guile.exp (gdb_scm_load_file): Use empty test name to + silence PASS lines. + (gdb_install_guile_module): Likewise. + +2021-05-12 George Barrett + + * gdb.guile/scm-value.exp (test_value_in_inferior): Add test for + value-const-value. + +2021-05-12 George Barrett + + * gdb.guile/scm-value.exp (test_value_in_inferior): Add test for + value-reference-value. Add test for value-rvalue-reference-value. + +2021-05-11 Tom de Vries + + * gdb.base/watch_thread_num.exp: Fix "set debug infrun 1" FAILs. + Add "set debug infrun 1" commented out. + +2021-05-11 Tom de Vries + + * gdb.base/gdb-sigterm.exp: Fix exp_continue regexp. + +2021-05-11 Bhuvanendra Kumar + + * gdb.fortran/array-element.exp: Breakpoint location is modified. + +2021-05-10 Lancelot Six + + PR gdb/27614 + * gdb.dwarf2/gdb-add-index-symlink.exp: New test. + +2021-05-10 Andrew Burgess + + * gdb.guile/guile.exp: Don't use the source directory as a + temporary HOME directory. + +2021-05-10 Simon Marchi + + * gdb.arch/amd64-osabi.exp (test_osabi_none): Use the + parameters. + +2021-05-07 Andrew Burgess + + * gdb.guile/guile.exp: Add an extra test. + +2021-05-07 Andrew Burgess + + * gdb.base/ptype-offsets.exp: Replace use of send_gdb with + gdb_test_no_output. + +2021-05-07 Simon Marchi + + * Re-format all Python files using black. + * gdb.python/py-prettyprint.exp (run_lang_tests): Adjust. + +2021-05-06 Andrew Burgess + + * gdb.guile/scm-breakpoint.exp (test_watchpoints): Print the + watchpoint object before and after registering it with GDB. + +2021-05-06 Andrew Burgess + + * gdb.guile/scm-breakpoint.exp (test_bkpt_basic): Convert to + 'proc_with_prefix', remove use of 'with_test_prefix', and + reindent. + (test_bkpt_deletion): Likewise. + (test_bkpt_cond_and_cmds): Likewise. + (test_bkpt_invisible): Likewise. + (test_watchpoints): Likewise. + (test_bkpt_internal): Likewise. + (test_bkpt_eval_funcs): Likewise. + (test_bkpt_registration): Likewise. + (test_bkpt_address): Convert to 'proc_with_prefix'. + (test_bkpt_probe): Likewise. + +2021-05-06 Andrew Burgess + + * gdb.guile/scm-breakpoint.exp (test_bkpt_basic): Extend test + names to avoid duplicates. + (test_bkpt_cond_and_cmds): Likewise. + (test_bkpt_eval_funcs): Likewise. + +2021-05-06 Tankut Baris Aktemur + + * gdb.mi/mi-break.exp (test_forced_conditions): Add a test + for the -break-condition command's "--force" flag. + +2021-05-06 Tankut Baris Aktemur + + * gdb.mi/mi-break.exp (test_forced_conditions): New proc that + is called by the test. + +2021-05-05 Tom de Vries + + * gdb.threads/detach-step-over.exp: Do exp_continue when encountering + "Reading symbols" or "Expanding full symbols" lines. Using timeout + factor of 2 for attach. + +2021-05-05 Tom de Vries + + * gdb.threads/fork-plus-threads.exp: Handle "New LWP " and + "LWP exited" messages. + +2021-05-04 Simon Marchi + + * gdb.python/py-type.exp (test_fields): Test calling fields on + an int type. + +2021-05-04 Simon Marchi + + * gdb.python/flexible-array-member.exp: Adjust expected range + value for member declared with 0 size. Test accessing range + tuple through range type. + +2021-05-03 Andrew Burgess + + PR testsuite/27788 + * gdb.python/py-startup-opt.exp (test_python_settings): Change the + expected results when environment variable PYTHONDONTWRITEBYTECODE + is set. + +2021-04-30 Tom Tromey + + * gdb.ada/enum_idx_packed/pck.ads (My_Enum, My_Array_Type) + (Confused_Array): New types. + * gdb.ada/enum_idx_packed/foo.adb (Confused_Array): New variable. + * gdb.ada/enum_idx_packed.exp: Add new tests. + +2021-04-30 Tom de Vries + + * gdb.mi/mi-sym-info.exp: Add with_timeout_factor, and increase + existing timeout factors. + +2021-04-30 Tom de Vries + + * gdb.mi/mi-sym-info.exp: Remove duplicate test. + +2021-04-29 Tom de Vries + + PR testsuite/27786 + * lib/valgrind.exp (vgdb_start): Use set_remotetimeout. Increase + remotetimeout to 4. + +2021-04-28 Tom Tromey + + * gdb.ada/null_overload.exp: New file. + * gdb.ada/null_overload/foo.adb: New file. + +2021-04-28 Andrew Burgess + + * gdb.python/py-startup-opt.exp: New file. + +2021-04-27 Luis Machado + + * gdb.base/maint.exp: Drop a pattern that is not needed. + * lib/gdb.exp (readnow): Match line-by-line. + +2021-04-27 Luis Machado + + * gdb.xml/tdesc-reload.exp: Pass -lbl. + +2021-04-27 Michael Weghorn + Simon Marchi + + * gdb.python/libpy-autoloaded-pretty-printers-in-newobjfile-event.so-gdb.py: New test. + * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event-lib.cc: New test. + * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event-lib.h: New test. + * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event-main.cc: New test. + * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event.exp: New test. + * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event.py: New test. + +2021-04-26 Tom Tromey + + PR gdb/27743: + * gdb.dwarf2/imported-unit-bp.exp: New file. + * gdb.dwarf2/imported-unit-bp-main.c: New file. + * gdb.dwarf2/imported-unit-bp-alt.c: New file. + +2021-04-26 Simon Marchi + + PR gdb/27773 + * gdb.base/dump.exp: Test dump to non-existent dir. + +2021-04-26 Luis Machado + + * gdb.arch/aarch64-dbreg-contents.c (set_watchpoint): Fix arch level + comparison. + +2021-04-25 Lancelot Six + + PR gdb/22640 + * gdb.base/ptype-offsets.exp: Add tests to verify the behavior + of 'ptype/ox' and 'ptype/od'. Check that 'set print type hex' + changes the default behavior of 'ptype/o'. Update to take into + account new horizontal layout. + * gdb.rust/simple.exp: Update ptype test to check new horizontal + layout. + * gdb.rust/union.exp: Same. + +2021-04-23 Andrew Burgess + + * gdb.base/info_sources.exp: Add new tests. + +2021-04-22 Tom Tromey + + * gdb.base/ptype-offsets.cc (struct empty_member): New. + (main): Use empty_member. + * gdb.base/ptype-offsets.exp: Add new test. + +2021-04-22 Simon Marchi + + * gdb.python/flexible-array-member.exp: Add check for Python + support. + +2021-04-22 Simon Marchi + + PR gdb/27757 + * gdb.python/flexible-array-member.c: New test. + * gdb.python/flexible-array-member.exp: New test. + * gdb.guile/scm-type.exp (test_range): Add test for flexible + array member. + * gdb.guile/scm-type.c (struct flex_member): New. + (main): Use it. + +2021-04-22 Tom Tromey + + * gdb.rust/modules.exp: Add checks for syntax errors. + * gdb.rust/expr.exp: Add checks for syntax errors. + * gdb.rust/simple.exp: Add checks for syntax errors. + +2021-04-21 Carl Love + + * gdb.base/valgrind-bt.exp: Add gdb_test "break main". + Update expected string for gdb_test "bt". + + * lib/valgrind.exp: Add set remotetimeout 3. + Increase vgdb wait from 1 to 2. + Add max-invoke-ms option to vgdb command line. + +2021-04-21 Tankut Baris Aktemur + + * gdb.mi/mi-break.exp: Extend with checks for invalid breakpoint + conditions. + +2021-04-21 Simon Marchi + Tankut Baris Aktemur + + * gdb.mi/mi-break.exp: Fix the duplicate test names. + +2021-04-20 Felix Willgerodt + + * gdb.base/address_space_qualifier.exp: New file. + +2021-04-19 Tom Tromey + + PR gdb/27742: + * gdb.opt/inline-locals.exp: Update kfail patterns. + +2021-04-17 Tom Tromey + + * gdb.dwarf2/gdb-index-nodebug.exp: New file. + +2021-04-16 Tom Tromey + + * gdb.rust/simple.exp: Change error text. + * gdb.rust/expr.exp: Change error text. + +2021-04-16 Tom Tromey + + * gdb.rust/simple.exp: Add parens to 'as' test. + +2021-04-16 Simon Marchi + + * boards/simavr.exp: Set debug_flags. + +2021-04-16 Luis Machado + + * gdb.dwarf2/dw2-bfloat16.exp: New file. + +2021-04-15 Andrew Burgess + + * gdb.python/py-parameter.exp: Give a test a proper name to avoid + including a path in the test name. + +2021-04-15 Simon Marchi + + * gdb.threads/fork-plus-threads.exp: Use foreach_with_prefix. + +2021-04-15 Tom Tromey + + * gdb.dwarf2/arr-stride.exp: Add test. + +2021-04-15 Andrew Burgess + + * gdb.base/startup-file.exp: Add more tests. + +2021-04-15 Andrew Burgess + + PR cli/25956 + * gdb.base/early-init-file.c: New file. + * gdb.base/early-init-file.exp: New file. + * lib/gdb-utils.exp (style): Handle style 'none'. + +2021-04-14 Tankut Baris Aktemur + + * gdb.dwarf2/dw2-inline-with-lexical-scope.exp: Use + @DW_INL_declared_inlined for the inline attribute. + +2021-04-14 Tankut Baris Aktemur + + * gdb.opt/inline-locals.c (scoped): New function. + (main): Call 'scoped'. + * gdb.opt/inline-locals.exp: Update with "info locals" tests + for scoped variables. + * gdb.dwarf2/dw2-inline-with-lexical-scope.c: New file. + * gdb.dwarf2/dw2-inline-with-lexical-scope.exp: New file. + +2021-04-14 Tankut Baris Aktemur + + * lib/dwarf.exp (_location): Recognize DW_OP_fbreg as an op. + +2021-04-12 Will Schmidt + + * gdb.arch/powerpc-vsx-regs.exp: Initialize vs* doublewords. + +2021-04-12 Will Schmidt + + * gdb.arch/powerpc-plxv-nonrel.s: Testcase using + non-relative plxv instructions. + * gdb.arch/powerpc-plxv-nonrel.exp: Testcase harness. + +2021-03-31 Will Schmidt + + PR gdb/27525 + * gdb/testsuite/gdb.arch/powerpc-addpcis.exp: Testcase harness to + exercise single-stepping over subpcis,lnia,addpcis instructions + with displacement. + * gdb/testsuite/gdb.arch/powerpc-addpcis.s: Testcase with stream + of addpcis/lnia/subpcis instructions. + * gdb/testsuite/gdb.arch/powerpc-lnia.exp: Testcase harness to + exercise single-stepping over lnia instructions with displacement. + * gdb/testsuite/gdb.arch/powerpc-lnia.s: Testcase with stream of + lnia instructions. + +2021-03-31 Will Schmidt + + * gdb.arch/powerpc-power10.s: New test for instructions. + * gdb.arch/powerpc-power10.exp: Harness to run the test. + +2021-4-12 Carl Love + + * gdb.arch/vsx-vsr-float128.c: New test file. + * gdb.arch/vsx-vsr-float128.exp: New expect file. + +2021-04-12 Markus Metzger + + * gdb.btrace/reconnect.exp: Relax expected stepi output. + +2021-04-07 Weimin Pan + + * gdb.base/ctf-ptype.c: Add struct link containing a forward + reference type. + * gdb.base/ctf-ptype.exp: Add "ptype struct link". + +2021-04-07 Andrew Burgess + + * gdb.fortran/dynamic-ptype-whatis.exp: New file. + * gdb.fortran/dynamic-ptype-whatis.f90: New file. + +2021-04-07 Andrew Burgess + + * gdb.cp/rvalue-ref-params.cc (f3): New function. + (f4): New function. + (global_int): New global variable. + (global_float): Likeiwse. + (main): Call both new functions. + * gdb.cp/rvalue-ref-params.exp: Add new tests. + +2021-04-07 Andrew Burgess + + * gdb.dwarf2/fission-relative-dwo.c: New file. + * gdb.dwarf2/fission-relative-dwo.exp: New file. + +2021-04-07 Andrew Burgess + + * gdb.dwarf2/fission-absolute-dwo.c: New file. + * gdb.dwarf2/fission-absolute-dwo.exp: New file. + * gdb.dwarf2/fission-base.exp: Use build_executable_and_dwo_files + instead of build_executable_from_fission_assembler. + * gdb.dwarf2/fission-loclists-pie.exp: Likewise. + * gdb.dwarf2/fission-loclists.exp: Likewise. + + * gdb.dwarf2/fission-multi-cu.S: Delete file. + * gdb.dwarf2/fission-multi-cu.c: New file based on old + fission-multi-cu1.c and fission-multi-cu2.c files. + * gdb.dwarf2/fission-multi-cu1.c: Delete file. + * gdb.dwarf2/fission-multi-cu2.c: Delete file. + * gdb.dwarf2/fission-multi-cu.exp: Rewrite to use Dwarf assembler. + * gdb.dwarf2/fission-reread.exp: Likewise. + * lib/dwarf.exp (extract_dwo_information): New proc. + (strip_dwo_information): New proc. + (build_executable_and_dwo_files): New proc. + (build_executable_from_fission_assembler): Delete. + (Dwarf::_debug_addr_index): New variable. + (Dwarf::_cu_is_fission): New variable. + (Dwarf::_handle_DW_FORM): Handle DW_OP_GNU_addr_index. + (Dwarf::_default_form): Supply a default for DW_AT_GNU_addr_base. + (Dwarf::_handle_macro_at_range): Use form DW_FORM_GNU_addr_index + if this is a fission CU. + (Dwarf::_location): Handle DW_OP_GNU_addr_index. + (Dwarf::debug_addr_label): New proc. + (Dwarf::cu): Initialise _cu_is_fission. + (Dwarf::tu): Likewise. + (Dwarf::assemble): Initialise _debug_addr_index. + +2021-04-07 Andrew Burgess + + * gdb.dwarf2/dw2-using-debug-str.exp: Add an additional test. + +2021-04-07 Andrew Burgess + + * gdb.python/py-parameter.exp: Add test for reading data-directory + using gdb.parameter API. + +2021-04-06 Tom de Vries + + PR breakpoints/25884 + * gdb.opt/inline-cmds.exp: Remove kfail. + +2021-04-06 Tom de Vries + + PR testsuite/27691 + * gdb.threads/gcore-thread.exp: Don't call gdb_core_cmd with core + file "". + +2021-04-01 Egeyar Bagcioglu + + * lib/pdtrace.in: Fix obvious typo. + +2021-03-31 Tom Tromey + + * lib/dwarf.exp (Dwarf::_get_args): New proc. + (Dwarf::_location): Use it. + +2021-03-31 Tom de Vries + + PR testsuite/27667 + * lib/gdb.exp (default_gdb_init): Unset DEBUGINFOD_URLS. + +2021-03-30 Simon Marchi + + PR gdb/27541 + * gdb.base/index-cache-load-twice.exp: Remove. + * gdb.base/index-cache-load-twice.c: Remove. + * gdb.dwarf2/per-bfd-sharing.exp: New. + * gdb.dwarf2/per-bfd-sharing.c: New. + +2021-03-30 Tom de Vries + + PR testsuite/27604 + * gdb.dwarf2/dw2-cu-size.S: Add missing .debug_abbrev terminator. + +2021-03-29 Tankut Baris Aktemur + + * gdb.mi/user-selected-context-sync.exp: Spin on a variable in + the infinite loop to avoid a Clang bug. + +2021-03-26 Will Schmidt + + * gdb.arch/powerpc-disassembler-options.exp: Extend some test + names for uniqueness. + * gdb.arch/powerpc-fpscr-gcore.exp: Add more test names for + uniqueness. + +2021-03-26 Andrew Burgess + + * gdb.python/py-prettyprint.c (struct container): Add 'is_array_p' + member. + (make_container): Initialise is_array_p. + * gdb.python/py-prettyprint.exp: Add new tests. + * gdb.python/py-prettyprint.py (ContainerPrinter.display_hint): + Check is_array_p and possibly return 'array'. + +2021-03-26 Andrew Burgess + + * gdb.cp/breakpoint.exp: Extend test names to make them unique. + * gdb.cp/casts.exp: Give tests unique names. + * gdb.cp/filename.exp: Likewise. + * gdb.cp/gdb2495.exp: Likewise. + * gdb.cp/mb-ctor.exp: Extend test names to make them unique. + * gdb.cp/misc.exp: Rename test to make it unique. + * gdb.cp/nsnested.exp: Give tests unique names. + * gdb.cp/ovldbreak.exp: Likewise. + * gdb.cp/pr17494.exp: Rename test to reflect what is actually + being tested. This also removes the duplicate test name. + * gdb.cp/ref-types.exp: Likewise. + * gdb.cp/temargs.exp: Likewise. + +2021-03-26 Andrew Burgess + + * gdb.cp/cplusfuncs.exp (test_paddr_operator_functions): Escape + square brackets in test. + +2021-03-26 Andrew Burgess + + * gdb.cp/maint.exp (test_first_component): Run more tests with a + variable number of spaces, this removes the duplicate testing of + 'operator ->' which existed before. + +2021-03-26 Andrew Burgess + + * gdb.cp/gdb2384.cc (main): Change comments used for breakpoints. + * gdb.cp/gdb2384.exp: Change and extend test names to avoid + duplicates, and also to avoid having a string inside parentheses + at the end of test names. + +2021-03-26 Andrew Burgess + + * gdb.cp/nsusing.exp: Rewrite test, remove a duplicate test block. + Avoid repeated uses of 'runto', and instread just progress once + through the test stopping at different breakpoints. Give comments + a capital letter and full stop. Give duplicate tests unique names. + +2021-03-25 Pedro Alves + + * gdb.server/stop-reply-no-thread-multi.exp (run_test): Add + "target_non_stop" parameter and use it. + (top level): Add "maint set target-non-stop on/off" testing axis. + +2021-03-25 Andrew Burgess + + * lib/ada.exp (gnat_runtime_has_debug_info): Use -wrap with + gdb_test_multiple. + +2021-03-24 Luis Machado + + * gdb.arch/aarch64-mte.c: New file. + * gdb.arch/aarch64-mte.exp: New test. + * gdb.base/memtag.c: New file. + * gdb.base/memtag.exp: New test. + * lib/gdb.exp (supports_memtag): New function. + +2021-03-24 Luis Machado + + * gdb.base/options.exp: Adjust for new print options. + * gdb.base/with.exp: Likewise. + +2021-03-22 Andrew Burgess + + * gdb.dwarf2/dw2-missing-cu-tag.c: New file. + * gdb.dwarf2/dw2-missing-cu-tag.exp: New file. + +2021-03-22 Andrew Burgess + + * gdb.dwarf2/dw2-using-debug-str.c: New file. + * gdb.dwarf2/dw2-using-debug-str.exp: New file. + * lib/dwarf.exp (Dwarf::DW_FORM_strp): Create .debug_str section, + not .debug_string. + +2021-03-20 Tom Tromey + + * gdb.base/maint.exp: Update "maint print statistics" output. + +2021-03-19 Kevin Buettner + + * lib/gdbserver-support.exp (gdbserver_exit): Use the + "-nowait" flag when waiting for gdbserver to exit. + +2021-03-19 Sourabh Singh Tomar + + * gdb.base/info-macros.exp: Append -fdebug-macro to + additional_flags for clang. + * gdb.base/macscp.exp: Likewise. + * gdb.base/style.exp: Likewise. + * gdb.linespec/macro-relative.exp: Likewise. + +2021-03-17 Simon Marchi + Pedro Alves + + * gdb.base/run-attach-while-running.exp: New. + * gdb.base/run-attach-while-running.c: New. + +2021-03-16 Andrew Burgess + + * gdb.python/py-framefilter-addr.c: New file. + * gdb.python/py-framefilter-addr.exp: New file. + * gdb.python/py-framefilter-addr.py: New file. + +2021-03-16 Andrew Burgess + + * gdb.threads/execl.exp: Remove duplicate 'info threads' test. + Make use of $gdb_test_name instead of creating a separate $test + variable. + * gdb.threads/print-threads.exp: Add a with_test_prefix instead of + adding a '($name)' at the end of each test. This also catches the + one place where '($name)' was missing, and so caused a duplicate + test name. + * gdb.threads/queue-signal.exp: Give tests unique names to avoid + duplicate test names based on the command being tested. + * gdb.threads/signal-command-multiple-signals-pending.exp: + Likewise. + * lib/gdb.exp (gdb_compile_shlib_pthreads): Tweak test name to + avoid duplicate testnames when a test script uses this proc and + also gdb_compile_pthreads. + * lib/prelink-support.exp (build_executable_own_libs): Use + with_test_prefix to avoid duplicate test names when we call + build_executable twice. + +2021-03-15 Tom Tromey + + * gdb.ada/fixed_points.exp: Add tests of unary + and -. + +2021-03-15 Tom Tromey + + * gdb.ada/varsize_limit.exp: Add new test. + * gdb.ada/varsize_limit/vsizelim.adb: Update. + +2021-03-15 Tom Tromey + + * gdb.ada/operator_call/twovecs.ads: New file. + * gdb.ada/operator_call/twovecs.adb: New file. + * gdb.ada/operator_call/opcall.adb: New file. + * gdb.ada/operator_call.exp: New file. + +2021-03-15 Tom Tromey + + * gdb.ada/enums_overload/enums_overload_main.adb: New file. + * gdb.ada/enums_overload/enums_overload.ads: New file. + * gdb.ada/enums_overload/enums_overload.adb: New file. + * gdb.ada/enums_overload.exp: New file. + +2021-03-15 Tom Tromey + + * gdb.ada/assign_arr/target_wrapper.ads (IArray, Put, Do_Nothing): + Declare. + * gdb.ada/assign_arr/target_wrapper.adb: New file. + * gdb.ada/assign_arr/main_p324_051.adb (IValue): New variable. + Call Put. + * gdb.ada/assign_arr.exp: Update. + +2021-03-15 Andrew Burgess + + * gdb.python/py-auto-load-chaining-f1.c: New file. + * gdb.python/py-auto-load-chaining-f1.o-gdb.py: New file. + * gdb.python/py-auto-load-chaining-f2.c: New file. + * gdb.python/py-auto-load-chaining-f2.o-gdb.py: New file. + * gdb.python/py-auto-load-chaining.c: New file. + * gdb.python/py-auto-load-chaining.exp: New file. + +2021-03-12 Andrew Burgess + + * gdb.python/py-bad-printers.exp: Extend test names to make them + unique. + * gdb.python/py-events.exp: Likewise. + * gdb.python/py-finish-breakpoint2.exp: Likewise. + * gdb.python/py-frame-inline.exp: Likewise. + * gdb.python/py-frame.exp: Likewise. + * gdb.python/py-infthread.exp: Likewise. + +2021-03-12 Andrew Burgess + + * gdb.python/py-value-cc.exp: Remove a duplicate test. + +2021-03-12 Andrew Burgess + + * gdb.python/lib-types.exp: Update the test to check the correct + python variable. + +2021-03-12 Andrew Burgess + + * gdb.python/py-explore-cc.exp: Extend test names to make them + unique. + +2021-03-12 Andrew Burgess + + * gdb.python/py-lookup-type.exp: Remove duplicate test. + +2021-03-12 Andrew Burgess + + * gdb.python/py-symtab.exp: Extend test names to make them + unique. + +2021-03-12 Andrew Burgess + + * gdb.python/py-prompt.exp: Add with_test_prefix to make test + names unique. + +2021-03-12 Andrew Burgess + + * gdb.python/py-block.exp: Give tests unique names. + +2021-03-12 Andrew Burgess + + * gdb.python/py-pp-maint.exp: Extend test names to make them + unique. + +2021-03-12 Andrew Burgess + + * gdb.python/py-explore.exp: Add with_test_prefix to make test + names unique. + +2021-03-12 Andrew Burgess + + * gdb.python/py-finish-breakpoint.exp: Make test names unique. + +2021-03-12 Andrew Burgess + + * gdb.python/py-strfns.exp: Use with_test_prefix to make test + names unique. + +2021-03-12 Andrew Burgess + + * gdb.python/py-format-string.exp: Use proc_with_prefix to make + test names unique. + +2021-03-12 Andrew Burgess + + * gdb.python/py-mi.exp: Use with_test_prefix to make test names + unique. + +2021-03-09 Tom Tromey + + * gdb.base/cast-call.exp: New file. + * gdb.base/cast-call.c: New file. + +2021-03-09 Andrew Burgess + + * gdb.gdb/python-helper.exp: New file. + +2020-03-04 Felix Willgerodt + + * gdb.fortran/intrinsics.exp: Add LOC tests. + +2021-03-09 Andrew Burgess + + * gdb.fortran/shape.exp: New file. + * gdb.fortran/shape.f90: New file. + +2021-03-09 Andrew Burgess + + * gdb.fortran/size.exp: New file. + * gdb.fortran/size.f90: New file. + +2021-03-09 Andrew Burgess + + * gdb.fortran/rank.exp: New file. + * gdb.fortran/rank.f90: New file. + +2021-03-08 Tom Tromey + + * gdb.fortran/debug-expr.exp: Update tests. + +2021-03-08 Tom Tromey + + * gdb.base/debug-expr.exp: Update expected dump output. + +2021-03-06 Tom Tromey + + * lib/dwarf.exp (_handle_DW_FORM): Treat DW_FORM_GNU_ref_alt and + DW_FORM_GNU_strp_alt like DW_FORM_sec_offset. + * gdb.dwarf2/dwznolink.exp: New file. + +2021-03-05 Mark Wielaard + + * lib/valgrind.exp (vgdb_start): Add --wait=1 to vgdbcmd. + +2021-03-06 Weimin Pan + + * gdb.base/ctf-ptype.exp: Add function tests and fix typos. + +2021-03-03 Markus Metzger + + * gdb.btrace/rn-dl-bind.exp: Add ldflags=-Wl,-z,lazy. + +2021-03-03 Markus Metzger + + * gdb.btrace/non-stop.exp: Adjust expected source lines. + +2021-03-03 Markus Metzger + + * gdb.btrace/stepi.exp: Add {} options to prepare_for_testing. + +2021-03-03 Markus Metzger + + * gdb.btrace/exception.cc (main): Update test source. + * gdb.btrace/exception.exp: Update patterns. + * gdb.btrace/function_call_history.exp: Likewise. + +2021-03-03 Markus Metzger + + * gdb.btrace/unknown_functions.exp: Move -Wl,-x to ldflags. + +2021-03-03 Markus Metzger + + * gdb.btrace/rn-dl-bind.exp: Replace reverse-step with + reverse-continue to breakpoint. + +2021-03-03 Markus Metzger + + * gdb.btrace/delta.exp: Remove instruction-history and + function-call-history checks. + +2021-03-03 Markus Metzger + + * README (Note): Add nopie_ldflag. + * lib/gdb.exp (gdb_compile): Extend nopie handling. + +2021-03-02 Tom Tromey + + * gdb.ada/fixed_points.exp: Remove most special cases for minimal + encodings. + +2021-02-27 Lancelot Six + + PR gdb/27393 + * gdb.base/source-dir.exp: Test that empty dirnames are skipped. + + +2021-02-26 Tom Tromey + + * lib/gdb.exp (skip_ctf_tests): Use expr on result. + +2021-02-26 Jan Vrany + + * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv): + Remove trailing \n from expected output. + +2021-02-26 Markus Metzger + + * lib/gdb.exp (use_gdb_stub): Extend comment. + +2021-02-25 Jan Matyas + + PR gdb/26819 + * gdb.server/stop-reply-no-thread.exp: Add two test + scenarios that cover remote targets which do not have + the concept of threads. + +2021-02-25 Andrew Burgess + + * gdb.fortran/associated.exp: Add missing '-wrap' argument. + +2021-02-25 Andrew Burgess + + PR fortran/26155 + * gdb.fortran/call-no-debug-func.f90: New file. + * gdb.fortran/call-no-debug-prog.f90: New file. + * gdb.fortran/call-no-debug.exp: New file. + +2021-02-25 Andrew Burgess + + * gdb.fortran/associated.exp: New file. + * gdb.fortran/associated.f90: New file. + +2021-02-25 Andrew Burgess + + * gdb.fortran/dot-ops.exp (dot_operations): Test ".xor.". + +2021-02-24 Andrew Burgess + + * gdb.base/sect-cmd.exp: Update expected results. + +2021-02-24 Andrew Burgess + + * gdb.base/sect-cmd.exp: Rewrite using modern testsuite + techniques. Enable the test for all targets. + +2021-02-24 Andrew Burgess + + * gdb.base/maint-info-sections.exp: Add new tests. + (check_maint_info_target_sections_output): New proc. + +2021-02-24 Andrew Burgess + + * gdb.arch/riscv-default-tdesc.exp: New file. + +2021-02-24 Andrew Burgess + + * gdb.fortran/pointer-to-pointer.exp: Additional tests. + +2021-02-18 Andrew Burgess + + * gdb.arch/i386-biarch-core.exp: Add target check. + +2021-02-16 Alok Kumar Sharma + + * gdb.dwarf2/pr13961.S: Corrected invalid DIE references. + +2021-02-12 Andrew Burgess + + * gdb.fortran/allocated.exp: New file. + * gdb.fortran/allocated.f90: New file. + +2021-02-11 Andrew Burgess + + * gdb.fortran/lbound-ubound.exp: Remove old comment. + +2021-02-11 Andrew Burgess + + * gdb.base/maint-info-sections.exp: Update expected output, and + add additional tests. Again. + +2021-02-11 Andrew Burgess + + * gdb.base/maint-info-sections.exp: Update expected output, and + add additional tests. + +2021-02-11 Andrew Burgess + + * gdb.base/maint-info-sections.exp: New file, content is moved + from gdb.base/maint.exp and cleaned up to use latest testsuite + techniques. + * gdb.base/maint.exp: Tests moved out to + gdb.base/maint-info-sections.exp. + +2021-02-10 Simon Marchi + + * gdb.multi/multi-target.exp.tcl (setup): Add "set sysroot" to + GDBFLAGS. + +2021-02-10 Andrew Burgess + + * gdb.fortran/lbound-ubound.F90: New file. + * gdb.fortran/lbound-ubound.exp: New file. + +2021-02-10 Tom de Vries + + * lib/gdb.exp (gdb_load_no_complaints): Remove unnecessary + "Restore saved setting of complaints". + +2021-02-09 Tom de Vries + + PR symtab/27341 + * lib/gdb.exp (with_complaints): New proc, factored out of ... + (gdb_load_no_complaints): ... here. + * gdb.fortran/function-calls.exp: Add test-case. + +2021-02-09 Abid Qadeer + + * gdb.threads/signal-command-handle-nopass.exp: Call + 'standard_testfile' before using 'testfile'. + * gdb.threads/signal-command-multiple-signals-pending.exp: Likewise. + * gdb.threads/signal-delivered-right-thread.exp: Likewise + * gdb.threads/signal-sigtrap.exp: Likewise + +2021-02-08 Luis Machado + + * gdb.base/gnu-ifunc.exp (build): Pass -Wl,z,lazy. + +2021-02-08 Tom de Vries + + * gdb.dwarf2/enqueued-cu-base-addr.exp: Fix inter-CU reference. + +2021-02-08 Andrew Burgess + + * gdb.python/tui-window-disabled.c: New file. + * gdb.python/tui-window-disabled.exp: New file. + * gdb.python/tui-window-disabled.py: New file. + +2021-02-08 Andrew Burgess + + * gdb.python/tui-window.exp: Add new tests. + * gdb.python/tui-window.py (TestWindow) <__init__>: Store + TestWindow object into global the_window. + : New method. + (delete_window_title): New function. + +2021-02-08 Andrew Burgess + + * gdb.tui/winheight.exp: Add more tests. + +2021-02-08 Andrew Burgess + + * gdb.python/py-framefilter.exp: Update expected results. + * gdb.python/python.exp: Update expected results. + +2021-02-08 Andrew Burgess + + * gdb.tui/scroll.exp: Tighten expected results. Remove comment + about bug in GDB, update expected results, and add more tests. + +2021-02-08 Andrew Burgess + + * gdb.tui/scroll.exp: New file. + * gdb.tui/tui-layout-asm-short-prog.exp: Update expected results. + * lib/tuiterm.exp (Term::_csi_M): Delete count lines, scroll + remaining lines up. + (Term::check_region_contents): New proc. + (Term::check_box_contents): Use check_region_contents. + +2021-02-06 Tom de Vries + + PR testsuite/26922 + * gdb.tui/tui-layout-asm.exp: Ignore whitespace mismatches when + scrolling. + +2021-02-05 Tom de Vries + + PR breakpoints/27313 + * gdb.base/catch-syscall.exp: Check that "catch syscall -1" is + rejected. + +2021-02-05 Tom de Vries + + * gdb.dwarf2/main-subprogram.exp: Add KFAIL for PR symtab/24549. + * gdb.fortran/mixed-lang-stack.exp: Same. + +2021-02-05 Tom de Vries + + PR exp/27265 + * gdb.base/complex-parts.exp: Add tests. + +2021-02-05 Tom de Vries + + PR symtab/27307 + * gdb.dwarf2/clang-debug-names.exp: Check file command warnings. + +2021-02-04 Shahab Vahedi + + * gdb.xml/tdesc-regs.exp: Use correct core-regs for ARC. + +2021-02-03 Pedro Alves + + * gdb.threads/detach-step-over.c: New file. + * gdb.threads/detach-step-over.exp: New file. + +2021-02-03 Pedro Alves + + * gdb.threads/attach-non-stop.c: New file. + * gdb.threads/attach-non-stop.exp: New file. + +2021-02-02 Lancelot SIX + + * gdb.base/inferior-noarg.c: New test. + * gdb.base/inferior-noarg.exp: New test. + +2021-02-02 Simon Marchi + + * gdb.base/scope.exp: Use proc_with_prefix. + +2021-02-02 Simon Marchi + + * lib/dwarf.exp (rnglists): Add -no-offset-array option to + table proc. + * gdb.dwarf2/rnglists-sec-offset.exp: Add test for + .debug_rnglists table without offset array. + * gdb.dwarf2/loclists-sec-offset.exp: Add test for + .debug_loclists table without offset array. + +2021-02-02 Simon Marchi + + * gdb.dwarf2/rnglists-sec-offset.exp: Add test for DW_AT_ranges + of DW_FORM_sec_offset form plus DW_AT_rnglists_base attribute. + * gdb.dwarf2/loclists-sec-offset.exp: Add test for + DW_AT_location of DW_FORM_sec_offset plus DW_AT_loclists_base + attribute + +2021-02-02 Simon Marchi + + PR gdb/26813 + * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_loclistx. + (loclists): New proc. + * gdb.dwarf2/loclists-multiple-cus.c: New. + * gdb.dwarf2/loclists-multiple-cus.exp: New. + * gdb.dwarf2/loclists-sec-offset.c: New. + * gdb.dwarf2/loclists-sec-offset.exp: New. + +2021-02-02 Simon Marchi + + * lib/dwarf.exp (_location): Add parameters. + (_handle_DW_FORM): Adjust. + +2021-02-02 Simon Marchi + + PR gdb/26813 + * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_rnglistx. + (cu): Generate header for DWARF 5. + (rnglists): New proc. + * gdb.dwarf2/rnglists-multiple-cus.exp: New. + * gdb.dwarf2/rnglists-sec-offset.exp: New. + +2021-02-02 Tom de Vries + + PR symtab/24620 + * gdb.dwarf2/fission-reread.exp: Add test-case. + +2021-02-01 Tom de Vries + + * gdb.dwarf2/fission-base.S: Pass -DDWO=$dwo. + * gdb.dwarf2/fission-loclists-pie.S: Same. + * gdb.dwarf2/fission-loclists.S: Same. + * gdb.dwarf2/fission-multi-cu.S: Same. + * gdb.dwarf2/fission-reread.S: Same. + * gdb.dwarf2/fission-base.exp: Use DWO. + * gdb.dwarf2/fission-loclists-pie.exp: Same. + * gdb.dwarf2/fission-loclists.exp: Same. + * gdb.dwarf2/fission-multi-cu.exp: Same. + * gdb.dwarf2/fission-reread.exp: Same. + +2021-01-29 Tom de Vries + + PR breakpoints/26063 + * gdb.dwarf2/dw2-step-out-of-function-no-stmt.c: New test. + * gdb.dwarf2/dw2-step-out-of-function-no-stmt.exp: New file. + +2021-01-29 Tom de Vries + + * gdb.opt/solib-intra-step.exp: Remove state tracking logic. + +2021-01-28 Tom de Vries + + * gdb.arch/i386-gnu-cfi.exp: Capture the position of function gate + in the backtrace, and use that in the rest of the test instead of + hardcoded constant 3. Use "frame" instead of "up" for robustness. + +2021-01-28 Tom de Vries + + * gdb.arch/i386-sse-stack-align.S: Rename g[0-4] to test_g[0-4]. + * gdb.arch/i386-sse-stack-align.c: Same. + * gdb.arch/i386-sse-stack-align.exp: Same. + +2021-01-28 Andrew Burgess + + * lib/gdb.exp (default_gdb_init): Unset XDG_CONFIG_HOME. + +2021-01-28 Tom de Vries + + * gdb.ada/out_of_line_in_inlined.exp: Use gdb_breakpoint. + +2021-01-28 Tom de Vries + + * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: Add regexp to + "maint info line-table". Make PASS pattern more specific. Make + FAIL pattern work for -m32. + +2021-01-27 Lancelot SIX + + PR gdb/27133 + * gdb.base/ui-redirect.exp: Add test case that ensures that + redirecting both logging and debug does not cause gdb to crash. + + +2021-01-27 Matthew Malcomson + + * gdb.arch/insn-reloc.c: Add tests for BR and BLR. + +2021-01-26 Tom de Vries + + * gdb.threads/killed-outside.exp: Allow regular output. + +2021-01-26 Tom de Vries + + * gdb.opt/solib-intra-step.exp: Handle stepping into thunk. + +2021-01-25 Tom de Vries + + * gdb.dwarf2/dw2-ranges-psym.exp (gdb_load_no_complaints): New proc. + * lib/gdb.exp: Use gdb_load_no_complaints. + +2021-01-25 Tom Tromey + + * gdb.ada/fixed_points.exp: Add regression test. + * gdb.ada/fixed_points/fixed_points.adb (FP5_Var): New variable. + * gdb.ada/fixed_points/pck.adb (Delta5, FP5_Type): New. + +2021-01-25 Tom Tromey + + * gdb.ada/local-enum.exp: Add enumerator resolution test. + +2021-01-25 Tom Tromey + + * gdb.ada/local-enum.exp: New file. + * gdb.ada/local-enum/local.adb: New file. + +2021-01-23 Tom Tromey + + * lib/gdb.exp (default_gdb_init): Set INPUTRC to a cached file. + +2021-01-22 Bernd Edlinger + + * gdb.base/line65535.exp: Fix test expectation. + +2021-01-22 Simon Marchi + + * lib/gdb.exp (gdb_test_multiple): Remove things related to test + suppression. + (default_gdb_exit): Likewise. + (default_gdb_spawn): Likewise. + (send_gdb): Likewise. + (gdb_expect): Likewise. + (gdb_expect_list): Likewise. + (default_gdb_init): Likewise. + (gdb_suppress_entire_file): Remove. + (gdb_suppress_tests): Remove. + (gdb_stop_suppressing_tests): Remove. + (gdb_clear_suppressed): Remove. + * lib/mi-support.exp (mi_uncatched_gdb_exit): Remove things + related to test suppression. + (default_mi_gdb_start): Likewise. + (mi_gdb_reinitialize_dir): Likewise. + (mi_gdb_test): Likewise. + (mi_run_cmd_full): Likewise. + (mi_runto_helper): Likewise. + (mi_execute_to): Likewise. + * lib/prompt.exp (default_prompt_gdb_start): Likewise. + * gdb.base/bitfields.exp: Likewise. + * gdb.base/bitfields2.exp: Likewise. + * gdb.base/break.exp: Likewise. + * gdb.base/call-sc.exp: Likewise. + * gdb.base/callfuncs.exp: Likewise. + * gdb.base/dfp-test.exp: Likewise. + * gdb.base/endian.exp: Likewise. + * gdb.base/exprs.exp: Likewise. + * gdb.base/funcargs.exp: Likewise. + * gdb.base/hbreak2.exp: Likewise. + * gdb.base/recurse.exp: Likewise. + * gdb.base/scope.exp: Likewise. + * gdb.base/sepdebug.exp: Likewise. + * gdb.base/structs.exp: Likewise. + * gdb.base/until.exp: Likewise. + * gdb.cp/misc.exp: Likewise. + +2021-01-22 Andrew Burgess + + PR cli/25956 + * gdb.base/style.exp (run_style_tests): Add version string test. + (test_startup_version_string): Use version style name. + * lib/gdb-utils.exp (style): Handle version style name. + +2021-01-22 Andrew Burgess + + * gdb.base/style.exp (limited_style): New proc. + (clean_restart_and_disable): New proc. + (run_style_tests): New proc. Most of the old tests from this file + are now in this proc. + (test_startup_version_string): New proc. Reamining test from the + old file is in this proc. + +2021-01-22 Simon Marchi + + * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count): + Adjust to "set debug remote" changes. + +2021-01-21 Luis Machado + + * lib/gdbserver-support.exp (gdb_target_cmd_ext): Handle a new error + message. + +2021-01-21 Simon Marchi + + * lib/tuiterm.exp (_log, _log_cur): New, use throughout. + +2021-01-21 Hannes Domani + + PR python/19151 + * gdb.python/py-breakpoint.exp: Add tests for hardware breakpoints. + +2021-01-20 Simon Marchi + + * lib/tuiterm.exp: Rename _cur_x/_cur_y to _cur_col/_cur_row. + +2021-01-20 Simon Marchi + + * lib/tuiterm.exp: Add links in comments. + +2021-01-20 Tom de Vries + + * gdb.python/py-format-string.exp: Allow Deriv+$decimal as vtable + offset. + +2021-01-20 Tom de Vries + + * lib/gdb.exp (skip_rust_tests): Skip if multilib_flags contains -m32. + +2021-01-20 Sergio Durigan Junior + + * gdb.arch/amd64-stap-expressions.S: New file. + * gdb.arch/amd64-stap-expressions.exp: New file. + +2021-01-19 Tom de Vries + + * gdb.base/step-over-syscall.exp: Detect and handle sysenter/int + sequence. + +2021-01-19 Tom de Vries + + * gdb.arch/i386-mpx.c (main): Drop argc/argv parameter. + +2021-01-18 Andrew Burgess + + * gdb.fortran/array-slices.exp (run_test): Avoid including + addresses in test names. + +2021-01-15 Tom de Vries + + PR testsuite/26997 + * gdb.fortran/array-slices.exp (run_test): Avoid pointer arithmetic + when adding sizeof. + +2021-01-14 Tom de Vries + + PR testsuite/24590 + * gdb.base/style.exp: Handle shorter argv in frame command output. + +2021-01-13 Andrew Burgess + + PR gdb/26819 + * gdb.server/stop-reply-no-thread-multi.c: New file. + * gdb.server/stop-reply-no-thread-multi.exp: New file. + +2021-01-12 Tom de Vries + + * gdb.arch/i386-mpx-call.c (have_mpx): Remove. + (main): Remove call to have_mpx. + * gdb.arch/i386-mpx-call.exp: Use have_mpx. + * gdb.arch/i386-mpx-map.c (have_mpx): Remove. + (main): Remote call to have_mpx. + * gdb.arch/i386-mpx-map.exp: Use have_mpx. + * gdb.arch/i386-mpx-sigsegv.c (have_mpx): Remove. + (main): Remove call to have_mpx. + * gdb.arch/i386-mpx-sigsegv.exp: Use have_mpx. + * gdb.arch/i386-mpx-simple_segv.c (have_mpx): Remove. + (main): Remove call to have_mpx. + * gdb.arch/i386-mpx-simple_segv.exp: Use have_mpx. + * gdb.arch/i386-mpx.c (have_mpx): Remove. + (main): Remote call to have_mpx. + * gdb.arch/i386-mpx.exp: Use have_mpx. + * lib/gdb.exp (have_mpx): New proc. + +2021-01-12 Srinath Parvathaneni + + * gdb.arch/aarch64-fp.exp: Modify to test bfloat16 support. + +2021-01-12 Tom de Vries + + * gdb.base/disasm-optim.exp: Require is_amd64_regs_target. + +2021-01-12 Andrew Burgess + + * gdb.fortran/debug-expr.exp: Add new tests. + +2021-01-12 Andrew Burgess + + * gdb.fortran/dot-ops.exp: Add new tests. + +2021-01-11 Tom de Vries + + PR testsuite/26968 + * gdb.arch/amd64-stap-three-arg-disp.S: Remove insn modifying $ebx. + Move insn setting $eax to before probe point. + +2021-01-09 Tom Tromey + + * gdb.trace/ax.exp: Do not require an "ext". + +2021-01-08 Tom Tromey + + * gdb.ada/voidctx/pck.adb: New file. + * gdb.ada/voidctx/pck.ads: New file. + * gdb.ada/voidctx/voidctx.adb: New file. + * gdb.ada/voidctx.exp: New file. + +2021-01-08 Simon Marchi + + PR gdb/27157 + * gdb.base/empty-host-env-vars.exp: New test. + +2021-01-08 Andrew Burgess + + * gdb.base/completion.exp: Add a new test. + +2021-01-08 Andrew Burgess + + * gdb.fortran/intvar-dynamic-types.exp: New file. + * gdb.fortran/intvar-dynamic-types.f90: New file. + +2021-01-08 Andrew Burgess + + * gdb.fortran/intvar-array.exp: New file. + * gdb.fortran/intvar-array.f90: New file. + +2021-01-07 Tom Tromey + + * gdb.ada/assign_arr.exp: Add 'others' test. + +2021-01-06 Tom Tromey + + * gdb.ada/fixed_points/pck.ads (Delta4): New constant. + (FP4_Type): New type. + (FP4_Var): New variable. + * gdb.ada/fixed_points/fixed_points.adb: Update. + * gdb.ada/fixed_points.exp: Add tests for binary operators. + +2021-01-06 Simon Marchi + + * lib/gdb.exp (gdb_test_sequence): Accept -prompt switch. + * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: + Pass prompt containing debug print to gdb_test_sequence. + +2021-01-04 Tom de Vries + + * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: New file. + +2021-01-04 Simon Marchi + + + +2021-01-04 Simon Marchi + + * gdb.server/abspath.exp: Append "set sysroot" to GDBFLAGS. + * gdb.server/connect-without-multi-process.exp: Likewise. + * gdb.server/exit-multiple-threads.exp: Likewise. + * gdb.server/ext-attach.exp: Likewise. + * gdb.server/ext-restart.exp: Likewise. + * gdb.server/ext-run.exp: Likewise. + * gdb.server/ext-wrapper.exp: Likewise. + * gdb.server/multi-ui-errors.exp: Likewise. + * gdb.server/no-thread-db.exp: Likewise. + * gdb.server/reconnect-ctrl-c.exp: Likewise. + * gdb.server/run-without-local-binary.exp: Likewise. + * gdb.server/server-kill.exp: Likewise. + * gdb.server/server-run.exp: Likewise. + * gdb.server/solib-list.exp: Likewise. + * gdb.server/stop-reply-no-thread.exp: Likewise. + * gdb.server/wrapper.exp: Likewise. + * gdb.server/sysroot.exp: Increase timeout when testing the + target: sysroot. + +2021-01-04 Simon Marchi + + * gdb.server/server-run.exp: Use clean_restart. + +2021-01-04 Simon Marchi + + * gdb.server/ext-run.exp: Use clean_restart. + +2021-01-04 Simon Marchi + + * gdb.server/stop-reply-no-thread.exp: Use build_executable + instead of prepare_for_testing. + +2021-01-04 Simon Marchi + + * gdb.server/solib-list.exp: Use clean_restart. + +2021-01-04 Tom de Vries + + * gdb.base/morestack.c: Remove printf. + * gdb.base/morestack.exp: Don't use -fuse-ld=gold. + +2020-12-31 Tom Tromey + + * gdb.rust/simple.exp: Update output for Rust 1.49. + +2020-12-31 Bernd Edlinger + + * gdb.cp/step-and-next-inline.exp: Fix test case. + +2020-12-30 Simon Marchi + + * gdb.python/py-frame-args.exp: De-duplicate test names. + +2020-12-24 Andrew Burgess + + PR gdb/27059 + * gdb.dwarf2/dyn-type-unallocated.c: New file. + * gdb.dwarf2/dyn-type-unallocated.exp: New file. + +2020-12-21 Peter Waller + + * gdb.base/style-interp-exec-mi.exp: New. + * gdb.base/style-interp-exec-mi.c: New. + +2020-12-21 Simon Marchi + + * gdb.base/list.exp: Replace send_gdb + gdb_expect with + gdb_test. Use proc_with_prefix. + +2020-12-21 Markus Metzger + + * gdb.btrace/exception.exp: Build with nopie. + * gdb.btrace/function_call_history.exp: Likewise. + * gdb.btrace/unknown_functions.exp: Likewise. + +2020-12-21 Markus Metzger + + * gdb.btrace/multi-inferior.exp: Skip if use_gdb_stub. + +2020-12-21 Markus Metzger + + * gdb.python/py-record-btrace.exp: Make test names unique. + * gdb.python/py-record-full.exp: Likewise. + +2020-12-21 Markus Metzger + + * gdb.btrace/data.exp: Make test names unique. + * gdb.btrace/delta.exp: Likewise. + * gdb.btrace/enable.exp: Likewise. + * gdb.btrace/function_call_history.exp: Likewise. + * gdb.btrace/nohist.exp: Likewise. + * gdb.btrace/non-stop.exp: Likewise. + * gdb.btrace/rn-dl-bind.exp: Likewise. + * gdb.btrace/step.exp: Likewise. + * gdb.btrace/stepi.exp: Likewise. + * gdb.btrace/tailcall.exp: Likewise. + +2020-12-21 Markus Metzger + + * gdb.btrace/enable.exp: Update error message. + * gdb.btrace/multi-inferior.exp: Likewise. + * gdb.btrace/reconnect.exp: Likewise. + * gdb.python/py-record-btrace.exp: Likewise. + * gdb.python/py-record-full.exp: Likewise. + +2020-12-20 Tom de Vries + + * lib/gdb.exp (save_target_board_info): New proc. + (gdb_compile_shlib): Use save_target_board_info. + +2020-12-19 Tom de Vries + + * lib/gdb.exp (supports_scalar_storage_order_attribute) + (supports_gnuc): New proc. + * gdb.base/endianity.exp: Define TEST_SSO. Eliminate + test_compiler_info calls. Add unsupported message. + * gdb.base/endianity.c: Use TEST_SSO. + +2020-12-19 Hannes Domani + + PR exp/27070 + * gdb.python/compare-enum-type-a.c: New test. + * gdb.python/compare-enum-type-b.c: New test. + * gdb.python/compare-enum-type.exp: New file. + * gdb.python/compare-enum-type.h: New test. + +2020-12-18 Hannes Domani + + * gdb.python/py-format-string.exp: Add tests for address keyword. + +2020-12-18 Hannes Domani + + * gdb.python/py-type.exp: Add tests for TYPE_CODE_METHOD. + +2020-12-18 Tom Tromey + + * gdb.ada/fixed_points.exp: Also run with + -fgnat-encodings=minimal. Update expected output. + +2020-12-16 Simon Marchi + + * gdb.base/async-shell.exp: Enable non-stop through GDBFLAGS. + * gdb.base/continue-all-already-running.exp: Likewise. + * gdb.base/moribund-step.exp: Likewise. + * gdb.base/step-sw-breakpoint-adjust-pc.exp: Likewise. + +2020-12-16 Tom de Vries + + * gdb.base/batch-preserve-term-settings.exp: + +2020-12-16 Tom de Vries + + * lib/gdb.exp (gdb_compile_shlib_1): Factor out of ... + (gdb_compile_shlib): ... here. Filter out PIE-related flags. + +2020-12-16 Luis Machado + + * gdb.arch/aarch64-tagged-pointer.c (main): Add a few more + pointer-based memory accesses. + * gdb.arch/aarch64-tagged-pointer.exp: Exercise additional + hw watchpoint cases. + +2020-12-15 Rae Kim + + * gdb.base/document.exp: New test. + +2020-12-15 Tom Tromey + + * gdb.base/style.exp: Add deprecation tests. + +2020-12-14 Simon Marchi + + * lib/gdb.exp (gdb_test_multiple): Fix typo in doc. + +2020-12-14 Mark Wielaard + + * lib/dwarf.exp (Dwarf::_handle_attribute): Handle SPECIAL_expr + specially, set attr_form_comment to the actual FORM string used. + +2020-12-14 Mark Wielaard + + * lib/dwarf.exp (Dwarf::_read_constants): Don't set + _constants(SPECIAL_expr) here, but set it... + (Dwarf::cu): ...here based on _cu_version. + +2020-12-14 Tom de Vries + + * lib/gdb.exp (gdb_compile_shlib): Make sure it's not necessary to + pass -fPIC. + * gdb.ada/catch_ex_std.exp: Don't pass -fPIC to gdb_compile_shlib. + * gdb.base/break-probes.exp: Same. + * gdb.base/ctxobj.exp: Same. + * gdb.base/dso2dso.exp: Same. + * gdb.base/global-var-nested-by-dso.exp: Same. + * gdb.base/info-shared.exp: Same. + * gdb.base/jit-reader-simple.exp: Same. + * gdb.base/print-file-var.exp: Same. + * gdb.base/skip-solib.exp: Same. + * gdb.btrace/dlopen.exp: Same. + +2020-12-14 Tom de Vries + + PR testsuite/26963 + * lib/gdb.exp (run_on_host): Declare test unsupported if spawn fails. + +2020-12-14 Tom de Vries + + PR testsuite/26962 + * gdb.base/solib-corrupted.exp: Handle "'_r_debug' has unknown type; + cast it to its declared type". + +2020-12-14 Tom de Vries + + PR testsuite/26951 + * gdb.base/batch-preserve-term-settings.exp: Use "gdb-subshell$ " as + shell prompt. + +2020-12-14 Tom Tromey + + * gdb.ada/nested.exp: Add new tests. + * gdb.ada/nested/hello.adb (Fourth, Fifth): New procedures. + +2020-12-14 Tom Tromey + + * gdb.dwarf2/ada-thick-pointer.exp: New file. + +2020-12-14 Tom Tromey + + * gdb.dwarf2/dw2-fixed-point.exp: Add test for division by zero. + +2020-12-13 Tom de Vries + + PR testsuite/26953 + * gdb.base/endianity.exp: Skip tests requiring scalar_storage_order + attribute support if compiler doesn't support it. + +2020-12-13 Tom de Vries + + * lib/gdb.exp (gdb_compile_shlib): Handle ada. + * gdb.ada/catch_ex_std.exp: Use gdb_compile_shlib to compile from + source to shared lib. Add ada to options. + +2020-12-13 Tom de Vries + + * gdb.ada/catch_ex_std.exp: Use gnatmake -bargs and -largs instead of + calling gnatbind and gnatlink. + +2020-12-13 Andrew Burgess + + * gdb.base/dcache-flush.c: New file. + * gdb.base/dcache-flush.exp: New file. + +2020-12-13 Andrew Burgess + + * gdb.base/c-linkage-name.exp: Update to use new 'maint flush ...' + commands. + * gdb.base/killed-outside.exp: Likewise. + * gdb.opt/inline-bt.exp: Likewise. + * gdb.perf/gmonster-null-lookup.py: Likewise. + * gdb.perf/gmonster-print-cerr.py: Likewise. + * gdb.perf/gmonster-ptype-string.py: Likewise. + * gdb.python/py-unwind.exp: Likewise. + +2020-12-11 Andrew Burgess + + * gdb.base/commands.exp: Update expected results. + +2020-12-11 Andrew Burgess + + PR cli/15104 + * gdb.base/commands.exp: Add additional tests. + * gdb.base/completion.exp: Add additional tests. + +2020-12-11 Andrew Burgess + + * gdb.base/completion.exp: Add additional tests. + +2020-12-11 Tom de Vries + + PR testsuite/26991 + * gdb.arch/i386-mpx-call.exp: Don't expect to trigger bounds + violations by setting bounds registers if the bounds are passed in the + Bounds Table. + +2020-12-11 Tom de Vries + + PR testsuite/26954 + * gdb.base/float128.exp: Detect and handle no mpfr support. + +2020-12-10 Simon Marchi + + PR gdb/24694 + * gdb.multi/multi-arch-exec.c (thread_start, main): Add barrier + calls. + +2020-12-10 Tom de Vries + + PR testsuite/26947 + * gdb.tui/new-layout.exp: Don't execute tests with unbalanced curly + braces for tcl 8.5 and earlier. + +2020-12-09 Simon Marchi + + PR 26875, PR 26901 + * gdb.base/flexible-array-member.c: New test. + * gdb.base/flexible-array-member.exp: New test. + +2020-12-08 Tom de Vries + + * gdb.arch/amd64-gs_base.exp: Undo commit 67748e0f66, reimplement + using is_amd64_regs_target. + +2020-12-08 Tom de Vries + + * gdb.ada/mi_task_arg.exp: Accept as valid value of + self_id. + +2020-12-07 Pedro Alves + + * gdb.base/break-on-linker-gcd-function.exp: Remove unused + 'additional_flags' variable. + +2020-12-07 Tankut Baris Aktemur + + * gdb.linespec/explicit.exp: Extend with a test to check completing + '-' after seemingly complete options. + +2020-12-07 Tankut Baris Aktemur + + * gdb.linespec/keywords.exp: Add tests to check positional + flexibility of "-force-condition". + +2020-12-07 Tankut Baris Aktemur + + * gdb.base/bp-cmds-run-with-ex.c: New file. + * gdb.base/bp-cmds-run-with-ex.exp: New file. + * gdb.base/bp-cmds-run-with-ex.gdb: New file. + * gdb.gdb/python-interrupts.exp: Update the call to + 'catch_command_errors' with the new argument. + * gdb.gdb/python-selftest.exp: Ditto. + +2020-12-04 Simon Marchi + + * gdb.arch/amd64-disp-step-avx.exp: Adjust pattern. + * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise. + * gdb.threads/non-stop-fair-events.exp: Likewise. + +2020-12-04 Simon Marchi + + * gdb.threads/step-over-exec.exp: New. + * gdb.threads/step-over-exec.c: New. + * gdb.threads/step-over-exec-execd.c: New. + * lib/my-syscalls.S: New. + * lib/my-syscalls.h: New. + +2020-12-04 Simon Marchi + + * lib/dwarf.exp (declare_labels): Use name as text if text is + not provided. + +2020-12-04 Tom de Vries + + PR testsuite/26990 + * gdb.arch/amd64-gs_base.exp: Handle -m32 where fs_base and gs_base + are unsupported. + +2020-12-04 Tom de Vries + + * gdb.reverse/insn-reverse.exp: Don't break inside gdb_test_multiple + clause. + +2020-12-04 Tom de Vries + + * gdb.reverse/insn-reverse.exp: Fix count handling. + +2020-12-04 Tom de Vries + + * gdb.reverse/insn-reverse-x86.c: Guard x86_64 assembly with #ifdef + __x86_64__. + +2020-12-04 Tom de Vries + + * gdb.reverse/insn-reverse.c (test_nr): New var. + (usage, parse_args): New function. + (main): Call parse_args. Only run test for test_nr. + * gdb.reverse/insn-reverse.exp: Detect lack of progress in stepi loop + and bail out. Run subtests individually, using an inferior arg + specifying the subtest. + +2020-12-02 Andrew Burgess + + * gdb.arch/riscv-tdesc-regs.exp: Remove unwanted test. + +2020-12-02 Andrew Burgess + + * gdb.arch/riscv-tdesc-regs.exp (get_expected_result): New proc, + update test to use this. + +2020-12-01 Simon Marchi + + * gdb.threads/non-ldr-exc-1.exp: Fix indentation. + +2020-12-01 Simon Marchi + + * gdb.threads/non-ldr-exc-1.exp: Use foreach_with_prefix. + (do_test): Don't use with_test_prefix. + * gdb.threads/non-ldr-exc-2.exp: Use foreach_with_prefix. + (do_test): Don't use with_test_prefix. + * gdb.threads/non-ldr-exc-3.exp: Use foreach_with_prefix. + (do_test): Don't use with_test_prefix. + * gdb.threads/non-ldr-exc-4.exp: Use foreach_with_prefix. + (do_test): Don't use with_test_prefix. + +2020-12-01 Simon Marchi + + * gdb.threads/non-ldr-exit.exp: Fix comment. + +2020-12-01 Andrew Burgess + + * gdb.xml/maint-xml-dump-03.xml: New file. + +2020-11-30 Tom de Vries + + PR symtab/26905 + * gdb.dwarf2/count.exp: Remove kfails. + +2020-11-24 Tankut Baris Aktemur + + * gdb.base/condbreak-multi-context.exp: Do not hard-code location + indices. + +2020-11-24 Joel Brobecker + + * gdb.dwarf2/dw2-fixed-point.exp: Fix the expected output of + the "ptype pck__fp1_range_var" test for the module-2 and pascal + languages. Remove the associated setup_xfail. + +2020-11-23 Simon Marchi + + * lib/gdb.exp (gdb_assert): Show error message on error. + +2020-11-23 Tom de Vries + + * gdb.ada/enum_idx_packed.exp: Limit setup_kfail to gnat 9 and 10. + * gdb.ada/mod_from_name.exp: Same. + * gdb.ada/pckd_arr_ren.exp: Same. + +2020-11-22 Simon Marchi + + * gdb.base/template.exp: New. + * gdb.base/template.c: New. + +2020-11-22 Gary Benson + + PR gdb/26905 + * gdb.dwarf2/count.exp: Add test for an array whose upper bound + is defined using a DW_AT_count which references another DIE. + +2020-11-21 Tom de Vries + + * gdb.base/vla-ptr.exp: Add XFAIL. + +2020-11-19 Andrew Burgess + + * gdb.fortran/array-slices-bad.exp: New file. + * gdb.fortran/array-slices-bad.f90: New file. + * gdb.fortran/array-slices-sub-slices.exp: New file. + * gdb.fortran/array-slices-sub-slices.f90: New file. + * gdb.fortran/array-slices.exp: Rewrite tests. + * gdb.fortran/array-slices.f90: Rewrite tests. + * gdb.fortran/vla-sizeof.exp: Correct expected results. + +2020-11-19 Andrew Burgess + + * gdb.base/completion.exp: Add new completion tests. + +2020-11-18 Simon Marchi + + * gdb.mi/mi-nonstop-exit.exp: Enable non-stop through GDBFLAGS. + * gdb.mi/mi-ns-stale-regcache.exp: Likewise. + * gdb.mi/mi-nsintrall.exp: Likewise. + * gdb.mi/mi-nsmoribund.exp: Likewise. + * gdb.mi/mi-nsthrexec.exp: Likewise. + * gdb.mi/mi-watch-nonstop.exp: Likewise. + +2020-11-18 Simon Marchi + + * lib/mi-support.exp (mi_run_cmd_full): Use unresovled instead + of perror. + +2020-11-18 Joseph Myers + + * lib/mi-support.exp (mi_gdb_file_cmd): Check for case where + $arg.exe exists but $arg does not. + +2020-11-17 Gary Benson + + * gdb.trace/trace-common.h (x86_trace_dummy): Add + __attribute__ ((used)). + +2020-11-17 Andrew Burgess + + * gdb.gdb/unittest.exp: Spot 'Running...' lines. + +2020-11-17 Andrew Burgess + + * gdb.base/completion.exp: Add new tests. + +2020-11-16 Tom Tromey + + * gdb.dwarf2/data-loc.exp: Update expected output. Remove C + tests. + +2020-11-15 Joel Brobecker + + * gdb.ada/fixed_cmp.exp: Add -fgnat-encodings=minimal testing. + * gdb.dwarf2/dw2-fixed-point.c (pck__fp1_var2): New global. + (main): Add reference to pck__fp1_var2. + * gdb.dwarf2/dw2-fixed-point.exp: Add comparison operator testing. + +2020-11-15 Joel Brobecker + + * gdb.dwarf2/dw2-fixed-point.exp: Add arithmetic tests. + +2020-11-15 Joel Brobecker + + * gdb.ada/fixed_points.exp: Add ptype tests. + * gdb.dwarf2/dw2-fixed-point.exp: Likewise. + +2020-11-15 Joel Brobecker + + * gdb.dwarf2/dw2-fixed-point.exp: Add "print /x" tests. + +2020-11-15 Joel Brobecker + + * gdb.ada/fixed_cmp.exp: Force compilation to use -fgnat-encodings=all. + * gdb.ada/fixed_points.exp: Add fixed-point variables printing tests. + * gdb.ada/fixed_points/pck.ads, gdb.ada/fixed_points/pck.adb: + New files. + * gdb.ada/fixed_points/fixed_points.adb: Add use of package Pck. + + * gdb.dwarf2/dw2-fixed-point.c, gdb.dwarf2/dw2-fixed-point.exp: + New files. + +2020-11-14 Andrew Burgess + + PR cli/26879 + * gdb.fortran/completion.exp: New file. + * gdb.fortran/completion.f90: New file. + +2020-11-12 Joseph Myers + + * lib/gdb.exp (gdb_file_cmd): Check for case where $arg.exe exists + but $arg does not. + +2020-11-12 Andrew Burgess + + * gdb.fortran/types.exp: Add more tests. + +2020-11-12 Tom Tromey + + PR rust/26799: + * gdb.rust/traits.exp: Remove kfails. + +2020-11-12 Gary Benson + + * gdb.threads/tls-so_extern_main.c (tls_ptr): Add missing return + statement. + +2020-11-11 Simon Marchi + + * gdb.base/continue-after-aborted-step-over.exp: Add "breakpoint + always-inserted" axis. + (do_test): Add breakpoint_always_inserted parameter. + +2020-11-10 Tom Tromey + + * gdb.ada/bias.exp: Update. + * gdb.ada/bias/bias.adb (X): Change value. + +2020-11-10 Gary Benson + + * gdb.base/vla-optimized-out.exp (p sizeof (a)): Wrap supplied + regexp fragment in parentheses to prevent false matching. + +2020-11-10 Gary Benson + + * gdb.base/vla-optimized-out.c (f1): Add __attribute__ ((weak)). + +2020-11-10 Gary Benson + + * gdb.cp/step-and-next-inline.exp: Only require + -gstatement-frontiers when building with GCC. + Only setup KFAIL's for GCC issues when using + a GCC-built executable. + +2020-11-06 Andrew Burgess + + * gdb.base/debug-expr.c: Add extra function to allow for an + additional test. + * gdb.base/debug-expr.exp (test_debug_expr): Delete, replace calls + to this proc with gdb_test_debug_expr. Add an extra test. + * gdb.cp/debug-expr.exp (test_debug_expr): Delete, replace calls + to this proc with gdb_test_debug_expr, give the tests names + * gdb.dlang/debug-expr.exp (test_debug_expr): Delete, replace + calls to this proc with gdb_test_debug_expr, give the tests names + * gdb.fortran/debug-expr.exp: New file. + * gdb.fortran/debug-expr.f90: New file. + * lib/gdb.exp (gdb_test_debug_expr): New proc. + +2020-11-06 Simon Marchi + + * lib/dwarf.exp (ranges): Handle "base" and "range" as + proceduresu. + * gdb.dwarf/dw2-bad-elf.exp: Adjust. + * gdb.dwarf2/dw2-inline-many-frames.exp: Adjust. + * gdb.dwarf2/dw2-inline-stepping.exp: Adjust. + * gdb.dwarf2/dw2-ranges-base.exp: Adjust. + * gdb.dwarf2/dw2-ranges-func.exp: Adjust. + * gdb.dwarf2/dw2-ranges-overlap.exp: Adjust. + * gdb.dwarf2/dw2-ranges-psym.exp: Adjust. + * gdb.dwarf2/enqueued-cu-base-addr.exp: Adjust. + +2020-11-04 Tom Tromey + + * gdb.ada/funcall_ref.exp: Update. + * gdb.ada/var_rec_arr.exp: Update. + +2020-11-04 Tom Tromey + + * gdb.ada/rec_ptype.exp: New file. + * gdb.ada/rec_ptype/main.adb: New file. + * gdb.ada/rec_ptype/p.ads: New file. + +2020-11-04 Tom Tromey + + * gdb.ada/tick_length_array_enum_idx.exp: Add ptype test. + * gdb.ada/tick_length_array_enum_idx/foo_n207_004.adb + (PT_Full): New variable. + * gdb.ada/tick_length_array_enum_idx/pck.adb + (Full_PT): New type. + +2020-11-04 Tom Tromey + + * gdb.ada/array_of_variant.exp: New file. + * gdb.ada/array_of_variant/p.adb: New file. + * gdb.ada/array_of_variant/pck.ads: New file. + * gdb.ada/array_of_variant/pck.adb: New file. + +2020-11-04 Tom Tromey + + * gdb.ada/enum_idx_packed.exp: Add test. + * gdb.ada/enum_idx_packed/foo.adb (Multi_Access): + New variable. + * gdb.ada/enum_idx_packed/pck.ads (Short) + (Multi_Dimension, Multi_Dimension_Access): New types. + +2020-11-04 Tom Tromey + + * gdb.ada/enum_idx_packed.exp: Test two forms of -fgnat-encodings. + +2020-11-04 Tom Tromey + + * gdb.ada/set_pckd_arr_elt.exp: Also test + -fgnat-encodings=minimal. Add tests. + * gdb.ada/set_pckd_arr_elt/foo.adb (Foo): Add VA variable. + Call Update_Small a second time. + * gdb.ada/set_pckd_arr_elt/pck.adb (New_Variant): New function. + * gdb.ada/set_pckd_arr_elt/pck.ads (Buffer, Variant) + (Variant_Access): New types. + (New_Variant): Declare. + +2020-11-04 Tom Tromey + + * gdb.ada/mod_from_name.exp: Test printing slice. + +2020-11-04 Tom Tromey + + * gdb.ada/O2_float_param.exp: Test different -fgnat-encodings + values. + * gdb.ada/access_to_unbounded_array.exp: Test different + -fgnat-encodings values. + * gdb.ada/big_packed_array.exp: Test different -fgnat-encodings + values. + * gdb.ada/arr_enum_idx_w_gap.exp: Test different -fgnat-encodings + values. + * gdb.ada/array_ptr_renaming.exp: Test different -fgnat-encodings + values. + * gdb.ada/array_of_variable_length.exp: Test different + -fgnat-encodings values. + * gdb.ada/arrayparam.exp: Test different -fgnat-encodings values. + * gdb.ada/arrayptr.exp: Test different -fgnat-encodings values. + * gdb.ada/frame_arg_lang.exp: Revert -fgnat-encodings=minimal + change. + * gdb.ada/mi_string_access.exp: Test different -fgnat-encodings + values. + * gdb.ada/mod_from_name.exp: Test different -fgnat-encodings values. + * gdb.ada/out_of_line_in_inlined.exp: Test different + -fgnat-encodings values. + * gdb.ada/packed_array.exp: Test different -fgnat-encodings + values. + * gdb.ada/pckd_arr_ren.exp: Test different -fgnat-encodings + values. + * gdb.ada/unc_arr_ptr_in_var_rec.exp: Test different + -fgnat-encodings values. + * gdb.ada/variant_record_packed_array.exp: Test different + -fgnat-encodings values. + +2020-11-04 Tom Tromey + + * gdb.ada/enum_idx_packed.exp: Add tests. + * gdb.ada/enum_idx_packed/foo.adb: Add variables. + * gdb.ada/enum_idx_packed/pck.adb: Add functions. + * gdb.ada/enum_idx_packed/pck.ads: Add types, function + declarations. + +2020-11-03 Tom de Vries + + * lib/dwarf.exp (Dwarf::_handle_DW_TAG): Improve attribute list + terminator comments. + (Dwarf::cu, Dwarf::tu): Remove superfluous abbreviation table + terminator. + +2020-11-02 Simon Marchi + + * gdb.base/step-over-no-symbols.exp (test_step_over): Replace + integer format test with regexp. + +2020-11-02 Gary Benson + + * gdb.base/print-file-var.exp (test): Separate compiler and + linker options, and build using build_executable_from_specs + to accommodate this. + +2020-11-02 Gary Benson + + * lib/gdb.exp (gdb_compile): Inhibit passing "-x c++" + for .c files compiled as C++ with Clang if any shared + libraries are specified. + +2020-11-02 Gary Benson + + * lib/attributes.h: New header. + * gdb.base/backtrace.c: Include the above. Replace + __attribute__(noclone)) with ATTRIBUTE_NOCLONE. + * gdb.base/infcall-nested-structs.c: Likewise. + * gdb.base/vla-optimized-out.c: Likewise. + +2020-11-02 Tom de Vries + + * gdb.dwarf2/fission-multi-cu.S: Remove .debug_line.dwo section. + +2020-11-01 Joel Brobecker + + * gdb.ada/fixed_points/fixed_points.adb: Replace use of + System.Min_Int and System.Max_Int with smaller hardcoded + constants. + +2020-10-31 Simon Marchi + + * configure.ac: Split AC_INIT into AC_INIT and AC_CONFIG_SRCDIR. + * configure: Re-generate. + +2020-10-30 Simon Marchi + + * gdb.arch/amd64-disp-step-avx.exp: Update displaced step debug + expected output. + +2020-10-30 Tankut Baris Aktemur + + * gdb.base/paginate-after-ctrl-c-running.exp: Update with no pagination + behavior. + * gdb.base/paginate-bg-execution.exp: Ditto. + * gdb.base/paginate-inferior-exit.exp: Ditto. + * gdb.base/double-prompt-target-event-error.c: Remove. + * gdb.base/double-prompt-target-event-error.exp: Remove. + +2020-10-29 Tankut Baris Aktemur + + * gdb.base/kill-detach-inferiors-cmd.exp: Check that 'kill + inferiors' and 'detach inferiors' do not change the current + inferior. + +2020-10-29 Tom de Vries + + * gdb.threads/tls.exp: Fix DUPLICATEs. + +2020-10-28 Tom de Vries + + * gdb.python/py-symbol.exp: Add KFAILs for -readnow. + +2020-10-28 Tom de Vries + + * gdb.ada/exec_changed.exp: Add KFAILs for -readnow. + * gdb.base/reread.exp: Same. + +2020-10-28 Tom de Vries + + * lib/gdb.exp (readnow): Handle arg. + * gdb.rust/traits.exp: Add KFAILs for -readnow. + +2020-10-28 Tom de Vries + + * gdb.base/relocate.exp: Update regexp for -readnow. + +2020-10-28 Tom de Vries + + * gdb.dwarf2/dw2-error.exp: Mark failure break in main as known with + -readnow. + +2020-10-28 Tom de Vries + + PR symtab/26772 + * gdb.dwarf2/dw2-ranges-overlap.c: New test. + * gdb.dwarf2/dw2-ranges-overlap.exp: New file. + +2020-10-28 Tom de Vries + + * lib/gdb.exp (gdb_file_cmd): Set gdb_file_cmd_msg. + * gdb.cp/nsalias.exp: Set complaints limit before file cmd. Expect + complaint during file command for -readnow. + +2020-10-28 Tom de Vries + + * gdb.cp/nsalias.exp: Fix typo in test name. + +2020-10-28 Tom de Vries + + * gdb.dwarf2/dw2-filename.exp: Update regexp for -readnow. + +2020-10-28 Tom de Vries + + * gdb.dwarf2/dw2-stack-boundary.exp: KFAILing the complaints for + -readnow. + +2020-10-27 Tom de Vries + + * gdb.base/multi-forks.exp: Use exp_continue to fix timeout. + +2020-10-27 Tom de Vries + + * gdb.base/maint.exp: Update for -readnow. + +2020-10-27 Tom de Vries + + * gdb.cp/psymtab-parameter.exp: Don't expect unexpanded CU for + -readnow. + +2020-10-14 Gary Benson + + * gdb.python/py-format-string.exp (test_deref_refs): Treat + "_vptr$Base" as correct, in addition to "_vptr.Base". + (test_mixed): Likewise. + +2020-10-27 Gary Benson + + * gdb.mi/mi-fortran-modules.exp: Check skip_fortran_tests. + * gdb.mi/mi-vla-fortran.exp: Likewise. Also fix a comment. + +2020-10-27 Tankut Baris Aktemur + + * gdb.base/condbreak.exp: Update the completion tests to + consider the '-force' flag. + +2020-10-27 Tom de Vries + + * gdb.base/list-ambiguous-readnow.exp: New file. + +2020-10-27 Tankut Baris Aktemur + + * gdb.base/condbreak-multi-context.exp: Expand to test forcing + the condition. + * gdb.linespec/cpcompletion.exp: Update to consider the + '-force-condition' keyword. + * gdb.linespec/explicit.exp: Ditto. + * lib/completion-support.exp: Ditto. + +2020-10-27 Tankut Baris Aktemur + + * gdb.base/condbreak-multi-context.cc: New file. + * gdb.base/condbreak-multi-context.exp: New file. + +2020-10-26 Tom Tromey + + * lib/mi-support.exp (default_mi_gdb_start): Call + gdb_stdin_log_init. + * lib/gdb.exp (standard_output_file_with_gdb_instance): Don't + subtract one from gdb_instances. + (gdb_stdin_log_write): Flush in_file. + +2020-10-26 Tom de Vries + + * gdb.dwarf2/enqueued-cu-base-addr.exp: New file. + +2020-10-26 Tom Tromey + + * gdb.ada/unsigned_range/foo.adb: New file. + * gdb.ada/unsigned_range/pack.adb: New file. + * gdb.ada/unsigned_range/pack.ads: New file. + * gdb.ada/unsigned_range.exp: New file. + +2020-10-26 Tom de Vries + + * lib/gdb.exp (INTERNAL_GDBFLAGS): Set heigth and width. + +2020-10-26 Tom de Vries + + * gdb.dwarf2/dw2-objfile-overlap-inner.S: Specify default base address + for CU. + * gdb.dwarf2/dw2-objfile-overlap-outer.S: Same. + +2020-10-23 Tom de Vries + + * lib/dwarf.exp (Dwarf::_guess_form): Return "" by default instead of + DW_FORM_string. + (Dwarf::_default_form): New proc. + (Dwarf::_handle_DW_TAG): Use _default_form. Error out if no form was + guessed. + +2020-10-23 Tom de Vries + + * gdb.dwarf2/ada-linkage-name.exp: Use $srcfile for DW_AT_name of CU. + * gdb.dwarf2/atomic-type.exp: Same. + * gdb.dwarf2/bad-regnum.exp: Same. + * gdb.dwarf2/cpp-linkage-name.exp: Same. + * gdb.dwarf2/dw2-align.exp: Same. + * gdb.dwarf2/dw2-bad-elf.exp: Same. + * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same. + * gdb.dwarf2/dw2-bad-unresolved.exp: Same. + * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same. + * gdb.dwarf2/dw2-opt-structptr.exp: Same. + * gdb.dwarf2/dw2-unusual-field-names.exp: Same. + * gdb.dwarf2/enum-type.exp: Same. + * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Same. + * gdb.dwarf2/info-locals-optimized-out.exp: Same. + * gdb.dwarf2/main-subprogram.exp: Same. + * gdb.dwarf2/missing-type-name.exp: Same. + * gdb.dwarf2/nonvar-access.exp: Same. + * gdb.dwarf2/typedef-void-finish.exp: Same. + * gdb.dwarf2/var-access.exp: Same. + * gdb.dwarf2/void-type.exp: Same. + +2020-10-22 Simon Marchi + + PR gdb/26693 + * gdb.dwarf2/template-specification-full-name.exp: New test. + +2020-10-22 Luis Machado + + * gdb.base/msym-bp-shl.exp (test_break): Adjust pattern to not + expected an offset from the function. + * gdb.base/msym-bp.exp (test): Likewise. + +2020-10-22 Andrew Burgess + + * gdb.fortran/array-slices.exp: Add a new test. + +2020-10-21 Gary Benson + + * gdb.mi/mi-fullname-deleted.exp: Fix substituted + fullname test with Clang. Also expand comments generally. + +2020-10-20 Tom de Vries + + * gdb.dwarf2/pr13961.S: Remove superfluous end-of-siblings marker. + +2020-10-20 Tom de Vries + + * gdb.dwarf2/arr-stride.c: Remove. + * gdb.dwarf2/arr-stride.exp: Use main.c. + * gdb.dwarf2/arr-subrange.c: Remove. + * gdb.dwarf2/arr-subrange.exp: Use main.c. + * gdb.dwarf2/bad-regnum.c: Remove. + * gdb.dwarf2/bad-regnum.exp: Use main.c. + * gdb.dwarf2/corrupt.c: Remove. + * gdb.dwarf2/corrupt.exp: Use main.c. + * gdb.dwarf2/dw2-bad-elf.c: Remove. + * gdb.dwarf2/dw2-bad-elf.exp: Use main.c. + * gdb.dwarf2/dw2-icycle.c: Remove. + * gdb.dwarf2/dw2-icycle.exp: Use main.c. + * gdb.dwarf2/formdata16.c: Remove. + * gdb.dwarf2/formdata16.exp: Use main.c. + * gdb.dwarf2/implptrconst.c: Remove. + * gdb.dwarf2/implptrconst.exp: Use main.c. + * gdb.dwarf2/info-locals-optimized-out.c: Remove. + * gdb.dwarf2/info-locals-optimized-out.exp: Use main.c. + * gdb.dwarf2/opaque-type-lookup.c: Remove. + * gdb.dwarf2/opaque-type-lookup.exp: Use main.c. + +2020-10-20 Tom de Vries + + * gdb.dwarf2/ada-valprint-error.exp: Remove redundant mention of .exp + file. + * gdb.dwarf2/dw2-dir-file-name.exp: Same. + +2020-10-20 Tom de Vries + + * gdb.dwarf2/dw2-error.exp: Use $gdb_test_file_name. + * gdb.dwarf2/dw2-line-number-zero.exp: Same. + * gdb.dwarf2/dw2-main-no-line-number.exp: Same. + * gdb.dwarf2/dw2-ranges-base.exp: Same. + * gdb.dwarf2/dw2-ranges.exp: Same. + * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same. + * gdb.dwarf2/var-access.exp: Same. + +2020-10-19 Tom Tromey + + PR tui/26719 + * gdb.tui/list.exp: Check source window contents after focus + change. + +2020-10-17 Tom de Vries + + PR symtab/26317 + * gdb.dwarf2/dw2-main-no-line-number.exp: New file. + +2020-10-17 Tom de Vries + + * lib/gdb.exp (standard_testfile): Also treat args starting with '-' + as suffix. + * gdb.dwarf2/atomic.c: Rename to ... + * gdb.dwarf2/atomic-type.c: ... this. + * gdb.dwarf2/dw2-ranges2.c: Rename to ... + * gdb.dwarf2/dw2-ranges-2.c: ... this. + * gdb.dwarf2/dw2-ranges3.c: Rename to ... + * gdb.dwarf2/dw2-ranges-3.c: ... this. + * gdb.dwarf2/fission-mix2.c: Rename to ... + * gdb.dwarf2/fission-mix-2.c: ... this. + * gdb.dwarf2/ada-linkage-name.exp: Use more suffix args for + standard_testfile. + * gdb.dwarf2/ada-valprint-error.exp: Same. + * gdb.dwarf2/arr-stride.exp: Same. + * gdb.dwarf2/arr-subrange.exp: Same. + * gdb.dwarf2/atomic-type.exp: Same. + * gdb.dwarf2/bad-regnum.exp: Same. + * gdb.dwarf2/break-inline-psymtab.exp: Same. + * gdb.dwarf2/clang-debug-names-2.exp: Same. + * gdb.dwarf2/clang-debug-names.exp: Same. + * gdb.dwarf2/comp-unit-lang.exp: Same. + * gdb.dwarf2/corrupt.exp: Same. + * gdb.dwarf2/count.exp: Same. + * gdb.dwarf2/cpp-linkage-name.exp: Same. + * gdb.dwarf2/data-loc.exp: Same. + * gdb.dwarf2/dw2-align.exp: Same. + * gdb.dwarf2/dw2-bad-elf.exp: Same. + * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same. + * gdb.dwarf2/dw2-bad-unresolved.exp: Same. + * gdb.dwarf2/dw2-case-insensitive.exp: Same. + * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Same. + * gdb.dwarf2/dw2-ifort-parameter.exp: Same. + * gdb.dwarf2/dw2-inline-many-frames.exp: Same. + * gdb.dwarf2/dw2-inline-param.exp: Same. + * gdb.dwarf2/dw2-inline-small-func.exp: Same. + * gdb.dwarf2/dw2-inline-stepping.exp: Same. + * gdb.dwarf2/dw2-is-stmt-2.exp: Same. + * gdb.dwarf2/dw2-is-stmt.exp: Same. + * gdb.dwarf2/dw2-line-number-zero.exp: Same. + * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same. + * gdb.dwarf2/dw2-opt-structptr.exp: Same. + * gdb.dwarf2/dw2-param-error.exp: Same. + * gdb.dwarf2/dw2-ranges-base.exp: Same. + * gdb.dwarf2/dw2-ranges.exp: Same. + * gdb.dwarf2/dw2-unusual-field-names.exp: Same. + * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same. + * gdb.dwarf2/dw4-sig-types.exp: Same. + * gdb.dwarf2/dynarr-ptr.exp: Same. + * gdb.dwarf2/enum-type.exp: Same. + * gdb.dwarf2/fission-mix.exp: Same. + * gdb.dwarf2/formdata16.exp: Same. + * gdb.dwarf2/implptrconst.exp: Same. + * gdb.dwarf2/implptrpiece.exp: Same. + * gdb.dwarf2/info-locals-optimized-out.exp: Same. + * gdb.dwarf2/main-subprogram.exp: Same. + * gdb.dwarf2/method-ptr.exp: Same. + * gdb.dwarf2/missing-sig-type.exp: Same. + * gdb.dwarf2/nonvar-access.exp: Same. + * gdb.dwarf2/opaque-type-lookup.exp: Same. + * gdb.dwarf2/shortpiece.exp: Same. + * gdb.dwarf2/staticvirtual.exp: Same. + * gdb.dwarf2/subrange.exp: Same. + * gdb.dwarf2/symtab-producer.exp: Same. + * gdb.dwarf2/typedef-void-finish.exp: Same. + * gdb.dwarf2/var-access.exp: Same. + * gdb.dwarf2/variant.exp: Same. + * gdb.dwarf2/void-type.exp: Same. + * gdb.dwarf2/dw2-ranges-psym.exp: Same. Use main.c instead of + dw2-ranges-main.c. + * gdb.dwarf2/dw2-ranges-main.c: Remove. + +2020-10-16 Tom de Vries + + * lib/gdb.exp (gdb_breakpoint): Remove mention of "passfail". + +2020-10-16 Tom de Vries + + * lib/gdb.exp (gdb_breakpoint): Handle eof as in gdb_test_multiple. + +2020-10-14 Tom de Vries + + PR testsuite/26732 + * gdb.ada/mi_catch_ex.exp: Do mi_delete_breakpoints before running + scenario 2. + * gdb.ada/mi_catch_ex_hand.exp: Same. + +2020-10-13 Pedro Alves + + * lib/mi-support.exp (mi_clean_restart): New. + (mi_run_to_main): Delete. + All callers adjust to use mi_clean_restart / mi_runto_main. + +2020-10-13 Pedro Alves + + * config/monitor.exp: Use "list -q". + * gdb.arch/gdb1558.exp: Use "break -q". + * gdb.arch/i386-permbkpt.exp: Use "break -q". + * gdb.arch/i386-prologue-skip-cf-protection.exp: Use "break -q". + * gdb.base/break.exp: Use "break -q", "list -q" and "tbreak -q". + * gdb.base/commands.exp: Use "break -q". + * gdb.base/condbreak.exp: Use "break -q". + * gdb.base/ctf-ptype.exp: Use "list -q". + * gdb.base/define.exp: Use "break -q". + * gdb.base/del.exp: Use "break -q". + * gdb.base/fullname.exp: Use "break -q". + * gdb.base/hbreak-in-shr-unsupported.exp: Use "hbreak -q". + * gdb.base/hbreak-unmapped.exp: Use "hbreak -q". + * gdb.base/hbreak2.exp: Use "hbreak -q" and "list -q". + * gdb.base/hw-sw-break-same-address.exp: Use "break -q" and + "hbreak -q". + * gdb.base/included.exp: Use "list -q". + * gdb.base/label.exp: Use "break -q". + * gdb.base/lineinc.exp: Use "break -q". + * gdb.base/list.exp: Use "list -q". + * gdb.base/macscp.exp: Use "list -q". + * gdb.base/pending.exp: Use "break -q". + * gdb.base/prologue-include.exp: Use "break -q". + * gdb.base/ptype.exp: Use "list -q". + * gdb.base/sepdebug.exp: Use "break -q", "list -q" and "tbreak -q". + * gdb.base/server-del-break.exp: Use "break -q". + * gdb.base/style.exp: Use "break -q". + * gdb.base/symbol-without-target_section.exp: Use "list -q". + * gdb.base/watchpoint-reuse-slot.exp: Use "hbreak -q". + * gdb.cp/exception.exp: Use "tbreak -q". + * gdb.dwarf2/dw2-error.exp: Use "break -q". + * gdb.dwarf2/fission-mix.exp: Use "break -q". + * gdb.dwarf2/fission-reread.exp: Use "break -q". + * gdb.dwarf2/pr13961.exp: Use "break -q". + * gdb.linespec/explicit.exp: Use "list -q". + * gdb.linespec/linespec.exp: Use "break -q". + * gdb.mi/mi-simplerun.exp: Use "--qualified". + * gdb.python/py-mi-objfile-gdb.py: Use "list -q". + * gdb.server/bkpt-other-inferior.exp: Use "break -q". + * gdb.server/connect-without-multi-process.exp: Use "break -q". + * gdb.trace/change-loc.exp: Use "break -q". + * gdb.trace/pending.exp: Use "break -q". + * gdb.tui/basic.exp: Use "list -q". + * gdb.tui/list-before.exp: Use "list -q". + * gdb.tui/list.exp: Use "list -q". + * lib/gdb.exp (gdb_has_argv0): Use "break -q". + +2020-10-13 Pedro Alves + + * gdb.base/ui-redirect.exp: Expect "break -qualified main" in + saved breakpoints file. + * gdb.guile/scm-breakpoint.exp: Expect "-qualified main" when + inspecting breakpoint list. + * lib/gdb.exp (runto_main): Add "qualified" to options. + * lib/mi-support.exp (mi_runto_helper): Add 'qualified' parameter, + and handle it. + (mi_runto_main): Pass 1 as qualified argument. + +2020-10-13 Pedro Alves + + * lib/mi-support.exp (mi_runto_main): New proc. + (mi_run_to_main): Use it. + * gdb.mi/mi-catch-cpp-exceptions.exp: Likewise. + * gdb.mi/mi-var-cmd.exp: Likewise. + * gdb.mi/mi-var-invalidate.exp: Likewise. + * mi-var-list-children-invalid-grandchild.exp: Likewise. + * gdb.mi/mi2-amd64-entry-value.exp: Likewise. + * gdb.mi/new-ui-mi-sync.exp: Likewise. + * gdb.mi/user-selected-context-sync.exp: Likewise. + * gdb.opt/inline-cmds.exp: Likewise. + * gdb.python/py-framefilter-mi.exp: Likewise. + * gdb.python/py-mi.exp: Likewise. + +2020-10-13 Pedro Alves + + * gdb.ada/fun_in_declare.exp: Use "runto_main" instead of + "runto main". + * gdb.ada/small_reg_param.exp: Likewise. + * gdb.arch/powerpc-d128-regs.exp: Likewise. + * gdb.base/annota1.exp: Likewise. + * gdb.base/anon.exp: Likewise. + * gdb.base/breakpoint-in-ro-region.exp: Likewise. + * gdb.base/dprintf-non-stop.exp: Likewise. + * gdb.base/dprintf.exp: Likewise. + * gdb.base/gdb11530.exp: Likewise. + * gdb.base/gdb11531.exp: Likewise. + * gdb.base/gnu_vector.exp: Likewise. + * gdb.base/interrupt-noterm.exp: Likewise. + * gdb.base/memattr.exp: Likewise. + * gdb.base/step-over-syscall.exp: Likewise. + * gdb.base/watch-cond-infcall.exp: Likewise. + * gdb.base/watch-read.exp: Likewise. + * gdb.base/watch-vfork.exp: Likewise. + * gdb.base/watch_thread_num.exp: Likewise. + * gdb.base/watchpoint-stops-at-right-insn.exp: Likewise. + * gdb.guile/scm-frame-inline.exp: Likewise. + * gdb.linespec/explicit.exp: Likewise. + * gdb.opt/inline-break.exp: Likewise. + * gdb.python/py-frame-inline.exp: Likewise. + * gdb.reverse/break-precsave.exp: Likewise. + * gdb.reverse/break-reverse.exp: Likewise. + * gdb.reverse/consecutive-precsave.exp: Likewise. + * gdb.reverse/consecutive-reverse.exp: Likewise. + * gdb.reverse/finish-precsave.exp: Likewise. + * gdb.reverse/finish-reverse.exp: Likewise. + * gdb.reverse/fstatat-reverse.exp: Likewise. + * gdb.reverse/getresuid-reverse.exp: Likewise. + * gdb.reverse/i386-precsave.exp: Likewise. + * gdb.reverse/i386-reverse.exp: Likewise. + * gdb.reverse/i386-sse-reverse.exp: Likewise. + * gdb.reverse/i387-env-reverse.exp: Likewise. + * gdb.reverse/i387-stack-reverse.exp: Likewise. + * gdb.reverse/insn-reverse.exp: Likewise. + * gdb.reverse/machinestate-precsave.exp: Likewise. + * gdb.reverse/machinestate.exp: Likewise. + * gdb.reverse/pipe-reverse.exp: Likewise. + * gdb.reverse/readv-reverse.exp: Likewise. + * gdb.reverse/recvmsg-reverse.exp: Likewise. + * gdb.reverse/rerun-prec.exp: Likewise. + * gdb.reverse/s390-mvcle.exp: Likewise. + * gdb.reverse/solib-precsave.exp: Likewise. + * gdb.reverse/solib-reverse.exp: Likewise. + * gdb.reverse/step-precsave.exp: Likewise. + * gdb.reverse/step-reverse.exp: Likewise. + * gdb.reverse/time-reverse.exp: Likewise. + * gdb.reverse/until-precsave.exp: Likewise. + * gdb.reverse/until-reverse.exp: Likewise. + * gdb.reverse/waitpid-reverse.exp: Likewise. + * gdb.reverse/watch-precsave.exp: Likewise. + * gdb.reverse/watch-reverse.exp: Likewise. + * gdb.threads/kill.exp: Likewise. + * gdb.threads/tid-reuse.exp: Likewise. + +2020-10-13 Simon Marchi + + PR gdb/26642 + * gdb.base/maint-target-async-off.c: New test. + * gdb.base/maint-target-async-off.exp: New test. + +2020-10-13 Alan Modra + + * gdb.arch/powerpc-altivec.s, + * gdb.arch/powerpc-power7.s, + * gdb.arch/powerpc-power8.s, + * gdb.arch/powerpc-power9.s, + * gdb.arch/powerpc-vsx.s, + * gdb.arch/powerpc-vsx2.s: Remove duplicate instructions. + * gdb.arch/powerpc-altivec.exp, + * gdb.arch/powerpc-power7.exp, + * gdb.arch/powerpc-power8.exp, + * gdb.arch/powerpc-power9.exp, + * gdb.arch/powerpc-vsx.exp, + * gdb.arch/powerpc-vsx2.exp: Likewise, and update expected + disassembly of mfvsrd/mtvsrd. + +2020-10-13 Alan Modra + + * gdb.arch/arm-disassembler-options.exp: Adjust expected + "target architecture" output. + * gdb.arch/powerpc-d128-regs.exp: Likewise. + * gdb.arch/powerpc-disassembler-options.exp: Likewise. + * gdb.arch/ppc64-symtab-cordic.exp: Likewise. + * gdb.arch/s390-disassembler-options.exp: Likewise. + +2020-10-12 Pedro Alves + + PR exp/26602 + PR c++/26550 + * gdb.cp/ambiguous.cc (marker1): Delete. + (main): Initialize all the fields of the locals. Replace marker1 + call with a "set breakpoint here" marker. + * gdb.cp/ambiguous.exp: Modernize. Use gdb_continue_to_breakpoint + instead of running to marker1. Add tests printing all the + variables and all the fields of the variables. + (test_ambiguous): New proc, expecting the new GDB output when a + field access is ambiguous. Change all "warning: X ambiguous" + tests to use it. + +2020-10-12 Gary Benson + + * gdb.base/msym-bp.c (foo): Add __attribute__ ((used)). + * gdb.base/msym-bp-2.c (foo): Likewise. + * gdb.base/msym-lang.c (foo): Likewise. + * gdb.base/msym-lang-main.c (foo): Likewise. + * gdb.base/symtab-search-order-1.c (static_global): Likewise. + * gdb.guile/scm-pretty-print.c (eval_func): Likewise. + * gdb.mi/mi-sym-info-1.c (global_f1): Likewise. + * gdb.mi/mi-sym-info-2.c (global_f1, var1, var2): Likewise. + * gdb.multi/watchpoint-multi-exit.c (globalvar): Likewise. + * gdb.python/py-as-string.c (enum_valid, enum_invalid): Likewise. + * gdb.python/py-objfile.c (static_var): Likewise. + * gdb.python/py-symbol.c (rr): Likewise. + * gdb.python/py-symbol-2.c (anon, rr): Likewise. + * gdb.mi/mi-sym-info.exp (lineno1, lineno2): Updated. + +2020-10-11 Andrew Burgess + + * gdb.fortran/mixed-lang-stack.exp (run_tests): Update expected + output of backtrace. + +2020-10-09 Tom Tromey + + * gdb.ada/scalar_storage/storage.adb (Another_Range): New type. + (Rec): Add field. Fix range. + * gdb.ada/scalar_storage.exp: Update. + +2020-10-09 Hannes Domani + + PR exp/26714 + * gdb.base/printcmds.exp: Add tests for void results. + +2020-10-09 Jan Vrany + + * gdb.mi/mi-cmd-param-changed.exp: Check that notification is + is emmited for both 'set directories' and 'directory' commands. + +2020-10-08 Tom Tromey + + * gdb.base/style.exp: Check that "main"'s name is styled. + +2020-10-07 Tom Tromey + + * gdb.base/find.exp: Rename some tests. + +2020-10-06 Gary Benson + + * gdb.base/list0.c (unused): Add __attribute__ ((used)). + * gdb.base/list1.c (unused): Likewise. + +2020-10-06 Gary Benson + + * gdb.base/list-ambiguous0.c (ambiguous_var): Add + __attribute__ ((used)). + * gdb.base/list-ambiguous1.c (ambiguous_var): Likewise. + +2020-10-06 Andrew Burgess + + * gdb.base/m32r.ld: Remove SEARCH_DIR line. Add MEMORY regions, + make use of regions throughout. + * gdb.base/overlays.exp: Enclose string with variableds in "..", + not {...}. + * gdb.base/ovlymgr.c: Add 'string.h' and 'stdlib.h' includes. + +2020-10-05 Hannes Domani + + * gdb.base/call-sc.c: Fix return struct on stack test case. + * gdb.base/call-sc.exp: Likewise. + +2020-10-02 Gary Benson + + * README: Fix "paralell". + +2020-09-30 Gary Benson + + * gdb.dwarf2/dw2-double-set-die-type.S (.Ldie_3e0): + Convert directive to lowercase. + (.Labbrev1_begin): Add missing label. + (abbrev code 0x1): Remove DW_AT_stmt_list. + (.Ldie_b): Likewise. + +2020-09-27 Tom Tromey + + * gdb.tui/new-layout.exp: Use with_test_prefix. + +2020-09-26 Gareth Rees (tiny change) + + PR python/26586 + * gdb.python/python.exp: add test cases for the from_tty + argument to gdb.execute. + +2020-09-25 Gary Benson + + * gdb.base/infcall-nested-structs.exp.tcl: Add + additional_flags=-Wno-tautological-compare for C++ + tests when compiling using Clang. + +2020-09-25 Gary Benson + + * lib/gdb.exp (gdb_compile): Pass "-x c++" earlier, and only + for .c files. + +2020-09-24 Tom Tromey + + PR tui/26638: + * gdb.tui/list.exp: Check output of "focus next". + +2020-09-23 Tom Tromey + + * gdb.dwarf2/intbits.exp: New file. + * gdb.dwarf2/intbits.c: New file. + +2020-09-20 Pedro Alves + + * lib/mi-support.exp (mi_uncatched_gdb_exit) Switch to the main + spawn_id before calling remote_close. Close secondary MI channel. + +2020-09-20 Pedro Alves + + * gdb.base/testenv.exp (find_env): Bail out if printing 'envp[$i]' + fails. + +2020-09-19 Andrew Burgess + + * gdb.fortran/array-slices.exp: Update expected results. + * gdb.fortran/class-allocatable-array.exp: Likewise. + * gdb.fortran/multi-dim.exp: Likewise. + * gdb.fortran/vla-type.exp: Likewise. + * gdb.mi/mi-vla-fortran.exp: Likewise. + +2020-09-18 Victor Collod + + PR gdb/26635 + * gdb.arch/amd64-prologue-skip-cf-protection.exp: Make the test + compatible with i386, and move it to... + * gdb.arch/i386-prologue-skip-cf-protection.exp: ... here. + * gdb.arch/amd64-prologue-skip-cf-protection.c: Move to... + * gdb.arch/i386-prologue-skip-cf-protection.c: ... here. + +2020-09-18 Pedro Alves + + PR gdb/26631 + * gdb.multi/multi-target-thread-find.exp: New file. + +2020-09-18 Pedro Alves + + * gdb.multi/multi-target-continue.exp: New file, factored out from + multi-target.exp. + * gdb.multi/multi-target-info-inferiors.exp: New file, factored out from + multi-target.exp. + * gdb.multi/multi-target-interrupt.exp: New file, factored out from + multi-target.exp. + * gdb.multi/multi-target-no-resumed.exp: New file, factored out from + multi-target.exp. + * gdb.multi/multi-target-ping-pong-next.exp: New file, factored out from + multi-target.exp. + * gdb.multi/multi-target.exp.tcl: New file, factored out from + multi-target.exp. + * gdb.multi/multi-target.exp: Delete. + +2020-09-18 Andrew Burgess + + * gdb.fortran/array-slices.exp: Add missing message data. + +2020-09-17 Pedro Alves + + * gdb.cp/call-c-1.c (foo) [__cplusplus]: Add extern "C". + +2020-09-17 Pedro Alves + + * gdb.python/py-frame-inline.exp: Adjust to optionally expect a + full prototype. + +2020-09-17 Pedro Alves + + * gdb.python/py-as-string.c: Add cast. + +2020-09-17 Pedro Alves + + * gdb.base/sizeof.c (fill): Add cast. + +2020-09-17 Pedro Alves + + * gdb.base/share-env-with-gdbserver.c (main): Add cast. + +2020-09-17 Pedro Alves + + * gdb.base/prologue.c [__cplusplus] (marker): Explicitly specify + linkage name. + * gdb.base/prologue.exp: Use print /d. + * gdb.base/symbol-alias.exp: Handle C++ output. + * gdb.base/symbol-alias2.c: Handle C++ output. + [__cplusplus] (func): Explicitly specify linkage name. + +2020-09-17 Pedro Alves + + * gdb.python/py-nested-maps.c (struct key_t): Rename to... + (struct my_key_t): ... this. Adjust all references. + (struct value_t): Rename to ... + (struct my_value_t): ... this. Adjust all references. + (create_map, add_map_element, create_map_map) + (add_map_map_element): Add casts. + +2020-09-17 Pedro Alves + + * gdb.python/py-framefilter-mi.c (funca): Add casts. + * gdb.python/py-framefilter.c.c (funca, func2): Add casts. + +2020-09-17 Pedro Alves + + * gdb.mi/var-cmd.c (do_anonymous_type_tests): Add cast. + +2020-09-17 Pedro Alves + + * gdb.base/exprs.c: Replace 'this' with 'self' throughout. + * gdb.base/ptype.c: : Replace 'this' with 'self' throughout. + (charfoo, intfoo): Define full prototype. + * gdb.base/ptype1.c (charfoo): Define full prototype. + * gdb.base/setvar.c: Replace 'this' with 'self' throughout. + * gdb.base/whatis.c: Replace 'this' with 'self' throughout. + +2020-09-17 Pedro Alves + + * gdb.base/charset.c [__cplusplus] (wchar_t, char16_t, char32_t): + Don't define. + (utf_32_string): Compile for both C and C++. + * gdb.base/charset.exp: Use "print /d". + +2020-09-17 Pedro Alves + + * gdb.base/watchpoint.c (buf): Make it 31 bytes. + (nullptr): Rename to ... + (null_ptr): ... this. + * gdb.base/watchpoint.exp: Adjust to rename. + +2020-09-17 Pedro Alves + + * gdb.base/printcmds.c (three, flag_enum_without_zero) + (three_not_flag): Add casts. + +2020-09-17 Pedro Alves + + * gdb.base/examine-backward.c (Barrier, TestStrings): Now unsigned + char array. + (main): Add references to Barrier, TestStrings, TestStringsH and + TestStringsW. + * gdb.base/examine-backward.exp: Issue "set print asm-demangle on" + and expect a full prototype in C++. + +2020-09-17 Pedro Alves + + * gdb.base/nested-addr.c (main): Add cast. + * gdb.base/nested-addr.exp: Use "print /d". + +2020-09-17 Pedro Alves + + * gdb.base/break.exp (func): New. Use it throughout when + expecting a function name. + +2020-09-17 Pedro Alves + + * gdb.base/display.exp: Issue "set print asm-demangle on". + +2020-09-17 Pedro Alves + + * gdb.base/find.c: Include . + (init_bufs): Add cast. + * gdb.base/find.exp: Issue "set print asm-demangle on". + +2020-09-16 Tom Tromey + + PR gdb/26598: + * gdb.base/skipcxx.exp: New file. + * gdb.base/skipcxx.cc: New file. + +2020-09-16 Tom de Vries + + PR testsuite/26617 + * gdb.dlang/watch-loc.c: Only add .debug_aranges if + WITH_DEBUG_SECTIONS is defined. + (xstr, str): New macro. + (.debug_aranges): Use DMAIN_START_0/1/2 and DMAIN_LENGTH + to get start and size of _Dmain. + * gdb.dlang/watch-loc.exp: Pass DMAIN_START_0/1/2 and DMAIN_LENGTH + using additional_flags. + +2020-09-16 Tankut Baris Aktemur + + * gdb.base/bp-cmds-sourced-script.c: New file. + * gdb.base/bp-cmds-sourced-script.exp: New test. + * gdb.base/bp-cmds-sourced-script.gdb: New file. + +2020-09-16 Tom de Vries + + * lib/gdbserver-support.exp (gdbserver_exit): Make sure we + get the gdb prompt after issuing "monitor exit". + +2020-09-16 Tom de Vries + + PR testsuite/26624 + * lib/gdb.exp (gdb_assert): Catch errors in condition evaluation. + +2020-09-16 Tom de Vries + + PR testsuite/26618 + * gdb.tui/new-layout.exp: Escape unbalanced braces. + +2020-09-15 Tom Tromey + + PR rust/26197: + * lib/rust-support.exp (rust_llvm_version): New proc. + * gdb.rust/simple.exp: Check rust_llvm_version. + +2020-09-14 Tom de Vries + + * gdb.rust/traits.exp: Fix PATH warning. + +2020-09-13 Pedro Alves + + * gdb.base/catch-follow-exec.c (main): Add explicit return + statement. + * gdb.base/catch-signal.c (main): Likewise. + * gdb.base/condbreak-call-false.c (main): Likewise. + * gdb.base/consecutive.c (main): Add explicit return + statement and return type. + * gdb.base/cursal.c (main): Add explicit return statement. + * gdb.base/cvexpr.c (main): Likewise. + * gdb.base/display.c (main): Add explicit return statement and + return type. + * gdb.base/dprintf-detach.c (main): Add explicit return statement. + * gdb.base/endianity.c (main): Likewise. + * gdb.base/execd-prog.c (main): Likewise. + * gdb.base/gdb1090.c (main): Likewise. + * gdb.base/info_qt.c (main): Likewise. + * gdb.base/lineinc.c (main): Likewise. + * gdb.base/load-command.c (main): Likewise. + * gdb.base/macscp1.c (main): Likewise. + * gdb.base/pr10179-a.c (main): Likewise. + * gdb.base/quit-live.c (main): Likewise. + * gdb.base/scope0.c (main): Likewise. + * gdb.base/settings.c (main): Likewise. + * gdb.base/stack-checking.c (main): Return int. + * gdb.base/varargs.c (main): Add explicit return statement. + * gdb.cp/ambiguous.cc (main): Likewise. + * gdb.cp/anon-struct.cc (main): Likewise. + * gdb.cp/anon-union.cc (main): Likewise. + * gdb.cp/bool.cc (main): Likewise. + * gdb.cp/bs15503.cc (main): Likewise. + * gdb.cp/cplusfuncs.cc (main): Likewise. + * gdb.cp/cttiadd.cc (main): Likewise. + * gdb.cp/extern-c.cc (main): Likewise. + * gdb.cp/filename.cc (main): Likewise. + * gdb.cp/formatted-ref.cc (main): Likewise. + * gdb.cp/mb-ctor.cc (main): Likewise. + * gdb.cp/member-ptr.cc (main): Likewise. + * gdb.cp/minsym-fallback-main.cc (main): Likewise. + * gdb.cp/overload-const.cc (main): Likewise. + * gdb.cp/paren-type.cc (main): Likewise. + * gdb.cp/parse-lang.cc (main): Likewise. + * gdb.cp/pr-1023.cc (main): Likewise. + * gdb.cp/psmang1.cc (main): Likewise. + * gdb.cp/readnow-language.cc (main): Likewise. + * gdb.cp/ref-params.cc (main): Likewise. + * gdb.cp/rvalue-ref-params.cc (main): Likewise. + * gdb.cp/virtbase2.cc (main): Likewise. + * gdb.dwarf2/dw2-abs-hi-pc.c (main): Likewise. + * gdb.dwarf2/dw2-namespaceless-anonymous.c (main): Likewise. + * gdb.dwarf2/dw4-toplevel-types.cc (main): Likewise. + * gdb.mi/mi-console.c (main): Likewise. + * gdb.mi/mi-read-memory.c (main): Likewise. + * gdb.modula2/multidim.c (main): Likewise. + * gdb.opt/inline-small-func.c (main): Likewise. + * gdb.python/py-rbreak.c (main): Likewise. + * gdb.stabs/exclfwd1.c (main): Likewise. + * gdb.trace/qtro.c (main): Likewise. + +2020-09-13 Pedro Alves + + * gdb.base/share-env-with-gdbserver.c (main): Call my_getenv + instead of getenv. + +2020-09-13 Pedro Alves + + * gdb.base/dbx.exp (dbx_gdb_start): Adjust to use gdb_spawn + instead of spawning GDB with remote_spawn. + * lib/mi-support.exp (default_mi_gdb_start): Adjust to use + gdb_spawn instead of spawning GDB with remote_spawn. + +2020-09-13 Pedro Alves + + * gdb.dwarf2/ada-linkage-name.c (main): Move to the bottom of the + file and add calls to first and second. + * gdb.dwarf2/atomic.c (main): Move to the bottom of the file and + add call to f. + +2020-09-13 Pedro Alves + + * gdb.mi/mi-break-qualified.cc: New file. + * gdb.mi/mi-break-qualified.exp: New file. + * lib/mi-support.exp (mi_create_breakpoint_multi) + (mi_make_breakpoint_loc, mi_make_breakpoint_multi): New + procedures. + (mi_create_breakpoint_1): New, factored out from + mi_create_breakpoint. + +2020-09-13 Pedro Alves + + * gdb.cp/inherit.exp: No longer pass -Wno-deprecated-register. + * gdb.cp/misc.exp: No longer pass -Wno-deprecated-register. + * gdb.cp/misc.cc (class small, small::method, marker_reg1) + (register_class): Delete. + (main): Don't call register_class. + +2020-09-13 Pedro Alves + + * gdb.cp/classes.exp: No longer pass -Wno-deprecated-register. + (do_tests): Remove "calling method for small class" test. + * gdb.cp/classes.cc (class small, small::method, marker_reg1) + (register_class): Delete. + (main): Don't call register_class. + * gdb.cp/call-method-register.exp: New file, based on bits removed + from classes.exp. + * gdb.cp/call-method-register.cc: New file, based on bits removed + from classes.cc. + +2020-09-13 Pedro Alves + + * gdb.base/msym-bp-2.c: New. + * gdb.base/msym-bp-shl-lib.c: New file. + * gdb.base/msym-bp-shl-main-2.c: New file. + * gdb.base/msym-bp-shl-main.c: New file. + * gdb.base/msym-bp-shl.exp: New file. + * gdb.base/msym-bp.c: New file. + * gdb.base/msym-bp.exp: New file. + +2020-09-13 Joel Brobecker + + * gdb.base/default.exp: Change $_gdb_major to 11. + +2020-09-11 Moritz Riesterer + Felix Willgerodt + + * x86-avx512bf16.c: New file. + * x86-avx512bf16.exp: Likewise. + * lib/gdb.exp (skip_avx512bf16_tests): New function. + +2020-09-11 Tom de Vries + + PR exp/26602 + * gdb.cp/ambiguous.exp: Add KFAILs for PR26602. + +2020-09-11 Tankut Baris Aktemur + + * gdb.base/bp-cmds-execution-x-script.exp: Remove a stale comment. + +2020-09-10 Alan Modra + + PR 26597 + * gdb.dlang/demangle.exp: Update tests as per gcc commit 387d0773f3. + +2020-09-08 Tom de Vries + + * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Consume gdb prompt + after gdb_starti_cmd. + +2020-09-03 Alok Kumar Sharma + + * lib/fortran.exp (fortran_complex8): New proc. + (fortran_complex16): New proc. + * gdb.fortran/complex.exp: Use routines from fortran.exp + * gdb.fortran/pointer-to-pointer.exp: Likewise. + * gdb.fortran/vla-ptr-info.exp: Likewise. + +2020-09-03 Tom de Vries + + PR breakpoint/26546 + * gdb.base/label-without-address.exp: Runto main first. + +2020-09-02 Tom Tromey + + * gdb.ada/mi_var_access.exp: Test children of access variable. + * gdb.ada/mi_var_access/mi_access.adb: Add new stop markers. + * gdb.ada/mi_var_array.exp: Update. + +2020-08-31 Kevin Buettner + + * gdb.base/corefile.exp (warning-free): XFAIL test when running + on docker w/ AUFS storage driver. + +2020-08-31 Kevin Buettner + + * gdb.base/corefile2.exp (renamed binfile): New tests. + +2020-08-31 Simon Marchi + + * gdb.dwarf2/dw2-reg-undefined.exp: Remove spurious #. + +2020-08-31 Simon Marchi + + * gdb.dwarf2/frame-inlined-in-outer-frame.exp: New file. + * gdb.dwarf2/frame-inlined-in-outer-frame.S: New file. + +2020-08-31 Simon Marchi + + * gdb.dwarf2/dw2-reg-undefined.exp: Test "set debug frame 1" + output, printing a "not saved" value from history and printing a + convenience variable created from a "not saved" value. + +2020-08-31 Tom de Vries + + * gdb.base/eh_return.exp: Use nopie. + +2020-08-28 Pedro Alves + + * gdb.base/advance-until-multiple-locations.exp + (advance_overload, until_overload): Adjust to match the + frame/function header instead of the source line text. + +2020-08-28 Tom de Vries + + * gdb.base/label-without-address.c: New test. + * gdb.base/label-without-address.exp: New file. + +2020-08-27 Pedro Alves + + PR gdb/26523 + PR gdb/26524 + * gdb.base/advance-until-multiple-locations.cc: New. + * gdb.base/advance-until-multiple-locations.exp: New. + +2020-08-27 Simon Marchi + + * gdb.dwarf2/dw2-reg-undefined.exp: Use multi_line. + +2020-08-27 Andrew Burgess + + * gdb.arch/amd64-byte.exp: Make test names unique, use + gdb_breakpoint, and fix typo 'forth' -> 'fourth'. + * gdb.arch/amd64-dword.exp: Likewise. + * gdb.arch/amd64-pseudo.c: Fix typo 'forth' -> 'fourth'. + * gdb.arch/amd64-stap-special-operands.exp: Make test names + unique. + * gdb.arch/amd64-tailcall-ret.exp: Likewise. + * gdb.arch/amd64-word.exp: Make test names unique, use + gdb_breakpoint, and fix typo 'forth' -> 'fourth'. + * gdb.arch/i386-byte.exp: Make test names unique, use + gdb_breakpoint. + * gdb.arch/i386-word.exp: Likewise. + +2020-08-25 Shahab Vahedi + + * gdb.arch/arc-tdesc-cpu.xml: Use new feature names. + +2020-08-25 Simon Marchi + + PR gdb/26532 + * gdb.threads/stepi-random-signal.exp: Update pattern. + +2020-08-25 Simon Marchi + + PR gdb/26532 + * gdb.base/ui-redirect.exp: Update pattern. + +2020-08-25 Gary Benson + + * gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler + when compiling with clang. + * gdb.dwarf2/dw2-restore.exp: Likewise. + +2020-08-25 Gary Benson + + * gdb.cp/ambiguous.exp: Enable test when compiling with GCC. + Add additional_flags=-Wno-inaccessible-base when compiling + with GCC >= 10.1 or clang. Add additional_flags=-w when + compiling with GCC < 10. + +2020-08-25 Gaius Mulley + + PR m2/26372 + * gdb.modula2/multidim.c: New file. + * gdb.modula2/multidim.exp: New file. + +2020-08-24 Simon Marchi + + * lib/gdb.exp (runto): Always emit fail on internal error. + +2020-08-24 Simon Marchi + + * gdb.base/gdb-sigterm.exp (do_test): Update expected regexp. + * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: + Likewise. + * gdb.threads/stepi-random-signal.exp: Likewise. + +2020-08-20 Tankut Baris Aktemur + + * gdb.base/print-file-var.exp: Fix typo "breapoint". + * gdb.trace/strace.exp: Ditto. + +2020-08-19 Alok Kumar Sharma + + * gdb.fortran/vla-type.exp: Skip commands not required for + the Flang compiled binaries after prologue fix. + +2020-08-17 Tom de Vries + Tom Tromey + + PR rust/26197: + * gdb.rust/simple.exp (xfail_pattern): Update for new failure. + +2020-08-17 Tom Tromey + + * gdb.ada/mi_var_access.exp: New file. + * gdb.ada/mi_var_access/mi_access.adb: New file. + * gdb.ada/mi_var_access/pck.adb: New file. + * gdb.ada/mi_var_access/pck.ads: New file. + +2020-08-16 Tom de Vries + + PR gdb/25350 + * gdb.base/eh_return.c: New test. + * gdb.base/eh_return.exp: New file. + +2020-08-15 Tom de Vries + + * gdb.fortran/mixed-lang-stack.c (fortran_charlen_t): New type. + (mixed_func_1d_): Use fortran_charlen_t in decl. + +2020-08-15 Tom de Vries + + PR backtrace/26390 + * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all. + Update expected pattern. + +2020-08-13 Pedro Alves + + * gdb.fortran/complex.exp: Check skip_fortran_tests. + * gdb.fortran/library-module.exp: Likewise. + * gdb.fortran/logical.exp: Likewise. + * gdb.fortran/module.exp: Likewise. + * gdb.fortran/print_type.exp: Likewise. + * gdb.fortran/vla-alloc-assoc.exp: Likewise. + * gdb.fortran/vla-datatypes.exp: Likewise. + * gdb.fortran/vla-history.exp: Likewise. + * gdb.fortran/vla-ptr-info.exp: Likewise. + * gdb.fortran/vla-ptype-sub.exp: Likewise. + * gdb.fortran/vla-ptype.exp: Likewise. + * gdb.fortran/vla-sizeof.exp: Likewise. + * gdb.fortran/vla-type.exp: Likewise. + * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise. + * gdb.fortran/vla-value-sub-finish.exp: Likewise. + * gdb.fortran/vla-value-sub.exp: Likewise. + * gdb.fortran/vla-value.exp: Likewise. + +2020-08-13 Pedro Alves + + * gdb.ada/access_tagged_param.exp: Check skip_ada_tests. + * gdb.ada/access_to_packed_array.exp: Likewise. + * gdb.ada/access_to_unbounded_array.exp: Likewise. + * gdb.ada/addr_arith.exp: Likewise. + * gdb.ada/arr_acc_idx_w_gap.exp: Likewise. + * gdb.ada/arr_arr.exp: Likewise. + * gdb.ada/arr_enum_idx_w_gap.exp: Likewise. + * gdb.ada/array_bounds.exp: Likewise. + * gdb.ada/array_of_variable_length.exp: Likewise. + * gdb.ada/array_ptr_renaming.exp: Likewise. + * gdb.ada/array_subscript_addr.exp: Likewise. + * gdb.ada/arraydim.exp: Likewise. + * gdb.ada/arrayparam.exp: Likewise. + * gdb.ada/arrayptr.exp: Likewise. + * gdb.ada/assign_1.exp: Likewise. + * gdb.ada/assign_arr.exp: Likewise. + * gdb.ada/atomic_enum.exp: Likewise. + * gdb.ada/attr_ref_and_charlit.exp: Likewise. + * gdb.ada/bad-task-bp-keyword.exp: Likewise. + * gdb.ada/bias.exp: Likewise. + * gdb.ada/boolean_expr.exp: Likewise. + * gdb.ada/bp_c_mixed_case.exp: Likewise. + * gdb.ada/bp_enum_homonym.exp: Likewise. + * gdb.ada/bp_inlined_func.exp: Likewise. + * gdb.ada/bp_on_var.exp: Likewise. + * gdb.ada/bp_range_type.exp: Likewise. + * gdb.ada/bp_reset.exp: Likewise. + * gdb.ada/call_pn.exp: Likewise. + * gdb.ada/catch_assert_if.exp: Likewise. + * gdb.ada/catch_ex.exp: Likewise. + * gdb.ada/catch_ex_std.exp: Likewise. + * gdb.ada/char_enum.exp: Likewise. + * gdb.ada/char_param.exp: Likewise. + * gdb.ada/complete.exp: Likewise. + * gdb.ada/cond_lang.exp: Likewise. + * gdb.ada/convvar_comp.exp: Likewise. + * gdb.ada/dgopt.exp: Likewise. + * gdb.ada/disc_arr_bound.exp: Likewise. + * gdb.ada/display_nested.exp: Likewise. + * gdb.ada/dot_all.exp: Likewise. + * gdb.ada/dyn_loc.exp: Likewise. + * gdb.ada/dyn_stride.exp: Likewise. + * gdb.ada/excep_handle.exp: Likewise. + * gdb.ada/expr_delims.exp: Likewise. + * gdb.ada/expr_with_funcall.exp: Likewise. + * gdb.ada/exprs.exp: Likewise. + * gdb.ada/fin_fun_out.exp: Likewise. + * gdb.ada/fixed_cmp.exp: Likewise. + * gdb.ada/formatted_ref.exp: Likewise. + * gdb.ada/frame_arg_lang.exp: Likewise. + * gdb.ada/frame_args.exp: Likewise. + * gdb.ada/fullname_bp.exp: Likewise. + * gdb.ada/fun_addr.exp: Likewise. + * gdb.ada/fun_in_declare.exp: Likewise. + * gdb.ada/fun_overload_menu.exp: Likewise. + * gdb.ada/fun_renaming.exp: Likewise. + * gdb.ada/funcall_char.exp: Likewise. + * gdb.ada/funcall_param.exp: Likewise. + * gdb.ada/funcall_ptr.exp: Likewise. + * gdb.ada/funcall_ref.exp: Likewise. + * gdb.ada/homonym.exp: Likewise. + * gdb.ada/info_addr_mixed_case.exp: Likewise. + * gdb.ada/info_auto_lang.exp: Likewise. + * gdb.ada/info_exc.exp: Likewise. + * gdb.ada/info_types.exp: Likewise. + * gdb.ada/int_deref.exp: Likewise. + * gdb.ada/interface.exp: Likewise. + * gdb.ada/iwide.exp: Likewise. + * gdb.ada/lang_switch.exp: Likewise. + * gdb.ada/length_cond.exp: Likewise. + * gdb.ada/maint_with_ada.exp: Likewise. + * gdb.ada/mi_catch_assert.exp: Likewise. + * gdb.ada/mi_catch_ex.exp: Likewise. + * gdb.ada/mi_catch_ex_hand.exp: Likewise. + * gdb.ada/mi_dyn_arr.exp: Likewise. + * gdb.ada/mi_ex_cond.exp: Likewise. + * gdb.ada/mi_exc_info.exp: Likewise. + * gdb.ada/mi_interface.exp: Likewise. + * gdb.ada/mi_prot.exp: Likewise. + * gdb.ada/mi_ref_changeable.exp: Likewise. + * gdb.ada/mi_string_access.exp: Likewise. + * gdb.ada/mi_task_arg.exp: Likewise. + * gdb.ada/mi_task_info.exp: Likewise. + * gdb.ada/mi_var_array.exp: Likewise. + * gdb.ada/mi_var_union.exp: Likewise. + * gdb.ada/mi_variant.exp: Likewise. + * gdb.ada/minsyms.exp: Likewise. + * gdb.ada/mod_from_name.exp: Likewise. + * gdb.ada/nested.exp: Likewise. + * gdb.ada/null_array.exp: Likewise. + * gdb.ada/optim_drec.exp: Likewise. + * gdb.ada/out_of_line_in_inlined.exp: Likewise. + * gdb.ada/packed_array_assign.exp: Likewise. + * gdb.ada/packed_tagged.exp: Likewise. + * gdb.ada/pp-rec-component.exp: Likewise. + * gdb.ada/print_chars.exp: Likewise. + * gdb.ada/print_pc.exp: Likewise. + * gdb.ada/ptr_typedef.exp: Likewise. + * gdb.ada/ptype_arith_binop.exp: Likewise. + * gdb.ada/ptype_array.exp: Likewise. + * gdb.ada/ptype_field.exp: Likewise. + * gdb.ada/ptype_tagged_param.exp: Likewise. + * gdb.ada/ptype_union.exp: Likewise. + * gdb.ada/py_range.exp: Likewise. + * gdb.ada/py_taft.exp: Likewise. + * gdb.ada/rdv_wait.exp: Likewise. + * gdb.ada/rec_comp.exp: Likewise. + * gdb.ada/rec_return.exp: Likewise. + * gdb.ada/ref_param.exp: Likewise. + * gdb.ada/ref_tick_size.exp: Likewise. + * gdb.ada/rename_subscript_param.exp: Likewise. + * gdb.ada/repeat_dyn.exp: Likewise. + * gdb.ada/same_component_name.exp: Likewise. + * gdb.ada/same_enum.exp: Likewise. + * gdb.ada/scalar_storage.exp: Likewise. + * gdb.ada/set_wstr.exp: Likewise. + * gdb.ada/small_reg_param.exp: Likewise. + * gdb.ada/str_binop_equal.exp: Likewise. + * gdb.ada/str_ref_cmp.exp: Likewise. + * gdb.ada/str_uninit.exp: Likewise. + * gdb.ada/sub_variant.exp: Likewise. + * gdb.ada/sym_print_name.exp: Likewise. + * gdb.ada/taft_type.exp: Likewise. + * gdb.ada/tagged.exp: Likewise. + * gdb.ada/tagged_access.exp: Likewise. + * gdb.ada/task_bp.exp: Likewise. + * gdb.ada/task_switch_in_core.exp: Likewise. + * gdb.ada/tasks.exp: Likewise. + * gdb.ada/tick_last_segv.exp: Likewise. + * gdb.ada/tick_length_array_enum_idx.exp: Likewise. + * gdb.ada/type_coercion.exp: Likewise. + * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise. + * gdb.ada/unchecked_union.exp: Likewise. + * gdb.ada/uninitialized_vars.exp: Likewise. + * gdb.ada/var_arr_attrs.exp: Likewise. + * gdb.ada/var_arr_typedef.exp: Likewise. + * gdb.ada/var_rec_arr.exp: Likewise. + * gdb.ada/variant-record.exp: Likewise. + * gdb.ada/variant.exp: Likewise. + * gdb.ada/variant_record_packed_array.exp: Likewise. + * gdb.ada/varsize_limit.exp: Likewise. + * gdb.ada/whatis_array_val.exp: Likewise. + * gdb.ada/widewide.exp: Likewise. + * gdb.ada/win_fu_syms.exp: Likewise. + +2020-08-12 Gary Benson + + * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label. + +2020-08-04 Andrew Burgess + + * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to + unset the array variable. + +2020-08-03 Tom de Vries + + PR symtab/26333 + * lib/dwarf.exp (DW_LNE_user): New proc. + * gdb.dwarf2/dw2-vendor-extended-opcode.c: New test. + * gdb.dwarf2/dw2-vendor-extended-opcode.exp: New file. + +2020-07-31 Kevin Buettner + + * gdb.base/coremaker2.c: Change all uses of 'unsigned long long' + to 'uintptr_t' + (inttypes.h): Include. + +2020-07-31 Kevin Buettner + + * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB. + (C5_24k): Delete. + (C5_8k, C5_64k, C5_256k): New macros. + (buf_ro): Allocate 256 KiB of initialized data. + +2020-07-30 Tankut Baris Aktemur + + * gdb.base/condbreak-bad.exp: Extend the test with scenarios + that attempt to overwrite an existing condition with a condition + that fails parsing and also with a condition that parses fine + but contains junk at the end. + +2020-07-30 Tankut Baris Aktemur + + * gdb.base/condbreak-bad.c: New test. + * gdb.base/condbreak-bad.exp: New file. + +2020-07-30 Tom de Vries + + * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor + out of ... + (GDBInfoModuleSymbols::check_entry): ... here. + (GDBInfoModuleSymbols::check_optional_entry): New proc. + * gdb.fortran/info-modules.exp: Use check_optional_entry for entries + related to __def_init_mod1_M1t1 / __vtype_mod1_M1t1 / __copy_mod1_M1t1. + +2020-07-30 Tom de Vries + + * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on + "__class_some_module_Number_t" optional. + +2020-07-29 Tom de Vries + + * lib/selftest-support.exp (selftest_setup): Allow breakpoint at + multiple locations. + +2020-07-29 Tom de Vries + + * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines + rather than function name. + +2020-07-28 Andrew Burgess + + PR symtab/26270: + * gdb.cp/disasm-func-name.cc: New file. + * gdb.cp/disasm-func-name.exp: New file. + +2020-07-28 Tom Tromey + + * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to + 'varval' location. + +2020-07-28 Andrew Burgess + + * gdb.python/py-unwind.py: Update to make use of a register + descriptor. + +2020-07-28 Andrew Burgess + + * gdb.python/py-arch-reg-names.exp: Add additional tests. + +2020-07-25 Andrew Burgess + + PR fortran/23051 + PR fortran/26139 + * gdb.fortran/class-allocatable-array.exp: New file. + * gdb.fortran/class-allocatable-array.f90: New file. + * gdb.fortran/pointer-to-pointer.exp: New file. + * gdb.fortran/pointer-to-pointer.f90: New file. + +2020-07-25 Tom de Vries + + PR symtab/26243 + * gdb.dwarf2/dw2-line-number-zero.c: New test. + * gdb.dwarf2/dw2-line-number-zero.exp: New file. + +2020-07-24 Tom de Vries + + PR testsuite/26293 + * gdb.ada/mi_prot.exp: Require gnatmake-8. + +2020-07-23 Pedro Alves + + * gdb.server/server-kill.exp (prepare): New, factored out from the + top level. + (kill_server): New. + (test_tstatus, test_unwind_nosyms, test_unwind_syms): New. + (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms. + +2020-07-23 Andrew Burgess + + * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file. + +2020-07-22 Sandra Loosemore + + * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags): + Initialize to empty string at top level. + (gdb_wrapper_init): Revert check for file existence on build. + Build the wrapper in its default place, not a build-specific + location. When host == build, make the pathname absolute. + (gdb_compile): Delete leftover declaration of + gdb_wrapper_initialized. Check gdb_wrapper_file being an empty + string instead of uninitialized. + +2020-07-22 Kevin Buettner + + * gdb.base/corefile2.exp: New file. + * gdb.base/coremaker2.exp: New file. + +2020-07-22 Kevin Buettner + + * gdb.base/coredump-filter.exp: Add second + non-Private-Shared-Anon-File test. + (test_disasm): Rename binfile for test which is expected + to fail. + +2020-07-22 Kevin Buettner + + * gdb.base/corefile.exp: Add test "accessing read-only mmapped + data in core file". + * gdb.base/coremaker.c (buf2ro): New global. + (mmapdata): Add a read-only mmap mapping. + +2020-07-22 Kevin Buettner + + PR corefiles/25631 + * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data): + New test. + * gdb.base/coremaker.c (buf3): New global. + (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE + flags. + +2020-07-22 Kevin Buettner + + * gdb.base/coremaker.c (filler_ro): New global constant. + +2020-07-22 Tom Tromey + + * gdb.ada/mi_prot.exp: New file. + * gdb.ada/mi_prot/pkg.adb: New file. + * gdb.ada/mi_prot/pkg.ads: New file. + * gdb.ada/mi_prot/prot.adb: New file. + +2020-07-22 Tankut Baris Aktemur + + * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that + loads two JITers. + +2020-07-21 Andrew Burgess + + * gdb.python/py-arch-reg-groups.exp: Additional tests. + +2020-07-21 Andrew Burgess + + * gdb.python/py-arch-reg-names.exp: Additional tests. + +2020-07-21 Tom de Vries + + * gdb.reverse/solib-precsave.exp: Handle additional "recommended + breakpoint locations". + * gdb.reverse/solib-reverse.exp: Same. + +2020-07-21 Tom de Vries + + * gdb.reverse/step-reverse.c (callee): Merge statements. + +2020-07-21 Tom de Vries + + * gdb.fortran/info-modules.exp (info module variables): Allow missing + line numbers for some variables. + +2020-07-21 Tom de Vries + + * gdb.opt/inline-locals.c (init_array): New func. + (func1): Use init_array. + * gdb.opt/inline-locals.exp: Update pattern. + +2020-07-21 Tom de Vries + + * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env + vars. Fix PATH and DUPLICATE errors. Cleanup whitespace. + +2020-07-20 Ludovic Courtès + + * gdb.guile/source2.scm: Add #f first argument to 'format'. + * gdb.guile/types-module.exp: Remove "ERROR:" from + regexps since Guile 3.0 no longer prints that. + +2020-07-20 Ludovic Courtès + + * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax + error regexp to match on Guile 2.2. + +2020-07-20 Gary Benson + + * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling + with clang. + +2020-07-20 Tom de Vries + + * gdb.threads/omp-par-scope.c (lock, lock2): New variable. + (omp_set_lock_in_order): New function. + (single_scope, multi_scope, nested_func, nested_parallel): Use + omp_set_lock_in_order and omp_unset_lock. + (main): Init and destroy lock and lock2. + +2020-07-20 Tom de Vries + + * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type. + +2020-07-20 Tom de Vries + + * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails. + +2020-07-17 Tom de Vries + + * gdb.base/valgrind-infcall-2.c: New test. + * gdb.base/valgrind-infcall-2.exp: New file. + * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup. + +2020-07-17 Tom de Vries + + * gdb.dlang/circular.c (found): Use found_label as label name. + * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name. + * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name. + * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range. + * gdb.dwarf2/ada-linkage-name.exp: Same. + * gdb.dwarf2/arr-subrange.exp: Same. + * gdb.dwarf2/atomic-type.exp: Same. + * gdb.dwarf2/comp-unit-lang.exp: Same. + * gdb.dwarf2/cpp-linkage-name.exp: Same. + * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same. + * gdb.dwarf2/dw2-lexical-block-bare.exp: Same. + * gdb.dwarf2/dw2-regno-invalid.exp: Same. + * gdb.dwarf2/implptr-64bit.exp: Same. + * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same. + * gdb.dwarf2/imported-unit-runto-main.exp: Same. + * gdb.dwarf2/imported-unit.exp: Same. + * gdb.dwarf2/main-subprogram.exp: Same. + * gdb.dwarf2/missing-type-name.exp: Same. + * gdb.dwarf2/nonvar-access.exp: Same. + * gdb.dwarf2/struct-with-sig.exp: Same. + * gdb.dwarf2/typedef-void-finish.exp: Same. + * gdb.dwarf2/void-type.exp: Same. + +2020-07-17 Tom de Vries + + * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop + src parameter. + * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls. + * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same. + * gdb.dwarf2/dw2-ifort-parameter.exp: Same. + * gdb.dwarf2/dw2-opt-structptr.exp: Same. + * gdb.dwarf2/dwz.exp: Same. + * gdb.dwarf2/implptr-optimized-out.exp: Same. + * gdb.dwarf2/implref-array.exp: Same. + * gdb.dwarf2/implref-const.exp: Same. + * gdb.dwarf2/implref-global.exp: Same. + * gdb.dwarf2/implref-struct.exp: Same. + * gdb.dwarf2/info-locals-optimized-out.exp: Same. + * gdb.dwarf2/opaque-type-lookup.exp: Same. + * gdb.dwarf2/var-access.exp: Same. + * gdb.dwarf2/varval.exp: Same. + * gdb.trace/entry-values.exp: Same. + +2020-07-17 Tom de Vries + + * lib/dwarf.exp (Dwarf::extern): Remove. + * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern. + * gdb.dlang/circular.exp: Same. + * gdb.dwarf2/comp-unit-lang.exp: Same. + * gdb.dwarf2/dw2-ifort-parameter.exp: Same. + * gdb.dwarf2/dw2-symtab-includes.exp: Same. + * gdb.dwarf2/dwz.exp: Same. + * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same. + * gdb.dwarf2/imported-unit-runto-main.exp: Same. + * gdb.dwarf2/imported-unit.exp: Same. + * gdb.dwarf2/opaque-type-lookup.exp: Same. + +2020-07-16 Sandra Loosemore + + * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host. + Use double quotes instead of single quotes. + +2020-07-16 Caroline Tice + + * gdb.dwarf2/dw5-rnglist-test.cc: New file. + * gdb.dwarf2/dw5-rnglist-test.exp: New file. + +2020-07-16 Tom de Vries + + * lib/dwarf.exp (program): Initialize _line. + (DW_LNE_end_sequence): Reinitialize _line. + (DW_LNS_advance_line): Update _line. + (line): New proc. + * gdb.dwarf2/dw2-inline-many-frames.exp: Use line. + * gdb.dwarf2/dw2-inline-small-func.exp: Same. + * gdb.dwarf2/dw2-inline-stepping.exp: Same. + * gdb.dwarf2/dw2-is-stmt-2.exp: Same. + * gdb.dwarf2/dw2-is-stmt.exp: Same. + * gdb.dwarf2/dw2-ranges-func.exp: Same. + +2020-07-15 Andrew Burgess + + * gdb.fortran/ptype-on-functions.exp: Make the result pattern more + generic. + +2020-07-15 Tom de Vries + + * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if + is_amd64_regs_target. + +2020-07-15 Andrew Burgess + + * gdb.fortran/ptype-on-functions.exp: Add more tests. + * gdb.fortran/ptype-on-functions.f90: Likewise. + +2020-07-14 Simon Marchi + + * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid + values in documentation for addr_size to 4 and 8. + +2020-07-14 Andrew Burgess + + * gdb.arch/amd64-osabi.exp: Update. + * gdb.arch/arm-disassembler-options.exp: Update. + * gdb.arch/powerpc-disassembler-options.exp: Update. + * gdb.arch/ppc64-symtab-cordic.exp: Update. + * gdb.arch/s390-disassembler-options.exp: Update. + * gdb.base/all-architectures.exp.tcl: Update. + * gdb.base/attach-pie-noexec.exp: Update. + * gdb.base/catch-syscall.exp: Update. + * gdb.xml/tdesc-arch.exp: Update. + +2020-07-14 Tom de Vries + + * gdb.threads/clone-new-thread-event.c (gettid): Rename to ... + (local_gettid): ... this. + (fn): Update. + +2020-07-13 Sandra Loosemore + + * gdb.base/info_sources.exp: Skip directory match tests on + remote hosts. + +2020-07-13 Gary Benson + + * gdb.base/savedregs.exp (caller): Use parentheses to + make expected expression evaluation ordering explicit. + +2020-07-13 Gary Benson + + * gdb.arch/i386-sse.c (have_sse) : Make unsigned. + +2020-07-13 Gary Benson + + * gdb.base/bigcore.c (main): Use a volatile pointer when + attempting to trigger a SIGSEGV. + * gdb.base/gcore-relro-pie.c (break_here): Likewise. + * gdb.base/gcore-tls-pie.c (break_here): Likewise. + * gdb.base/savedregs.c (thrower): Likewise. + * gdb.mi/mi-syn-frame.c (bar): Likewise. + +2020-07-13 Gary Benson + + * gdb.base/vla-datatypes.c (vla_factory): Factor out sections + defining and using VLA structure fields into... + * gdb.base/vla-struct-fields.c: New file. + * gdb.base/vla-datatypes.exp: Factor out VLA structure field + tests into... + * gdb.base/vla-struct-fields.exp: New file. + +2020-07-13 Tom de Vries + + * lib/gdb.exp (have_fuse_ld_gold): New caching proc. + * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold. + * gdb.base/gold-gdb-index.exp: Same. + * gdb.base/morestack.exp: Same. + +2020-07-11 Daniel Xu + + PR rust/26121 + * gdb.rust/modules.rs: Prevent linker from discarding test + symbol. + +2020-07-10 Pedro Alves + + PR gdb/26199 + * gdb.multi/multi-target.c (exit_thread): New. + (thread_start): Break loop if EXIT_THREAD. + * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc. + (top level) Call test_no_resumed. + +2020-07-08 Tom Tromey + + * gdb.ada/catch_ex/foo.adb: Pass string to raise. + * gdb.ada/catch_ex.exp: Examine catchpoint text. + +2020-07-06 Andrew Burgess + + PR python/22748 + * gdb.opt/inline-frame-tailcall.c: New file. + * gdb.opt/inline-frame-tailcall.exp: New file. + * gdb.python/py-unwind-inline.c: New file. + * gdb.python/py-unwind-inline.exp: New file. + * gdb.python/py-unwind-inline.py: New file. + +2020-07-06 Andrew Burgess + + * gdb.python/py-arch-reg-groups.exp: New file. + +2020-07-06 Andrew Burgess + + * gdb.python/py-arch-reg-names.exp: New file. + +2020-07-06 Andrew Burgess + + * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for + gdb.PendingFrame.architecture method. + +2020-07-06 Tom de Vries + + * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order. + +2020-07-03 Pedro Alves + + * gdb.base/structs2.c (main): Adjust second parem_reg call to + explicitly write negative numbers. + * gdb.base/structs2.exp: Adjust expected output. + +2020-07-03 Pedro Alves + + * gdb.base/charset.c (init_string): Change all char parameters to + unsigned char parameters. + +2020-07-03 Pedro Alves + + * gdb.base/call-sc.exp (start_scalars_test): Use + prepare_for_testing and don't try compiling with -DNO_PROTOTYPES. + * gdb.base/overlays.c: Remove references to PARAMS. + * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references. + * gdb.base/reread.exp: Don't set 'prototypes' global. + * gdb.base/structs.exp (start_structs_test): Use + prepare_for_testing and don't try compiling with -DNO_PROTOTYPES. + * gdb.base/structs2.exp: Don't set 'prototypes' global. Use + prepare_for_testing and don't try compiling with -DNO_PROTOTYPES. + Don't issue "set width 0". Remove gdb_stop_suppressing_tests + call. + * gdb.base/varargs.exp: Don't set 'prototypes' global. + +2020-07-03 Pedro Alves + + * gdb.base/m32rovly.c: Delete. + * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__. + +2020-06-30 Philippe Waroquiers + + * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead + of gdb_py_test_multiple. + * gdb.python/py-cmd.exp: Likewise. + * gdb.python/py-events.exp: Likewise. + * gdb.python/py-function.exp: Likewise. + * gdb.python/py-inferior.exp: Likewise. + * gdb.python/py-infthread.exp: Likewise. + * gdb.python/py-linetable.exp: Likewise. + * gdb.python/py-parameter.exp: Likewise. + * gdb.python/py-value.exp: Likewise. + +2020-06-30 Tom de Vries + + PR testsuite/26175 + * lib/future.exp (gdb_default_target_compile): Detect and handle + early_flags. + +2020-06-29 Simon Marchi + + * boards/simavr.exp (gdb_load): Catch errors when closing + previous connection. Close connection, wait for process and + unset simavr_spawn_id on failure. + +2020-06-29 Tom de Vries + + * lib/gdb.exp (unknown): Make test-case unresolved. + +2020-06-29 Tom de Vries + + PR gdb/25475 + * gdb.server/solib-list.exp: Verify that the symbol reload + confirmation question is asked. + +2020-06-26 Philippe Waroquiers + + * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp, + have a input seq nr in each pass message. + * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp. + * lib/gdb-python.exp (gdb_py_test_multiple): Remove. + * gdb.python/python.exp: Make test names unique, + use gdb_test_multiline instead of gdb_py_test_multiple, + use $gdb_test_name. + * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name + +2020-06-26 Nick Alcock + + * configure.ac: Add --enable-libctf. + * aclocal.m4: sinclude ../config/enable.m4. + * Makefile.in (site.exp): Add enable_libctf to site.exp. + * lib/gdb.exp (skip_ctf_tests): Use it. + * gdb.base/ctf-constvars.exp: Error message tweak. + * gdb.base/ctf-ptype.exp: Likewise. + * configure: Regenerate. + +2020-06-26 Gary Benson + + * gdb.cp/try_catch.cc: Include string.h. + (main): Replace comparison against string literal with + strcmp, avoiding build failure with -Wstring-compare. + Add "marker test-complete". + * gdb.cp/try_catch.exp: Run the test to the above marker, + then verify that the value of "test" is still true. + +2020-06-25 Andrew Burgess + + * gdb.arch/riscv-tdesc-regs.exp: New test cases. + +2020-06-25 Andrew Burgess + + * gdb.arch/riscv-tdesc-regs.exp: Extend test case. + +2020-06-25 Andrew Burgess + + * gdb.arch/riscv-tdesc-loading-01.xml: New file. + * gdb.arch/riscv-tdesc-loading-02.xml: New file. + * gdb.arch/riscv-tdesc-loading-03.xml: New file. + * gdb.arch/riscv-tdesc-loading-04.xml: New file. + * gdb.arch/riscv-tdesc-loading.exp: New file. + +2020-06-25 Andrew Burgess + + * gdb.arch/riscv-tdesc-regs.exp: Extend test case. + +2020-06-25 Andrew Burgess + + * gdb.arch/riscv-tdesc-regs-32.xml: New file. + * gdb.arch/riscv-tdesc-regs-64.xml: New file. + * gdb.arch/riscv-tdesc-regs.c: New file. + * gdb.arch/riscv-tdesc-regs.exp: New file. + +2020-06-24 Pedro Alves + + * gdb.arch/amd64-entry-value-paramref.exp: Use + prepare_for_testing_full and don't pass "c++" for the .S file + build spec. + * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with + $options, since it's an assembly file. Remove -Wno-deprecated. + * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when + compiling C++ programs. + +2020-06-24 Pedro Alves + + * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with + Clang, add "-Wno-unknown-warning-option" to the options. + +2020-06-23 Andrew Burgess + + * gdb.xml/tdesc-reload.c: New file. + * gdb.xml/tdesc-reload.exp: New file. + * gdb.xml/maint-xml-dump-01.xml: New file. + * gdb.xml/maint-xml-dump-02.xml: New file. + * gdb.xml/maint-xml-dump.exp: New file. + +2020-06-23 Sandra Loosemore + + * lib/completion-support.exp (test_gdb_completion_offers_commands): + Adjust for omitted commands when TUI is disabled. + +2020-06-23 Gary Benson + Pedro Alves + + * gdb.cp/namespace.cc: Improve -Wunused-value fix. + * gdb.cp/nsimport.cc: Likewise. + * gdb.cp/nsnested.cc: Likewise. + * gdb.cp/nsnoimports.cc: Likewise. + * gdb.cp/nsusing.cc: Likewise. + * gdb.cp/smartp.cc: Likewise. + * gdb.python/py-pp-integral.c: Likewise. + * gdb.python/py-pp-re-notag.c: Likewise. + +2020-06-23 Gary Benson + + * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value. + * gdb.cp/nsimport.cc: Likewise. + * gdb.cp/nsnested.cc: Likewise. + * gdb.cp/nsnoimports.cc: Likewise. + * gdb.cp/nsusing.cc: Likewise. + * gdb.cp/smartp.cc: Likewise. + * gdb.python/py-pp-integral.c: Likewise. + * gdb.python/py-pp-re-notag.c: Likewise. + +2020-06-22 Philippe Waroquiers + + * gdb.base/default-args.exp: New test. + * gdb.base/default-args.c: New file. + * gdb.base/alias.exp: Update expected error msg for alias foo=bar. + * gdb.base/default.exp: Update to new help text. + * gdb.base/help.exp: Likewise. + * gdb.base/page.exp: Likewise. + * gdb.base/style.exp: Likewise. + * gdb.guile/guile.exp: Likewise. + * gdb.python/python.exp: Likewise. + +2020-06-22 Sandra Loosemore + + * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on + remote host. Fix search path syntax on Windows host. + +2020-06-21 Philippe Waroquiers + + * gdb.base/attach.exp: Test priority of 'exec-file' changed + over 'exec-file-mismatch'. + * gdb.base/attach.c: Mark should_exit volatile. + * gdb.base/attach2.c: Likewise. Add a comment explaining + why the sleep cannot be big. + * gdb.base/attach3.c: New file. + +2020-06-20 Sandra Loosemore + + * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory + prefix optional. + +2020-06-20 Sandra Loosemore + + * gdb.base/list-missing-source.exp: Correct $srcfile manipulation + for remote host. + +2020-06-19 Sandra Loosemore + Hafiz Abid Qadeer + + * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of + file sent to remote host. + (top level): Allow int32_t as type of 32-bit register. + +2020-06-19 Tom de Vries + + * lib/gdb.exp (gdb_note): New proc. + * lib/future.exp (gdb_default_target_compile_1): Factor out of ... + (gdb_default_target_compile): ... here. Only call + gdb_default_target_compile_1 if use_gdb_compile() is set. + (use_gdb_compile): Change to array. + (toplevel): Update sets of use_gdb_compile to specify language. + Warn about default_target_compile override. Store dejagnu's version + of default_target_compile in dejagnu_default_target_compile. + +2020-06-18 Tom de Vries + + * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ... + (default_gdb_init): ... here. + +2020-06-17 Sandra Loosemore + + Fix TUI support checks in gdb.tui tests. + + * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't + just say UNSUPPORTED. + * gdb.tui/corefile-run.exp: Likewise. + * gdb.tui/empty.exp: Likewise. + * gdb.tui/list-before.exp: Likewise. + * gdb.tui/list.exp: Likewise. + * gdb.tui/main.exp: Likewise. + * gdb.tui/regs.exp: Likewise. + * gdb.tui/resize.exp: Likewise. + * gdb.tui/tui-layout-asm-short-prog.exp: Likewise. + * gdb.tui/tui-layout-asm.exp: Likewise. + * gdb.tui/tui-missing-src.exp: Likewise. + * gdb.tui/winheight.exp: Likewise. + * gdb.tui/new-layout.exp: Likewise. Also move check earlier. + +2020-06-17 Sandra Loosemore + + Fix TCL error in gdb.python/py-format-string.exp. + + * gdb.python/py-format-string.exp: Move test for python support + earlier, out of function body. + +2020-06-15 Simon Marchi + + * gdb.base/index-cache-load-twice.c: New. + * gdb.base/index-cache-load-twice.exp: New. + +2020-06-17 Keith Seitz + + * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS + when executing "gdb --configuration". + +2020-06-17 Tom de Vries + + * lib/gdb.exp (gdb_tcl_unknown): New proc. + (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override + conditional on presence of gdb_tcl_unknown. + (gdb_finish): Make override undo conditional on presence of + gdb_tcl_unknown. + +2020-06-16 Tom Tromey + + * gdb.python/tui-window.py (failwin): New function. Register it + as a TUI window type. + * gdb.python/tui-window.exp: Create new "fail" layout. Test it. + +2020-06-16 Gary Benson + + * gdb.python/py-nested-maps.c (create_map): Add missing return + value. + (create_map_map): Likewise. + +2020-06-15 Tankut Baris Aktemur + + * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename + variable. + * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"), + and use the already-defined 'options' variable. + +2020-06-12 Andrew Burgess + Tom de Vries + + * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global. + (gdb_persistent_global, gdb_persistent_global_no_decl): New proc. + (gdb_setup_known_globals): New proc. + (gdb_cleanup_globals): New proc. + * lib/gdb.exp (load_lib): New override proc. + (gdb_stdin_log_init): Set var in_file as persistent global. + * lib/pascal.exp (gdb_stdin_log_init): Set vars + pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and + fpc_compiler as persistent global. + +2020-06-12 Tom de Vries + + * lib/tuiterm.exp (spawn): Rename to ... + (tui_spawn): ... this. + (toplevel): Move rename of spawn ... + (gdb_init_tuiterm): ... here. New proc. + (gdb_finish_tuiterm): New proc. + * lib/gdb.exp (gdb_finish_hooks): New global var. + (gdb_finish): Handle gdb_finish_hooks. + (tuiterm_env): New proc. + * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with + tuiterm_env. + * gdb.tui/basic.exp: Same. + * gdb.tui/corefile-run.exp: Same. + * gdb.tui/empty.exp: Same. + * gdb.tui/list-before.exp: Same. + * gdb.tui/list.exp: Same. + * gdb.tui/main.exp: Same. + * gdb.tui/new-layout.exp: Same. + * gdb.tui/regs.exp: Same. + * gdb.tui/resize.exp: Same. + * gdb.tui/tui-layout-asm-short-prog.exp: Same. + * gdb.tui/tui-layout-asm.exp: Same. + * gdb.tui/tui-missing-src.exp: Same. + * gdb.tui/winheight.exp: Same. + +2020-06-12 Tom de Vries + + PR testsuite/26110 + * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown. + (gdb_finish): Reinstall dejagnu's override of ::unknown. + +2020-06-11 Tom Tromey + + PR gdb/18318: + * gdb.base/printcmds.exp (test_float_accepted): Add more hex + floating point tests. + +2020-06-11 Keith Seitz + + PR gdb/21356 + * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct + vla_struct. + Add new struct vla_typedef and union vla_typedef_union and + corresponding instantiation objects. + Initialize new objects. + * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object + and vla_typedef_union_object. + Fixup type for vla_struct_object. + +2020-06-11 Tom de Vries + + * lib/gdb.exp (with_override): New proc, factored out of ... + * gdb.base/dbx.exp: ... here. Use with_override and save_vars. + +2020-06-10 Tom de Vries + + * gdb.ada/ptype_union.exp: Remove PR24713 workaround. + +2020-06-09 Simon Marchi + + * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix + parameter, update callers. + +2020-06-04 Simon Marchi + + * gdb.dwarf2/share-psymtabs-bt.exp: New file. + * gdb.dwarf2/share-psymtabs-bt.c: New file. + * gdb.dwarf2/share-psymtabs-bt-2.c: New file. + +2020-06-04 Tom de Vries + + * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages. + +2020-06-04 Tom de Vries + + * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by + exp_continue. + +2020-06-04 Tom de Vries + + * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail. + +2020-06-03 Tom de Vries + + PR symtab/26046 + * gdb.cp/breakpoint-locs-2.cc: New test. + * gdb.cp/breakpoint-locs.cc: New test. + * gdb.cp/breakpoint-locs.exp: New file. + * gdb.cp/breakpoint-locs.h: New test. + +2020-06-03 Tom de Vries + + PR testsuite/25609 + * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on + value of global verbose. + * gdb.base/jit-elf.exp: Same. + * gdb.base/jit-reader.exp: Same. + +2020-06-02 Tom de Vries + + * gdb.dwarf2/multidictionary.exp: Don't use + gdb_spawn_with_cmdline_opts. + +2020-06-01 Andrew Burgess + + * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the + use_header case. + * gdb.dwarf2/dw2-inline-header-1.exp: New file. + * gdb.dwarf2/dw2-inline-header-2.exp: New file. + * gdb.dwarf2/dw2-inline-header-3.exp: New file. + * gdb.dwarf2/dw2-inline-header-lbls.c: New file. + * gdb.dwarf2/dw2-inline-header.c: New file. + * gdb.dwarf2/dw2-inline-header.h: New file. + +2020-05-30 Pedro Alves + + * gdb.linespec/cp-replace-typedefs-ns-template.cc: New. + * gdb.linespec/cp-replace-typedefs-ns-template.exp: New. + +2020-05-29 Gary Benson + + * gdb.compile/compile-cplus.exp (additional_flags): Also + set when building with clang. + (additional_flags, srcfilesoptions): Pass -Wno-deprecated + when building with clang. + +2020-05-29 Gary Benson + + * gdb.arch/i386-avx.exp (additional_flags): Also set when + building with clang. + * gdb.arch/i386-sse.exp (additional_flags): Likewise. + +2020-05-29 Gary Benson + + * gdb.cp/koenig.exp (prepare_for_testing): Add + additional_flags=-Wno-unused-comparison. + * gdb.cp/operator.exp (prepare_for_testing): Likewise. + +2020-05-28 Gary Benson + + * gdb.base/sigaltstack.c (catcher): Add default case to switch + statement. + +2020-05-28 Gary Benson + + * gdb.cp/classes.exp (prepare_for_testing): Add + additional_flags=-Wno-deprecated-register. + * gdb.cp/inherit.exp (prepare_for_testing): Likewise. + * gdb.cp/misc.exp: Likewise. + +2020-05-28 Gary Benson + + * gdb.linespec/cpls-ops.cc (dummy): New static global. + (test_op_new::operator new): Add return statement. + (test_op_new_array::operator new[]): Likewise. + +2020-05-27 Pedro Alves + + * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used + check. Use test_gdb_complete_unique instead of + test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use + test_gdb_complete_multiple instead of + test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple. + +2020-05-27 Luis Machado + + * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names. + * gdb.arch/aarch64-tagged-pointer.exp: Likewise. + * gdb.arch/arm-disassembler-options.exp: Likewise. + * gdb.arch/arm-disp-step.exp: Likewise. + * gdb.arch/thumb-prologue.exp: Likewise. + * gdb.base/async.exp: Likewise. + * gdb.base/auxv.exp: Likewise. + * gdb.base/complex-parts.exp: Likewise. + * gdb.base/ena-dis-br.exp: Likewise. + * gdb.base/foll-exec.exp: Likewise. + * gdb.base/permissions.exp: Likewise. + * gdb.base/relocate.exp: Likewise. + * gdb.base/return2.exp: Likewise. + * gdb.base/sigbpt.exp: Likewise. + * gdb.base/siginfo-obj.exp: Likewise. + * gdb.cp/converts.exp: Likewise. + * gdb.cp/exceptprint.exp: Likewise. + * gdb.cp/inherit.exp: Likewise. + * gdb.cp/nsnoimports.exp: Likewise. + * gdb.cp/virtbase2.exp: Likewise. + * gdb.mi/mi-var-cmd.exp: Likewise. + * gdb.mi/var-cmd.c: Likewise. + +2020-05-26 Tom Tromey + + * gdb.ada/arr_acc_idx_w_gap.exp: Add tests. + +2020-05-26 Tom Tromey + + * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests. + * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New + type. + * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New + variable. + +2020-05-26 Christian Biesinger + + * Makefile.in: Use = instead of == for the test command + for portability. + +2020-05-26 Tom de Vries + + * gdb.base/gold-gdb-index-2.c: New test. + * gdb.base/gold-gdb-index.c: New test. + * gdb.base/gold-gdb-index.exp: New file. + * gdb.base/gold-gdb-index.h: New test. + +2020-05-25 Tom de Vries + + * boards/gold-gdb-index.exp: New file. + +2020-05-25 Simon Marchi + + * boards/simavr.exp: New file. + +2020-05-25 Simon Marchi + + * lib/gdb.exp (gdb_run_cmd): Return success or failure. + * gdb.base/inferior-args.exp: New file. + * gdb.base/inferior-args.c: New file. + +2020-05-25 Simon Marchi + + * lib/gdb.exp (gdb_run_cmd): Change argument from args to + inferior_args. Pass it to gdb_reload. + (gdb_start_cmd, gdb_starti_cmd): Change argument from args to + inferior_args. + (gdb_reload): Add inferior_args argument. + * config/gdbserver.exp (gdb_reload): Add inferior_args argument, + pass it to gdbserver_run. + * boards/native-gdbserver.exp: Do not set noargs. + * boards/native-extended-gdbserver.exp (gdb_reload): Add + inferior_args argument. + * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise. + * gdb.base/a2-run.exp: Check for use_gdb_stub. + * gdb.base/args.exp: Likewise. + +2020-05-25 Tom de Vries + + * lib/gdb.exp (exec_is_pie): Add comment. + +2020-05-25 Tom de Vries + + * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f + instead of $binfile in the untested message. + +2020-05-25 Tom de Vries + + PR testsuite/26031 + * lib/gdb.exp (exec_is_pie): Test readelf -h output. + +2020-05-25 Tom de Vries + + * boards/gold.exp: New file. + +2020-05-23 Tom Tromey + + * gdb.base/style.exp: Remove completion styling test. + * lib/gdb-utils.exp (style): Remove completion styles. + +2020-05-23 Tom Tromey + + * gdb.base/style.exp: Add completion styling test. + * lib/gdb-utils.exp (style): Add completion styles. + +2020-05-22 Andrew Burgess + + * gdb.base/annota1.exp: Update expected results. + * gdb.cp/annota2.exp: Update expected results, remove duplicate + test name. + * gdb.cp/annota3.exp: Update expected results. + +2020-05-20 Simon Marchi + + PR gdb/26016 + * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val + against MAP_FAILED. + * gdb.base/coremaker.c (mmapdata): Likewise. + * gdb.base/jit-reader-host.c (main): Likewise. + * gdb.base/sym-file-loader.c (load): Likewise. + (load_shlib): Likewise. + +2020-05-20 Tom Tromey + + * gdb.ada/array_char_idx.exp: Recognize initialized array. + +2020-05-20 Tom de Vries + + PR symtab/25833 + * gdb.base/with-mf-inc.c: New test. + * gdb.base/with-mf-main.c: New test. + * gdb.base/with-mf.exp: New file. + +2020-05-19 Tom Tromey + + * gdb.rust/simple.exp: Restore missing test result. + +2020-05-19 Tom de Vries + + * gdb.base/gdb-caching-proc.exp: Fix typo. + +2020-05-19 Tom Tromey + + * gdb.rust/simple.exp: Add some test descriptions. + (test_one_slice): Use with_test_prefix. + +2020-05-18 Tom de Vries + + * gdb.base/gdb-caching-proc.exp: Use with_test_prefix. + +2020-05-17 Pedro Alves + + PR gdb/25741 + * gdb.base/hw-sw-break-same-address.exp: New file. + +2020-05-16 Pedro Alves + + * gdb.multi/multi-re-run.exp (test_re_run): Switch + LAST_LOADED_FILE accordingly. + +2020-05-15 Philippe Waroquiers + + * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases. + +2020-05-15 Philippe Waroquiers + + * gdb.base/help.exp: Test apropos and help for commands + having aliases. Fixed comments not starting with an + upper-case letter or not finishing with a dot. + +2020-05-15 Philippe Waroquiers + + * gdb.base/alias.exp: Update help output check. + +2020-05-15 Philippe Waroquiers + + * gdb.base/default.exp: Update output following fixes. + +2020-05-15 Philippe Waroquiers + + * gdb.base/alias.exp: Test aliases starting with a prefix of + another alias. + +2020-05-15 Gary Benson + + * gdb.base/info-os.c (main): Add return statement. + * gdb.base/info_minsym.c (minsym_fun): Likewise. + * gdb.base/large-frame-2.c (func): Likewise. + * gdb.base/pr10179-a.c (foo1, bar1): Likewise. + * gdb.base/pr10179-b.c (foo2): Likewise. + * gdb.base/valgrind-disp-step.c (foo): Likewise. + * gdb.base/watch-cond.c (func): Likewise. + * gdb.multi/goodbye.c (verylongfun): Likewise. + * gdb.multi/hello.c (commonfun): Likewise. + * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise. + * gdb.threads/fork-plus-threads.c (thread_func): Likewise. + * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks): + Likewise. + * gdb.threads/hand-call-new-thread.c (foo): Likewise. + * gdb.threads/interrupt-while-step-over.c (child_function): + Likewise. + * gdb.trace/actions-changed.c (end): Likewise. + +2020-05-15 Gary Benson + + * gdb.opencl/callfuncs.exp: Report when test skipped. + * gdb.opencl/convs_casts.exp: Likewise. + * gdb.opencl/datatypes.exp: Likewise. + * gdb.opencl/operators.exp: Likewise. + * gdb.opencl/vec_comps.exp: Likewise. + +2020-05-15 Tom de Vries + + * gdb.base/align.exp.in: Rename to ... + * gdb.base/align.exp.tcl: ... this. + * gdb.base/align-c++.exp: Update. + * gdb.base/align-c.exp: Update. + * gdb.base/all-architectures.exp.in: Rename to ... + * gdb.base/all-architectures.exp: ... this. + * gdb.base/all-architectures-0.exp: Update. + * gdb.base/all-architectures-1.exp: Update. + * gdb.base/all-architectures-2.exp: Update. + * gdb.base/all-architectures-3.exp: Update. + * gdb.base/all-architectures-4.exp: Update. + * gdb.base/all-architectures-5.exp: Update. + * gdb.base/all-architectures-6.exp: Update. + * gdb.base/all-architectures-7.exp: Update. + * gdb.base/infcall-nested-structs.exp.in: Rename to ... + * gdb.base/infcall-nested-structs.exp.tcl: ... this. + * gdb.base/infcall-nested-structs-c++.exp: Update. + * gdb.base/infcall-nested-structs-c.exp: Update. + * gdb.base/info-types.exp.in: Rename to ... + * gdb.base/info-types.exp.tcl: ... this. + * gdb.base/info-types-c++.exp: Update. + * gdb.base/info-types-c.exp: Update. + * gdb.base/max-depth.exp.in: Rename to ... + * gdb.base/max-depth.exp.tcl: ... this. + * gdb.base/max-depth-c++.exp: Update. + * gdb.base/max-depth-c.exp: Update. + * gdb.cp/cpexprs.exp.in: Rename to ... + * gdb.cp/cpexprs.exp.tcl: ... this. + * gdb.cp/cpexprs-debug-types.exp: Update. + * gdb.cp/cpexprs.exp: Update. + * gdb.cp/infcall-nodebug.exp.in: Rename to ... + * gdb.cp/infcall-nodebug.exp.tcl: ... this. + * gdb.cp/infcall-nodebug-c++-d0.exp: Update. + * gdb.cp/infcall-nodebug-c++-d1.exp: Update. + * gdb.cp/infcall-nodebug-c-d0.exp: Update. + * gdb.cp/infcall-nodebug-c-d1.exp: Update. + * gdb.dwarf2/clang-debug-names.exp.in: Rename to ... + * gdb.dwarf2/clang-debug-names.exp.tcl: ... this. + * gdb.dwarf2/clang-debug-names-2.exp: Update. + * gdb.dwarf2/clang-debug-names.exp: Update. + +2020-05-15 Andrew Burgess + + * lib/check-test-names.exp: Remove code that prevents this file + loading when tests are run in parallel. + +2020-05-15 Pedro Alves + + * gdb.multi/multi-kill.exp (start_inferior): Remove + 'testpid' parameter. Refer to namespace variable directly. + (testpid): Declare as namespace variable. + +2020-05-15 Pedro Alves + + * gdb.multi/multi-kill.exp: Wrap in namespace. + (start_inferior): Add TESTPID parameter. Use it instead of the + testpid global. + (top level): Define empty TESTPID array, and pass it down to + start_inferior. + +2020-05-14 Tom de Vries + + * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior + output. + +2020-05-14 Tom de Vries + + * gdb.base/align.exp: Split into ... + * gdb.base/align.exp.in: ... + * gdb.base/align-c++.exp: ... + * gdb.base/align-c.exp: ... these. + * gdb.base/infcall-nested-structs.exp: Split into ... + * gdb.base/infcall-nested-structs.exp.in: ... + * gdb.base/infcall-nested-structs-c++.exp: ... + * gdb.base/infcall-nested-structs-c.exp: ... these. + * gdb.base/info-types.exp: Split into ... + * gdb.base/info-types.exp.in: ... + * gdb.base/info-types-c++.exp: ... + * gdb.base/info-types-c.exp: ... these. + * gdb.base/max-depth.exp: Split into ... + * gdb.base/max-depth.exp.in: ... + * gdb.base/max-depth-c++.exp: ... + * gdb.base/max-depth-c.exp: ... these. + * gdb.cp/infcall-nodebug.exp: Split into ... + * gdb.cp/infcall-nodebug.exp.in: ... + * gdb.cp/infcall-nodebug-c++-d0.exp: ... + * gdb.cp/infcall-nodebug-c++-d1.exp: ... + * gdb.cp/infcall-nodebug-c-d0.exp: ... + * gdb.cp/infcall-nodebug-c-d1.exp: ... these. + +2020-05-14 Tankut Baris Aktemur + Pedro Alves + + * gdb.multi/multi-exit.c: New file. + * gdb.multi/multi-exit.exp: New file. + * gdb.multi/multi-kill.c: New file. + * gdb.multi/multi-kill.exp: New file. + +2020-05-14 Tankut Baris Aktemur + + * gdb.base/annota1.exp: Update the expected output. + * gdb.cp/annota2.exp: Ditto. + +2020-05-12 Andrew Burgess + + * lib/check-test-names.exp: Disable when testing is being run in + parallel. + +2020-05-12 Tom de Vries + + * gdb.base/jit-elf.exp: Fix string concat. + +2020-05-12 Tom de Vries + + * lib/jit-elf-helpers.exp: Don't use undefined variables in untested + messages. + +2020-05-12 Tom de Vries + + * gdb.multi/multi-term-settings.exp: Use with_test_prefix. + +2020-05-12 Tom de Vries + + * gdb.ada/catch_ex.exp: Use with_test_prefix. + * gdb.ada/mi_catch_ex.exp: Same. + * gdb.ada/mi_catch_ex_hand.exp: Same. + +2020-05-12 Tom de Vries + + * gdb.fortran/complex.exp: Use with_test_prefix. + +2020-05-12 Tom de Vries + + * gdb.trace/passcount.exp: Fix test-names. + +2020-05-12 Tom de Vries + + * gdb.pascal/gdb11492.exp: Use with_test_prefix. + +2020-05-12 Tom de Vries + + * gdb.gdb/complaints.exp: Use with_test_prefix. + * gdb.xml/tdesc-regs.exp: Same. + * gdb.opt/inline-locals.exp: Fix test name. + +2020-05-12 Tom de Vries + + * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix. + * gdb.dwarf2/dw2-bad-parameter-type.exp: Same. + * gdb.dwarf2/implref-struct.exp: Same. + * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type. + * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test. + +2020-05-11 Simon Marchi + + * gdb.base/jit-so.exp (one_jit_test): Change test name. + +2020-05-11 Andrew Burgess + + * lib/check-test-names.exp (all_test_names): New module variable. + (counts): Add 'duplicates' field. + (_check_duplicates): New procedure. + (check): Also check for duplicates. + (do_log_summary): Print duplicates count. + (do_reset_vars): Reset counter for duplicate test names, and + discard all know test names. + +2020-05-11 Andrew Burgess + + * lib/gdb.exp: Include check-test-names.exp library. + * lib/check-test-names.exp: New file. + +2020-05-11 Tom de Vries + + * gdb.ada/packed_tagged.exp: Change kfail into xfail. + +2020-05-11 Keith Seitz + + * gdb.ada/attr_ref_and_charlit.exp: Fix typo. + +2020-05-11 Tom de Vries + + * gdb.cp/cpexprs.exp: Move everything except flags setting ... + * gdb.cp/cpexprs.exp.in: .. here. + * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of + cpexprs.exp. + +2020-05-11 Keith Seitz + + * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses + test names. + * gdb.ada/arrayptr.exp: Likewise. + * gdb.ada/assign_arr.exp: Likewise. + * gdb.ada/attr_ref_and_charlit.exp: Likewise. + * gdb.ada/bp_on_var.exp: Likewise. + * gdb.ada/call_pn.exp: Likewise. + * gdb.ada/complete.exp: Likewise. + * gdb.ada/fun_overload_menu.exp: Likewise. + * gdb.ada/funcall_param.exp: Likewise. + * gdb.ada/funcall_ref.exp: Likewise. + * gdb.ada/packed_array_assign.exp: Likewise. + * gdb.ada/same_component_name.exp: Likewise. + * gdb.ada/type_coercion.exp: Likewise. + * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise. + * gdb.ada/variant_record_packed_array.exp: Likewise. + +2020-05-11 Tom de Vries + + PR symtab/25941 + * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored + out of ... + * gdb.dwarf2/clang-debug-names.exp: ... here. + * gdb.dwarf2/clang-debug-names-2.exp: New file. Include + clang-debug-names.exp.in. + * gdb.dwarf2/clang-debug-names-2-foo.c: New test. + * gdb.dwarf2/clang-debug-names-2.c: New test. + +2020-05-10 Alok Kumar Sharma + + * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_, + (fortran_runto_main): New Proc, fortran version of runto_main. + * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_ + * gdb.fortran/array-bounds.exp: Likewise. + * gdb.fortran/array-slices.exp: Likewise. + * gdb.fortran/block-data.exp: Likewise. + * gdb.fortran/charset.exp: Likewise. + * gdb.fortran/common-block.exp: Likewise. + * gdb.fortran/complex.exp: Likewise. + * gdb.fortran/derived-type-function.exp: Likewise. + * gdb.fortran/derived-type.exp: Likewise. + * gdb.fortran/info-modules.exp: Likewise. + * gdb.fortran/info-types.exp: Likewise. + * gdb.fortran/intrinsics.exp: Likewise. + * gdb.fortran/library-module.exp: Likewise. + * gdb.fortran/logical.exp: Likewise. + * gdb.fortran/max-depth.exp: Likewise. + * gdb.fortran/module.exp: Likewise. + * gdb.fortran/multi-dim.exp: Likewise. + * gdb.fortran/nested-funcs.exp: Likewise. + * gdb.fortran/print-formatted.exp: Likewise. + * gdb.fortran/print_type.exp: Likewise. + * gdb.fortran/printing-types.exp: Likewise. + * gdb.fortran/ptr-indentation.exp: Likewise. + * gdb.fortran/ptype-on-functions.exp: Likewise. + * gdb.fortran/subarray.exp: Likewise. + * gdb.fortran/vla-alloc-assoc.exp: Likewise. + * gdb.fortran/vla-datatypes.exp: Likewise. + * gdb.fortran/vla-history.exp: Likewise. + * gdb.fortran/vla-ptr-info.exp: Likewise. + * gdb.fortran/vla-ptype-sub.exp: Likewise. + * gdb.fortran/vla-ptype.exp: Likewise. + * gdb.fortran/vla-sizeof.exp: Likewise. + * gdb.fortran/vla-type.exp: Likewise. + * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise. + * gdb.fortran/vla-value-sub-finish.exp: Likewise. + * gdb.fortran/vla-value-sub.exp: Likewise. + * gdb.fortran/vla-value.exp: Likewise. + * gdb.fortran/whatis_type.exp: Likewise. + * gdb.mi/mi-var-child-f.exp: Likewise. + +2020-05-09 Tom de Vries + + * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail. + +2020-05-08 Tom de Vries + + * gdb.dwarf2/clang-debug-names.c: New test. + * gdb.dwarf2/clang-debug-names.exp: New file. + +2020-05-06 Simon Marchi + + * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file. + * gdb.arch/amd64-prologue-skip-cf-protection.c: New file. + +2020-05-06 Tom de Vries + + * gdb.reverse/consecutive-precsave.exp: Handle if instruction after + breakpoint is at a "recommended breakpoint location". + * gdb.reverse/consecutive-reverse.exp: Same. + +2020-05-06 Tom de Vries + + * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current + address. + +2020-05-06 Tom de Vries + + * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment. + +2020-05-06 Tom de Vries + + * gdb.base/store.exp (check_set, up_set): Allowing missing location + info for r. + +2020-05-06 Tom de Vries + + * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if + necessary. + +2020-05-06 Tom de Vries + + * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to + void. + +2020-05-06 Tom de Vries + + * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out + of ... + * gdb.base/async.exp: ... here. + * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a + "recommended breakpoint location". + +2020-05-06 Tom de Vries + + * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias. + +2020-05-04 Tom de Vries + + * gdb.base/async.exp: Check whether instruction addresses are a + "recommended breakpoint location". + +2020-05-03 Tom Tromey + + * gdb.base/sepdebug.exp: Remove "catch" test. + * gdb.base/break.exp: Remove "catch" test. + * gdb.base/default.exp: Update expected output. + +2020-05-02 Tom de Vries + + * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc. + * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds. + * gdb.arch/i386-mpx-map.exp: Same. + * gdb.arch/i386-mpx-sigsegv.exp: Same. + * gdb.arch/i386-mpx-simple_segv.exp: Same. + * gdb.arch/i386-mpx.exp: Same. + +2020-05-02 Tom de Vries + + * gdb.base/psym-external-decl.c (main): Add use of variable aaa. + +2020-05-01 Tom de Vries + + * gdb.ada/operator_bp.exp: Allow more than required amount of + breakpoint. + +2020-05-01 Tom de Vries + + * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning. + +2020-04-30 Hannes Domani + + PR gdb/18706 + * gdb.cp/stub-array-size.cc: New test. + * gdb.cp/stub-array-size.exp: New file. + * gdb.cp/stub-array-size.h: New test. + * gdb.cp/stub-array-size2.cc: New test. + +2020-04-30 Hannes Domani + + * gdb.python/py-format-string.exp: Adjust pretty_arrays expected + output to the new format. + +2020-04-29 Simon Marchi + + * gdb.base/break.exp: Use with_test_prefix. + +2020-04-29 Tom de Vries + + * lib/gdb.exp (debug_types): New proc. + * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232. + * gdb.python/py-symtab.exp: Same. + +2020-04-29 Hannes Domani + + PR gdb/17320 + * gdb.base/pretty-array.c: New test. + * gdb.base/pretty-array.exp: New file. + +2020-04-29 Tom de Vries + + PR symtab/25889 + * gdb.cp/cpexprs.exp: Adapt for inclusion. + * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section + and include cpexprs.exp. + +2020-04-28 Mark Williams + + PR gdb/24480 + * dw4-toplevel-types.exp: Test for top level types. + * dw4-toplevel-types.cc: Test for top level types. + +2020-04-28 Tankut Baris Aktemur + + * gdb.threads/stop-with-handle.exp: Fix typo in comment + (theads -> threads). + +2020-04-28 Tom de Vries + + * gdb.opt/inline-cmds.exp: Set KFAIL PR. + +2020-04-28 Tom de Vries + + * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*". + +2020-04-28 Tom de Vries + + * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL. + +2020-04-28 Tom de Vries + + * gdb.dwarf2/main-foo.c: New test. + * gdb.dwarf2/struct-with-sig.exp: New file. + +2020-04-25 Tom de Vries + + * boards/debug-types.exp: New file. + +2020-04-25 Andrew Burgess + + * gdb.btrace/multi-inferior.exp: Avoid paths in test names. + +2020-04-24 Tom Tromey + + PR symtab/12707: + * gdb.python/py-symbol.exp: Update expected results for + linkage_name test. + * gdb.cp/print-demangle.exp: New file. + * gdb.base/c-linkage-name.exp: Fix test. + * gdb.guile/scm-symbol.exp: Update expected results for + linkage_name test. + +2020-04-24 Tom Tromey + + * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove. + * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file. + * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF + assembler. + +2020-04-24 Tom de Vries + + * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to + C++. + +2020-04-24 Tom Tromey + + * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings + values. + * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings + values. Update test for minimal encodings. + * gdb.ada/lang_switch.exp: Update test for minimal encodings. + * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings + values. Update test for minimal encodings. + +2020-04-24 Tom Tromey + + PR python/23662: + * gdb.ada/variant.exp: Add Python checks. + * gdb.rust/simple.exp: Add dynamic type checks. + +2020-04-24 Tom Tromey + + * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings. + Make array type matching more lax. + * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings. + * gdb.ada/mi_variant.exp: New file. + * gdb.ada/mi_variant/pck.ads: New file. + * gdb.ada/mi_variant/pkg.adb: New file. + * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings. + * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings. + +2020-04-24 Tom Tromey + + * gdb.ada/variant.exp: Add dynamic field offset tests. + * gdb.ada/variant/pck.ads (Nested_And_Variable): New type. + * gdb.ada/variant/pkg.adb: Add new variables. + +2020-04-24 Tom Tromey + + * gdb.ada/variant.exp: New file + * gdb.ada/variant/pkg.adb: New file + * gdb.ada/variant/pck.adb: New file + +2020-04-24 Tom de Vries + + * lib/gdb.exp (clean_restart): Reset errcnt and warncnt. + +2020-04-24 Tom de Vries + + * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile + flags. + +2020-04-24 Tom de Vries + + * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags. + +2020-04-24 Tom de Vries + + * lib/gdb.exp (default_gdb_start): Handle eof. + (clean_restart): Detect and handle gdb_start failure. Return -1 upon + failure. + * gdb.base/readnever.exp: Handle clean_restart failure. + +2020-04-23 Tom de Vries + + * gdb.base/decl-before-def.exp: Run to main and print a again. + +2020-04-23 Tom de Vries + + * gdb.base/decl-before-def-decl.c: New test. + * gdb.base/decl-before-def-def.c: New test. + * gdb.base/decl-before-def.exp: New file. + +2020-04-23 Tom de Vries + + * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow. + +2020-04-22 Tom de Vries + + * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix + debug_info_offset. + * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes + before $objsfile in the line line. + +2020-04-22 Tom de Vries + + * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length. + +2020-02-18 Mihails Strasuns + + * gdb.base/jit-attach-pie.c: Use jit-protocol.h. + * gdb.base/jit-elf-main.c: Use jit-protocol.h. + * gdb.base/jit-reader-host.c: Use jit-protocol.h. + * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h. + * gdb.base/jit-protocol.h: Update definitions to match all usage + contexts. + +2020-02-18 Mihails Strasuns + + * gdb.base: Rename all jit related test and source files. + +2020-02-18 Mihails Strasuns + + * gdb.base/jit-reader.exp: Relax register output check. + +2020-04-22 Tom de Vries + + PR symtab/25764 + * gdb.base/psym-external-decl-2.c: New test. + * gdb.base/psym-external-decl.c: New test. + * gdb.base/psym-external-decl.exp: New file. + * gdb.threads/tls.exp: Add PR25807 kfail. + +2020-04-22 Tom de Vries + + PR symtab/25801 + * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c + in "info source" output. + +2020-04-22 Tom de Vries + + PR symtab/25700 + * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial + symtab for imported_unit.c. + +2020-04-21 Gary Benson + + * gdb.base/advance.c (func): New argument, to match call site. + (func2, func3): Add return statements. + +2020-04-21 Tankut Baris Aktemur + + * gdb.multi/run-only-second-inf.c: New file. + * gdb.multi/run-only-second-inf.exp: New file. + +2020-04-21 Markus Metzger + + * gdb.btrace/multi-inferior.c: New test. + * gdb.btrace/multi-inferior.exp: New file. + +2020-04-21 Markus Metzger + + * gdb.btrace/enable-new-thread.c: New test. + * gdb.btrace/enable-new-thread.exp: New file. + +2020-04-21 Tom de Vries + + PR gdb/25471 + * gdb.threads/killed-outside.c: New test. + * gdb.threads/killed-outside.exp: New file. + +2020-04-20 Gary Benson + + * gdb.base/nested-subp1.exp: Use support_nested_function_tests. + * gdb.base/nested-subp2.exp: Likewise. + * gdb.base/nested-subp3.exp: Likewise. + +2020-04-20 Gary Benson + + * gdb.base/nested-subp1.exp: Disable test when using clang. + * gdb.base/nested-subp2.exp: Likewise. + * gdb.base/nested-subp3.exp: Likewise. + +2020-04-20 Gary Benson + + * gdb.cp/exception.cc: Fix compilation error with clang. + +2020-04-20 Gary Benson + + * gdb.trace/tspeed.c: Fix compilation error with clang. + +2020-04-20 Gary Benson + + * gdb.base/jit-main.c: Fix compilation error with clang. + +2020-04-17 Kamil Rytarowski + + * gdb.base/attach-twice.c: Include "sys/types.h". + (PTRACE_ATTACH): Add fallback definition. + (main): Pass `0' to the 4th argument of `ptrace'. + +2020-04-17 Kamil Rytarowski + + * gdb.base/fork-running-state.c: Include "signal.h". + +2020-04-17 Tom Tromey + + * gdb.cp/maint.exp (test_help): Simplify multiple_help_body. + Update tests. + * gdb.btrace/cpu.exp: Update tests. + * gdb.base/maint.exp: Update tests. + * gdb.base/default.exp: Update tests. + * gdb.base/completion.exp: Update tests. + +2020-04-16 Tom de Vries + + PR symtab/25791 + * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ... + (ensure_gdb_index): and factor out and move ... + * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here. + * gdb.dwarf2/imported-unit-runto-main.exp: New file. + +2020-04-16 Tom de Vries + + * gdb.base/maint-expand-symbols-header-file.exp: Set language before + loading exec. + +2020-04-15 Andrew Burgess + + * gdb.base/many-completions.exp: New file. + +2020-04-14 Tom de Vries + + PR symtab/25718 + * gdb.dwarf2/dw2-symtab-includes.exp: New file. + +2020-04-14 Tom de Vries + + PR symtab/25720 + * gdb.base/maint-expand-symbols-header-file.c: New test. + * gdb.base/maint-expand-symbols-header-file.exp: New file. + * gdb.base/maint-expand-symbols-header-file.h: New test. + +2020-04-14 Andrew Burgess + + * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete. + * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to + get_func_info. + (get_func_info): Delete. + * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete. + * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete. + * lib/dwarf.exp (get_func_info): New function. + +2020-04-13 Tom de Vries + + * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar + to what find_gnatmake does. + +2020-04-10 Tom de Vries + + * gdb.base/style.exp: Expect "Expanding full symbols" message for + -readnow. + +2020-04-10 Tom de Vries + + PR cli/25808 + * gdb.base/style.c: Add leading newlines. + * gdb.base/style.exp: Use gdb_get_line_number to get specific lines. + Check listing of main's one-line body. + +2020-04-08 Tom de Vries + + * lib/gdb.exp (psymtabs_p): New proc. + * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in + importing unit" unsupported if there are no partial symbols. + +2020-04-08 Tom de Vries + + PR testsuite/25760 + * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails. + +2020-04-07 Tom de Vries + + PR symtab/25796 + * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file. + +2020-04-07 Tom de Vries + + * gdb.base/check-psymtab.c: New test. + * gdb.base/check-psymtab.exp: New file. + +2020-04-06 Tom Tromey + + * gdb.ada/variant-record/proc.adb: New file. + * gdb.ada/variant-record/value.adb: New file. + * gdb.ada/variant-record/value.s: New file. + * gdb.ada/variant-record.exp: New file. + +2020-04-03 Hannes Domani + + PR gdb/25325 + * gdb.cp/typed-enum.cc: New test. + * gdb.cp/typed-enum.exp: New file. + +2020-04-02 Andrew Burgess + + * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file. + * gdb.dwarf2/dw2-inline-small-func.c: New file. + * gdb.dwarf2/dw2-inline-small-func.exp: New file. + * gdb.dwarf2/dw2-inline-small-func.h: New file. + * gdb.opt/inline-small-func.c: New file. + * gdb.opt/inline-small-func.exp: New file. + * gdb.opt/inline-small-func.h: New file. + +2020-04-02 Andrew Burgess + + * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New + function. + +2020-04-02 Andrew Burgess + + * lib/dwarf.exp (function_range): Allow compiler options to be + specified. + +2020-04-02 Tom de Vries + + * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add + __attribute__((always_inline)). + * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2. + +2020-04-02 Tom de Vries + + * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ... + (gdbserver_gdb_exit): ... here. Add timeout warning. + * gdb.multi/multi-target.exp (server_spawn_ids): New global var. + (connect_target_extended_remote): Append new server_spawn_id to + server_spawn_ids. + (cleanup): New proc. + (setup, ): Call cleanup. + +2020-04-02 Tom de Vries + + * gdb.base/main-psymtab.exp: New file. + +2020-04-02 Tom de Vries + + * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style. + +2020-04-01 Tom Tromey + + * gdb.base/complex-parts.exp: Add type tests. + +2020-04-01 Tom Tromey + + * gdb.base/complex-parts.exp: Add arithmetic tests. + +2020-04-01 Tom Tromey + + * gdb.compile/compile.exp: Update. + * gdb.compile/compile-cplus.exp: Update. + * gdb.base/varargs.exp: Update. + * gdb.base/floatn.exp: Update. + * gdb.base/endianity.exp: Update. + * gdb.base/callfuncs.exp (do_function_calls): Update. + * gdb.base/funcargs.exp (complex_args, complex_integral_args) + (complex_float_integral_args): Update. + * gdb.base/complex.exp: Update. + * gdb.base/complex-parts.exp: Update. + +2020-04-01 Tom Tromey + + * gdb.rust/union.rs: New file. + * gdb.rust/union.exp: New file. + * gdb.rust/simple.rs (Union, Union2): Move to union.rs. + (main): Update. + * gdb.rust/simple.exp: Move union tests to union.exp. + +2020-04-01 Tom Tromey + + * gdb.rust/simple.rs (main): Remove "y0". + +2020-04-01 Tankut Baris Aktemur + + * gdb.multi/stop-all-on-exit.c: New test. + * gdb.multi/stop-all-on-exit.exp: New file. + +2020-04-01 Hannes Domani + + PR gdb/24789 + * gdb.cp/misc.cc: Add integer reference variable. + * gdb.cp/misc.exp: Add test. + +2020-04-01 Tankut Baris Aktemur + + * gdb.server/stop-reply-no-thread.exp: Enhance the test + scenario to cover execution until the end and also the case + +2020-03-31 Tom de Vries + + * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to + c. Use "maint info symtabs" to check symtab expansion. + +2020-03-30 Tom de Vries + + * gdb.base/c-linkage-name.exp: Use readnow call to mark a test + unsupported. + (verify_psymtab_expanded): Move ... + * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported + test. + (readnow): New proc. + +2020-03-23 Andrew Burgess + + * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address + with $hex. + +2020-03-20 Tom Tromey + + * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions. + +2020-03-20 Tom Tromey + + * gdb.ada/sub_variant/subv.adb: New file. + * gdb.ada/sub_variant.exp: New file. + +2020-03-20 Tom de Vries + + * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if + first break fails. + * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same. + +2020-03-19 Andrew Burgess + + * gdb.server/exit-multiple-threads.c: New file. + * gdb.server/exit-multiple-threads.exp: New file. + +2020-03-19 Andrew Burgess + + * gdb.fortran/mixed-lang-stack.c: New file. + * gdb.fortran/mixed-lang-stack.cpp: New file. + * gdb.fortran/mixed-lang-stack.exp: New file. + * gdb.fortran/mixed-lang-stack.f90: New file. + +2020-03-19 Andrew Burgess + + * gdb.linespec/cp-completion-aliases.cc: New file. + * gdb.linespec/cp-completion-aliases.exp: New file. + +2020-03-19 Tom de Vries + + * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching + more precise. + +2020-03-18 Tom de Vries + + * gdb.dwarf2/break-inline-psymtab-2.c: New test. + * gdb.dwarf2/break-inline-psymtab.c: New test. + * gdb.dwarf2/break-inline-psymtab.exp: New file. + +2020-03-16 Tom de Vries + + * lib/cache.exp (gdb_do_cache): Add and handle local variables + cache_verify and cache_verify_proc. + +2020-03-15 Tom de Vries + + * gdb.server/solib-list.exp: Handle + 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'. + +2020-03-15 Tom de Vries + + * gdb.base/maint.exp: Use exp_continue in long lines for "maint print + objfiles". + +2020-03-14 Tom Tromey + + * gdb.base/cvexpr.exp: Add test for _Atomic and restrict. + +2020-03-14 Tom de Vries + + * gdb.mi/mi-fortran-modules.exp: Use exp_continue. + +2020-03-14 Tom de Vries + + * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads" + result in line-by-line fashion. + +2020-03-14 Tom de Vries + + * lib/gdb.exp (supports_statement_frontiers): New proc. + * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers. + +2020-03-14 Tom de Vries + + * gdb.base/printcmds.exp: Add missing quoting for "print + teststring2". + +2020-03-13 Tom Tromey + + * gdb.base/printcmds.exp (test_print_strings): Add regression + test. + * gdb.base/printcmds.c (charptr): New typedef. + (teststring2): New global. + +2020-03-13 Andrew Burgess + + * gdb.base/break-interp.exp: Use the tail of the filename, not the + full path in the test name. + (test_ld): Add some with_test_prefix blocks to make test names + unique. + +2020-03-13 Tom de Vries + + * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts. + +2020-03-13 Tom de Vries + + * gdb.mi/mi-sym-info.exp: Make matching more precise. + +2020-03-13 Tom de Vries + + PR symtab/25646 + * gdb.dwarf2/imported-unit.exp: Add test. + +2020-03-13 Tom de Vries + + * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef. + (var1, var2): New variable. + * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict + matching symbols. + +2020-03-13 Tom de Vries + + * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc. + (Term::command): Use prompt prefix. + (Term::enter_tui): Use command_no_prompt_prefix instead of prefix. + * gdb.tui/tui-layout-asm-short-prog.exp: Use + command_no_prompt_prefix instead of prefix. + * gdb.tui/tui-layout-asm.exp: Same. + +2020-03-12 Simon Marchi + + * gdb.base/break-interp.exp: Use foreach_with_prefix. + +2020-03-12 Simon Marchi + + * gdb.arch/amd64-disp-step-avx.S: Add nops after _start. + * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced + on" while stepping over the test instruction, match printed + message. + +2020-03-12 Tom de Vries + + * gdb.base/info-types.exp: Use exp_continue during matching of output + of "info types". + +2020-03-12 Tom de Vries + + * gdb.threads/execl.exp: Delete breakpoint after hitting it. + +2020-03-12 Tom de Vries + + * gdb.fortran/module.exp: Use exp_continue during matching of output + of "info variable -n". + +2020-03-12 Tom de Vries + + * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to + gdb.dwarf2/dw2-ranges-base.c. + +2020-03-12 Tom de Vries + + * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test + in presence of GLIBC debuginfo. + +2020-03-12 Tom de Vries + + * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching + $core. + +2020-03-12 Tom de Vries + + * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp + more precise. + +2020-03-11 Simon Marchi + + * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert + from Unix to Windows path. + +2020-03-11 Tom de Vries + + * gdb.ada/minsyms.exp: Set language to ada. + +2020-03-11 Tom de Vries + + * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf. + +2020-03-11 Tom de Vries + + * gdb.btrace/reconnect.exp: Allow source line pattern after stepi. + +2020-03-11 Tom Tromey + + * gdb.dwarf2/variant.exp: Mark discriminants as artificial. + +2020-03-11 Tom de Vries + + * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages. + +2020-03-11 Tom de Vries + + * gdb.base/break-interp.exp: Limit verbose scope. + +2020-03-11 Tom de Vries + + * gdb.fortran/logical.f90: Define variable with character type. + * gdb.fortran/logical.exp: Use character type instead of uint8_t. + +2020-03-11 Tom de Vries + + * gdb.base/list-ambiguous.exp: Set EDITOR to true. + +2020-03-11 Tom de Vries + + * gdb.ada/access_to_packed_array.exp: Test printing of expanded + symtabs. + +2020-03-10 Andrew Burgess + Bernd Edlinger + + * gdb.cp/step-and-next-inline.cc: New file. + * gdb.cp/step-and-next-inline.exp: New file. + * gdb.cp/step-and-next-inline.h: New file. + * gdb.dwarf2/dw2-is-stmt.c: New file. + * gdb.dwarf2/dw2-is-stmt.exp: New file. + * gdb.dwarf2/dw2-is-stmt-2.c: New file. + * gdb.dwarf2/dw2-is-stmt-2.exp: New file. + * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern. + +2020-03-10 Andrew Burgess + + * lib/dwarf.exp (Dwarf::lines) Add support for modifying the + is-stmt flag in the line table. + +2020-03-09 Tom de Vries + + * lib/gdb.exp (cached_file): Create cache dir. + +2020-03-07 Tom de Vries + + * gdb.cp/ref-params.exp: Compare build_executable result with -1. + * gdb.cp/rvalue-ref-params.exp: Same. + +2020-03-06 Tom de Vries + + * lib/gdb.exp (tentative_rename, cached_file): New proc. + * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh. + +2020-03-06 Tom de Vries + + * README: Fix "the the". + * gdb.base/dprintf.exp: Same. + +2020-03-05 Tom de Vries + + * gdb.base/maint.exp: Update "main print statistics" expected output. + +2020-03-04 Alok Kumar Sharma + + * lib/fortran.exp (fortran_int4): Handle flang kind printing. + (fortran_int8): Likewise. + (fortran_real4): Likewise. + (fortran_real8): Likewise. + (fortran_complex4): Likewise. + (fortran_logical4): Likewise. + (fortran_character1): Likewise. + +2020-03-03 Andrew Burgess + + * gdb.fortran/logical.exp: Add tests that any non-zero value is + printed as true. + +2020-03-03 Sergio Durigan Junior + + * gdb.base/printcmds.exp: Add test to verify printf of a + variable holding an address. + +2020-03-03 Tom de Vries + + * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout. + +2020-03-03 Tom de Vries + + * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for + gdb_test_multiple call. + +2020-03-03 Tom de Vries + + * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to + gdb_test_multiple calls. + +2020-03-02 Andrew Burgess + + * gdb.base/default.exp: Remove test of 'set history filename'. + * gdb.base/gdbinit-history.exp: Add tests for setting the history + filename to the empty string. + * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE + and GDBHISTSIZE. + +2020-03-02 Andrew Burgess + + * gdb.server/stop-reply-no-thread.exp: Add test where T packet is + disabled. + +2020-03-02 Pedro Alves + Tom de Vries + + * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using + -prompt prefix, before user_code argument. Add -lbl option likewise. + (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt) + (gdb_is_target_1): Add -prompt prefix and move to before user_code + argument. + * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to + have "\r\n" at start-of-line, instead of at end-of-line. + +2020-02-28 Simon Marchi + + * lib/trace-support.exp (get_in_proc_agent): Adjust path to + libinproctrace.so. + +2020-02-28 Luis Machado + + * gdb.arch/aarch64-fp.exp: Switch from "info registers" command + to "p/x". + +2020-02-28 Luis Machado + + * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h, + asm/ptrace.h and error.h. + +2020-02-28 Tom de Vries + + * gdb.base/c-linkage-name.c (main): Call do_something_other_cu. + (struct wrapper, do_something, mundane/symada__cS): Move ... + * gdb.base/c-linkage-name-2.c: ... here. New source file. + * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion. + Update "print symada__cS before partial symtab expansion" regexp. + Update breakpoint location. Flush symbol cache after expansion. + +2020-02-28 Luis Machado + + * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output. + +2020-02-27 Tom de Vries + + * config/sid.exp: Remove unused globals. + * gdb.base/attach.exp: Same. + * gdb.base/catch-load.exp: Same. + * gdb.base/dbx.exp: Same. + * lib/gdb.exp: Same. + * lib/mi-support.exp: Same. + * lib/prompt.exp: Same. + +2020-02-27 Tom de Vries + + * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is + not set. + +2020-02-26 Aaron Merey + + * gdb.debuginfod: New directory for debuginfod tests. + * gdb.debuginfod/main.c: New test file. + * gdb.debuginfod/fetch_src_and_symbols.exp: New tests. + +2020-02-26 Tom de Vries + + PR gdb/25603 + * gdb.base/persistent-lang.cc: New test. + * gdb.base/persistent-lang.exp: New file. + +2020-02-25 Andrew Burgess + + * gdb.fortran/derived-type-striding.exp: Add a new test. + * gdb.fortran/derived-type-striding.f90: Add pointer variable for + new test. + +2020-02-25 Andrew Burgess + + * gdb.base/cached-source-file.exp: Avoid source file paths in test + names. + +2020-02-25 Tom de Vries + + PR go/18926 + * gdb.go/methods.exp: Remove gcc/93866 xfail. + +2020-02-24 Tom de Vries + + PR gdb/25592 + * gdb.base/info-locals-unused-static-var.c: New test. + * gdb.base/info-locals-unused-static-var.exp: New file. + +2020-02-22 Tom Tromey + + * gdb.python/tui-window.exp: New file. + * gdb.python/tui-window.py: New file. + +2020-02-22 Tom Tromey + + PR tui/17850: + * gdb.tui/new-layout.exp: Add horizontal layout and winheight + tests. + +2020-02-22 Tom Tromey + + * gdb.tui/new-layout.exp: Add sub-layout tests. + +2020-02-22 Tom Tromey + + * gdb.tui/new-layout.exp: New file. + +2020-02-22 Tom Tromey + + * gdb.rust/rust-style.rs: New file. + * gdb.rust/rust-style.exp: New file. + * gdb.base/style.exp: Test structure printing. + * gdb.base/style.c (struct some_struct): New type. + (enum etype): New type. + (struct_value): New global. + +2020-02-21 Tom de Vries + + PR go/18926 + * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix. + Remove blanket xfails. Use message argument for gdb_breakpoint. + Make continuing to breakpoint test conditional on setting breakpoint. + Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7 + DW_AT_name attribute. Add xfail for GCC PR93866. + +2020-02-21 Andrew Burgess + + * gdb.dwarf2/cpp-linkage-name.c: New file. + * gdb.dwarf2/cpp-linkage-name.exp: New file. + +2020-02-21 Shahab Vahedi + + * lib/gdb.exp (gdb_wrapper_init): Reset + "gdb_wrapper_initialized" to 0 if "wrapper_file" does + not exist. + +2020-02-20 Tom de Vries + + PR go/17018 + * gdb.go/hello.exp: Copy ... + * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect + print of st to print value of global definition. Add xfail for GCC + PR93844. + * gdb.go/hello.exp: Remove printing of st before definition. + * gdb.go/hello.go: Copy ... + * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst + to st. + * gdb.go/hello.go: Remove myst. Remove comment about shadowing. + +2020-02-20 Tom de Vries + + * lib/gdb.exp (support_go_compile): New gdb_caching_proc. + (gdb_simple_compile): Handle compile_flags go by using .go extension + for source file. + * gdb.go/chan.exp: Use support_go_compile. + * gdb.go/handcall.exp: Same. + * gdb.go/hello.exp: Same. + * gdb.go/integers.exp: Same. + * gdb.go/max-depth.exp: Same. + * gdb.go/methods.exp: Same. + * gdb.go/package.exp: Same. + * gdb.go/strings.exp: Same. + * gdb.go/types.exp: Same. + * gdb.go/unsafe.exp: Same. + +2020-02-19 Tom de Vries + + * gdb.python/lib-types.exp: Make xfail more strict. + +2020-02-19 Tom de Vries + + * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check. + +2020-02-19 Doug Evans + + PR rust/25535 + * gdb.rust/simple.exp: Add test. + * gdb.rust/simple.rs: Add test. + +2020-02-19 Tom de Vries + + * gdb.base/corefile-buildid.exp (check_exec_file): Match info files + output line-by-line. + +2020-02-19 Tom de Vries + + * gdb.cp/cpexprs.exp: Remove c++/14186 kfail. + +2020-02-19 Tom de Vries + + * gdb.base/solib-overlap.exp: Use exec instead of system to execute + prelink. + +2020-02-19 Tom de Vries + + * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc. + (gdb_do_cache): Use gdb_do_cache_wrap. + * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap. + +2020-02-19 Tom de Vries + + * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as + gdb_compile option. + +2020-02-18 Simon Marchi + + * gdb.base/printcmds.exp (test_print_enums): Update expected + output. + +2020-02-18 Simon Marchi + + * gdb.base/printcmds.exp (test_print_enums): Expect hex values + for "unknown". + +2020-02-18 Simon Marchi + + * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY + enumerator. + +2020-02-18 Simon Marchi + + * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with + FE_, add FE_NONE. + (three): Update. + (enum flag_enum_without_zero): New enum. + (flag_enum_without_zero): New variable. + (enum not_flag_enum): New enum. + (three_not_flag): New variable. + * gdb.base/printcmds.exp (test_artificial_arrays): Update. + (test_print_enums): Add more tests for printing flag enums. + +2020-02-18 Tom de Vries + + * lib/ada.exp (gdb_compile_ada_1): Factor out of ... + (gdb_compile_ada): ... here. + (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada + failure. Use gdb_compile_ada_1 instead of gdb_compile_ada. + +2020-02-14 Tom Tromey + + * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in + build directory. + * boards/gdbserver-base.exp: Update path to gdbserver. + +2020-02-13 Tom de Vries + + * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation. + +2020-02-13 Tom de Vries + + * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink + are missing. + +2020-02-13 Tom de Vries + + * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch + call. + +2020-02-11 Sergio Durigan Junior + + PR tui/25126 + https://bugzilla.redhat.com/show_bug.cgi?id=1784210 + * gdb.base/cached-source-file.c: New file. + * gdb.base/cached-source-file.exp: New file. + +2020-02-11 Tom de Vries + + PR testsuite/25488 + * lib/gdb.exp (gdb_init): Unset $file_last_loaded. + +2020-02-10 Tom de Vries + + * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests. + +2020-02-10 Maciej W. Rozycki + + * gdb.base/step-over-no-symbols.exp: Verify that $before_addr + and $after_addr are both integers before making a comparison. + +2020-02-09 Tom de Vries + + * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb + command output and paste it into gdb.log. If any, paste catch message + to gdb.log. + +2020-02-07 Tom Tromey + + PR breakpoints/24915: + * gdb.base/annotate-symlink.exp: Use setup_xfail. + +2020-02-06 Shahab Vahedi + + * gdb.tui/tui-missing-src.exp: Add the "missing source + file" test for the TUI. + +2020-02-06 Andrew Burgess + + * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid + including a port number in the output. + +2020-02-04 Alok Kumar Sharma + + * lib/fortran.exp (fortran_int4): Handle clang. + (fortran_int8): Likewise. + (fortran_real4): Likewise. + (fortran_real8): Likewise. + (fortran_complex4): Likewise. + (fortran_logical4): Likewise. + (fortran_character1): Likewise. + +2020-02-04 Tom de Vries + + * README (Race detection): Add note. + +2020-02-04 Tom de Vries + + * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*". + +2020-02-04 Tom de Vries + + * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses. + +2020-02-03 Rogerio A. Cardoso + + * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of + tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-, + bctarl+ extended mnemonics when avaliable by bgttar, bnstarl, + blttar, bnetarl. + * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions + binary for blttar, bnetarl. + * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of + wait instruction. Delete ldmx test. + * gdb.arch/powerpc-power9.s: Delete ldmx instruction. + +2020-02-03 Alok Kumar Sharma + + * gdb.fortran/array-bounds-high.exp: New file. + * gdb.fortran/array-bounds-high.f90: New file. + +2020-02-03 Lukas Durfina (tiny change) + + * gdb.base/fileio.c: Remove #include of . + Replace #include of by . + +2020-02-01 Tom de Vries + + * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo. + +2020-01-31 Andrew Burgess + + PR tui/9765 + * gdb.tui/tui-layout-asm-short-prog.S: New file. + * gdb.tui/tui-layout-asm-short-prog.exp: New file. + +2020-01-29 Luis Machado + + * gdb.arch/aarch64-brk-patterns.c: New source file. + * gdb.arch/aarch64-brk-patterns.exp: New test. + +2020-01-29 Tankut Baris Aktemur + + * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the + GCC/Clang version. + * gdb.cp/pass-by-ref.exp: Ditto. + +2020-01-29 Tom de Vries + + * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG. + * gdb.threads/watchpoint-fork-mt.c: Same. + * gdb.threads/watchpoint-fork-parent.c: Same. + * gdb.threads/watchpoint-fork-st.c: Same. + * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0. + +2020-01-27 Luis Machado + + * gdb.base/step-over-syscall.exp (setup): Check if we're already + sitting at a syscall instruction when we hit the syscall function's + breakpoint. + Check PC against one obtained with the x command. + Validate syscall number. + (step_over_syscall): Don't continue to the syscall instruction if + we're already there. + +2020-01-25 Philippe Waroquiers + + * gdb.base/attach.exp: Test 'set exec-file-mismatch'. + +2020-01-24 Andrew Burgess + + * gdb.dwarf2/dw2-inline-many-frames.c: New file. + * gdb.dwarf2/dw2-inline-many-frames.exp: New file. + +2020-01-24 Andrew Burgess + + * gdb.dwarf2/dw2-inline-stepping.c: New file. + * gdb.dwarf2/dw2-inline-stepping.exp: New file. + +2020-01-24 Andrew Burgess + + * gdb.base/maint.exp: Update line table parsing test. + * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test. + +2020-01-24 Pedro Alves + + PR gdb/25410 + * gdb.multi/multi-re-run-1.c: New. + * gdb.multi/multi-re-run-2.c: New. + * gdb.multi/multi-re-run.exp: New. + +2020-01-24 Andrew Burgess + + PR gdb/23718 + * gdb.server/server-kill-python.exp: New file. + +2020-01-24 Andrew Burgess + + * gdb.server/multi-ui-errors.c: New file. + * gdb.server/multi-ui-errors.exp: New file. + +2020-01-24 Andrew Burgess + + PR tui/9765 + * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window. + +2020-01-19 Tom Tromey + + * gdb.tui/main.exp: Add check for plain "file". + +2020-01-16 Christian Biesinger + + * lib/gdb.exp: Fix spelling error (seperatelly). + +2020-01-14 Tom Tromey + + PR symtab/12535: + * gdb.python/python.exp: Test decode_line with empty string + argument. + +2020-01-14 Bernd Edlinger + + * gdb.base/skip-inline.exp: Extend test. + +2020-01-13 Andrew Burgess + + * gdb.dwarf2/dw2-bad-elf-other.S: New file. + * gdb.dwarf2/dw2-bad-elf.c: New file. + * gdb.dwarf2/dw2-bad-elf.exp: New file. + +2020-01-13 Andrew Burgess + + * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and + _line_saw_file. + +2020-01-13 Andrew Burgess + + * lib/tuiterm.exp (Term::_check_box): Check some parts of the top + border. + +2020-01-10 Tankut Baris Aktemur + + * gdb.multi/multi-target.exp (setup): Factor out "info + connections" and "info inferiors" tests to ... + (test_info_inferiors): ... this new procedure. + (top level): Run new "info-inferiors" tests. + +2020-01-10 Pedro Alves + + * gdb.server/bkpt-other-inferior.exp: New file. + +2020-01-10 Pedro Alves + + * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output + of "add-inferior". + * gdb.base/quit-live.exp: Likewise. + * gdb.base/remote-exec-file.exp: Likewise. + * gdb.guile/scm-progspace.exp: Likewise. + * gdb.linespec/linespec.exp: Likewise. + * gdb.mi/new-ui-mi-sync.exp: Likewise. + * gdb.mi/user-selected-context-sync.exp: Likewise. + * gdb.multi/multi-target.exp (setup): Add "info connection" and + "info inferiors" tests. + * gdb.multi/remove-inferiors.exp: Adjust expected output of + "add-inferior". + * gdb.multi/watchpoint-multi.exp: Likewise. + * gdb.python/py-inferior.exp: Likewise. + * gdb.server/extended-remote-restart.exp: Likewise. + * gdb.threads/fork-plus-threads.exp: Adjust expected output of + "info inferiors". + * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise. + * gdb.trace/report.exp: Likewise. + +2020-01-10 Pedro Alves + + * gdb.multi/multi-target.c: New file. + * gdb.multi/multi-target.exp: New file. + * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop + mode requested, but remote does not support non-stop". + +2020-01-10 Pedro Alves + + * gdb.server/extended-remote-restart.exp (test_reload): Explicitly + disconnect before reconnecting. + +2020-01-10 Tankut Baris Aktemur + Pedro Alves + + * gdb.server/connect-without-multi-process.exp: Also test + continuing to end. + +2020-01-10 Pedro Alves + + * gdb.base/remote-exec-file.exp: New file. + +2020-01-10 Pedro Alves + + * gdb.base/fork-running-state.exp (do_test): Adjust expected + output. + * gdb.threads/async.c: New. + * gdb.threads/async.exp: New. + * gdb.multi/tids-gid-reset.c: New. + * gdb.multi/tids-gid-reset.exp: New. + +2020-01-10 George Barrett + + * gdb.base/stap-probe.c (relocation_marker): Add dummy variable + to help in finding the image relocation offset. + * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile + options in arguments. + (stap_test_no_debuginfo): Likewise. + (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add + test variants. + (stap_test): Add null semaphore relocation test. + +2020-01-10 George Barrett + + * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES. + * gdb.base/stap-probe.exp: Likewise. + (stap_test): Pass argument as an additional flag. + (stap_test_no_debuginfo): Likewise. + (stap_test): Check `info probes stap' output for semaphore + addresses if the test binary is supposed to have them. + +2020-01-09 Andrew Burgess + + * gdb.tui/basic.exp: Add more scrolling tests. + +2020-01-09 Tom Tromey + + PR tui/18932: + * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a + meangingful value. + (Term::command, Term::resize): Update. + * gdb.tui/basic.exp: Add scrolling test. + +2020-01-09 Andrew Burgess + + * gdb.tui/tui-layout-asm.exp: New file. + +2020-01-09 Andrew Burgess + + * lib/tuiterm.exp (Term::check_box_contents): New proc. + +2020-01-09 Andrew Burgess + + * lib/tuiterm.exp (Term::prepare_for_tui): New proc. + (Term::enter_tui): Use Term::prepare_for_tui. + +2020-01-09 Andrew Burgess + + * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when + called. + +2020-01-09 Andrew Burgess + + * gdb.base/skip.exp: Fix race condition in test. + +2020-01-06 Andrew Burgess + + * gdb.base/backtrace.c: New file. + * gdb.base/backtrace.exp: New file. + +2020-01-05 Andrew Burgess + + * gdb.tui/list.exp: Test 'focus next' after 'list main'. + +2020-01-03 Philippe Waroquiers + + * gdb.base/style.exp: Test that warnings are styled. + +2019-12-29 Bernd Edlinger + + * gdb.base/line65535.exp: New file. + * gdb.base/line65535.c: New file. + +2019-12-27 Simon Marchi + + * lib/ada.exp (gnat_runtime_has_debug_info): New proc. + * lib/gnat_debug_info_test.adb: New file. + * gdb.ada/ptype_tagged_param.exp: Use + gnat_runtime_has_debug_info, expect a different output if + runtime does not have debug info. + +2019-12-20 Simon Marchi + + * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add + (another) quote in test name. + +2019-12-20 Simon Marchi + + * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry): + Add quote in test name. + +2019-12-20 Tankut Baris Aktemur + + * gdb.cp/pass-by-ref.cc: Delete. Generated in the output + directory instead. + * gdb.cp/pass-by-ref.exp: Extend with more cases. + * gdb.cp/pass-by-ref-2.cc: New file. + * gdb.cp/pass-by-ref-2.exp: New file. + +2019-12-20 Tom Tromey + + * gdb.tui/list-before.exp: New file. + +2019-12-20 Tom Tromey + + * gdb.tui/list.exp: Check for source on initial listing. + +2019-12-11 Tom Tromey + + * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter. + Add crlf test. + +2019-12-18 Simon Marchi + + * gdb.base/default.exp: Update value of $_gdb_major. + +2019-12-17 Bernd Edlinger + + * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0. + +2019-12-17 Bernd Edlinger + + * gdb.base/skip.exp: Whitespace fix. + +2019-12-16 Bernd Edlinger + + * gdb.base/skip-inline.c: New file. + * gdb.base/skip-inline.exp: New file. + +2019-12-16 Simon Marchi + + * gdb.base/jit-reader.exp (jit_reader_test): Rename + jit_function_00 to jit_function_stack_mangle. + * gdb.base/jithost.c (jit_function_t): Rename to... + (jit_function_stack_mangle_t): ... this. + (jit_function_add_t): New typedef. + (jit_function_00_code): Rename to... + (jit_function_stack_mangle_code): ... this, make static. + (jit_function_add_code): New. + (main): Generate "add" function and call it. Adjust to changes + in jithost_abi. + * gdb.base/jithost.h (struct jithost_abi_bounds): New. + (struct jithost_abi) : Remove fields. + : New fields. + * gdb.base/jitreader.c (struct reader_state) : Remove fields. + : New field. + (read_debug_info): Adjust to renaming, create block for "add" + function. + (read_sp, unwind_frame, get_frame_id): Adjust to other changes. + +2019-12-11 Tom Tromey + + * gdb.tui/resize.exp: Fix regexp. + * gdb.tui/regs.exp: Fix regexps. + * gdb.tui/main.exp: Fix regexp. + +2019-12-11 Tom Tromey + + * gdb.tui/resize.exp: Update. + * gdb.tui/empty.exp (layouts): Update. + +2019-12-11 Tom Tromey + + * gdb.tui/regs.exp: Update. + * gdb.tui/empty.exp (layouts): Update. + * gdb.tui/basic.exp: Update. + * lib/tuiterm.exp (_check_box): Don't check bottom border. + +2019-12-11 Philippe Waroquiers + + * gdb.base/options.exp: Add -raw-values in the print completion list. + * gdb.python/py-prettyprint.exp: Add tests for -raw-values. + +2019-12-10 Kevin Buettner + + * gdb.threads/omp-par-scope.c: New file. + * gdb/threads/omp-par-scope.exp: New file. + +2019-12-10 Kevin Buettner + + * lib/gdb.exp (support_nested_function_tests): New proc. + +2019-12-10 Kevin Buettner + + * lib/gdb.exp (gdb_compile_openmp): New proc. + (build_executable_from_specs): Add an "openmp" option. + (gdb_compile_pthreads): Add non-executable case. + +2019-12-10 Tom Tromey + + * gdb.ada/unchecked_union.exp: New file. + * gdb.ada/unchecked_union/pck.adb: New file. + * gdb.ada/unchecked_union/pck.ads: New file. + * gdb.ada/unchecked_union/unchecked_union.adb: New file. + * gdb-utils.exp (string_to_regexp): Also quote "?". + +2019-12-10 George Barrett + + Test scripted probe breakpoints. + * gdb.guile/scm-breakpoint.c (main): Add probe point. + * gdb.python/py-breakpoint.c (main): Likewise. + * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe + specifier test. + * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise. + +2019-12-09 Tankut Baris Aktemur + + * gdb.cp/rvalue-ref-overload.cc (g): New function that takes + an rvalue parameter. + * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue + parameter. + +2019-12-09 Andrew Burgess + + * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system + modules. + +2019-12-09 Andrew Burgess + + * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a + broken version of GCC. + +2019-12-09 Andrew Burgess + + * gdb.fortran/info-modules.exp: Rewrite to make use of new + sym-info-cmds library. + * gdb.fortran/info-types.exp: Likewise. + * lib/sym-info-cmds.exp: New file. + +2019-12-08 Tom de Vries + + * gdb.dwarf2/imported-unit.exp: Fix inter-CU references. + +2019-12-07 Keith Seitz + + * gdb.base/corefile-buildid-shlib-shr.c: New file. + * gdb.base/corefile-buildid-shlib.c: New file. + * gdb.base/corefile-buildid.c: New file. + * gdb.base/corefile-buildid.exp: New file. + +2019-12-06 Tom de Vries + + * gdb.dwarf2/varval.exp: Add decl before def test. + +2019-12-06 Tankut Baris Aktemur + + * gdb.cp/rvalue-ref-overload.exp: Minor cleanup. + +2019-12-06 Tankut Baris Aktemur + + * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both + CV and reference conversion for overload resolution. + * gdb.cp/rvalue-ref-overload.exp: Test it. + +2019-12-06 Philippe Waroquiers + + * gdb.threads/pthreads.exp: Test taas and tfaas without command. + * gdb.base/frameapply.exp: Test faas without command. + +2019-12-04 Andrew Burgess + + * lib/gdb.exp (gdb_compile): Add -J compiler option when building + Fortran tests. + * gdb.mi/mi-fortran-modules.exp: Compile source files in correct + order. + +2019-12-04 Andrew Burgess + + * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle + casting to type with no kind specified. + (test_basic_parsing_of_type_kinds): Additional tests for types + with no kind specified, and add tests for single/double + precision/complex types. + +2019-12-04 Tom Tromey + + * gdb.base/endianity.c (struct other) : New field. + (main): Initialize it. + * gdb.base/endianity.exp: Update. + +2019-12-04 Tom Tromey + + * gdb.ada/scalar_storage/storage.adb: New file. + * gdb.ada/scalar_storage/pck.adb: New file. + * gdb.ada/scalar_storage/pck.ads: New file. + * gdb.ada/scalar_storage.exp: New file. + +2019-12-04 Tom Tromey + + * gdb.base/endianity.c (struct otherendian) : New field. + (main): Initialize it. + * gdb.base/endianity.exp: Update. + +2019-12-04 Andrew Burgess + + * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter. + +2019-12-04 Andrew Burgess + + * gdb.mi/mi-fortran-modules.exp: Add additional tests for + -symbol-info-module-functions and -symbol-info-module-variables. + +2019-12-01 Andrew Burgess + + * gdb.fortran/array-slices.exp: Add test for dynamic strings. + +2019-12-01 Richard Bunt + Andrew Burgess + + * gdb.fortran/derived-type-striding.exp: New file. + * gdb.fortran/derived-type-striding.f90: New file. + * gdb.fortran/array-slices.exp: New file. + * gdb.fortran/array-slices.f90: New file. + +2019-11-30 Philippe Waroquiers + + * gdb.base/define.exp: Test . in command names. + * gdb.base/setshow.exp: Update test, as . is now part of + command name. + +2019-11-30 Philippe Waroquiers + + * gdb.base/define-prefix.exp: New file. + +2019-11-28 Andrew Burgess + + * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to + compile. + (skip_btrace_pt_tests): Likewise. + +2019-11-27 Andrew Burgess + + * gdb.fortran/info-modules.exp: Compile source files in correct + order. + +2019-11-27 Kevin Buettner + + * gdb.dwarf2/imported-unit.exp: New file. + * gdb.dwarf2/imported-unit.c: New file. + +2019-11-27 Andrew Burgess + + * gdb.mi/mi-fortran-modules-2.f90: New file. + * gdb.mi/mi-fortran-modules.exp: New file. + * gdb.mi/mi-fortran-modules.f90: New file. + +2019-11-27 Andrew Burgess + + * gdb.mi/mi-sym-info-1.c: New file. + * gdb.mi/mi-sym-info-2.c: New file. + * gdb.mi/mi-sym-info.exp: New file. + +2019-11-22 Tom Tromey + + * gdb.ada/tasks.exp: Add -ada-task-info regression test. + * gdb.ada/tasks/foo.adb: Add another stopping location. + +2019-11-21 Peeter Joot + + * gdb.base/endianity.c: New test. + * gdb.base/endianity.exp: New file. + +2019-11-21 Lukas Durfina + + * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64. + +2019-11-21 Tom de Vries + + PR gdb/24956 + * gdb.base/ui-redirect.exp: Test output of user-defined command. + +2019-11-20 Sergio Durigan Junior + + * gdb.python/py-progspace.exp: Add missing parentheses on some + 'print' commands. + +2019-11-19 Tom Tromey + + * gdb.tui/winheight.exp: New file. + +2019-11-19 Andrew Burgess + + * gdb.base/ctf-whatis.c: Delete. + * gdb.base/ctf-whatis.exp: Delete. + * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf. + +2019-11-19 Andrew Burgess + + * gdb.base/ctf-cvexpr.exp: Delete. + * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf. + +2019-11-19 Andrew Burgess + + * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in + the compiler. Clean up header comment a little. + * gdb.base/ctf-ptype.exp: Likewise. + * gdb.base/ctf-whatis.exp: Likewise. + * lib/gdb.exp (skip_ctf_tests): New proc. + +2019-11-18 Sergio Durigan Junior + + https://bugzilla.redhat.com/show_bug.cgi?id=1765117 + * gdb.tui/corefile-run.exp: New file. + +2019-11-14 Tom Tromey + + * gdb.base/gdbvars.exp (test_convenience_variables): Add + regression tests. + +2019-11-12 Tom Tromey + + * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output + after any command. Expect prompt after WAIT_FOR is seen. + (enter_tui): Enable resize messages. + (command): Expect command in output. + (get_line): Avoid error when cursor appears to be off-screen. + (dump_screen): Include screen size in title. + (_do_resize): New proc, from "resize". + (resize): Rewrite. Do resize in two steps. + * gdb.tui/empty.exp (layouts): Fix entries. + (check_boxes): Remove xfail. + (check_text): Dump screen on failure. + +2019-11-10 Andrew Burgess + + * gdb.python/py-symbol.exp: Add test for + gdb.lookup_static_symbols. + +2019-11-10 Andrew Burgess + + * gdb.python/py-symbol.c: Declare and call function from new + py-symbol-2.c file. + * gdb.python/py-symbol.exp: Compile both source files, and add new + tests for gdb.lookup_static_symbol. + * gdb.python/py-symbol-2.c: New file. + +2019-11-02 Tom de Vries + + * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test. + * gdb.base/anon.exp: Same. + * gdb.base/auto-connect-native-target.exp: Same. + * gdb.base/call-ar-st.exp: Same. + * gdb.base/catch-syscall.exp: Same. + * gdb.base/commands.exp: Same. + * gdb.base/default.exp: Same. + * gdb.base/display.exp: Same. + * gdb.base/float.exp: Same. + * gdb.base/foll-fork.exp: Same. + * gdb.base/help.exp: Same. + * gdb.base/info-macros.exp: Same. + * gdb.base/info-proc.exp: Same. + * gdb.base/info-target.exp: Same. + * gdb.base/long_long.exp: Same. + * gdb.base/macscp.exp: Same. + * gdb.base/memattr.exp: Same. + * gdb.base/nofield.exp: Same. + * gdb.base/pointers.exp: Same. + * gdb.base/printcmds.exp: Same. + * gdb.base/ptype.exp: Same. + * gdb.base/restore.exp: Same. + * gdb.base/return.exp: Same. + * gdb.base/scope.exp: Same. + * gdb.base/set-noassign.exp: Same. + * gdb.base/setshow.exp: Same. + * gdb.base/shlib-call.exp: Same. + * gdb.base/signals.exp: Same. + * gdb.base/sigstep.exp: Same. + * gdb.base/skip.exp: Same. + * gdb.base/solib-symbol.exp: Same. + * gdb.base/stap-probe.exp: Same. + * gdb.base/step-line.exp: Same. + * gdb.base/step-test.exp: Same. + * gdb.base/style.exp: Same. + * gdb.base/varargs.exp: Same. + * gdb.base/vla-datatypes.exp: Same. + * gdb.base/vla-ptr.exp: Same. + * gdb.base/vla-sideeffect.exp: Same. + * gdb.base/volatile.exp: Same. + * gdb.base/watch-cond-infcall.exp: Same. + * gdb.base/watchpoint.exp: Same. + +2019-11-02 Tom de Vries + + * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test. + * gdb.cp/cpexprs.exp: Same. + * gdb.cp/except-multi-location.exp: Same. + * gdb.cp/exceptprint.exp: Same. + * gdb.cp/gdb2384.exp: Same. + * gdb.cp/inherit.exp: Same. + * gdb.cp/m-static.exp: Same. + * gdb.cp/meth-typedefs.exp: Same. + * gdb.cp/misc.exp: Same. + * gdb.cp/namespace.exp: Same. + * gdb.cp/non-trivial-retval.exp: Same. + * gdb.cp/overload.exp: Same. + * gdb.cp/pr17132.exp: Same. + * gdb.cp/re-set-overloaded.exp: Same. + * gdb.cp/rvalue-ref-types.exp: Same. + * gdb.cp/templates.exp: Same. + +2019-11-01 Luis Machado + + PR gdb/25124 + + * gdb.arch/pr25124.S: New file. + * gdb.arch/pr25124.exp: New file. + +2019-10-31 Andrew Burgess + + * gdb.fortran/info-modules.exp: Update expected results, and add + additional tests for 'info module functinos', and 'info module + variables'. + * gdb.fortran/info-types.exp: Update expected results. + * gdb.fortran/info-types.f90: Extend testcase with additional + module variables and functions. + +2019-10-31 Andrew Burgess + + * gdb.fortran/info-modules.exp: New file. + * gdb.fortran/info-types.exp: Build with new file. + * gdb.fortran/info-types.f90: Include and use new module. + * gdb.fortran/info-types-2.f90: New file. + +2019-10-31 Philippe Waroquiers + + * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str. + * gdb.base/settings.exp: Test all settings types using + $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting, + that now verifies that the value of "maint show" is the same as + returned by the settings functions. Test the type of the + maintenance settings. + * gdb.base/default.exp: Update show_conv_list. + +2019-10-31 Tom de Vries + + * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to + gdb_test. + * gdb.arch/amd64-disp-step.exp: Same. + * gdb.asm/asm-source.exp: Same. + * gdb.btrace/buffer-size.exp: Same. + * gdb.btrace/cpu.exp: Same. + * gdb.btrace/enable.exp: Same. + * gdb.dwarf2/count.exp: Same. + * gdb.dwarf2/dw2-ranges-func.exp: Same. + * gdb.dwarf2/dw2-ranges-psym.exp: Same. + * gdb.fortran/vla-datatypes.exp: Same. + * gdb.fortran/vla-history.exp: Same. + * gdb.fortran/vla-ptype.exp: Same. + * gdb.fortran/vla-value.exp: Same. + * gdb.fortran/whatis_type.exp: Same. + * gdb.guile/guile.exp: Same. + * gdb.multi/tids.exp: Same. + * gdb.python/py-finish-breakpoint.exp: Same. + * gdb.python/py-framefilter.exp: Same. + * gdb.python/py-pp-registration.exp: Same. + * gdb.python/py-xmethods.exp: Same. + * gdb.python/python.exp: Same. + * gdb.server/connect-with-no-symbol-file.exp: Same. + * gdb.server/no-thread-db.exp: Same. + * gdb.server/run-without-local-binary.exp: Same. + * gdb.stabs/weird.exp: Same. + * gdb.threads/attach-many-short-lived-threads.exp: Same. + * gdb.threads/thread-find.exp: Same. + * gdb.threads/tls-shared.exp: Same. + * gdb.threads/tls.exp: Same. + * gdb.threads/wp-replication.exp: Same. + * gdb.trace/ax.exp: Same. + * lib/gdb.exp (gdb_test_exact, help_test_raw): Same. + +2019-10-31 Tom de Vries + + * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test. + * gdb.ada/array_subscript_addr.exp: Same. + * gdb.ada/arrayidx.exp: Same. + * gdb.ada/arrayparam.exp: Same. + * gdb.ada/arrayptr.exp: Same. + * gdb.ada/boolean_expr.exp: Same. + * gdb.ada/call_pn.exp: Same. + * gdb.ada/complete.exp: Same. + * gdb.ada/fixed_cmp.exp: Same. + * gdb.ada/fun_addr.exp: Same. + * gdb.ada/funcall_param.exp: Same. + * gdb.ada/interface.exp: Same. + * gdb.ada/mod_from_name.exp: Same. + * gdb.ada/null_array.exp: Same. + * gdb.ada/packed_array.exp: Same. + * gdb.ada/packed_tagged.exp: Same. + * gdb.ada/print_chars.exp: Same. + * gdb.ada/print_pc.exp: Same. + * gdb.ada/ptype_arith_binop.exp: Same. + * gdb.ada/ptype_field.exp: Same. + * gdb.ada/ptype_tagged_param.exp: Same. + * gdb.ada/rec_return.exp: Same. + * gdb.ada/ref_tick_size.exp: Same. + * gdb.ada/str_ref_cmp.exp: Same. + * gdb.ada/taft_type.exp: Same. + * gdb.ada/tagged.exp: Same. + * gdb.ada/type_coercion.exp: Same. + * gdb.ada/uninitialized_vars.exp: Same. + +2019-10-30 Tom de Vries + + * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag. + +2019-10-26 Tom de Vries + + * gdb.base/bigcore.c: Fix typos in comments. + * gdb.base/ctf-ptype.c: Same. + * gdb.base/long_long.c: Same. + * gdb.dwarf2/dw2-op-out-param.S: Same. + * gdb.python/py-evthreads.c: Same. + * gdb.reverse/i387-stack-reverse.c: Same. + * gdb.trace/tfile.c: Same. + * lib/compiler.c: Same. + * lib/compiler.cc: Same. + +2019-10-25 Tom de Vries + + * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in + gdb_test_multiple calls. + * gdb.reverse/sigall-reverse.exp: Same. + * gdb.reverse/solib-precsave.exp: Same. + * gdb.reverse/solib-reverse.exp: Same. + * gdb.reverse/until-precsave.exp: Same. + * gdb.reverse/until-reverse.exp: Same. + +2019-10-24 Tom de Vries + + * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag. + * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing + kfail using -wrap pattern flag and convenience variable + gdb_test_name. + +2019-10-24 Andrew Burgess + + * gdb.python/py-progspace.exp: Add tests for the + Progspace.block_for_pc method. + +2019-10-23 Tom Tromey + + * configure: Rebuild. + * aclocal.m4: Use m4_include, not sinclude. + +2019-10-21 Tom de Vries + + * gdb.base/infcall-nested-structs.c: Add + __attribute__((noinline,noclone)) to all functions. + (call_all): Add missing variable initialization. Simplify return value. + (breakpt): Increment volatile variable, to prevent call from being + optimized out. + * gdb.base/infcall-nested-structs.exp: Compile with -O2. + +2019-10-17 Tom de Vries + + * gdb.fortran/module.exp: Allow info variables to print info for files + other than module.f90. + +2019-10-16 Andrew Burgess + + * gdb.fortran/module.exp: Extend with 'info variables' test. + +2019-10-16 Andrew Burgess + + * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and + F77_FOR_TARGET. + +2019-10-16 Tom de Vries + + PR tdep/25096 + * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs. + +2019-10-16 Tom de Vries + + PR tdep/24104 + * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104. + Add KFAIL for PR tdep/25096. + +2019-10-16 Tom de Vries + + PR testsuite/25059 + * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541. + +2019-10-16 Tom de Vries + + * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed + as signed. + +2019-10-14 Simon Marchi + + * gdb.mi/list-thread-groups-available.exp: Read entries one by + one instead of increasing timeout. + +2019-10-13 Tom de Vries + + PR record/25038 + * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL. + * gdb.reverse/sigall-reverse.exp: Same. + * gdb.reverse/solib-precsave.exp: Same. + * gdb.reverse/solib-reverse.exp: Same. + * gdb.reverse/step-precsave.exp: Same. + * gdb.reverse/until-precsave.exp: Same. + * gdb.reverse/until-reverse.exp: Same. + * lib/gdb.exp (gdb_continue_to_breakpoint): Same. + +2019-10-10 Andreas Arnez + + * gdb.base/infcall-nested-structs.c (cmp_struct_02_01) + (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02) + (cmp_struct_05_01, cmp_struct_static_02_01) + (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant + comparisons. + +2019-10-10 Tom de Vries + + PR testsuite/24888 + * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to + gnatlink. + +2019-10-09 Tom de Vries + + PR testsuite/25048 + * gdb.rust/simple.exp: Add xfails for incorrect DWARF. + +2019-10-07 Andrew Burgess + + * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada + exceptions due to missing debug information. + +2019-10-07 Tom de Vries + + * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1. + +2019-10-07 Andrew Burgess + + * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism. + * gdb.base/annota1.exp: Update to use gdb_test_name. + +2019-10-07 Weimin Pan + + * gdb.base/ctf-whatis.exp: New file. + * gdb.base/ctf-whatis.c: New file. + * gdb.base/ctf-ptype.exp: New file. + * gdb.base/ctf-ptype.c: New file. + * gdb.base/ctf-constvars.exp: New file. + * gdb.base/ctf-constvars.c: New file. + * gdb.base/ctf-cvexpr.exp: New file. + +2019-10-04 Tom de Vries + + * gdb.cp/local-static.c (main): Move declaration of int i out of the + for loop. + +2019-10-03 Tom Tromey + + PR rust/24976: + * gdb.rust/simple.rs (Union2): New type. + (main): Use Union2. + * gdb.rust/simple.exp: Add test. + +2019-10-03 Andrew Burgess + + * gdb.fortran/nested-funcs-2.exp: Run tests with and without the + nested function prefix. + +2019-10-03 Bernhard Heckel + Richard Bunt + Andrew Burgess + + * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on + nested functions. + * gdb.fortran/nested-funcs.f90: Update expected results. + * gdb.fortran/nested-funcs-2.exp: New file. + * gdb.fortran/nested-funcs-2.f90: New file. + +2019-10-03 Andrew Burgess + + * gdb.python/py-parameter.exp: Make test names unique. + * gdb.python/py-template.exp: Likewise. + * gdb.python/py-value.exp: Likewise. + +2019-10-03 Andrew Burgess + + * gdb.base/break-interp.exp: Reduce test name duplication. + * gdb.base/call-sc.exp: Likewise. + * gdb.base/callfuncs.exp: Likewise. + * gdb.base/charset.exp: Likewise. + * gdb.base/dump.exp: Likewise. + * gdb.base/ena-dis-br.exp: Likewise. + * gdb.base/relational.exp: Likewise. + * gdb.base/step-over-syscall.exp: Likewise. + * gdb.base/structs.exp: Likewise. + +2019-10-03 Andrew Burgess + + * gdb.linespec/explicit.exp: Make test names unique. + * gdb.linespec/ls-errs.exp: Likewise. + +2019-10-03 Andrew Burgess + + * gdb.reverse/break-precsave.exp: Make test names unique. + * gdb.reverse/break-reverse.exp: Likewise. + * gdb.reverse/finish-precsave.exp: Likewise. + * gdb.reverse/finish-reverse.exp: Likewise. + * gdb.reverse/machinestate-precsave.exp: Likewise. + * gdb.reverse/machinestate.exp: Likewise. + * gdb.reverse/readv-reverse.exp: Likewise. + * gdb.reverse/recvmsg-reverse.exp: Likewise. + * gdb.reverse/sigall-precsave.exp: Likewise. + * gdb.reverse/sigall-reverse.exp: Likewise. + * gdb.reverse/step-indirect-call-thunk.exp: Likewise. + * gdb.reverse/watch-precsave.exp: Likewise. + * gdb.reverse/watch-reverse.exp: Likewise. + +2019-10-03 Andrew Burgess + + * gdb.threads/stop-with-handle.c: New file. + * gdb.threads/stop-with-handle.exp: New file. + +2019-10-03 Tom de Vries + + PR testsuite/25059 + * gdb.base/list-missing-source.exp: Allowing the "Compilation + directory" line to be missing. + +2019-10-03 Tom de Vries + + PR testsuite/25059 + * gdb.base/info-types.exp: Make the presence of the 'unsigned int' + type optional. + +2019-10-02 Andreas Arnez + + * gdb.python/py-format-string.c (string.h): New include. + (main): Fill a_struct_with_union.the_union.an_int with bytes of + the same value, for endianness-independence. + * gdb.python/py-format-string.exp (default_regexp_dict) + (test_pretty_structs, test_format): Adjust expected output to the + changed initialization. + +2019-10-02 Tom Tromey + + * gdb.ada/catch_ex_std.exp: Add $_ada_exception test. + +2019-10-02 Pedro Alves + Andrew Burgess + + * gdb.base/print-file-var-lib1.c: Include and + "print-file-var.h". + (this_version_id) Use ATTRIBUTE_VISIBILITY. + (get_version_1): Print this_version_id and its address. + Add extern "C" wrappers around interface functions. + * gdb.base/print-file-var-lib2.c: Include and + "print-file-var.h". + (this_version_id) Use ATTRIBUTE_VISIBILITY. + (get_version_2): Print this_version_id and its address. + Add extern "C" wrappers around interface functions. + * gdb.base/print-file-var-main.c: Include , , + and "print-file-var.h". + Add extern "C" wrappers around interface functions. + [VERSION_ID_MAIN] (this_version_id): Define. + (main): Define v0. Use dlopen if SHLIB_NAME is defined. + * gdb.base/print-file-var.h: Add some #defines to simplify setting + up extern "C" blocks. + * gdb.base/print-file-var.exp (test): New, factored out from top + level. + (top level): Test all combinations of attribute hidden or not, + dlopen or not, and this_version_id symbol in main file or not. + Compile tests as both C++ and C, make test names unique. + +2019-10-01 Tom Tromey + + * gdb.base/style.exp: Test "show logging filename". + +2019-10-01 Tom Tromey + + * lib/gdb-utils.exp (style): Handle "metadata" argument. + * gdb.base/style.exp: Add metadata style test. + +2019-10-01 Tom Tromey + + * gdb.base/style.exp: Test "pwd". + +2019-10-01 Tom Tromey + + * gdb.base/style.exp: Update tests. + +2019-10-01 Andreas Arnez + + * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and + 'six' to unsigned. + (s1): Initialize fields 'four' and 'six' instead of 'three' and + 'five'. Use an all-ones bit pattern for each. + * gdb.base/pretty-print.exp: Adjust expected output of "print s1" + to its changed values. + +2019-09-30 Tom Tromey + + * gdb.rust/traits.rs: Disable all warnings. + +2019-09-29 Tom de Vries + + * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file. + +2019-09-29 Tom de Vries + + * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy. + +2019-09-27 Tom de Vries + + * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps. + +2019-09-27 Tom de Vries + + PR record/23188 + * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188. + +2019-09-26 Tom Tromey + + * gdb.ada/py_taft.exp: New file. + * gdb.ada/py_taft/main.adb: New file. + * gdb.ada/py_taft/pkg.adb: New file. + * gdb.ada/py_taft/pkg.ads: New file. + +2019-09-24 Tom de Vries + + PR gdb/24598 + * gdb.arch/amd64-init-x87-values.exp: Add xfail. + +2019-09-22 Tom de Vries + + * gdb.base/restore.exp: Allow register variables to be optimized out at + -O0. + +2019-09-20 Ulrich Weigand + + * gdb.arch/spu-info.exp: Remove file. + * gdb.arch/spu-info.c: Remove file. + * gdb.arch/spu-ls.exp: Remove file. + * gdb.arch/spu-ls.c: Remove file. + + * gdb.asm/asm-source.exp: Remove support for spu*-*-*. + * gdb.asm/spu.inc: Remove file. + + * gdb.base/dump.exp: Remove support for spu*-*-*. + * gdb.base/stack-checking.exp: Likewise. + * gdb.base/overlays.exp: Likewise. + * gdb.base/ovlymgr.c: Likewise. + * gdb.base/spu.ld: Remove file. + + * gdb.cp/bs15503.exp: Remove support for spu*-*-*. + * gdb.cp/cpexprs.exp: Likewise. + * gdb.cp/exception.exp: Likewise. + * gdb.cp/gdb2495.exp: Likewise. + * gdb.cp/mb-templates.exp: Likewise. + * gdb.cp/pr9167.exp: Likewise. + * gdb.cp/userdef.exp: Likewise. + + * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*. + + * gdb.cell: Remove directory. + * lib/cell.exp: Remove file. + +2019-09-19 Tom de Vries + + * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern. + +2019-09-19 Tom de Vries + + * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing. + +2019-09-19 Tom de Vries + + * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning + UNSUPPORTED) for 'Network is unreachable' message. Factor out of ... + (gdb_target_cmd): ... here. + * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return + value 2. + +2019-09-18 Andrew Burgess + + * gdb.base/source-dir.exp: Avoid having directory names in test + names. + +2019-09-17 Andrew Burgess + + * gdb.base/source-dir.exp: Add extra test for mapped compilation + directory. + +2019-09-17 Andrew Burgess + + * gdb.base/list-missing-source.exp: New file. + +2019-09-14 Tom de Vries + + PR teststuite/24599 + * gdb.ada/rename_subscript_param.exp: Require gnatmake 8. + * lib/ada.exp (gnatmake_version_at_least): New proc. + +2019-09-12 Andrew Burgess + + * gdb.base/maint.exp: Use exec_has_index_section. + +2019-09-12 Andrew Burgess + + * gdb.base/maint.exp: Add test for 'maint info sections'. + +2019-09-12 Tom de Vries + + * gdb.base/store.exp: Allow register variables to be optimized out at + -O0. + +2019-09-12 Philippe Waroquiers + + * gdb.ada/rdv_wait.exp: Update to new task names. + * gdb.base/task_switch_in_core.exp: Likewise. + * gdb.base/info_sources_base.c: Likewise. + +2019-09-10 Tom Tromey + + * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET. + +2019-09-10 Tom Tromey + + * gdb.ada/dgopt.exp: New file. + * gdb.ada/dgopt/x.adb: New file. + +2019-09-08 Tom Tromey + + * gdb.tui/resize.exp: Remove setup_xfail. + * gdb.tui/regs.exp: Remove setup_xfail. + * gdb.tui/basic.exp: Remove setup_xfail. + +2019-09-06 David Blaikie + + * gdb.base/label.exp: un-XFAIL label related tests under Clang. + * gdb.cp/cplabel.exp: Ditto. + * gdb.linespec/ls-errs.exp: Ditto. + +2019-09-05 Tom de Vries + + * lib/gdb.exp (cmp_file_string): New proc. + * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with + runto_main. Verify save breakpoints output. + +2019-09-04 Philippe Waroquiers + + * gdb.base/info-var.exp: Test info variables without running + to main, to avoid expect's buffer overflow. + +2019-09-03 Tom Tromey + + * gdb.ada/bias.exp: New file. + * gdb.ada/bias/bias.adb: New file. + * gdb.ada/print_chars.exp: Add regression test. + * gdb.ada/print_chars/foo.adb (My_Character): New type. + (MC): New variable. + +2019-08-29 Sandra Loosemore + + * gdb.base/argv0-symlink.exp: Run only on native target + and local host. + +2019-08-29 Tom de Vries + + * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more + diverse debug info. + * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4. + +2019-08-28 Tom de Vries + + * gdb.base/info-var.exp: Allow info variables to print info for files + other than info-var-f1.c and info-var-f2.c. + +2019-08-28 Andrew Burgess + + * gdb.fortran/info-types.exp: Add module. + * gdb.fortran/info-types.f90: Update expected results. + +2019-08-28 Andrew Burgess + + * gdb.fortran/info-types.exp: New file. + * gdb.fortran/info-types.f90: New file. + * lib/fortran.exp (fortran_character1): New proc. + +2019-08-27 Andrew Burgess + + * gdb.base/info-fun.exp: Extend to test the -n flag for 'info + functions'. Reindent as needed. + * gdb.base/info-var-f1.c: New file. + * gdb.base/info-var-f2.c: New file. + * gdb.base/info-var.exp: New file. + * gdb.base/info-var.h: New file. + +2019-08-26 Tom de Vries + + PR c++/24852 + * gdb.cp/no-libstdcxx-probe.exp: New test. + +2019-08-26 Tom de Vries + + * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe + * tests need to be skipped. + * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests. + * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to + mi_skip_libstdcxx_probe_tests. + +2019-08-26 Sergio Durigan Junior + + * gdb.python/py-xmethods.exp: Use raw strings when passing + arguments to SimpleXMethodMatcher. + +2019-08-22 Tom de Vries + + * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages + more informative. + +2019-08-21 Pedro Alves + + * gdb.base/with.exp: Test "with" with no arguments. + +2019-08-21 Tom de Vries + + * gdb.base/gdb-caching-proc.exp: Sort files. + +2019-08-20 Tom de Vries + + * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before + compilation. + +2019-08-16 Tom de Vries + + * gdb.base/compare-sections.exp ("after run to main"): Allow + mismatched read-only sections for PIE executables. + +2019-08-16 Tom Tromey + + * lib/tuiterm.exp (_csi_Z): New proc. + * gdb.tui/basic.exp: Update window positions. + * gdb.tui/empty.exp: Update window positions. + +2019-08-15 Sandra Loosemore + + * gdb.base/examine-backward.exp: Correct regexp for + "examine 3 bytes backward from ${address_zero}". + +2019-08-15 Tom Tromey + + * gdb.tui/empty.exp: Enable resizing tests. + +2019-08-15 Tom Tromey + + * gdb.ada/char_enum.exp: Add regression tests. + * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_' + and '0'. + (Char, Gchar): Update. + * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'. + +2019-08-15 Christian Biesinger + + * gdb.python/python.exp: Expect a leading underscore on + GdbOutput{,Error}File. + +2019-08-15 Sandra Loosemore + + * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or + Windows host. + +2019-08-15 Sandra Loosemore + + * gdb.base/batch-preserve-term-settings.exp + (test_terminal_settings_preserved_after_sigterm): Skip on Windows. + +2019-08-15 Christian Biesinger + + * lib/gdb.exp: When running on a mingw target, replace + /x/ with x:/. + +2019-08-14 Alan Hayward + + * gdb.arch/aarch64-prologue.c: New test. + * gdb.arch/aarch64-prologue.exp: New file. + +2019-08-13 Tom de Vries + + * gdb.gdb/selftest.exp (send ^C to child process again): Accept also + Thread. + +2019-08-13 Sandra Loosemore + + * gdb.python/py-completion.exp: Download the .py file to the host + and use its host pathname. Conditionalize tests that use + tab completion and manipulate files on the build machine. + * gdb.python/py-events.exp: Download the .py file to the host + and use its host pathname. + * gdb.python/py-evsignal.exp: Likewise. + * gdb.python/py-evthreads.exp: Likewise. + * gdb.python/py-framefilter-invalidarg.exp: Match Windows + pathname syntax. + * gdb.python/py-framefilter.exp: Download the .py file to the right + place on the host. Match Windows pathname syntax. + * gdb.python/py-mi-var-info-path-expression.exp: Download the + .py file to the host and use its host pathname. + * gdb.python/py-objfile-script.exp: Match Windows pathname syntax. + * gdb.python/py-objfile.exp: Expect a host pathname, not a + build pathname. Skip symlink test on Windows host. Add missing + newline at end of file. + * gdb.python/py-pp-maint.exp: Download the .py file to the host + and use its host pathname. + * gdb.python/py-pp-registration.exp: Match Windows pathname syntax. + * gdb.python/py-section-script.exp: Use host location of binfile + on safe-path. Use correct path separator on Windows host. + Reorder alternatives in gdb_test_multiple to prevent matching + the wrong alternative on success. + * gdb.python/py-symtab.exp: Match Windows pathname syntax. + +2019-08-12 Patrick Palka + + * gdb.gdb/selftest.exp (test_with_self): Update test to now + expect the GDB inferior to no longer immediately stop after + being resumed with "signal SIGINT". + +2019-08-09 Sandra Loosemore + + * gdb.linespec/break-ask.exp: Generalize regexps to match + Windows pathnames too. + +2019-08-08 Tom de Vries + + PR testsuite/24862 + * lib/tuiterm.exp (_accept): Fix CSI regexp. + +2019-08-07 Philippe Waroquiers + + * gdb.base/style.exp: Update tests for help doc new invariants. + * gdb.base/help.exp: Likewise. + +2019-08-06 Tom Tromey + + * gdb.base/style.exp: Add disassemble test. + * gdb.base/style.c (some_called_function): New function. + (main): Use it. + +2019-08-05 Christian Biesinger + + * gdb.python/py-block.exp: Test dictionary access on blocks. + +2019-08-05 Simon Marchi + + PR gdb/24863 + * gdb.mi/list-thread-groups-available.exp: Increase timeout for + -list-thread-groups --available test when running under + check-read1. + +2019-08-05 Tom de Vries + + PR testsuite/24863 + * lib/gdb.exp (with_read1_timeout_factor): New proc. + * gdb.base/help.exp: Use with_read1_timeout_factor. + * gdb.base/info-macros.exp: Same. + * gdb.cp/nested-types.exp: Same. + +2019-08-05 Tom de Vries + + * lib/gdb.exp (version_at_least): Factor out of ... + (tcl_version_at_least): ... here. + (gdb_compile): Fail if pie results in non-PIE executable. + (readelf_version, readelf_prints_pie): New proc. + (exec_is_pie): Return -1 if unknown. + +2019-08-05 Tom de Vries + + * lib/gdb.exp (tcl_version_at_least): Fix typo. + +2019-08-04 Sandra Loosemore + + * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts. + +2019-08-04 Sandra Loosemore + + * lib/completion-support.exp (test_gdb_complete_none): Skip + tab completion tests if no readline support. + (test_gdb_complete_unique_re): Likewise. + (test_gdb_complete_multiple): Likewise. + +2019-08-03 Philippe Waroquiers + + * gdb.base/info_sources.exp: New file. + * gdb.base/info_sources.c: New file. + * gdb.base/info_sources_base.c: New file. + +2019-08-01 Pedro Franco de Carvalho + + * gdb.base/batch-exit-status.exp: Call test_exit_status with + prefix argument. + (test_exit_status): Add prefix argument. + +2019-08-01 Tom de Vries + + PR testsuite/24863 + * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by + calling exp_continue for new thread and thread exited messages. + +2019-08-01 Tom de Vries + + PR testsuite/24863 + * gdb.base/structs.exp: Fix check-read1 timeout using + gdb_test_sequence. + * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc. + +2019-08-01 Tom de Vries + + PR testsuite/24863 + * gdb.base/break-interp.exp: Use exp_continue after each "info files" + line. + +2019-08-01 Tom de Vries + + PR testsuite/24863 + * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence. + +2019-07-30 Tom Tromey + + * gdb.ada/display_nested.exp: New file. + * gdb.ada/display_nested/foo.adb: New file. + * gdb.ada/display_nested/pack.adb: New file. + * gdb.ada/display_nested/pack.ads: New file. + +2019-07-30 Christian Biesinger + + * gdb.python/py-symbol.c: Add a static variable and one in an anonymous + namespace. + * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol. + +2019-07-30 Tom de Vries + + * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1) + instead. + +2019-07-30 Tom de Vries + + PR testsuite/24834 + * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable. + (exec_is_pie): New proc. + +2019-07-29 Christian Biesinger + + * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent) + +2019-07-29 Christian Biesinger + + * gdb.python/py-objfile.c: Add global and static vars. + * gdb.python/py-objfile.exp: Test new functions Objfile. + lookup_global_symbol and lookup_static_symbol. + +2019-07-29 Tom Tromey + + * lib/tuiterm.exp (Term::_csi_@): New proc. + (Term::_csi_X): Don't move cursor. + +2019-07-29 Philippe Waroquiers + + * gdb.base/options.exp: Update backtrace - completion to + new option -frame-info. + * gdb.base/frame-args.exp: Test new 'frame-arguments presence'. + Test new 'set print frame-info'. Test backtrace -frame-info + overriding 'set print frame-info'. + * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'. + Test new 'set print frame-info'. + Verify consistency of backtrace with and without filters, with and + without -no-filters. + * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what + default. + +2019-07-29 Tom de Vries + + * gdb.linespec/explicit.exp: Fix completion trigger for "complete with + no arguments". + +2019-07-29 Tom de Vries + + * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second + is a substring of the first for "complete non-unique file name". + +2019-07-29 Tom de Vries + + * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp + with ".*". + +2019-07-29 Tom de Vries + + * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1): + Pass prompt_regexp parameter to gdb_test_multiple calls. + +2019-07-29 Tom de Vries + + * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint + print registers" regexps. + +2019-07-29 Tom de Vries + + * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp. + +2019-07-29 Tom de Vries + + PR gdb/24855 + * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter. + (skip_python_tests_prompt): Add prompt_regexp argument to + gdb_test_multiple calls. + +2019-07-27 Tom Tromey + + * gdb.tui/main.exp: New file. + +2019-07-27 Tom Tromey + + * lib/tuiterm.exp (Term::clean_restart): Make "executable" + optional. + * gdb.tui/empty.exp: New file. + +2019-07-27 Tom Tromey + + * lib/tuiterm.exp (spawn): New proc. + (Term::resize): New proc. + * gdb.tui/resize.exp: New file. + +2019-07-27 Tom Tromey + + * gdb.tui/list.exp: New file. + +2019-07-27 Tom Tromey + + * gdb.tui/regs.exp: New file. + +2019-07-27 Tom Tromey + + * gdb.tui/basic.exp: Add "layout split" test. + +2019-07-27 Tom Tromey + + * gdb.tui/basic.exp: Add "layout asm" test. + +2019-07-27 Tom Tromey + + * lib/tuiterm.exp: New file. + * gdb.tui/basic.exp: New file. + +2019-07-27 Kevin Buettner + + * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping): + Enable tests associated with this flag. Adjust regex + referencing "foo_low" to now refer to "foo_cold" instead. + +2019-07-27 Kevin Buettner + + * gdb.dwarf2/dw2-ranges-func.c: Rename to... + * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this. + * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to + foo_cold. Revise comments to match. + * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file. + * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests + were wrapped into this proc; Call do_test in loop from outermost + level. + (foo_low): Rename all occurrences to "foo_cold". + (backtrace from baz): New test. + (x2/i foo_cold): New test. + (info line *foo_cold): New test. + +2019-07-26 Tom de Vries + + * gdb.arch/i386-pkru.exp: Fix unterminated string. + +2019-07-25 Tom de Vries + + PR testsuite/24830 + * gdb.mi/mi-catch-cpp-exceptions.exp: Call + mi_skip_libstdcxx_probe_tests, and skip unsupported tests. + * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ... + (skip_libstdcxx_probe_tests): ... here. + * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc. + +2019-07-24 Tom de Vries + + PR testsuite/24807 + * gdb.objc/basicclass.m: Include stdio.h. + * gdb.objc/nondebug.m: Same. + * gdb.objc/objcdecode.m: Same. + +2019-07-24 Tom de Vries + + PR testsuite/24612 + * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to + additional_flags. + +2019-07-24 Tom de Vries + + PR testsuite/24831 + * gdb.multi/tids.exp: Update error messages for info threads. + +2019-07-24 Tom de Vries + + * gdb.base/info-types.exp: Allow info types to print info for more than + one file. + +2019-07-23 Tom de Vries + + PR testsuite/24842 + * gdb.dwarf2/multidictionary.exp: Consume initial prompt after + gdb_spawn_with_cmdline_opts. + +2019-07-23 Srinath Parvathaneni + + * gdb.arch/arm-cmse-sgstubs.c: New test. + * gdb.arch/arm-cmse-sgstubs.exp: New file. + +2019-07-23 Tom de Vries + + PR testsuite/24711 + * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before + issuing next command. + +2019-07-22 Andrew Burgess + + * gdb.ada/info_auto_lang.exp: Update expected results. + * gdb.base/info-types.c: Add additional types to check. + * gdb.base/info-types.exp: Update expected results. + +2019-07-22 Andrew Burgess + + * gdb.base/info-types.c: New file. + * gdb.base/info-types.exp: New file. + +2019-07-19 Andrew Burgess + + * gdb.arch/riscv-bp-infcall.c: New file. + * gdb.arch/riscv-bp-infcall.exp: New file. + +2019-07-17 Andrew Burgess + + PR breakpoints/24541 + * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541. + +2019-07-14 Tom de Vries + + PR testsuite/24760 + * gdb.objc/basicclass.exp: Fix unterminated string. + +2019-07-12 Bernhard Heckel + Andrew Burgess + + * gdb.fortran/vla-ptype.exp: Print array with negative bounds. + * gdb.fortran/vla-sizeof.exp: Print the size of an array with + negative bounds. + * gdb.fortran/vla-value.exp: Print elements of an array with + negative bounds. + * gdb.fortran/vla.f90: Setup an array with negative bounds for + testing. + +2019-07-11 Andrew Burgess + + * gdb.base/options.exp (expect_string): Dequote strings in + results. + (test-string): Test strings with different quoting and reindent. + +2019-07-10 Tom Tromey + + * gdb.ada/mi_ex_cond.exp: Update expected results. + * gdb.ada/mi_catch_ex_hand.exp: Update expected results. + * gdb.ada/mi_catch_ex.exp: Update expected results. + * gdb.ada/mi_catch_assert.exp: Update expected results. + * gdb.ada/catch_ex.exp (catch_exception_info) + (catch_exception_entry, catch_assert_entry) + (catch_unhandled_entry): Update. + * gdb.ada/catch_assert_if.exp: Update expected results. + +2019-07-10 Richard Bunt + Stephen Roberts + + * gdb.base/define.exp: Restore original prompt. + +2019-07-09 Pedro Alves + + * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info + breakpoints" output. + * gdb.cp/exception.exp: Adjust expected "info breakpoints" output. + * gdb.python/py-breakpoint.exp: No longer expect that "catch + throw" creates breakpoint. + * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect + 'type="catchpoint"'. + +2019-07-09 Pedro Alves + + PR c++/15468 + * gdb.cp/except-multi-location-lib.cc: New. + * gdb.cp/except-multi-location-main.cc: New. + * gdb.cp/except-multi-location.exp: New. + +2019-07-09 Sergio Durigan Junior + + * gdb.base/printcmds.exp (test_printf_convenience_var): Set + language to "c++" before dealing with wchar_t. Remove DO_WSTRING + argument and update callers. + +2019-07-09 Andrew Burgess + + * gdb.arch/amd64-break-on-asm-line.S: New file. + * gdb.arch/amd64-break-on-asm-line.exp: New file. + +2019-07-08 Philippe Waroquiers + + * gdb.base/printcmds.exp: Test printing C string and + C wide string convenience vars without transiting via the inferior. + Also make test names unique. + +2019-07-08 Alan Hayward + + PR breakpoints/25011 + * gdb.base/break-idempotent.exp: Test both PIE and non PIE. + +2019-07-04 Pedro Alves + + * lib/gdb.exp (foreach_with_prefix): Don't return early if + body returned ok(0), break(3) or continue(4). + * gdb.testsuite/foreach_with_prefix.exp: New file. + +2019-07-04 Alan Hayward + + * gdb.server/unittest.exp: Allow 0 unit tests to run. + +2019-07-03 Pedro Alves + + * lib/gdb.exp (foreach_with_prefix): Use "catch" and + "return -code". + +2019-07-03 Pedro Alves + + PR cli/24732 + * gdb.base/shell.exp: Load completion-support.exp. + Adjust expected error output. Add completion tests. + +2019-07-03 Pedro Alves + + * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use + string_to_regexp. + +2019-07-03 Pedro Alves + + * gdb.base/options.exp (expect_none, expect_flag, expect_bool) + (expect_integer): Adjust to expect "-string". + (expect_string): New. + (all_options): Expect "-string". + (test-flag, test-boolean): Adjust to expect "-string". + (test-string): New proc. + (top level): Call it. + +2019-07-03 Pedro Alves + + * gdb.base/options.exp (test-misc, test-flag, test-boolean) + (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass + the expected output in the success. + +2019-07-03 Pedro Alves + + * lib/completion-support.exp (test_gdb_complete_tab_multiple): + Split one gdb_test_multiple call in two to avoid a race. + +2019-07-03 Pedro Alves + + * gdb.base/with.c: New file. + * gdb.base/with.exp: New file. + +2019-07-03 Pedro Alves + + * gdb.base/settings.exp: Replace all references to "maint + test-settings set" with references to "maint set test-settings", + and all references to "maint test-settings show" with references + to "maint show test-settings". + +2019-07-03 Pedro Alves + + * gdb.base/settings.exp (test-string): Adjust expected out when + testing "maint test-settings show filename" + +2019-07-02 Pedro Alves + + * gdb.base/options.exp (test-info-threads): New procedure. + (top level): Call it. + +2019-06-28 Tom Tromey + + * gdb.dwarf2/ada-linkage-name.c: New file. + * gdb.dwarf2/ada-linkage-name.exp: New file. + +2019-06-27 Tom Tromey + + PR c++/20020: + * gdb.cp/constexpr-field.exp: Use setup_xfail. + +2019-06-26 Tom de Vries + + * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF. + +2019-06-26 Tom de Vries + + * gdb.base/index-cache.exp: Add back missing debug option. + +2019-06-23 Philippe Waroquiers + + * gdb.base/alias.exp: Test non matching/non existing prefixes. + +2019-06-25 Tom de Vries + + PR testsuite/24727 + * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1. + +2019-06-24 Tom de Vries + + * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference. + +2019-06-24 Tom de Vries + + * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of + DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file. + * gdb.trace/unavailable-dwarf-piece.exp: Same. + +2019-06-24 Tom de Vries + + * gdb.dwarf2/inlined_subroutine-inheritance.exp: + +2019-06-21 Tom de Vries + + * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id. + +2019-06-21 Tom de Vries + + PR testsuite/24518 + PR ada/24713 + * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains + index. + +2019-06-19 Tom Tromey + + * gdb.ada/length_cond.exp: Add intro comment. + +2019-06-19 Tom Tromey + + * gdb.ada/length_cond.exp: New file. + * gdb.ada/length_cond/length_cond.adb: New file. + * gdb.ada/length_cond/pck.adb: New file. + * gdb.ada/length_cond/pck.ads: New file. + +2019-06-18 Tom de Vries + + * boards/fission.exp (debug_flags): Add "-fuse-ld=gold". + +2019-06-18 Tom Tromey + + * gdb.base/list0.h: Add comment explaining control character. + +2019-06-18 Tom de Vries + + * boards/fission.exp: Break up long debug_flags line. + +2019-06-16 Tom de Vries + + PR gdb/24445 + * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with + generated index. + +2019-06-16 Andrew Burgess + + PR gdb/24686 + * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to + improve detection of bug gdb/24541. + +2019-06-16 Simon Marchi + + PR gdb/24669 + * gdb.base/index-cache.exp (uses_readnow, + expecting_index_cache_use): Define global variable. + (test_cache_enabled_miss, test_cache_enabled_hit): Use + expecting_index_cache_use. + +2019-06-16 Bernhard Heckel + Andrew Burgess + + * gdb.fortran/pointers.f90: New file. + * gdb.fortran/print_type.exp: New file. + * gdb.fortran/vla-ptype.exp: Adapt expected results. + * gdb.fortran/vla-type.exp: Likewise. + * gdb.fortran/vla-value.exp: Likewise. + * gdb.mi/mi-vla-fortran.exp: Likewise. + +2019-06-15 Andrew Burgess + + * gdb.mi/mi-catch-cpp-exceptions.cc: New file. + * gdb.mi/mi-catch-cpp-exceptions.exp: New file. + * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught' + as a stop reason. + +2019-06-15 Andrew Burgess + + * gdb.base/annota1.exp: Update expected results. + * gdb.cp/annota2.exp: Likewise. + * gdb.cp/annota3.exp: Likewise. + +2019-06-15 Andrew Burgess + + * gdb.base/style-logging.exp: Remove path from test name. + +2019-06-14 Tom Tromey + + PR gdb/24502: + * gdb.base/style-logging.exp: New file. + +2019-06-14 Tom Tromey + + * gdb.base/symfile-warn.exp: New file. + * gdb.base/symfile-warn.c: New file. + +2019-06-14 Tom Tromey + + * gdb.base/annotate-symlink.exp: New file. + +2019-06-14 Tom Tromey + + * gdb.ada/set_wstr.exp: Add reassignment test. + +2019-06-14 Tom Tromey + + * gdb.ada/formatted_ref.exp (test_p_x_addr): Check + 'unchecked_access and 'unrestricted_access as well. + +2019-06-14 Tom Tromey + + PR ada/24539: + * gdb.ada/vla.exp: Update tests. + * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering + pragma. + +2019-06-13 Pedro Alves + + * gdb.base/settings.exp (test-integer): Test junk after + "unlimited". + +2019-06-13 Pedro Alves + + * gdb.base/options.exp (test-thread-apply): New. + (top level): Call it. + +2019-06-13 Pedro Alves + + * gdb.base/options.exp (test-frame-apply): New. + (top level): Test print commands with different "frame apply" + prefixes. + +2019-06-13 Pedro Alves + + * lib/completion-support.exp (test_gdb_complete_tab_multiple) + (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add + 'max_completions' parameter and handle it. + (test_gdb_completion_offers_commands): New. + +2019-06-13 Pedro Alves + + * gdb.base/options.exp (test-backtrace): Test completing qualifiers. + +2019-06-13 Pedro Alves + + * gdb.base/options.exp (test-backtrace): New. + (top level): Call it. + +2019-06-13 Pedro Alves + + * gdb.guile/scm-frame-args.exp: Use "set print + raw-frame-arguments" instead of "set print raw frame-arguments". + * gdb.python/py-frame-args.exp: Likewise. + +2019-06-13 Pedro Alves + + * gdb.compile/compile.exp: Adjust expected output to option + processing changes. + +2019-06-13 Pedro Alves + + * gdb.base/options.exp: Build executable. + (test-print): New procedure. + (top level): Call it, once for "print" and another for "compile + print". + +2019-06-13 Pedro Alves + + * gdb.base/options.c: New file. + * gdb.base/options.exp: New file. + +2019-06-13 Pedro Alves + + * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check + that "o" is ambiguous. + +2019-06-13 Pedro Alves + + * gdb.base/settings.c: New file. + * gdb.base/settings.exp: New file. + +2019-06-13 Pedro Alves + + * gdb.base/completion.exp: Fix comment typo. + +2019-06-13 Pedro Alves + + * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1 + foo --1" test. + +2019-06-11 Bernhard Heckel + + * gdb.fortran/block-data.f: New. + * gdb.fortran/block-data.exp: New. + +2019-06-11 Tom de Vries + + PR testsuite/24521 + * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols" + message. + +2019-06-11 Tom de Vries + + PR testsuite/24521 + * gdb.dwarf2/nonvar-access.exp: Fix main high_pc. + +2019-06-11 Tom de Vries + + * boards/readnow.exp: New file. + +2019-06-10 Andrew Burgess + + * gdb.fortran/vla-sizeof.exp: Update expected results. + +2019-06-06 Amos Bird + + * gdb.base/annota1.exp (thread_switch): Add test for + thread-exited annotation. + +2019-06-06 Tom Tromey + + * gdb.base/maint.exp: Expect command started/finished output. + +2019-06-05 Andrew Burgess + + * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in + comment. + * gdb.arch/riscv-unwind-long-insn-8.s: Likewise. + +2019-06-05 Andrew Burgess + + * gdb.arch/riscv-unwind-long-insn-6.s: New file. + * gdb.arch/riscv-unwind-long-insn-8.s: New file. + * gdb.arch/riscv-unwind-long-insn.c: New file. + * gdb.arch/riscv-unwind-long-insn.exp: New file. + +2019-06-04 Christian Biesinger + + * gdb.python/py-type.exp: Test for new gdb.Type.objfile property. + +2019-06-03 Philippe Waroquiers + + * lib/gdb.exp (help_list_trailer): New regexp variable + factorizing the help trailer message. + (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS + arg to allow to better factorize various tests. + (test_user_defined_class_help): Factorizes testing 'help user-defined'. + (test_prefix_command_help): Use help_list_trailer. + * gdb.python/py-cmd.exp: Use test_user_defined_class_help. + * gdb.guile/scm-cmd.exp: Likewise. + * gdb.trace/tracecmd.exp: Update caller of test_class_help. + * gdb.base/help.exp: Use test_user_defined_class_help. + * gdb.base/style.exp: Add tests for styling of help and apropos. + * lib/gdb-utils.exp (style): Add title and highlight styles. + +2019-05-31 Philippe Waroquiers + + * gdb.base/shell.exp: Test pipe command, $_shell_exitcode, + $_shell_exitsignal. + * gdb.base/default.exp: Update for new convenience variables. + +2019-05-29 Tom Tromey + + * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-" + to "break complete ada" test case's regexp. + +2019-05-29 Tom Tromey + + PR c++/20020: + * gdb.cp/constexpr-field.exp: New file. + * gdb.cp/constexpr-field.cc: New file. + +2019-05-29 Tom Tromey + + * gdb.base/finish.exp (finish_no_print): New proc. + (finish_tests): Call it. + +2019-05-24 Tom de Vries + + * gdb.dwarf2/gdb-add-index.exp: New file. + +2019-05-22 Tom Tromey + + * gdb.base/info-shared.exp (check_info_shared): Use "style". + * gdb.base/style.exp: Use "style". + * lib/gdb-utils.exp (style): New proc. + +2019-05-22 Tom de Vries + + * gdb.base/align.exp: Require c++11. + +2019-05-22 Tom de Vries + + PR testsuite/24586 + * gdb.python/py-mi-var-info-path-expression.exp: Call + mi_skip_python_tests to check if python is supported. + +2019-05-22 Alan Hayward + + * gdb.arch/aarch64-pauth.c: New test. + * gdb.arch/aarch64-pauth.exp: New file. + +2019-05-22 Alan Hayward + + * README (Re-running Tests Outside The Testsuite): New section. + +2019-05-21 Tom de Vries + + * gdb.arch/amd64-eval.exp: Require c++11. + * gdb.base/max-depth.exp: Same. + * gdb.compile/compile-cplus-array-decay.exp: Same. + * gdb.cp/meth-typedefs.exp: Same. + * gdb.cp/subtypes.exp: Same. + * gdb.cp/temargs.exp: Same. + +2019-05-21 Alan Hayward + + * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional. + +2019-05-18 Andrew Burgess + + PR gdb/18644 + * gdb.fortran/complex.exp: Remove setup_kfail calls. + * gdb.fortran/printing-types.exp: Add new test. + * gdb.fortran/printing-types.f90: Add 16-byte real variable for + testing. + * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove + setup_kfail call. + +2019-05-17 Alan Hayward + + * README (Running the Testsuite): Change example. + (Testsuite Parameters): Remove TRANSCRIPT. + * lib/gdb.exp: Remove TRANSCRIPT check. + +2019-05-17 Alan Hayward + + * README (Testsuite Parameters): Add replay logging to + GDBSERVER_DEBUG. + (gdbserver,debug): Refer to GDBSERVER_DEBUG. + * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug + as a comma separated list. + (gdb_debug_init): Override procedure. + +2019-05-17 Alan Hayward + + * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file. + (gdb_write_cmd_file): New procedure. + * lib/gdbserver-support.exp (gdbserver_start): Call + gdbserver_write_cmd_file. + (gdbserver_write_cmd_file): New procedure. + +2019-05-17 Alan Hayward + + * lib/gdb.exp (gdb_unload): Mark Y as an answer. + (delete_breakpoints): Likewise. + (gdb_run_cmd): Likewise. + (gdb_start_cmd): Likewise. + (gdb_starti_cmd): Likewise. + (gdb_internal_error_resync): Likewise. + (gdb_test_multiple): Likewise. + (gdb_reinitialize_dir): Likewise. + (default_gdb_exit): Likewise. + (gdb_file_cmd): Mark kill as optional. + (default_gdb_start): Call gdb_stdin_log_init. + (send_gdb): Call gdb_stdin_log_write. + (rerun_to_main): Mark Y as an answer. + (gdb_stdin_log_init): New function. + (gdb_stdin_log_write): Likewise. + +2019-05-17 Alan Hayward + + * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging. + * gdb.base/debug-expr.exp: Likewise. + * gdb.base/foll-fork.exp: Likewise. + * gdb.base/foll-vfork.exp: Likewise. + * gdb.base/fork-print-inferior-events.exp: Likewise. + * gdb.base/gdb-sigterm.exp: Likewise. + * gdb.base/gdbinit-history.exp: Likewise. + * gdb.base/osabi.exp: Likewise. + * gdb.base/sss-bp-on-user-bp-2.exp: Likewise. + * gdb.base/ui-redirect.exp: Likewise. + * gdb.gdb/unittest.exp: Likewise. + * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging. + * gdb.mi/mi-watch.exp: Likewise. + * gdb.mi/new-ui-mi-sync.exp: Likewise. + * gdb.mi/user-selected-context-sync.exp: Likewise. + * gdb.python/python.exp: Disable debug test when debugging. + * gdb.threads/check-libthread-db.exp: Disable when debugging. + * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: + Likewise. + * gdb.threads/stepi-random-signal.exp: Likewise. + +2019-05-17 Alan Hayward + + * Makefile.in: Pass through GDB_DEBUG. + * README (Testsuite Parameters): Add GDB_DEBUG. + (gdb,debug): Add board setting. + * lib/gdb.exp (default_gdb_start): Start debugging. + (gdb_debug_enabled): New procedure. + (gdb_debug_init): Likewise. + +2019-05-17 Alan Hayward + + * Makefile.in: Pass through GDB_DEBUG. + * README (Testsuite Parameters): Add GDB_DEBUG. + (gdb,debug): Add board setting. + * lib/gdb.exp (default_gdb_start): Start debugging. + (gdb_debug_enabled): New procedure. + (gdb_debug_init): Likewise. + +2019-05-17 Alan Hayward + + * gdb.base/ui-redirect.exp: Add debug redirect tests. + +2019-05-17 Alan Hayward + + * gdb.base/ui-redirect.exp: Test redirection. + +2019-01-28 Jan Vrany + + * gdb.mi/mi-complete.exp: New file. + * gdb.mi/mi-complete.cc: Likewise. + +2019-05-15 Bernhard Heckel + + * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to + indexed and sliced arrays, and pointers to arrays. + +2019-05-14 Tom Tromey + + * gdb.base/info-shared.exp (check_info_shared): Add "info shared" + styling test. + +2019-05-14 Tom de Vries + + * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address + selection entry encoding. + +2019-05-10 Tom Tromey + + * gdb.ada/info_exc.exp: Add "complete" test. + +2019-05-09 Tom de Vries + + * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references + CU-relative. + +2019-05-09 Tom de Vries + + * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references + CU-relative. + +2019-05-08 Joel Brobecker + + * gdb.ada/frame_arg_lang.exp: New testcase. + * gdb.ada/frame_arg_lang/bla.adb: New file. + * gdb.ada/frame_arg_lang/pck.ads: New file. + * gdb.ada/frame_arg_lang/pck.adb: New file. + * gdb.ada/frame_arg_lang/foo.c: New file. + +2019-05-08 Tom Tromey + + * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test. + +2019-05-08 Tom Tromey + + * gdb.base/ptype-offsets.exp: Update tests. + +2019-05-08 Tom Tromey + + * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test + cases. + * gdb.base/ptype-offsets.cc (struct abc) : Now + "short". + +2019-05-08 Tom Tromey + + * gdb.ada/vla.exp: New file. + * gdb.ada/vla/vla.adb: New file. + +2019-05-07 Tom de Vries + + * gdb.base/index-cache.exp (ls_host): Fix return statement. + +2019-05-07 Tom de Vries + + PR testsuite/24522 + * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges + section. + +2019-05-07 Tom de Vries + + PR testsuite/24522 + * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in + .debug_aranges section. + +2019-05-07 Tom de Vries + + PR testsuite/24159 + * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr. + +2019-05-06 Tom de Vries + + * lib/gdb.exp (exec_has_index_section): New proc. + * gdb.base/index-cache.exp: Handle case that binfile contains an index + section. + +2019-05-04 Tom de Vries + + * boards/cc-with-debug-names.exp: New file. + +2019-05-03 Tom Tromey + + * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type. + * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type. + * gdb.ada/char_enum.exp: Add test. + +2019-05-03 Tom de Vries + + * boards/cc-with-gdb-index.exp: New file. + +2019-05-02 Andrew Burgess + + * gdb.rust/simple.exp: Add new test case. + * gdb.rust/simple.rs (struct StringAtOffset): New struct. + (main): Initialise an instance of the new struct. + +2019-05-01 Tom Tromey + + * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New + record. + (NPR): New variable. + * gdb.ada/packed_array_assign.exp: Add nested packed assignment + test. + +2019-05-01 Tom Tromey + + * gdb.ada/packed_array_assign.exp: Add packed assignment + regression test. + +2019-05-01 Tom de Vries + + * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB). + +2019-05-01 Tom de Vries + + * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp. + +2019-04-30 Ali Tamur + + * lib/dwarf.exp(): Added DW_FORM_strx1-4. + +2019-04-30 Tom Tromey + + * lib/ada.exp (find_ada_tool): New proc. + * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs. + * gdb.ada/catch_ex_std.exp: New file. + * gdb.ada/catch_ex_std/foo.adb: New file. + * gdb.ada/catch_ex_std/some_package.adb: New file. + * gdb.ada/catch_ex_std/some_package.ads: New file. + +2019-04-30 Tom Tromey + + PR c++/24470: + * gdb.cp/temargs.cc: Add test code from PR. + +2019-04-30 Andrew Burgess + + * gdb.fortran/vla-datatypes.exp: Update expected results. + * gdb.fortran/vla-ptype.exp: Likewise. + * gdb.fortran/vla-type.exp: Likewise. + * gdb.fortran/vla-value.exp: Likewise. + +2019-04-30 Andrew Burgess + + * gdb.fortran/ptr-indentation.exp: Update expected results. + * gdb.fortran/ptype-on-functions.exp: Likewise. + * gdb.fortran/vla-ptr-info.exp: Likewise. + * gdb.fortran/vla-value.exp: Likewise. + +2019-04-30 Andrew Burgess + + * gdb.fortran/ptype-on-functions.exp: New file. + * gdb.fortran/ptype-on-functions.f90: New file. + +2019-04-30 Andrew Burgess + + * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower + case void string. + +2019-04-30 Andrew Burgess + + * gdb.fortran/complex.exp: Expand. + * gdb.fortran/complex.f: Renamed to... + * gdb.fortran/complex.f90: ...this, and extended to add more + complex values. + +2019-04-30 Andrew Burgess + + * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR, + MODULO, CMPLX. + +2019-04-29 Andrew Burgess + Richard Bunt + + * gdb.base/max-depth.c: New file. + * gdb.base/max-depth.exp: New file. + * gdb.python/py-nested-maps.c: New file. + * gdb.python/py-nested-maps.exp: New file. + * gdb.python/py-nested-maps.py: New file. + * gdb.python/py-format-string.exp (test_max_depth): New proc. + (test_all_common): Call test_max_depth. + * gdb.fortran/max-depth.exp: New file. + * gdb.fortran/max-depth.f90: New file. + * gdb.go/max-depth.exp: New file. + * gdb.go/max-depth.go: New file. + * gdb.modula2/max-depth.exp: New file. + * gdb.modula2/max-depth.c: New file. + * lib/gdb.exp (get_print_expr_at_depths): New proc. + +2019-04-29 Tom de Vries + + * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp. + +2019-04-27 Philippe Waroquiers + + * gdb.base/callexit.exp: Test may-call-functions off. + +2019-04-25 Keith Seitz + + PR c++/24367 + * gdb.cp/meth-typedefs.cc (incomplete_struct) + (another_incomplete_struct, test_incomplete): New definitions. + (main): Use new definitions. + * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete' + functions. + +2019-04-25 Ali Tamur + + * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx. + +2019-04-25 Sergio Durigan Junior + + PR corefiles/11608 + PR corefiles/18187 + * gdb.base/coredump-filter-build-id.exp: New file. + +2019-04-25 Alan Hayward + + * Makefile.in: Pass through GDBSERVER_DEBUG. + * README (Testsuite Parameters): Add GDBSERVER_DEBUG. + (gdbserver,debug): Add board setting. + * gdb.trace/tspeed.exp: Skip when debugging. + * lib/gdb.exp (gdbserver_debug_enabled): New procedure. + * lib/gdbserver-support.exp: Likewise + +2019-04-24 Tom Tromey + + * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for + Rust. + +2019-04-24 Tom Tromey + + * gdb.arch/amd64-eval.exp: Test bitfield return. + * gdb.arch/amd64-eval.cc (struct Bitfields): New. + (class Foo) : New method. + (main): Call it. + +2019-04-23 Andrew Burgess + + * gdb.cp/many-args.cc: New file. + * gdb.cp/many-args.exp: New file. + +2019-04-23 Tom de Vries + + PR gdb/24433 + * gdb.btrace/reconnect.exp: Fix stepi 19 pattern. + +2019-04-23 Alan Hayward + + * gdb.trace/backtrace.exp: Use nopie flag. + * gdb.trace/circ.exp: Likewise. + * gdb.trace/collection.exp: Likewise. + * gdb.trace/ftrace.exp: Likewise. + * gdb.trace/mi-trace-unavailable.exp: Likewise. + * gdb.trace/mi-traceframe-changed.exp: Likewise. + * gdb.trace/qtro.exp: Likewise. + * gdb.trace/read-memory.exp: Likewise. + * gdb.trace/report.exp: Likewise. + * gdb.trace/tfile.exp: Likewise. + * gdb.trace/tfind.exp: Likewise. + * gdb.trace/unavailable.exp: Likewise. + +2019-04-22 Pedro Alves + + * gdb.base/solib-probes-nosharedlibrary.c, + gdb.base/solib-probes-nosharedlibrary.exp: New files. + +2019-04-19 Tom Tromey + + * gdb.ada/ptype_union.c: New file. + * gdb.ada/ptype_union.exp: New file. + +2019-04-19 Tom Tromey + + PR symtab/24423: + * gdb.base/list0.h (foo): Add a control-l character. + +2019-04-18 Tom de Vries + + PR gdb/24433 + * boards/local-board.exp: Set sysroot to "". + +2019-04-18 Tom de Vries + Pedro Alves + + PR gdb/24454 + * gdb.threads/vfork-follow-child-exec.c: New file. + * gdb.threads/vfork-follow-child-exec.exp: New file. + * gdb.threads/vfork-follow-child-exit.c: New file. + * gdb.threads/vfork-follow-child-exit.exp: New file. + +2019-04-15 Leszek Swirski + + * gdb.arch/amd64-eval.cc: New file. + * gdb.arch/amd64-eval.exp: New file. + +2019-04-11 Alan Hayward + + * gdb.server/sysroot.c: New test. + * gdb.server/sysroot.exp: New file. + * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text + matching param. + +2019-04-11 Andrew Burgess + + * gdb.base/align.exp: Extend test to cover structures containing + only static fields. + +2019-04-11 Tom de Vries + + * boards/cc-with-dwz-m.exp: New file. + * boards/cc-with-dwz.exp: New file. + * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work. + +2019-04-09 Simon Marchi + + * gdb.base/start-cpp.exp: New file. + * gdb.base/start-cpp.cc: New file. + +2019-04-08 Kevin Buettner + + * gdb.python/py-thrhandle.exp: Adjust tests to call + thread_from_handle instead of thread_from_thread_handle. + +2019-04-08 Kevin Buettner + + * gdb.python/py-thrhandle.exp: Add tests for + gdb.InferiorThread.handle. + +2019-04-01 Andrew Burgess + + * gdb.python/py-function.exp: Check calling helper function from + all languages. + * lib/gdb.exp (gdb_supported_languages): New proc. + +2019-04-01 Andrew Burgess + + * gdb.base/complex-parts.c: New file. + * gdb.base/complex-parts.exp: New file. + +2019-04-01 Tom Tromey + + PR symtab/23331: + * gdb.dwarf2/dw2-ranges-main.c: New file. + * gdb.dwarf2/dw2-ranges-psym.c: New file. + * gdb.dwarf2/dw2-ranges-psym.exp: New file. + +2019-03-30 Simon Marchi + + * gdb.base/default.exp: Add values for $_gdb_major and + $_gdb_minor. + +2019-03-29 Tom Tromey + + * gdb.base/help.exp: Tighten apropos regexp. + +2019-03-29 Keith Seitz + + * gdb.fortran/array-bounds.exp: New file. + * gdb.fortran/array-bounds.f90: New file. + +2019-03-28 Philippe Waroquiers + + * gdb.multi/multi-term-settings.c (main): Increase alarm timer. + +2019-03-28 Philippe Waroquiers + + * gdb.multi/hello.c (main): Increase alarm timer. + +2019-03-28 Sandra Loosemore + + * gdb.threads/watchpoint-fork.exp (test): Use large timeout + factor when no hardware watchpoint support. + +2019-03-28 Alan Hayward + Pedro Alves + + * boards/local-board.exp: set sysroot to /. + +2019-03-27 Alan Hayward + + * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep + in child. + +2019-03-26 Andrew Burgess + + * gdb.python/py-prettyprint.c (struct container) : New + field. + (make_container): Initialise new field. + * gdb.python/py-prettyprint.exp: Add new tests. + * gdb.python/py-prettyprint.py (class ContainerPrinter) + : New method. + +2019-03-26 Andrew Burgess + + * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and + gdb_continue_to_breakpoint more throughout this test. + (run_lang_tests) Supply unique test names, and use + gdb_test_no_output. + +2019-03-26 Andrew Burgess + + * gdb.base/finish-pretty.exp: Update expected results. + * gdb.base/pretty-print.c: New file. + * gdb.base/pretty-print.exp: New file. + +2019-03-25 Pedro Alves + + * lib/gdb.exp (gdb_test_multiple): Split appends to $code and + move comments outside list. Append '-i "" eof' section. + +2019-03-22 Alan Hayward + + PR testsuite/25016 + * README: Add pie options. + * gdb.base/break-interp.exp: Ensure pie is disabled. + * gdb.base/dump.exp: Likewise. + * lib/gdb.exp (gdb_compile): Add pie option. + +2019-03-19 Tom Tromey + + * gdb.mi/mi2-cli-display.c: New file. + * gdb.mi/mi2-cli-display.exp: New file. + +2019-03-18 Joel Brobecker + Tom Tromey + + * gdb.ada/ptype_array/pck.adb: New file. + * gdb.ada/ptype_array/pck.ads: New file. + * gdb.ada/ptype_array/foo.adb: New file. + * gdb.ada/ptype_array.exp: New file. + +2019-03-14 Tom Tromey + + * gdb.base/style.exp: Add "set style sources" test. + +2019-03-13 Simon Marchi + + * mi-breakpoint-location-ena-dis.exp: Rename to ... + * mi-breakpoint-multiple-locations.exp: ... this. + (make_breakpoints_pattern): New proc. + (do_test): Add mi_version parameter, test -break-insert, + -break-info and =breakpoint-created. + +2019-03-12 Andrew Burgess + + * config/default.exp: Remove 'load_lib gdb.exp'. + * config/monitor.exp: Likewise. + * config/sid.exp: Likewise. + * config/sim.exp: Likewise. + * config/slite.exp: Likewise. + * config/unix.exp: Likewise. + * gdb.base/default.exp: Remove unhelpful comment. + +2019-03-06 Andrew Burgess + + * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases. + +2019-03-06 Andrew Burgess + + * gdb.fortran/intrinsics.exp: Extend to cover ABS. + +2019-03-06 Andrew Burgess + + * gdb.fortran/type-kinds.exp: Update expected results. + +2019-03-06 Andrew Burgess + + * gdb.fortran/type-kinds.exp: Test new integer type kind. + +2019-03-06 Andrew Burgess + + * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New + function. + (test_basic_parsing_of_type_kinds): Expand types tested. + (test_parsing_invalid_type_kinds): New function. + +2019-03-06 Andrew Burgess + + * gdb.fortran/intrinsics.exp: New file. + * gdb.fortran/intrinsics.f90: New file. + * gdb.fortran/type-kinds.exp: New file. + +2019-03-06 Andrew Burgess + + * gdb.fortran/dot-ops.exp: New file. + +2019-03-06 Andrew Burgess + + * gdb.fortran/types.exp (test_logical_literal_types_accepted): + Check upper and lower case logical literals. + +2019-03-06 Andrew Burgess + + * gdb.fortran/types.exp (test_float_literal_types_accepted): + Remove duplicate tests. + +2019-03-06 Alan Hayward + + * lib/gdb.exp (builtin_cd): rename of cd. + (cd): Override builtin. + +2019-03-06 Richard Bunt + + * gdb.fortran/function-calls.exp: New file. + * gdb.fortran/function-calls.f90: New test. + +2019-03-04 Richard Bunt + + * gdb.fortran/short-circuit-argument-list.exp: Remove reliance + on user program standard output. + * gdb.fortran/short-circuit-argument-list.f90: Record function + calls. + +2019-02-28 Alan Hayward + + * lib/gdbserver-support.exp (gdbserver_start): Check for listen + failure. + +2019-02-28 Rainer Orth + + PR gdb/8527 + * gdb.base/interrupt-daemon-attach.c, + gdb.base/interrupt-daemon-attach.exp: New test. + +2019-02-27 Pedro Alves + + * gdb.base/page.exp: Add tests for "set width/height -1". + +2019-02-27 Pedro Alves + + * gdb.base/page.exp: Add tests for "set/show width/height" with + "infinite" values. + +2019-02-27 Tom Tromey + + * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python + 2.4. + * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4 + workaround. + +2019-02-27 Andrew Burgess + + * gdb.base/align.exp: Extend to compile in both C and C++, and add + tests for structs with static members. + +2019-02-26 Tom Tromey + + * gdb.python/py-value.exp (test_value_from_buffer): Check for + ValueError, not TypeError. + +2019-02-26 Kevin Buettner + + * gdb.python/py-value.exp (test_value_from_buffer): New proc with + call from main program. + +2019-02-23 Joel Brobecker + + * gdb.ada/mi_ref_changeable.exp: Update copyright year range. + * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise. + * gdb.ada/mi_ref_changeable/pck.adb: Likewise. + * gdb.ada/mi_ref_changeable/pck.ads: Likewise. + * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise. + +2019-02-22 Keith Seitz + + PR symtab/23853 + * gdb.base/symlink-sourcefile.c: New file. + * gdb.base/symlink-sourcefile.exp: New file. + +2019-02-20 Tom Tromey + + * gdb.base/info_qt.exp: Update. + +2019-02-19 Simon Marchi + + * gdb.base/source.exp: Move "error in sourced script" code to + the end. + * gdb.base/source-error.gdb: Move contents to + source-error-1.gdb. Add new code to source source-error-1.gdb. + * gdb.base/source-error-1.gdb: New file, from previous + source-error.gdb. + +2019-02-17 Tom Tromey + + * gdb.base/style.exp: Use -g3 to compile when possible. Add test + for macro styling. + * gdb.base/style.c (SOME_MACRO): New macro. + +2019-02-17 Tom Tromey + + * gdb.base/style.exp: Add line-wrapping tests. + * gdb.base/page.exp: Add test for quitting during pagination. + +2019-02-17 Joel Brobecker + + * gdb.ada/big_packed_array: New testcase. + * gdb.ada/homonym.exp: Fix incorrect expected output for + "break " test. + +2019-02-13 Weimin Pan + + PR breakpoints/21870 + * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue + and prepare_for_testing. Add comment. + * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and + redundant cleanup call. Clean up comment. + +2019-02-12 Weimin Pan + + PR breakpoints/21870 + * gdb.arch/aarch64-dbreg-contents.exp: New file. + * gdb.arch/aarch64-dbreg-contents.c: New file. + +2019-02-10 Joel Brobecker + + * gdb.ada/mi_ref_changeable: New testcase. + +2019-02-07 Alan Hayward + + * gdb.base/attach.exp: Add double attach test. + +2019-02-07 Simon Marchi + + * lib/gdb.exp (default_gdb_start): Don't match pagination + prompt. + (gdb_init): Set stty_init. + +2019-01-27 Tom Tromey + + * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to + skip_python_tests. + +2019-01-24 Alan Hayward + + * gdb.base/infcall-nested-structs.c (struct struct_static_02_01): + New structure. + (struct struct_static_02_02): Likewise. + (struct struct_static_02_03): Likewise. + (struct struct_static_02_04): Likewise. + (struct struct_static_04_01): Likewise. + (struct struct_static_04_02): Likewise. + (struct struct_static_04_03): Likewise. + (struct struct_static_04_04): Likewise. + (struct struct_static_06_01): Likewise. + (struct struct_static_06_02): Likewise. + (struct struct_static_06_03): Likewise. + (struct struct_static_06_04): Likewise. + (cmp_struct_static_02_01): Likewise. + (cmp_struct_static_02_02): Likewise. + (cmp_struct_static_02_03): Likewise. + (cmp_struct_static_02_04): Likewise. + (cmp_struct_static_04_01): Likewise. + (cmp_struct_static_04_02): Likewise. + (cmp_struct_static_04_03): Likewise. + (cmp_struct_static_04_04): Likewise. + (cmp_struct_static_06_01): Likewise. + (cmp_struct_static_06_02): Likewise. + (cmp_struct_static_06_03): Likewise. + (cmp_struct_static_06_04): Likewise. + (call_all): Test new structs. + * gdb.base/infcall-nested-structs.exp: Likewise. + +2019-01-21 Alan Hayward + * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C. + +2019-01-21 Alan Hayward + * gdb.base/stack-protector.c: New test. + * gdb.base/stack-protector.exp: New file. + * gdb.cp/ovldbreak.exp: Only allow a single break line. + * lib/gdb.exp (get_compiler_info): Use getting_compiler_info + option. + (gdb_compile): Remove stack protector for GCC and prevent + recursion. + +2019-01-16 Keith Seitz + + PR gdb/23773 + * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file. + +2019-01-14 Pedro Franco de Carvalho + + * gdb.arch/vsx-regs.exp: Add tests that use the vector register + aliases. + * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two + tests. + * gdb.arch/powerpc-vector-regs.c: New file. + * gdb.arch/powerpc-vector-regs.exp: New file. + +2019-01-14 Pedro Franco de Carvalho + + * gdb.arch/altivec-regs.exp: Fix the list passed to + gdb_expect_list when testing "info vector". + +2019-01-12 Andrew Burgess + + * gdb.base/style.exp: Don't include path in testname. + +2019-01-10 Keith Seitz + + PR gdb/23712 + PR symtab/23010 + * gdb.dwarf2/multidictionary.exp: New file. + +2019-01-09 Simon Marchi + + * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to... + (test_gnuv3_style_demangling): ... this. + (test_lucid_style_demangling): Remove. + (test_arm_style_demangling): Remove. + (test_hp_style_demangling): Remove. + (do_tests): Remove calls to the above. + +2019-01-09 Andrew Burgess + + * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt + case. + +2019-01-06 Tom Tromey + + PR gdb/28155: + * gdb.dwarf2/typedef-void-finish.exp: New file. + +2018-12-28 Tom Tromey + Simon Marchi + + * gdb.base/jit-exec.exp: New file. + * gdb.base/jit-exec.c: New file. + * gdb.base/jit-execd.c: New file. + +2018-12-28 Tom Tromey + + * gdb.base/style.exp: Update test to check for address styling. + +2018-12-28 Tom Tromey + + * gdb.base/style.exp: Add test for styling of "Reading symbols" + message. + +2018-12-28 Tom Tromey + + * gdb.base/style.exp: Add test for version number styling. + +2018-12-28 Tom Tromey + + * gdb.base/style.exp: Add test for print_address_symbolic. + +2018-12-28 Tom Tromey + + * gdb.base/style.exp: Add test for breakpoint setting. + +2018-12-28 Tom Tromey + + * gdb.base/style.exp: Add test for variable names. + +2018-12-28 Tom Tromey + + * gdb.base/style.exp: New file. + * gdb.base/style.c: New file. + +2018-12-28 Tom Tromey + + * lib/gdb.exp (gdb_init): Set the TERM environment variable to + "dumb". + * gdb.base/readline.exp (operate_and_get_next): Save and restore + the TERM environment variable. + +2018-12-27 Tom Tromey + + * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add + pagination test. + +2018-12-24 Andrew Burgess + + * gdb.dwarf2/dw2-unusual-field-names.c: New file. + * gdb.dwarf2/dw2-unusual-field-names.exp: New file. + +2018-12-24 Philippe Waroquiers + + * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr. + Filename a.adb changed to bp_fun_addr.adb. + gdb.ada/bp_fun_addr.exp: Update test accordingly. + +2018-12-21 Jan Vrany + + * lib/gdb.exp (gdb_compile): Add new nopie flag enforce + non-PIE executables. + * README: Mention the gdb,nopie_flag board setting. + * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce + non-PIE executable. + * gdb.arch/amd64-entry-value.exp: Likewise. + * gdb.arch/amd64-invalid-stack-middle.exp: Likewise. + * gdb.arch/i386-float.exp: Likewise. + * gdb.arch/i386-signal.exp: Likewise. + * gdb.mi/mi-reg-undefined.exp: Likewise. + +2018-12-21 Paul Marechal + + PR gdb/23974 + * gdb.base/info-os.exp: Check return for unknown "info os" type. + +2018-12-20 Philippe Waroquiers + + * gdb.ada/info_auto_lang.exp: Normalize some_c source file. + Update order of results accordingly. + +2018-12-12 Andrew Burgess + + * gdb.base/annota1.exp: Update a test regexp. + +2018-12-11 Andrew Burgess + + * gdb.base/float.exp: Handle RISC-V targets without an FPU. + +2018-12-09 Philippe Waroquiers + + * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60. + (reuse_time): Initialize to REUSE_TIME_CAP. + (check_rc): New function. + (main): Use REUSE_TIME_CAP instead of hardcoded 60. + Check pthread_create rc. + (spawner_thread_func): Check pthread_create and pthread_join rc. + +2018-12-08 Pedro Alves + + * gdb.base/list.exp (test_forward_search): Rename to ... + (test_forward_reverse_search): ... this. Also test reverse-search + and the forward-search alias. + +2018-12-05 Andrew Burgess + + * config/sim.exp (gdb_target_sim): Remove redundant adjustment of + local timeout variable before return, and remove all local timeout + variable entirely. + (gdb_load): Likewise. + +2018-12-01 Tom de Vries + + * gdb.base/gdb-caching-proc.exp: New file. + +2018-11-25 Sergio Durigan Junior + + * Makefile.in (TIMESTAMP): New variable. + (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST) + command. + (check-single-racy): Likewise. + (check/%.exp): Likewise. + (check-racy/%.exp): Likewise. + (workers/%.worker): Likewise. + (build-perf): Likewise. + (check-perf): Likewise. + * README: Describe new "TS" and "TS_FORMAT" variables. + * print-ts.py: New file. + +2018-11-21 Benno Fünfstück + + PR python/23714 + * gdb.python/python.exp: Test command repetition after + gdb.execute. + +2018-11-20 Andrew Burgess + + * gdb.opt/inline-break.exp: Add test that info breakpoint output + is correctly aligned. + +2018-11-20 Philippe Waroquiers + + * gdb.ada/info_auto_lang.exp: New testcase. + * gdb.ada/info_auto_lang/global_pack.ads: New file. + * gdb.ada/info_auto_lang/proc_in_ada.adb: New file. + * gdb.ada/info_auto_lang/some_c.c: New file. + +2018-11-20 Philippe Waroquiers + + * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to + FUNC_lang language syntax. + +2018-11-20 Philippe Waroquiers + + * gdb.base/info_minsym.c: New file. + * gdb.base/info_minsym.exp: New file. + +2018-11-19 Tom Tromey + + PR rust/23625: + * gdb.rust/simple.exp: Add ptype test. Update expected output. + * gdb.rust/expr.exp: Update expected output. Change one test. + +2018-11-19 Tom Tromey + + * gdb.rust/simple.rs: Don't initialize empty_enum_value. + +2018-11-19 Pedro Alves + + * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use + gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we + see the expected warning. + +2018-11-16 Alan Hayward + + PR gdb/22736: + * gdb.cp/infcall-nodebug-lib.c: New test. + * gdb.cp/infcall-nodebug-main.c: New test. + * gdb.cp/infcall-nodebug.exp: New file. + +2018-11-12 Simon Marchi + + * gdb.base/skip.exp: Add standard_testfile. Add "skip delete" + completer tests. + +2018-11-09 Tom de Vries + + * gdb.base/msym-lang.c: New test. + * gdb.base/msym-lang.exp: New file. + * gdb.base/msym-lang-main.c: New test. + +2018-11-08 Tom Tromey + + PR gdb/23555: + PR gdb/23838: + * gdb.base/warning.exp: New file. + +2018-11-08 Jan Beulich + + * testsuite/gdb.arch/i386-avx512.c, + testsuite/gdb.arch/i386-avx512.exp: Add 7th test. + +2018-11-08 Andrew Burgess + + * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating + point hardware. + +2018-11-07 Andrew Burgess + + * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'. + * gdb.dwarf2/missing-type-name.exp: New file. + +2018-11-06 Tom de Vries + + * gdb.base/many-headers.c: New test. + * gdb.base/many-headers.exp: New file. + +2018-11-06 Jim Wilson + + * gdb.base/code_elim.exp: For riscv, set additional_flags + to include -msmall-data-limit=0. + +2018-11-01 Joel Brobecker + + * gdb.ada/watch_minus_l: New testcase. + +2018-11-01 Sangamesh Mallayya + + * gdb.arch/aix-sighandle.c: New file. + * gdb.arch/aix-sighandle.exp: New file. + +2018-10-31 Andrew Burgess + + * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float + registers being unions. + +2018-10-31 Tom de Vries + + * lib/valgrind.exp: New file. + (vgdb_start, vgdb_stop): New procs, factored out of ... + * gdb.base/valgrind-bt.exp: ... here, ... + * gdb.base/valgrind-disp-step.exp: ... here and ... + * gdb.base/valgrind-infcall.exp: ... here. + +2018-10-31 Tom de Vries + + * lib/gdb.exp (get_valueof): Don't output read value in test name. + +2018-10-31 Andrew Burgess + + * gdb.dwarf2/void-type.c: New file. + * gdb.dwarf2/void-type.exp: New file. + +2018-10-27 Philippe Waroquiers + + * gdb.base/info_qt.c: New file. + * gdb.base/info_qt.exp: New file. + +2018-10-26 Pedro Franco de Carvalho + + * gdb.arch/powerpc-htm-regs.c: New file. + * gdb.arch/powerpc-htm-regs.exp: New file. + +2018-10-26 Pedro Franco de Carvalho + + * gdb.arch/powerpc-tar.c: New file. + * gdb.arch/powerpc-tar.exp: New file. + +2018-10-26 Pedro Franco de Carvalho + + * gdb.arch/powerpc-ppr-dscr.c: New file. + * gdb.arch/powerpc-ppr-dscr.exp: New file. + +2018-10-25 Tom de Vries + + * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb. + +2018-10-24 Tom de Vries + + * lib/gdb.exp (gdb_test_multiple): Log wait status on process no + longer exists error. + +2018-10-24 Tom de Vries + + * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test. + +2018-10-24 Tom de Vries + + * gdb.base/valgrind-db-attach.exp: Handle removed support for + --db-attach in valgrind. + +2018-10-23 Andrew Burgess + + * gdb.arch/riscv-reg-aliases.c: New file. + * gdb.arch/riscv-reg-aliases.exp: New file. + +2018-10-19 Alan Hayward + + * gdb.python/py-cmd.exp: Check for gdb_prompt. + +2018-10-19 Alan Hayward + + * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6. + +2018-10-19 Alan Hayward + + * gdb.cp/ovldbreak.exp: Fix regexps. + +2018-10-19 Alan Hayward + + * gdb.compile/compile-cplus-print.exp: Start inferior earlier. + +2018-10-18 Sergio Durigan Junior + + PR cli/23785 + * gdb.base/restore.exp: New test to check if "restore" with an + invalid file doesn't segfault. + +2018-10-18 Tom de Vries + + * gdb.ada/bp_inlined_func.exp: Fix capitalized test name. + * gdb.ada/excep_handle.exp: Same. + * gdb.ada/mi_string_access.exp: Same. + * gdb.ada/mi_var_union.exp: Same. + * gdb.arch/arc-analyze-prologue.exp: Same. + * gdb.arch/arc-decode-insn.exp: Same. + * gdb.base/readnever.exp: Same. + * gdb.fortran/printing-types.exp: Same. + * gdb.guile/scm-lazy-string.exp: Same. + +2018-10-16 Tom de Vries + + PR gdb/23730 + * gdb.base/catch-follow-exec.c: Add copyright notice. + * gdb.base/catch-follow-exec.exp: Rewrite to use + gdb_spawn_with_cmdline_opts. Require gdb-native. + +2018-10-12 Sandra Loosemore + + * gdb.trace/actions-changed.exp: Check for arch support. + * gdb.trace/actions.exp: Likewise. + * gdb.trace/ax.exp: Likewise. + * gdb.trace/backtrace.exp: Likewise. + * gdb.trace/change-loc.exp: Likewise. + * gdb.trace/deltrace.exp: Likewise. + * gdb.trace/ftrace-lock.exp: Check for shlib and arch support. + * gdb.trace/ftrace.exp: Likewise. + * gdb.trace/infotrace.exp: Check for arch support. + * gdb.trace/mi-trace-frame-collected.exp: Likewise. + * gdb.trace/mi-tracepoint-changed.exp: Likewise. + * gdb.trace/mi-tsv-changed.exp: Likewise. + * gdb.trace/packetlen.exp: Likewise. + * gdb.trace/passc-dyn.exp: Likewise. + * gdb.trace/passcount.exp: Likewise. + * gdb.trace/pending.exp: Likewise. + * gdb.trace/range-stepping.exp: Check for shlib support. + * gdb.trace/report.exp: Check for arch support. + * gdb.trace/save-trace.exp: Likewise. + * gdb.trace/signal.exp: Check for signal support. + * gdb.trace/tfind.exp: Check for arch support. + * gdb.trace/trace-break.exp: Check for arch and shlib support. + * gdb.trace/trace-common.h: Add comment. + * gdb.trace/trace-condition.exp: Check for shlib and arch support. + * gdb.trace/trace-enable-disable.exp: Likewise. + * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call. + * gdb.trace/tracecmd.exp: Check for arch support. + * gdb.trace/tspeed.exp: Check for shlib and target support. + * gdb.trace/tstatus.exp: Check for arch support. + * gdb.trace/tsv.exp: Likewise. + * gdb.trace/while-dyn.exp: Likewise. + * gdb.trace/while-stepping.exp: Likewise. + * lib/trace-support.exp (gdb_trace_common_supports_arch): New. + +2018-10-12 Simon Marchi + + * gdb.trace/tspeed.exp: Remove nowarnings. + (prepare_for_trace_test): Declare "global ipalib". + * gdb.trace/tspeed.c: Include unistd.h. + (main): Remove superfluous printf argument. + +2018-10-11 Sandra Loosemore + + * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX + directory prefix on the filename. + +2018-10-10 Sergio Durigan Junior + + * gdb.gdb/unittest.exp: Update expected message informing that + selftests have been disabled. + * gdb.server/unittest.exp: Likewise. + +2018-10-09 Tom de Vries + + * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd + with runto_main. + +2018-10-08 Weimin Pan + + PR c++/16841 + * gdb.cp/virtbase2.cc: New file. + * gdb.cp/virtbase2.exp: New file. + +2018-10-06 Tom Tromey + + PR python/19399: + * gdb.python/py-inferior.exp: Add architecture test. + +2018-10-06 Tom Tromey + + * gdb.base/gnu-ifunc.exp (build): Use standard_output_file. + * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file. + +2018-10-06 Tom Tromey + + * gdb.python/py-breakpoint.exp (check_last_event): Check location + of a "throw" catchpoint. + +2018-10-06 Sergio Durigan Junior + + * gdb.base/info-proc.exp: Update string expected from "help info + proc". + +2018-10-04 Tom Tromey + + * gdb.cp/maint.exp (test_invalid_name): Update expected output. + * gdb.gdb/complaints.exp (test_short_complaints): Remove. + (test_initial_complaints, test_empty_complaints): Update. + * gdb.dwarf2/dw2-stack-boundary.exp: Update. + +2018-10-04 Tom Tromey + + PR cli/19551: + * lib/mi-support.exp (mi_gdb_file_cmd): Update. + * lib/gdb.exp (gdb_file_cmd): Update. + * gdb.stabs/weird.exp (print_weird_var): Update. + * gdb.server/solib-list.exp: Update. + * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update. + * gdb.mi/mi-cli.exp: Update. + * gdb.linespec/linespec.exp: Update. + * gdb.dwarf2/dw2-stack-boundary.exp: Update. + * gdb.dwarf2/dw2-objfile-overlap.exp: Update. + * gdb.cp/cp-relocate.exp: Update. + * gdb.base/sym-file.exp: Update. + * gdb.base/relocate.exp: Update. + * gdb.base/readnever.exp: Update. + * gdb.base/print-symbol-loading.exp (test_load_core): Update. + * gdb.base/kill-detach-inferiors-cmd.exp: Update. + * gdb.base/dbx.exp (gdb_file_cmd): Update. + * gdb.base/code_elim.exp: Update. + * gdb.base/break-unload-file.exp (test_break): Update. + * gdb.base/break-interp.exp (test_attach_gdb): Update. + * gdb.base/break-idempotent.exp (force_breakpoint_re_set): + Update. + * gdb.base/attach.exp (do_attach_tests): Update. + * gdb.base/sepdebug.exp: Update. + * gdb.python/py-section-script.exp: Update. + +2018-10-04 Tom Tromey + + PR cli/22234: + * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output. + * gdb.gdb/complaints.exp (test_short_complaints): Update expected + output. + +2018-10-04 Tom Tromey + + * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet; + set width and height to 0. + (test_command_line_attach_run): Use -quiet. + +2018-10-03 Sandra Loosemore + + * lib/gdb.exp (skip_ifunc_tests): New. + * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle + other compile failures. + * gdb.compile/compile-ifunc.exp: Skip if no ifunc support. + +2018-10-01 Simon Marchi + + * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on + is_amd64_regs_target. + +2018-10-01 Alan Hayward + + * gdb.arch/aarch64-sighandler-regs.c: New test. + * gdb.arch/aarch64-sighandler-regs.exp: New file. + * lib/gdb.exp (skip_aarch64_sve_tests): New proc. + +2018-10-01 Markus Metzger + + * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline + assembly. + +2018-09-28 Andrew Burgess + + * gdb.base/frame-selection.exp: New file. + * gdb.base/frame-selection.c: New file. + +2018-09-27 Alan Hayward + + * gdb.threads/check-libthread-db.c (thread_routine): Use a + pthread barrier. + (main): Likewise. + +2018-09-26 Andrew Burgess + + * gdb.base/large-frame-1.c: New file. + * gdb.base/large-frame-2.c: New file. + * gdb.base/large-frame.exp: New file. + * gdb.base/large-frame.h: New file. + +2018-09-24 Jozef Lawrynowicz + + PR gdb/20948 + * gdb.base/write_mem.exp: New test. + * gdb.base/write_mem.c: Likewise. + +2018-09-23 Tom Tromey + + PR python/18852: + * gdb.python/py-parameter.exp: Add test for parameter that throws + on "set". + +2018-09-23 Tom Tromey + + PR python/17284: + * gdb.python/py-template.exp (test_template_arg): Add test for + negative template argument number. + +2018-09-23 Tom Tromey + + PR python/14062: + * gdb.python/python.exp: Add test for post_event error. + +2018-09-23 Tom Tromey + + PR python/18170: + * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to + convert pointers to int and long. + +2018-09-23 Tom Tromey + + PR python/20126: + * gdb.python/py-value.exp (test_value_numeric_ops): Add + signed-ness conversion tests. + +2018-09-23 Tom Tromey + + PR python/18352; + * gdb.python/py-value.exp (test_float_conversion): New proc. + Use it. + +2018-09-20 Hafiz Abid Qadeer + + gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern. + +2018-09-18 Sandra Loosemore + + * gdb.base/complete-empty.exp: Skip tab-completion tests if + no readline. + * gdb.base/utf8-identifiers.exp: Likewise. + * gdb.cp/cpcompletion.exp: Likewise. + * gdb.linespec/cpcompletion.exp: Likewise. + * gdb.linespec/cpls-abi-tag.exp: Likewise. + * gdb.linespec/cpls-ops.exp: Likewise. + +2018-09-19 Richard Bunt + Chris January + + * gdb.cp/koenig.exp: Extend to test logical short circuiting. + * gdb.fortran/short-circuit-argument-list.exp: New file. + * gdb.fortran/short-circuit-argument-list.f90: New test. + +2018-09-18 Sergio Durigan Junior + + * gdb.arch/amd64-invalid-stack-top.exp: Expect optional + "arch=" keyword when executing "-stack-list-frames". + +2018-09-18 Sergio Durigan Junior + + * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional + "arch=" keyword when executing "-stack-list-frames". + +2018-09-18 Sergio Durigan Junior + + * gdb.ada/complete.exp: Expect for "@" when doing "complete + break ada". + +2018-09-17 Simon Marchi + + PR python/23669 + * gdb.python/python.exp: Test gdb.execute("show commands"). + +2018-09-16 Tom Tromey + + * gdb.base/new-ui.exp (do_execution_tests): Update. + * gdb.base/dbx.exp (test_breakpoints): Update. + +2018-09-14 Alan Hayward + + * lib/gdb.exp (gdb_simple_compile): Add proc. + (is_elf_target): Use gdb_simple_compile. + (skip_altivec_tests): Likewise. + (skip_vsx_tests): Likewise. + (skip_tsx_tests): Likewise. + (skip_btrace_tests): Likewise. + (skip_btrace_pt_tests): Likewise. + (gdb_can_simple_compile): Likewise. + (gdb_has_argv0): Likewise. + (gdb_target_symbol_prefix): Likewise. + (target_supports_scheduler_locking): Likewise. + +2018-09-13 Tom Tromey + + * Makefile.in (TAGS): Recognize proc_with_prefix and + gdb_caching_proc. + +2018-09-13 Simon Marchi + + * gdb.python/py-progspace.exp: Test the Progspace.objfiles + method. + +2018-09-13 Simon Marchi + + * gdb.python/py-inferior.exp: Add tests for Inferior.progspace + and a few other Inferior properties when the Inferior is no + longer valid. + +2018-09-13 Tom Tromey + + PR rust/23650: + * gdb.rust/simple.exp: Add test for enum field access error. + +2018-09-13 Tom Tromey + + PR rust/23626: + * gdb.rust/simple.rs (EmptyEnum): New type. + (main): Use it. + * gdb.rust/simple.exp (test_one_slice): Add empty enum test. + +2018-09-13 Simon Marchi + + * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior. + * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile. + * gdb.python/py-symtab.exp: Update test printing an objfile. + +2018-09-12 Simon Marchi + + * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior + object. + +2018-09-12 Alan Hayward + + * lib/gdb.exp (gdb_can_simple_compile): Add proc. + (support_complex_tests): Use gdb_can_simple_compile. + (is_ilp32_target): Likewise. + (is_lp64_target): Likewise. + (is_64_target): Likewise. + (is_amd64_regs_target): Likewise. + (is_aarch32_target): Likewise. + (gdb_int128_helper): Likewise. + +2018-09-11 Jan Kratochvil + + * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path. + +2018-09-10 Jerome Guitton + + * gdb.ada/same_component_name: Add test for case of tagged record + with variable-length fields. + +2018-09-10 Xavier Roirand + + * gdb.ada/access_to_unbounded_array.exp: New testcase. + * gdb.ada/access_to_unbounded_array/foo.adb: New file. + * gdb.ada/access_to_unbounded_array/pack.adb: New file. + * gdb.ada/access_to_unbounded_array/pack.ads: New file. + +2018-09-10 Xavier Roirand + + * gdb.ada/mi_string_access.exp: New testcase. + * gdb.ada/mi_string_access/bar.adb: New file. + * gdb.ada/mi_string_access/pck.adb: New file. + * gdb.ada/mi_string_access/pck.asd: New file. + +2018-09-10 Xavier Roirand + + * gdb.ada/mi_var_union.exp: New testcase. + * gdb.ada/mi_var_union/bar.adb: New file. + * gdb.ada/mi_var_union/pck.adb: New file. + * gdb.ada/mi_var_union/pck.asd: New file. + +2018-09-08 Tom Tromey + + * gdb.python/py-prettyprint.exp: Use with_test_prefix. + +2018-09-08 Tom Tromey + + PR python/16047: + * gdb.python/py-prettyprint.py (pp_int_typedef3): New class. + (register_pretty_printers): Register new printer. + * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3 + test. + * gdb.python/py-prettyprint.c (int_type3): New typedef. + (an_int_type3): New global. + +2018-09-08 Joel Brobecker + + * gdb.ada/expr_with_funcall: New testcase. + +2018-09-08 Joel Brobecker + + * gdb.ada/packed_array_assign: New testcase. + +2018-09-07 Andrew Burgess + + * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test + names, and add test prefixes to make test names unique. + +2018-09-05 Tom de Vries + + * gdb.dwarf2/varval.exp: Add test. + +2018-09-04 Gary Benson + + * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect + 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id. + +2018-08-31 Tom Tromey + + * gdb.rust/simple.rs: Rename second variable "v". + +2018-08-30 Andrew Burgess + + * gdb.base/funcargs.c (use_a): New function. + (recurse): Call use_a. + +2018-08-29 Keith Seitz + + * gdb.compile/compile-cplus-anonymous.cc: New file. + * gdb.compile/compile-cplus-anonymous.exp: New file. + * gdb.compile/compile-cplus-array-decay.cc: New file. + * gdb.compile/compile-cplus-array-decay.exp: New file. + * gdb.compile/compile-cplus-inherit.cc: New file. + * gdb.compile/compile-cplus-inherit.exp: New file. + * gdb.compile/compile-cplus-member.cc: New file. + * gdb.compile/compile-cplus-member.exp: New file. + * gdb.compile/compile-cplus-method.cc: New file. + * gdb.compile/compile-cplus-method.exp: New file. + * gdb.compile/compile-cplus-mod.c: "New" file. + * gdb.compile/compile-cplus-namespace.cc: New file. + * gdb.compile/compile-cplus-namespace.exp: New file. + * gdb.compile/compile-cplus-nested.cc: New file. + * gdb.compile/compile-cplus-nested.exp: New file. + * gdb.compile/compile-cplus-print.c: "New" file. + * gdb.compile/compile-cplus-print.exp: "New" file. + * gdb.compile/compile-cplus-virtual.cc: New file. + * gdb.compile/compile-cplus-virtual.exp: New file. + * gdb.compile/compile-cplus.c: "New" file. + * gdb.compile/compile-cplus.exp: "New" file. + * lib/compile-support.exp: New file. + +2018-08-16 Gary Benson + + PR gdb/13000: + * gdb.base/batch-exit-status.exp: New file. + * gdb.base/batch-exit-status.good-commands: Likewise. + * gdb.base/batch-exit-status.bad-commands: Likewise. + +2018-08-29 Alan Hayward + + * gdb.base/infcall-nested-structs.c (struct struct01): Remove. + (struct struct02): Likewise. + (struct struct03): Likewise. + (struct struct04): Likewise. + (struct struct_01_01): New struct. + (struct struct_01_02): Likewise. + (struct struct_01_03): Likewise. + (struct struct_01_04): Likewise. + (struct struct_02_01): Likewise. + (struct struct_02_02): Likewise. + (struct struct_02_03): Likewise. + (struct struct_02_04): Likewise. + (struct struct_04_01): Likewise. + (struct struct_04_02): Likewise. + (struct struct_04_03): Likewise. + (struct struct_04_04): Likewise. + (struct struct_05_01): Likewise. + (struct struct_05_02): Likewise. + (struct struct_05_03): Likewise. + (struct struct_05_04): Likewise. + (cmp_struct01): Remove function. + (cmp_struct02): Likewise. + (cmp_struct03): Likewise. + (cmp_struct04): Likewise. + (cmp_struct_01_01): Add Function. + (cmp_struct_01_02): Likewise. + (cmp_struct_01_03): Likewise. + (cmp_struct_01_04): Likewise. + (cmp_struct_02_01): Likewise. + (cmp_struct_02_02): Likewise. + (cmp_struct_02_03): Likewise. + (cmp_struct_02_04): Likewise. + (cmp_struct_04_01): Likewise. + (cmp_struct_04_02): Likewise. + (cmp_struct_04_03): Likewise. + (cmp_struct_04_04): Likewise. + (cmp_struct_05_01): Likewise. + (cmp_struct_05_02): Likewise. + (cmp_struct_05_03): Likewise. + (cmp_struct_05_04): Likewise. + (call_all): Add new structs. + * gdb.base/infcall-nested-structs.exp: Likewise. + +2018-08-27 Jan Vrany + + * gdb.python/py-framefilter-mi.exp: Update regexp to + check for "arch" field in frame output. + +2018-08-23 Kevin Buettner + + * gdb.dwarf2/dw2-ranges-func.c: New file. + * gdb.dwarf2/dw2-ranges-func.exp: New file. + +2018-08-22 Simon Marchi + + * gdb.base/term.exp: Compare terminal settings with values from + the inferior. + * gdb.base/term.c: Get and set terminal settings. + +2018-08-22 Jan Vrany + + * lib/mi-support.exp (mi_expect_stop): Update regexp to + accommodate new "arch" field in frame output. + * gdb.mi/mi-return.exp: Likewise. + * gdb.mi/mi-stack.exp: Likewise. + * gdb.mi/mi-syn-frame.exp: Likewise. + * gdb.mi/user-selected-context-sync.exp: Likewise. + +2018-08-19 Michael Spang + + PR gdb/11786 + * gdb.base/gcore-tls-pie.c: New file. + * gdb.base/gcore-tls-pie.exp: New file. + +2018-08-18 Kevin Buettner + + * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value. + * gdb.dwarf2/varval.c: New file. + * gdb.dwarf2/varval.exp: New file. + +2018-08-17 Alan Hayward + + PR gdb/18931 + * gdb.arch/aarch64-fp.c (main): Fix asm registers. + +2018-08-16 Keith Seitz + + * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code" + tests expected to pass. + +2018-08-14 Jan Vrany + + * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for + -data-disassemble -a. + (test_disassembly_bogus_args): Likewise. + +2018-08-14 Andrew Burgess + + * gdb.mi/list-thread-groups-available.exp: Update test regexp. + +2018-08-09 Andrew Burgess + + * gdb.base/vla-optimized-out.exp: Add new test. + +2018-08-09 Andrew Burgess + + * gdb.base/vla-optimized-out-o3.exp: Delete. + * gdb.base/vla-optimized-out-o3-strict.exp: Delete. + * gdb.base/vla-optimized-out.exp: Extend to cover all of the + deleted tests. + +2018-08-08 Andrew Burgess + + PR gdb/18050: + * gdb.server/extended-remote-restart.c: New file. + * gdb.server/extended-remote-restart.exp: New file. + +2018-08-07 Simon Marchi + + * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with + "set variable index = 42". + +2018-08-07 Simon Marchi + + * boards/index-cache-gdb.exp: New file. + * gdb.dwarf2/index-cache.exp: New file. + * gdb.dwarf2/index-cache.c: New file. + * gdb.base/maint.exp: Check if we are using the index cache. + +2018-08-07 Rainer Orth + + * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in + MAKEFLAGS. + +2018-08-06 Rainer Orth + + * dg-extract-results.sh: Move to toplevel contrib. + * Makefile.in (check-parallel): Reflect dg-extract-results.sh move. + * Makefile.in (check-parallel-racy): Likewise. + +2018-08-06 Andrew Burgess + + * lib/gdb.exp (target_supports_scheduler_locking): New proc. + * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking + tests if the target supports scheduler locking. + +2018-08-04 Tom de Vries + + * gdb.python/py-rbreak.exp: Fix rbreak regexp. + +2018-08-02 Tom Tromey + + PR symtab/16842. + * gdb.cp/temargs.exp: Test "info address" of a template + parameter. + +2018-07-31 Jan Vrany + + * gdb.python/py-mi-var-info-path-expression.c: New file. + * gdb.python/py-mi-var-info-path-expression.py: New file. + * gdb.python/py-mi-var-info-path-expression.exp: New file. + +2018-07-30 Sergio Durigan Junior + + * lib/gdbserver-support.exp (gdbserver_start): Match any kind of + error after "cannot resolve name" string. + +2018-07-28 Andrew Burgess + + * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has + started. + * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running. + +2018-07-28 Tom de Vries + + * gdb.base/vla-optimized-out-o3-strict.exp: New file. + +2018-07-26 Tom de Vries + + * gdb.base/vla-optimized-out.c: Add comment about origin of test-case. + +2018-07-26 Andrew Burgess + + * gdb.base/maint.exp: Add check that dwarf unwinders control flag + is visible. + +2018-07-26 Tom de Vries + + PR breakpoints/23366 + * gdb.base/catch-follow-exec.c: New test. + * gdb.base/catch-follow-exec.exp: New file. + +2018-07-25 Tom de Vries + + * gdb.base/vla-optimized-out-o3.exp: New file. Reuse + vla-optimized-out.c. + +2018-07-25 Jan Vrany + + * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file. + * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file. + +2018-07-20 Tom de Vries + + * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on + NOCLONE macro. + * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE. + +2018-07-19 Tom de Vries + + * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in + regular expression. + +2018-07-18 Tom de Vries + + * gdb.base/vla-optimized-out.c: New test. + * gdb.base/vla-optimized-out.exp: New file. + +2018-07-13 Sergio Durigan Junior + + * lib/gdbserver-support.exp (gdbserver_start): Expect for the + message "No address associated with hostname" when gdbserver + cannot resolve the hostname. + +2018-07-12 Philippe Waroquiers + + * gdb.threads/pthreads.exp: Test qcs FLAG arguments. + Add some test prefixes to make tests unique. + +2018-07-12 Philippe Waroquiers + + * gdb.base/frameapply.c: New file. + * gdb.base/frameapply.exp: New file. + +2018-07-12 Philippe Waroquiers + + * gdb.base/skip.exp: Update expected error message. + +2018-07-11 Sergio Durigan Junior + Jan Kratochvil + Paul Fertser + Tsutomu Seki + + * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST' + parameter. + * boards/native-extended-gdbserver.exp: Do not set 'sockethost' + by default. + * boards/native-gdbserver.exp: Likewise. + * gdb.server/run-without-local-binary.exp: Improve regexp used + for detecting when a remote debugging connection succeeds. + * gdb.server/server-connect.exp: New file. + * lib/gdbserver-support.exp (gdbserver_default_get_comm_port): + Do not prefix the port number with ":". + (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement + support for detecting and using it. Add '$debughost_gdbserver' + to the list of arguments used to start gdbserver. Handle case + when gdbserver cannot resolve a network name. + +2018-07-11 Sergio Durigan Junior + + PR c++/23373 + * gdb.base/ptype-offsets.cc (struct static_member): New + struct. + (main) : New variable. + * gdb.base/ptype-offsets.exp: Add test for printing a struct + with a static member in it. + +2018-07-10 Andrew Burgess + + * gdb.base/watchpoint-reuse-slot.exp: Test with hardware + watchpoints enabled and disabled. + +2018-07-09 Andrew Burgess + + * gdb.base/examine-backward.exp: Still run tests around address + 0x0, even if address 0x0 is not readable. Update the pattern for + matching address 0x0 in expected output. + +2018-07-06 Andrew Burgess + + * gdb.base/share-env-with-gdbserver.c (main): Add call to + malloc/free. + +2018-07-04 Tom de Vries + + * gdb.dwarf2/dw2-error.exp: Update expected error message. + +2018-07-02 Maciej W. Rozycki + + PR tdep/8282 + * gdb.arch/mips-disassembler-options.exp: New test. + * gdb.arch/mips-disassembler-options.s: New test source. + +2018-06-29 Pedro Alves + + * gdb.threads/names.exp: Adjust expected "info threads" output. + +2018-06-29 Pedro Alves + + * gdb.opt/inline-break.exp (line number, address): Add "info + break" tests. + +2018-06-29 Pedro Alves + + * gdb.opt/inline-break.c (func1): Add "break here" marker. + * gdb.opt/inline-break.exp: Test setting breakpoints by line + number and address and running to them. + +2018-06-29 Richard Bunt + + * gdb.base/watchpoint-hw-attach.exp: Remove unstable output. + +2018-06-28 Jan Kratochvil + + * lib/compiler.c: Remove executable permission flag. + +2018-06-28 Richard Bunt + + * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded + code. + * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame. + +2018-06-28 Petr Tesarik + + * gdb.base/relocate.exp: Add test for "add-symbol-file -o ". + +2018-06-28 Petr Tesarik + + * gdb.base/relocate.exp: Test add-symbol-file behavior when the + address argument is omitted. + +2018-06-28 Petr Tesarik + + * gdb.base/relocate.exp: Add test for "symbol-file -o ". + +2018-06-27 Omair Javaid + + PR gdb/21695 + * gdb.base/infoline-reloc-main-from-zero.exp: New test. + * gdb.base/infoline-reloc-main-from-zero.c: New file. + +2018-06-26 Tom Tromey + + PR rust/22574: + * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests. + * gdb.rust/simple.rs (struct SimpleLayout): New. + +2018-06-22 Simon Marchi + + * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in + "info registers" output. + +2018-06-21 Richard Bunt + + * gdb.base/watchpoint-hw-attach.c: New test. + * gdb.base/watchpoint-hw-attach.exp: New file. + +2018-06-20 Simon Marchi + + * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh + through /bin/sh. + * boards/dwarf4-gdb-index.exp: Likewise. + * boards/fission-dwp.exp: Likewise. + +2018-06-20 Ulrich Weigand + + * gdb.base/float128.exp: Add comment and improved fail message + to the failure case of "print large128" test. + +2018-06-19 Simon Marchi + + * configure.ac: Remove AC_PREREQ. + * configure: Re-generate. + +2018-06-19 Pedro Alves + + * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller) + (func_extern_caller): New. + (main): Call func_extern_caller. + * gdb.opt/inline-break.exp: Add tests for inline frame skipping + logic change. + +2018-06-18 Weimin Pan + + PR gdb/16841 + * gdb.cp/typedef-base.cc: New file. + * gdb.cp/typedef-base.exp: New file. + +2018-06-18 Tom de Vries + + * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations. + +2018-06-16 Andrew Burgess + Richard Bunt + + * gdb.threads/attach-slow-waitpid.c: New file. + * gdb.threads/attach-slow-waitpid.exp: New file. + * gdb.threads/slow-waitpid.c: New file. + +2018-06-14 Pedro Alves + + * gdb.base/fork-running-state.c: Include . + (exit_if_relative_exits): New. + (fork_child): If 'exit_if_relative_exits' is true, exit if the parent + exits. + (fork_parent): If 'exit_if_relative_exits' is true, exit if the + child exits. + +2018-06-14 Tom de Vries + + PR cli/22573 + * gdb.base/finish-pretty.c: New test. + * gdb.base/finish-pretty.exp: New file. + +2018-06-14 Pedro Alves + + * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build + gdb's expected startup output. + +2018-06-14 Pedro Alves + + * lib/selftest-support.exp (selftest_setup): Remove inlined + function handling. + +2018-06-14 Tom de Vries + + * lib/selftest-support.exp (selftest_setup): Allow function arguments in + matching of breakpoint printing. + +2018-06-13 Tom de Vries + + PR testsuite/23269 + * gdb.base/fork-running-state.c (main): Move setting of alarm ... + (fork_child): ... here, and ... + (fork_parent): ... here. + +2018-06-12 Tom de Vries + + * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text. + +2018-06-12 Andrew Burgess + Stephen Roberts + + * gdb.threads/multiple-successive-infcall.exp: Remove kfail case, + rewrite test to describe action performed, rather than possible + failure. + +2018-06-08 Gary Benson + + * gdb.threads/check-libthread-db.exp: New file. + * gdb.threads/check-libthread-db.c: Likewise. + +2018-06-05 Tom Tromey + + * gdb.base/default.exp: Update expected "show version" output. + +2018-06-05 Tom Tromey + + PR cli/12326: + * gdb.cp/static-print-quit.exp: Update. + * lib/gdb.exp (pagination_prompt): Update. + * gdb.base/page.exp: Use pagination_prompt. Add new tests. + * gdb.python/python.exp: Update. + +2018-06-04 Joel Brobecker + + * gdb.mi/list-thread-groups-no-inferior.exp: New testcase. + +2018-06-01 Joel Brobecker + + * gdb.ada/bp_fun_addr: New testcase. + +2018-06-01 Tom Tromey + + * gdb.xml/tdesc-regs.exp (load_description): Update expected + results. + * gdb.dwarf2/method-ptr.exp: Set language to C++. + * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++. + * gdb.cp/typeid.exp (do_typeid_tests): Update type_re. + * gdb.base/maint.exp (maint_pass_if): Update. + +2018-05-31 Maciej W. Rozycki + + * gdb.base/endian.exp: New test. + * gdb.base/endian.c: New test source. + +2018-05-24 Andrew Burgess + + PR gdb/23203 + * gdb.base/bt-selected-frame.c: New file. + * gdb.base/bt-selected-frame.exp: New file. + * lib/gdb.exp (get_current_frame_number): New function. + +2018-05-24 Maciej W. Rozycki + Pedro Alves + + * gdb.threads/tls-core.c: Include + (thread_proc): Call `abort'. + * gdb.threads/tls-core.exp: Generate a core with core_find too. + (tls_core_test): New procedure, bits factored out from ... + (top level): ... here. Test both native cores and gcore cores. + +2018-05-23 Tom Tromey + + * gdb.gdb/complaints.exp (test_initial_complaints): Simplify. + +2018-05-23 Tom Tromey + + * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention + symfile_complaints. + (test_short_complaints): Likewise. + (test_empty_complaints): Likewise. + (test_initial_complaints): Update. + +2018-05-23 Tom Tromey + + * gdb.gdb/complaints.exp (test_empty_complaints): Update. + +2018-05-23 Tom Tromey + + * gdb.gdb/complaints.exp (test_serial_complaints): Remove. + (test_short_complaints): Update. + +2018-05-22 Pedro Alves + + * gdb.base/remote.exp: Only gdb_start after compiling the + testcase. Issue "disconnect" before testing "set remote" command + defaults. Issue clean_restart before running to main. + +2018-05-22 Pedro Alves + + * gdb.base/remote.exp: Adjust expected output of "show remote + memory-write-packet-size". Add tests for "set remote + memory-write-packet-size 0" and "set remote + memory-write-packet-size fixed/limit". + +2018-05-22 Pedro Alves + + PR gdb/22973 + * gdb.base/utf8-identifiers.c: New file. + * gdb.base/utf8-identifiers.exp: New file. + +2018-05-22 Pedro Franco de Carvalho + + * gdb.arch/powerpc-fpscr-gcore.exp: New file. + +2018-05-22 Pedro Franco de Carvalho + + * gdb.arch/powerpc-vsx-gcore.exp: New file. + +2018-05-18 Tom Tromey + + * gdb.base/ptype-offsets.exp: Update. + +2018-05-17 Keith Seitz + + * gdb.ada/bp_inlined_func.exp: Update inlined frame locations + in expected breakpoint stop locations. + * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to + move to proper scope to test variable values. + * gdb.opt/inline-break.c (inline_func1, not_inline_func1) + (inline_func2, not_inline_func2, inline_func3, not_inline_func3): + New functions. + (main): Call not_inline_func3. + * gdb.opt/inline-break.exp: Start inferior and set breakpoints at + inline_func1, inline_func2, and inline_func3. Test that when each + breakpoint is hit, GDB properly reports both the stop location + and the backtrace. Repeat tests for temporary breakpoints. + +2018-05-15 Maciej W. Rozycki + + * gdb.server/server-kill.exp: Verify whether `server_pid' exists + rather then trying to access it in determining whether the PID + of `gdbserver' could have been retrieved. + +2018-05-08 Andrew Burgess + + * gdb.arch/amd64-init-x87-values.S: New file. + * gdb.arch/amd64-init-x87-values.exp: New file. + +2018-05-08 Jan Kratochvil + + * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests. + +2018-05-04 Tom Tromey + + PR python/22730: + * gdb.python/python.exp: Test multi-line execute. + +2018-05-04 Tom Tromey + + PR python/22731: + * gdb.python/py-breakpoint.exp: Test setting breakpoint commands. + +2018-05-04 Tom Tromey + + PR gdb/11750: + * gdb.base/define.exp: Test defining a user command inside a user + command. + * gdb.base/commands.exp (define_if_without_arg_test): Test "define". + +2018-05-04 Jan Kratochvil + Pedro Alves + + PR breakpoints/19806 and support for PR external/20207. + * gdb.base/watchpoint-unaligned.c: New file. + * gdb.base/watchpoint-unaligned.exp: New file. + +2018-05-04 Andrew Burgess + + * gdb.base/maint.exp: Make test names unique, use + test_prefix_command_help to test 'help maint info', and remove + repeated test of 'help maint'. + +2018-05-04 Tom Tromey + + PR gdb/22619: + * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat + behavior. + +2018-05-04 Andrew Burgess + + * gdb.base/maint.exp: Process output from 'maint print registers' + line at a time. + +2018-05-04 Andrew Burgess + + * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a + timeout. + +2018-05-03 Andrew Burgess + + * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register + filter pattern. + +2018-05-02 Pedro Alves + + * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and + to_log_command renames. + * gdb.base/sss-bp-on-user-bp-2.exp: Likewise. + +2018-05-02 Tom Tromey + + * gdb.python/py-parameter.exp: Set test message. + +2018-05-02 Tom Tromey + + PR python/20084: + * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and + PARAM_ZUINTEGER_UNLIMITED tests. + +2018-04-28 Dan Robertson + + PR rust/23124 + * gdb.rust/expr.exp: Test that the unit type is correctly parsed + when casting. + +2018-04-30 Tom Tromey + + * gdb.python/py-type.exp: Check align attribute. + * gdb.python/py-type.c: New "aligncheck" global. + +2018-04-30 Tom Tromey + + PR exp/17095: + * gdb.dwarf2/dw2-align.exp: New file. + * gdb.cp/align.exp: New file. + * gdb.base/align.exp: New file. + * lib/gdb.exp (gdb_int128_helper): New proc. + (has_int128_c, has_int128_cxx): New caching procs. + +2018-04-27 Tom Tromey + + PR rust/22545: + * gdb.rust/simple.exp: Add inclusive range tests. + +2018-04-26 Pedro Alves + + * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves + ifunc breakpoint locations correctly of ifunc breakpoints set + while the program resolves the ifunc. + +2018-04-26 Pedro Alves + + * gdb.base/gnu-ifunc-final.c: New file. + * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c. + * gdb.base/gnu-ifunc.exp (executable): Delete. + (staticexecutable): Adjust. + (lib_opts, exec_opts): Delete. + (make_binsuffix, build, set-break): New procedures. + (misc_tests): New, with tests factored out from the top level. + (top level): Test different combinations of ifunc resolver name, + resolver with and with debug info, and ifunc target with and + without debug info. Wrap static tests with with_target_prefix. + +2018-04-26 Pedro Alves + + * gdb.compile/compile-ifunc.exp: Also expect "function has unknown + return type" warnings. + +2018-04-25 Pedro Alves + + * gdb.base/hook-stop.exp: Expect "killed" instead of "has been + killed". + * gdb.base/kill-after-signal.exp: Likewise. + * gdb.threads/kill.exp: Likewise. + +2018-04-24 Jan Kratochvil + Sergio Durigan Junior + Pedro Alves + + * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...' + regexps to expect for '[Inferior ... detached]' as well. + * gdb.base/attach.exp: Likewise. + * gdb.base/catch-syscall.exp (check_for_program_end): Adjust + "gdb_continue_to_end". + (test_catch_syscall_with_wrong_args): Likewise. + * gdb.base/foll-fork.exp: Adjust regexps to match '[' and + ']'. Don't set 'verbose' on. + * gdb.base/foll-vfork.exp: Likewise. + * gdb.base/fork-print-inferior-events.c: New file. + * gdb.base/fork-print-inferior-events.exp: New file. + * gdb.base/hook-stop.exp: Adjust regexps to expect for new + '[Inferior ... has been killed]' message. + * gdb.base/kill-after-signal.exp: Likewise. + * gdb.base/solib-overlap.exp: Adjust regexps to expect for new + detach message. + * gdb.threads/kill.exp: Adjust regexps to expect for new kill + message. + * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...' + regexps to expect for '[Inferior ... detached]' as well. + * gdb.threads/process-dies-while-detaching.exp: Likewise. + +2018-04-24 Simon Marchi + + PR gdb/23104 + * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load. + +2018-04-22 Rajendra SY + + PR gdb/23095 + * gdb.base/break-probes.exp: Pass shlib_load to + prepare_for_testing. Set normal_bp to r_debug_state if target is + bsd. + +2018-04-19 Richard Bunt + + * gdb.threads/multiple-successive-infcall.c: New test. + * gdb.threads/multiple-successive-infcall.exp: New file. + +2018-04-17 Tom Tromey + + * gdb.rust/simple.rs (Union): New type. + (main): New local "u". + * gdb.rust/simple.exp (test_one_slice): Add new test case. + +2018-04-16 Andreas Arnez + + * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line + number information in output of "whereis" command. + * gdb.base/info-fun.exp: Likewise, for "info fun" command. + +2018-04-13 Andreas Arnez + + * gdb.ada/info_types.exp: Adjust expected output to the line + numbers now printed by "info var/func/type". + * gdb.base/completion.exp: Likewise. + * gdb.base/included.exp: Likewise. + * gdb.cp/cp-relocate.exp: Likewise. + * gdb.cp/cplusfuncs.exp: Likewise. + * gdb.cp/namespace.exp: Likewise. + * gdb.dwarf2/dw2-case-insensitive.exp: Likewise. + +2018-04-13 Markus Metzger + + * gdb.btrace/cpu.exp: New. + +2018-04-13 Markus Metzger + + * gdb.base/step-indirect-call-thunk.exp: New. + * gdb.base/step-indirect-call-thunk.c: New. + * gdb.reverse/step-indirect-call-thunk.exp: New. + * gdb.reverse/step-indirect-call-thunk.c: New. + +2018-04-11 Simon Marchi + + * gdb.base/pie-fork.c: New file. + * gdb.base/pie-fork.exp: New file. + +2018-04-11 Tom Tromey + + * gdb.rust/simple.exp: Add test for ".." struct initializer. + +2018-04-10 Pedro Alves + + * gdb.base/fork-running-state.c (fork_child): Don't exit if parent + exits. Instead loop running forever. + (fork_parent): Run forever too. + +2018-04-07 Simon Marchi + + * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use + mi_continue_to_line. + * gdb.mi/mi-stack.c (callee4): Add comment. + +2018-04-07 Simon Marchi + + * gdb.mi/mi-stack.exp: Fix indentation. + +2018-04-07 Simon Marchi + + PR gdb/22979 + * gdb.arch/amd64-osabi.exp: New file. + +2018-04-07 Simon Marchi + + PR gdb/22980 + * gdb.base/osabi.exp: New file. + +2018-04-02 Weimin Pan + + * gdb.cp/static-typedef-print.exp: New file. + * gdb.cp/static-typedef-print.cc: New file. + +2018-03-27 Joel Brobecker + + * gdb.ada/varsize_limit: New testcase. + +2018-03-27 Joel Brobecker + + * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail. + + * gdb.ada/notcplusplus: New testcase. + + * gdb.base/c-linkage-name.c: New file. + * gdb.base/c-linkage-name.exp: New testcase. + +2018-03-26 Tom Tromey + + * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt. + * gdb.python/py-framefilter.py (name_error): New global. + (ErrorInName.function): Use name_error. + +2018-03-26 Tom Tromey + + PR backtrace/15582: + * gdb.python/py-framefilter.exp: Add "bt hide" test. + +2018-03-23 Keith Seitz + + PR c++/22968 + * gdb.cp/subtypes.exp: New file. + * gdb.cp/subtypes.h: New file. + * gdb.cp/subtypes.cc: New file. + * gdb.cp/subtypes-2.cc: New file. + +2018-03-23 Andrew Burgess + + * gdb.arch/amd64-disp-step-avx.S: Add '_start' label. + (done): Call '_exit' not 'exit' to avoid atexit handlers. + * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and + -nostartfiles when compiling the test. Confirm that all registers + xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after. + +2018-03-23 Andrew Burgess + + * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag + option, syntax was wrong anyway. + * gdb.arch/arm-disp-step.exp: Likewise. + * gdb.arch/sparc64-regs.exp: Likewise. + * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag + option, syntax was wrong anyway, switch to use + prepare_for_testing. + * gdb.arch/i386-disp-step.exp: Likewise. + +2018-03-23 Andreas Arnez + + * gdb.ada/exec_changed.exp: Replace "target_info exists + use_gdb_stub" by "use_gdb_stub". + * gdb.ada/start.exp: Likewise. + * gdb.base/async-shell.exp: Likewise. + * gdb.base/attach-pie-misread.exp: Likewise. + * gdb.base/attach-wait-input.exp: Likewise. + * gdb.base/break-entry.exp: Likewise. + * gdb.base/break-interp.exp: Likewise. + * gdb.base/dprintf-detach.exp: Likewise. + * gdb.base/nostdlib.exp: Likewise. + * gdb.base/solib-nodir.exp: Likewise. + * gdb.base/statistics.exp: Likewise. + * gdb.base/testenv.exp: Likewise. + * gdb.mi/mi-exec-run.exp: Likewise. + * gdb.mi/mi-start.exp: Likewise. + * gdb.multi/dummy-frame-restore.exp: Likewise. + * gdb.multi/multi-arch-exec.exp: Likewise. + * gdb.multi/multi-arch.exp: Likewise. + * gdb.multi/tids.exp: Likewise. + * gdb.multi/watchpoint-multi.exp: Likewise. + * gdb.python/py-events.exp: Likewise. + * gdb.threads/attach-into-signal.exp: Likewise. + * gdb.threads/attach-stopped.exp: Likewise. + * gdb.threads/threadapply.exp: Likewise. + * lib/selftest-support.exp: Likewise. + +2018-03-22 Andreas Arnez + + * gdb.base/info-proc.exp: Add test for "info proc cmdline". + +2018-03-20 Stephen Roberts + + * gdb.perf/template-breakpoints.cc: New file. + * gdb.perf/template-breakpoints.exp: New file. + * gdb.perf/template-breakpoints.py: New file. + +2018-03-19 Tom Tromey + + * gdb.rust/simple.rs (main): Add local variables field1, field2, + y0. + * gdb.rust/simple.exp: Test bare identifier form of struct + initializer. + +2018-03-19 Tom Tromey + + * gdb.gdb/observer.exp: Remove. + +2018-03-19 Andreas Arnez + + * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the + "qualified" option when setting breakpoints. + * gdb.trace/backtrace.exp: Likewise. + * gdb.trace/circ.exp: Likewise. + * gdb.trace/collection.exp: Likewise. + * gdb.trace/disconnected-tracing.exp: Likewise. + * gdb.trace/ftrace-lock.exp: Likewise. + * gdb.trace/ftrace.exp: Likewise. + * gdb.trace/infotrace.exp: Likewise. + * gdb.trace/packetlen.exp: Likewise. + * gdb.trace/passc-dyn.exp: Likewise. + * gdb.trace/qtro.exp: Likewise. + * gdb.trace/read-memory.exp: Likewise. + * gdb.trace/report.exp: Likewise. + * gdb.trace/signal.exp: Likewise. + * gdb.trace/status-stop.exp: Likewise. + * gdb.trace/strace.exp: Likewise. + * gdb.trace/tfind.exp: Likewise. + * gdb.trace/trace-break.exp: Likewise. + * gdb.trace/trace-condition.exp: Likewise. + * gdb.trace/trace-mt.exp: Likewise. + * gdb.trace/tstatus.exp: Likewise. + * gdb.trace/tsv.exp: Likewise. + * gdb.trace/unavailable-dwarf-piece.exp: Likewise. + * gdb.trace/unavailable.exp: Likewise. + * gdb.trace/while-dyn.exp: Likewise. + +2018-03-16 Andreas Arnez + + * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure + that libinproctrace is copied to the target. + +2018-03-14 Tom Tromey + + PR cli/14977: + * gdb.base/printcmds.exp (test_printf): Add printf test of %s with + a null pointer. + * gdb.base/wchar.exp: Likewise. + +2018-03-14 Tom Tromey + + PR cli/19918: + * gdb.base/printcmds.exp (test_printf): Add printf test using '-' + flag. + +2018-03-08 Simon Marchi + + PR gdb/22841 + * boards/remote-stdio-gdbserver.exp (${board}_file): Pass + "target" to remote_exec. + +2018-03-08 Simon Marchi + + PR gdb/22841 + * boards/gdbserver-base.exp (${board}_file, ${board}_download, + ${board}_upload): Remove. + +2018-03-07 Andreas Arnez + + * gdb.cp/watch-cp.cc: New test. + * gdb.cp/watch-cp.exp: New file. + +2018-03-06 Andrew Burgess + + * gdb.base/infcall-nested-structs.exp: New file. + * gdb.base/infcall-nested-structs.c: New file. + * gdb.base/float.exp: Add riscv support. + +2018-03-02 Thomas Preud'homme + + * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits. + * gdb.mi/dw2-ref-missing-frame-func.c: Likewise. + +2018-02-28 Sergio Durigan Junior + + * gdb.server/abspath.exp: New file. + * lib/gdb.exp (with_cwd): New procedure. + +2018-02-28 Simon Marchi + + * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and + use it. + (gdb_is_target_remote_prompt): New proc. + (gdb_is_target_remote): Use gdb_is_target_remote_prompt. + (gdb_is_target_native): Pass prompt parameter to + gdb_is_target_1. + +2018-02-26 Simon Marchi + + * gdb.base/load-command.c: New file. + * gdb.base/load-command.exp: New file. + * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to... + (gdb_is_target_1): ...this, and generalize for other targets + than just remote. + (gdb_is_target_remote): Use gdb_is_target_1. + (gdb_is_target_native): use gdb_is_target_1. + +2018-02-26 Tom Tromey + + PR python/16497: + * gdb.python/py-framefilter.exp: Update test. + +2018-02-26 Tom Tromey + + * gdb.dwarf2/variant.c: New file. + * gdb.dwarf2/variant.exp: New file. + +2018-02-26 Tom Tromey + + * gdb.rust/simple.exp: Accept more possible results in enum test. + +2018-02-25 Simon Marchi + + * lib/cp-support.exp (cp_test_ptype_class): Move space inside + parentheses. + +2018-02-23 Maciej W. Rozycki + + * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the + name of a variable: $actual_linejj -> $actual_line. + +2018-02-21 John Baldwin + + * gdb.arch/amd64-i386-address.exp: Fix a typo. + +2018-02-20 Markus Metzger + + * gdb.btrace/buffer-size.exp: Do not force BTS. + +2018-02-14 Pedro Alves + + * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after + getting a "Quit". + +2018-02-09 Markus Metzger + + * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message. + Fix test name. + +2018-02-07 Simon Marchi + + * gdb.cp/m-static.exp: Check type of optimized out static + member. + +2018-02-03 Andrew Burgess + + * config/sid.exp (gdb_target_sid): Remove use of cleanup. + * config/sim.exp (gdb_target_sim): Remove use of cleanup. + +2018-02-01 Simon Marchi + Leszek Swirski + + * gdb.python/py-prettyprint.c + (struct to_string_returns_value_inner, + struct to_string_returns_value_wrapper): New. + (main): Add tsrvw variable. + * gdb.python/py-prettyprint.py (ToStringReturnsValueInner, + ToStringReturnsValueWrapper): New classes. + (register_pretty_printers): Register new pretty-printers. + * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing + recursive pretty printer. + * gdb.python/py-mi.exp: Likewise. + +2018-02-01 Leszek Swirski + + * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member + functions with the same name as an include file are parsed + correctly. + +2018-02-01 Yao Qi + + * gdb.base/attach.exp (do_attach_tests): Set sysroot to + "\[^\r\n\]*". + +2018-01-31 Nikola Prica + + * gdb.arch/powerpc-prologue-frame.s: New file. + * gdb.arch/powerpc-prologue-frame.c: Likewise. + * gdb.arch/powerpc-prologue-frame.exp: Likewise. + +2018-01-31 Joel Brobecker + + * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test. + +2018-01-30 Pedro Alves + + PR gdb/13211 + * gdb.base/interrupt-daemon.c: New. + * gdb.base/interrupt-daemon.exp: New. + * gdb.multi/multi-term-settings.c: New. + * gdb.multi/multi-term-settings.exp: New. + +2018-01-30 Joel Brobecker + + * gdb.base/break.exp: Save the location where the breakpoint + on break.c:47 was actually inserted when debugging the version + compiled at -O2 and use it in the expected output of the "info + break" test performed soon after. + +2018-01-22 Pedro Alves + Sergio Durigan Junior + + * gdb.base/whatis.exp: Add tests for 'set print object on' + + 'whatis ' 'whatis *' and 'whatis &'. + +2018-01-22 Joel Brobecker + + * gdb.base/break-include.c, gdb.base/break-include.inc, + gdb.base/break-include.exp: New files. + * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's + line number now being the actual line number where the breakpoint + was inserted. + * gdb.mi/mi-break.exp: Likewise. + * gdb.mi/mi-reverse.exp: Likewise. + * gdb.mi/mi-simplerun.exp: Ditto. + +2018-01-21 Andrew Burgess + + * gdb.python/py-mi.exp: Don't expect a thread-id for floating + varobj. + * gdb.mi/mi-var-create-rtti.exp: Likewise. + +2018-01-21 Don Breazeal + Andrew Burgess + + * gdb.mi/basics.c: Add new global. + * gdb.mi/mi-frame-regs.exp: New file. + * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new + case. + +2018-01-21 Andrew Burgess + + * gdb.arch/amd64-entry-value.exp: Test using @entry on a + non-parameter, and on an unknown symbol. + +2018-01-19 Tom Tromey + + * gdb.rust/modules.rs (TWENTY_THREE): New global. + * gdb.rust/modules.exp: Add ::-qualified lookup test. + +2018-01-19 Andreas Arnez + + * gdb.arch/s390-vregs.exp: Explicitly cast the return values of + setrlimit and chdir to int. + +2018-01-19 Andreas Arnez + + * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the + function. + (my_tend): Likewise. + * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the + rationale of avoiding FP- and vector instructions. + +2018-01-19 Ruslan Kabatsayev + + * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from + "info reg" with "\[ \t\]*". + * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with + "\[ \t\]+". + * gdb.arch/s390-multiarch.exp: Ditto. + * gdb.base/pc-fp.exp: Ditto. + * gdb.reverse/i386-precsave.exp: Ditto. + * gdb.reverse/i386-reverse.exp: Ditto. + * gdb.reverse/i387-env-reverse.exp: Ditto. + * gdb.reverse/i387-stack-reverse.exp: Ditto. + +2018-01-18 Andreas Arnez + + * lib/gdb.exp (gdb_compile): Re-enable use of + universal_compile_options for languages other than Rust. + +2018-01-18 Andreas Arnez + + * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float. + +2018-01-17 Mike Gulick + + PR gdb/16577 + * gdb.base/solib-vanish.exp: New. + * gdb.base/solib-vanish-main.c: New. + * gdb.base/solib-vanish-lib1.c: New. + * gdb.base/solib-vanish-lib2.c: New. + +2018-01-17 Yao Qi + + * gdb.compile/compile.exp: Match the address printed for + frame in the output of command "bt". + +2018-01-15 Tom Tromey + + * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to + compute sp_reg. + +2018-01-12 Andrew Burgess + + * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed + to prepare. + (prepare): Return 0 on error, 1 on success. + +2018-01-12 Pedro Alves + + * gdb.base/continue-after-aborted-step-over.c: New. + * gdb.base/continue-after-aborted-step-over.exp: New. + +2018-01-11 Simon Marchi + + * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load + options when not creating an executable. + +2018-01-11 Pedro Alves + + PR remote/22597 + * gdb.server/stop-reply-no-thread.c: New file. + * gdb.server/stop-reply-no-thread.exp: New file. + +2018-01-10 Pedro Alves + + PR gdb/22670 + * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C + functions too. Test setting breakpoints and printing C functions + with no debug info too. + * gdb.ada/bp_c_mixed_case/qux.c: New file. + +2018-01-10 Pedro Alves + + PR gdb/22670 + * gdb.ada/complete.exp ("complete break ada"): Replace kfail with + a fail. + +2018-01-10 Pedro Alves + + PR gdb/22670 + * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls. + +2018-01-08 Simon Marchi + + * gdb.server/unittest.exp: Match the output in non-development + mode. + +2018-01-08 Simon Marchi + + * gdb.gdb/unittest.exp: Match output in non-development mode. + +2018-01-08 Joel Brobecker + + * gdb.ada/access_tagged_param.exp: Relax expected output + for value of "ObjL" in "continue" to pck.inspect breakpoint + test. + +2018-01-08 Joel Brobecker + + * gdb.ada/arr_enum_idx_w_gap.exp: New file. + * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file. + +2018-01-05 Pedro Alves + + PR gdb/18653 + * gdb.base/libsegfault.exp: New. + +2018-01-05 Joel Brobecker + + PR gdb/22670 + * gdb.ada/access_tagged_param.exp: New file. + * gdb.ada/access_tagged_param/foo.adb: New file. + +2018-01-05 Pedro Alves + + PR gdb/22670 + * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to + exercise lower case too, and to exercise both full matching and + wild matching. + +2018-01-05 Joel Brobecker + + * gdb.ada/rename_subscript_param: New testcase. + +2018-01-05 Jerome Guitton + + * gdb.ada/arr_acc_idx_w_gap: New testcase. + +2018-01-05 Joel Brobecker + + * gdb.ada/convvar_comp: New testcase. + +2018-01-05 Xavier Roirand + + * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type. + (My_Table): New global variable. + * testsuite/gdb.ada/array_char_idx.exp: Add test. + +2018-01-04 Joel Brobecker + + PR gdb/22670 + * gdb.ada/maint_with_ada: New testcase. + +2018-01-04 Joel Brobecker + + PR gdb/22670 + * gdb.ada/bp_c_mixed_case: New testcase. + +2018-01-04 Joel Brobecker + + PR gdb/22670 + * gdb.ada/complete.exp: Add "complete break ada" test. + +2018-01-04 Joel Brobecker + + PR gdb/22670 + * gdb.ada/info_addr_mixed_case: New testcase. + +2018-01-03 Xavier Roirand + + * gdb.ada/excep_handle.exp: New testcase. + * gdb.ada/excep_handle/foo.adb: New file. + * gdb.ada/excep_handle/pck.ads: New file. + +2018-01-03 Joel Brobecker + + * gdb.base/step-line.c: Add extra empty line in copyright header. + * gdb.base/step-line.inp: Likewise. + +2018-01-02 Joel Brobecker + + * gdb.ada/dyn_stride.exp: Add slice test. + +2018-01-02 Joel Brobecker + + * gdb.ada/dyn_stride: New testcase. + +2017-12-27 Stafford Horne + + * gdb.xml/extra-regs.xml: Add example foo reggroup. + * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup. + +2017-12-27 Stafford Horne + + * gdb.base/reggroups.c: New file. + * gdb.base/reggroups.exp: New file. + +2017-12-18 Joel Brobecker + + * gdb.dwarf2/ada-valprint-error.c: New file. + * gdb.dwarf2/ada-valprint-error.exp: New file. + +2017-12-18 Joel Brobecker + + * gdb.ada/assign_arr: New testcase. + +2017-12-18 Xavier Roirand + + * gdb.ada/funcall_ptr: New testcase. + +2017-12-15 Sergio Durigan Junior + + PR cli/16224 + * gdb.base/ptype-offsets.cc: New file. + * gdb.base/ptype-offsets.exp: New file. + +2017-12-15 Yao Qi + + * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions' + if XML is disabled. + +2017-12-15 Xavier Roirand + + * gdb.ada/same_component_name: New testcase. + +2017-12-14 Joel Brobecker + + * gdb.ada/str_binop_equal: New testcase. + +2017-12-14 Joel Brobecker + + * gdb.ada/task_switch_in_core: New testcase. + +2017-12-13 Simon Marchi + + * gdb.python/py-breakpoint.c (foo_ns::multiply): New function. + * gdb.python/py-breakpoint.exp: Compile the test case as c++, + call test_bkpt_qualified. + (test_bkpt_qualified): New proc. + +2017-12-13 Pedro Alves + + * lib/completion-support.exp (test_gdb_complete_tab_multiple): + Tighten regexp by matching with an anchor. + +2017-12-13 Pedro Alves + + * gdb.cp/cpcompletion.exp: Load completion-support.exp. + ("expression with namespace"): New set of tests. + * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar) + (Nested::Test_NS::qux): New. + * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add + defaults to 'start_quote_char' and 'end_quote_char' parameters. + +2017-12-13 Joel Brobecker + + * gdb.base/server-del-break.c: New file. + * gdb.base/server-del-break.exp: New file. + +2017-12-12 Stafford Horne + + * gdb.xml/tdesc-regs.exp: Add or1k support. + +2017-12-12 Stafford Horne + + * gdb.base/bp-permanent.c: Define nop of or1k. + +2017-12-11 Joel Brobecker + + * gdb.ada/variant_record_packed_array.exp: Adapt test to accept + output with components being reordered. + +2017-12-11 Joel Brobecker + + * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept + output with components being reordered. + +2017-12-08 Jan Kratochvil + Pedro Alves + + * gdb.base/maint.exp (check for .gdb_index): Check also for + .debug_names. + * gdb.dlang/watch-loc.c (.debug_aranges): New. + * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise. + * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used) + (.gdb_index used after symbol reloading): Support also .debug_names. + * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New. + +2017-12-08 Yao Qi + + * gdb.arch/aarch64-tagged-pointer.c (main): Update. + * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint. + +2017-12-08 Yao Qi + + * gdb.arch/aarch64-tagged-pointer.c (main): Update. + * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint. + +2017-12-08 Yao Qi + + * gdb.arch/aarch64-tagged-pointer.c: New file. + * gdb.arch/aarch64-tagged-pointer.exp: New file. + +2017-12-08 Sergio Durigan Junior + + * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call + "int". + +2017-12-07 Keith Seitz + + PR breakpoints/22569 + * gdb.linespec/ls-errs.exp: Change expected result of "break + -source this file has spaces.c -line 3". + Check that an explicit source file followed by whitespace is + identified as an invalid explicit location. + +2017-12-07 Keith Seitz + + * gdb.cp/nested-types.cc: New file. + * gdb.cp/nested-types.exp: New file. + * lib/cp-support.exp: Load data-structures.exp library. + (debug_cp_test_ptype_class): New global. + (cp_ptype_class_verbose, next_line): New procedures. + (cp_test_ptype_class): Add and document new parameter `recursive_qid'. + Add and document new return value. + Switch the list of lines to a queue. + Add support for new `type' key for nested type definitions. + Add debugging/troubleshooting messages. + * lib/data-structures.exp: New file. + +2017-12-07 Simon Marchi + + * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define + with proc_with_prefix, don't use with_test_prefix. + +2017-12-07 Tom Tromey + + * gdb.base/break.exp: Add test for empty "commands". + +2017-12-07 Yao Qi + + * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on + malloc and catch syscall. + +2017-12-07 Phil Muldoon + + * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new + tests for explicit locations. + +2017-12-06 Pedro Alves + + * gdb.arch/i386-avx.exp: If testing with a RSP target, check + force-disabling XML descriptions. + +2017-12-04 Pedro Alves + + PR gdb/22499 + * gdb.arch/amd64-disp-step-avx.S: New file. + * gdb.arch/amd64-disp-step-avx.exp: New file. + +2017-12-03 Pedro Alves + + * gdb.threads/process-dies-while-detaching.c: Include + and . + (parent_function): Print distinct messages when waitpid fails, or + the child exits with a signal, or the child exits for an unhandled + reason. + * gdb.threads/process-dies-while-detaching.exp + (detach_and_expect_exit): New 'inf_output_re' parameter and use + it. Wait for both inferior output and GDB's prompt. Use an + indirect spawn id list. + (do_detach): New parameter 'child_exit'. Use it to compute + expected inferior output. + (test_detach, test_detach_watch, test_detach_killed_outside): + Adjust to pass down the expected child exit kind. + +2017-12-01 Joel Brobecker + Sergio Durigan Junior + Pedro Alves + + * gdb.base/readnever.c, gdb.base/readnever.exp: New files. + +2017-12-01 Sergio Durigan Junior + + * gdb.base/relocate.exp: Add tests to guarantee that arguments + to 'symbol-file' and 'add-symbol-file' can be + position-independent. + +2017-12-01 Yao Qi + + * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with + the URL in copyright header. + * gdb.arch/aarch64-fp.exp: Likewise. + * gdb.arch/ppc64-atomic-inst.exp: Likewise. + * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise. + * gdb.base/expand-psymtabs.exp: Likewise. + * gdb.cp/expand-psymtabs-cxx.exp: Likewise. + * gdb.fortran/common-block.exp: Likewise. + * gdb.fortran/common-block.f90: Likewise. + * gdb.fortran/logical.exp: Likewise. + * gdb.fortran/vla-datatypes.f90: Likewise. + * gdb.fortran/vla-sub.f90: Likewise. + +2017-11-30 Joel Brobecker + + * gdb.ada/repeat_dyn: New testcase. + +2017-11-30 Ulrich Weigand + + * gdb.cell/gcore.exp: Fix typo when setting spu_bin. + Update for changed thread numbering. + * gdb.cell/bt.exp: Update for changed GDB output. + +2017-11-30 Simon Marchi + + * boards/cc-with-tweaks.exp: Include local-board.exp instead of + setting isremote by hand. + * boards/dwarf4-gdb-index.exp: Likewise. + * boards/fission.exp: Likewise. + * boards/stabs.exp: Likewise. + +2017-11-30 Pedro Alves + + * gdb.linespec/cpls-ops.exp + (check_explicit_skips_function_argument): Extract the underlying + type of size_t instead of hardcoding it. + +2017-11-29 Pedro Alves + + PR c++/19436 + * gdb.linespec/cpls-abi-tag.cc: New file. + * gdb.linespec/cpls-abi-tag.exp: New file. + +2017-11-29 Pedro Alves + + * gdb.base/langs.exp: Use -qualified. + * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without + it. + * gdb.cp/namespace.exp: Use -qualified. + * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2) + (overload-3, template-overload, template-ret-type, const-overload) + (const-overload-quoted, anon-ns, ambiguous-prefix): New + procedures. + (test_driver): Call them. + * gdb.cp/save-bp-qualified.cc: New. + * gdb.cp/save-bp-qualified.exp: New. + * gdb.linespec/explicit.exp: Test -qualified. + * lib/completion-support.exp (completion::explicit_opts_list): Add + "-qualified". + * lib/gdb.exp (gdb_breakpoint): Handle "qualified". + +2017-11-29 Phil Muldoon + + * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests. + +2017-11-29 Tom Tromey + + * gdb.base/relocate.exp: Update invalid argument test. + Add new tests for invalid arguments. + +2017-11-29 Thomas Preud'homme + + * gdb.cp/psymtab-parameter.cc (func): Change return type back to long. + Return 0 as a long. + * gdb.cp/psymtab-parameter.exp: Change func's return type back to long. + +2017-11-29 Thomas Preud'homme + + * gdb.cp/breakpoint.cc (bar): Set return type to void. + * gdb.cp/psymtab-parameter.cc (func): Likewise. + * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of + func (). + * gdb.cp/shadow.cc (B.func): Return 0. + +2017-11-27 Joel Brobecker + + * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust + expected output in gdb_expect call to allow the exception + message to be present as well. Fix syntax confusion to avoid + TCL thinking that exception_name is an array. + +2017-11-26 Ulrich Weigand + + * gdb.arch/spu-info.c: Include . + (do_signal_test): Fix broken calls to write. + * gdb.arch/spu-info.exp: Use prepare_for_testing. + Fix checks for empty mailboxes. Update signal tests for corrected + do_signal_test routine. Allow nonzero event status. + * gdb.arch/spu-ls.exp: Use prepare_for_testing. + * gdb.cell/arch.exp: Use standard_output_file. + * gdb.cell/break.exp: Likewise. + * gdb.cell/bt.exp: Likewise. + * gdb.cell/core.exp: Likewise. + * gdb.cell/dwarfaddr.exp: Likewise. + * gdb.cell/ea-cache.exp: Likewise. + * gdb.cell/ea-standalone.exp: Likewise. + * gdb.cell/f-regs.exp: Likewise. + * gdb.cell/fork.exp: Likewise. + * gdb.cell/gcore.exp: Likewise. + * gdb.cell/mem-access.exp: Likewise. + * gdb.cell/ptype.exp: Likewise. + * gdb.cell/registers.exp: Likewise. + * gdb.cell/sizeof.exp: Likewise. + * gdb.cell/solib-symbol.exp: Likewise. + * gdb.cell/solib.exp: Likewise. + +2017-11-25 Pedro Alves + + * gdb.base/complete-empty.exp: New file. + * gdb.base/completion.exp: Adjust. + +2017-11-25 Pedro Alves + + * gdb.linespec/cpls-ops.cc: New file. + * gdb.linespec/cpls-ops.exp: New file. + * lib/completion-support.exp (test_complete_prefix_range_re): New, + factored out from ... + (test_complete_prefix_range): ... this. + +2017-11-24 Pedro Alves + + * gdb.linespec/cpcompletion.exp: New file. + * gdb.linespec/cpls-hyphen.cc: New file. + * gdb.linespec/cpls.cc: New file. + * gdb.linespec/cpls2.cc: New file. + * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust + test to use test_gdb_complete_unique. Add label completion, + keyword completion and explicit location completion tests. + * lib/completion-support.exp: New file. + +2017-11-24 Joel Brobecker + + * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp, + gdb.ada/mi_ex_cond.exp: Accept optional exception message in + when hitting an exception catchpoint. + +2017-11-22 Yao Qi + + * gdb.base/macscp.exp: Append -g3 to additional_flags for clang. + +2017-11-22 Simon Marchi + + * gdb.opt/inline-locals.exp: Mark tests as KFAIL. + * gdb.dwarf2/info-locals-optimized-out.exp: New file. + * gdb.dwarf2/info-locals-optimized-out.c: New file. + +2017-11-22 Yao Qi + + * gdb.base/info-os.exp: Pass pthreads. + * gdb.multi/multi-attach.exp: Likewise. + +2017-11-22 Yao Qi + + * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc + compiler. + +2017-11-22 Yao Qi + + * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags. + * gdb.base/break-interp.exp: Likewise. + * gdb.base/jit-attach-pie.exp: Likewise. + +2017-11-22 Ulrich Weigand + + * gdb.base/float128.c (large128): New variable. + * gdb.base/float128.exp: Add test to print largest __float128 value. + +2017-11-22 Ulrich Weigand + + * gdb.arch/vsx-regs.exp: Update register content checks. + +2017-11-21 Ulrich Weigand + + * gdb.arch/ppc-longdouble.exp: New file. + * gdb.arch/ppc-longdouble.c: Likewise. + +2017-11-21 Pedro Alves + + * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'. + +2017-11-20 Pedro Alves + + * gdb.base/whatis-ptype-typedefs.c (double_typedef) + (long_double_typedef): New typedefs. + Use DEF on double and long double. + * gdb.base/whatis-ptype-typedefs.exp: Add double and long double + cases. + (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size', + and 'long_double_ptr_same_size' locals. Use them to decide + whether cast from array/function to float is valid/invalid. + +2017-11-17 Tom Tromey + + * gdb.rust/traits.rs: New file. + * gdb.rust/traits.exp: New file. + +2017-11-17 Joel Brobecker + + * gdb.ada/minsyms: New testcase. + +2017-11-16 Pedro Alves + + * gdb.base/bp-cmds-continue-ctrl-c.c: New file. + * gdb.base/bp-cmds-continue-ctrl-c.exp: New file. + +2017-11-16 Pedro Alves + + * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if + gdb,noinferiorio is set, and use gdb_test_stdio otherwise. + +2017-11-16 Pedro Alves + + * gdb.server/reconnect-ctrl-c.c: New file. + * gdb.server/reconnect-ctrl-c.exp: New file. + +2017-11-16 Phil Muldoon + + * gdb.python/py-rbreak.exp: New file. + * gdb.python/py-rbreak.c: New file. + * gdb.python/py-rbreak-func2.c: New file. + +2017-11-16 Pedro Alves + + * gdb.base/starti.exp ("continue" test): Remove ".*"s from + pattern. + * lib/gdb.exp (gdb_test_sequence): Don't send empty command to + GDB. + +2017-11-15 Simon Marchi + + * gdb.tui/completionn.exp (test_tab_completion): Add space in + regex. + +2017-11-13 Simon Marchi + + * gdb.opt/inline-locals.exp: Remove trailing parentheses from + test names. + +2017-11-09 Pedro Alves + + * gdb.tui/tui-completion.exp (test_tab_completion): New procedure, + factored out from ... + (top level): ... here, and adjusted to avoid expecting beyond the + prompt in a single gdb_test_multiple. + +2017-11-09 Pedro Alves + + * gdb.multi/multi-attach.exp ("kill" test): Match the whole query + output. + * gdb.server/ext-attach.exp ("kill" test): Likewise. + * gdb.server/ext-restart.exp ("kill" test): Likewise. + * gdb.server/ext-run.exp ("kill" test): Likewise. + * gdb.server/ext-wrapper.exp ("kill" test): Likewise. + +2017-11-09 Pedro Alves + + * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to + match till end of line. + +2017-11-09 Pedro Alves + + * gdb.base/memattr.exp: Tighten regexes to match the end line. + +2017-11-09 Pedro Alves + + * gdb.base/completion.exp (ignore_and_resync, test_tab_complete): + New procedures, factored out from ... + (top level): ... here, and adjusted to avoid expecting beyond the + prompt in one go. + +2017-11-09 Pedro Alves + + * gdb.asm/asm-source.exp ("kill" test): Match the whole query + output. Fix '?' match. + +2017-11-08 Joel Brobecker + + * gdb.ada/scoped_watch: New testcase. + * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior + which is actually correct. + * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj. + * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj. + +2017-11-08 Pedro Alves + + * gdb.gdb/complaints.exp (test_initial_complaints) + (test_serial_complaints, test_short_complaints): Call + complaint_internal instead of complaint. + +2017-11-08 Djordje Todorovic + + * gdb.threads/tls-core.c: New file. + * gdb.threads/tls-core.exp: Likewise. + +2017-11-08 Pedro Alves + + * gdb.ada/complete.exp (p ): New test. + (p Exported_Capitalized): New test. + (p exported_capitalized): New test. + +2017-11-07 Pedro Alves + + * gdb.cp/ena-dis-br-range.exp: Add more tests. + +2017-11-07 Pedro Alves + + * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test. + * gdb.cp/ena-dis-br-range.exp: Adjust tests. + (disable_invalid, disable_inverted, disable_negative): New + procedures. + ("bad numbers"): New set of tests. + +2017-11-07 Pedro Alves + + * gdb.cp/ena-dis-br-range.exp: Add tests. + +2017-11-07 Pedro Alves + + * gdb.base/ena-dis-br.exp: Don't expect "warning:". + +2017-11-07 Xavier Roirand + Pedro Alves + + * gdb.base/ena-dis-br.exp: Add reference to + gdb.cp/ena-dis-br-range.exp. + * gdb.cp/ena-dis-br-range.exp: New file. + * gdb.cp/ena-dis-br-range.cc: New file. + +2017-11-06 Pedro Alves + + * gdb.base/attach-non-pgrp-leader.c: New. + * gdb.base/attach-non-pgrp-leader.exp: New. + +2017-11-06 Pedro Alves + + * configure.ac: No longer check for termio.h and sgtty.h. + * configure: Regenerate. + * remote-utils.c: Include termios.h instead of gdb_termios.h. + (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS. + Remove termio and sgtty code. + +2017-11-03 Yao Qi + + * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing + in GDB is disabled. + +2017-11-03 Yao Qi + + * gdb.python/py-thrhandle.exp: Skip it if python is not + enabled. + +2017-10-31 Simon Marchi + + * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace + as a breakpoint command. + +2017-10-28 Maksim Dzabraev + + PR python/21213 + * gdb.python/py-infthread.exp: Test calling + InferiorThread.inferior () multiple times in a row. + +2017-10-27 Keith Seitz + + * gdb.opt/inline-break.exp (break_info_1): New procedure. + Test "info break" for every inlined function breakpoint. + +2017-10-27 Yao Qi + + * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered. + +2017-10-26 Patrick Frants + + * gdb.cp/classes.exp (test_static_members): Test printing + Outer::instance. + * gdb.cp/classes.c (struct Inner, struct Outer): New. + (Inner::instance, Outer::instance): New. + +2017-10-24 Pedro Alves + + * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on + extra console" test in two stages. + +2017-10-24 Pedro Alves + + * gdb.threads/attach-into-signal.exp (corefunc): Reindent. + +2017-10-24 Pedro Alves + + * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry" + loop. + +2017-10-24 Pedro Alves + + * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach + $attempt" and "stoppedtry $stoppedtry" test prefixes. + +2017-10-24 Pedro Alves + + * lib/gdb-python.exp (get_python_valueof): Add 'test' optional + parameter and handle it. Don't output read value in test name. + +2017-10-24 Pedro Alves + + * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use + custom test name. + +2017-10-24 Pedro Alves + + * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't + include the unstable output directory name in the test's name. + (initial_setup_simple) <'set args'>: Use custom test name. + +2017-10-24 Pedro Alves + + * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test + with explicit test name. + +2017-10-20 Pedro Alves + + * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before + 'wait -i'. Use gdb_assert and remote_close. + +2017-10-19 Andrew Burgess + + * gdb.linespec/ls-errs.exp (do_test): Update comment, use line + number from variable rather than hard-coded. + +2017-10-19 Pedro Alves + + * gdb.base/long-inferior-output.c: New file. + * gdb.base/long-inferior-output.exp: New file. + +2017-11-18 Keith Seitz + + * gdb.cp/cpexprs.cc (base) : New + method. + (main): Call it. + * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix. + Add additional user-defined conversion operator tests. + +2017-10-17 Pedro Alves + + * boards/native-stdio-gdbserver.exp: Load "local-board". + +2017-10-17 Pedro Alves + + * gdb.base/quit-live.c: New file. + * gdb.base/quit-live.exp: New file. + +2017-10-16 Keith Seitz + + * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef) + (class_with_protected_typedef, class_with_private_typedef) + (struct_with_public_typedef, struct_with_protected_typedef) + (struct_with_private_typedef): New classes/structs. + * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for + typedefs and access specifiers. + +2017-10-16 Pedro Alves + Simon Marchi + + * README (Local vs Remote vs Native): New section. + * boards/local-board.exp: New file, with bits factored out from + ... + * boards/native-extended-gdbserver.exp: ... here. Load + "local-board". + * boards/native-gdbserver.exp: Load "local-board". + (${board}_spawn, ${board}_exec): Delete. + * boards/native-stdio-gdbserver.exp: Most contents factored out to + ... + * boards/stdio-gdbserver-base.exp: ... this new file. + * boards/native-stdio-gdbserver.exp: Reimplement, by loading + "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd + procedure. + * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base + instead of native-stdio-gdbserver. Don't set gdb_server_prog nor + stdio_gdbserver_command. + (${board}_get_remote_address, ${board}_get_comm_port) + (${board}_download, ${board}_upload): Delete. + (get_target_remote_pipe_cmd): New. + +2017-10-16 Simon Marchi + + * gdb.python/py-breakpoint.exp (test_bkpt_basic, + test_bkpt_deletion, test_bkpt_cond_and_cmds, + test_bkpt_invisible, test_watchpoints, test_bkpt_internal, + test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address, + test_bkpt_pending, test_bkpt_events): Use proc_with_prefix, + remove with_test_prefix. + +2017-10-13 Pedro Alves + + * lib/gdb.exp (target_can_use_run_cmd): New procedure. + * gdb.base/annota1.exp: Use it instead of is_remote. + * gdb.base/annota3.exp: Use it instead of is_remote. + * gdb.cp/annota2.exp: Use it instead of is_remote. + * gdb.cp/annota3.exp: Use it instead of is_remote. + * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote. + +2017-10-13 Pedro Alves + + * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote. + (test_num_test_vars, run_and_count_vars, find_env) + (test_set_unset_env, test_inherit_env_var): New procedures. + (top level): Use them. + +2017-10-13 Pedro Alves + + * lib/selftest-support.exp (selftest_setup): Extend comments, and + also skip on stub-like targets. + +2017-10-13 Pedro Alves + + PR gdb/22293 + * gdb.base/find-unmapped.exp: Don't skip if is_remote target. + (top level): Move some tests to ... + (test_not_found): ... this new procedure. + (top level): Call it. + +2017-10-13 Pedro Alves + + * gdb.base/term.exp: Don't skip if is_remote target. Instead, + expect different "info terminal" output if testing with a + non-native target. + +2017-10-13 Pedro Alves + Simon Marchi + + PR python/12966 + * gdb.python/py-evthreads.exp: Remove is_remote target kfail. + +2017-10-13 Pedro Alves + + * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on" + already. + +2017-10-13 Pedro Alves + + * gdb.python/py-evsignal.exp: Check gdb_protocol instead of + is_remote. + +2017-10-13 Pedro Alves + + * gdb.threads/thread_events.exp: Check gdb_protocol instead of + is_remote. + +2017-10-13 Pedro Alves + + * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol + is set. + (corefile_test_attach): Likewise. Check can_spawn_for_attach + instead of is_remote. + +2017-10-13 Pedro Alves + + * gdb.base/remote.exp: Check gdb_protocol instead of is_remote. + (top level): Add comment. + +2017-10-13 Pedro Alves + + * gdb.base/remote.exp (top level): Fix comment typo and add + missing return. + +2017-10-13 Pedro Alves + Simon Marchi + + * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests + calls and add comments. Skip test if use_gdb_stub is set. + (top level): Use "set cwd" command instead of "cd" command. + +2017-10-13 Pedro Alves + + * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove + is_remote target check. + +2017-10-13 Pedro Alves + + * gdb.base/scope.exp: Use build_executable + clean_restart + + gdb_file_cmd instead of prepare_for_testing and no longer skip + "before run" tests on is_remote target boards. Update comments. + * boards/native-extended-gdbserver.exp + (extended_gdbserver_load_last_file): New, factored out from ... + (gdb_load): ... this. Move further below and add comment. + (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New. + +2017-10-12 Pedro Alves + + * gdb.base/attach.exp: Remove references to gdb64. + * gdb.base/dbx.exp: Remove references to gdb64. + +2017-10-12 Simon Marchi + Pedro Alves + + * gdb.base/label.exp: Remove is_remote target check. + +2017-10-12 Pedro Alves + + * gdb.base/auvx.exp (coredir): Update comment. + (top level) : Use "set cwd" command instead of "cd" + command. + +2017-10-12 Pedro Alves + Simon Marchi + + * gdb.base/catch-fork-static.exp: No longer skip on is_remote + target boards. + +2017-10-12 Pedro Alves + Simon Marchi + + * gdb.base/checkpoint.exp: Don't check is_remote or isnative. + Instead skip if there's any gdb_protocol set. + +2017-10-12 Simon Marchi + Pedro Alves + + * gdb.base/dprintf-non-stop.exp: Remove is_remote target check. + +2017-10-12 Pedro Alves + Simon Marchi + + * gdb.base/argv0-symlink.exp: kfail on remote gdbserver, + instead of on dejagnu remote boards. + +2017-10-12 Pedro Alves + Simon Marchi + + * gdb.base/inferior-died.exp: Remove is_remote and isnative + checks. Use build_executable + clean_restart instead of + prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead + of enabling non-stop after starting gdb. + +2017-10-12 Pedro Alves + + * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target. + * gdb.threads/non-ldr-exc-2.exp: Ditto. + * gdb.threads/non-ldr-exc-3.exp: Ditto. + * gdb.threads/non-ldr-exc-4.exp: Ditto. + +2017-10-11 Anton Kolesov + + * gdb.arch/arc-tdesc-cpu.exp: New file. + * gdb.arch/arc-tdesc-cpu.xml: Likewise. + +2017-10-10 Simon Marchi + + * lib/gdb.exp (get_integer_valueof): Don't output read value in test name. + +2017-10-10 Pedro Alves + + * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't + expect CLI output. + +2017-10-10 Pedro Alves + + * lib/selftest-support.exp (selftest_setup): Update for + captured_command_loop's prototype change. + +2017-10-09 Pedro Alves + + Test both arch1=>arch2 and arch2=>arch1. + + * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2) + (srcfile2, binfile2, march1, march2): Remove globals. Largely + factored out to... + (append_arch1_options, append_arch2_options, append_arch_options) + (build_executables): New procedures. + (do_test): New 'first_arch' parameter. Use it to define 'from_exec' + local. + (top level): Add new 'first_arch' testing axis. + +2017-10-09 Pedro Alves + + * gdb.multi/multi-arch-exec.c: Include and . + (barrier): New. + (thread_start, all_started): New functions. + (main): Spawn new thread and wait until it is scheduled. + * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads + option. + (do_test): Add 'selected_thread' parameter. Run to all_started + instead of main. Explicitly set the breakpoint at main. Switch + to the SELECTED_THREAD thread. + (top level): Test handling the exec event with either the main + thread or the second thread selected. + +2017-10-09 Pedro Alves + + * gdb.base/print-file-var-main.c: Fix get_version_2 value check + logic. Move STOP marker after the value checks. + * gdb.base/print-file-var.exp (continue to STOP marker): Tighten + regexp. + +2017-10-06 Sandra Loosemore + + * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts. + +2017-10-05 Ulrich Weigand + + * gdb.base/dfp-exprs.exp: Update tests to larger range of supported + integer-to-dfp conversion. + * gdb.base/dfp-test.exp: Likewise. + +2017-10-04 Pedro Alves + + * gdb.multi/hangout.c: Include . + (hangout_loop): New function. + (main): Call alarm. Call hangout_loop in a loop. + * gdb.multi/hello.c: Include . + (hello_loop): New function. + (main): Call alarm. Call hangout_loop in a loop. + * gdb.multi/multi-arch.exp: Test running to a breakpoint one + inferior with the other selected. + +2017-10-04 Simon Marchi + + * gdb.mi/list-thread-groups-available.exp: New file. + * gdb.mi/list-thread-groups-available.c: New file. + +2017-10-04 Sergio Durigan Junior + + * gdb.base/set-cwd.exp: Make it available on + native-extended-gdbserver. + +2017-10-04 Sergio Durigan Junior + + * gdb.base/set-cwd.c: New file. + * gdb.base/set-cwd.exp: Likewise. + +2017-10-02 Tom Tromey + + PR rust/22236: + * gdb.rust/simple.rs (main): New variable "fslice". + * gdb.rust/simple.exp: Add slice tests. Update string tests. + +2017-10-02 Tom Tromey + + * gdb.rust/simple.exp: Test ptype of a slice. + +2017-10-02 Tom Tromey + + * gdb.rust/simple.exp: Test index of slice. + +2017-09-27 Tom Tromey + + * gdb.base/macscp.exp: Add __VA_OPT__ tests. + +2017-09-26 Thomas Preud'homme + Pedro Alves + + * gdb.base/compare-sections.exp (get value of read-only section): Read + as unsigned value. + (corrupt read-only section): Likewise and don't set written if patching + failed. + +2017-09-21 Kevin Buettner + + * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New + files. + +2017-09-20 Pedro Alves + + * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect + symbol names in gdb's output. + * gdb.cp/overload.exp ("list all overloads"): Likewise. + +2017-09-20 Pedro Alves + + * gdb.base/list-ambiguous.exp (test_list_ambiguous_function): + Rename to ... + (test_list_ambiguous_symbol): ... this and add a symbol name + parameter. Adjust. + (test_list_ambiguous_function): Reimplement on top of + test_list_ambiguous_symbol and also test listing ambiguous + variables. + * gdb.base/list-ambiguous0.c (ambiguous): Rename to ... + (ambiguous_fun): ... this. + (ambiguous_var): New. + * gdb.base/list-ambiguous1.c (ambiguous): Rename to ... + (ambiguous_fun): ... this. + (ambiguous_var): New. + +2017-09-19 John Baldwin + + * gdb.base/starti.c: New file. + * gdb.base/starti.exp: New file. + * lib/gdb.exp (gdb_starti_cmd): New procedure. + +2017-09-14 Pedro Alves + + * gdb.base/nodebug.exp (nodebug_runto): New procedure. + (top level): Use it instead of runto. + +2017-09-11 Tom Tromey + + * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test. + +2017-09-11 Tom Tromey + + * gdb.python/py-infthread.exp: Add tests for new_thread event. + * gdb.python/py-inferior.exp: Add tests for new inferior events. + +2017-09-08 Christoph Weinmann + + * gdb.fortran/printing-types.exp: New file. + * gdb.fortran/printing-types.exp: New file. + +2017-09-08 Bernhard Heckel + + * gdb.fortran/vla-ptype.exp: Fix typos. + * gdb.fortran/vla-value.exp: Same. + +2017-09-08 Bernhard Heckel + + * gdb.fortran/vla-value.exp: Use type names defined in libfortran. + * gdb.mi/mi-var-child-f.exp: Likewise. + * gdb.mi/mi-vla-fortran.exp: Likewise. + +2017-09-08 Frank Penczek + Christoph Weinmann + Bernhard Heckel + + * gdb.fortran/ptr-indentation.f90: New file. + * gdb.fortran/ptr-indentation.exp: New file. + +2017-09-05 Tom Tromey + + PR gdb/22010: + * gdb.base/sizeof.exp (check_valueof): Cast char constant to int. + +2017-09-06 Thomas Preud'homme + + * gdb.arch/thumb2-it.exp: Cast call to assembly defined function. + +2017-09-06 Jan Kratochvil + + * gdb.threads/tls-nodebug-pie.c: New file. + * gdb.threads/tls-nodebug-pie.exp: New file. + +2017-09-05 Tom Tromey + + * lib/gdb.exp (gdb_compile): Don't use universal_compile_options + for rust. + +2017-09-05 Simon Marchi + + * gdb.multi/multi-arch-exec.exp: Test with different + "follow-exec-mode" settings. + (do_test): New procedure. + +2017-09-04 Pedro Alves + + * gdb.base/func-static.c (S::method const, S::method volatile) + (S::method volatile const): New methods. + (c_s, v_s, cv_s): New instances. + (main): Call method() on them. + * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables. + (cannot_resolve): New procedure. + (cxx_scopes_list): Test cv methods. Add print-scope-quote and + print-quote-unquoted columns. + (do_test): Test printing each scope too. + +2017-09-04 Pedro Alves + + * gdb.base/local-static.exp: Also test with + class::method::variable wholly quoted. + * gdb.cp/m-static.exp (class::method::variable): Remove test. + +2017-09-04 Pedro Alves + + * gdb.base/local-static.c: New. + * gdb.base/local-static.cc: New. + * gdb.base/local-static.exp: New. + +2017-09-04 Pedro Alves + + * gdb.asm/asm-source.exp: Add casts to int. + * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2) + (dataglobal64_1, dataglobal64_2): New globals. + * gdb.base/nodebug.exp: Test different expressions involving the + new globals, with print, whatis and ptype. Add casts to int. + * gdb.base/solib-display.exp: Add casts to int. + * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int. + * gdb.cp/m-static.exp: Add cast to int. + * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int. + * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing + tls variable with no debug info without a cast. Test with a cast + to int too. + * gdb.trace/entry-values.exp: Add casts. + +2017-09-04 Pedro Alves + + * gdb.base/nodebug.exp: Test that ptype's error about functions + with unknown return type includes the function name too. + +2017-09-04 Pedro Alves + + * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast + return type of munmap in infcall. + * gdb.base/break-probes.exp: Cast return type of foo in infcall. + * gdb.base/checkpoint.exp: Simplify using for loop. Cast return + type of ftell in infcall. + * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return + type of getpid in infcall. + * gdb.base/infcall-exec.exp: Cast return type of execlp in + infcall. + * gdb.base/info-os.exp: Cast return type of getpid in infcall. + Bail on failure to extract the pid. + * gdb.base/nodebug.c: #include . + (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto): + New functions. + * gdb.base/nodebug.exp (test_call_promotion): New procedure. + Change expected output of print/whatis/ptype with functions with + no debug info. Test all supported languages. Call + test_call_promotion. + * gdb.compile/compile.exp: Adjust expected output to expect + warning. + * gdb.threads/siginfo-threads.exp: Likewise. + +2017-09-04 Pedro Alves + + * gdb.base/callfuncs.exp (do_function_calls): New parameter + "prototypes". Test calling float functions via prototyped and + unprototyped function pointers. + (perform_all_tests): New parameter "prototypes". Pass it down. + (top level): Pass down "prototypes" parameter to + perform_all_tests. + +2017-09-04 Simon Marchi + + * gdb.base/commands.exp (loop_break_test, loop_continue_test): + Test with nested loops. + +2017-09-04 Simon Marchi + + * gdb.base/commands.exp: Call the new procedures. + (loop_break_test, loop_continue_test): New procedures. + +2017-09-04 Simon Marchi + + * gdb.base/commands.exp: Call new procedure. + (define_if_without_arg_test): New procedure. + +2017-09-04 Pedro Alves + + * gdb.base/list-ambiguous.exp: New file. + * gdb.base/list-ambiguous0.c: New file. + * gdb.base/list-ambiguous1.c: New file. + * gdb.base/list.exp (test_list_range): Adjust expected output. + +2017-08-31 Sergio Durigan Junior + + * gdb.base/share-env-with-gdbserver.c: New file. + * gdb.base/share-env-with-gdbserver.exp: Likewise. + +2017-08-28 Simon Marchi + + * gdb.base/commands.exp (gdbvar_simple_if_test, + gdbvar_simple_if_test, gdbvar_complex_if_while_test, + progvar_simple_if_test, progvar_simple_while_test, + progvar_complex_if_while_test, user_defined_command_test, + user_defined_command_args_eval, + user_defined_command_args_stack_test, + user_defined_command_manyargs_test, bp_deleted_in_command_test, + temporary_breakpoint_commands, + gdb_test_no_prompt, redefine_hook_test, + redefine_backtrace_test): Remove "global gdb_prompt". + +2017-08-28 Simon Marchi + + * gdb.base/commands.exp (user_defined_command_case_sensitivity): + New proc, call it from toplevel. + +2017-08-23 Sergio Durigan Junior + + PR remote/21852 + * gdb.server/normal.c: New file, copied from gdb.base. + * gdb.server/run-without-local-binary.exp: New file. + +2017-08-07 Weimin Pan + + * gdb.arch/sparc64-adi.exp: New file. + * gdb.arch/sparc64-adi.c: New file. + +2017-08-22 Pedro Alves + + * gdb.cp/overload.exp (line_range_pattern): New procedure. + (top level): Add "list all overloads" tests. + +2017-08-22 Tom Tromey + + * gdb.gdb/xfullpath.exp: Remove. + +2017-08-21 Pedro Alves + + PR gdb/19487 + * gdb.base/symbol-alias.c: New. + * gdb.base/symbol-alias2.c: New. + * gdb.base/symbol-alias.exp: New. + +2017-08-21 Pedro Alves + + * gdb.base/dfp-test.c + (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t) + (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New. + * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests. + * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests. + * gdb.base/whatis-ptype-typedefs.c: New. + * gdb.base/whatis-ptype-typedefs.exp: New. + * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs. + (an_int, an_int_type, an_int_type2): New globals. + * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests + involving typedefs and cast expressions. + * gdb.python/py-prettyprint.py (class pp_int_typedef): New. + (lookup_typedefs_function): New. + (typedefs_pretty_printers_dict): New. + (top level): Register lookup_typedefs_function in + gdb.pretty_printers. + +2017-08-18 Yao Qi + + * gdb.server/unittest.exp: New. + +2017-08-15 Sergio Durigan Junior + + PR gdb/21954 + * gdb.base/environ.exp: Add test to check if 'unset environment' + works. + +2017-08-14 Andreas Arnez + + * lib/gdb.exp (universal_compile_options): New caching proc. + (gdb_compile): Suppress GCC's coloring of messages. + +2017-08-14 Tom Tromey + + PR gdb/21675: + * gdb.base/printcmds.exp (test_radices): New function. + * gdb.dwarf2/var-access.exp: Use p/u, not p/d. + * gdb.base/sizeof.exp (check_valueof): Use p/d. + * lib/gdb.exp (get_integer_valueof): Use p/d. + +2017-08-12 Simon Marchi + + * lib/gdb.exp (get_valueof): Don't capture end-of-line + characters. + +2017-08-05 Tom Tromey + + * gdb.rust/simple.exp: Allow String to appear in a different + namespace. + +2017-07-26 Yao Qi + + * gdb.gdb/unittest.exp: Invoke command + "maintenance check xml-descriptions". + +2017-07-24 Andreas Arnez + + * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the + calling context. + (hex128): Drop erroneous calculation of parameters. + +2017-07-22 Simon Marchi + + * gdb.python/py-unwind.exp: Disable stack protection when + building test file. + +2017-07-20 Pedro Alves + + * gdb.base/default.exp (set language): Adjust expected output. + +2017-07-20 Pedro Alves + + * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ... + (test_minsym): ... this, and make static. + (get_pck__foo__bar__minsym): Rename to ... + (get_test_minsym): ... this. + * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust + symbol names and comments. + * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ... + (get_test_minsym): ... this. + (pck__foo__bar__minsym__2): Rename to ... + (test_minsym): ... this. + (main): Adjust. + +2017-07-17 Pedro Alves + + * gdb.base/completion.exp: Adjust expected output. + * gdb.linespec/ls-errs.exp: Don't send tab characters, now that + the completer works. + +2017-07-17 Pedro Alves + + * gdb.linespec/ls-errs.exp (do_test): Adjust expected output. + +2017-07-15 Andrew Burgess + + * gdb.mi/mi-vla-fortran.exp: Make test names unique. + +2017-07-14 Tom Tromey + + PR rust/21764: + * gdb.rust/simple.exp: Add tests. + +2017-07-14 Tom Tromey + + * gdb.rust/simple.exp: Add regression test for PR rust/21763. + +2017-07-14 Pedro Alves + + * gdb.linespec/base/one/thefile.cc (z1): New function. + * gdb.linespec/base/two/thefile.cc (z2): New function. + * gdb.linespec/linespec.exp: Add tests. + +2017-07-13 Andrew Burgess + + * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing + to mi_create_breakpoint. + +2017-07-13 Andrew Burgess + + * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to + mi_create_breakpoint. + +2017-07-11 Iain Buclaw + + * gdb.dlang/demangle.exp: Update for demangling changes. + +2017-07-09 Tom Tromey + + * gdb.dwarf2/shortpiece.exp: New file. + +2017-07-06 David Blaikie + + * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO, + built from fissiont-multi-cu{1,2}.c. + * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp, + except putting 'main' and 'func' in separate CUs in the same DWO file. + * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO + test. + * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO + test. + +2017-07-06 Pedro Alves + + * gdb.python/py-unwind.exp: Test flushregs. + +2017-06-30 Sergio Durigan Junior + + PR cli/21688 + * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new + tests for alias commands and trailing whitespace. + +2017-06-30 Sergio Durigan Junior + + PR cli/21688 + * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New + procedure. Call it. + +2017-06-29 Pedro Alves + + * gdb.base/printcmds.exp: Add tests. + +2017-06-28 Doug Gilmore + + PR gdb/21337 + * gdb.base/reread-readsym.exp: New file. + * gdb.base/reread-readsym.c: New file. + +2017-06-21 Kevin Buettner + + * gdb.exp (gdb_test): Using noncapturing parens for the $pattern + subpattern. + +2017-06-19 Peter Bergner + + * gdb.arch/powerpc-power9.exp: Update test case for new lnia + extended mnemonic. + * gdb.arch/powerpc-power9.s: Likewise. + +2017-06-14 Andreas Arnez + + * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx + on 32-bit x86 targets. Exploit is_*_target macros where + appropriate. + +2017-06-13 Andreas Arnez + + * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned + register pieces. + +2017-06-13 Andreas Arnez + + * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields + located in one or more DWARF pieces. + +2017-06-13 Andreas Arnez + + * lib/gdb.exp (get_endianness): New proc. + * gdb.arch/aarch64-fp.exp: Use it. + * gdb.arch/altivec-regs.exp: Likewise. + * gdb.arch/e500-regs.exp: Likewise. + * gdb.arch/vsx-regs.exp: Likewise. + * gdb.base/dump.exp: Likewise. + * gdb.base/funcargs.exp: Likewise. + * gdb.base/gnu_vector.exp: Likewise. + * gdb.dwarf2/formdata16.exp: Likewise. + * gdb.dwarf2/implptrpiece.exp: Likewise. + * gdb.dwarf2/nonvar-access.exp: Likewise. + * gdb.python/py-inferior.exp: Likewise. + * gdb.trace/unavailable-dwarf-piece.exp: Likewise. + +2017-06-13 Andreas Arnez + + PR gdb/21226 + * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that + stack value pieces are taken from the LSB end. + +2017-06-13 Andreas Arnez + + * gdb.dwarf2/var-pieces.exp: Add test case for modifying a + variable at nonzero offset. + +2017-06-13 Andreas Arnez + + * gdb.dwarf2/var-access.c: New file. + * gdb.dwarf2/var-access.exp: New test. + * lib/gdb-utils.exp (string_to_regexp): Quote braces as well. + +2017-06-12 Tom Tromey + + * gdb.dwarf2/formdata16.exp: Add tests. + +2017-06-12 Tom Tromey + + * gdb.arch/altivec-regs.exp: Expect decimal results for uint128. + +2017-06-12 Tom Tromey + + PR exp/16225: + * gdb.reverse/i386-sse-reverse.exp: Update tests. + * gdb.arch/vsx-regs.exp: Update tests. + * gdb.arch/s390-vregs.exp (hex128): New proc. + Update test. + * gdb.arch/altivec-regs.exp: Update tests. + +2017-06-07 Sergio Durigan Junior + + * gdb.base/startup-with-shell.c: New file. + * gdb.base/startup-with-shell.exp: Likewise. + +2017-06-07 Sergio Durigan Junior + + * gdb.server/non-existing-program.exp: Update regex in order to + reflect the fact that gdbserver is now using fork_inferior (with a + shell) to startup the inferior. + +2017-05-30 Simon Marchi + + * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't + support function calls from GDB. + +2017-05-21 Tom Tromey + + PR rust/21466: + * gdb.rust/unsized.exp: New file. + * gdb.rust/unsized.rs: New file. + +2017-05-19 Tom Tromey + + PR rust/21484: + * gdb.rust/watch.exp: New file. + * gdb.rust/watch.rs: New file. + +2017-05-18 Tom Tromey + + * gdb.rust/simple.exp: Allow Box to be qualified. + +2017-05-18 Thomas Preud'homme + + * gdb.base/float.exp: Expect GDB prompt for targets without FPU. + +2017-05-18 Pedro Alves + + * gdb.base/fileio.c (test_write, test_read, test_close) + (test_fstat): Don't print 'ret' in the fail path. + +2017-05-18 Pedro Alves + + * gdb.base/fileio.c (stop, test_open, test_write, test_read) + (test_lseek, test_close, test_stat, test_fstat, test_isatty) + (test_system, test_rename, test_unlink, test_time): Change + prototypes. + * gdb.base/fileio.exp (stop_msg): Adjust. + +2017-05-18 Pedro Alves + + * gdb.base/fileio.c (null_str): New global. + (test_stat): Use it. + * gdb.base/fileio.exp: Remove nowarnings. + +2017-05-17 Yao Qi + + * gdb.base/fileio.exp: Pass nowarnings to gdb_compile. + +2017-05-17 Simon Marchi + + * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add + argument command. + (top-level): Invoke test_set_inferior_tty. + +2017-05-04 Pedro Alves + + * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread): + Add parens to print call for Python 3. + +2017-05-03 Keith Seitz + + * gdb.cp/oranking.cc (dummy): New function to grab malloc. + (main): Call it. + +2017-05-01 Tim Wiederhake + + * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling + to prev and next. + +2017-05-01 Tim Wiederhake + + * gdb.python/py-record-btrace.exp: Remove test for + gdb.BtraceInstruction.error. + +2017-05-01 Tim Wiederhake + + * gdb.python/py-record-btrace.exp: Remove Record.ptid test. + +2017-05-01 Tim Wiederhake + + * gdb.python/py-record-btrace-threads.c: New file. + * gdb.python/py-record-btrace-threads.exp: New file. + +2017-04-28 Sergio Durigan Junior + + PR testsuite/8595 + * gdb.base/environ.exp: Make test available in all architectures. + Move bits related to "info program" testing to + gdb.base/info-program.exp. Rewrite tests to use the two new + procedures mentione below. + (test_set_show_env_var) New procedure. + (test_set_show_env_var_equal): Likewise. + * gdb.base/info-program.exp: New file. + +2017-04-27 Keith Seitz + + * gdb.cp/oranking.cc (test15): New function. + (main): Call test15 and declare additional variables for testing. + * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and + "p foo101('abc')" tests. + Add tests for cv qualifier overloads. + * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for + "lvalue reference overload" test. + * gdb.cp/rvalue-ref-params.exp: Remove kfail status for + "print value of f1 on Child&& in f2" test. + +2017-04-19 Pedro Alves + + * gdb.threads/threadapply.exp (kill_and_remove_inferior): New + procedure. + (top level): Call it. + * lib/gdb.exp (gdb_define_cmd): New procedure. + +2017-04-12 Pedro Alves + + PR gdb/21323 + * gdb.cp/wide_char_types.c: Include . + (wchar): New global. + * gdb.cp/wide_char_types.exp (wide_char_types_program) + (do_test_wide_char, wide_char_types_no_program, top level): Add + wchar_t testing. + +2017-04-12 Pedro Alves + + PR c++/21323 + * gdb.cp/wide_char_types.c: New file. + * gdb.cp/wide_char_types.exp: New file. + +2017-04-05 Sergio Durigan Junior + + PR gdb/21352 + * gdb.trace/tsv.exp: Add test for "tsave -r". + +2017-03-30 Iain Buclaw + + * gdb.dlang/watch-loc.c: New file. + * gdb.dlang/watch-loc.exp: New file. + +2017-03-29 Jan Kratochvil + + * gdb.python/py-section-script.exp (sepdebug): New testcases. + +2017-03-28 Anton Kolesov + + * gdb.arch/arc-analyze-prologue.S: New file. + * gdb.arch/arc-analyze-prologue.exp: Likewise. + +2017-03-28 Anton Kolesov + + * gdb.arch/arc-decode-insn.S: New file. + * gdb.arch/arc-decode-insn.exp: Likewise. + +2017-03-21 Ivo Raisr + + PR tdep/20928 + * gdb.arch/sparc64-regs.exp: New file. + * gdb.arch/sparc64-regs.S: Likewise. + +2017-03-21 Tim Wiederhake + + * gdb.python/py-record-btrace.exp: Check for buffer on Python 2 + and memory view on Python 3. + +2017-03-20 Artemiy Volkov + Keith Seitz + + PR gdb/14441 + * gdb.cp/demangle.exp: Add rvalue reference tests. + * gdb.cp/rvalue-ref-casts.cc: New file. + * gdb.cp/rvalue-ref-casts.exp: New file. + * gdb.cp/rvalue-ref-overload.cc: New file. + * gdb.cp/rvalue-ref-overload.exp: New file. + * gdb.cp/rvalue-ref-params.cc: New file. + * gdb.cp/rvalue-ref-params.exp: New file. + * gdb.cp/rvalue-ref-sizeof.cc: New file. + * gdb.cp/rvalue-ref-sizeof.exp: New file. + * gdb.cp/rvalue-ref-types.cc: New file. + * gdb.cp/rvalue-ref-types.exp: New file. + * gdb.python/py-rvalue-ref-value-cc.cc: New file. + * gdb.python/py-rvalue-ref-value-cc.exp: New file. + +2017-03-20 Marc-Andre Laperle + + * gdb.mi/mi-solib.exp (test_file_list_shared_libraries): + New procedure. + +2017-03-20 Marc-Andre Laperle + + * lib/mi-support.exp (mi_gdb_test): Add additional message + for unexpected output. + +2017-03-20 Andreas Arnez + + * gdb.base/examine-backward.c (Barrier): New character array + constant, to ensure that TestStrings is preceded by a string + terminator. + +2017-03-16 Andreas Arnez + + * lib/dwarf.exp: Add support for DW_OP_implicit_pointer. + * gdb.dwarf2/nonvar-access.exp: Add test for stack value location + and implicit pointer into such a location. + +2017-03-16 Doug Evans + + * gdb.python/py-lazy-string (pointer): Really add new typedef. + +2017-03-16 Thomas Preud'homme + + * gdb.cp/m-static.exp: Fix expectation for prototype of + test5.single_constructor and single_constructor::single_constructor. + +2017-03-16 Doug Evans + + * gdb.guile/scm-value.c (main) Delete locals sptr, sn. + * gdb.guile/scm-lazy-string.c: New file. + * gdb.guile/scm-value.exp: Move lazy string tests to ... + * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests + for pointer, array, typedef lazy strings. + +2017-03-16 Doug Evans + + PR python/17728, python/18439, python/18779 + * gdb.python/py-value.c (main) Delete locals sptr, sn. + * gdb.python/py-lazy-string.c (pointer): New typedef. + (main): New locals ptr, array, typedef_ptr. + * gdb.python/py-value.exp: Move lazy string tests to ... + * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer, + array, typedef lazy strings. + +2017-03-14 Anton Kolesov + + * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof): + Add optional 'test' parameter. + +2017-03-13 Simon Marchi + + * gdb.base/commands.exp (backslash_in_multi_line_command_test): + Skip for versions of DejaGnu < 1.5. + +2017-03-13 Simon Marchi + + * lib/gdb.exp (dejagnu_version): New proc. + * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu): + Use dejagnu_version. + +2017-03-10 Keith Seitz + + PR c++/8128 + * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument + type from destructor regexps. + Add a branch which actually passes the test. + Adjust "ptype t5i" test names. + +2017-03-08 Pedro Alves + + * gdb.base/step-over-exit.exp: Add explicit test message. + +2017-03-08 Pedro Alves + + PR gdb/18360 + * gdb.threads/interrupt-while-step-over.c: New file. + * gdb.threads/interrupt-while-step-over.exp: New file. + +2017-03-08 Pedro Alves + + * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix. + * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix. + +2017-03-08 Pedro Alves + + * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting + PKRU as not supported as a PASS. + +2017-03-08 Pedro Alves + + * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test + prefix instead of $binfile1/$binfile2. + * gdb.btrace/gcore.exp: Use "core" instead of unstable path name + in test message. + * gdb.python/py-completion.exp: Use "load python file" as test + messages instead of unstable path names. + +2017-03-08 Pedro Alves + Jan Kratochvil + + PR cli/21218 + * gdb.base/commands.exp (backslash_in_multi_line_command_test): + New proc. + (top level): Call it. + +2017-03-08 Pedro Alves + + PR tui/21216 + * gdb.tui/tui-nl-filtered-output.exp: New file. + +2017-03-08 Pedro Alves + + * gdb.base/completion.exp: Move TUI completion tests to ... + * gdb.tui/completion.exp: ... this new file. + +2017-03-08 Pedro Alves + + * gdb.base/tui-disasm-long-lines.c, + gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c, + gdb.base/tui-layout.exp: Move to ... + * gdb.tui/: ... this new directory. + +2017-03-07 Pedro Alves + + * gdb.base/tui-layout.c: New file. + * gdb.base/tui-layout.exp: New file. + +2017-03-07 Pedro Alves + + * gdb.base/tui-layout.c: Rename to ... + * gdb.base/tui-disasm-long-lines.c: ... this. + * gdb.base/tui-layout.exp: Rename to ... + * gdb.base/tui-disasm-long-lines.exp: ... this. + +2017-03-07 Pedro Alves + + * gdb.base/tui-layout.exp: Add intro comment and fix typo. + +2017-03-07 Walfred Tedeschi + + * i386-mpx-call.c: New file. + * i386-mpx-call.exp: New file. + +2017-02-28 Peter Bergner + + * gdb.arch/powerpc-power.exp: Delete test. + * gdb.arch/powerpc-power.s: Likewise. + * gdb.disasm/disassembler-options.exp: New test. + * gdb.arch/powerpc-altivec.exp: Likewise. + * gdb.arch/powerpc-altivec.s: Likewise. + * gdb.arch/powerpc-altivec2.exp: Likewise. + * gdb.arch/powerpc-altivec2.s: Likewise. + * gdb.arch/powerpc-altivec3.exp: Likewise. + * gdb.arch/powerpc-altivec3.s: Likewise. + * gdb.arch/powerpc-power7.exp: Likewise. + * gdb.arch/powerpc-power7.s: Likewise. + * gdb.arch/powerpc-power8.exp: Likewise. + * gdb.arch/powerpc-power8.s: Likewise. + * gdb.arch/powerpc-power9.exp: Likewise. + * gdb.arch/powerpc-power9.s: Likewise. + * gdb.arch/powerpc-vsx.exp: Likewise. + * gdb.arch/powerpc-vsx.s: Likewise. + * gdb.arch/powerpc-vsx2.exp: Likewise. + * gdb.arch/powerpc-vsx2.s: Likewise. + * gdb.arch/powerpc-vsx3.exp: Likewise. + * gdb.arch/powerpc-vsx3.s: Likewise. + * gdb.arch/arm-disassembler-options.exp: Likewise. + * gdb.arch/powerpc-disassembler-options.exp: Likewise. + * gdb.arch/s390-disassembler-options.exp: Likewise. + +2017-02-23 Luis Machado + + * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ... + (check_supported_features): ... this. Changed return type to void. + (supports_rdseed): New static global. + (rdseed): Check supports_rdseed. + (initialize): Call check_supported_features. + +2017-02-21 Edjunior Barbosa Machado + + * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on + gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx + and lqarx/stqcx. + * gdb.arch/ppc64-isa207-atomic-inst.S: New file. + * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise. + +2017-02-21 Edjunior Barbosa Machado + + * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with + uppercase. + +2017-02-20 Jan Kratochvil + + * gdb.dwarf2/formdata16.c: New file. + * gdb.dwarf2/formdata16.exp: New file. + * lib/dwarf.exp (Dwarf): Add DW_FORM_data16. + +2017-02-20 Jan Kratochvil + + * gdb.arch/amd64-entry-value-param-dwarf5.S: New file. + * gdb.arch/amd64-entry-value-param-dwarf5.c: New file. + * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file. + * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and + DW_AT_GNU_*. + +2017-02-20 Jan Kratochvil + + * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string. + +2017-02-15 Sergio Durigan Junior + + PR gdb/21164 + * gdb.base/maint.exp: Add testcases for when the commands do + not have arguments. + +2017-02-15 Thomas Preud'homme + + * gdb.cp/chained-calls.exp: Use p instead of P. + +2017-02-14 Tim Wiederhake + + * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp, + gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file. + +2017-02-14 Tom Tromey + + PR python/13598: + * gdb.python/py-events.exp: Add before_prompt event tests. + +2017-02-14 Andreas Arnez + + * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets. + +2017-02-13 Luis Machado + + * gdb.linespec/explicit.c (my_unique_function_name): New function. + (main): Call my_unique_function_name. + * gdb.linespec/explicit.exp: Use my_unique_function_name to test + completion of patterns with a single match. + Add missing -re switches to gdb_test_multiple calls. + +2017-02-13 Luis Machado + + * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and + return if core file is not recognized. + +2017-02-10 Simon Marchi + + * gdb.base/new-ui.exp (do_test): Test queries behavior on main + and extra UIs. + +2017-02-10 Simon Marchi + + * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use + proc_with_prefix. + +2017-02-10 Tom Tromey + + * gdb.python/py-xmethods.exp: Use "p" command, not "P". + +2017-02-10 Martin Galvan + + PR gdb/21122 + * gdb.base/help.exp: Update match pattern for testing 'help commands'. + +2017-02-08 Jerome Guitton + + * gdb.base/define.exp: Add test for command abbreviations + in define. + +2017-02-06 Luis Machado + + * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c. + * gdb.reverse/insn-reverse-x86.c: New file. + +2017-02-06 Ivo Raisr + + PR tdep/20936 + * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests. + +2017-02-03 Tom Tromey + + PR rust/21097: + * gdb.rust/simple.exp: Add new tests. + +2017-02-02 Pedro Alves + + * gdb.mi/mi-logging.exp: Add "redirect while already logging" + tests. + +2017-02-01 Andreas Arnez + + * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of + taking a 2-byte value out of a 4-byte DWARF implicit value on + big-endian targets. + * gdb.dwarf2/nonvar-access.exp: Add more comments to existing + logic. Add test cases for DW_OP_implicit. + +2017-02-01 Markus Metzger + + * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running. + +2017-02-01 Markus Metzger + + * gdb.btrace/enable.exp: Call gdb_exit before + skip_gdbserver_tests. + +2017-02-01 Markus Metzger + + * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to + GDBFLAGS. + +2017-02-01 Markus Metzger + + * gdb.btrace/buffer-size.exp: Add unsupported/untested message if + the test is skipped. + * gdb.btrace/data.exp: Likewise. + * gdb.btrace/delta.exp: Likewise. + * gdb.btrace/dlopen.exp: Likewise. + * gdb.btrace/enable-running.exp: Likewise. + * gdb.btrace/enable.exp: Likewise. + * gdb.btrace/exception.exp: Likewise. + * gdb.btrace/function_call_history.exp: Likewise. + * gdb.btrace/gcore.exp: Likewise. + * gdb.btrace/instruction_history.exp: Likewise. + * gdb.btrace/multi-thread-step.exp: Likewise. + * gdb.btrace/nohist.exp: Likewise. + * gdb.btrace/non-stop.exp: Likewise. + * gdb.btrace/reconnect.exp: Likewise. + * gdb.btrace/record_goto-step.exp: Likewise. + * gdb.btrace/record_goto.exp: Likewise. + * gdb.btrace/rn-dl-bind.exp: Likewise. + * gdb.btrace/segv.exp: Likewise. + * gdb.btrace/step.exp: Likewise. + * gdb.btrace/stepi.exp: Likewise. + * gdb.btrace/tailcall-only.exp: Likewise. + * gdb.btrace/tailcall.exp: Likewise. + * gdb.btrace/tsx.exp: Likewise. + * gdb.btrace/unknown_functions.exp: Likewise. + * gdb.btrace/vdso.exp: Likewise. + +2017-02-01 Markus Metzger + + * gdb.btrace/enable-running.c: New. + * gdb.btrace/enable-running.exp: New. + +2017-01-27 Walfred Tedeschi + + * gdb.arch/amd64-gs_base.c: New file. + * gdb.arch/amd64-gs_base.exp: New file. + +2017-01-26 Luis Machado + + * lib/memory.exp: Remove spurious empty newlines. + +2017-01-26 Simon Marchi + + * gdb.python/py-bad-printers.exp: Load python file using "source". + * gdb.python/py-events.exp: Likewise. + * gdb.python/py-evsignal.exp: Likewise. + * gdb.python/py-evthreads.exp: Likewise. + * gdb.python/py-frame-args.exp: Likewise. + * gdb.python/py-framefilter-invalidarg.exp: Likewise. + * gdb.python/py-framefilter-mi.exp: Likewise. + * gdb.python/py-framefilter.exp: Likewise. + * gdb.python/py-mi.exp: Likewise. + * gdb.python/py-pp-maint.exp: Likewise. + * gdb.python/py-pp-registration.exp: Likewise. + * gdb.python/py-prettyprint.exp: Likewise. + (run_lang_tests): Likewise. + * gdb.python/py-typeprint.exp: Likewise. + +2017-01-26 Luis Machado + + * lib/memory.exp: New file. + * lib/gdb.exp: Load memory.exp. + * gdb.base/memattr.exp (delete_memory): Move proc to + lib/memory.exp and rename to delete_memory_regions. + Replace delete_memory with delete_memory_regions. + Cleanup memory regions before tests. + * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions + before tests. + +2017-01-26 Luis Machado + + * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own + files. + (initialize): New function conditionally defined. + (testcases): Move within conditional block. + (main): Call initialize. + * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits + of gdb.reverse/insn-reverse.c. + * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of + gdb.reverse/insn-reverse.c. + +2017-01-26 Yao Qi + + * gdb.base/all-architectures.exp.in (do_arch_tests): Test + disassemble on address 0. + +2017-01-25 Andreas Arnez + Yao Qi + + * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler. + * gdb.dwarf2/implptr-64bit.S: Remove. + * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some + variables in caller's context. Add DW_OP_implicit_value. + +2017-01-25 Yao Qi + + * lib/dwarf.exp (Dwarf::_location): Handle + DW_OP_GNU_implicit_pointer with proper size. + +2017-01-20 Luis Machado + + * gdb.python/py-xmethods.exp: Fix test names starting with lowercase + and add untested calls. + +2017-01-20 Luis Machado + + * gdb.python/python.exp: Check line number against what GDB thinks + the line number is for func1. + +2017-01-08 Iain Buclaw + + * gdb.dlang/debug-expr.exp: New file. + +2016-12-23 Luis Machado + + Fix test names for the following files: + + * gdb.ada/exec_changed.exp + * gdb.ada/info_types.exp + * gdb.arch/aarch64-atomic-inst.exp + * gdb.arch/aarch64-fp.exp + * gdb.arch/altivec-abi.exp + * gdb.arch/altivec-regs.exp + * gdb.arch/amd64-byte.exp + * gdb.arch/amd64-disp-step.exp + * gdb.arch/amd64-dword.exp + * gdb.arch/amd64-entry-value-inline.exp + * gdb.arch/amd64-entry-value-param.exp + * gdb.arch/amd64-entry-value-paramref.exp + * gdb.arch/amd64-entry-value.exp + * gdb.arch/amd64-i386-address.exp + * gdb.arch/amd64-invalid-stack-middle.exp + * gdb.arch/amd64-invalid-stack-top.exp + * gdb.arch/amd64-optimout-repeat.exp + * gdb.arch/amd64-prologue-skip.exp + * gdb.arch/amd64-prologue-xmm.exp + * gdb.arch/amd64-stap-special-operands.exp + * gdb.arch/amd64-stap-wrong-subexp.exp + * gdb.arch/amd64-tailcall-cxx.exp + * gdb.arch/amd64-tailcall-noret.exp + * gdb.arch/amd64-tailcall-ret.exp + * gdb.arch/amd64-tailcall-self.exp + * gdb.arch/amd64-word.exp + * gdb.arch/arm-bl-branch-dest.exp + * gdb.arch/arm-disp-step.exp + * gdb.arch/arm-neon.exp + * gdb.arch/arm-single-step-kernel-helper.exp + * gdb.arch/avr-flash-qualifier.exp + * gdb.arch/disp-step-insn-reloc.exp + * gdb.arch/e500-abi.exp + * gdb.arch/e500-regs.exp + * gdb.arch/ftrace-insn-reloc.exp + * gdb.arch/i386-avx512.exp + * gdb.arch/i386-bp_permanent.exp + * gdb.arch/i386-byte.exp + * gdb.arch/i386-cfi-notcurrent.exp + * gdb.arch/i386-disp-step.exp + * gdb.arch/i386-dr3-watch.exp + * gdb.arch/i386-float.exp + * gdb.arch/i386-gnu-cfi.exp + * gdb.arch/i386-mpx-map.exp + * gdb.arch/i386-mpx-sigsegv.exp + * gdb.arch/i386-mpx-simple_segv.exp + * gdb.arch/i386-mpx.exp + * gdb.arch/i386-permbkpt.exp + * gdb.arch/i386-prologue.exp + * gdb.arch/i386-signal.exp + * gdb.arch/i386-size-overlap.exp + * gdb.arch/i386-unwind.exp + * gdb.arch/i386-word.exp + * gdb.arch/mips-fcr.exp + * gdb.arch/powerpc-d128-regs.exp + * gdb.arch/powerpc-stackless.exp + * gdb.arch/ppc64-atomic-inst.exp + * gdb.arch/s390-stackless.exp + * gdb.arch/s390-tdbregs.exp + * gdb.arch/s390-vregs.exp + * gdb.arch/sparc-sysstep.exp + * gdb.arch/thumb-bx-pc.exp + * gdb.arch/thumb-singlestep.exp + * gdb.arch/thumb2-it.exp + * gdb.arch/vsx-regs.exp + * gdb.asm/asm-source.exp + * gdb.base/a2-run.exp + * gdb.base/advance.exp + * gdb.base/all-bin.exp + * gdb.base/anon.exp + * gdb.base/args.exp + * gdb.base/arithmet.exp + * gdb.base/async-shell.exp + * gdb.base/async.exp + * gdb.base/attach-pie-noexec.exp + * gdb.base/attach-twice.exp + * gdb.base/auto-load.exp + * gdb.base/bang.exp + * gdb.base/bitfields.exp + * gdb.base/break-always.exp + * gdb.base/break-caller-line.exp + * gdb.base/break-entry.exp + * gdb.base/break-inline.exp + * gdb.base/break-on-linker-gcd-function.exp + * gdb.base/break-probes.exp + * gdb.base/break.exp + * gdb.base/breakpoint-shadow.exp + * gdb.base/call-ar-st.exp + * gdb.base/call-sc.exp + * gdb.base/call-signal-resume.exp + * gdb.base/call-strs.exp + * gdb.base/callfuncs.exp + * gdb.base/catch-fork-static.exp + * gdb.base/catch-gdb-caused-signals.exp + * gdb.base/catch-load.exp + * gdb.base/catch-signal-fork.exp + * gdb.base/catch-signal.exp + * gdb.base/catch-syscall.exp + * gdb.base/charset.exp + * gdb.base/checkpoint.exp + * gdb.base/chng-syms.exp + * gdb.base/code-expr.exp + * gdb.base/code_elim.exp + * gdb.base/commands.exp + * gdb.base/completion.exp + * gdb.base/complex.exp + * gdb.base/cond-expr.exp + * gdb.base/condbreak.exp + * gdb.base/consecutive.exp + * gdb.base/continue-all-already-running.exp + * gdb.base/coredump-filter.exp + * gdb.base/corefile.exp + * gdb.base/dbx.exp + * gdb.base/debug-expr.exp + * gdb.base/define.exp + * gdb.base/del.exp + * gdb.base/disabled-location.exp + * gdb.base/disasm-end-cu.exp + * gdb.base/disasm-optim.exp + * gdb.base/display.exp + * gdb.base/duplicate-bp.exp + * gdb.base/ena-dis-br.exp + * gdb.base/ending-run.exp + * gdb.base/enumval.exp + * gdb.base/environ.exp + * gdb.base/eu-strip-infcall.exp + * gdb.base/eval-avoid-side-effects.exp + * gdb.base/eval-skip.exp + * gdb.base/exitsignal.exp + * gdb.base/expand-psymtabs.exp + * gdb.base/filesym.exp + * gdb.base/find-unmapped.exp + * gdb.base/finish.exp + * gdb.base/float.exp + * gdb.base/foll-exec-mode.exp + * gdb.base/foll-exec.exp + * gdb.base/foll-fork.exp + * gdb.base/fortran-sym-case.exp + * gdb.base/freebpcmd.exp + * gdb.base/func-ptr.exp + * gdb.base/func-ptrs.exp + * gdb.base/funcargs.exp + * gdb.base/gcore-buffer-overflow.exp + * gdb.base/gcore-relro-pie.exp + * gdb.base/gcore-relro.exp + * gdb.base/gcore.exp + * gdb.base/gdb1090.exp + * gdb.base/gdb11530.exp + * gdb.base/gdb11531.exp + * gdb.base/gdb1821.exp + * gdb.base/gdbindex-stabs.exp + * gdb.base/gdbvars.exp + * gdb.base/hbreak.exp + * gdb.base/hbreak2.exp + * gdb.base/included.exp + * gdb.base/infcall-input.exp + * gdb.base/inferior-died.exp + * gdb.base/infnan.exp + * gdb.base/info-macros.exp + * gdb.base/info-os.exp + * gdb.base/info-proc.exp + * gdb.base/info-shared.exp + * gdb.base/info-target.exp + * gdb.base/infoline.exp + * gdb.base/interp.exp + * gdb.base/interrupt.exp + * gdb.base/jit-reader.exp + * gdb.base/jit-simple.exp + * gdb.base/kill-after-signal.exp + * gdb.base/kill-detach-inferiors-cmd.exp + * gdb.base/label.exp + * gdb.base/langs.exp + * gdb.base/ldbl_e308.exp + * gdb.base/line-symtabs.exp + * gdb.base/linespecs.exp + * gdb.base/list.exp + * gdb.base/long_long.exp + * gdb.base/longest-types.exp + * gdb.base/maint.exp + * gdb.base/max-value-size.exp + * gdb.base/memattr.exp + * gdb.base/mips_pro.exp + * gdb.base/morestack.exp + * gdb.base/moribund-step.exp + * gdb.base/multi-forks.exp + * gdb.base/nested-addr.exp + * gdb.base/nextoverexit.exp + * gdb.base/noreturn-finish.exp + * gdb.base/noreturn-return.exp + * gdb.base/nostdlib.exp + * gdb.base/offsets.exp + * gdb.base/opaque.exp + * gdb.base/pc-fp.exp + * gdb.base/permissions.exp + * gdb.base/print-symbol-loading.exp + * gdb.base/prologue-include.exp + * gdb.base/psymtab.exp + * gdb.base/ptype.exp + * gdb.base/random-signal.exp + * gdb.base/randomize.exp + * gdb.base/range-stepping.exp + * gdb.base/readline-ask.exp + * gdb.base/recpar.exp + * gdb.base/recurse.exp + * gdb.base/relational.exp + * gdb.base/restore.exp + * gdb.base/return-nodebug.exp + * gdb.base/return.exp + * gdb.base/run-after-attach.exp + * gdb.base/save-bp.exp + * gdb.base/scope.exp + * gdb.base/sect-cmd.exp + * gdb.base/set-lang-auto.exp + * gdb.base/set-noassign.exp + * gdb.base/setvar.exp + * gdb.base/sigall.exp + * gdb.base/sigbpt.exp + * gdb.base/siginfo-addr.exp + * gdb.base/siginfo-infcall.exp + * gdb.base/siginfo-obj.exp + * gdb.base/siginfo.exp + * gdb.base/signals-state-child.exp + * gdb.base/signest.exp + * gdb.base/sigstep.exp + * gdb.base/sizeof.exp + * gdb.base/skip.exp + * gdb.base/solib-corrupted.exp + * gdb.base/solib-nodir.exp + * gdb.base/solib-search.exp + * gdb.base/stack-checking.exp + * gdb.base/stale-infcall.exp + * gdb.base/stap-probe.exp + * gdb.base/start.exp + * gdb.base/step-break.exp + * gdb.base/step-bt.exp + * gdb.base/step-line.exp + * gdb.base/step-over-exit.exp + * gdb.base/step-over-syscall.exp + * gdb.base/step-resume-infcall.exp + * gdb.base/step-test.exp + * gdb.base/store.exp + * gdb.base/structs3.exp + * gdb.base/sym-file.exp + * gdb.base/symbol-without-target_section.exp + * gdb.base/term.exp + * gdb.base/testenv.exp + * gdb.base/ui-redirect.exp + * gdb.base/until.exp + * gdb.base/unwindonsignal.exp + * gdb.base/value-double-free.exp + * gdb.base/vla-datatypes.exp + * gdb.base/vla-ptr.exp + * gdb.base/vla-sideeffect.exp + * gdb.base/volatile.exp + * gdb.base/watch-cond-infcall.exp + * gdb.base/watch-cond.exp + * gdb.base/watch-non-mem.exp + * gdb.base/watch-read.exp + * gdb.base/watch-vfork.exp + * gdb.base/watchpoint-cond-gone.exp + * gdb.base/watchpoint-delete.exp + * gdb.base/watchpoint-hw-hit-once.exp + * gdb.base/watchpoint-hw.exp + * gdb.base/watchpoint-stops-at-right-insn.exp + * gdb.base/watchpoints.exp + * gdb.base/wchar.exp + * gdb.base/whatis-exp.exp + * gdb.btrace/buffer-size.exp + * gdb.btrace/data.exp + * gdb.btrace/delta.exp + * gdb.btrace/dlopen.exp + * gdb.btrace/enable.exp + * gdb.btrace/exception.exp + * gdb.btrace/function_call_history.exp + * gdb.btrace/gcore.exp + * gdb.btrace/instruction_history.exp + * gdb.btrace/nohist.exp + * gdb.btrace/reconnect.exp + * gdb.btrace/record_goto-step.exp + * gdb.btrace/record_goto.exp + * gdb.btrace/rn-dl-bind.exp + * gdb.btrace/segv.exp + * gdb.btrace/step.exp + * gdb.btrace/stepi.exp + * gdb.btrace/tailcall-only.exp + * gdb.btrace/tailcall.exp + * gdb.btrace/tsx.exp + * gdb.btrace/unknown_functions.exp + * gdb.btrace/vdso.exp + * gdb.compile/compile-ifunc.exp + * gdb.compile/compile-ops.exp + * gdb.compile/compile-print.exp + * gdb.compile/compile-setjmp.exp + * gdb.cp/abstract-origin.exp + * gdb.cp/ambiguous.exp + * gdb.cp/annota2.exp + * gdb.cp/annota3.exp + * gdb.cp/anon-ns.exp + * gdb.cp/anon-struct.exp + * gdb.cp/anon-union.exp + * gdb.cp/arg-reference.exp + * gdb.cp/baseenum.exp + * gdb.cp/bool.exp + * gdb.cp/breakpoint.exp + * gdb.cp/bs15503.exp + * gdb.cp/call-c.exp + * gdb.cp/casts.exp + * gdb.cp/chained-calls.exp + * gdb.cp/class2.exp + * gdb.cp/classes.exp + * gdb.cp/cmpd-minsyms.exp + * gdb.cp/converts.exp + * gdb.cp/cp-relocate.exp + * gdb.cp/cpcompletion.exp + * gdb.cp/cpexprs.exp + * gdb.cp/cplabel.exp + * gdb.cp/cplusfuncs.exp + * gdb.cp/cpsizeof.exp + * gdb.cp/ctti.exp + * gdb.cp/derivation.exp + * gdb.cp/destrprint.exp + * gdb.cp/dispcxx.exp + * gdb.cp/enum-class.exp + * gdb.cp/exception.exp + * gdb.cp/exceptprint.exp + * gdb.cp/expand-psymtabs-cxx.exp + * gdb.cp/expand-sals.exp + * gdb.cp/extern-c.exp + * gdb.cp/filename.exp + * gdb.cp/formatted-ref.exp + * gdb.cp/fpointer.exp + * gdb.cp/gdb1355.exp + * gdb.cp/gdb2495.exp + * gdb.cp/hang.exp + * gdb.cp/impl-this.exp + * gdb.cp/infcall-dlopen.exp + * gdb.cp/inherit.exp + * gdb.cp/iostream.exp + * gdb.cp/koenig.exp + * gdb.cp/local.exp + * gdb.cp/m-data.exp + * gdb.cp/m-static.exp + * gdb.cp/mb-ctor.exp + * gdb.cp/mb-inline.exp + * gdb.cp/mb-templates.exp + * gdb.cp/member-name.exp + * gdb.cp/member-ptr.exp + * gdb.cp/meth-typedefs.exp + * gdb.cp/method.exp + * gdb.cp/method2.exp + * gdb.cp/minsym-fallback.exp + * gdb.cp/misc.exp + * gdb.cp/namelessclass.exp + * gdb.cp/namespace-enum.exp + * gdb.cp/namespace-nested-import.exp + * gdb.cp/namespace.exp + * gdb.cp/nextoverthrow.exp + * gdb.cp/no-dmgl-verbose.exp + * gdb.cp/non-trivial-retval.exp + * gdb.cp/noparam.exp + * gdb.cp/nsdecl.exp + * gdb.cp/nsimport.exp + * gdb.cp/nsnested.exp + * gdb.cp/nsnoimports.exp + * gdb.cp/nsrecurs.exp + * gdb.cp/nsstress.exp + * gdb.cp/nsusing.exp + * gdb.cp/operator.exp + * gdb.cp/oranking.exp + * gdb.cp/overload-const.exp + * gdb.cp/overload.exp + * gdb.cp/ovldbreak.exp + * gdb.cp/ovsrch.exp + * gdb.cp/paren-type.exp + * gdb.cp/parse-lang.exp + * gdb.cp/pass-by-ref.exp + * gdb.cp/pr-1023.exp + * gdb.cp/pr-1210.exp + * gdb.cp/pr-574.exp + * gdb.cp/pr10687.exp + * gdb.cp/pr12028.exp + * gdb.cp/pr17132.exp + * gdb.cp/pr17494.exp + * gdb.cp/pr9067.exp + * gdb.cp/pr9167.exp + * gdb.cp/pr9631.exp + * gdb.cp/printmethod.exp + * gdb.cp/psmang.exp + * gdb.cp/psymtab-parameter.exp + * gdb.cp/ptype-cv-cp.exp + * gdb.cp/ptype-flags.exp + * gdb.cp/re-set-overloaded.exp + * gdb.cp/ref-types.exp + * gdb.cp/rtti.exp + * gdb.cp/scope-err.exp + * gdb.cp/shadow.exp + * gdb.cp/smartp.exp + * gdb.cp/static-method.exp + * gdb.cp/static-print-quit.exp + * gdb.cp/temargs.exp + * gdb.cp/templates.exp + * gdb.cp/try_catch.exp + * gdb.cp/typedef-operator.exp + * gdb.cp/typeid.exp + * gdb.cp/userdef.exp + * gdb.cp/using-crash.exp + * gdb.cp/var-tag.exp + * gdb.cp/virtbase.exp + * gdb.cp/virtfunc.exp + * gdb.cp/virtfunc2.exp + * gdb.cp/vla-cxx.exp + * gdb.disasm/t01_mov.exp + * gdb.disasm/t02_mova.exp + * gdb.disasm/t03_add.exp + * gdb.disasm/t04_sub.exp + * gdb.disasm/t05_cmp.exp + * gdb.disasm/t06_ari2.exp + * gdb.disasm/t07_ari3.exp + * gdb.disasm/t08_or.exp + * gdb.disasm/t09_xor.exp + * gdb.disasm/t10_and.exp + * gdb.disasm/t11_logs.exp + * gdb.disasm/t12_bit.exp + * gdb.disasm/t13_otr.exp + * gdb.dlang/circular.exp + * gdb.dwarf2/arr-stride.exp + * gdb.dwarf2/arr-subrange.exp + * gdb.dwarf2/atomic-type.exp + * gdb.dwarf2/bad-regnum.exp + * gdb.dwarf2/bitfield-parent-optimized-out.exp + * gdb.dwarf2/callframecfa.exp + * gdb.dwarf2/clztest.exp + * gdb.dwarf2/corrupt.exp + * gdb.dwarf2/data-loc.exp + * gdb.dwarf2/dup-psym.exp + * gdb.dwarf2/dw2-anon-mptr.exp + * gdb.dwarf2/dw2-anonymous-func.exp + * gdb.dwarf2/dw2-bad-mips-linkage-name.exp + * gdb.dwarf2/dw2-bad-unresolved.exp + * gdb.dwarf2/dw2-basic.exp + * gdb.dwarf2/dw2-canonicalize-type.exp + * gdb.dwarf2/dw2-case-insensitive.exp + * gdb.dwarf2/dw2-common-block.exp + * gdb.dwarf2/dw2-compdir-oldgcc.exp + * gdb.dwarf2/dw2-compressed.exp + * gdb.dwarf2/dw2-const.exp + * gdb.dwarf2/dw2-cp-infcall-ref-static.exp + * gdb.dwarf2/dw2-cu-size.exp + * gdb.dwarf2/dw2-dup-frame.exp + * gdb.dwarf2/dw2-entry-value.exp + * gdb.dwarf2/dw2-icycle.exp + * gdb.dwarf2/dw2-ifort-parameter.exp + * gdb.dwarf2/dw2-inline-break.exp + * gdb.dwarf2/dw2-inline-param.exp + * gdb.dwarf2/dw2-intercu.exp + * gdb.dwarf2/dw2-intermix.exp + * gdb.dwarf2/dw2-lexical-block-bare.exp + * gdb.dwarf2/dw2-linkage-name-trust.exp + * gdb.dwarf2/dw2-minsym-in-cu.exp + * gdb.dwarf2/dw2-noloc.exp + * gdb.dwarf2/dw2-op-call.exp + * gdb.dwarf2/dw2-op-out-param.exp + * gdb.dwarf2/dw2-opt-structptr.exp + * gdb.dwarf2/dw2-param-error.exp + * gdb.dwarf2/dw2-producer.exp + * gdb.dwarf2/dw2-ranges-base.exp + * gdb.dwarf2/dw2-ref-missing-frame.exp + * gdb.dwarf2/dw2-reg-undefined.exp + * gdb.dwarf2/dw2-regno-invalid.exp + * gdb.dwarf2/dw2-restore.exp + * gdb.dwarf2/dw2-restrict.exp + * gdb.dwarf2/dw2-single-line-discriminators.exp + * gdb.dwarf2/dw2-strp.exp + * gdb.dwarf2/dw2-undefined-ret-addr.exp + * gdb.dwarf2/dw2-unresolved.exp + * gdb.dwarf2/dw2-var-zero-addr.exp + * gdb.dwarf2/dw4-sig-types.exp + * gdb.dwarf2/dwz.exp + * gdb.dwarf2/dynarr-ptr.exp + * gdb.dwarf2/enum-type.exp + * gdb.dwarf2/gdb-index.exp + * gdb.dwarf2/implptr-64bit.exp + * gdb.dwarf2/implptr-optimized-out.exp + * gdb.dwarf2/implptr.exp + * gdb.dwarf2/implref-array.exp + * gdb.dwarf2/implref-const.exp + * gdb.dwarf2/implref-global.exp + * gdb.dwarf2/implref-struct.exp + * gdb.dwarf2/mac-fileno.exp + * gdb.dwarf2/main-subprogram.exp + * gdb.dwarf2/member-ptr-forwardref.exp + * gdb.dwarf2/method-ptr.exp + * gdb.dwarf2/missing-sig-type.exp + * gdb.dwarf2/nonvar-access.exp + * gdb.dwarf2/opaque-type-lookup.exp + * gdb.dwarf2/pieces-optimized-out.exp + * gdb.dwarf2/pieces.exp + * gdb.dwarf2/pr10770.exp + * gdb.dwarf2/pr13961.exp + * gdb.dwarf2/staticvirtual.exp + * gdb.dwarf2/subrange.exp + * gdb.dwarf2/symtab-producer.exp + * gdb.dwarf2/trace-crash.exp + * gdb.dwarf2/typeddwarf.exp + * gdb.dwarf2/valop.exp + * gdb.dwarf2/watch-notconst.exp + * gdb.fortran/array-element.exp + * gdb.fortran/charset.exp + * gdb.fortran/common-block.exp + * gdb.fortran/complex.exp + * gdb.fortran/derived-type-function.exp + * gdb.fortran/derived-type.exp + * gdb.fortran/logical.exp + * gdb.fortran/module.exp + * gdb.fortran/multi-dim.exp + * gdb.fortran/nested-funcs.exp + * gdb.fortran/print-formatted.exp + * gdb.fortran/subarray.exp + * gdb.fortran/vla-alloc-assoc.exp + * gdb.fortran/vla-datatypes.exp + * gdb.fortran/vla-history.exp + * gdb.fortran/vla-ptr-info.exp + * gdb.fortran/vla-ptype-sub.exp + * gdb.fortran/vla-ptype.exp + * gdb.fortran/vla-sizeof.exp + * gdb.fortran/vla-type.exp + * gdb.fortran/vla-value-sub-arbitrary.exp + * gdb.fortran/vla-value-sub-finish.exp + * gdb.fortran/vla-value-sub.exp + * gdb.fortran/vla-value.exp + * gdb.fortran/whatis_type.exp + * gdb.go/chan.exp + * gdb.go/handcall.exp + * gdb.go/hello.exp + * gdb.go/integers.exp + * gdb.go/methods.exp + * gdb.go/package.exp + * gdb.go/strings.exp + * gdb.go/types.exp + * gdb.go/unsafe.exp + * gdb.guile/scm-arch.exp + * gdb.guile/scm-block.exp + * gdb.guile/scm-breakpoint.exp + * gdb.guile/scm-cmd.exp + * gdb.guile/scm-disasm.exp + * gdb.guile/scm-equal.exp + * gdb.guile/scm-frame-args.exp + * gdb.guile/scm-frame-inline.exp + * gdb.guile/scm-frame.exp + * gdb.guile/scm-iterator.exp + * gdb.guile/scm-math.exp + * gdb.guile/scm-objfile.exp + * gdb.guile/scm-ports.exp + * gdb.guile/scm-symbol.exp + * gdb.guile/scm-symtab.exp + * gdb.guile/scm-value-cc.exp + * gdb.guile/types-module.exp + * gdb.linespec/break-ask.exp + * gdb.linespec/cpexplicit.exp + * gdb.linespec/explicit.exp + * gdb.linespec/keywords.exp + * gdb.linespec/linespec.exp + * gdb.linespec/ls-dollar.exp + * gdb.linespec/ls-errs.exp + * gdb.linespec/skip-two.exp + * gdb.linespec/thread.exp + * gdb.mi/mi-async.exp + * gdb.mi/mi-basics.exp + * gdb.mi/mi-break.exp + * gdb.mi/mi-catch-load.exp + * gdb.mi/mi-cli.exp + * gdb.mi/mi-cmd-param-changed.exp + * gdb.mi/mi-console.exp + * gdb.mi/mi-detach.exp + * gdb.mi/mi-disassemble.exp + * gdb.mi/mi-eval.exp + * gdb.mi/mi-file-transfer.exp + * gdb.mi/mi-file.exp + * gdb.mi/mi-fill-memory.exp + * gdb.mi/mi-inheritance-syntax-error.exp + * gdb.mi/mi-linespec-err-cp.exp + * gdb.mi/mi-logging.exp + * gdb.mi/mi-memory-changed.exp + * gdb.mi/mi-read-memory.exp + * gdb.mi/mi-record-changed.exp + * gdb.mi/mi-reg-undefined.exp + * gdb.mi/mi-regs.exp + * gdb.mi/mi-return.exp + * gdb.mi/mi-reverse.exp + * gdb.mi/mi-simplerun.exp + * gdb.mi/mi-solib.exp + * gdb.mi/mi-stack.exp + * gdb.mi/mi-stepi.exp + * gdb.mi/mi-syn-frame.exp + * gdb.mi/mi-until.exp + * gdb.mi/mi-var-block.exp + * gdb.mi/mi-var-child.exp + * gdb.mi/mi-var-cmd.exp + * gdb.mi/mi-var-cp.exp + * gdb.mi/mi-var-display.exp + * gdb.mi/mi-var-invalidate.exp + * gdb.mi/mi-var-list-children-invalid-grandchild.exp + * gdb.mi/mi-vla-fortran.exp + * gdb.mi/mi-watch.exp + * gdb.mi/mi2-var-child.exp + * gdb.mi/user-selected-context-sync.exp + * gdb.modula2/unbounded-array.exp + * gdb.multi/dummy-frame-restore.exp + * gdb.multi/multi-arch-exec.exp + * gdb.multi/multi-arch.exp + * gdb.multi/tids.exp + * gdb.multi/watchpoint-multi.exp + * gdb.opencl/callfuncs.exp + * gdb.opencl/convs_casts.exp + * gdb.opencl/datatypes.exp + * gdb.opencl/operators.exp + * gdb.opencl/vec_comps.exp + * gdb.opt/clobbered-registers-O2.exp + * gdb.opt/inline-break.exp + * gdb.opt/inline-bt.exp + * gdb.opt/inline-cmds.exp + * gdb.opt/inline-locals.exp + * gdb.pascal/case-insensitive-symbols.exp + * gdb.pascal/floats.exp + * gdb.pascal/gdb11492.exp + * gdb.python/lib-types.exp + * gdb.python/py-arch.exp + * gdb.python/py-as-string.exp + * gdb.python/py-bad-printers.exp + * gdb.python/py-block.exp + * gdb.python/py-breakpoint-create-fail.exp + * gdb.python/py-breakpoint.exp + * gdb.python/py-caller-is.exp + * gdb.python/py-cmd.exp + * gdb.python/py-explore-cc.exp + * gdb.python/py-explore.exp + * gdb.python/py-finish-breakpoint.exp + * gdb.python/py-finish-breakpoint2.exp + * gdb.python/py-frame-args.exp + * gdb.python/py-frame-inline.exp + * gdb.python/py-frame.exp + * gdb.python/py-framefilter-mi.exp + * gdb.python/py-infthread.exp + * gdb.python/py-lazy-string.exp + * gdb.python/py-linetable.exp + * gdb.python/py-mi-events.exp + * gdb.python/py-mi-objfile.exp + * gdb.python/py-mi.exp + * gdb.python/py-objfile.exp + * gdb.python/py-pp-integral.exp + * gdb.python/py-pp-maint.exp + * gdb.python/py-pp-re-notag.exp + * gdb.python/py-pp-registration.exp + * gdb.python/py-recurse-unwind.exp + * gdb.python/py-strfns.exp + * gdb.python/py-symbol.exp + * gdb.python/py-symtab.exp + * gdb.python/py-sync-interp.exp + * gdb.python/py-typeprint.exp + * gdb.python/py-unwind-maint.exp + * gdb.python/py-unwind.exp + * gdb.python/py-value-cc.exp + * gdb.python/py-xmethods.exp + * gdb.reverse/amd64-tailcall-reverse.exp + * gdb.reverse/break-precsave.exp + * gdb.reverse/break-reverse.exp + * gdb.reverse/consecutive-precsave.exp + * gdb.reverse/consecutive-reverse.exp + * gdb.reverse/finish-precsave.exp + * gdb.reverse/finish-reverse-bkpt.exp + * gdb.reverse/finish-reverse.exp + * gdb.reverse/fstatat-reverse.exp + * gdb.reverse/getresuid-reverse.exp + * gdb.reverse/i386-precsave.exp + * gdb.reverse/i386-reverse.exp + * gdb.reverse/i386-sse-reverse.exp + * gdb.reverse/i387-env-reverse.exp + * gdb.reverse/i387-stack-reverse.exp + * gdb.reverse/insn-reverse.exp + * gdb.reverse/machinestate-precsave.exp + * gdb.reverse/machinestate.exp + * gdb.reverse/next-reverse-bkpt-over-sr.exp + * gdb.reverse/pipe-reverse.exp + * gdb.reverse/readv-reverse.exp + * gdb.reverse/recvmsg-reverse.exp + * gdb.reverse/rerun-prec.exp + * gdb.reverse/s390-mvcle.exp + * gdb.reverse/step-precsave.exp + * gdb.reverse/step-reverse.exp + * gdb.reverse/time-reverse.exp + * gdb.reverse/until-precsave.exp + * gdb.reverse/until-reverse.exp + * gdb.reverse/waitpid-reverse.exp + * gdb.reverse/watch-precsave.exp + * gdb.reverse/watch-reverse.exp + * gdb.rust/generics.exp + * gdb.rust/methods.exp + * gdb.rust/modules.exp + * gdb.rust/simple.exp + * gdb.server/connect-with-no-symbol-file.exp + * gdb.server/ext-attach.exp + * gdb.server/ext-restart.exp + * gdb.server/ext-wrapper.exp + * gdb.server/file-transfer.exp + * gdb.server/server-exec-info.exp + * gdb.server/server-kill.exp + * gdb.server/server-mon.exp + * gdb.server/wrapper.exp + * gdb.stabs/exclfwd.exp + * gdb.stabs/gdb11479.exp + * gdb.threads/clone-new-thread-event.exp + * gdb.threads/corethreads.exp + * gdb.threads/current-lwp-dead.exp + * gdb.threads/dlopen-libpthread.exp + * gdb.threads/gcore-thread.exp + * gdb.threads/sigstep-threads.exp + * gdb.threads/watchpoint-fork.exp + * gdb.trace/actions-changed.exp + * gdb.trace/backtrace.exp + * gdb.trace/change-loc.exp + * gdb.trace/circ.exp + * gdb.trace/collection.exp + * gdb.trace/disconnected-tracing.exp + * gdb.trace/ftrace.exp + * gdb.trace/mi-trace-frame-collected.exp + * gdb.trace/mi-trace-unavailable.exp + * gdb.trace/mi-traceframe-changed.exp + * gdb.trace/mi-tsv-changed.exp + * gdb.trace/no-attach-trace.exp + * gdb.trace/passc-dyn.exp + * gdb.trace/qtro.exp + * gdb.trace/range-stepping.exp + * gdb.trace/read-memory.exp + * gdb.trace/save-trace.exp + * gdb.trace/signal.exp + * gdb.trace/status-stop.exp + * gdb.trace/tfile.exp + * gdb.trace/trace-break.exp + * gdb.trace/trace-buffer-size.exp + * gdb.trace/trace-condition.exp + * gdb.trace/tracefile-pseudo-reg.exp + * gdb.trace/tstatus.exp + * gdb.trace/unavailable.exp + * gdb.trace/while-dyn.exp + * gdb.trace/while-stepping.exp + +2016-12-22 Doug Evans + + * gdb.base/maint.exp: Update tests for maint print symbols, psymbols + and msymbols. + +2016-12-19 Yao Qi + + * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove. + (test_with_self): Don't call do_steps_and_nexts, and remove + code about stepping into xmalloc. + +2016-12-09 Yao Qi + + * gdb.base/all-architectures.exp.in: Remove kfail for rx. + +2016-12-09 Yao Qi + + * gdb.base/all-architectures.exp.in: Remove kfail for rl78. + +2016-12-09 Pedro Alves + + * gdb.base/all-architectures-0.exp: New file. + * gdb.base/all-architectures-1.exp: New file. + * gdb.base/all-architectures-2.exp: New file. + * gdb.base/all-architectures-3.exp: New file. + * gdb.base/all-architectures-4.exp: New file. + * gdb.base/all-architectures-5.exp: New file. + * gdb.base/all-architectures-6.exp: New file. + * gdb.base/all-architectures-7.exp: New file. + * gdb.base/all-architectures.exp.in: New file. + +2016-12-09 Yao Qi + + * gdb.perf/skip-prologue.exp: Add parameter COMPILE. + +2016-12-02 Luis Machado + + * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when + possible. + Remove useless pattern-matching code. + +2016-12-02 Pedro Alves + + * gdb.base/commands.exp (user_defined_command_manyargs_test): New + procedure. + (top level): Call it. + +2016-12-02 Pedro Alves + + * gdb.base/commands.exp (user_defined_command_args_stack_test): + New procedure. + (top level): Call it. + +2016-12-02 Pedro Alves + + PR cli/20559 + * gdb.base/commands.exp (user_defined_command_args_eval): New + procedure. + (top level): Call it. + +2016-12-02 Luis Machado + + * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore + timeout handling. + +2016-12-02 Tom Tromey + + * gdb.dwarf2/main-subprogram.c: New file. + * gdb.dwarf2/main-subprogram.exp: New file. + +2016-12-01 Luis Machado + + * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple. + * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into + gdb_test_no_output for a couple of cases. + * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple. + +2016-12-01 Luis Machado + + Fix test names and standardize compilation error messages throughout + the following files: + + * gdb.ada/start.exp + * gdb.arch/alpha-step.exp + * gdb.arch/e500-prologue.exp + * gdb.arch/ftrace-insn-reloc.exp + * gdb.arch/gdb1291.exp + * gdb.arch/gdb1431.exp + * gdb.arch/gdb1558.exp + * gdb.arch/i386-dr3-watch.exp + * gdb.arch/i386-sse-stack-align.exp + * gdb.arch/ia64-breakpoint-shadow.exp + * gdb.arch/pa-nullify.exp + * gdb.arch/powerpc-aix-prologue.exp + * gdb.arch/thumb-bx-pc.exp + * gdb.base/annota1.exp + * gdb.base/annota3.exp + * gdb.base/arrayidx.exp + * gdb.base/assign.exp + * gdb.base/attach.exp + * gdb.base/auxv.exp + * gdb.base/bang.exp + * gdb.base/bfp-test.exp + * gdb.base/bigcore.exp + * gdb.base/bitfields2.exp + * gdb.base/break-fun-addr.exp + * gdb.base/break-probes.exp + * gdb.base/call-rt-st.exp + * gdb.base/callexit.exp + * gdb.base/catch-fork-kill.exp + * gdb.base/charset.exp + * gdb.base/checkpoint.exp + * gdb.base/comprdebug.exp + * gdb.base/constvars.exp + * gdb.base/coredump-filter.exp + * gdb.base/cursal.exp + * gdb.base/cvexpr.exp + * gdb.base/detach.exp + * gdb.base/display.exp + * gdb.base/dmsym.exp + * gdb.base/dprintf-pending.exp + * gdb.base/dso2dso.exp + * gdb.base/dtrace-probe.exp + * gdb.base/dump.exp + * gdb.base/enum_cond.exp + * gdb.base/exe-lock.exp + * gdb.base/exec-invalid-sysroot.exp + * gdb.base/execl-update-breakpoints.exp + * gdb.base/exprs.exp + * gdb.base/fileio.exp + * gdb.base/find.exp + * gdb.base/finish.exp + * gdb.base/fixsection.exp + * gdb.base/foll-vfork.exp + * gdb.base/frame-args.exp + * gdb.base/gcore.exp + * gdb.base/gdb1250.exp + * gdb.base/global-var-nested-by-dso.exp + * gdb.base/gnu-ifunc.exp + * gdb.base/hashline1.exp + * gdb.base/hashline2.exp + * gdb.base/hashline3.exp + * gdb.base/hbreak-in-shr-unsupported.exp + * gdb.base/huge.exp + * gdb.base/infcall-input.exp + * gdb.base/info-fun.exp + * gdb.base/info-shared.exp + * gdb.base/jit-simple.exp + * gdb.base/jit-so.exp + * gdb.base/jit.exp + * gdb.base/jump.exp + * gdb.base/label.exp + * gdb.base/lineinc.exp + * gdb.base/logical.exp + * gdb.base/longjmp.exp + * gdb.base/macscp.exp + * gdb.base/miscexprs.exp + * gdb.base/new-ui-echo.exp + * gdb.base/new-ui-pending-input.exp + * gdb.base/new-ui.exp + * gdb.base/nodebug.exp + * gdb.base/nofield.exp + * gdb.base/offsets.exp + * gdb.base/overlays.exp + * gdb.base/pending.exp + * gdb.base/pointers.exp + * gdb.base/pr11022.exp + * gdb.base/printcmds.exp + * gdb.base/prologue.exp + * gdb.base/ptr-typedef.exp + * gdb.base/realname-expand.exp + * gdb.base/relativedebug.exp + * gdb.base/relocate.exp + * gdb.base/remote.exp + * gdb.base/reread.exp + * gdb.base/return2.exp + * gdb.base/savedregs.exp + * gdb.base/sep.exp + * gdb.base/sepdebug.exp + * gdb.base/sepsymtab.exp + * gdb.base/set-inferior-tty.exp + * gdb.base/setshow.exp + * gdb.base/shlib-call.exp + * gdb.base/sigaltstack.exp + * gdb.base/siginfo-addr.exp + * gdb.base/signals.exp + * gdb.base/signull.exp + * gdb.base/sigrepeat.exp + * gdb.base/so-impl-ld.exp + * gdb.base/solib-display.exp + * gdb.base/solib-overlap.exp + * gdb.base/solib-search.exp + * gdb.base/solib-symbol.exp + * gdb.base/structs.exp + * gdb.base/structs2.exp + * gdb.base/symtab-search-order.exp + * gdb.base/twice.exp + * gdb.base/unload.exp + * gdb.base/varargs.exp + * gdb.base/watchpoint-solib.exp + * gdb.base/watchpoint.exp + * gdb.base/whatis.exp + * gdb.base/wrong_frame_bt_full.exp + * gdb.btrace/dlopen.exp + * gdb.cell/ea-standalone.exp + * gdb.cell/ea-test.exp + * gdb.cp/dispcxx.exp + * gdb.cp/gdb2384.exp + * gdb.cp/method2.exp + * gdb.cp/nextoverthrow.exp + * gdb.cp/pr10728.exp + * gdb.disasm/am33.exp + * gdb.disasm/h8300s.exp + * gdb.disasm/mn10300.exp + * gdb.disasm/sh3.exp + * gdb.dwarf2/dw2-dir-file-name.exp + * gdb.fortran/complex.exp + * gdb.fortran/library-module.exp + * gdb.guile/scm-pretty-print.exp + * gdb.guile/scm-symbol.exp + * gdb.guile/scm-type.exp + * gdb.guile/scm-value.exp + * gdb.linespec/linespec.exp + * gdb.mi/gdb701.exp + * gdb.mi/gdb792.exp + * gdb.mi/mi-breakpoint-changed.exp + * gdb.mi/mi-dprintf-pending.exp + * gdb.mi/mi-dprintf.exp + * gdb.mi/mi-exit-code.exp + * gdb.mi/mi-pending.exp + * gdb.mi/mi-solib.exp + * gdb.mi/new-ui-mi-sync.exp + * gdb.mi/pr11022.exp + * gdb.mi/user-selected-context-sync.exp + * gdb.opt/solib-intra-step.exp + * gdb.python/py-events.exp + * gdb.python/py-finish-breakpoint.exp + * gdb.python/py-mi.exp + * gdb.python/py-prettyprint.exp + * gdb.python/py-shared.exp + * gdb.python/py-symbol.exp + * gdb.python/py-template.exp + * gdb.python/py-type.exp + * gdb.python/py-value.exp + * gdb.reverse/solib-precsave.exp + * gdb.reverse/solib-reverse.exp + * gdb.server/solib-list.exp + * gdb.stabs/weird.exp + * gdb.threads/reconnect-signal.exp + * gdb.threads/stepi-random-signal.exp + * gdb.trace/actions.exp + * gdb.trace/ax.exp + * gdb.trace/backtrace.exp + * gdb.trace/change-loc.exp + * gdb.trace/deltrace.exp + * gdb.trace/ftrace-lock.exp + * gdb.trace/ftrace.exp + * gdb.trace/infotrace.exp + * gdb.trace/mi-tracepoint-changed.exp + * gdb.trace/packetlen.exp + * gdb.trace/passcount.exp + * gdb.trace/pending.exp + * gdb.trace/range-stepping.exp + * gdb.trace/report.exp + * gdb.trace/stap-trace.exp + * gdb.trace/tfind.exp + * gdb.trace/trace-break.exp + * gdb.trace/trace-condition.exp + * gdb.trace/trace-enable-disable.exp + * gdb.trace/trace-mt.exp + * gdb.trace/tracecmd.exp + * gdb.trace/tspeed.exp + * gdb.trace/tsv.exp + * lib/perftest.exp + +2016-12-01 Luis Machado + + * gdb.cp/gdb2495.exp: Replace gdb_test_multiple + with gdb_test_no_output. + Use command as test name. + +2016-12-01 Luis Machado + + Fix test names starting with uppercase throughout the files. + + * gdb.ada/assign_1.exp + * gdb.ada/boolean_expr.exp + * gdb.base/arrayidx.exp + * gdb.base/del.exp + * gdb.base/gcore-buffer-overflow.exp + * gdb.base/testenv.exp + * gdb.compile/compile.exp + * gdb.python/py-framefilter-invalidarg.exp + * gdb.python/py-framefilter.exp + +2016-12-01 Luis Machado + + Fix test names starting with uppercase throughout the files. + + * gdb.ada/array_return.exp + * gdb.ada/expr_delims.exp + * gdb.ada/mi_dyn_arr.exp + * gdb.ada/mi_interface.exp + * gdb.ada/mi_var_array.exp + * gdb.ada/watch_arg.exp + * gdb.arch/alpha-step.exp + * gdb.arch/altivec-regs.exp + * gdb.arch/e500-regs.exp + * gdb.arch/powerpc-d128-regs.exp + * gdb.base/arrayidx.exp + * gdb.base/break.exp + * gdb.base/checkpoint.exp + * gdb.base/debug-expr.exp + * gdb.base/dmsym.exp + * gdb.base/radix.exp + * gdb.base/sepdebug.exp + * gdb.base/testenv.exp + * gdb.base/watch_thread_num.exp + * gdb.base/watchpoint-cond-gone.exp + * gdb.cell/break.exp + * gdb.cell/ea-cache.exp + * gdb.compile/compile.exp + * gdb.cp/gdb2495.exp + * gdb.gdb/selftest.exp + * gdb.gdb/xfullpath.exp + * gdb.go/hello.exp + * gdb.go/integers.exp + * gdb.objc/basicclass.exp + * gdb.pascal/hello.exp + * gdb.pascal/integers.exp + * gdb.python/py-breakpoint.exp + * gdb.python/py-cmd.exp + * gdb.python/py-linetable.exp + * gdb.python/py-xmethods.exp + * gdb.python/python.exp + * gdb.reverse/consecutive-precsave.exp + * gdb.reverse/finish-precsave.exp + * gdb.reverse/i386-precsave.exp + * gdb.reverse/machinestate-precsave.exp + * gdb.reverse/sigall-precsave.exp + * gdb.reverse/solib-precsave.exp + * gdb.reverse/step-precsave.exp + * gdb.reverse/until-precsave.exp + * gdb.reverse/watch-precsave.exp + * gdb.threads/leader-exit.exp + * gdb.threads/pthreads.exp + * gdb.threads/wp-replication.exp + * gdb.trace/actions.exp + * gdb.trace/mi-tsv-changed.exp + * gdb.trace/tsv.exp + +2016-12-01 Luis Machado + + Fix test names starting with uppercase throughout the files. + + * gdb.arch/i386-bp_permanent.exp + * gdb.arch/i386-gnu-cfi.exp + * gdb.base/disasm-end-cu.exp + * gdb.base/macscp.exp + * gdb.base/pending.exp + * gdb.base/watch_thread_num.exp + * gdb.cp/exception.exp + * gdb.cp/gdb2495.exp + * gdb.cp/local.exp + * gdb.python/py-evsignal.exp + * gdb.python/python.exp + * gdb.trace/tracecmd.exp + +2016-12-01 Luis Machado + + Fix test names starting with uppercase throughout the files. + + * gdb.base/charset.exp + * gdb.base/eval.exp + * gdb.base/multi-forks.exp + * gdb.guile/scm-progspace.exp + * gdb.opencl/datatypes.exp + * gdb.python/py-block.exp + * gdb.python/py-function.exp + * gdb.python/py-symbol.exp + * gdb.python/py-symtab.exp + * gdb.python/py-xmethods.exp + * gdb.reverse/break-precsave.exp + * gdb.reverse/break-reverse.exp + * gdb.reverse/consecutive-precsave.exp + * gdb.reverse/consecutive-reverse.exp + * gdb.reverse/finish-precsave.exp + * gdb.reverse/finish-reverse-bkpt.exp + * gdb.reverse/finish-reverse.exp + * gdb.reverse/fstatat-reverse.exp + * gdb.reverse/getresuid-reverse.exp + * gdb.reverse/i386-precsave.exp + * gdb.reverse/i386-reverse.exp + * gdb.reverse/i386-sse-reverse.exp + * gdb.reverse/i387-stack-reverse.exp + * gdb.reverse/insn-reverse.exp + * gdb.reverse/machinestate-precsave.exp + * gdb.reverse/machinestate.exp + * gdb.reverse/next-reverse-bkpt-over-sr.exp + * gdb.reverse/pipe-reverse.exp + * gdb.reverse/readv-reverse.exp + * gdb.reverse/recvmsg-reverse.exp + * gdb.reverse/rerun-prec.exp + * gdb.reverse/s390-mvcle.exp + * gdb.reverse/sigall-precsave.exp + * gdb.reverse/sigall-reverse.exp + * gdb.reverse/solib-precsave.exp + * gdb.reverse/solib-reverse.exp + * gdb.reverse/step-precsave.exp + * gdb.reverse/step-reverse.exp + * gdb.reverse/time-reverse.exp + * gdb.reverse/until-precsave.exp + * gdb.reverse/until-reverse.exp + * gdb.reverse/waitpid-reverse.exp + * gdb.reverse/watch-precsave.exp + * gdb.reverse/watch-reverse.exp + +2016-12-01 Luis Machado + + Fix test names starting with uppercase throughout the files. + + * gdb.arch/i386-mpx-simple_segv.exp + * gdb.arch/i386-mpx.exp + * gdb.arch/i386-permbkpt.exp + * gdb.arch/pa-nullify.exp + * gdb.arch/powerpc-d128-regs.exp + * gdb.arch/vsx-regs.exp + * gdb.base/bfp-test.exp + * gdb.base/break.exp + * gdb.base/breakpoint-shadow.exp + * gdb.base/callfuncs.exp + * gdb.base/charset.exp + * gdb.base/commands.exp + * gdb.base/completion.exp + * gdb.base/dfp-test.exp + * gdb.base/echo.exp + * gdb.base/ending-run.exp + * gdb.base/eval.exp + * gdb.base/expand-psymtabs.exp + * gdb.base/float128.exp + * gdb.base/floatn.exp + * gdb.base/foll-exec-mode.exp + * gdb.base/gdb1056.exp + * gdb.base/gdb11531.exp + * gdb.base/kill-after-signal.exp + * gdb.base/multi-forks.exp + * gdb.base/overlays.exp + * gdb.base/pending.exp + * gdb.base/sepdebug.exp + * gdb.base/testenv.exp + * gdb.base/valgrind-db-attach.exp + * gdb.base/watch_thread_num.exp + * gdb.base/watchpoint-cond-gone.exp + * gdb.base/watchpoint.exp + * gdb.base/watchpoints.exp + * gdb.cp/arg-reference.exp + * gdb.cp/baseenum.exp + * gdb.cp/operator.exp + * gdb.cp/shadow.exp + * gdb.dwarf2/dw2-op-out-param.exp + * gdb.dwarf2/dw2-reg-undefined.exp + * gdb.go/chan.exp + * gdb.go/hello.exp + * gdb.go/integers.exp + * gdb.go/methods.exp + * gdb.go/package.exp + * gdb.guile/scm-parameter.exp + * gdb.guile/scm-progspace.exp + * gdb.guile/scm-value.exp + * gdb.mi/mi-pending.exp + * gdb.mi/user-selected-context-sync.exp + * gdb.multi/multi-attach.exp + * gdb.multi/tids.exp + * gdb.opt/clobbered-registers-O2.exp + * gdb.pascal/floats.exp + * gdb.pascal/integers.exp + * gdb.python/py-block.exp + * gdb.python/py-events.exp + * gdb.python/py-parameter.exp + * gdb.python/py-symbol.exp + * gdb.python/py-symtab.exp + * gdb.python/py-type.exp + * gdb.python/py-value.exp + * gdb.python/py-xmethods.exp + * gdb.python/python.exp + * gdb.reverse/break-precsave.exp + * gdb.reverse/consecutive-precsave.exp + * gdb.reverse/finish-precsave.exp + * gdb.reverse/i386-precsave.exp + * gdb.reverse/machinestate-precsave.exp + * gdb.reverse/sigall-precsave.exp + * gdb.reverse/solib-precsave.exp + * gdb.reverse/step-precsave.exp + * gdb.reverse/until-precsave.exp + * gdb.reverse/watch-precsave.exp + * gdb.server/ext-attach.exp + * gdb.server/ext-restart.exp + * gdb.server/ext-run.exp + * gdb.server/ext-wrapper.exp + * gdb.stabs/gdb11479.exp + * gdb.stabs/weird.exp + * gdb.threads/attach-many-short-lived-threads.exp + * gdb.threads/kill.exp + * gdb.threads/watchpoint-fork.exp + +2016-12-01 Luis Machado + + Fix test names starting with uppercase throughout all the files below. + + * gdb.ada/array_return.exp + * gdb.ada/catch_ex.exp + * gdb.ada/info_exc.exp + * gdb.ada/mi_catch_ex.exp + * gdb.ada/mi_dyn_arr.exp + * gdb.ada/mi_ex_cond.exp + * gdb.ada/mi_exc_info.exp + * gdb.ada/mi_interface.exp + * gdb.ada/mi_task_arg.exp + * gdb.ada/mi_task_info.exp + * gdb.ada/mi_var_array.exp + * gdb.arch/alpha-step.exp + * gdb.arch/amd64-disp-step.exp + * gdb.arch/arm-disp-step.exp + * gdb.arch/disp-step-insn-reloc.exp + * gdb.arch/e500-prologue.exp + * gdb.arch/ftrace-insn-reloc.exp + * gdb.arch/gdb1558.exp + * gdb.arch/i386-bp_permanent.exp + * gdb.arch/i386-disp-step.exp + * gdb.arch/i386-float.exp + * gdb.arch/i386-gnu-cfi.exp + * gdb.arch/ia64-breakpoint-shadow.exp + * gdb.arch/mips16-thunks.exp + * gdb.arch/pa-nullify.exp + * gdb.arch/powerpc-aix-prologue.exp + * gdb.arch/powerpc-power.exp + * gdb.arch/ppc-dfp.exp + * gdb.arch/s390-tdbregs.exp + * gdb.arch/spu-info.exp + * gdb.arch/spu-ls.exp + * gdb.arch/thumb-bx-pc.exp + * gdb.base/advance.exp + * gdb.base/annota-input-while-running.exp + * gdb.base/arrayidx.exp + * gdb.base/asmlabel.exp + * gdb.base/async.exp + * gdb.base/attach-wait-input.exp + * gdb.base/auto-connect-native-target.exp + * gdb.base/batch-preserve-term-settings.exp + * gdb.base/bfp-test.exp + * gdb.base/bigcore.exp + * gdb.base/bp-permanent.exp + * gdb.base/break-always.exp + * gdb.base/break-fun-addr.exp + * gdb.base/break-idempotent.exp + * gdb.base/break-main-file-remove-fail.exp + * gdb.base/break-probes.exp + * gdb.base/break-unload-file.exp + * gdb.base/break.exp + * gdb.base/call-ar-st.exp + * gdb.base/call-rt-st.exp + * gdb.base/call-sc.exp + * gdb.base/call-signal-resume.exp + * gdb.base/call-strs.exp + * gdb.base/callexit.exp + * gdb.base/callfuncs.exp + * gdb.base/catch-gdb-caused-signals.exp + * gdb.base/catch-signal-siginfo-cond.exp + * gdb.base/catch-syscall.exp + * gdb.base/compare-sections.exp + * gdb.base/cond-eval-mode.exp + * gdb.base/condbreak-call-false.exp + * gdb.base/consecutive-step-over.exp + * gdb.base/cursal.exp + * gdb.base/disabled-location.exp + * gdb.base/disasm-end-cu.exp + * gdb.base/display.exp + * gdb.base/double-prompt-target-event-error.exp + * gdb.base/dprintf-bp-same-addr.exp + * gdb.base/dprintf-detach.exp + * gdb.base/dprintf-next.exp + * gdb.base/dprintf-non-stop.exp + * gdb.base/dprintf-pending.exp + * gdb.base/dso2dso.exp + * gdb.base/ending-run.exp + * gdb.base/enum_cond.exp + * gdb.base/examine-backward.exp + * gdb.base/exe-lock.exp + * gdb.base/exec-invalid-sysroot.exp + * gdb.base/execl-update-breakpoints.exp + * gdb.base/execution-termios.exp + * gdb.base/fileio.exp + * gdb.base/fixsection.exp + * gdb.base/foll-exec-mode.exp + * gdb.base/foll-exec.exp + * gdb.base/fork-running-state.exp + * gdb.base/frame-args.exp + * gdb.base/fullpath-expand.exp + * gdb.base/func-ptr.exp + * gdb.base/gcore-relro-pie.exp + * gdb.base/gdb1090.exp + * gdb.base/gdb1555.exp + * gdb.base/global-var-nested-by-dso.exp + * gdb.base/gnu-ifunc.exp + * gdb.base/hbreak-in-shr-unsupported.exp + * gdb.base/hbreak-unmapped.exp + * gdb.base/hook-stop.exp + * gdb.base/infcall-input.exp + * gdb.base/info-fun.exp + * gdb.base/info-shared.exp + * gdb.base/interrupt-noterm.exp + * gdb.base/jit-so.exp + * gdb.base/jit.exp + * gdb.base/line-symtabs.exp + * gdb.base/list.exp + * gdb.base/longjmp.exp + * gdb.base/macscp.exp + * gdb.base/max-value-size.exp + * gdb.base/nodebug.exp + * gdb.base/nofield.exp + * gdb.base/overlays.exp + * gdb.base/paginate-after-ctrl-c-running.exp + * gdb.base/paginate-bg-execution.exp + * gdb.base/paginate-inferior-exit.exp + * gdb.base/pending.exp + * gdb.base/pr11022.exp + * gdb.base/printcmds.exp + * gdb.base/ptr-typedef.exp + * gdb.base/ptype.exp + * gdb.base/randomize.exp + * gdb.base/range-stepping.exp + * gdb.base/realname-expand.exp + * gdb.base/relativedebug.exp + * gdb.base/remote.exp + * gdb.base/savedregs.exp + * gdb.base/sepdebug.exp + * gdb.base/set-noassign.exp + * gdb.base/shlib-call.exp + * gdb.base/shreloc.exp + * gdb.base/sigaltstack.exp + * gdb.base/sigbpt.exp + * gdb.base/siginfo-addr.exp + * gdb.base/siginfo-obj.exp + * gdb.base/siginfo-thread.exp + * gdb.base/signest.exp + * gdb.base/signull.exp + * gdb.base/sigrepeat.exp + * gdb.base/skip.exp + * gdb.base/so-impl-ld.exp + * gdb.base/solib-corrupted.exp + * gdb.base/solib-disc.exp + * gdb.base/solib-display.exp + * gdb.base/solib-overlap.exp + * gdb.base/solib-search.exp + * gdb.base/solib-symbol.exp + * gdb.base/source-execution.exp + * gdb.base/sss-bp-on-user-bp-2.exp + * gdb.base/sss-bp-on-user-bp.exp + * gdb.base/stack-checking.exp + * gdb.base/stale-infcall.exp + * gdb.base/step-break.exp + * gdb.base/step-line.exp + * gdb.base/step-over-exit.exp + * gdb.base/step-test.exp + * gdb.base/structs.exp + * gdb.base/sym-file.exp + * gdb.base/symtab-search-order.exp + * gdb.base/term.exp + * gdb.base/type-opaque.exp + * gdb.base/unload.exp + * gdb.base/until-nodebug.exp + * gdb.base/until.exp + * gdb.base/unwindonsignal.exp + * gdb.base/watch-cond.exp + * gdb.base/watch-non-mem.exp + * gdb.base/watch_thread_num.exp + * gdb.base/watchpoint-reuse-slot.exp + * gdb.base/watchpoint-solib.exp + * gdb.base/watchpoint.exp + * gdb.btrace/dlopen.exp + * gdb.cell/arch.exp + * gdb.cell/break.exp + * gdb.cell/bt.exp + * gdb.cell/core.exp + * gdb.cell/data.exp + * gdb.cell/dwarfaddr.exp + * gdb.cell/ea-cache.exp + * gdb.cell/ea-standalone.exp + * gdb.cell/ea-test.exp + * gdb.cell/f-regs.exp + * gdb.cell/fork.exp + * gdb.cell/gcore.exp + * gdb.cell/mem-access.exp + * gdb.cell/ptype.exp + * gdb.cell/registers.exp + * gdb.cell/sizeof.exp + * gdb.cell/solib-symbol.exp + * gdb.cell/solib.exp + * gdb.compile/compile-tls.exp + * gdb.cp/exception.exp + * gdb.cp/gdb2495.exp + * gdb.cp/local.exp + * gdb.cp/mb-inline.exp + * gdb.cp/mb-templates.exp + * gdb.cp/pr10687.exp + * gdb.cp/pr9167.exp + * gdb.cp/scope-err.exp + * gdb.cp/templates.exp + * gdb.cp/virtfunc.exp + * gdb.dwarf2/dw2-dir-file-name.exp + * gdb.dwarf2/dw2-single-line-discriminators.exp + * gdb.fortran/complex.exp + * gdb.fortran/library-module.exp + * gdb.guile/guile.exp + * gdb.guile/scm-cmd.exp + * gdb.guile/scm-frame-inline.exp + * gdb.guile/scm-objfile.exp + * gdb.guile/scm-pretty-print.exp + * gdb.guile/scm-symbol.exp + * gdb.guile/scm-type.exp + * gdb.guile/scm-value.exp + * gdb.linespec/keywords.exp + * gdb.linespec/ls-errs.exp + * gdb.linespec/macro-relative.exp + * gdb.linespec/thread.exp + * gdb.mi/mi-breakpoint-changed.exp + * gdb.mi/mi-dprintf-pending.exp + * gdb.mi/mi-fullname-deleted.exp + * gdb.mi/mi-logging.exp + * gdb.mi/mi-pending.exp + * gdb.mi/mi-solib.exp + * gdb.mi/new-ui-mi-sync.exp + * gdb.mi/user-selected-context-sync.exp + * gdb.multi/dummy-frame-restore.exp + * gdb.multi/multi-arch-exec.exp + * gdb.multi/remove-inferiors.exp + * gdb.multi/watchpoint-multi-exit.exp + * gdb.opt/solib-intra-step.exp + * gdb.perf/backtrace.exp + * gdb.perf/single-step.exp + * gdb.perf/skip-command.exp + * gdb.perf/skip-prologue.exp + * gdb.perf/solib.exp + * gdb.python/lib-types.exp + * gdb.python/py-as-string.exp + * gdb.python/py-bad-printers.exp + * gdb.python/py-block.exp + * gdb.python/py-breakpoint.exp + * gdb.python/py-cmd.exp + * gdb.python/py-events.exp + * gdb.python/py-evthreads.exp + * gdb.python/py-finish-breakpoint.exp + * gdb.python/py-finish-breakpoint2.exp + * gdb.python/py-frame-inline.exp + * gdb.python/py-frame.exp + * gdb.python/py-inferior.exp + * gdb.python/py-infthread.exp + * gdb.python/py-mi.exp + * gdb.python/py-objfile.exp + * gdb.python/py-pp-maint.exp + * gdb.python/py-pp-registration.exp + * gdb.python/py-prettyprint.exp + * gdb.python/py-recurse-unwind.exp + * gdb.python/py-shared.exp + * gdb.python/py-symbol.exp + * gdb.python/py-symtab.exp + * gdb.python/py-template.exp + * gdb.python/py-type.exp + * gdb.python/py-unwind-maint.exp + * gdb.python/py-unwind.exp + * gdb.python/py-value.exp + * gdb.python/python.exp + * gdb.reverse/finish-reverse-bkpt.exp + * gdb.reverse/insn-reverse.exp + * gdb.reverse/next-reverse-bkpt-over-sr.exp + * gdb.reverse/solib-precsave.exp + * gdb.reverse/solib-reverse.exp + * gdb.stabs/gdb11479.exp + * gdb.stabs/weird.exp + * gdb.threads/fork-child-threads.exp + * gdb.threads/fork-plus-threads.exp + * gdb.threads/fork-thread-pending.exp + * gdb.threads/forking-threads-plus-breakpoint.exp + * gdb.threads/hand-call-in-threads.exp + * gdb.threads/interrupted-hand-call.exp + * gdb.threads/linux-dp.exp + * gdb.threads/local-watch-wrong-thread.exp + * gdb.threads/next-while-other-thread-longjmps.exp + * gdb.threads/non-ldr-exit.exp + * gdb.threads/pending-step.exp + * gdb.threads/print-threads.exp + * gdb.threads/process-dies-while-detaching.exp + * gdb.threads/process-dies-while-handling-bp.exp + * gdb.threads/pthreads.exp + * gdb.threads/queue-signal.exp + * gdb.threads/reconnect-signal.exp + * gdb.threads/signal-command-handle-nopass.exp + * gdb.threads/signal-command-multiple-signals-pending.exp + * gdb.threads/signal-delivered-right-thread.exp + * gdb.threads/signal-sigtrap.exp + * gdb.threads/sigthread.exp + * gdb.threads/staticthreads.exp + * gdb.threads/stepi-random-signal.exp + * gdb.threads/thread-unwindonsignal.exp + * gdb.threads/thread_check.exp + * gdb.threads/thread_events.exp + * gdb.threads/tid-reuse.exp + * gdb.threads/tls-nodebug.exp + * gdb.threads/tls-shared.exp + * gdb.threads/tls-so_extern.exp + * gdb.threads/tls.exp + * gdb.threads/wp-replication.exp + * gdb.trace/actions-changed.exp + * gdb.trace/actions.exp + * gdb.trace/backtrace.exp + * gdb.trace/change-loc.exp + * gdb.trace/collection.exp + * gdb.trace/deltrace.exp + * gdb.trace/disconnected-tracing.exp + * gdb.trace/entry-values.exp + * gdb.trace/ftrace-lock.exp + * gdb.trace/ftrace.exp + * gdb.trace/infotrace.exp + * gdb.trace/mi-trace-frame-collected.exp + * gdb.trace/mi-trace-unavailable.exp + * gdb.trace/mi-traceframe-changed.exp + * gdb.trace/mi-tracepoint-changed.exp + * gdb.trace/mi-tsv-changed.exp + * gdb.trace/no-attach-trace.exp + * gdb.trace/packetlen.exp + * gdb.trace/passc-dyn.exp + * gdb.trace/passcount.exp + * gdb.trace/pending.exp + * gdb.trace/pr16508.exp + * gdb.trace/qtro.exp + * gdb.trace/range-stepping.exp + * gdb.trace/read-memory.exp + * gdb.trace/report.exp + * gdb.trace/save-trace.exp + * gdb.trace/signal.exp + * gdb.trace/stap-trace.exp + * gdb.trace/status-stop.exp + * gdb.trace/strace.exp + * gdb.trace/tfile.exp + * gdb.trace/tfind.exp + * gdb.trace/trace-break.exp + * gdb.trace/trace-condition.exp + * gdb.trace/trace-enable-disable.exp + * gdb.trace/trace-mt.exp + * gdb.trace/tracecmd.exp + * gdb.trace/tracefile-pseudo-reg.exp + * gdb.trace/tspeed.exp + * gdb.trace/tstatus.exp + * gdb.trace/tsv.exp + * gdb.trace/unavailable.exp + * gdb.trace/while-dyn.exp + * gdb.trace/while-stepping.exp + * lib/gdb-guile.exp + * lib/gdb.exp + * lib/mi-support.exp + * lib/pascal.exp + * lib/perftest.exp + * lib/prelink-support.exp + * lib/selftest-support.exp + +2016-11-30 Simon Marchi + + * Makefile.in: Include disable-implicit-rules.mk. + +2016-11-24 Andreas Arnez + + * gdb.dwarf2/nonvar-access.exp: Add a test for accessing + non-byte-aligned bit fields. + +2016-11-24 Andreas Arnez + + PR gdb/12616 + * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB + respects the DW_AT_data_bit_offset attribute. + +2016-11-22 Simon Marchi + + * gdb.base/default.exp: Fix output of "set language". + +2016-11-17 Simon Marchi + + * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines + prefixed with @GMAKE_FALSE@. Update comment related to non-GNU + make. + * configure.ac: Remove checks for the make program. + * configure: Re-generate. + +2016-11-16 Kevin Buettner + + * gdb.python/py-recurse-unwind.c (main): Add loop. + * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls + to read_register() and gdb.parse_and_eval(). Make each code + call a separate case that can be individually tested. + * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New + proc. Call cont_and_backtrace for each of the code paths that + we want to test in the unwinder. + +2016-11-15 Andreas Arnez + + * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for + the definition of struct S. + +2016-11-11 Catherine Moore + + * gdb.base/dump.exp: Identify verilog format dump tests as such. + +2016-11-09 Pedro Alves + + * gdb.base/commands.exp (runto_or_return): New procedure. + (gdbvar_simple_if_test, gdbvar_simple_while_test) + (gdbvar_complex_if_while_test, progvar_simple_if_test) + (progvar_simple_while_test, progvar_complex_if_while_test) + (if_while_breakpoint_command_test) + (infrun_breakpoint_command_test, breakpoint_command_test) + (user_defined_command_test, watchpoint_command_test) + (test_command_prompt_position, redefine_hook_test) + (stray_arg0_test, error_clears_commands_left, redefine_hook_test) + (redefine_backtrace_test): Use runto_or_return, $valnum_re, + multi_line_input and multi_line. Remove gdb_expect and + gdb_stop_suppressing_tests uses. + * lib/gdb.exp (valnum_re): New global. + (multi_line_input): New procedure. + +2016-11-09 Simon Marchi + + * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname): + Remove. + (test_setup): Define with proc_with_prefix. + (test_cli_inferior): Likewise. + (test_cli_thread): Likewise. + (test_cli_frame): Likewise. + (test_cli_select_frame): Likewise. + (test_cli_up_down): Likewise. + (test_mi_thread_select): Likewise. + (test_mi_stack_select_frame): Likewise. + (test_cli_in_mi_inferior): Likewise. + (test_cli_in_mi_thread): Likewise. + (test_cli_in_mi_frame): Likewise. + (top level): Do not use with_test_prefix_procname. + +2016-11-09 Pedro Alves + + * gdb.base/commands.exp (gdbvar_simple_if_test) + (gdbvar_simple_while_test, gdbvar_complex_if_while_test) + (progvar_simple_if_test, progvar_simple_while_test) + (progvar_complex_if_while_test, if_while_breakpoint_command_test) + (infrun_breakpoint_command_test, breakpoint_command_test) + (user_defined_command_test, watchpoint_command_test) + (test_command_prompt_position, deprecated_command_test) + (bp_deleted_in_command, temporary_breakpoint_commands) + (stray_arg0_test, source_file_with_indented_comment) + (recursive_source_test, if_commands_test) + (error_clears_commands_left, redefine_hook_test) + (redefine_backtrace_test): Use proc_with_prefix. + * lib/gdb.exp (proc_with_prefix): New proc. + +2016-11-09 Andreas Arnez + + * gdb.base/tui-layout.c: New file. + * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the + disassembly window contains very long lines. + +2016-11-08 Tom Tromey + + * gdb.python/py-value.exp (test_value_creation): Make "long" test + depend on Python 2. + +2016-11-08 Tom Tromey + + * gdb.python/py-framefilter.py (ElidingFrameDecorator.address): + New method. + +2016-10-29 Manish Goregaokar + + * gdb.rust/simple.exp: Add tests for `sizeof(expr)`. + +2016-10-27 Manish Goregaokar + + * gdb.rust/simple.rs: Add test for univariant enums without + discriminants and for encoded struct-like enums. + +2016-10-28 Pedro Alves + + * gdb.base/maint.exp : Use + gdb_test_multiple, tighten regexps and match symtabs and line + tables incrementally. + +2016-10-28 Luis Machado + + * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more + general. + +2016-10-25 Luis Machado + + * gdb.base/exec-invalid-sysroot.exp: New file. + +2016-10-24 Jan Kratochvil + + * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first. + +2016-10-20 Jan Kratochvil + + * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp. + +2016-10-19 Maciej W. Rozycki + + * gdb.base/killed-outside.exp: Remove $options from a call to + `prepare_for_testing'. + +2016-10-17 Simon Marchi + + * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args): + Change test message. + +2016-10-17 Simon Marchi + + * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args): + Update comment. + +2016-10-17 Simon Marchi + + * gdb.trace/mi-trace-save.exp: New file. + +2016-10-13 Yao Qi + + * gdb.base/code_elim.exp (get_var_address): Remove. + * gdb.base/relocate.exp: Likewise. + * gdb.base/shreloc.exp: Likewise. + * lib/gdb.exp (get_var_address): New. + +2016-10-13 Yao Qi + + * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do + floating point tests if $skip_float_test is false. + +2016-10-12 Luis Machado + + * gdb.python/py-value.c (main): Check if argv is NULL before using it. + * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded + argc values. + Add 1 to argc so we guarantee distinct initial/modified argc values. + +2016-10-11 Jan Kratochvil + + * gdb.arch/powerpc-prologue.c (optimized_1): New declaration. + +2016-10-11 Jan Kratochvil + + * gdb.arch/powerpc-prologue.exp: Use standard_output_file + * gdb.arch/ppc64-symtab-cordic.exp: Likewise. + * gdb.arch/vsx-regs.exp: Likewise. + +2016-10-07 Yao Qi + + * gdb.xml/tdesc-regs.exp: Set regdir to "arm/". + +2016-10-07 Markus Metzger + + * gdb.python/python.exp: Test decode_line("*0"). + +2016-10-06 Doug Evans + + * gdb.python/py-value.exp (test_value_creation): Add test for large + unsigned 64-bit value. + +2016-10-06 Tom Tromey + + * gdb.compile/compile.exp: Change java tests to rust. + * gdb.base/setshow.exp: Change java tests to rust. + * gdb.base/default.exp: Remove java from language list. + * README (Examples): Update language example. + * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java + test. + * lib/gdb.exp (skip_java_tests): Remove. + * lib/java.exp: Remove. + * gdb.java: Remove. + +2016-10-06 Maciej W. Rozycki + + * gdb.arch/mips-fcr.exp: New test. + * gdb.arch/mips-fcr.c: Source for the new test. + +2016-10-06 Maciej W. Rozycki + + * gdb.base/solib-disc.exp: Use `standard_output_file' + throughout. + +2016-10-06 Pedro Alves + + * gdb.base/jit-simple-dl.c: New file. + * gdb.base/jit-simple-jit.c: New file, factored out from ... + * gdb.base/jit-simple.c: ... this. + * gdb.base/jit-simple.exp (jit_run): Delete. + (build_jit): New proc. + (jit_test_reread): Recompile either the main program or the shared + library, depending on what is being tested. Skip changing address + if caller wants to. Compare before/after addresses. If testing + standalone, explicitly load the binary. Test "maint info + breakpoints". + (top level): Add "standalone vs shared lib" and "change address" + vs "same address" axes. + +2016-10-06 Pedro Alves + + * gdb.base/jit-simple.exp (top level) Delete get_compiler_info + call. + (jit_run): Delete. + (jit_test_reread): Use with_test_prefix. Reload the main binary + explicitly. Compare the before/after addresses of the JIT + descriptor. + +2016-08-15 Doug Evans + + * gdb.xml/extra-regs.xml: Update, end field now required, default type + for single bitfields is bool. + * gdb.xml/tdesc-regs.exp: Ditto. + +2016-10-05 Jan Kratochvil + + * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo. + +2016-10-05 Yao Qi + + * lib/gdb.exp (support_complex_tests): Return zero if + gdb_skip_float_test return true. + +2016-10-03 Antoine Tremblay + Simon Marchi + + PR gdb/20487 + * gdb.mi/user-selected-context-sync.exp: New file. + * gdb.mi/user-selected-context-sync.c: New file. + +2016-10-03 Antoine Tremblay + Simon Marchi + + PR gdb/20487 + * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt + =thread-select-event check. + +2016-09-29 Peter Bergner + + * gdb.arch/powerpc-power.exp : Update tests to account for + the compulsory L operand changes. + * gdb.arch/powerpc-power.s: Likewise. + +2016-09-29 Jan Kratochvil + + PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression + * gdb.base/jit-attach-pie.c: New file. + * gdb.base/jit-attach-pie.exp: New file. + +2016-09-28 Pedro Alves + + * gdb.base/infcall-input.c: New file. + * gdb.base/infcall-input.exp: New file. + +2016-09-22 Yao Qi + + * lib/gdbserver-support.exp: Rename mi_gdb_exit. + (gdb_exit): Rename it to ... + (gdbserver_gdb_exit): ... Close GDBserver. + (gdb_exit): New proc, call gdbserver_gdb_exit. + (mi_gdb_exit): Likewise. + +2016-09-22 Yao Qi + + * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute + path. + * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base. + Remove duplication. + +2016-09-22 Yao Qi + + * lib/gdbserver-support.exp: Check the existence of + gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit. + +2016-09-21 Anton Kolesov + + * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32. + +2016-09-21 Tom Tromey + + PR gdb/20604: + * gdb.base/quit.exp: New file. + +2016-09-21 Simon Marchi + + * .gitignore: New file. + +2016-09-21 Maciej W. Rozycki + + * gdb.arch/mips16-thunks.exp: Use `standard_output_file' + throughout. + +2016-09-16 Andreas Arnez + + * lib/gdb.exp: No longer skip hardware breakpoint tests on s390. + +2016-09-16 Jan Kratochvil + + * gdb.cp/casts.cc (decltype): Move it ... + (main): ... with its call to ... + * gdb.cp/casts03.cc: ... a new file. + * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it. + +2016-09-15 Jan Kratochvil + + * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11. + +2016-09-15 Peter Bergner + + * gdb.arch/powerpc-power.s: Update Power9 instruction tests + and sync up the test with tests in gas/testsuite/gas/ppc. + * gdb.arch/powerpc-power.exp: Likewise. + +2016-09-15 Jan Kratochvil + + * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE. + +2016-09-11 Sergio Durigan Junior + Jan Kratochvil + + * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to + make m1's definition to be different from m2's. Use 'dummy' as an + argument for probe 'two'. + +2016-09-10 Jon Beniston + + * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options + for sim target. + +2016-09-09 Andreas Arnez + + * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external + variable declaration. + (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap. + * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable. + * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver + received HWCAP as its argument. + +2016-09-06 Pedro Alves + + * gdb.base/new-ui-pending-input.c: New file. + * gdb.base/new-ui-pending-input.exp: New file. + * gdb.exp (clear_gdb_spawn_id): New procedure. + (with_spawn_id): Check whether gdb_spawn_id exists before + referencing it. If gdb_spawn_id didn't exist on entry, clear it + on exit. + +2016-09-05 Ulrich Weigand + + * gdb.base/float128.c: New file. + * gdb.base/float128.exp: Likewise. + * gdb.base/floatn.c: Likewise. + * gdb.base/floatn.exp: Likewise. + +2016-09-05 Ulrich Weigand + + * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment. + +2016-09-05 Pedro Alves + + PR backtrace/19927 + * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that + unwinders are immediately called as side effect of "source" or + "disable unwinder" commands. + * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls. + +2016-09-02 Yao Qi + + * gdb.base/return-nodebug.exp: Skip the test if skip_float_test + is true and $type is "float" or "double". + +2016-09-02 Yao Qi + + * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns + true. + * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test. + * gdb.base/call-rt-st.exp: Likewise. + * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its + return value instead of gdb,skip_float_test. + * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test. + (do_function_calls): Use its return value instead of + gdb,skip_float_test. + * gdb.base/finish.exp: Likewise. + * gdb.base/funcargs.exp: Likewise. + * gdb.base/return.exp: Likewise. + * gdb.base/return2.exp: Likewise. + * gdb.base/varargs.exp: Likewise. + * lib/gdb.exp (gdb_skip_float_test): Change it to + gdb_caching_proc. Detect the broken ptrace on arm-linux. + +2016-08-30 Andreas Arnez + + * gdb.multi/tids.exp: Test "thread apply all". + +2016-08-29 Jan Kratochvil + + * gdb.base/default.exp (tty): Remove. + +2016-08-24 Kevin Buettner + + * gdb.python/py-recurse-unwind.c: New file. + * gdb.python/py-recurse-unwind.py: New file. + * gdb.python/py-recurse-unwind.exp: New file. + +2016-08-24 Simon Marchi + + * gdb.base/set-inferior-tty.exp: New file. + * gdb.base/set-inferior-tty.c: New file. + +2016-08-23 Pedro Alves + + PR gdb/20494 + * gdb.base/new-ui-echo.c: New file. + * gdb.base/new-ui-echo.exp: New file. + +2016-08-23 Yao Qi + + * gdb.server/connect-stopped-target.exp (do_test): Pass "" to + gdbserver_spawn. + * gdb.server/connect-without-multi-process.exp (do_test): + Likewise. + +2016-08-23 Yao Qi + + * gdb.base/signals-state-child.exp: Set variables gdb_txt and + standalone_txt. Delete gdb_txt and standalone_txt on host + and target. Spawn the binary on target. Copy files from + target to host. + +2016-08-22 Pedro Alves + + PR gdb/20505 + * gdb.base/vdso-warning.exp: Test core dumps too. Use + with_test_prefix. Factor out bits to ... + (test_no_vdso): ... this new procedure. + +2016-08-19 Carl Love + + * gdb.arch/altivec-regs.exp: Use standard_testfile instead of + maintaining separate logic for constructing the output path. + * gdb.arch/powerpc-d128-regs.exp: Likewise. + * gdb.arch/ppc-dfp.exp: Likewise. + * gdb.arch/ppc-fp.exp: Likewise. + * gdb.arch/vsx-regs.exp: Likewise. + * gdb.arch/altivec-abi.exp: Likewise, plus added local variable + binprefix for generating the additional binary files. + +2016-08-19 Pedro Alves + + * gdb.trace/mi-trace-frame-collected.exp + (test_trace_frame_collected): On x32, expect two registers. + +2016-08-18 Carl Love + + * gdb.arch/powerpc-power.s: Add new Power9 instruction tests + and sync up the test with tests in gas/testsuite/gas/ppc. + * gdb.arch/powerpc-power.exp: Likewise. + +2016-08-17 Simon Marchi + + * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix + expected error message. + +2016-08-17 Simon Marchi + + * gdb.multi/remove-inferiors.exp: New file. + * gdb.multi/remove-inferiors.c: New file. + +2016-08-12 Yao Qi + + * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's + argument list. + +2016-08-10 Pedro Alves + + PR gdb/19187 + * gdb.reverse/waitpid-reverse.exp: Add comment and remove + setup_kfails. + +2016-08-09 Pedro Alves + Simon Marchi + + PR gdb/20418 + * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files. + * lib/mi-support.exp (mi_expect_interrupt): Remove anchors. + +2016-08-09 Pedro Alves + + PR mi/20431 + * gdb.mi/mi-cmd-error.exp: New file. + +2016-08-09 Pedro Alves + + PR gdb/18653 + * gdb.base/signals-state-child.c: New file. + * gdb.base/signals-state-child.exp: New file. + * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern. + +2016-08-09 Pedro Alves + + * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file. + +2016-08-03 Tom Tromey + + PR python/18565: + * gdb.python/py-frame-inline.exp: Add Frame.function test. + +2016-08-01 Yao Qi + + * gdb.threads/process-dies-while-detaching.exp (do_test): Set + variable mode to "multi-process" if $multi_process is 1, otherwise + set it to "single-process". + +2016-08-01 Yao Qi + + * gdb.cp/anon-struct.exp: Check is_aarch32_target. + * gdb.cp/cpexprs.exp: Likewise. + * gdb.cp/m-static.exp: Likewise. + +2016-07-26 Tom Tromey + + PR python/20190: + * gdb.threads/tls.exp (check_thread_local): Add python symbol + test. + +2016-07-26 Markus Metzger + + * gdb.btrace/record_goto.exp: se is_amd64_regs_target for + selecting assembly source files. + * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting + assembly source files. + * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting + assembly source files. + * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for + selecting assembly source files. + +2016-07-25 Simon Marchi + + * gdb.base/new-ui.exp (do_test_invalid_args): New + procedure. + +2016-07-25 Tim Wiederhake + + * gdb.btrace/reconnect.c: New file. + * gdb.btrace/reconnect.exp: New file. + +2016-07-23 Gabriel Krisman Bertazi + + * gdb.base/catch-syscall.exp (do_syscall_tests): Add call + to test_catch_syscall_group. + (test_catch_syscall_group): New. + +2016-07-21 Tom Tromey + + * gdb.rust/simple.rs (main): Use empty struct expression. + * gdb.rust/simple.exp: Add tests for empty struct expression. + +2016-07-21 Yao Qi + + * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1 + if gdb_skip_xml_test is true on some targets. + +2016-07-21 Yao Qi + + * gdb.server/solib-list.exp: Unset last_loaded_file. + +2016-07-20 Jan Kratochvil + + * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and + "step into captured_main (args)". + +2016-07-20 Jan Kratochvil + + * gdb.btrace/tailcall-only.exp: Use is_lp64_target check. + +2016-07-20 Jan Kratochvil + + * gdb.python/py-unwind.exp: Test also ![is_lp64_target]. + +2016-07-19 Pedro Alves + + * gdb.opt/inline-break.exp: Remove optimize=-O2. + * gdb.opt/inline-bt.exp: Likewise. + * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add + additional_flags=-Winline. + * gdb.opt/inline-locals.exp: Likewise. + * gdb.opt/inline-markers.c (ATTR): Define. + (inlined_fn): Use it. + +2016-07-19 Yao Qi + + * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative. + (test_with_self): Remove some code. Remove argument executable. + (top-level): Use do_self_tests. + +2016-07-15 Zachary Welch + Don Breazeal + + * gdb.base/maint.exp: Escape paths used in regular expressions. + * gdb.stabs/weird.exp: Likewise. + +2016-07-13 Tom Tromey + + PR python/15620, PR python/18620: + * gdb.python/py-breakpoint.exp (connect_event, check_last_event) + (test_bkpt_events): New procs. + +2016-07-13 Tom Tromey + + PR python/17698: + * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending" + test. + (test_watchpoints): Likewise. + (test_bkpt_pending): New proc. + +2016-07-13 Tom Tromey + + PR cli/18053: + * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load + completion test. + +2016-07-13 Jan Kratochvil + + * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc. + * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label. + * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to + f_label. + (g): Rename g_end_lbl to g_label. + * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for + low_pc and high_pc. + * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise. + +2016-07-12 Tom Tromey + + PR python/19293: + * gdb.python/py-unwind-maint.exp: Update tests. + +2016-07-12 Yao Qi + + * lib/selftest-support.exp (selftest_setup): Match the output + when captured_main is inlined. + +2016-07-07 Walfred Tedeschi + + * gdb.fortran/derived-types.exp (result_line, result_line_2): + New variables. + (print this%a, print this%b, print this): New tests. + * gdb.fortran/derived-types.f90 (this): New object and + initialization. + +2016-07-06 Simon Marchi + + * gdb.ada/arraydim.exp: Remove extra directory level in build + directory. + +2016-07-06 Simon Marchi + + * lib/ada.exp: Remove extra directory level in build directory. + * gdb.ada/cond_lang.exp: Likewise. + * gdb.ada/exec_changed.exp: Likewise. + * gdb.ada/lang_switch.exp: Likewise. + +2016-07-06 Manish Goregaokar + + * simple.rs: Add test for raw pointer subscripting. + * simple.exp: Add test expectations. + +2016-07-05 Yao Qi + + * gdb.mi/mi-reverse.exp: Match =record-started output. + +2016-07-01 Pedro Alves + + * gdb.base/jit-reader.exp (info_registers_current_frame): New + procedure. + (jit_reader_test): Test the jit reader's unwinder. + * gdb.base/jithost.c (jit_function_00_code): New global. + (main): Use memcpy to fill in the mmapped code, instead of poking + bytes manually here. + * gdb.base/jitreader.c (enum register_mapping) : New + value. + (read_debug_info): Save the function's range. + (read_sp): New function. + (unwind_frame): Use it. Also unwind RBP. + (get_frame_id): Use read_sp. + (gdb_init_reader): Use calloc instead of malloc. + * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test' + parameter. Use gdb_test_multiple. + +2016-07-01 Pedro Alves + Antoine Tremblay + + * gdb.threads/process-dies-while-detaching.c: New file. + * gdb.threads/process-dies-while-detaching.exp: New file. + +2016-07-01 Pedro Alves + + * gdb.multi/watchpoint-multi-exit.c: New file. + * gdb.multi/watchpoint-multi-exit.exp: New file. + +2016-06-30 Pedro Alves + + * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't + unset inferior_spawn_id. + +2016-06-30 Pedro Alves + + * lib/mi-support.exp (default_mi_gdb_start): Declare global + FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY. + +2016-06-29 Yao Qi + + * gdb.base/return.c: Add copyright header. + +2016-06-29 Tom Tromey + + PR python/20129: + * gdb.python/py-framefilter.exp: Add tests for setting priority + and disabling of non-existent frame filter. + +2016-06-29 Yao Qi + + * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to + 0x0f07ff. + +2016-06-28 Yao Qi + + * gdb.base/catch-syscall.exp: Remove check on isnative and target + triplets. Start gdb, execute catch syscall, and continue. Check + gdb's output to determine catch syscall is supported. + +2016-06-27 Manish Goregaokar + + * gdb.rust/simple.rs: Add test for returning unit in a function. + * gdb.rust/simple.exp: Add expectation for functions returning + unit. + +2016-06-27 Pierre-Marie de Rodat + + * gdb.python/py-breakpoint-create-fail.c, + gdb.python/py-breakpoint-create-fail.exp, + gdb.python/py-breakpoint-create-fail.py: New testcase. + +2016-06-25 Manish Goregaokar + + PR gdb/20239 + * gdb.rust/simple.rs: Add more tests for printing NonZero enums. + * gdb.rust/simple.exp: Add test expectations for new NonZero + tests. + +2016-06-24 David Taylor + + * gdb.base/offsets.exp: New file. + * gdb.base/offsets.c: New file. + +2016-06-23 Tom Tromey + + PR gdb/16483: + * gdb.python/py-framefilter.exp: Add "info frame-filter" test + before any filters are loaded. + +2016-06-21 Walfred Tedeschi + + * gdb.fortran/derived-type.exp (print q): Add fields to the output. + * gdb.fortran/vla-type.exp (print twov): Fix vla tests with + structs. + * gdb.fortran/derived-type-function.exp: New file. + * gdb.fortran/derived-type-function.f90: New file. + + +2016-06-21 Pedro Alves + + * gdb.base/new-ui.exp: New file. + * lib/mi-support.exp (switch_gdb_spawn_id): Move to ... + * lib/gdb.exp (switch_gdb_spawn_id): ... here. + (with_spawn_id): New procedure. + +2016-06-21 Pedro Alves + + * gdb.mi/mi-exec-run.exp: New file. + +2016-06-21 Pedro Alves + + * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect + breakpoint command's output on the main UI. + (test_break): New procedure, factored out from calls in the top + level. + (top level): Use foreach_with_prefix to test MI as main UI and as + separate UI. + +2016-06-21 Pedro Alves + + * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing) + (test_awatch_creation_and_listing) + (test_rwatch_creation_and_listing, test_watchpoint_triggering): + Remove 'type' parameter. + (test_watchpoint_all): New parameter mi_mode. Remove + with_test_prefix. + (top level): Use foreach_with_prefix, and add main/separate UI MI + testing axis. + +2016-06-21 Pedro Alves + + * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY. + * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id. + * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset + gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id. + (gdb_main_spawn_id, mi_spawn_id): Declare and + comment. + (mi_create_inferior_pty): New procedure, + factored out from default_mi_gdb_start. + (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New + procedures. + (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the + separate-mi-tty option is specified, or SEPARATE_MI_TTY is set. + Use mi_create_inferior_pty. + (mi_gdb_start): Use eval to pass down args list. + +2016-06-21 Pedro Alves + + * gdb.opt/inline-cmds.c: Add "set mi break here" marker. + * gdb.opt/inline-cmds.exp: Add MI tests. + +2016-06-21 Pedro Alves + + * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp. + +2016-06-21 Pedro Alves + + * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure. + (top level): Use it instead of mi_execute_to. + +2016-06-21 Pedro Alves + + * gdb.python/py-mi-events-gdb.py (stop_handler_str) + (cont_handler_str): New. + (signal_stop_handler): Set stop_handler_str instead of printing to + stdout. + (continue_handler): Set cont_handler_str instead of printing to + stdout. + * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of + mi_send_resuming_command. Print stop_handler_str and + cont_handler_str instead of expecting the python events print + directly. + +2016-06-17 Sanjoy Das + + * gdb.base/jit-reader.exp: New file. + * gdb.base/jithost.c: New file. + * gdb.base/jithost.h: New file. + * gdb.base/jitreader.c : New file. + * gdb.base/jit-protocol.h: New file. + +2016-06-17 Yao Qi + + * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New + parameters follow_fork and detach_on_fork. Set follow-fork-mode + and detach-on-fork. Adjust tests. + (top level): Invoke break_cond_on_syscall with combinations of + syscall, follow-fork-mode and detach-on-fork. + +2016-06-17 Yao Qi + + * gdb.base/step-over-exit.c: New. + * gdb.base/step-over-exit.exp: New. + +2016-06-17 Yan-Ting Lin + + * gdb.base/float.exp: Add target check for nds32*-*-*. + * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*. + +2016-06-13 Andrew Burgess + + * gdb.base/call-ar-st.exp: Report unsupported rather than xfail + for unsupported target features. + * gdb.base/call-rt-st.exp: Likewise. + * gdb.base/call-sc.exp: Likewise. + * gdb.base/call-signal-resume.exp: Likewise. + * gdb.base/call-strs.exp: Likewise. + * gdb.base/callexit.exp: Likewise. + * gdb.base/callfuncs.exp: Likewise. + * gdb.base/nodebug.exp: Likewise. + * gdb.base/printcmds.exp: Likewise. + * gdb.base/ptype.exp: Likewise. + * gdb.base/structs.exp: Likewise. + * gdb.base/unwindonsignal.exp: Likewise. + * gdb.cp/gdb2495.exp: Likewise. + * gdb.cp/templates.exp: Likewise. + * gdb.cp/virtfunc.exp: Likewise. + * gdb.threads/hand-call-in-threads.exp: Likewise. + * gdb.threads/interrupted-hand-call.exp: Likewise. + * gdb.threads/thread-unwindonsignal.exp: Likewise. + +2016-06-10 Tom Tromey + + PR rust/20110: + * gdb.rust/expr.exp: Add test for integer constant larger than + i32. + +2016-06-10 Bernhard Heckel + + * gdb.fortran/nested-funcs.exp: New. + * gdb.fortran/nested-funcs.f90: New. + +2016-06-09 Toshihito Kikuchi + + * gdb.base/examine-backward.c: New file. + * gdb.base/examine-backward.exp: New file. + +2016-06-06 Simon Marchi + + * gdb.mi/mi-record-changed.exp: Adjust =record-started output + matching. + +2016-06-02 Tom Tromey + + PR python/18984: + * gdb.python/py-shared.exp: Add solib_name test. + +2016-06-02 Simon Marchi + + * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested. + +2016-05-31 Martin Galvan + + PR c++/19893 + * gdb.dwarf2/implref.exp: Rename to... + * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements. + * gdb.dwarf2/implref-array.c: New file. + * gdb.dwarf2/implref-array.exp: Likewise. + * gdb.dwarf2/implref-global.c: Likewise. + * gdb.dwarf2/implref-global.exp: Likewise. + * gdb.dwarf2/implref-struct.c: Likewise. + * gdb.dwarf2/implref-struct.exp: Likewise. + +2016-05-30 Antoine Tremblay + + * gdb.trace/trace-condition.exp: Add 64bit tests. + +2016-05-30 Antoine Tremblay + + * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64 + bits types. + (main): Adapt to 8 to 64 bits types. + * gdb.trace/trace-condition.exp: Add new tests. + +2016-05-30 Antoine Tremblay + + * gdb.trace/trace-condition.exp: Add emit_less_unsigned test. + +2016-05-30 Antoine Tremblay + + * gdb.trace/ftrace.exp (test_ftrace_condition): Remove. + Move condition tests... + * gdb.trace/trace-condition.exp: Here. + +2016-05-30 Antoine Tremblay + + * gdb.trace/trace-condition.exp: Add counter-case tests. + +2016-05-30 Jan Kratochvil + + PR c++/15231 + * gdb.ada/out_of_line_in_inlined.exp: Remove xfails. + * gdb.dwarf2/dw2-lexical-block-bare.exp: New file. + +2016-05-27 Pedro Alves + + * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu): + New procedure. + (top level): Call it, and bail out of DejaGnu is known to be bad. + +2016-05-27 Andrew Burgess + + * gdb.base/whatis.c: Extend the test case. + * gdb.base/whatis.exp: Add additional tests. + +2016-05-25 Bernhard Heckel + +* gdb.fortran/type.f90: Add pointer variable. +* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers. + +2016-05-25 Bernhard Heckel + + * gdb.fortran/vla-type.exp: Fix testcase name. + +2016-05-25 Bernhard Heckel + + * gdb.fortran/vla-type.exp: Access elements in nested structs. + +2016-05-25 Bernhard Heckel + + * gdb.fortran/type.f90: Add nested structures. + * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures. + * gdb.fortran/derived-type.exp: Adapt expected output. + * gdb.fortran/vla-type.exp: Adapt expected output. + +2016-05-25 Bernhard Heckel + + * gdb.fortran/whatis_type.exp: Adapt expected output. + +2016-05-25 Bernhard Heckel + + * gdb.fortran/print_type.exp: Fix expected output. + * gdb.fortran/whatis_type.exp: Fix expected output. + +2016-05-25 Bernhard Heckel + + * gdb.fortran/whatis_type.exp: Use multi_line. + +2016-05-24 Tom Tromey + + PR python/17386: + * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that + use value as an index. + +2016-05-23 Tom Tromey + + PR python/17981: + * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for + no-breakpoint case. + +2016-05-24 Pedro Alves + + PR gdb/19828 + * gdb.threads/clone-attach-detach.c: New file. + * gdb.threads/clone-attach-detach.exp: New file. + +2016-05-24 Francis Ricci (tiny patch) + + * gdb.base/annota-input-while-running.exp: Fix syntax error. + +2016-05-23 Tom Tromey + + PR python/19438, PR python/18393: + * gdb.python/py-progspace.exp: Add "dir" test. + * gdb.python/py-objfile.exp: Add "dir" test. + +2016-05-23 Yao Qi + + * gdb.arch/thumb-prologue.exp: Use standard_testfile. + * gdb.arch/thumb2-it.exp: Likewise. + +2016-05-18 Simon Marchi + + * gdb.mi/mi-threads-interrupt.c: New file. + * gdb.mi/mi-threads-interrupt.exp: New file. + +2016-05-17 Simon Marchi + + PR gdb/18077 + * gdb.mi/mi-async-run.exp: New file. + * gdb.mi/mi-async-run.c: New file. + +2016-05-17 Tom Tromey + Manish Goregaokar + + * lib/rust-support.exp: New file. + * lib/gdb.exp (skip_rust_tests): New proc. + (build_executable_from_specs): Handle rust. + * lib/future.exp (gdb_find_rustc): New proc. + (gdb_default_target_compile): Handle rust. + * gdb.rust/expr.exp: New file. + * gdb.rust/generics.exp: New file. + * gdb.rust/generics.rs: New file. + * gdb.rust/methods.exp: New file. + * gdb.rust/methods.rs: New file. + * gdb.rust/modules.exp: New file. + * gdb.rust/modules.rs: New file. + * gdb.rust/simple.exp: New file. + * gdb.rust/simple.rs: New file. + +2016-05-17 Tom Tromey + + * gdb.base/default.exp (set language): Add rust. + +2016-05-17 Tom Tromey + + * gdb.gdb/unittest.exp: New file. + +2016-05-16 Yao Qi + + * gdb.base/batch-preserve-term-settings.exp: Remove variable + shell_prompt. Update shell_prompt_re. + +2016-05-12 Doug Evans + + PR symtab/19999 + * lib/dwarf.exp (build_executable_from_fission_assembler): Pass + $options when building executable. + * gdb.dwarf2/fission-loclists-pie.S: New file. + * gdb.dwarf2/fission-loclists-pie.exp: New file. + +2016-05-04 Simon Marchi + + * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead + of [is_remote target], + +2016-05-04 Simon Marchi + + * lib/gdb.exp (use_gdb_stub): New procedure. + +2016-05-03 Yunlian Jiang + Doug Evans + + PR symtab/19914 + * gdb.dwarf2/dwp-sepdebug.c: New file. + * gdb.dwarf2/dwp-sepdebug.exp: New file. + +2016-05-02 Simon Marchi + + * gdb.base/detach.exp: Remove is_remote check. + +2016-05-02 Simon Marchi + + * gdb.base/annota-input-while-running.exp: Don't check for + [is_remote target]. Enable annotations after running to main. + Remove unused "set test..." line. + +2016-04-28 Simon Marchi + + * gdb.trace/trace-enable-disable.exp: New file. + * gdb.trace/trace-enable-disable.c: New file. + +2016-04-28 Simon Marchi + + * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result, + use it in info sharedlibrary test. + * gdb.trace/ftrace-lock.exp: Likewise. + * gdb.trace/ftrace.exp: Likewise. + * gdb.trace/range-stepping.exp: Likewise. + * gdb.trace/trace-break.exp: Likewise. + * gdb.trace/trace-condition.exp: Likewise. + * gdb.trace/trace-mt.exp: Likewise. + +2016-04-27 Simon Marchi + + * lib/gdb.exp (gdb_load_shlibs): Rename to... + (gdb_load_shlib): ... this. + * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs -> + gdb_load_shlib. + * gdb.base/catch-load.exp (one_catch_load_test): Likewise. + * gdb.base/ctxobj.exp: Likewise. + * gdb.base/dprintf-pending.exp: Likewise. + * gdb.base/dso2dso.exp: Likewise. + * gdb.base/fixsection.exp: Likewise. + * gdb.base/gcore-relro.exp: Likewise. + * gdb.base/gdb1555.exp: Likewise. + * gdb.base/global-var-nested-by-dso.exp: Likewise. + * gdb.base/gnu-ifunc.exp: Likewise. + * gdb.base/hbreak-in-shr-unsupported.exp: Likewise. + * gdb.base/jit-so.exp (one_jit_test): Likewise. + * gdb.base/pending.exp: Likewise. + * gdb.base/print-file-var.exp: Likewise. + * gdb.base/print-symbol-loading.exp: Likewise. + * gdb.base/shlib-call.exp: Likewise. + * gdb.base/shreloc.exp: Likewise. + * gdb.base/so-impl-ld.exp: Likewise. + * gdb.base/solib-disc.exp: Likewise. + * gdb.base/solib-nodir.exp: Likewise. + * gdb.base/solib-overlap.exp: Likewise. + * gdb.base/solib-symbol.exp: Likewise. + * gdb.base/solib-weak.exp (do_test): Likewise. + * gdb.base/sym-file.exp: Likewise. + * gdb.base/symtab-search-order.exp: Likewise. + * gdb.base/type-opaque.exp: Likewise. + * gdb.base/unload.exp: Likewise. + * gdb.base/watchpoint-solib.exp: Likewise. + * gdb.compile/compile.exp: Likewise. + * gdb.cp/gdb2384.exp: Likewise. + * gdb.cp/infcall-dlopen.exp: Likewise. + * gdb.cp/re-set-overloaded.exp: Likewise. + * gdb.fortran/library-module.exp: Likewise. + * gdb.opt/solib-intra-step.exp: Likewise. + * gdb.python/py-finish-breakpoint.exp: Likewise. + * gdb.python/py-shared.exp: Likewise. + * gdb.reverse/solib-precsave.exp: Likewise. + * gdb.reverse/solib-reverse.exp: Likewise. + * gdb.server/solib-list.exp: Likewise. + * gdb.threads/dlopen-libpthread.exp: Likewise. + * gdb.threads/tls-shared.exp: Likewise. + * gdb.threads/tls-so_extern.exp: Likewise. + * gdb.trace/change-loc.exp: Likewise. + * gdb.trace/ftrace-lock.exp: Likewise. + * gdb.trace/ftrace.exp: Likewise. + * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise. + * gdb.trace/pending.exp: Likewise. + * gdb.trace/range-stepping.exp: Likewise. + * gdb.trace/strace.exp (strace_remove_socket): Likewise. + (strace_info_marker): Likewise. + (strace_probe_marker): Likewise. + (strace_trace_on_same_addr): Likewise. + (strace_trace_on_diff_addr): Likewise. + * gdb.trace/trace-break.exp: Likewise. + * gdb.trace/trace-condition.exp: Likewise. + * gdb.trace/trace-mt.exp: Likewise. + +2016-04-27 Simon Marchi + + * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return + result of gdb_remote_download. + * gdb.base/ctxobj.exp: Split gdb_load_shlibs call. + * gdb.base/dso2dso.exp: Likewise. + * gdb.base/global-var-nested-by-dso.exp: Likewise. + * gdb.base/print-file-var.exp: Likewise. + * gdb.base/shlib-call.exp: Likewise. + * gdb.base/shreloc.exp: Likewise. + * gdb.base/solib-overlap.exp: Likewise. + * gdb.base/solib-weak.exp (do_test): Likewise. + * gdb.base/unload.exp: Likewise. + +2016-04-27 Yao Qi + + * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals + exists. + +2016-04-26 Bernhard Heckel + + * vla-type.exp: Print structure from toplevel. + +2016-04-26 Bernhard Heckel + + * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays + of dynamic types. + * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays + of dynamic types. + +2016-04-26 Bernhard Heckel + + * gdb.fortran/vla-type.f90: New file. + * gdb.fortran/vla-type.exp: New file. + +2016-04-25 Yao Qi + + * gdb.base/branch-to-self.c: New file. + * gdb.base/branch-to-self.exp: New file. + +2016-04-22 Yao Qi + + * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match + more after $hex. + +2016-04-22 Yao Qi + + * gdb.base/annota1.exp: Set breakpoint on line $main_line. + * gdb.base/annota3.exp: Likewise. + +2016-04-22 Yao Qi + + * gdb.reverse/step-precsave.exp: Do one step and test program + stops in "callee" and do multiple steps until program goes out + of "callee". + * gdb.reverse/step-reverse.exp: Likewise. + +2016-04-22 Yao Qi + + * gdb.trace/signal.exp: Also pass if + $tracepoint_hits($i) > $iterations. + +2016-04-22 Yao Qi + + * gdb.trace/signal.c: New file. + * gdb.trace/signal.exp: New file. + +2016-04-19 Doug Evans + + * gdb.base/bad-file.exp: New file. + +2016-04-18 Martin Galvan + + * gdb.dwarf2/implref.exp: New file. + +2016-04-18 Bernhard Heckel + + * gdb.fortran/common-block.exp: Use type naming defined in lib fortran. + * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran. + * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran. + * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran. + * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran. + * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran. + * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran. + * lib/fortran.exp (fortran_int4): New procedure. + (fortran_real4, fortran_real8, fortran_complex4): Likewise. + (fortran_logical4): Likewise. + +2016-04-18 Benrhard Heckel + + * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler. + +2016-04-18 Bernhard Heckel + + * lib/compiler.c: Add Intel specific preprocessor macros. + * lib/compiler.cc: Likewise. + +2016-04-13 Luis Machado + + * gdb.server/connect-with-no-symbol-file.c: New file. + * gdb.server/connect-with-no-symbol-file.exp: New file. + +2016-04-13 Simon Marchi + + * lib/gdb.exp (gdb_remote_download): Fix and extend comment. + +2016-04-13 Simon Marchi + + * boards/gdbserver-base.exp (${board}_download): Copy source file to + standard output directory. + +2016-04-13 Antoine Tremblay + + * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase. + +2016-04-13 Markus Metzger + + * gdb.btrace/instruction_history.c (loop): Add declaration. + +2016-04-12 Antoine Tremblay + + * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond". + +2016-04-09 Simon Marchi + + * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add + parentheses to print. + (continue_handler): Likewise. + +2016-04-08 Simon Marchi + + * gdb.server/solib-list.exp: Remove is_remote check. + Pass shlib= to gdb_compile. Don't link shared library with + -soname. Call gdb_remote_download instead of gdb_load_shlibs. + Run binary filename through "readlink -f" on the target. + +2016-04-08 Pedro Alves + + * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the + interpreter filename as argument to gdbserver_spawn. + * lib/gdbserver-support.exp (gdbserver_download_current_prog): + Return empty if $last_loaded_file does not exist. + +2016-04-08 Jan Kratochvil + + Fix compatibility with gcc-4.8.5-4.el7.x86_64. + * gdb.base/jit-main.c: Use exit after usage. + +2016-04-07 Jan Kratochvil + + * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and + GDBHISTSIZE prior to the tests. + * gdb.base/gdbinit-history.exp: Likewise. + +2016-04-07 Pedro Alves + + * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option + instead of build_executable. Use gdb_load_shlibs. + +2016-04-07 Yao Qi + + * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint. + Execute "si" command. + +2016-04-07 Yao Qi + + * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint + number instead of the comments on some line. + +2016-04-06 Don Breazeal + + * gdb.dwarf2/dw2-opt-structptr.c: New test program. + * gdb.dwarf2/dw2-opt-structptr.exp: New test script. + +2016-04-06 Simon Marchi + + * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using + standard_output_file. Remove unused binfile variable. + +2016-04-05 Catalin Udma + + * gdb.python/py-mi-objfile-gdb.py: Use "list main" command. + * gdb.python/py-mi-objfile.exp: Match "list main" output + in console format. + +2016-04-05 Simon Marchi + + * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of + absolute. + +2016-04-05 Simon Marchi + + * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of + absolute. + * gdb.trace/ftrace.exp: Likewise. + * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote + targets as well. + (gdb_compile_shlib): Set SONAME for non-remote targets as well. + (gdb_load_shlibs): Copy libraries to test directory when testing + natively. Only set solib-search-path if testing remotely. + * lib/mi-support.exp (mi_load_shlibs): Likewise. + +2016-04-05 Simon Marchi + + * gdb.base/jit-so.exp: Use gdb_remote_download instead of + gdb_download. Use it even if the target is not remote. + * gdb.base/jit.exp (compile_jit_test): Likewise. + * lib/gdb.exp (gdb_remote_download): Copy files to the standard + output directory if the destination board is local, otherwise use + the standard remote_download from DejaGnu. + (gdb_download): Remove. + (gdb_load_shlibs): Use gdb_remote_download instead of + gdb_download. + * lib/gdbserver-support.exp (gdbserver_download_current_prog): + Use gdb_remote_download instead of gdb_download. Use it even if + the target is not remote. + * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download + instead of gdb_download. + +2016-04-04 Simon Marchi + + * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix. + (test_insert_delete_modify): Call mi_load_shlibs before trying to + run. + +2016-04-01 Artemiy Volkov + + PR gdb/19820 + * gdb.base/printcmds.exp: Add artificial arrays tests. + +2016-03-31 Pedro Alves + + PR gdb/19858 + * gdb.base/jit-main.c: Include unistd.h. + (ATTACH): Define to 0 if not already defined. + (wait_for_gdb, mypid): New globals. + (WAIT_FOR_GDB): New macro. + (MAIN): Set an alarm. Store the process's pid. Wait for GDB at + some breakpoint locations. + * gdb.base/jit.exp (clean_reattach, continue_to_test_location): + New procedures. + (one_jit_test): Add REATTACH parameter, and handle it. Use + continue_to_test_location. + (top level): Test attach, and adjusts calls to one_jit_test. + +2016-03-31 Pedro Alves + + PR gdb/19858 + * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add + BINSUFFIX parameter, and handle it. + (top level): Adjust calls compile_jit_test. + +2016-03-31 Catalin Udma + + PR python/19743 + * gdb.python/py-mi-events-gdb.py: New file. + * gdb.python/py-mi-events.c: New file. + * gdb.python/py-mi-events.exp: New file. + +2016-03-30 Yao Qi + + * gdb.reverse/until-precsave.exp: Match function name only. + * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf. + Move malloc to a condition block. + * gdb.reverse/until-reverse.exp: Match function name only. + +2016-03-29 Marcin Kościelnicki + + * gdb.trace/ftrace.exp: Set arg0exp for s390. + * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390. + * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num + variable for GPR 0 instead of assuming it is register 0. + * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder. + * lib/trace-support.exp: Add s390 registers. + +2016-03-29 Yao Qi + + * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing. + +2016-03-24 Yao Qi + + * gdb.reverse/break-reverse.exp: Add quotation mark in the + test message. + +2016-03-17 Andreas Arnez + + * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of + maintaining separate logic for constructing the output path. + +2016-03-16 Don Breazeal + + * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks): + Retry fork and waitpid on interrupted system call errors. + * gdb.threads/forking-threads-plus-breakpoint.exp (do_test): + Use with_timeout_factor to increase timeout by factor of 10. + +2016-03-15 Don Breazeal + + * gdb.cp/scope-err.cc: New test program. + * gdb.cp/scope-err.exp: New test script. + * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple + lines and "set breakpoint here" comment. + * gdb.linespec/ls-errs.exp: Added C++ testing and new test case. + Fixed some whitespace and format issues. + * gdb.mi/mi-linespec-err-cp.cc: New test program. + * gdb.mi/mi-linespec-err-cp.exp: New test script. + +2016-03-15 Doug Evans + + * gdb.xml/extra-regs.xml: Add enum, mixed_flags values. + * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file. + All callers updated. Add tests for enums, mixed flags register. + +2016-03-15 Doug Evans + + * gdb.base/skip.c (main): Call test_skip_file_and_function. + * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function. + +2016-03-14 Simon Marchi + + * gdb.base/default.exp: Add $_as_string to the list of expected + convenience functions. + +2016-03-11 Andrew Burgess + + * gdb.base/maint.exp: New tests for 'maint info line-table'. + +2016-03-10 Simon Marchi + + * gdb.python/py-as-string.exp: New file. + * gdb.python/py-as-string.c: New file. + +2016-03-09 Pedro Alves + + * gdb.threads/attach-into-signal.exp: Adjust to "Program received + signal" -> "Thread NN received signal" output change. + * gdb.threads/ia64-sigill.exp: Likewise. + * gdb.threads/linux-dp.exp: Likewise. + * gdb.threads/manythreads.exp: Likewise. + * gdb.threads/pending-step.exp: Likewise. + * gdb.threads/print-threads.exp: Likewise. + * gdb.threads/sigstep-threads.exp: Likewise. + * gdb.threads/staticthreads.exp: Likewise. + * gdb.threads/tls.exp: Likewise. + +2016-03-09 Pedro Alves + + * gdb.base/command-line-input.exp: New file. + +2016-03-09 Marcin Kościelnicki + + * gdb.trace/ftrace.exp: Set arg0exp for ppc. + * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc. + * gdb.trace/pending.exp: Accept leading dot before function name. + * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc. + * lib/trace-support.exp: Set registers for ppc. + +2016-03-09 Marcin Kościelnicki + + * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and + use it for disassembly; accept .main in addition to main in backtrace. + +2016-03-09 Wei-cheng Wang + Marcin Kościelnicki + + * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef. + (gdb_recursion_test_ptr): New global variable. + (gdb_recursion_test): Call gdb_recursion_test_ptr instead of + gdb_recursion_test. + (gdb_c_test): Ditto. + +2016-03-09 Marcin Kościelnicki + + * gdb.trace/change-loc.exp: Don't depend on tracepoint location + ordering. + +2016-03-09 Marcin Kościelnicki + + * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label. + (bar): Add bar_start_lbl label. + * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead + of foo/bar for emitting DWARF and tracing. + +2016-03-06 Sergio Durigan Junior + + * analyze-racy-logs.py: Set executable bit. + +2016-03-05 Sergio Durigan Junior + + * Makefile.in (DEFAULT_RACY_ITER): New variable. + (CHECK_TARGET_TMP): Likewise. + (check-single-racy): New rule. + (check-parallel-racy): Likewise. + (TEST_TARGETS): Adjust rule to account for RACY_ITER. + (do-check-parallel-racy): New rule. + (check-racy/%.exp): Likewise. + * README (Racy testcases): New section. + * analyze-racy-logs.py: New file. + +2016-03-03 Doug Evans + + * gdb.base/skip.exp: Use with_test_prefix. + +2016-03-03 Yao Qi + + * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail. + Invoke step_over_syscall "clone" and break_cond_on_syscall + "clone". + * gdb.base/step-over-clone.c: New file. + +2016-03-03 Yao Qi + + * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix + code format. + +2016-03-03 Yao Qi + + * gdb.base/disp-step-fork.c: Rename to ... + * gdb.base/step-over-fork.c: ... it. New file. + * gdb.base/disp-step-vfork.c: Rename to ... + * gdb.base/step-over-vfork.c: ... it. New file. + * gdb.base/disp-step-syscall.exp: Rename to ... + * gdb.base/step-over-syscall.exp: ... it. New file. + (disp_step_cross_syscall): Rename to ... + (step_over_syscall): ... it. + +2016-03-03 Yao Qi + + * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New. + If target supports condition evaluation on target, invoke + break_cond_on_syscall for fork and vfork. + +2016-03-03 Yao Qi + + * gdb.base/disp-step-syscall.exp: Don't invoke + support_displaced_stepping. + (disp_step_cross_syscall): Test with displaced stepping off and + on if supported. + +2016-03-03 Yao Qi + + * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New + proc. + (setup): New proc. + (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall + and setup. + +2016-03-02 Bernhard Heckel + + * gdb.fortran/vla-history.exp: Remove breakpoint. + +2016-03-02 Bernhard Heckel + + * gdb.fortran/vla-history.exp: Lookup array elements and printing + exceeds timeout. + +2016-03-02 Bernhard Heckel + + * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an + breakpoint. + +2016-03-02 Bernhard Heckel + + * gdb.mi/vla.f90: Nullify pointer after declaration. + +2016-03-01 Pedro Alves + + * gdb.trace/ftrace-lock.c: Include . + +2016-03-01 Pedro Alves + + * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h" + before anything else. + * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define + _GNU_SOURCE here. + * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h" + before anything else. + * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE. + +2016-03-01 Pedro Alves + + * gdb.base/catch-fork-kill.c: Include . + +2016-03-01 Yao Qi + + * gdb.arch/arm-disp-step.exp: Use standard_testfile and + prepare_for_testing. + +2016-03-01 Yao Qi + + * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing. + +2016-03-01 Andreas Arnez + + * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of + manually constructing the output path. + +2016-03-01 Andreas Arnez + + * gdb.arch/s390-stackless.S: New. + * gdb.arch/s390-stackless.exp: New. + +2016-02-28 Iain Buclaw + + * gdb.dlang/circular.c: New file. + * gdb.dlang/circular.exp: New file. + +2016-02-26 Yao Qi + + * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New. + [__arm__] (ext_reg_mov, ext_reg_push_pop): New. + (testcases): Update. + +2016-02-26 Yao Qi + + * gdb.reverse/aarch64.c: Rename to ... + * gdb.reverse/insn-reverse.c: ... it. + * gdb.reverse/aarch64.exp: Rename to ... + * gdb.reverse/insn-reverse.exp: ... it. + +2016-02-26 Yao Qi + + * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h. + (testcase_ftype): New. + (testcases): New array. + (n_testcases): New. + (main): Call each element in testcases. + * gdb.reverse/aarch64.exp: Remove is_aarch64_target check. + (read_testcase): New. + Do the tests in a loop. + +2016-02-25 Yao Qi + + * gdb.base/branches.c: Remove. + +2016-02-25 Marcin Kościelnicki + + PR gdb/13808 + * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail. + +2016-02-25 Marcin Kościelnicki + + * gdb.trace/ftrace.exp: Remove unnecessary target check. + +2016-02-25 Marcin Kościelnicki + + * gdb.trace/entry-values.exp: Surround $call_insn with '\y', + change x86_64 call_insn to 'callq'. + +2016-02-24 Antoine Tremblay + + * gdb.trace/tfile-avx.c: Move to... + * gdb.trace/tracefile-pseudo-reg.c: Here. + * gdb.trace/tfile-avx.exp: Move to... + * gdb.trace/tracefile-pseudo-reg.exp: Here. + +2016-02-24 Gary Benson + + * gdb.base/attach-pie-noexec.exp: Do not expect an error + message on attach. + +2016-02-23 Doug Evans + + * gdb.base/skip.c (test_skip): New function. + (end_test_skip_file_and_function): New function. + (test_skip_file_and_function): New function. + * gdb.base/skip1.c (test_skip): New function. + (skip1_test_skip_file_and_function): New function. + * gdb.base/skip.exp: Add tests for new skip options. + * gdb.base/skip-solib.exp: Update expected output. + * gdb.perf/skip-command.cc: New file. + * gdb.perf/skip-command.exp: New file. + * gdb.perf/skip-command.py: New file. + +2016-02-22 Marcin Kościelnicki + + * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix + info registers pattern. + +2016-02-18 Iain Buclaw + + * lib/future.exp: Add D support. + (gdb_find_gdc): New proc. + (gdb_default_target_compile): Add D support. + +2016-02-18 Wei-cheng Wang + + * gdb.trace/tspeed.c (myclock): Return wallclock instead of + user+system time. + (trace_speed_test): Determine the iteration count for a time + between 15..30 seconds. + +2016-02-18 Walfred Tedeschi + + * gdb.arch/i386-mpx-sigsegv.c: New file. + * gdb.arch/i386-mpx-sigsegv.exp: New file. + * gdb.arch/i386-mpx-simple_segv.c: New file. + * gdb.arch/i386-mpx-simple_segv.exp: New file. + +2016-02-18 Yao Qi + + * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): + Don't call setup_kfail. + +2016-02-18 Yao Qi + + * gdb.threads/forking-threads-plus-breakpoint.exp (do_test): + Set "set breakpoint condition-evaluation" per $cond_bp_target. + +2016-02-16 Doug Evans + + * gdb.base/skip.c: Add copyright. Whitespace cleanup. + * gdb.base/skip1.c: Ditto. + * gdb.base/skip.exp: Whitespace cleanup. + +2016-02-16 Don Breazeal + + PR remote/19496 + * gdb.threads/forking-threads-plus-breakpoint.exp (do_test): + Remove kfail for PR remote/19496. + +2016-02-16 Simon Marchi + + * lib/gdb.exp (standard_temp_file): Return a path specific to + the runtest invocation. + +2016-02-16 Simon Marchi + + * gdb.trace/save-trace.exp: Change relative path to be in the + standard output directory. + +2016-02-15 Jan Kratochvil + + * gdb.arch/i386-prologue.c: Add missing prototypes. + +2016-02-15 Jan Kratochvil + + * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file. + * gdb.arch/i386-prologue.exp: Likewise. + * gdb.arch/i386-size.exp: Likewise. + +2016-02-15 Simon Marchi + + * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to + define object file path. + * gdb.btrace/gcore.exp: Use standard_output_file to define core + file path. + * lib/opencl.exp (gdb_compile_opencl_hostapp): Use + standard_output_file to define binfile. + +2016-02-14 Jan Kratochvil + + Fix compatibility with recent gfortran-5.3.1. + * gdb.fortran/vla-history.exp (print vla1 allocated) + (print vla2 allocated, print $2, print $3): Remove + (print $4): Rename to ... + (print $2): ... here. + (print $9): Rename to ... + (print $5): ... here. + (print $10): Rename to ... + (print $6): ... here. + * gdb.fortran/vla.f90: Add pvla initialization. + +2016-02-14 Jan Kratochvil + + * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024): + New test. + * gdb.fortran/vla-value-sub.exp: Likewise. + +2016-02-12 Marcin Kościelnicki + + * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15. + +2016-02-12 Simon Marchi + + * i386-biarch-core.exp: Define corefile using + standard_output_file. + +2016-02-12 Yao Qi + + * gdb.arch/arm-single-step-kernel-helper.c: New. + * gdb.arch/arm-single-step-kernel-helper.exp: New. + +2016-02-12 Markus Metzger + + * gdb.btrace/tailcall-only.exp: New. + * gdb.btrace/tailcall-only.c: New. + * gdb.btrace/x86_64-tailcall-only.S: New. + * gdb.btrace/i686-tailcall-only.S: New. + +2016-02-11 Pedro Alves + + * README (Parallel testing): Add missing double quotes. + +2016-02-11 Pedro Alves + + * README (Parallel testing): New section. + (GDB_PARALLEL): Rewrite. + (FORCE_PARALLEL): Document. + +2016-02-11 Marcin Kościelnicki + + * gdb.trace/tfile-avx.c: New test. + * gdb.trace/tfile-avx.exp: New test. + +2016-02-09 Keith Seitz + + PR breakpoints/19546 + * gdb.base/infcall-exec.c: New file. + * gdb.base/infcall-exec2.c: New file. + * gdb.base/infcall-exec.exp: New file. + +2016-02-09 Keith Seitz + + * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure. + (toplevel): Call test_bkpt_address. + +2016-02-09 Keith Seitz + + PR python/19506 + * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure. + (toplevel): Call test_bkpt_address. + +2016-02-09 Simon Marchi + + * configure.ac: Use AC_CONFIG_FILES instead of passing arguments + to AC_OUTPUT. + * configure: Regenerate. + +2016-02-09 Pedro Alves + + PR breakpoints/19548 + * gdb.base/execl-update-breakpoints.c (some_function): New + function. + (main): Call it. + * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint. + Tighten expected GDB output. + +2016-02-08 Simon Marchi + + * Makefile.in (ALL_SUBDIRS): Remove. + (clean mostlyclean): Do not recurse in ALL_SUBDIRS. + (distclean maintainer-clean realclean): Likewise. + * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile. + * configure: Regenerate. + * gdb.ada/Makefile.in: Delete. + * gdb.arch/Makefile.in: Likewise. + * gdb.asm/Makefile.in: Likewise. + * gdb.base/Makefile.in: Likewise. + * gdb.btrace/Makefile.in: Likewise. + * gdb.cell/Makefile.in: Likewise. + * gdb.compile/Makefile.in: Likewise. + * gdb.cp/Makefile.in: Likewise. + * gdb.disasm/Makefile.in: Likewise. + * gdb.dlang/Makefile.in: Likewise. + * gdb.dwarf2/Makefile.in: Likewise. + * gdb.fortran/Makefile.in: Likewise. + * gdb.gdb/Makefile.in: Likewise. + * gdb.go/Makefile.in: Likewise. + * gdb.guile/Makefile.in: Likewise. + * gdb.java/Makefile.in: Likewise. + * gdb.linespec/Makefile.in: Likewise. + * gdb.mi/Makefile.in: Likewise. + * gdb.modula2/Makefile.in: Likewise. + * gdb.multi/Makefile.in: Likewise. + * gdb.objc/Makefile.in: Likewise. + * gdb.opencl/Makefile.in: Likewise. + * gdb.opt/Makefile.in: Likewise. + * gdb.pascal/Makefile.in: Likewise. + * gdb.perf/Makefile.in: Likewise. + * gdb.python/Makefile.in: Likewise. + * gdb.reverse/Makefile.in: Likewise. + * gdb.server/Makefile.in: Likewise. + * gdb.stabs/Makefile.in: Likewise. + * gdb.threads/Makefile.in: Likewise. + * gdb.trace/Makefile.in: Likewise. + * gdb.xml/Makefile.in: Likewise. + * lib/gdb.exp (make_gdb_parallel_path): Add check for + GDB_PARALLEL. + (standard_output_file): Remove check for GDB_PARALLEL, always + return path in outputs/$subdir/$testname. + +2016-02-08 Simon Marchi + + * Makefile.in (abs_srcdir): Assign @abs_srcdir@. + (site.exp): Assign abs_srcdir to tcl's srcdir. + +2016-02-04 Yao Qi + + * gdb.base/foll-exec-mode.c: Include limits.h. + (main): Add parameters argc and argv. Get directory from + argv[0]. + * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in + compilation. + * gdb.base/foll-exec.c: Include limits.h. + (main): Add parameters argc and argv. + Get directory from argv[0]. + * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation. + Adjust tests on the number of lines as source code changed. + * gdb.base/foll-vfork-exit.c: Include limits.h. + (main): Add one line of statement before vfork. + * gdb.base/foll-vfork.c: Include limits.h and string.h. + (main): Add parameters argc and argv. Get directory from + argv[0]. + * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation. + (setup_gdb): Set tbreak to skip some source lines. + * gdb.multi/bkpt-multi-exec.c: Include limits.h. + (main): Add parameters argc and argv. Get directory from + argv[0]. + * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in + compilation. + * gdb.multi/multi-arch-exec.c: Include limits.h and string.h. + (main): Add parameters argc and argv. Get directory from + argv[0]. + * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in + compilation. + +2016-02-01 Doug Evans + + * gdb.base/skip.exp: Clean up multiple references to same test name. + +2016-02-01 Pedro Alves + + PR remote/19496 + * gdb.threads/forking-threads-plus-breakpoint.exp + (displaced_stepping_supported): New global. + (probe_displaced_stepping_support): New procedure. + (do_test): Add 'displaced' parameter, and use it. + (top level): Check for displaced stepping support. Add displaced + stepping on/off testing axis. + +2016-02-01 Andrew Burgess + + * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated + pointer. Don't perform further tests on the unassociated pointer + if the first test fails. + +2016-02-01 Andrew Burgess + + * gdb.base/max-value-size.c: New file. + * gdb.base/max-value-size.exp: New file. + * gdb.base/huge.exp: Disable max-value-size for this test. + +2016-01-28 Iain Buclaw + + * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite. + +2016-01-28 Yao Qi + + * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor. + +2016-01-25 Pedro Alves + + PR threads/19461 + * gdb.base/fork-running-state.c: New file. + * gdb.base/fork-running-state.exp: New file. + +2016-01-25 Pedro Alves + + PR gdb/19494 + * gdb.base/catch-fork-kill.c: New file. + * gdb.base/catch-fork-kill.exp: New file. + +2016-01-25 Pedro Alves + + * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix): + Delete, moved to lib/gdb.exp. + * gdb.threads/forking-threads-plus-breakpoint.exp + (foreach_with_prefix): Likewise. + * gdb.threads/process-dies-while-handling-bp.exp + (foreach_with_prefix): Likewise. + * lib/gdb.exp (foreach_with_prefix): New procedure. + +2016-01-25 Marcin Kościelnicki + + * gdb.trace/backtrace.exp: Bump stack collection fudge factor. + * gdb.trace/entry-values.exp: Bump stack collection fudge factor. + +2016-01-23 Marcin Kościelnicki + + * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big + endian targets. + +2016-01-22 Jan Kratochvil + Pedro Alves + + Fix testsuite compatibility with Guile. + * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread + number. + +2016-01-22 Jan Kratochvil + + Fix testsuite compatibility with Guile. + * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread. + (thread 1): New test for backtrace through signal handler. + +2016-01-22 Yao Qi + + PR testsuite/19491 + * gdb.base/multi-forks.c: Include + ../lib/unbuffer_output.c + (main): Call gdb_unbuffer_output. + +2016-01-21 Doug Evans + + * lib/ada.exp (gdb_compile_ada): Fix typo. + +2016-01-21 Joel Brobecker + + * gdb.base/break-fun-addr.exp: New file. + * gdb.base/break-fun-addr1.c: New file. + * gdb.base/break-fun-addr2.c: New file. + +2016-01-20 Simon Marchi + + * gdb.python/py-pp-maint.exp: Change/add enum flag tests. + * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex + enum flag values. + +2016-01-20 Andreas Arnez + + * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail + when GDB can not set the vector return value. Add more comments + for clarification. + +2016-01-20 Antoine Tremblay + + * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile + command. + +2016-01-19 Simon Marchi + + * Makefile.in (DO_RUNTEST): Add --status and update usages. + +2016-01-19 Simon Marchi + + * Makefile.in (check-single): Pass --status to runtest. + (check/%.exp): Likewise. + +2016-01-19 Simon Marchi + + * Makefile.in (check-parallel): Propagate return code from make + do-check-parallel. + +2016-01-19 Marcin Kościelnicki + + * gdb.trace/ftrace.exp: Fix expected message on continue. + * gdb.trace/pending.exp: Fix expected message on continue. + * gdb.trace/trace-break.exp: Fix expected message on continue. + +2016-01-18 Simon Marchi + + * lib/gdb.exp (gdb_test): Remove unused global references. + +2016-01-18 Pedro Alves + + * gdb.base/async-shell.exp: Adjust expected output. + * gdb.base/dprintf-non-stop.exp: Adjust expected output. + * gdb.base/siginfo-thread.exp: Adjust expected output. + * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output. + * gdb.java/jnpe.exp: Adjust expected output. + * gdb.threads/clone-new-thread-event.exp: Adjust expected output. + * gdb.threads/continue-pending-status.exp: Adjust expected output. + * gdb.threads/leader-exit.exp: Adjust expected output. + * gdb.threads/manythreads.exp: Adjust expected output. + * gdb.threads/pthreads.exp: Adjust expected output. + * gdb.threads/schedlock.exp: Adjust expected output. + * gdb.threads/siginfo-threads.exp: Adjust expected output. + * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust + expected output. + * gdb.threads/signal-delivered-right-thread.exp: Adjust expected + output. + * gdb.threads/sigthread.exp: Adjust expected output. + * gdb.threads/watchpoint-fork.exp: Adjust expected output. + +2016-01-18 Yao Qi + + * gdb.guile/scm-section-script.c: Replace @progbits with + %progbits. + * gdb.python/py-section-script.c: Likewise. + +2016-01-15 Pedro Alves + + * gdb.multi/tids.exp: Test star wildcard ranges. + +2016-01-15 Pedro Alves + + * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234" + command from "thread apply" invocation. + (thr_apply_info_thr_invalid): Default the expected output to the + input tid list. + (top level): Add tests that use convenience variables. Add tests + for "thread apply" with a valid TID list, but missing the command. + +2016-01-13 Pedro Alves + + * gdb.base/default.exp: Expect $_gthread as well. + * gdb.multi/tids.exp: Test $_gthread. + * gdb.threads/thread-specific.exp: Test $_gthread. + +2016-01-13 Pedro Alves + + * gdb.multi/tids.exp: Test "info threads -gid". + +2016-01-13 Pedro Alves + + * gdb.multi/tids.exp: Test InferiorThread.global_num and + Breakpoint.thread. + * gdb.python/py-infthread.exp: Test InferiorThread.global_num. + +2016-01-07 Pedro Alves + + * gdb.base/break.exp: Adjust to output changes. + * gdb.base/hbreak2.exp: Likewise. + * gdb.base/sepdebug.exp: Likewise. + * gdb.base/watch_thread_num.exp: Likewise. + * gdb.linespec/keywords.exp: Likewise. + * gdb.multi/info-threads.exp: Likewise. + * gdb.threads/thread-find.exp: Likewise. + * gdb.multi/tids.c: New file. + * gdb.multi/tids.exp: New file. + +2016-01-13 Pedro Alves + + * gdb.python/py-infthread.exp: Test InferiorThread.inferior. + +2016-01-13 Pedro Alves + + * gdb.base/default.exp: Expect $_inferior as well. + * gdb.multi/base.exp: Test $_inferior. + +2016-01-13 Pedro Alves + + PR breakpoints/19388 + * gdb.base/catch-signal-siginfo-cond.c: New file. + * gdb.base/catch-signal-siginfo-cond.exp: New file. + +2016-01-12 Josh Stone + Philippe Waroquiers + + * gdb.base/catch-syscall.c (do_execve): New variable. + (main): Conditionally trigger an execve. + * gdb.base/catch-syscall.exp: Enable testing for remote targets. + (test_catch_syscall_execve): New, check entry/return across execve. + (do_syscall_tests): Call test_catch_syscall_execve. + +2016-01-12 Pedro Alves + + * gdb.base/random-signal.exp (do_test): New procedure, with body + of testcase moved in. + +2016-01-11 Jan Kratochvil + Pedro Alves + + * gdb.base/funcargs.exp (finish from indirectly called function): + Reintroduce the case for 'First'. + +2016-01-11 Jan Kratochvil + Pedro Alves + + * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow) + (tcatch_vfork_then_child_follow_exec) + (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork + identification. + +2016-01-11 Jan Kratochvil + + * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements + and repeats to unlimited. + * gdb.python/py-value.exp: Likewise. + * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements + and repeats to unlimited. + +2016-01-08 Jan Kratochvil + + * gdb.multi/goodbye.c: Fix compilation warnings by adding return types + and reordering the functions. + * gdb.multi/hangout.c: Likewise. + * gdb.multi/hello.c: Likewise. + +2016-01-08 Simon Marchi + + * gdb.perf/lib/perftest/perftest.py: Change relative imports to + absolute. + (SingleStatisticTestResult.report): Use dict.keys instead of + dict.iterkeys. + +2016-01-06 Pedro Alves + + * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1. + +2016-01-04 Markus Metzger + + * gdb.btrace/dlopen.exp: New. + * gdb.btrace/dlopen.c: New. + * gdb.btrace/dlopen-dso.c: New. + +2015-12-25 Sandra Loosemore + + * lib/gdb.exp (gdb_test): Update comments to clarify that the + PATTERN argument is optional. + +2015-12-24 Joel Brobecker + + * lib/ada.exp (target_compile_ada_from_dir): New function. + (gdb_compile_ada): Reimplement avoiding the use of project files. + * gdb.ada/gnat_ada.gpr: Delete. + * gdb.ada/cond_lang.exp: Adjust test to make path before + filename optional. + * gdb.ada/small_reg_param.exp: Likewise. + +2015-12-22 Simon Marchi + + * gdb.base/foll-vork.exp: Remove HP-UX special case. + +2015-12-22 Thomas Preud'homme + + * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump + case. + +2015-12-21 Simon Marchi + + * gdb.base/break.exp: Remove dead code. + * gdb.base/sepdebug.exp: Likewise. + +2015-12-21 Simon Marchi + + * gdb.asm/asm-source.exp: Remove HP-UX references. + * gdb.base/annota1.exp: Likewise. + * gdb.base/annota3.exp: Likewise. + * gdb.base/attach.exp: Likewise. + * gdb.base/bigcore.exp: Likewise. + * gdb.base/break.exp: Likewise. + * gdb.base/call-ar-st.exp: Likewise. + * gdb.base/callfuncs.exp: Likewise. + * gdb.base/catch-fork-static.exp: Likewise. + * gdb.base/display.exp: Likewise. + * gdb.base/foll-exec-mode.exp: Likewise. + * gdb.base/foll-exec.exp: Likewise. + * gdb.base/foll-fork.exp: Likewise. + * gdb.base/foll-vfork.exp: Likewise. + * gdb.base/funcargs.exp: Likewise. + * gdb.base/hbreak2.exp: Likewise. + * gdb.base/inferior-died.exp: Likewise. + * gdb.base/interrupt.exp: Likewise. + * gdb.base/multi-forks.exp: Likewise. + * gdb.base/nodebug.exp: Likewise. + * gdb.base/sepdebug.exp: Likewise. + * gdb.base/solib1.c: Likewise. + * gdb.base/step-test.exp: Likewise. + * gdb.mi/non-stop.c: Likewise. + * gdb.mi/pthreads.c: Likewise. + * gdb.multi/bkpt-multi-exec.ex: Likewise. + * gdb.threads/pthreads.c: Likewise. + * gdb.threads/staticthreads.exp: Likewise. + * lib/future.exp: Likewise. + * lib/gdb.exp: Likewise. + * gdb.base/so-indr-cl.c: Remove. + * gdb.base/so-indr-cl.exp: Likewise. + * gdb.base/solib.c: Likewise. + * gdb.base/solib.exp: Likewise. + * gdb.base/solib2.c: Likewise. + +2015-12-21 Simon Marchi + + * gdb.base/break.exp: Remove references to HP CC/aCC compilers. + * gdb.base/call-ar-st.exp: Likewise. + * gdb.base/callfuncs.exp: Likewise. + * gdb.base/condbreak.exp: Likewise. + * gdb.base/constvars.exp: Likewise. + * gdb.base/hbreak2.exp: Likewise. + * gdb.base/langs.exp: Likewise. + * gdb.base/list.exp: Likewise. + * gdb.base/long_long.exp: Likewise. + * gdb.base/ptype.exp: Likewise. + * gdb.base/scope.exp: Likewise. + * gdb.base/signals.exp: Likewise. + * gdb.base/so-impl-ld.exp: Likewise. + * gdb.base/varargs.exp: Likewise. + * gdb.base/volatile.exp: Likewise. + * gdb.base/whatis.exp: Likewise. + * gdb.cp/cplusfuncs.exp: Likewise. + * gdb.cp/inherit.exp: Likewise. + * gdb.cp/local.exp: Likewise. + * gdb.cp/member-ptr.exp: Likewise. + * gdb.cp/method.exp: Likewise. + * gdb.cp/overload.exp: Likewise. + * gdb.cp/templates.exp: Likewise. + * gdb.stabs/weird.exp: Likewise. + * lib/compiler.c: Likewise. + * lib/compiler.cc: Likewise. + * lib/cp-support.exp: Likewise. + * lib/gdb.exp: Likewise. + +2015-12-20 Simon Marchi + + * configure.ac: Remove HP-UX case. + * configure: Regenerate. + +2015-12-18 Simon Marchi + + * lib/gdb.exp (gdb_compile): Add function doc. + +2015-12-17 Pedro Alves + + PR threads/19354 + * gdb.multi/info-threads.exp: New file. + +2015-12-15 Yao Qi + + * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target + is aarch64*-*-*. + +2015-12-14 Sandra Loosemore + + * gdb.base/history-duplicates.exp: Skip if no readline support. + +2015-12-14 Sandra Loosemore + + * gdb.base/gdbinit-history.exp: Skip for remote-host testing. + +2015-12-14 Sandra Loosemore + + * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing. + +2015-12-14 Sandra Loosemore + + * gdb.base/completion.exp: Skip tests that interrupt GDB with + ctrl-C if nointerrupts target property is set. + * gdb.base/double-prompt-target-event-error.exp: Likewise. + * gdb.base/paginate-after-ctrl-c-running.exp: Likewise. + * gdb.base/paginate-bg-execution.exp: Likewise. + * gdb.base/paginate-execution-startup.exp: Likewise. + * gdb.base/random-signal.exp: Likewise. + * gdb.base/range-stepping.exp: Likewise. + * gdb.cp/annota2.exp: Likewise. + * gdb.cp/annota3.exp: Likewise. + * gdb.gdb/selftest.exp: Likewise. + * gdb.threads/continue-pending-status.exp: Likewise. + * gdb.threads/leader-exit.exp: Likewise. + * gdb.threads/manythreads.exp: Likewise. + * gdb.threads/pthreads.exp: Likewise. + * gdb.threads/schedlock.exp: Likewise. + * gdb.threads/sigthread.exp: Likewise. + +2015-12-11 Don Breazeal + + * gdb.base/execl-update-breakpoints.exp (main): Enable for target + remote. + * gdb.base/foll-exec-mode.exp (main): Disable for target remote. + * gdb.base/foll-exec.exp (main): Enable for target remote. + * gdb.base/foll-fork.exp (main): Likewise. + * gdb.base/foll-vfork.exp (main): Likewise. + * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart. + (proc continue_to_exit_bp_loc): Use clean_restart. + * gdb.base/pie-execl.exp (main): Disable for target remote. + * gdb.base/watch-vfork.exp (main): Enable for target remote. + * gdb.mi/mi-nsthrexec.exp (main): Likewise. + * gdb.threads/execl.exp (main): Likewise. + * gdb.threads/fork-child-threads.exp (main): Likewise. + * gdb.threads/fork-plus-threads.exp (main): Disable for target + remote. + * gdb.threads/fork-thread-pending.exp (main): Enable for target + remote. + * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow + pid.tid style ptids, instead of just tid. + * gdb.threads/thread-execl.exp (main): Enable for target remote. + * gdb.threads/watchpoint-fork.exp (main): Likewise. + * gdb.trace/report.exp (use_collected_data): Allow pid.tid style + ptids, instead of just tid. + +2015-12-11 Andrew Burgess + + * gdb.base/list.exp (test_list_forward): Add end of file error + test. + (test_repeat_list_command): Add end of file error test. + (test_list_backwards): Add beginning of file error test. + +2015-12-11 Andrew Burgess + + * gdb.base/list.exp (test_list_invalid_args): New function, + defined, and called. + +2015-12-11 Andrew Burgess + + * gdb.base/list.exp (test_list): Make test names unique. + +2015-12-11 Yao Qi + + * gdb.base/coremaker2.c: Remove. + +2015-12-10 Pedro Alves + + * gdb.multi/base.exp: Remove stale "spaces" references. + +2015-12-10 Pedro Alves + + * gdb.multi/base.exp: Don't use nowarnings. + * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings. + * gdb.multi/hangout.c: Include stdio.h. + * gdb.multi/hello.c: Include stdlib.h. + * gdb.multi/multi-arch-exec.c: Include stdlib.h. + * gdb.multi/multi-arch-exec.exp: Don't use nowarnings. + * gdb.multi/multi-arch.exp: Don't use nowarnings. + +2015-12-10 Andrew Burgess + + * gdb.dwarf2/dw2-ranges-base.c: New file. + * gdb.dwarf2/dw2-ranges-base.exp: New file. + * lib/dwarf.exp (namespace eval Dwarf): Add new variables to + support additional line table, and debug ranges generation. + (Dwarf::ranges): New function, generate .debug_ranges. + (Dwarf::lines): Support generating simple line table programs. + (Dwarf::assemble): Initialise new namespace variables. + +2015-12-09 Kevin Buettner + + * gdb.base/async.exp (proc test_background): Add case for + asynchronous execution not supported. + +2015-12-09 Luis Machado + + * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal + format and change test names to make them unique. + +2015-12-09 Ruslan Kabatsayev + Pedro Alves + + PR gdb/18702 + Add checking of floatformats setup on x86_64 hosts. + * gdb.arch/i386-float.S (main): Load bigval and smallval. + (smallval, bigval): New labels/constants. + * gdb.arch/i386-float.exp: Use with_test_prefix and test "info + float" after loading bigval and smallval. + +2015-12-07 Pierre-Marie de Rodat + + * gdb.ada/fun_overload_menu.exp: New testcase. + * gdb.ada/fun_overload_menu/foo.adb: New testcase. + +2015-12-04 Josh Stone + + * gdb.base/catch-fork-static.exp: New. + +2015-12-03 Yao Qi + + * gdb.base/sizeof.c: Don't include stdio.h and + ../lib/unbuffer_output.c. + (main): New variable 'size' and 'value'. Remove printf and + gdb_unbuffer_output. Assign return value to size and value. + * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio + at the beginning. + (check_sizeof): Check the result by printing variable 'size'. + (check_valueof): Check the result by printing variable 'value'. + +2015-12-01 Yao Qi + + * gdb.base/disp-step-syscall.exp: Define syscall instruction + for aarch64*-*-linux* target. + +2015-11-30 Pedro Alves + + * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls. + +2015-11-30 Pedro Alves + + * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count): + Handle non-stop mode vCont replies. + +2015-11-30 Pedro Alves + + * gdb.base/dprintf-non-stop.exp: Use build_executable instead of + prepare_for_testing. Start gdb with "set non-stop on" appended to + GDBFLAGS. Lax expected stop output. + +2015-11-27 Yao Qi + + * gdb.arch/arm-neon.exp: New. + * gdb.arch/arm-neon.c: New. + +2015-11-27 Yao Qi + + * gdb.cp/annota2.exp: Rewrite the pattern using multi_line. + +2015-11-27 Yao Qi + + * gdb.cp/annota2.exp: Allow multiple occurrences of the + frames-invalid annotation. + +2015-11-27 Yao Qi + + * gdb.cp/annota2.exp: Use ${frames_invalid}. + +2015-11-26 Simon Marchi + + * gdb.threads/names.exp: New file. + * gdb.threads/names.c: New file. + * README: Mention gdb,no_thread_names. + +2015-11-26 Markus Metzger + + PR 19297 + * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not + support" error. + +2015-11-24 Pedro Alves + + PR 17539 + * gdb.base/display.exp: Expect displays to be sorted in ascending + order. Use multi_line. + * gdb.base/solib-display.exp: Likewise. + +2015-11-24 Pedro Alves + + PR 17539 + * gdb.base/display.exp: Expect displays to be sorted in ascending + order. Use multi_line. + * gdb.base/solib-display.exp: Likewise. + +2015-11-24 Pedro Alves + + PR 17539 + * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and + threads in ascending order. + * gdb.base/foll-fork.exp: Likewise. + * gdb.base/foll-vfork.exp: Likewise. + * gdb.base/multi-forks.exp: Likewise. + * gdb.mi/mi-nonstop.exp: Likewise. + * gdb.mi/mi-nsintrall.exp: Likewise. + * gdb.multi/base.exp: Likewise. + * gdb.multi/multi-arch.exp: Likewise. + * gdb.python/py-inferior.exp: Likewise. + * gdb.threads/break-while-running.exp: Likewise. + * gdb.threads/execl.exp: Likewise. + * gdb.threads/gcore-thread.exp: Likewise. + * gdb.threads/info-threads-cur-sal.exp: Likewise. + * gdb.threads/kill.exp: Likewise. + * gdb.threads/linux-dp.exp: Likewise. + * gdb.threads/multiple-step-overs.exp: Likewise. + * gdb.threads/next-bp-other-thread.exp: Likewise. + * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise. + * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise. + * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise. + * gdb.threads/thread-find.exp: Likewise. + * gdb.threads/tls.exp: Likewise. + * lib/mi-support.exp (mi_reverse_list): Delete. + (mi_check_thread_states): No longer reverse list. + +2015-11-24 Pedro Alves + + * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently + use lowercase. + +2015-11-23 Simon Marchi + + * gdb.trace/actions.c: Include trace-common.h. + (main): Add a location for a fast tracepoint. + * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to + the normal tracepoints. + (gdb_verify_tracepoints): Adjust number of expected tracepoints. + +2015-11-23 Simon Marchi + + * save-trace.exp: Factor out code to these... + (gdb_save_tracepoints): New. + (gdb_load_tracepoints): New. + (do_save_load_test): New. + +2015-11-23 Kevin Buettner + + * gdb.base/asmlabel.exp: New test. + * gdb.base/asmlabel.c: New test case. + +2015-11-23 Joel Brobecker + + * gdb.base/wrong_frame_bt_full-main.c: New file. + * gdb.base/wrong_frame_bt_full-opaque.c: New file. + * gdb.base/wrong_frame_bt_full.exp: New file. + +2015-11-23 Joel Brobecker + + * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test. + +2015-11-20 Jose E. Marchesi + + * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the + pstate register when comparing registers values in + sparc64-*-linux-gnu targets to avoid spurious differences. + +2015-11-20 Jose E. Marchesi + + * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid. + +2015-11-19 Sandra Loosemore + + * gdb.base/nested-subp1.exp: Pass executable, not executable name, + as type argument to gdb_compile. + * gdb.base/nested-subp2.exp: Likewise. + * gdb.base/nested-subp3.exp: Likewise. + +2015-11-17 Dominik Vogt + + * lib/dwarf.exp (_note): Fix left shift of negative value. + * gdb.trace/trace-condition.exp: Likewise. + +2015-11-13 Yao Qi + + * gdb.base/call-sc.exp (test_scalar_returns): Remove the + comments about d10v. + (test_scalar_returns): Likewise. + * gdb.base/d10v.ld: Remove. + * gdb.base/overlays.exp: Remove the target triplet checking for + d10v-*-*. + * gdb.base/structs.exp (test_struct_returns): Remove the + comments about d10v. + (test_struct_calls): Likewise. + +2015-11-13 Yao Qi + + * gdb.base/gnu_vector.exp: Check the return value by "p res". + * gdb.base/gnu_vector.c: Don't include stdio.h. + (main): Don't print res and call add_some_intvecs. + +2015-11-11 Marcin Kościelnicki + + * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL + macro. + (func5): Removed. + (func4): Use FAST_TRACEPOINT_LABEL. + * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL + macro. + (func): Removed. + (thread_function): Use FAST_TRACEPOINT_LABEL. + * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro. + (func): Remove. + (marker): Use FAST_TRACEPOINT_LABEL. + * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro. + (pendfunc1): Remove. + (pendfunc): Use FAST_TRACEPOINT_LABEL. + * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro. + (foo): Remove. + (pendfunc2): Use FAST_TRACEPOINT_LABEL. + * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL + macro. + (func): Remove. + (marker): Use FAST_TRACEPOINT_LABEL. + * gdb.trace/trace-common.h: New header. + * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL + macro. + (func): Remove. + (marker): Use FAST_TRACEPOINT_LABEL. + * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro. + (func): Remove. + (thread_function): Use FAST_TRACEPOINT_LABEL. + +2015-11-10 Marcin Kościelnicki + + * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $ + in front. + * gdb.trace/change-loc.exp: Use global pcreg definition. + * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition. + * gdb.trace/entry-values.exp: Use global spreg definition, add $ + in front. + * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition. + * gdb.trace/pending.exp: Likewise. + * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition. + * gdb.trace/trace-break.exp: Likewise. + * gdb.trace/trace-condition.exp: Use global pcreg definition, add $ + in front. + * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition. + * gdb.trace/while-dyn.exp: Use global fpreg definition, add $ + in front. + * lib/trace-support.exp: Define fpreg, spreg, pcreg variables. + +2015-11-09 Joel Brobecker + + * gdb.ada/fin_fun_out: New testcase. + +2015-11-07 Kevin Buettner + + * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode + value associated with DW_AT_byte_size. + * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode + constants for DW_AT_byte_size, DW_AT_lower_bound, and + DW_AT_upper_bound. + +2015-11-07 Kevin Buettner + + * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc. + (gdb_target_symbol_prefix_flags): Define in terms of _asm + version. + * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp, + gdb.dwarf2/dw2-canonicalize-type.exp, + gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp, + gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp, + gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags + provided by gdb_target_symbol_prefix_flags_asm. + * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S, + testsuite/gdb.dwarf2/dw2-minsym-in-cu.S, + testsuite/gdb.dwarf2/dw2-unresolved-main.c, + testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S, + gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting + macros where needed). Use this macro for symbols which require + the prefix provided by SYMBOL_PREFIX. + +2015-11-05 Kevin Buettner + + * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol): + New procs. + * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values, + representing expressions, of more than one list element. + * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol + to prepend linker symbol prefix to f. + * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for + table_1 and table_2. + * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble): + Likewise, for f and g. + * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise, + for ptr. + * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise, + for main. + * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for + table_1_ptr and table_2_ptr. + +2015-11-03 Jan Kratochvil + Joel Brobecker + + * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data. + +2015-11-04 Marcin Kościelnicki + + * gdb.reverse/s390-mvcle.c: New test. + * gdb.reverse/s390-mvcle.exp: New file. + * lib/gdb.exp: Enable reverse tests on s390*-linux. + +2015-11-02 Marcin Kościelnicki + + * gdb.reverse/readv-reverse.exp: Obvious typo fixed. + +2015-11-02 Marcin Kościelnicki + + * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after + reaching marker2. + * gdb.reverse/getresuid-reverse.exp: Likewise. + * gdb.reverse/pipe-reverse.exp: Likewise. + * gdb.reverse/readv-reverse.exp: Likewise. + * gdb.reverse/recvmsg-reverse.exp: Likewise. + * gdb.reverse/time-reverse.exp: Likewise. + * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs. + +2015-10-30 Yao Qi + + * gdb.threads/wp-replication.c (watch_count_done): Remove. + (empty_cycle): Remove. + (main): Don't call empty_cycle. Don't use watch_count_done. + * gdb.threads/wp-replication.exp: Don't set breakpoint on + empty_cycle. Rewrite the code counting HW watchpoints. + +2015-10-30 Marcin Kościelnicki + + * gdb.reverse/fstatat-reverse.c: New test. + * gdb.reverse/fstatat-reverse.exp: New file. + * gdb.reverse/getresuid-reverse.c: New test. + * gdb.reverse/getresuid-reverse.exp: New file. + * gdb.reverse/pipe-reverse.c: New test. + * gdb.reverse/pipe-reverse.exp: New file. + * gdb.reverse/readv-reverse.c: New test. + * gdb.reverse/readv-reverse.exp: New file. + * gdb.reverse/recvmsg-reverse.c: New test. + * gdb.reverse/recvmsg-reverse.exp: New file. + * gdb.reverse/time-reverse.c: New test. + * gdb.reverse/time-reverse.exp: New file. + * gdb.reverse/waitpid-reverse.c: New test. + * gdb.reverse/waitpid-reverse.exp: New file. + +2015-10-27 Jan Kratochvil + + * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile. + +2015-10-26 Doug Evans + + PR symtab/17391 + * lib/dwarf.exp (_location): Add support for DW_OP_regx. + * gdb.dwarf2/bad-regnum.c: New file. + * gdb.dwarf2/bad-regnum.exp: New file. + +2015-10-26 Doug Evans + + PR python/18938 + * gdb.python/python.exp: Add test for symlink from .py file to .notpy + file. + +2015-10-25 Jan Kratochvil + + * gdb.compile/compile.exp (compile code globalvar): Update expectation + for a change by "Mention language in compile error message". + +2015-10-21 Simon Marchi + + PR python/18073 + * gdb.python/py-type.c (C::a_method): New. + (C::a_const_method): New. + (C::a_static_method): New. + (a_function): New. + * gdb.python/py-type.exp (test_fields): Test getting fields + from function and method. + +2015-10-21 Keven Boell + + * gdb.fortran/vla-alloc-assoc.exp: New file. + * gdb.fortran/vla-datatypes.exp: New file. + * gdb.fortran/vla-datatypes.f90: New file. + * gdb.fortran/vla-history.exp: New file. + * gdb.fortran/vla-ptype-sub.exp: New file. + * gdb.fortran/vla-ptype.exp: New file. + * gdb.fortran/vla-sizeof.exp: New file. + * gdb.fortran/vla-sub.f90: New file. + * gdb.fortran/vla-value-sub-arbitrary.exp: New file. + * gdb.fortran/vla-value-sub-finish.exp: New file. + * gdb.fortran/vla-value-sub.exp: New file. + * gdb.fortran/vla-value.exp: New file. + * gdb.fortran/vla-ptr-info.exp: New file. + * gdb.mi/mi-vla-fortran.exp: New file. + * gdb.mi/vla.f90: New file. + +2015-10-21 Sandra Loosemore + + * gdb.base/freebpcmd.exp: Use with_timeout_factor instead + of hardwired timeout value. + +2015-10-20 Jan Kratochvil + Pedro Alves + + * gdb.dwarf2/dw2-regno-invalid.exp: New file. + * lib/dwarf.exp (Dwarf): Add DW_OP_bregx. + +2015-10-19 Josh Stone + + * gdb.base/catch-syscall.c: Include . + (unknown_syscall): New variable. + (main): Trigger a vfork and an unknown syscall. + * gdb.base/catch-syscall.exp (vfork_syscalls): New variable. + (unknown_syscall_number): Likewise. + (check_call_to_syscall): Accept an optional syscall pattern. + (check_return_from_syscall): Likewise. + (check_continue): Likewise. + (test_catch_syscall_without_args): Check for vfork and ENOSYS. + (test_catch_syscall_skipping_return): New test toggling off 'catch + syscall' to step over the syscall return, then toggling back on. + (test_catch_syscall_mid_vfork): New test turning on 'catch syscall' + during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall. + (do_syscall_tests): Call test_catch_syscall_without_args and + test_catch_syscall_mid_vfork. + (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS. + (fill_all_syscalls_numbers): Initialize unknown_syscall_number. + +2015-10-19 Andrew Stubbs + + * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD, + print g_vE): Add new pass patterns. + * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to + print various symbol names for vptr fields. + +2015-10-12 Andrew Burgess + + * gdb.base/dbx.exp (test_func): Remove xfails, update expected + results. + +2015-10-12 Yao Qi + + * gdb.arch/disp-step-insn-reloc.exp: New test case. + +2015-10-12 Yao Qi + + * lib/gdb.exp (support_displaced_stepping): Return 1 if target + is aarch64*-*-linux*. + +2015-10-12 Yao Qi + + * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ... + (can_relocate_bcond_true): ... it. + (can_relocate_bcond_false): New function. + (foo): Likewise. + (can_relocate_bl): Likewise. + (testcases) [__aarch64__]: Add can_relocate_bcond_false and + can_relocate_bl. + +2015-10-12 Pierre-Marie de Rodat + + * gdb.base/nested-addr.c: New file. + * gdb.base/nested-addr.exp: New testcase. + +2015-10-09 Markus Metzger + + * gdb.btrace/vdso.c (main): Remove breakpoint markers. + * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore + its output. Ignore the output of "record goto begin" and instead + check that GDB is replaying. + +2015-10-09 Pedro Alves + + * gdb.base/a2-run.exp (maybe_exp_continue): New procedure. + (top level): Use it in the run with no args test. + +2015-10-08 Iain Buclaw + + * gdb.dlang/properties.exp: New file. + +2015-10-02 Sandra Loosemore + + * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match + whether or not address 0x1000 is mapped on the target. + +2015-09-30 Simon Marchi + + * gdb.python/py-type.exp: Do not run tests if binaries fail to + build. + +2015-09-30 Markus Metzger + + * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record + instruction-history test. + +2015-09-28 Doug Evans + + * gdb.base/gcore.c (array_func): Add reference to static_array. + +2015-09-25 Simon Marchi + + * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected + source line. + +2015-09-24 Sandra Loosemore + + * gdb.cp/classes.exp (test_enums): Generalize regexp to allow + short or char as base type. + +2015-09-23 Sandra Loosemore + + * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying + to allow any size enum. + +2015-09-23 Pierre-Marie de Rodat + + * gdb.ada/array_ptr_renaming.exp: New testcase. + * gdb.ada/array_ptr_renaming/foo.adb: New file. + * gdb.ada/array_ptr_renaming/pack.ads: New file. + +2015-09-21 Pierre Langlois + + * gdb.trace/ftrace-lock.c: New file. + * gdb.trace/ftrace-lock.exp: New file. + +2015-09-21 Pierre Langlois + + * gdb.arch/insn-reloc.c: New file. + * gdb.arch/ftrace-insn-reloc.exp: New file. + +2015-09-21 Pierre Langlois + + * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop + instruction. + * gdb.trace/pendshr1.c (pendfunc): Likewise. + * gdb.trace/pendshr2.c (pendfunc2): Likewise. + * gdb.trace/range-stepping.c: Likewise. + * gdb.trace/trace-break.c: Likewise. + * gdb.trace/trace-mt.c (thread_function): Likewise. + * gdb.trace/ftrace.c (marker): Likewise. + * gdb.trace/trace-condition.c (marker): Likewise. + * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target. + * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if + is_aarch64_target. + +2015-09-18 Doug Evans + + * gdb.dwarf2/dw2-bad-unresolved.c: New file. + * gdb.dwarf2/dw2-bad-unresolved.exp: New file. + +2015-09-18 Sandra Loosemore + + * gdb.base/dso2dso.exp: Don't use directory prefix when setting + the breakpoint. + +2015-09-18 Sandra Loosemore + + * gdb.mi/mi-pending.exp: Don't use directory prefix when setting + the pending breakpoint. Remove timeout override for "Run till + MI pending breakpoint on pendfunc3 on thread 2" test. + +2015-09-18 Sandra Loosemore + + * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint + filename pattern. + +2015-09-18 Sandra Loosemore + + * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix + in breakpoint filename pattern. + +2015-09-18 Sandra Loosemore + + * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs. + +2015-09-18 Sandra Loosemore + + * gdb.linespec/explicit.exp: Check for readline support for + tab-completion tests. Fix obvious typo. + +2015-09-18 Markus Metzger + + * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step, + and replay. + +2015-09-18 Markus Metzger + + * gdb.btrace/non-stop.c: New. + * gdb.btrace/non-stop.exp: New. + +2015-09-17 Pierre Langlois + Yao Qi + + * gdb.trace/trace-condition.c: New file. + * gdb.trace/trace-condition.exp: New file. + +2015-09-16 Wei-cheng Wang + + * gdb.trace/ftrace.exp: (test_ftrace_condition) New function + for testing bytecode compilation. + +2015-09-16 Pedro Alves + Sandra Loosemore + + * gdb.threads/non-stop-fair-events.c (timeout): New global. + (SECONDS): Redefine. + (main): Call pthread_kill and alarm early. + * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping + support. + (test): If the target can't hardware step and doesn't support + displaced stepping, increase the timeout. + +2015-09-16 Pedro Alves + + * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor) + (enable_debug): New procedures. + (test): Use them. Bail out if waiting for threads fails. + (top level): Bail out if a test fails. + +2015-09-16 Yao Qi + + * gdb.asm/asm-source.exp: Set asm-arch for + aarch64*-*-* target. + * gdb.asm/aarch64.inc: New file. + +2015-09-15 Pierre-Marie de Rodat + + * gdb.ada/array_of_variable_length.exp: New testcase. + * gdb.ada/array_of_variable_length/foo.adb: New file. + * gdb.ada/array_of_variable_length/pck.adb: New file. + * gdb.ada/array_of_variable_length/pck.ads: New file. + +2015-09-15 Doug Evans + + * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming + of function static local variable. + +2015-09-15 Philippe Waroquiers + + * gdb.threads/tls-so_extern.exp: New test file. + * gdb.threads/tls-so_extern.c: New test file. + * gdb.threads/tls-so_extern_main.c: New test file. + +2015-09-15 Jan Kratochvil + + * gdb.opt/solib-intra-step-lib.c: New file. + * gdb.opt/solib-intra-step-main.c: New file. + * gdb.opt/solib-intra-step.exp: New file. + +2015-09-15 Pedro Alves + + * gdb.threads/non-ldr-exc-3.exp (do_test): Use + gdb_continue_to_breakpoint instead of gdb_test_multiple. + +2015-09-14 Pedro Alves + + * gdb.base/hook-stop-continue.c: Delete. + * gdb.base/hook-stop-continue.exp: Delete. + * gdb.base/hook-stop-frame.c: Delete. + * gdb.base/hook-stop-frame.exp: Delete. + * gdb.base/hook-stop.c: New file. + * gdb.base/hook-stop.exp: New file. + +2015-09-14 Pierre-Marie de Rodat + + * gdb.ada/access_to_packed_array.exp: New testcase. + * gdb.ada/access_to_packed_array/foo.adb: New file. + * gdb.ada/access_to_packed_array/pack.adb: New file. + * gdb.ada/access_to_packed_array/pack.ads: New file. + +2015-09-14 Markus Metzger + + * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS + buffer size test. + +2015-09-11 Don Breazeal + + * gdb.base/foll-exec.c: Add copyright header. Fix + formatting issues. + * gdb.base/foll-exec.exp (zap_session): Delete proc. + (do_exec_tests): Use clean_restart in place of zap_session, + and for test initialization. Fix formatting issues. Use + fail in place of perror. + * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in + an expect statement to match an expression with output from + the program under debug. + * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add + non-stop tests and use save_vars to enable non-stop in GDBFLAGS. + * gdb.threads/non-ldr-exc-2.exp: Likewise. + * gdb.threads/non-ldr-exc-3.exp: Likewise. + * gdb.threads/non-ldr-exc-4.exp: Likewise. + +2015-09-09 Doug Evans + + * gdb.python/py-prettyprint.exp: Check result of run_lang_tests. + +2015-09-09 Doug Evans + + * gdb.base/pie-execl.exp: Fix result test of build_executable. + +2015-09-09 Doug Evans + + * gdb.base/savedregs.exp: Fix typo. + +2015-09-09 Pedro Alves + + * gdb.mi/mi-cli.exp: Add CLI finish tests. + +2015-09-08 Sandra Loosemore + + * gdb.threads/hand-call-in-threads.exp: Make sure the thread + command actually switches threads. Give up on remaining + tests if target fails to stop at breakpoint. + +2015-09-03 Pierre-Marie de Rodat + + * gdb.ada/funcall_char.exp: New testcase. + * gdb.ada/funcall_char/foo.adb: New file. + +2015-09-01 Pierre-Marie de Rodat + + * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant + expected outputs. Add two testcases for completing ambiguous + functions. + * gdb.ada/complete/aux_pck.adb: New file. + * gdb.ada/complete/aux_pck.ads: New file. + * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two + Ambiguous_Func functions. + * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function. + * gdb.ada/complete/pck.adb: Likewise. + +2015-08-27 Ulrich Weigand + + * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected + failures to run the test program under GDB. + +2015-08-26 Luis Machado + + * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language + to C. + +2015-08-26 Patrick Palka + + * gdb.base/run-after-attach.exp: New test file. + * gdb.base/run-after-attach.c: New test file. + +2015-08-26 Don Breazeal + + * gdb.base/foll-exec-2.c: New test program. + * gdb.base/foll-exec-2.exp: New test. + +2015-08-25 Pierre-Marie de Rodat + + * gdb.base/nested-subp1.exp: New file. + * gdb.base/nested-subp1.c: New file. + * gdb.base/nested-subp2.exp: New file. + * gdb.base/nested-subp2.c: New file. + * gdb.base/nested-subp3.exp: New file. + * gdb.base/nested-subp3.c: New file. + +2015-08-24 Pedro Alves + + * gdb.server/connect-without-multi-process.c: New file. + * gdb.server/connect-without-multi-process.exp: New file. + +2015-08-24 Luis Machado + + * gdb.opt/inline-markers.c: Make z int. + +2015-08-24 Luis Machado + + * gdb.opt/inline-markers.c: Make z volatile. + +2015-08-24 Luis Machado + + * gdb.opt/inline-bt.c: New volatile global z. + * gdb.opt/inline-cmds.c: Likewise. + * gdb.opt/inline-locals.c: Likewise. + * gdb.opt/inline-markers.c: New extern global z. + (marker): Use z. + (inline_fn): Likewise. + +2015-08-24 Pedro Alves + + * config/m32r-stub.exp: Remove file. + * gdb.base/call-ar-st.exp: Remove reference to sparclet. + * gdb.base/call-rt-st.exp: Likewise. + * gdb.base/call-strs.exp: Likewise. + * gdb.base/default.exp: Remove references to h8300-*-hms and + *-*-udi*. + * gdb.base/funcargs.exp: Remove reference to sparclet-*-*. + +2015-08-24 Andreas Arnez + + * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native + -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish" + and "return" use KFAIL when GDB can not read/write the vector + return value. + +2015-08-21 Gary Benson + + * gdb.trace/pending.exp: Cope with remote transfer warnings. + +2015-08-20 Pedro Alves + + * gdb.server/solib-list.exp: No longer expect an interior stop in + non-stop mode. + +2015-08-20 Pedro Alves + + * gdb.server/connect-stopped-target.c: New file. + * gdb.server/connect-stopped-target.exp: New file. + +2015-08-20 Pedro Alves + + * gdb.dwarf2/comp-unit-lang.exp: New file. + * gdb.dwarf2/comp-unit-lang.c: New file. + +2015-08-20 Pierre-Marie de Rodat + + * gdb.ada/attr_ref_and_charlit.exp: New testcase. + * gdb.ada/attr_ref_and_charlit/foo.adb: New file. + +2015-08-19 Kevin Buettner + + * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file. + * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file. + +2015-08-18 Doug Evans + Adrian Sendroiu + + * lib/gdb.exp (skip_python_tests_prompt): Renamed from + skip_python_tests. New arg prompt_regexp. + (skip_python_tests): New function. + * lib/mi-support.exp (mi_skip_python_tests): New function. + * gdb.python/py-mi-objfile-gdb.py: New file. + * gdb.python/py-mi-objfile.c: New file. + * gdb.python/py-mi-objfile.exp: New file. + +2015-08-17 Keith Seitz + + * gdb.linespec/explicit.exp: Move strace test from here ... + * gdb.trace/strace.exp: ... to here. + +2015-08-15 Patrick Palka + + * gdb.base/kill-detach-inferiors-cmd.exp: New test file. + * gdb.base/kill-detach-inferiors-cmd.c: New test file. + +2015-08-14 Doug Evans + + * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing + inferior before selecting a new file. + +2015-08-14 Doug Evans + + * gdb.mi/mi-disassemble.exp: Update. + * gdb.base/disasm-optim.S: New file. + * gdb.base/disasm-optim.c: New file. + * gdb.base/disasm-optim.h: New file. + * gdb.base/disasm-optim.exp: New file. + +2015-08-14 Keith Seitz + + * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for + "evaluated-by". + +2015-08-13 Joel Brobecker + + * gdb.base/dso2dso.exp: Improve the testcase's documentation. + +2015-08-13 Pierre-Marie de Rodat + + * gdb.ada/fun_renaming.exp: New testcase. + * gdb.ada/fun_renaming/fun_renaming.adb: New file. + * gdb.ada/fun_renaming/pack.adb: New file. + * gdb.ada/fun_renaming/pack.ads: New file. + +2015-08-12 Keith Seitz + + * gdb.base/dso2dso.exp: Pass basename of source file in call to + gdb_get_line_number. + +2015-08-12 Joel Brobecker + + * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h, + gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c, + gdb.base/dso2dso.exp: New files. + +2015-08-12 Sergio Durigan Junior + Pedro Alves + Keith Seitz + + * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore + GDBFLAGS. + +2015-08-12 Patrick Palka + + * gdb.base/gdbhistsize-history.exp + (test_histsize_history_setting): Use save_vars. + * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting): + Use save_vars. + (test_no_truncation_of_unlimited_history_file): Use save_vars. + * gdb.base/readline.exp: Use save_vars. + +2015-08-12 Patrick Palka + + * lib/gdb.exp (save_vars): New proc. + +2015-08-11 Keith Seitz + + * gdb.base/help.exp: Update help_breakpoint_text. + +2015-08-11 Keith Seitz + + * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc. + (at toplevel): Call test_explicit_breakpoints. + * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf + breakpoints. + * lib/mi-support.exp (mi_make_breakpoint): Add support for + breakpoint conditions, "-cond". + +2015-08-11 Keith Seitz + + * gdb.linespec/3explicit.c: New file. + * gdb.linespec/cpexplicit.cc: New file. + * gdb.linespec/cpexplicit.exp: New file. + * gdb.linespec/explicit.c: New file. + * gdb.linespec/explicit.exp: New file. + * gdb.linespec/explicit2.c: New file. + * gdb.linespec/ls-errs.exp: Add explicit location tests. + * lib/gdb.exp (capture_command_output): Regexp-escape `command' + before using in the matching pattern. + Clarify that `prefix' is a regular expression. + +2015-08-11 Keith Seitz + + * gdb.base/dprintf-pending.exp: Update dprintf "without format" + test. + Add tests for missing ",FMT" and ",". + +2015-08-10 Doug Evans + Keith Seitz + + PR gdb/17960 + * gdb.base/completion.exp: Add location completer tests. + +2015-08-07 Pedro Alves + + * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move + tests here. + (top level): Run do_test with and without displaced stepping. + +2015-08-07 Pedro Alves + + * gdb.base/valgrind-disp-step.c: New file. + * gdb.base/valgrind-disp-step.exp: New file. + +2015-08-07 Pedro Alves + + * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads): + Delete function. + (main): Add alarm. Run an infinite loop instead of calling + wait_threads. + * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change + comment. + * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads): + Delete function. + (main): Add alarm. Run an infinite loop instead of calling + wait_threads. + * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change + comment. + +2015-08-07 Pedro Alves + + * gdb.base/checkpoint-ns.exp: New file. + * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to + standard_testfile. + +2015-08-07 Markus Metzger + + * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New. + * gdb.btrace/instruction_history.exp: Update. + * gdb.btrace/tsx.exp: New. + * gdb.btrace/tsx.c: New. + +2015-08-06 Pedro Alves + + * gdb.reverse/step-precsave.exp: Use with_timeout_factor to + increase timeout. + * gdb.reverse/until-precsave.exp: Bump timeouts. + +2015-08-06 Pedro Alves + + * gdb.base/valgrind-infcall.exp: Issue a "disconnect". + +2015-08-06 Pedro Alves + + PR gdb/18749 + * gdb.threads/process-dies-while-handling-bp.c: New file. + * gdb.threads/process-dies-while-handling-bp.exp: New file. + +2015-08-06 Pedro Alves + + * gdb.threads/forking-threads-plus-breakpoint.exp: New file. + * gdb.threads/forking-threads-plus-breakpoint.c: New file. + +2015-08-05 Pedro Alves + + * gdb.threads/next-while-other-thread-longjmps.c: New file. + * gdb.threads/next-while-other-thread-longjmps.exp: New file. + +2015-08-03 Sandra Loosemore + + * gdb.base/bp-permanent.exp: Report test as unsupported if + the target cannot stop at the permanent breakpoint. + +2015-08-03 Doug Evans + + * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from + 10000. + +2015-08-03 Doug Evans + + * Makefile.in (workers/%.worker, build-perf): New rule. + (GDB_PERFTEST_MODE): New variable. + (check-perf): Use it. + (clean): Clean up gdb.perf parallel build subdirs. + * lib/build-piece.exp: New file. + * lib/gdb.exp (make_gdb_parallel_path): New function + (standard_output_file, standard_temp_file): Call it. + (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs + of $GDB_PARALLEL. + * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path. + +2015-08-03 Doug Evans + + * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global. + (LOG_FILE_NAME): New global. + (TextReporter.__init__): Initialize self.txt_sum. + (TextReporter.report): Add support for multiple data-points. + Move report to perftest.sum, put raw data in perftest.log. + (TextReporter.start): Open sum and log files. + (TextReporter.end): Close sum and log files. + * gdb.perf/lib/perftest/testresult.py + (SingleStatisticTestResult.record): Handle multiple data-points. + +2015-07-31 Pedro Alves + + * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id. + Use spawn_id_get_pid. Wait for spawn id after eof. Use + kill_wait_spawned_process instead of explicit "kill -9". + * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach + returning a spawn id instead of a pid. Use spawn_id_get_pid and + kill_wait_spawned_process. + * gdb.base/attach-twice.exp: Likewise. + * gdb.base/attach.exp: Likewise. + (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and + gdb_test_multiple. + * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach + returning a spawn id instead of a pid. Use spawn_id_get_pid and + kill_wait_spawned_process. + * gdb.base/valgrind-infcall.exp: Likewise. + * gdb.multi/multi-attach.exp: Likewise. + * gdb.python/py-prompt.exp: Likewise. + * gdb.python/py-sync-interp.exp: Likewise. + * gdb.server/ext-attach.exp: Likewise. + * gdb.threads/attach-into-signal.exp (corefunc): Use + spawn_wait_for_attach, spawn_id_get_pid and + kill_wait_spawned_process. + * gdb.threads/attach-many-short-lived-threads.exp: Adjust to + spawn_wait_for_attach returning a spawn id instead of a pid. Use + spawn_id_get_pid and kill_wait_spawned_process. + * gdb.threads/attach-stopped.exp (corefunc): Use + spawn_wait_for_attach, spawn_id_get_pid and + kill_wait_spawned_process. + * gdb.base/break-interp.exp: Rename $res to $test_spawn_id. + Use spawn_id_get_pid. Wait for spawn id after eof. Use + kill_wait_spawned_process instead of explicit "kill -9". + * lib/gdb.exp (can_spawn_for_attach): Adjust comment. + (kill_wait_spawned_process, spawn_id_get_pid): New procedures. + (spawn_wait_for_attach): Use spawn instead of exec to spawn + processes. Don't map cygwin/windows pids here. Now returns a + spawn id list. + +2015-07-30 Sandra Loosemore + + * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit + 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the + correct patch. + +2015-07-30 Sandra Loosemore + + * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets. + +2015-07-30 Sandra Loosemore + + Reapply: + 2014-05-21 Mark Wielaard + + * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type. + +2015-07-30 Pedro Alves + + * linux-low.c (handle_extended_wait): Set the child's last + reported status to TARGET_WAITKIND_STOPPED. + +2015-07-30 Pedro Alves + + PR threads/18600 + * gdb.threads/fork-plus-threads.exp: Test that "info inferiors" + only shows inferior 1. + +2015-07-30 Simon Marchi + Pedro Alves + + PR threads/18600 + * gdb.threads/fork-plus-threads.c: New file. + * gdb.threads/fork-plus-threads.exp: New file. + +2015-07-29 Patrick Palka + + * gdb.base/batch-preserve-term-settings.exp + (test_terminal_settings_preserved_after_cli_exit): Use + send_quit_command. + +2015-07-29 Pedro Alves + Don Breazeal + + * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect + output from both inferior_spawn_id and gdb_spawn_id. + +2015-07-29 Sergio Durigan Junior + + * gdb.threads/attach-into-signal.exp (corefunc): Use + with_test_prefix on nested loops, uniquefying the test messages. + +2015-07-29 Sergio Durigan Junior + + * gdb.python/py-objfile.exp: Fix typo that snuck in from my last + commit. + +2015-07-29 Patrick Palka + + * gdb.base/batch-preserve-term-settings.exp (send_quit_command): + New proc. + (test_terminal_settings_preserved_after_sigterm): New test. + +2015-07-29 Patrick Palka + + * gdb.base/batch-preserve-term-settings.exp + (test_terminal_settings_preserved_after_cli_exit): New test. + +2015-07-29 Patrick Palka + + * gdb.base/batch-preserve-term-settings.exp: Remove top-level + manipulation of saved_gdbflags. + (test_terminal_settings_preserved): Remove global declaration of + the unused variable pagination_prompt. Remove manipulation of + saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of + GDBFLAGS. + +2015-07-29 Pedro Alves + + * boards/gdbserver-base.exp: Don't set gdb,noinferiorio. + +2015-07-29 Pedro Alves + + * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio + at the top. + +2015-07-29 Pedro Alves + + * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c". + (main): Call gdb_unbuffer_output. + * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c". + (main): Call gdb_unbuffer_output. + * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c". + (main): Call gdb_unbuffer_output. + * gdb.base/call-strs.exp: Adjust to step over the + gdb_unbuffer_output call. + * gdb.base/catch-gdb-caused-signals.c: Include + "../lib/unbuffer_output.c". + (main): Call gdb_unbuffer_output. + * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c". + (main): Call gdb_unbuffer_output. + * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c". + (main): Call gdb_unbuffer_output. + * gdb.base/run.c: Include "../lib/unbuffer_output.c". + (main): Call gdb_unbuffer_output. + * gdb.base/shlib-call.exp: Adjust to step over the + gdb_unbuffer_output call. + * gdb.base/shmain.c: Include "../lib/unbuffer_output.c". + (main): Call gdb_unbuffer_output. + * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c". + (main): Call gdb_unbuffer_output. + * gdb.base/varargs.c: Include "../lib/unbuffer_output.c". + (main): Rename to ... + (test): ... this. + (main): Reimplement. + * gdb.base/varargs.exp: Run to test instead of to main. + * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c". + (main): Call gdb_unbuffer_output. + +2015-07-29 Pedro Alves + + * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure, + factore out from mi_continue_dprintf. For call-style dprintfs, + expect dprintf output out of $inferior_spawn_id. + (mi_continue_dprintf): Use mi_expect_dprintf. + * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c". + (main): Call gdb_unbuffer_output. + +2015-07-29 Pedro Alves + + * lib/mi-support.exp (mi_inferior_spawn_id): Delete. + (default_mi_gdb_start): Set inferior_spawn_id instead of + mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to + gdb_spawn_id. + (mi_gdb_test): Always expect inferior output from both + $inferior_spawn_id and $gdb_spawn_id. + +2015-07-29 Pedro Alves + + * gdb.gdb/selftest.exp (test_with_self): Update comment. Use + send_inferior and $inferior_spawn_id. + +2015-07-29 Pedro Alves + + * gdb.gdb/complaints.exp (test_initial_complaints) + (test_serial_complaints, test_short_complaints): Use + gdb_test_stdio. + (test_empty_complaint): Handle $inferior_spawn_id != + $gdb_spawn_id. + +2015-07-29 Pedro Alves + + * gdb.base/varargs.exp: Use gdb_test_stdio. + +2015-07-29 Pedro Alves + + * gdb.base/shlib-call.exp: Use gdb_test_stdio. + +2015-07-29 Pedro Alves + + * gdb.base/ending-run.exp: Use gdb_test_stdio. + +2015-07-29 Pedro Alves + + * gdb.base/call-rt-st.exp (print_struct_call): Split "result" + parameter into two new parameters, "inf_result" and "gdb_result". + Expect inferior output and gdb output from $inferior_spawn_id and + $gdb_spawn_id, respectively. Adjust all callers. + +2015-07-29 Pedro Alves + + * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead + of gdb_test_sequence. + +2015-07-29 Pedro Alves + + * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper) + (saw_spurious_output): Expect inferior output from + $inferior_spawn_id. Use gdb_test_stdio. + +2015-07-29 Pedro Alves + + * gdb.base/dprintf.exp: Use standard_testfile. Change + prepare_for_testing call. + (srcfile): Don't set. + (restart): New procedure. + (test_dprintf): New procecure, use to continue over dprintfs. + (test_call, test_agent): New procedures, tests moved here. + Restart gdb and recreate dprintfs. Adjust expected output. + +2015-07-29 Pedro Alves + + * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio. + +2015-07-29 Pedro Alves + + * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test. + +2015-07-29 Pedro Alves + + * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use + gdb_test_stdio. + +2015-07-29 Pedro Alves + + * lib/gdb.exp (gdb_test_stdio): New procedure. + +2015-07-29 Pedro Alves + + * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end. + +2015-07-29 Pedro Alves + + * gdb.base/call-signal-resume.exp: Remove check for + gdb,noinferiorio. Don't expect "no signal". Use gdb_test. + * gdb.base/unwindonsignal.exp: Likewise. + * gdb.base/call-signals.c (gen_signal): Remove printf call. + * gdb.base/unwindonsignal.c (gen_signal): Likewise. + +2015-07-29 Pedro Alves + + * gdb.base/siginfo-addr.c (pass): New function. + (handler): Call it iff si_addr is correct. + * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check. + Set a breakpoint at "pass" and continue to it. + +2015-07-28 Sergio Durigan Junior + + * gdb.python/py-objfile.exp: Make some tests have unique names. + * gdb.python/py-pp-registration.exp: Likewise. + +2015-07-28 Pedro Alves + + * gdb.server/server-exec-info.exp: Issue a "disconnect". + +2015-07-27 Simon Marchi + + * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL. + +2015-07-27 Simon Marchi + + * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail. + +2015-07-27 Patrick Palka + + * gdb.base/gdb-sigterm-2.exp: New test. + +2015-07-25 Doug Evans + + Revert: + * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL. + (workers/%.worker, build-perf): New rule. + (GDB_PERFTEST_MODE): New variable. + (check-perf): Use it. + (clean): Clean up gdb.perf parallel build subdirs. + * lib/build-piece.exp: New file. + * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name. + * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path + name. + (standard_temp_file): Ditto. + (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs + of $GDB_PARALLEL. + +2015-07-24 Doug Evans + + * gdb.perf/lib/perftest/utils.py: New file. + * gdb.perf/gm-hello.cc: New file. + * gdb.perf/gm-pervasive-typedef.cc: New file. + * gdb.perf/gm-pervasive-typedef.h: New file. + * gdb.perf/gm-std.cc: New file. + * gdb.perf/gm-std.h: New file. + * gdb.perf/gm-use-cerr.cc: New file. + * gdb.perf/gm-utils.h: New file. + * gdb.perf/gmonster-null-lookup.py: New file. + * gdb.perf/gmonster-pervasive-typedef.py: New file. + * gdb.perf/gmonster-print-cerr.py: New file. + * gdb.perf/gmonster-ptype-string.py: New file. + * gdb.perf/gmonster-runto-main.py: New file. + * gdb.perf/gmonster-select-file.py: New file. + * gdb.perf/gmonster1-null-lookup.exp: New file. + * gdb.perf/gmonster1-pervasive-typedef.exp: New file. + * gdb.perf/gmonster1-print-cerr.exp: New file. + * gdb.perf/gmonster1-ptype-string.exp: New file. + * gdb.perf/gmonster1-runto-main.exp: New file. + * gdb.perf/gmonster1-select-file.exp: New file. + * gdb.perf/gmonster1.cc: New file. + * gdb.perf/gmonster1.exp: New file. + * gdb.perf/gmonster2-null-lookup.exp: New file. + * gdb.perf/gmonster2-pervasive-typedef.exp: New file. + * gdb.perf/gmonster2-print-cerr.exp: New file. + * gdb.perf/gmonster2-ptype-string.exp: New file. + * gdb.perf/gmonster2-runto-main.exp: New file. + * gdb.perf/gmonster2-select-file.exp: New file. + * gdb.perf/gmonster2.cc: New file. + * gdb.perf/gmonster2.exp: New file. + +2015-07-24 Doug Evans + + * gdb.perf/README: New file. + * lib/perftest.exp (tcl_string_list_to_python_list): New function. + * lib/gen-perf-test.exp: New file. + +2015-07-24 Doug Evans + + * lib/perftest.exp (PerfTest::compile): Unconditionally call body. + (PerfTest::startup): New function. + (PerfTest::run): Return result of calling body. + (PerfTest::assemble): Rewrite. + * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result. + * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto. + * gdb.perf/single-step.exp (PerfTest::assemble): Ditto. + * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto. + * gdb.perf/solib.exp (PerfTest::assemble): Ditto. + +2015-07-24 Doug Evans + + * lib/gdb.exp (clean_restart): Make executable optional. + +2015-07-24 Doug Evans + + * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove + compiler_info references. + * gdb.cp/temargs.exp: Ditto. + * lib/gdb.exp: Unset compiler_info instead of setting to "unknown". + (get_compiler_info): Early exit if already computed. Set compiler_info + to "unknown" if there was a problem. + (test_compiler_info): Add function comment. Call get_compiler_info. + +2015-07-24 Doug Evans + + * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL. + (workers/%.worker, build-perf): New rule. + (GDB_PERFTEST_MODE): New variable. + (check-perf): Use it. + (clean): Clean up gdb.perf parallel build subdirs. + * lib/build-piece.exp: New file. + * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name. + * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path + name. + (standard_temp_file): Ditto. + (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs + of $GDB_PARALLEL. + +2015-07-24 Doug Evans + + * lib/future.exp (gdb_default_target_compile): New option + "early_flags". + * lib/gdb.exp (gdb_compile): Undo debian's change in default of + --as-needed. + +2015-07-24 Sergio Durigan Junior + + * gdb.base/catch-syscall.exp: Call gdb_exit before + gdb_skip_xml_test. + +2015-07-24 Pedro Alves + + * gdb.python/py-events.exp: Accept output between the stop event + and the prompt. + * gdb.python/py-evsignal.exp: Likewise. + * gdb.python/py-evthreads.exp: Likewise. + +2015-07-24 Pedro Alves + + PR gdb/18717 + * gdb.threads/non-ldr-exit.c: New file. + * gdb.threads/non-ldr-exit.exp: New file. + +2015-07-24 Yao Qi + + * gdb.server/ext-wrapper.exp: Test --wrapper option when + restarting process. + +2015-07-24 Yao Qi + + * gdb.server/ext-restart.exp: New file. + +2015-07-24 Yao Qi + + * lib/gdbserver-support.exp (gdbserver_start_extended): Add + argument options. + * gdb.server/ext-wrapper.exp: New file. + +2015-07-23 Doug Evans + + * gdb.dwarf2/dw2-dummy-cu.S: New file. + * gdb.dwarf2/dw2-dummy-cu.exp: New file. + +2015-07-23 Pierre-Marie de Rodat + + * gdb.ada/var_arr_typedef.exp: New testcase. + * gdb.ada/var_arr_typedef/pack.adb: New file. + * gdb.ada/var_arr_typedef/pack.ads: New file. + * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file. + +2015-07-20 Joel Brobecker + + * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output. + +2015-07-16 Jan Kratochvil + + * gdb.arch/i386-biarch-core.exp: Replace istarget + by "complete set gnutarget". Remove expectation for the "core-file" + command. + +2015-07-15 Jan Kratochvil + + Revert the previous commit: + Tests for validate symbol file using build-id. + +2015-07-15 Aleksandar Ristovski + + * gdb.base/sigaltstack.exp (finish_test): Add kfail for + nios2-*-linux*. + * gdb.base/sigbpt.exp (stepi_out): Likewise. + * gdb.base/siginfo.exp: Likewise. + * gdb.base/sigstep.exp (advance, advancei): Likewise. + +2015-07-15 Pierre Langlois + + * gdb.base/range-stepping.exp (gdb_range_stepping_enabled): + Move it to ... + * lib/range-stepping-support.exp (gdb_range_stepping_enabled): + ... here. + * gdb.trace/range-stepping.exp: Check that the target supports + range stepping. + +2015-07-14 Jan Kratochvil + + * gdb.arch/i386-biarch-core.exp: Fix comment typo. + +2015-07-14 Pedro Alves + + * gdb.base/killed-outside.exp: New file. + * gdb.base/killed-outside.c: New file. + +2015-07-10 Jan Kratochvil + + * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter. + (n at main): New. + * gdb.asm/asmsrc1.s: Add comment "mark: main enter". + +2015-07-10 Andreas Arnez + + * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the + infcall tests instead of setting up for KFAIL. + +2015-07-10 Markus Metzger + + * gdb.btrace/record_goto-step.exp: New. + +2015-07-08 Jan Kratochvil + + PR compile/18484 + * gdb.compile/compile.c (struct struct_type): Add volatile to + selffield's type. + * gdb.compile/compile.exp + (compile code struct_object.selffield = &struct_object): Skip further + struct_object tests if this one xfails. + +2015-07-08 Robert O'Callahan + + PR exp/18617 + * gdb.trace/ax.exp: Add test. + +2015-07-07 Yao Qi + + * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target + instead of istarget "aarch64*-*-*". + * gdb.arch/aarch64-fp.exp: Likewise. + * gdb.base/float.exp: Likewise. + * gdb.reverse/aarch64.exp: Likewise. + * lib/gdb.exp (is_aarch64_target): New proc. + +2015-07-07 Yao Qi + + * lib/gdb.exp (is_aarch32_target): New proc. + * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target + instead of "istarget "arm*-*-*"". + * gdb.arch/arm-disp-step.exp: Likewise. + * gdb.arch/thumb-bx-pc.exp: Likewise. + * gdb.arch/thumb-prologue.exp: Likewise. + * gdb.arch/thumb-singlestep.exp: Likewise. + * gdb.base/disp-step-syscall.exp: Likewise. + * gdb.base/float.exp: Likewise. + +2015-07-07 Yao Qi + + * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): + Set arch1, arch2, syscall1_name, syscall2_name and syscall_number. + +2015-07-07 Yao Qi + + * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target + is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET} + if it exists. + * gdb.multi/multi-arch.exp: Likewise. + +2015-07-07 Simon Marchi + + * gdb.python/py-lazy-string.exp: Add missing parentheses to + print. + +2015-07-07 Yao Qi + + * gdb.arch/thumb-singlestep.exp: Do one more single step. + +2015-06-30 Martin Galvan + + * lib/gdb.exp (test_class_help): Remove the unneeded escaping of + '[' and ']' characters. + +2015-06-30 Iain Buclaw + + * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite. + +2015-06-29 Pedro Alves + + PR threads/18127 + * gdb.threads/hand-call-new-thread.c: New file. + * gdb.threads/hand-call-new-thread.c: New file. + +2015-06-26 Keith Seitz + Doug Evans + + PR 16253 + * gdb.cp/var-tag-2.cc: New file. + * gdb.cp/var-tag-3.cc: New file. + * gdb.cp/var-tag-4.cc: New file. + * gdb.cp/var-tag.cc: New file. + * gdb.cp/var-tag.exp: New file. + +2015-06-26 Patrick Palka + + * gdb.base/history-duplicates.exp: New test. + +2015-06-26 Patrick Palka + + * gdb.base/completion.exp: Test the completion of the "focus" + command. + +2015-06-26 Jan Kratochvil + + * gdb.arch/amd64-prologue-skip.S: New file. + * gdb.arch/amd64-prologue-skip.exp: New file. + +2015-06-25 Simon Marchi + + * gdb.python/py-prettyprint.exp (run_lang_tests): Add + is_address_zero_readable check. + +2015-06-24 Peter Bergner + + * gdb.arch/powerpc-power.exp : Fixup test results. + * gdb.arch/powerpc-power.s : Likewise. + +2015-06-24 Yao Qi + + * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all + linux targets. + +2015-06-24 Yao Qi + + * lib/gdb.exp (supports_get_siginfo_type): New proc. + * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type. + * gdb.base/siginfo-thread.exp: Likewise. + +2015-06-22 Yao Qi + + * boards/remote-gdbserver-on-localhost.exp: Add comments. + +2015-06-22 Yao Qi + + * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target + aarch64*-*-*. + (skip_hw_watchpoint_tests): Likewise. + +2015-06-18 Patrick Palka + + * gdb.base/gdbinit-history.exp: Test the interaction between + setting GDBHISTSIZE and setting the history size via .gdbinit. + +2015-06-17 Patrick Palka + + PR gdb/16999 + * gdb.base/gdbhistsize-history.exp: New test. + +2015-06-17 Patrick Palka + + * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE + with GDBHISTSIZE. + * gdb.base/readline.exp: Likewise. + +2015-06-17 Yao Qi + + * lib/gdb.exp (get_build_id): Move braces and "else" to the same + line. + +2015-06-17 Patrick Palka + + * gdb.base/gdbinit-history.exp: Add test case to check that + an unlimited history file does not get truncated on exit. + +2015-06-17 Andreas Arnez + + * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h. + (VECTOR): New macro. Use it... + (int4, uint4, char4, float4, int2, longlong2, float2, double2): + ...for these typedefs. + (int8, char1, int1, double1): New typedefs. + (struct just_int2, struct two_int2): New structures. + (add_some_intvecs, add_many_charvecs, add_various_floatvecs) + (add_structvecs, add_singlevecs): New functions. + (main): Call add_some_intvecs twice. + * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt + the compile and exit upon failure. Try compiling for the "native" + architecture. Test inferior function calls with vector arguments + and vector return value handling with "finish" and "return". + +2015-06-10 Jon Turney + + * gdb.base/sepdebug.exp: Add EXEEXT where needed. + * lib/gdb.exp (get_build_id): Teach how to extract build-id from a + PE file. + * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump. + +2015-06-12 Antoine Tremblay + + PR breakpoints/16465 + * gdb.mi/mi-dprintf-pending.c: New file. + * gdb.mi/mi-dprintf-pending.exp: New test. + * gdb.mi/mi-dprintf-pendshr.c: New file. + +2015-06-10 Walfred Tedeschi + Mircea Gherzan + + * gdb.arch/i386-mpx-map.c: New file. + * gdb.arch/i386-mpx-map.exp: New File. + +2015-06-10 Walfred Tedeschi + + * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed. + * gdb.arch/i386-mpx.exp: Indentation fixed. + +2015-06-10 Walfred Tedeschi + + * gdb.arch/i386-mpx.c: Added final return to the have_mpx + function and improved indentation. + * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for + gdb_test_multiple. Added additional tests to skip the test. + +2015-06-10 Walfred Tedeschi + + * gdb.arch/i386-avx512.c: Change path in include file. + * gdb.arch/i386-avx512.exp: Change include dir path + compilation flag. + * gdb.arch/i386-mpx.c: Change path in include file. + * gdb.arch/i386-mpx.exp: Change include dir path compilation + flag. + +2015-06-04 Jan Kratochvil + + * gdb.compile/compile-print.exp (compile print *vararray@3) + (compile print *vararrayp@3): Change xfail to kfail compile/18489. + +2015-06-03 Jan Kratochvil + + * gdb.compile/compile.exp (keep jit in memory): Rename to ... + (do not keep jit in memory): ... this. + (expect 5): Change it to ... + (expect no 5): ... this. + +2015-06-02 Simon Marchi + + PR gdb/15564 + * gdb.mi/mi-detach.exp: New file. + +2015-06-01 Jan Kratochvil + + PR symtab/18392 + * gdb.arch/amd64-tailcall-self.S: New file. + * gdb.arch/amd64-tailcall-self.c: New file. + * gdb.arch/amd64-tailcall-self.exp: New file. + +2015-05-28 Don Breazeal + + * gdb.base/foll-vfork.exp (main): Disable exec-dependent + tests for remote targets by checking is_target_gdbserver. + +2015-05-27 Doug Evans + + * gdb.dwarf2/opaque-type-lookup-2.c: New file. + * gdb.dwarf2/opaque-type-lookup.c: New file. + * gdb.dwarf2/opaque-type-lookup.exp: New file. + +2015-05-26 Doug Evans + + * gdb.cp/iostream.cc: New file. + * gdb.cp/iostream.exp: New file. + +2015-05-26 Doug Evans + + * gdb.dwarf2/dw2-op-call.exp: Update. + * gdb.dwarf2/dw4-sig-types.exp: Update. + * gdb.dwarf2/implptr.exp: Update. + * gdb.mi/mi-cmd-param-changed.exp: Update. + +2015-05-26 Doug Evans + + * gdb.python/py-lazy-string.c: New file. + * gdb.python/py-lazy-string.exp: New file. + * gdb.python/py-prettyprint.c (lazystring) : New member. + (main): Update. Add estring3. + * gdb.python/py-prettyprint.exp: Add tests for strings at address 0. + * gdb.python/py-prettyprint.py (pp_ls): Handle length. + +2015-05-26 Omair Javaid + Yao Qi + + * gdb.reverse/aarch64.c: New. + * gdb.reverse/aarch64.exp: New. + +2015-05-26 Omair Javaid + + * lib/gdb.exp (supports_process_record): Return true for + aarch64*-linux*. + (supports_reverse): Likewise. + +2015-05-22 Patrick Palka + + * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting): + Use with_test_prefix. + +2015-05-21 Andrew Burgess + + * gdb.base/completion.exp: Add test for completion of layout + names. + +2015-05-20 Andrew Burgess + + * lib/gdb.exp (skip_tui_tests): New proc. + * gdb.base/tui-layout.exp: Check skip_tui_tests. + +2015-05-19 Pedro Alves + + * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting): + Save the whole env array instead of just HOME. Unset HISTSIZE in + the environment while testing. Restore whole environment + afterwards. + +2015-05-16 Doug Evans + + * gdb.guile/scm-ports.c: New file. + * gdb.guile/scm-ports.exp: Add memory port tests. + +2015-05-16 Jan Kratochvil + + * gdb.compile/compile-print.c: New file. + * gdb.compile/compile-print.exp: New file. + +2015-05-16 Jan Kratochvil + + * gdb.compile/compile-ops.exp: Cast param to void. + * gdb.compile/compile.exp: Complete type for _gdb_expr. + (compile code struct_object.selffield = &struct_object): Add xfail. + +2015-05-15 Joel Brobecker + + * gdb.ada/arr_enum_with_gap: New testcase. + +2015-05-15 Joel Brobecker + + * gdb.ada/byte_packed_arr: New testcase. + +2015-05-15 Joel Brobecker + + * gdb.ada/pckd_neg: New testcase. + +2015-05-13 Patrick Palka + + PR gdb/17820 + * gdb.base/gdbinit-history.exp: New test. + * gdb.base/gdbinit-history/unlimited/.gdbinit: New file. + * gdb.base/gdbinit-history/zero/.gdbinit: New file. + +2015-05-09 Siva Chandra Reddy + + * gdb.python/py-xmethods.cc: Enhance test case. + * gdb.python/py-xmethods.exp: New tests. + * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker + function. + (B_indexoper): Likewise. + (global_dm_list) : Add new xmethod worker functions. + +2015-05-08 Sergio Durigan Junior + + * gdb.base/coredump-filter.exp: Correctly unset + "coredump_var_addr" array. + +2015-05-08 Pedro Alves + + * gdb.server/non-existing-program.exp: Unset spawn_id. + +2015-05-08 Siva Chandra Reddy + + PR python/18291 + * gdb.python/py-xmethods.exp: Add tests. + +2015-05-08 Yao Qi + + PR gdb/18208 + * gdb.base/coredump-filter.c (set_coredump_filter): New function. + * gdb.base/coredump-filter.exp (do_save_core): Call inferior + function set_coredump_filter, and remove remote_exec call. + Remove argument ipid. Callers update. + (top level): Don't get inferior's PID. + +2015-05-08 Andreas Arnez + + * gdb.base/watch_thread_num.exp: Skip test on targets without + access watchpoints. + +2015-05-06 Pedro Alves + + PR server/18081 + * gdb.server/non-existing-program.exp: New file. + +2015-05-05 Joel Brobecker + + * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests. + +2015-05-05 Joel Brobecker + + * gdb.ada/out_of_line_in_inlined: New testcase. + +2015-05-05 Joel Brobecker + + * gdb.ada/var_rec_arr: New testcase. + +2015-04-30 Yao Qi + + * gdb.base/break-idempotent.exp: If + skip_hw_watchpoint_multi_tests returns true, skip the tests + on "rwatch" and "awatch". + +2015-04-30 Yao Qi + + * gdb.base/relativedebug.exp: Invoke gdb command + "info sharedlibrary", and if libc.so doesn't have debug info, + skip the test. + +2015-04-29 Doug Evans + + * gdb.python/py-xmethods.exp: Add ptype tests. + * gdb.python/py-xmethods.py (E_method_char_worker): Add + get_result_type method. + +2015-04-29 Luis Machado + + * gdb.base/watch-bitfields.exp: Switch to software watchpoints if + the target does not support hardware watchpoints. + +2015-04-29 Luis Machado + + * gdb.base/break-always.exp: Abort testing if writing to memory + causes an error. + +2015-04-28 Doug Evans + + * gdb.python/py-pp-maint.py: Move "replace" testing to ... + * gdb.python/py-pp-registration.exp: ... here. New file. + * gdb.python/py-pp-registration.c: New file. + * gdb.python/py-pp-registration.py: New file. + +2015-04-28 Doug Evans + + * gdb.python/py-bad-printers.c: New file. + * gdb.python/py-bad-printers.py: New file. + * gdb.python/py-bad-printers.exp: New file. + +2015-04-28 Sasha Smundak + + * gdb.python/py-type.exp: New test. + +2015-04-28 Andy Wingo + + * gdb.python/py-parameter.exp: + * gdb.guile/scm-parameter.exp: Escape the path that we are + matching against, as it might contain characters that are special + to regular expressions. + +2015-04-27 Joel Brobecker + + * gdb.ada/rec_comp: New testcase. + +2015-04-26 Sergio Durigan Junior + + * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr" + before using it. + +2015-04-24 Andrew Burgess + + * gdb.base/dump.exp: Add *.verilog files to all_files list. Add + new tests for verilog output. + +2015-04-24 Yao Qi + + * boards/remote-gdbserver-on-localhost.exp: New file. + +2015-04-23 Pedro Alves + + * gdb.base/interrupt.exp: Use an indirect spawn id list holding + $inferior_spawn_id instead of $inferior_spawn_id directly. On + "end of file", remove $inferior_spawn_id from the indirect list. + +2015-04-23 Pedro Alves + + * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file. + +2015-04-23 Pedro Alves + + * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout + on $any_spawn_id instead of only on $gdb_spawn_id. + +2015-04-21 Pierre Muller + + PR pascal/17815 + * lib/pascal.exp (gpc_compile): Add new option "class". + (fpc_compile): Likewise. + * gdb.pascal/case-insensitive-symbols.pas: New file. + * gdb.pascal/case-insensitive-symbols.exp: New file. + +2015-04-20 Gary Benson + + * gdb.base/attach.exp: Fix three extended remote failures. + +2015-04-17 Gary Benson + + * gdb.server/server-exec-info.exp: Inhibit GDB from accessing + the main executable over the remote protocol. + +2015-04-16 Pedro Alves + + * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start + a new gdbserver if gdbserver_reconnect_p is set. + +2015-04-16 Pedro Alves + + * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p + is set, don't exit gdbserver. + +2015-04-16 Andreas Arnez + + * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an + appropriate .insn, such that an older assembler can be used. + * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable + the z/Architecture instruction set on 31-bit targets as well. + +2015-04-16 Andreas Arnez + + * gdb.go/handcall.exp: Remove all logic related to the first + breakpoint and rely on go_runto_main instead. + * gdb.go/strings.exp: Likewise. + * gdb.go/unsafe.exp: Likewise. + * gdb.go/hello.exp: Likewise. Also rename the remaining + breakpoint marker to "breakpoint 1". + * gdb.go/handcall.go: Remove comment "set breakpoint 1 here". + * gdb.go/strings.go: Likewise. + * gdb.go/unsafe.go: Likewise. + * gdb.go/hello.go: Likewise. Also remove the second occurrence of + "set breakpoint 2 here" and rename the remaining breakpoint marker + to "breakpoint 1". + +2015-04-15 Simon Marchi + + * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function + if itertools.imap is not present. + * gdb.python/py-objfile.exp: Add parentheses. + * gdb.python/py-type.exp: Same. + * gdb.python/py-unwind-maint.py: Same. + +2015-04-15 Yao Qi + + * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead + of ":$ptr_size" and set its form explicitly. + +2015-04-15 Pedro Alves + Yao Qi + + * gdb.base/watch-bitfields.exp (test_watch_location): Increase + timeout by factor of 4. + (test_regular_watch): Likewise. + * gdb.base/watchpoint-solib.exp: Use with_timeout_factor. + * gdb.reverse/sigall-reverse.exp: Likewise. + * gdb.reverse/until-precsave.exp: Likewise. + * lib/gdb.exp (with_timeout_factor): New proc. + (gdb_expect): Move some code to ... + (get_largest_timeout): ... here. New procedure. + +2015-04-14 Luis Machado + + * gdb.base/bp-permanent.exp (test): Reinstate correct test message. + +2015-04-13 Luis Machado + + * gdb.base/bp-permanent.exp (test): Handle the case of being unable + to write to the .text section. + +2015-04-13 Luis Machado + + * gdb.base/coredump-filter.exp: Restrict test to Linux systems only. + Handle the case of targets that do not provide PID information. + +2015-04-13 Yao Qi + + * lib/gdbserver-support.exp (gdb_exit): Catch exception + and use expect instead of gdb_expect. + +2015-04-13 Sergio Durigan Junior + + * gdb.base/coredump-filter.exp: Rename variable "addr" to + "coredump_var_addr" to avoid naming conflict with other testcases. + +2015-04-10 Pedro Alves + + * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use + gdb_test_sequence and gdb_assert. + +2015-04-10 Pedro Alves + + * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use + test messages that don't include the breakpoint address. + +2015-04-10 Yao Qi + + * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return + false for some offset and width combinations which aren't + supported by linux kernel. + +2015-04-10 Pedro Alves + + * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New + procedure, factored out from ... + (top level): ... here. Add "set displaced-stepping" testing axis. + * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New + parameter "displaced". Use it. + (top level): Use foreach and add "set displaced-stepping" testing + axis. + +2015-04-10 Pedro Alves + + * gdb.threads/step-over-trips-on-watchpoint.c (child_function): + Remove comment. + * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find + both the address of the instruction that triggers the watchpoint + and the address of the instruction immediately after, and use + those addresses for the test. Fix comment. + +2015-04-10 Pedro Alves + + * gdb.base/sigstep.exp (breakpoint_to_handler) + (breakpoint_to_handler_entry): New parameter 'displaced'. Use it. + Test "backtrace" in handler. + (breakpoint_over_handler): New parameter 'displaced'. Use it. + (top level): Add new "displaced" test axis to + breakpoint_to_handler, breakpoint_to_handler_entry and + breakpoint_over_handler. + +2015-04-10 Pedro Alves + + PR gdb/18216 + * gdb.threads/multiple-step-overs.exp: Remove expected eof. + +2015-04-10 Yao Qi + + * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc. + (test_add_rn_pc): New function. + * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc. + (top level): Invoke test_add_rn_pc. + +2015-04-10 Pedro Alves + + PR gdb/13858 + * gdb.base/step-over-no-symbols.exp: New file. + +2015-04-09 Andy Wingo + + * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled + after the Python tests. + +2015-04-08 Keith Seitz + + PR python/16699 + * gdb.python/py-completion.exp: New tests for completion. + * gdb.python/py-completion.py (CompleteLimit1): New class. + (CompleteLimit2): Likewise. + (CompleteLimit3): Likewise. + (CompleteLimit4): Likewise. + (CompleteLimit5): Likewise. + (CompleteLimit6): Likewise. + (CompleteLimit7): Likewise. + +2015-04-08 Pedro Alves + + PR gdb/18214 + PR gdb/18216 + * gdb.threads/multiple-step-overs.c (sigusr1_handler): New + function. + (main): Install it as SIGUSR1 handler. + * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix' + parameter. Always use "setup" as prefix. Toggle "set + displaced-stepping" off/on depending on global. Don't switch to + thread 1 here. + (top level): Add displaced stepping "off/on" test axis. Update + "setup" calls. Wrap each subtest with with_test_prefix. Test + continuing with a queued signal in each thread. + +2015-04-08 Pedro Alves + + * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd. + * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use + gdb_breakpoint instead of gdb_test that doesn't expect anything. + Return early if running to main fails. + * gdb.trace/while-stepping.exp: Likewise. + +2015-04-07 Pedro Alves + + * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id != + $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to + interact with inferior program. + +2015-04-07 Pedro Alves + + * lib/gdb.exp (inferior_spawn_id): New global. + (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's + spawn id after processing the user code. + (default_gdb_start): Set inferior_spawn_id. + (send_inferior): New procedure. + * lib/gdbserver-support.exp (gdbserver_start): Set + inferior_spawn_id. + (close_gdbserver, gdb_exit): Unset inferior_spawn_id. + +2015-04-07 Pedro Alves + + * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling. + * lib/gdbserver-support.exp (gdbserver_start): Make + $server_spawn_id global. + (gdbserver_start): Don't wait for gdbserver's spawn id with + expect_background. + (close_gdbserver): New procedure. + (gdb_exit): Rename the default version and reimplement. + +2015-04-07 Pedro Alves + + * lib/gdb.exp (gdb_test_multiple): When processing an argument, + append the substituted item, not the original item. + +2015-04-07 Pedro Alves + + * gdb.base/interrupt.exp: Use gdb_test_multiple instead of + gdb_expect. + +2015-04-07 Pedro Alves + + * gdb.base/interrupt.exp: Don't handle the case of the inferior + output appearing once only. + +2015-04-07 Pedro Alves + + * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test + that doesn't expect anything. Return early if running to main + fails. + +2015-04-07 Yao Qi + + * gdb.threads/non-stop-fair-events.c (SECONDS): New macro. + (child_function): Call alarm. + (main): Move call to alarm into the loop. + * gdb.threads/non-stop-fair-events.exp: Build program with + -DTIMEOUT=$timeout. + +2015-04-06 Doug Evans + + * lib/pascal.exp (gpc_compile): Rename dest arg to destfile. + Fix dest parameter to board_info. + (fpc_compile): Ditto. + (gdb_compile_pascal): Rename dest arg to destfile. + +2015-04-03 Pierre-Marie de Rodat + + * gdb.ada/funcall_ref.exp: New file. + * gdb.ada/funcall_ref/foo.adb: New file. + +2015-04-02 Yao Qi + + * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target + is remote. + +2015-04-02 Gary Benson + + * gdb.base/break-probes.exp: Cope with "target:" sysroot. + +2015-04-01 Sasha Smundak + + * gdb.python/py-unwind-maint.c: New file. + * gdb.python/py-unwind-maint.exp: New test. + * gdb.python/py-unwind-maint.py: New file. + * gdb.python/py-unwind.c: New file. + * gdb.python/py-unwind.exp: New test. + * gdb.python/py-unwind.py: New test. + +2015-04-01 Pedro Alves + + * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message + to fail instead of non-existent $test. + +2015-04-01 Pedro Alves + + * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to + GDBFLAGS if not empty. + +2015-04-01 Pierre-Marie de Rodat + + * gdb.ada/complete.exp: Remove "multi_line". + * gdb.ada/info_exc.exp: Remove "multi_line". + * gdb.ada/packed_tagged.exp: Remove "multi_line". + * gdb.ada/ptype_field.exp: Remove "multi_line". + * gdb.ada/sym_print_name.exp: Remove "multi_line". + * gdb.ada/tagged.exp: Remove "multi_line". + * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with + [multi_line ...] + * gdb.btrace/delta.exp: Likewise. + * gdb.btrace/exception.exp: Likewise. + * gdb.btrace/function_call_history.exp: Likewise. + * gdb.btrace/instruction_history.exp: Likewise. + * gdb.btrace/nohist.exp: Likewise. + * gdb.btrace/record_goto.exp: Likewise. + * gdb.btrace/segv.exp: Likewise. + * gdb.btrace/stepi.exp: Likewise. + * gdb.btrace/tailcall.exp: Likewise. + * gdb.btrace/unknown_functions.exp: Likewise. + * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise. + * lib/gdb.exp: Add the "multi_line" helper. + +2015-04-01 Pedro Alves + + * gdb.threads/tid-reuse.c: New file. + * gdb.threads/tid-reuse.exp: New file. + +2015-03-31 Sergio Durigan Junior + + PR corefiles/16092 + * gdb.base/coredump-filter.c: New file. + * gdb.base/coredump-filter.exp: Likewise. + +2015-03-27 Petr Machata + + * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset. + (Dwarf::_line_count, Dwarf::_line_saw_file): New variables. + (Dwarf::assemble): Initialize them. + (Dwarf::lines): New function. + +2015-03-26 Jon Turney + + * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set + SYMBOL_PREFIX for x86_64-*-cygwin. + +2015-03-26 Andy Wingo + + PR symtab/18148 + * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a + const_value but not a location. + * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without + location defined in non-main CUs are visible. + +2015-03-26 Yao Qi + + PR testsuite/18139 + * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2. + Add a line number entry for the same line. + * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2. + Add a line number entry for the same line. + +2015-03-26 Yao Qi + + * gdb.linespec/break-asm-file0.s (func2): Use nop instead of + .int 0. + (func): Likewise. Add .Lfunc_1 label. + Use .Lfunc_1 label. + * gdb.linespec/break-asm-file1.s (func3): Use nop instead of + .int 0. + (func): Likewise. + Use .Lfunc_1 label. + +2015-03-26 Yao Qi + + * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing. + Call gdb_compile instead to compile each .s files without debug + information. + +2015-03-26 Yao Qi + + * gdb.base/savedregs.exp (process_saved_regs): Make + "Saved registers:" optional in the pattern. + +2015-03-25 Markus Metzger + + * gdb.btrace/next.exp: Merged into step.exp. + * gdb.btrace/finish.exp: Merged into step.exp. + * gdb.btrace/nexti.exp: Merged into stepi.exp. + * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using + "record goto" and checking the exact replay position. + * gdb.btrace/stepi.exp: Choose test file based on target. Do not + check for "Recording format" in "info record" output. + * gdb.btrace/record_goto.exp: Choose test file based on target. + * gdb.btrace/x86-record_goto.S: Renamed into ... + * gdb.btrace/x86_64-record_goto.S: ... this. + * gdb.btrace/i686-record_goto.S: New. + * gdb.btrace/x86-tailcall.S: Renamed into ... + * gdb.btrace/x86_64-tailcall.S: ... this. + * gdb.btrace/i686-tailcall.S: New. + * gdb.btrace/x86-tailcall.c: Renamed into ... + * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two + separate statements. Update test. + * gdb.btrace/delta.exp: Use record_goto.c as test file. + * gdb.btrace/gcore.exp: Use record_goto.c as test file. + * gdb.btrace/nohist.exp: Use record_goto.c as test file. + * gdb.btrace/tailcall.exp: Choose test file based on target. + * gdb.btrace/Makefile.in: Remove next, finish, and nexti. + +2015-03-25 Markus Metzger + + * gdb.btrace/exception.exp: Increase BTS buffer size. + +2015-03-24 Pedro Alves + + * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all". + +2015-03-24 Pedro Alves + + * gdb.threads/schedlock.exp (test_step): No longer expect that + "set scheduler-locking step" with "next" over a function call runs + threads unlocked. + +2015-03-24 Antoine Tremblay + + * gdb.mi/mi-pending.exp: Fix output of breakpoint test. + +2015-03-24 Antoine Tremblay + + PR breakpoints/16466 + * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup. + * gdb.mi/mi-pending.c (thread_func): New function. + (int main): Add threading support required. + * gdb.mi/mi-pending.exp: Add tests for this issue. + * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency. + (pendfunc2): Remove stdio dependency. + * gdb.mi/mi-pendshr2.c: New file. + +2015-03-23 Keith Seitz + + * gdb.linespec/keywords.c: New file. + * gdb.linespec/keywords.exp: New file. + +2015-03-23 Keith Seitz + + PR gdb/18021 + * gdb.dwarf2/staticvirtual.exp: New test. + +2015-03-20 Jan Kratochvil + + * Makefile.in (ALL_SUBDIRS): Remove gdb.hp. + * README: Remove HP-UX and gdb.hp. + (configuration): + * configure: Regenerate. + * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile, + gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile, + gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile, + gdb.hp/gdb.defects/Makefile. + * gdb.hp/Makefile.in: File deleted. + * gdb.hp/gdb.aCC/Makefile.in: File deleted. + * gdb.hp/gdb.aCC/optimize.c: File deleted. + * gdb.hp/gdb.aCC/optimize.exp: File deleted. + * gdb.hp/gdb.aCC/run.c: File deleted. + * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted. + * gdb.hp/gdb.base-hp/Makefile.in: File deleted. + * gdb.hp/gdb.base-hp/callfwmall.c: File deleted. + * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted. + * gdb.hp/gdb.base-hp/dollar.c: File deleted. + * gdb.hp/gdb.base-hp/dollar.exp: File deleted. + * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted. + * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted. + * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted. + * gdb.hp/gdb.base-hp/pxdb.c: File deleted. + * gdb.hp/gdb.base-hp/pxdb.exp: File deleted. + * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted. + * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted. + * gdb.hp/gdb.base-hp/reg.exp: File deleted. + * gdb.hp/gdb.base-hp/reg.s: File deleted. + * gdb.hp/gdb.base-hp/sized-enum.c: File deleted. + * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted. + * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted. + * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted. + * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted. + * gdb.hp/gdb.compat/Makefile.in: File deleted. + * gdb.hp/gdb.compat/average.c: File deleted. + * gdb.hp/gdb.compat/sum.c: File deleted. + * gdb.hp/gdb.compat/xdb.c: File deleted. + * gdb.hp/gdb.compat/xdb0.c: File deleted. + * gdb.hp/gdb.compat/xdb0.h: File deleted. + * gdb.hp/gdb.compat/xdb1.c: File deleted. + * gdb.hp/gdb.compat/xdb1.exp: File deleted. + * gdb.hp/gdb.compat/xdb2.exp: File deleted. + * gdb.hp/gdb.compat/xdb3.exp: File deleted. + * gdb.hp/gdb.defects/Makefile.in: File deleted. + * gdb.hp/gdb.defects/bs14602.c: File deleted. + * gdb.hp/gdb.defects/bs14602.exp: File deleted. + * gdb.hp/gdb.defects/solib-d.c: File deleted. + * gdb.hp/gdb.defects/solib-d.exp: File deleted. + * gdb.hp/gdb.defects/solib-d1.c: File deleted. + * gdb.hp/gdb.defects/solib-d2.c: File deleted. + * gdb.hp/gdb.objdbg/Makefile.in: File deleted. + * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted. + * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted. + * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted. + * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted. + * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted. + * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted. + * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted. + * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted. + * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted. + * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted. + * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted. + * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted. + * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted. + * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted. + * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted. + * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted. + * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted. + * gdb.hp/gdb.objdbg/tools/symaddr: File deleted. + * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted. + * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted. + * gdb.hp/tools/odump: File deleted. + +2015-03-19 Pedro Alves + + * gdb.threads/continue-pending-status.exp (saw_thread_2) + (saw_thread_3): New globals. + (top level): Increment them when an event for the corresponding + thread is seen. + (no thread starvation): New test. + +2015-03-19 Pedro Alves + + * gdb.threads/continue-pending-status.c: New file. + * gdb.threads/continue-pending-status.exp: New file. + +2015-03-18 Pedro Alves + + * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): + Use gdb_is_target_remote instead of is_remote. Use + gdb_test_multiple instead of gdb_expect. Exit early if + gdb_test_multiple hits its internal matches. Tighten stepi tests + expected output. Fail on exit with any signal, instead of just + SIGILL. + +2015-03-18 Yao Qi + + PR tdep/18107 + * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New + variable. + * gdb.base/catch-syscall.exp: Don't skip it on + aarch64*-*-linux* target. Remove elements in all_syscalls. + (test_catch_syscall_multi_arch): Skip it on aarch64*-linux* + target. + (setup_all_syscalls): New proc. + +2015-03-16 Yao Qi + + * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc. + (top level): Skip tests if valid_addr_p returns false for + $cmd1 or $cmd2. + +2015-03-11 Andy Wingo + + * gdb.guile/scm-objfile.exp: Add objfile-progspace test. + +2015-03-11 Yao Qi + + * gdb.base/catch-syscall.exp: Fix typo in comments. + +2015-03-11 Yao Qi + + * gdb.base/catch-syscall.exp: Skip it on HP-UX target. + +2015-03-09 Pedro Alves + + * dg-extract-results.py: Delete. + +2015-03-09 Pedro Alves + + Merge dg-extract-results.sh from GCC upstream (r218843). + + 2014-12-17 Sergio Durigan Junior + * dg-extract-results.sh: Use --text with grep to avoid issues with + binary files. Fall back to cat -v, if that doesn't work. + +2015-03-05 Pedro Alves + + * gdb.base/bp-permanent.exp: Tighten "next over setup" regex. + +2015-03-04 Simon Marchi + + * lib/mi-support.exp (mi_expect_interrupt): Accept + alternative event for when in all-stop mode. + +2015-03-04 Pedro Alves + + * gdb.threads/thread-specific-bp.exp: Delete "info threads" test. + +2015-03-04 Mark Kettenis + + * gdb.base/foll-fork.exp: Enable on *-*-openbsd*. + +2015-03-04 Andreas Arnez + + * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the + regexps for GDB's current line display, accept a hex address + preceding the line number. + +2015-03-04 Andreas Arnez + + * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set + the 'arch1' variable for "s390*-linux*" targets. + +2015-03-04 Pedro Alves + + * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h. + (main): Pass missing retval argument to pthread_join call. + +2015-03-02 Pedro Alves + + * gdb.threads/thread-execl.exp (do_test): Handle non-stop. + (top level): Call do_test with non-stop as well. + +2015-03-02 Pedro Alves + + * lib/gdb.exp (gdb_test_multiple) : Set result to + -1. + +2015-03-02 Andreas Arnez + + * gdb.arch/s390-vregs.exp: New test. + * gdb.arch/s390-vregs.S: New file. + +2015-02-27 Pedro Alves + + * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust + call to catch_command_errors. + * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to + catch_command_errors. + +2015-02-27 Pedro Alves + + * gdb.gdb/complaints.exp (test_initial_complaints): Also accept + "true" for boolean result. + * gdb.gdb/selftest.exp (test_with_self): Also accept full + prototype of main. + +2015-02-27 Pedro Alves + + * lib/unbuffer_output.c: New file. + * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c". + (main): Call gdb_unbuffer_output. + +2015-02-27 Yao Qi + + * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux* + target. + +2015-02-26 Doug Evans + + * gdb.cp/class2.cc (Dbase, D): New classes. + (main): New local delta. + * gdb.cp/class2.exp: Test printing delta. + * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes. + (dynbar): New global. + * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar. + +2015-02-26 Jan Kratochvil + + * gdb.compile/compile-ifunc.c: New file. + * gdb.compile/compile-ifunc.exp: New file. + +2015-02-26 Antoine Tremblay + + * gdb.base/structs.exp: Check for correct struct on finish. + +2015-02-26 Yao Qi + + * lib/dwarf.exp (function_range): Adjust pattern when $func_length + is zero. + +2015-02-26 Jan Kratochvil + + * gdb.arch/cordic.ko.bz2: New file. + * gdb.arch/cordic.ko.debug.bz2: New file. + * gdb.arch/ppc64-symtab-cordic.exp: New file. + +2015-02-25 Yao Qi + + * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for + aarch64*-*-* target. + +2015-02-23 Pedro Alves + + * lib/gdb.exp (delete_breakpoints): Rewrite using + gdb_test_multiple. + +2015-02-23 Pedro Alves + + * gdb.base/info-os.c: Include stdlib.h. + +2015-02-22 Doug Evans + + PR symtab/17855 + * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache + is read after symbols have been re-read. + * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me. + * gdb.ada/exec_changed/second.adb (Second): Ditto. + +2015-02-21 Doug Evans + + * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'. + +2015-02-21 Jan Kratochvil + + PR corefiles/17808 + * gdb.arch/i386-biarch-core.core.bz2: New file. + * gdb.arch/i386-biarch-core.exp: New file. + +2015-02-21 Pedro Alves + + * gdb.threads/multi-create-ns-info-thr.exp: Return early if + runto_main fails. + +2015-02-20 Pedro Alves + + * gdb.base/solib-corrupted.exp: Expect "stap" as first column of + info probes. + +2015-02-20 Pedro Alves + + * gdb.threads/multi-create-ns-info-thr.exp: New file. + +2015-02-20 Pedro Alves + + * gdb.trace/no-attach-trace.exp: Don't run to main. Do + clean_restart before gdb_target_supports_trace. + +2015-02-20 Pedro Alves + + PR threads/18006 + * gdb.threads/clone-thread_db.c: New file. + * gdb.threads/clone-thread_db.exp: New file. + +2015-02-19 Antoine Tremblay + + PR breakpoints/16812 + * gdb.base/catch-gdb-caused-signals.c: New file. + * gdb.base/catch-gdb-caused-signals.exp: New file. + +2015-02-18 Jose E. Marchesi + + * configure: Regenerated. + * configure.ac: Use GDB_AC_TRANSFORM. + * aclocal.m4: sinclude ../transform.m4. + +2015-02-17 Jose E. Marchesi + + * lib/dtrace.exp: New file. + * gdb.base/dtrace-probe.exp: Likewise. + * gdb.base/dtrace-probe.d: Likewise. + * gdb.base/dtrace-probe.c: Likewise. + * lib/pdtrace.in: Likewise. + * configure.ac: Output variables with the transformed names of + the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in. + * configure: Regenerated. + +2015-02-17 Jose E. Marchesi + + * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from + expected message when trying to access $_probe_* convenience + variables while not on a probe. + +2015-02-11 Jan Kratochvil + + * gdb.python/py-framefilter.exp (pagination quit - *): New tests. + +2015-02-11 Pedro Alves + + * gdb.threads/step-bg-decr-pc-switch-thread.c: New file. + * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file. + +2015-02-10 Doug Evans + + * lib/gdb.exp (gdb_load): Always return a result. + +2015-02-10 Pedro Alves + + * gdb.threads/signal-sigtrap.c: New file. + * gdb.threads/signal-sigtrap.exp: New file. + +2015-02-10 Antoine Tremblay + + * gdb.trace/no-attach-trace.c: New file. + * gdb.trace/no-attach-trace.exp: New file. + +2015-02-09 Mark Wielaard + + * gdb.dwarf2/atomic.c: New file. + * gdb.dwarf2/atomic-type.exp: Likewise. + +2015-02-09 Markus Metzger + + * gdb.btrace/buffer-size.exp: Update "info record" output. + * gdb.btrace/delta.exp: Update "info record" output. + * gdb.btrace/enable.exp: Update "info record" output. + * gdb.btrace/finish.exp: Update "info record" output. + * gdb.btrace/instruction_history.exp: Update "info record" output. + * gdb.btrace/next.exp: Update "info record" output. + * gdb.btrace/nexti.exp: Update "info record" output. + * gdb.btrace/step.exp: Update "info record" output. + * gdb.btrace/stepi.exp: Update "info record" output. + * gdb.btrace/nohist.exp: Update "info record" output. + +2015-02-09 Markus Metzger + + * gdb.btrace/buffer-size: New. + +2015-02-09 Markus Metzger + + * gdb.btrace/delta.exp: Update "info record" output. + * gdb.btrace/enable.exp: Update "info record" output. + * gdb.btrace/finish.exp: Update "info record" output. + * gdb.btrace/instruction_history.exp: Update "info record" output. + * gdb.btrace/next.exp: Update "info record" output. + * gdb.btrace/nexti.exp: Update "info record" output. + * gdb.btrace/step.exp: Update "info record" output. + * gdb.btrace/stepi.exp: Update "info record" output. + * gdb.btrace/nohist.exp: Update "info record" output. + +2015-02-06 Simon Marchi + + PR gdb/15678 + * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input. + +2015-02-06 Pedro Alves + + * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New + macro. + (seconds_left, again): New globals. + (main): Wait seconds_left in a 1-second sleep loop instead of + sleeping 180 seconds. If 'again' is set, reset the seconds + counter. + * gdb.threads/attach-many-short-lived-threads.exp (test): Set + 'again' in the inferior before detaching. Print the seconds left. + (options): New global. + (top level): Build program with -DTIMEOUT=$timeout. + +2015-02-06 Pedro Alves + + * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to + determine how many seconds to pass to 'alarm'. + * gdb.base/gdb-sigterm.exp (top level): Build program with + -DTIMEOUT=$timeout. + (do_test): Return success/failure indication. Add more verbose + logging. Don't fail if 200 single steps are seen. Instead, fail + when the test times out. + (passes): New global. + (top level): Break the testing loop if testing fails on any + iteration. Use gdb_assert. + +2015-02-04 Don Breazeal + + * gdb.base/info-os.c (shmid, semid, msqid): Make variables static + and initialize them. + (ipc_cleanup): New function. + (main): Don't declare shmid, semid, and msqid. Add a call to + atexit so that we call ipc_cleanup on exit. + +2015-02-04 Pedro Alves + + * boards/native-extended-gdbserver.exp: Remove any target variant + specifications from the board name before clearing the isremote + flag from board_info. + +2015-01-31 Doug Evans + + * gdb.base/maint.exp : Update expected output. + +2015-01-31 Gary Benson + + * gdb.base/completion.exp: Disable completion limiting for + existing tests. Add new tests to check completion limiting. + * gdb.linespec/ls-errs.exp: Disable completion limiting. + +2015-01-31 Doug Evans + + * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12. + +2015-01-31 Doug Evans + + * gdb.guile/scm-section-script.c: Add duplicate inlined section script + entries. Duplicate file section script entries. + * gdb.guile/scm-section-script.exp: Add tests for duplicate entries, + inlined entries. Add test for safe-path rejection. + * gdb.python/py-section-script.c: Add duplicate inlined section script + entries. Duplicate file section script entries. + * gdb.python/py-section-script.exp: Add tests for duplicate entries, + inlined entries. Add test for safe-path rejection. + +2015-01-29 Joel Brobecker + + * gdb.ada/disc_arr_bound: New testcase. + +2015-01-29 Joel Brobecker + + * gdb.ada/mi_var_array: New testcase. + +2015-01-27 Doug Evans + + * gdb.python/py-objfile.exp: Add tests for objfile.username. + Add test for objfile.filename, objfile.username after objfile + has been unloaded. + +2015-01-26 Joel Brobecker + + * gdb.python/py-lookup-type.exp (test_lookup_type): Change + the second test to print the name attribute of value + returned by the call to gdb.lookup_type, and adjust + the expected output accordingly. + +2015-01-25 Mark Wielaard + + * gdb.arch/i386-bp_permanent.c (standard): New declaration. + * gdb.base/disp-step-fork.c: Include unistd.h. + * gdb.base/siginfo-obj.c: Include stdio.h. + * gdb.base/siginfo-thread.c: Likewise. + * gdb.mi/non-stop.c: Include unistd.h. + * gdb.mi/nsthrexec.c: Include stdio.h. + * gdb.mi/pthreads.c: Include unistd.h. + * gdb.modula2/unbounded1.c (main): Declare returns int. + * gdb.reverse/consecutive-reverse.c: Likewise. + * gdb.threads/create-fail.c: Include unistd.h. + * gdb.threads/killed.c: Likewise. + * gdb.threads/linux-dp.c: Likewise. + * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h. + * gdb.threads/non-ldr-exc-2.c: Likewise. + * gdb.threads/non-ldr-exc-3.c: Likewise. + * gdb.threads/non-ldr-exc-4.c: Likewise. + * gdb.threads/pthreads.c: Include unistd.h. + (main): Declare returns int. + * gdb.threads/tls-main.c (foo): New declaration. + * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE. + +2015-01-23 Simon Marchi + + * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file. + * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file. + +2015-01-15 Mark Wielaard + + * gdb.base/noreturn-return.c: New file. + * gdb.base/noreturn-return.exp: New file. + * gdb.base/noreturn-finish.c: New file. + * gdb.base/noreturn-finish.exp: New file. + +2015-01-23 Pedro Alves + + * gdb.threads/continue-pending-after-query.c: New file. + * gdb.threads/continue-pending-after-query.exp: New file. + +2015-01-22 Anders Granlund + Simon Marchi + + * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id. + * gdb.base/valgrind-db-attach.exp: Same. + * gdb.base/valgrind-infcall.exp: Same. + * lib/mi-support.exp (default_mi_gdb_start): Same. + * lib/prompt.exp (default_prompt_gdb_start): Same. + * lib/gdb.exp (default_gdb_spawn): Same. + (gdb_interact): New. + + +2015-01-22 Jan Kratochvil + + * gdb.compile/compile.exp (pointer to jit function): New test. + +2015-01-17 Wei-cheng Wang + + * lib/gdb.exp (supports_process_record): Return true for + powerpc*-*-linux*. + (supports_reverse): Likewise. + +2015-01-15 Don Breazeal + + * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach + instead of checking whether the target board is remote and + use spawn_wait_for_attach instead of exec/sleep. + * gdb.base/attach-twice.exp: Likewise. + +2015-01-15 Joel Brobecker + + * gdb.ada/var_arr_attrs: New testcase. + +2015-01-14 Pedro Alves + Joel Brobecker + + PR gdb/17525 + * gdb.base/bp-cmds-execution-x-script.c: New file. + * gdb.base/bp-cmds-execution-x-script.exp: New file. + * gdb.base/bp-cmds-execution-x-script.gdb: New file. + +2015-01-14 Pedro Alves + + PR cli/17828 + * gdb.base/batch-preserve-term-settings.c: New file. + * gdb.base/batch-preserve-term-settings.exp: New file. + +2015-01-13 Doug Evans + + * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked + binary. + +2015-01-13 Joel Brobecker + + * Makefile.in (clean mostlyclean): Do not delete *.py. + +2015-01-13 Joel Brobecker + + * gdb.python/py-lookup-type.exp: New file. + +2015-01-12 Pedro Alves + + * gdb.python/py-prompt.exp: When the board can't spawn for attach, + restore GDBFLAGS before returning. + +2015-01-12 Jan Kratochvil + + * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use + is_amd64_regs_target and is_x86_like_target. + +2015-01-11 Doug Evans + + * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value + is given without an explicit form. + * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric + attributes. + * gdb.dwarf/corrupt.exp: Ditto. + * gdb.dwarf2/enum-type.exp: Ditto. + * gdb.trace/entry-values.exp: Ditto. + * gdb.trace/unavailable-dwarf-piece.exp: Ditto. + +2015-01-11 Doug Evans + + PR gdb/15830 + * gdb.base/maint.exp: Remove references to "maint demangle". + * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle". + Add tests for explicitly specifying language to demangle. + * gdb.dlang/demangle.exp: Ditto. + +2015-01-09 Pedro Alves + + * gdb.threads/non-stop-fair-events.c: New file. + * gdb.threads/non-stop-fair-events.exp: New file. + +2015-01-09 Pedro Alves + + * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from + the global scope. Set a breakpoint after all threads are started + rather than stepping over two source lines. Expect the prompt. + * gdb.base/watch_thread_num.c (threads_started_barrier): New + global. + (NUM): Now 15. + (main): Use threads_started_barrier to wait for all threads to + start. Main thread no longer calls thread_function. Exit after + 180 seconds. + (loop): New function. + (thread_function): Wait on threads_started_barrier barrier. Call + 'loop' at each iteration. + * gdb.base/watch_thread_num.exp: Continue to breakpoint after all + threads have started, instead of hardcoding number of "next" + steps. Use an access watchpoint instead of a write watchpoint. + +2015-01-09 Pedro Alves + + * gdb.threads/ia64-sigill.c (threads_started_barrier): New global. + (thread_func): Wait on barrier. + (main): Wait for all threads to start before stopping GDB. + * gdb.threads/siginfo-threads.c (threads_started_barrier): New + global. + (thread1_func, thread2_func): Wait on barrier. + (main): Wait for all threads to start before stopping GDB. + * gdb.threads/watchthreads-reorder.c (threads_started_barrier): + New global. + (thread1_func, thread2_func): Wait on barrier. + (main): Wait for all threads to start before stopping GDB. + +2015-01-09 Pedro Alves + + * gdb.threads/attach-many-short-lived-threads.c: New file. + * gdb.threads/attach-many-short-lived-threads.exp: New file. + +2014-01-09 Pedro Alves + + * gdb.threads/fork-thread-pending.exp: Switch to the main thread + instead of to thread 2. + * gdb.threads/signal-command-multiple-signals-pending.c (main): + Add barrier around each pthread_create call instead of around all + calls. + * gdb.threads/signal-command-multiple-signals-pending.exp (test): + Set a break on thread_function and have the child threads hit it + one at at a time. + +2015-01-09 Pedro Alves + + * lib/gdb.exp (can_spawn_for_attach): New procedure. + (spawn_wait_for_attach): Error out if can_spawn_for_attach returns + false. + * gdb.base/attach.exp: Use can_spawn_for_attach instead of + checking whether the target board is remote. + * gdb.multi/multi-attach.exp: Likewise. + * gdb.python/py-sync-interp.exp: Likewise. + * gdb.server/ext-attach.exp: Likewise. + * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the + tests that need to attach, instead of checking whether the target + board is remote at the top of the file. + +2015-01-08 Yao Qi + + * gdb.trace/entry-values.exp: Set call_insn for MIPS target. + +2015-01-07 Jan Kratochvil + + Fix testcase compilation. + * gdb.arch/i386-avx512.exp (comp_flags): Remove /common. + +2015-01-06 Joel Brobecker + + * gdb.python/py-type.exp: Add a couple test about empty + array creation, and negative-length array creation. + +2015-01-02 Doug Evans + + * gdb.cp/nsalias.exp: Fix output of external/declaration flags. + +2015-01-02 Doug Evans + + * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc. + +2014-12-29 Yao Qi + + * gdb.trace/entry-values.exp: Update comments. Rename variable + bar_call_foo to returned_from_foo. + +2014-12-20 Mihail-Marian Nistor + + PR gdb/17394 + * gdb.linespec/break-asm-file.c: New file. + * gdb.linespec/break-asm-file.exp: New file. + * gdb.linespec/break-asm-file0.s: New file. + * gdb.linespec/break-asm-file1.s: New file. + +2014-12-18 Nigel Stephens + Maciej W. Rozycki + + * gdb.base/float.exp: Handle the new output from "info float" on + MIPS targets. + +2014-12-17 Jan Kratochvil + + Fix MinGW compilation. + * gdb.compile/compile-ops.exp: Update untested message if + !skip_compile_feature_tests. + * gdb.compile/compile-setjmp.exp: Likewise. + * gdb.compile/compile-tls.exp: Likewise. + * gdb.compile/compile.exp: Likewise. + * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not + supported on this host". + +2014-12-16 Doug Evans + + * boards/stabs.exp: New file. + +2014-12-16 Andreas Arnez + + * gdb.base/completion.exp: Adjust to format changes of "maint + print user-registers". + +2014-12-16 Catalin Udma + + PR server/17457 + * gdb.arch/aarch64-fp.c: New file. + * gdb.arch/aarch64-fp.exp: New file. + +2014-12-15 Sergio Durigan Junior + + Merge dg-extract-results.{sh,py} from GCC upstream (r210243, + r210637, r210913, r211666, r215400, r215817). + + 2014-05-08 Richard Sandiford + * dg-extract-results.py: New file. + * dg-extract-results.sh: Use it if the environment seems + suitable. + + 2014-05-20 Richard Sandiford + + * dg-extract-results.py (parse_run): Handle warnings that + are printed before a test harness is run. + + 2014-05-25 Richard Sandiford + + * dg-extract-results.py (Named): Remove __cmp__ method. + (output_variation): Use a key to sort variation.harnesses. + + 2014-06-14 Richard Sandiford + + * dg-extract-results.py: For Python 3, force sys.stdout to + handle surrogate escape sequences. + (safe_open): New function. + (output_segment, main): Use it. + + 2014-09-19 Segher Boessenkool + + * dg-extract-results.py (Prog.result_re): Include options + in test name. + + 2014-10-02 Segher Boessenkool + + * dg-extract-results.py (output_variation): Always sort if + do_sum. + +2014-12-15 Simon Marchi + + * lib/gdb.exp (default_gdb_start): After starting gdb, loop + as long as we get pagination notifications. + +2014-12-15 Jason Merrill + + * Makefile.in (check-gdb.%): Restore. + * README: Mention it. + +2014-12-13 Joel Brobecker + + * gdb.ada/str_uninit: New testcase. + +2014-12-13 Jan Kratochvil + + PR symtab/17642 + * gdb.base/vla-stub-define.c: New file. + * gdb.base/vla-stub.c: New file. + * gdb.base/vla-stub.exp: New file. + +2014-12-12 Phil Muldoon + Jan Kratochvil + Tom Tromey + + * configure.ac: Add gdb.compile/. + * configure: Regenerate. + * gdb.compile/Makefile.in: New file. + * gdb.compile/compile-ops.exp: New file. + * gdb.compile/compile-ops.c: New file. + * gdb.compile/compile-tls.c: New file. + * gdb.compile/compile-tls.exp: New file. + * gdb.compile/compile-constvar.S: New file. + * gdb.compile/compile-constvar.c: New file. + * gdb.compile/compile-mod.c: New file. + * gdb.compile/compile-nodebug.c: New file. + * gdb.compile/compile-setjmp-mod.c: New file. + * gdb.compile/compile-setjmp.c: New file. + * gdb.compile/compile-setjmp.exp: New file. + * gdb.compile/compile-shlib.c: New file. + * gdb.compile/compile.c: New file. + * gdb.compile/compile.exp: New file. + * lib/gdb.exp (skip_compile_feature_tests): New proc. + +2014-12-12 Tom Tromey + + * lib/dwarf.exp (_location): Ignore blank lines. Allow comments. + Handle DW_OP_pick, DW_OP_skip, DW_OP_bra. + +2014-12-12 Doug Evans + + * lib/gdb-python.exp (get_python_valueof): New function. + * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile. + +2014-12-12 Andreas Arnez + + * gdb.base/completion.exp: Add test for completion of "info + registers ". + +2014-12-12 Maciej W. Rozycki + + * gdb.base/func-ptrs.c: New file. + * gdb.base/func-ptrs.exp: New file. + +2014-12-10 Simon Marchi + + PR breakpoints/17012 + * gdb.base/dprintf-detach.c: New file. + * gdb.base/dprintf-detach.exp: New file. + +2014-12-10 Simon Marchi + + * gdb.trace/qtro.exp: Replace gdbserver detection code by... + * lib/gdb.exp (target_is_gdbserver): New procedure. + +2014-12-08 Doug Evans + + * gdb.python/py-objfile.exp: Add tests for objfile.owner. + +2014-12-05 Yao Qi + + * gdb.guile/scm-error.exp: Remove the third argument to + gdb_remote_download. + * gdb.guile/scm-frame-args.exp: Likewise. + * gdb.guile/scm-section-script.exp: Likewise. + +2014-12-05 Yao Qi + + * gdb.arch/i386-bp_permanent.exp: Use standard_testfile. + +2014-12-04 Doug Evans + + * gdb.python/py-objfile.exp: Add tests for + objfile.add_separate_debug_file. + +2014-12-04 Doug Evans + + * lib/gdb.exp (get_build_id): New function. + (build_id_debug_filename_get): Rewrite to use it. + * gdb.python/py-objfile.exp: Add test for objfile.build_id. + +2014-12-04 Maciej W. Rozycki + + * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of + `method(long)', not just 0x0. + * gdb.cp/nsalias.exp: Align code labels to 4. + * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes. + * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise. + * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise. + * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro. + (cu_text_start, FUNC_lang_start): Use `START_INSNS'. + * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints. + +2014-12-02 Doug Evans + + PR symtab/17602 + * gdb.cp/anon-ns.cc: Move guts of this file to ... + * gdb.cp/anon-ns2.cc: ... here. New file. + * gdb.cp/anon-ns.exp: Update. + +2014-12-02 Nick Bull + + * gdb.python/py-events.py (inferior_call_handler): New. + (register_changed_handler, memory_changed_handler): New. + (test_events.invoke): Register new handlers. + * gdb.python/py-events.exp: Add tests for inferior call, + memory_changed and register_changed events. + +2014-12-02 Andreas Arnez + + * gdb.base/execl-update-breakpoints.exp: Specify the link address + with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext' + if the linker doesn't understand this. + +2014-12-01 Simon Marchi + + * gdb.python/python.exp: Change expected reply to help(). + +2014-12-01 Yao Qi + + * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke + AC_CONFIG_SUBDIRS(gdb.gdbtk). + * configure: Re-generated. + +2014-11-28 Siva Chandra Reddy + + * gdb.cp/chained-calls.cc: New file. + * gdb.cp/chained-calls.exp: New file. + * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta". + +2014-11-28 Simon Marchi + + * gdb.ada/py_range.exp: Add parentheses to python calls to print. + * gdb.dwarf2/symtab-producer.exp: Same. + * gdb.gdb/python-interrupts.exp: Same. + * gdb.gdb/python-selftest.exp: Same. + * gdb.python/py-linetable.exp: Same. + * gdb.python/py-type.exp: Same. + * gdb.python/py-value-cc.exp: Same. + * gdb.python/py-value.exp: Same. + +2014-11-28 Yao Qi + + * gdb.base/break-probes.exp: Match library name prefixed with + sysroot. + +2014-11-27 Simon Marchi + + * gdb.python/py-linetable.exp: Escape properly sorted(fset) + test expected output. Add parentheses for the call to print. + Remove L suffix from integers. + +2014-11-26 Doug Evans + + * gdb.dwarf2/dw2-op-out-param.S: Fix comment. + +2014-11-22 Yao Qi + + * gdb.trace/entry-values.c: Remove asms. + (foo): Add foo_label. + (bar): Add bar_label. + * gdb.trace/entry-values.exp: Remove code computing foo's + length and bar's length. + (Dwarf::assemble): Invoke function_range for bar and use + MACRO_AT_func for foo. + +2014-11-22 Yao Qi + + * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart + and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42. + Use .Lgcc43_procstart instead of gcc43. + +2014-11-21 Joel Brobecker + + * gdb.ada/n_arr_bound: New testcase. + +2014-11-20 Sergio Durigan Junior + + PR breakpoints/10737 + * gdb.base/catch-syscall.exp (do_syscall_tests): Call + test_catch_syscall_multi_arch. + (test_catch_syscall_multi_arch): New function. + +2014-11-20 Doug Evans + + * gdb.base/maint.exp: Update expected output. + +2014-11-19 Andreas Arnez + + * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of + 4-byte instruction on S390. + +2014-11-19 Joel Brobecker + + * gdb.ada/arr_arr: New testcase. + +2014-11-19 Joel Brobecker + + * gdb.ada/pkd_arr_elem: New Testcase. + +2014-11-18 Luis Machado + + * gdb.reverse/break-precsave: Expect completion message for + core file reads. + * gdb.reverse/consecutive-precsave.exp: Likewise. + * gdb.reverse/finish-precsave.exp: Likewise. + * gdb.reverse/i386-precsave.exp: Likewise. + * gdb.reverse/machinestate-precsave.exp: Likewise. + * gdb.reverse/sigall-precsave.exp: Likewise. + * gdb.reverse/solib-precsave.exp: Likewise. + * gdb.reverse/step-precsave.exp: Likewise. + * gdb.reverse/until-precsave.exp: Likewise. + * gdb.reverse/watch-precsave.exp: Likewise. + +2014-11-17 Andreas Arnez + + * gdb.base/bp-permanent.c: Include unistd.h. + * gdb.python/py-framefilter-mi.c (main): Add return type. + * gdb.python/py-framefilter.c (main): Likewise. + * gdb.trace/actions-changed.c (main): Likewise. + +2014-11-17 Andreas Arnez + + * gdb.mi/until.c: Add eye-catchers. + * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal + line numbers. + +2014-11-17 Andreas Arnez + + * gdb.base/condbreak.exp: Drop references to removed non-prototype + function header variants in break1.c. + * gdb.base/ena-dis-br.exp: Likewise. + * gdb.base/hbreak2.exp: Likewise. + * gdb.reverse/until-precsave.exp: Drop references to removed + non-prototype function header variants in ur1.c. + * gdb.reverse/until-reverse.exp: Likewise. + +2014-11-17 Petr Machata + + * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit + ${_cu_offset_size} bytes abbrev offset. + +2014-11-15 Doug Evans + + PR symtab/17559 + * gdb.base/line-symtabs.exp: New file. + * gdb.base/line-symtabs.c: New file. + * gdb.base/line-symtabs.h: New file. + +2014-11-14 Yao Qi + + * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm. + (func): Add label func_label. + * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): + Replace low_pc and high_pc with MACRO_AT_range. + Replace name, low_pc and high_pc with MACRO_AT_func. + +2014-11-14 Yao Qi + + * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble): + Replace name, low_pc and high_pc with MACRO_AT_func. + +2014-11-14 Yao Qi + + * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to + produce debug information. + * gdb.dwarf2/implptr-optimized-out.S: Removed. + +2014-11-14 Yao Qi + + * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to + object and get function length. + (Dwarf::assemble): Replace name, low_pc and high_pc attributes + with MACRO_AT_func. + (top-level): Replace gdb_compile and clean_restart with + prepare_for_testing. + * gdb.dwarf2/main.c (main): Add label main_label. + +2014-11-14 Yao Qi + + * lib/dwarf.exp (function_range): New procedure. + (Dwarf::_handle_macro_at_func): New procedure. + (Dwarf::_handle_macro_at_range): New procedure. + (Dwarf): Handle MACRO_AT_func and MACRO_AT_range. + +2014-11-14 Yao Qi + + * lib/dwarf.exp (_handle_DW_TAG): Move some code to ... + (_handle_attribute): New procedure. + +2014-11-13 Andreas Arnez + + * gdb.ada/cond_lang/foo.c (callme): Add return type. + * gdb.base/call-sc.c (zed): Likewise. + * gdb.base/checkpoint.c (main): Likewise. + * gdb.base/dump.c (main): Likewise. + * gdb.base/gcore.c (main): Likewise. + * gdb.base/huge.c (main): Likewise. + * gdb.base/multi-forks.c (main): Likewise. + * gdb.base/pr10179-a.c (main): Likewise. + * gdb.base/savedregs.c (main): Likewise. + * gdb.base/sigaltstack.c (main): Likewise. + * gdb.base/siginfo.c (main): Likewise. + * gdb.base/structs.c (zed): Likewise. + * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise. + * gdb.mi/mi-syn-frame.c (main): Likewise. + * gdb.mi/until.c (foo, main): Likewise. + * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare. + * gdb.base/solib-weak.c (foo): Declare. + * gdb.base/attach-twice.c: Include stdio.h. + * gdb.base/weaklib1.c: Likewise. + * gdb.base/weaklib2.c: Likewise. + * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h. + * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and + unistd.h. + * gdb.base/attach-pie-misread.c: Include stdlib.h. + * gdb.mi/mi-exit-code.c: Likewise. + * gdb.base/break-interp-lib.c: Include string.h. + * gdb.base/coremaker.c: Likewise. + * gdb.base/testenv.c: Likewise. + * gdb.python/py-finish-breakpoint.c: Likewise. + * gdb.base/inferior-died.c: Include sys/wait.h. + * gdb.base/fileio.c: Include time.h. + * gdb.base/async-shell.c: Include unistd.h. + * gdb.base/dprintf-non-stop.c: Likewise. + * gdb.base/info-os.c: Likewise. + * gdb.mi/mi-console.c: Likewise. + * gdb.mi/watch-nonstop.c: Likewise. + * gdb.python/py-events.c: Likewise. + * gdb.base/async.c (baz): Move up before its invocation. + * gdb.base/code_elim2.c (my_global_func): Likewise. + * gdb.base/skip-solib-lib.c (multiply): Likewise. + * gdb.base/advance.c (func2): Likewise. + +2014-11-13 Andreas Arnez + + * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped + variant. + * gdb.base/annota3.c: Likewise. + * gdb.base/async.c: Likewise. + * gdb.base/average.c: Likewise. + * gdb.base/call-ar-st.c: Likewise. + * gdb.base/call-rt-st.c: Likewise. + * gdb.base/call-sc.c: Likewise. + * gdb.base/call-strs.c: Likewise. + * gdb.base/ending-run.c: Likewise. + * gdb.base/execd-prog.c: Likewise. + * gdb.base/exprs.c: Likewise. + * gdb.base/foll-exec.c: Likewise. + * gdb.base/foll-fork.c: Likewise. + * gdb.base/foll-vfork.c: Likewise. + * gdb.base/funcargs.c: Likewise. + * gdb.base/gcore.c: Likewise. + * gdb.base/jump.c: Likewise. + * gdb.base/langs0.c: Likewise. + * gdb.base/langs1.c: Likewise. + * gdb.base/langs2.c: Likewise. + * gdb.base/mips_pro.c: Likewise. + * gdb.base/nodebug.c: Likewise. + * gdb.base/opaque0.c: Likewise. + * gdb.base/opaque1.c: Likewise. + * gdb.base/recurse.c: Likewise. + * gdb.base/run.c: Likewise. + * gdb.base/scope0.c: Likewise. + * gdb.base/scope1.c: Likewise. + * gdb.base/setshow.c: Likewise. + * gdb.base/setvar.c: Likewise. + * gdb.base/shmain.c: Likewise. + * gdb.base/shr1.c: Likewise. + * gdb.base/shr2.c: Likewise. + * gdb.base/sigall.c: Likewise. + * gdb.base/signals.c: Likewise. + * gdb.base/so-indr-cl.c: Likewise. + * gdb.base/solib2.c: Likewise. + * gdb.base/structs.c: Likewise. + * gdb.base/sum.c: Likewise. + * gdb.base/vforked-prog.c: Likewise. + * gdb.base/watchpoint.c: Likewise. + * gdb.reverse/shr2.c: Likewise. + * gdb.reverse/until-reverse.c: Likewise. + * gdb.reverse/ur1.c: Likewise. + * gdb.reverse/watch-reverse.c: Likewise. + +2014-11-13 Andreas Arnez + + * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped + variant. + * gdb.base/sepdebug.exp: Drop references to removed code. + +2014-11-13 Andreas Arnez + + * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped + variant. Preserve original line numbering. + * gdb.base/list1.c: Likewise. + +2014-11-13 Andreas Arnez + + * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped + variant. + * gdb.base/break1.c: Likewise. + * gdb.base/break.exp: Drop references to removed code. + +2014-11-13 Andreas Arnez + + * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped + variant. + +2014-11-13 Andreas Arnez + + * gdb.base/callfuncs.exp (perform_all_tests): Re-indent. + +2014-11-13 Andreas Arnez + + * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main + logic into perform_all_tests() and invoke it with and without + function header prototypes. + (do_function_calls): Remove conditional XFAIL for PR 5318. + (rerun_and_prepare): Remove duplicate code. + (perform_all_tests): New. Main logic moved here. + +2014-11-13 Andreas Arnez + + * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in + code guarded by #ifdef NO_PROTOTYPES. + (t_double_many_args): Likewise. + (DEF_FUNC_MANY_ARGS_1): Likewise. + (DEF_FUNC_VALUES_1): Likewise. + (t_structs_ldc): Renamed from t_structs_fc in conditional code + guarded by #ifdef PROTOTYPES. + +2014-11-13 Andreas Arnez + + * gdb.mi/mi-console.c: Add eye-catcher. + * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher + instead of literal line number. + +2014-11-13 Andreas Arnez + + * gdb.base/shr2.c: Add eye-catcher. + * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal + line number. + +2014-11-13 Andreas Arnez + + * gdb.base/jump.c: Add eye-catchers. + * gdb.base/jump.exp: Refer to eye-catchers instead of literal line + numbers. + +2014-11-13 Andreas Arnez + + * gdb.base/execd-prog.c: Add eye-catchers. + * gdb.base/foll-exec.c: Likewise. + * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal + line numbers. + +2014-11-13 Andreas Arnez + + * gdb.base/ending-run.c: Add eye-catchers. + * gdb.base/ending-run.exp: Refer to eye-catchers instead of + literal line numbers. + +2014-11-13 Andreas Arnez + + * gdb.base/call-rt-st.c: Add eye-catchers. + * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of + literal line numbers. + +2014-11-13 Andreas Arnez + + * gdb.base/call-ar-st.c: Add eye-catchers. + * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of + literal line numbers. + +2014-11-13 Andreas Arnez + + * gdb.base/average.c: Add eye-catchers. + * gdb.base/sum.c: Likewise. + * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for + regexps dynamically. + +2014-11-13 Andreas Arnez + + * gdb.base/solib1.c: Add eye-catchers. + * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of + literal line numbers. + +2014-11-12 Pedro Alves + + * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the + leader has exited. + +2014-11-12 Pedro Alves + + * gdb.arch/i386-bp_permanent.c: New file. + * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64. + (srcfile): Set to i386-bp_permanent.c. + (top level): Adjust to work in both 32-bit and 64-bit modes. Test + that stepi does not execute the 'leave' instruction, instead of + testing it does execute. + * gdb.base/bp-permanent.c: New file. + * gdb.base/bp-permanent.exp: New file. + +2014-11-10 Doug Evans + + PR symtab/17564 + * gdb.base/symtab-search-order.exp: New file. + * gdb.base/symtab-search-order.c: New file. + * gdb.base/symtab-search-order-1.c: New file. + * gdb.base/symtab-search-order-shlib-1.c: New file. + +2014-11-07 Pedro Alves + + PR gdb/17511 + * gdb.base/sigstep.exp (in_handler_map) : xfail + i?86-*-linux*. + +2014-11-03 Siva Chandra Reddy + + PR c++/17494 + * gdb.cp/pr17494.cc: New file. + * gdb.cp/pr17494.exp: New file. + +2014-11-02 Yao Qi + + * gdb.python/python.exp: Get working directory and match the + output of "set extended-prompt \\w " with it. + +2014-10-30 Doug Evans + + * gdb.python/py-objfile.exp: Add tests for setting random attributes + in objfiles. + * gdb.python/py-progspace.exp: Add tests for setting random attributes + in progspaces. + +2014-10-30 Janis Johnson + + * gdb.base/fullpath-expand.exp: Skip for a remote host. + * gdb.base/realname-expand.exp: Likewise. + * gdb.linespec/macro-relative.exp: Likewise. + +2014-10-29 Pedro Alves + + PR gdb/17408 + * gdb.threads/schedlock.c (some_function): New function. + (call_function): New global. + (MAYBE_CALL_SOME_FUNCTION): New macro. + (thread_function): Call it. + * gdb.threads/schedlock.exp (get_args): Add description parameter, + and use it instead of a global counter. Adjust all callers. + (get_current_thread): Use "find current thread" for test message + here rather than having all callers pass down the same string. + (goto_loop): New procedure, factored out from ... + (my_continue): ... this. + (step_ten_loops): Change parameter from test message to command to + use. Adjust. + (list_count): Delete global. + (check_result): New procedure, factored out from duplicate top + level code. + (continue tests): Wrap in with_test_prefix. + (test_step): New procedure, factored out from duplicate top level + code. + (top level): Test "step" in combination with all scheduler-locking + modes. Test "next" in combination with all scheduler-locking + modes, and in combination with stepping over a function call or + not. + * gdb.threads/next-bp-other-thread.c: New file. + * gdb.threads/next-bp-other-thread.exp: New file. + +2014-10-29 Pedro Alves + + PR python/17372 + * gdb.python/python.exp: Test a multi-line command that spawns + interactive Python. + * gdb.base/multi-line-starts-subshell.exp: New file. + +2014-10-29 Yao Qi + + * gdb.base/fileio.exp: Make directories on host. + +2014-10-29 Yao Qi + + * gdb.base/fileio.c (test_write): Close the file. + +2014-10-28 Pedro Alves + + PR gdb/12623 + * gdb.base/sigstep.c (no_handler): New global. + (main): If 'no_handler is true, set the signal handlers to + SIG_IGN. + * gdb.base/sigstep.exp (breakpoint_over_handler): Add + with_sw_watch and no_handler parameters. Handle them. + (top level) : Add a test axis for testing with a software watchpoint, and + another for testing with the signal handler set to SIG_IGN. + * gdb.base/step-sw-breakpoint-adjust-pc.c: New file. + * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file. + +2014-10-28 Pedro Alves + + PR gdb/17511 + * gdb.base/sigstep.c (handler): Add a few more writes to 'done'. + * gdb.base/sigstep.exp (other_handler_location): New global. + (advance): Support stepping into the signal handler, and running + commands while in the handler. + (in_handler_map): New global. + (top level): In the advance test, add combinations for getting + into the handler with stepping commands, and for running commands + in the handler. Add comment descripting the advancei tests. + +2014-10-28 Pedro Alves + + * gdb.base/sigstep.exp: Use build_executable instead of + prepare_for_testing. + (top level): Move code that starts GDB, runs to main and creates a + display to ... + (restart): ... this new procedure. + (top level): Move backtrace from signal handler test to ... + (validate_backtrace): ... this new procedure. + (advance, advancei): Rename parameter from 'i' to 'cmd'. Use + with_test_prefix. Always restart GDB. + (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use + with_test_prefix. Always restart GDB. No need to delete + breakpoints after the test. + (test_skip_handler): Remove prefix parameter. + (skip_over_handler, breakpoint_to_handler) + (breakpoint_to_handler_entry, breakpoint_over_handler): Rename + parameter from 'i' to 'cmd'. Use with_test_prefix. Always + restart GDB. No need to delete breakpoints after the test. + (top level): Use foreach to call the test procedures with + different commands. + +2014-10-28 Pedro Alves + + * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers + instead of GNATS numbers. + * gdb.base/sigbpt.exp: Likewise. + * gdb.base/siginfo.exp: Likewise. + * gdb.base/sigstep.exp: Likewise. + +2014-10-27 Pedro Alves + + * gdb.base/sigstep.c (dummy): New global. + (main): Issue a couple writes to the new global. + * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New + procedures. + (skip_over_handler): Use test_skip_handler. + (top level): Call skip_over_handler for stepi and nexti too. + (breakpoint_over_handler): Use test_skip_handler. + (top level): Call breakpoint_over_handler for stepi and nexti too. + +2014-10-27 Yao Qi + + * gdb.trace/tfile.c (adjust_function_address) + [__powerpc64__ && _CALL_ELF != 2]: Get function address from + function descriptor. + +2014-10-24 Don Breazeal + + * gdb.base/foll-fork.exp (test_follow_fork, + catch_fork_child_follow): Check for updated fork messages emitted + from infrun.c. + * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step, + vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp, + vfork_and_exec_child_follow_through_step): Check for updated vfork + messages emitted from infrun.c. + +2014-10-24 Pedro Alves + + * gdb.base/corefile.exp: Remove references to ultrix. + * gdb.base/interrupt.exp: Likewise. + * gdb.base/whatis.exp: Likewise. + * gdb.gdb/selftest.exp: Likewise. + * gdb.threads/manythreads.exp: Likewise. + * gdb.threads/print-threads.exp: Likewise. + * gdb.threads/pthreads.exp:: Likewise. + * gdb.threads/schedlock.exp: Likewise. + +2014-10-24 Siva Chandra Reddy + + * gdb.cp/non-trivial-retval.cc: Add a test case. + * gdb.cp/non-trivial-retval.exp: Add a test. + +2014-10-20 Yao Qi + + * gdb.python/py-objfile-script-gdb.py.in: Rename it to ... + * gdb.python/py-objfile-script-gdb.py: New file. + * gdb.python/py-objfile-script.exp: Update reference to + py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead + of remote_download. Remove the dest file. + +2014-10-20 Yao Qi + + * gdb.base/checkpoint.exp: Don't remove file copied on host. + * gdb.base/step-line.exp: Likewise. + * gdb.dwarf2/dw2-anonymous-func.exp: Likewise. + * gdb.dwarf2/dw2-basic.exp: Likewise. + * gdb.dwarf2/dw2-compressed.exp: Likewise. + * gdb.dwarf2/dw2-filename.exp: Likewise. + * gdb.dwarf2/dw2-intercu.exp: Likewise. + * gdb.dwarf2/dw2-intermix.exp: Likewise. + * gdb.dwarf2/dw2-producer.exp: Likewise. + * gdb.dwarf2/mac-fileno.exp: Likewise. + * gdb.python/py-frame-args.exp: Likewise. + * gdb.python/py-framefilter.exp: Likewise. + * gdb.python/py-mi.exp: Likewise. + * gdb.python/py-objfile-script.exp: Likewise + * gdb.python/py-pp-integral.exp: Likewise. + * gdb.python/py-pp-re-notag.exp: Likewise. + * gdb.python/py-prettyprint.exp: Likewise. + * gdb.python/py-section-script.exp: Likewise. + * gdb.python/py-typeprint.exp: Likewise. + * gdb.python/py-xmethods.exp: Likewise. + * gdb.stabs/weird.exp: Likewise. + * gdb.xml/tdesc-regs.exp: Likewise. + +2014-10-18 Kwok Cheung Yeung + + * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New. + (out_cu): Use addr_len for the size of addresses. + (out_line): Likewise. Size DW_LNE_set_address instruction + according to addr_len. + * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New. + (FUNC): Add START_INSNS to definition. + +2014-10-18 Yao Qi + + * gdb.base/argv0-symlink.exp: Check argv[0] value if + gdb_has_argv0 return true. + * gdb.guile/scm-value.exp (test_value_in_inferior): Don't + check [target_info exists noargs], check [gdb_has_argv0] + instead. + * gdb.python/py-value.exp (test_value_in_inferior): Likewise. + * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New + procedures. + +2014-10-17 Doug Evans + + * gdb.python/py-events.exp: Update expected output for clear_objfiles + event. + * gdb.python/py-events.py: Add clear_objfiles event. + +2014-10-17 Doug Evans + + * gdb.python/py-objfile.exp: Test progspace attribute. + +2014-10-17 Luis Machado + + * gdb.guile/scm-breakpoint.exp: Do not assume any + directory separators when matching source file paths. + * gdb.python/py-breakpoint.exp: Likewise. + * gdb.reverse/break-precsave.exp: Likewise. + * gdb.reverse/break-reverse.exp: Likewise. + * gdb.reverse/consecutive-precsave.exp: Likewise. + * gdb.reverse/finish-precsave.exp: Likewise. + * gdb.reverse/finish-reverse-bkpt.exp: Likewise. + * gdb.reverse/finish-reverse.exp: Likewise. + * gdb.reverse/i386-precsave.exp: Likewise. + * gdb.reverse/i387-env-reverse.exp: Likewise. + * gdb.reverse/i387-stack-reverse.exp: Likewise. + * gdb.reverse/machinestate-precsave.exp: Likewise. + * gdb.reverse/machinestate.exp: Likewise. + * gdb.reverse/sigall-precsave.exp: Likewise. + * gdb.reverse/solib-precsave.exp: Likewise. + * gdb.reverse/step-precsave.exp: Likewise. + * gdb.reverse/until-precsave.exp: Likewise. + * gdb.reverse/watch-precsave.exp: Likewise. + * gdb.reverse/watch-reverse.exp: Likewise. + +2014-10-17 Yao Qi + + * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host. + * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host. + +2014-10-17 Pedro Alves + + PR gdb/17471 + * gdb.base/bg-execution-repeat.c: New file. + * gdb.base/bg-execution-repeat.exp: New file. + +2014-10-17 Pedro Alves + + PR gdb/17300 + * gdb.base/continue-all-already-running.c: New file. + * gdb.base/continue-all-already-running.exp: New file. + +2014-10-17 Pedro Alves + + PR gdb/17472 + * gdb.base/annota-input-while-running.c: New file. + * gdb.base/annota-input-while-running.exp: New file. + +2014-10-17 Pedro Alves + + * gdb.base/callfuncs.exp: emove references to osf. + * gdb.base/sigall.exp: Likewise. + * gdb.gdb/selftest.exp: Likewise. + * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise. + * gdb.mi/non-stop.c: Likewise. + * gdb.mi/pthreads.c: Likewise. + * gdb.reverse/sigall-precsave.exp: Likewise. + * gdb.reverse/sigall-reverse.exp: Likewise. + * gdb.threads/pthreads.c: Likewise. + * gdb.threads/pthreads.exp: Likewise. + +2014-10-17 Yao Qi + + * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't + check 'target_info exists noargs'. + (test_command_prompt_position): Likewise. + (progvar_simple_if_test): Don't check 'target_info exists noargs'. + Remove "set args". + (progvar_simple_while_test): Likewise. + (progvar_complex_if_while_test): Likewise. + (if_while_breakpoint_command_test): Likewise. + (infrun_breakpoint_command_test): Likewise. + (breakpoint_command_test): Likewise. + (watchpoint_command_test): Likewise. + (bp_deleted_in_command_test): Likewise. + (temporary_breakpoint_commands): Likewise. + +2014-10-16 Yao Qi + + * gdb.base/remotetimeout.exp: Remove noargs checking. + +2014-10-15 Pedro Alves + + PR breakpoints/9649 + * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions. + * gdb.base/breakpoint-in-ro-region.exp + (probe_target_hardware_step): New procedure. + (top level): Probe hardware stepping and hardware breakpoint + support. Test stepping through a read-only region, with both + "breakpoint auto-hw" on and off and both "always-inserted" on and + off. + +2014-10-15 Iain Buclaw + + * gdb.dlang/demangle.exp: Update for demangling changes. + +2014-10-15 Siva Chandra Reddy + + * gdb.cp/non-trivial-retval.cc: Add new test cases. + * gdb.cp/non-trivial-retval.exp: Add new tests. + +2014-10-15 Siva Chandra Reddy + + PR c++/13403 + PR c++/15154 + * gdb.cp/non-trivial-retval.cc: New file. + * gdb.cp/non-trivial-retval.exp: New file. + +2014-10-15 Yao Qi + + * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on + remote host. + +2014-10-15 Yao Qi + + * gdb.python/py-symbol.exp: Match file base name if host is + remote, otherwise match file name with dir name. + * gdb.python/py-symtab.exp: Likewise. + * gdb.python/python.exp: Likewise. + +2014-10-15 Yao Qi + + * gdb.python/py-symbol.exp: Remove trailing ".*" in the + pattern. + * gdb.python/py-symtab.exp: Likewise. + * gdb.python/python.exp: Remove trailing ".*". Fix typo + locationn. + +2014-10-14 Joel Brobecker + + * gdb.ada/addr_arith: New testcase. + +2014-10-14 Maciej W. Rozycki + + * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers. + * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly. + * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers. + * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly. + +2014-10-14 Sergio Durigan Junior + + * gdb.arch/stap-eval-lang-ada.S: Likewise. + * gdb.arch/stap-eval-lang-ada.c: Likewise. + * gdb.arch/stap-eval-lang-ada.exp: New file. + +2014-10-14 Yao Qi + + * gdb.mi/mi-var-child.c (nothing1): New function. + (nothing2): New function. + (do_children_tests): Set function pointers by nothing1 and + nothing2. + * gdb.mi/mi-var-child.exp: Step over new added statements. + Update test to match the new output. + * gdb.mi/var-cmd.c (nothing1): New function. + (nothing2): New function. + (do_children_tests): Set function pointers by nothing1 and + nothing2. + * gdb.mi/mi-var-display.exp: Update test to match output. + Step to the line specified by $line_dct_nothing. + Increase the number of lines to step. + +2014-10-14 Yao Qi + + * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify + tests. + * gdb.mi/mi2-var-child.exp: Likewise. + +2014-10-13 Doug Evans + + * gdb.python/py-objfile.exp: Change name of file name test. + +2014-10-13 Doug Evans + + * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset + from the start of the CU. + +2014-10-13 Jan Kratochvil + Yao Qi + + Fix "save breakpoints" for "catch" command. + * gdb.base/catch-signal.exp: Add gdb_breakpoint "main". + Remove -nonewline. Match also the added "main" line. + +2014-10-12 Jan Kratochvil + + Fix "save breakpoints" for "disable $bpnum" command. + * gdb.base/save-bp.c (main): Add label. + * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it. + +2014-10-12 Jan Kratochvil + + * gdb.base/save-bp.exp (info break): Use gdb_test_sequence. + +2014-10-11 Yao Qi + + * gdb.server/server-kill.exp: Execute command + "set remote trace-status-packet on" before "tstatus". + +2014-10-11 Yao Qi + + * gdb.server/server-kill.c: Include sys/types.h and unistd.h. + (main): Call getppid. + * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;" + and continue to it. Read variable "server_pid". + +2014-10-11 Yao Qi + + * gdb.server/server-kill.exp: Remove "delete_breakpoints". + +2014-10-11 Yao Qi + + * gdb.threads/thread-find.exp: Don't execute command + "info threads". + * gdb.threads/attach-into-signal.exp (corefunc): Likewise. + * gdb.threads/linux-dp.exp: Don't check the condition + $threads_created equals to zero. + +2014-10-10 Pedro Alves + + * gdb.base/bigcore.exp: Remove references to IRIX. + * gdb.base/funcargs.exp: Likewise. + * gdb.base/interrupt.exp: Likewise. + * gdb.base/mips_pro.exp: Likewise. + * gdb.base/nodebug.exp: Likewise. + * gdb.base/setvar.exp: Likewise. + * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case. + +2014-10-10 Jan Kratochvil + Pedro Alves + + PR symtab/14466 + * gdb.base/vdso-warning.c: New file. + * gdb.base/vdso-warning.exp: New file. + +2014-10-02 Doug Evans + + * gdb.base/structs.c (main): Don't run forever. + +2014-10-02 Pedro Alves + + * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure. + (top level) : Use it. + +2014-10-02 Pedro Alves + + * gdb.threads/break-while-running.exp (test): Add new + 'update_thread_list' argument. Skip "info threads" if false. + (top level): Add new 'update_thread_list' axis. + +2014-10-02 Pedro Alves + + PR breakpoints/17431 + * gdb.base/execl-update-breakpoints.c: New file. + * gdb.base/execl-update-breakpoints.exp: New file. + +2014-10-01 Pedro Alves + + * gdb.base/breakpoint-in-ro-region.c: New file. + * gdb.base/breakpoint-in-ro-region.exp: New file. + +2014-10-01 Simon Marchi + + * gdb.mi/mi-exit-code.exp: New file. + * gdb.mi/mi-exit-code.c: New file. + +2014-09-30 Yao Qi + + * lib/prelink-support.exp (build_executable_own_libs): Error if + the target isn't native. + +2014-09-30 Yao Qi + + * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is + false. + +2014-09-22 Pedro Alves + + * gdb.threads/break-while-running.exp: New file. + * gdb.threads/break-while-running.c: New file. + +2014-09-19 Yao Qi + + * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test. + Invoke test. Restart GDB with --readnow and invoke test again. + +2014-09-19 Yao Qi + + * gdb.base/break-on-linker-gcd-function.exp: Move test into new + proc set_breakpoint_on_gcd_function. Invoke + set_breakpoint_on_gcd_function. Restart GDB with --readnow and + invoke set_breakpoint_on_gcd_function again. + +2014-09-18 Doug Evans + + * gdb.dwarf2/symtab-producer.exp: New file. + +2014-09-16 Sergio Durigan Junior + + * gdb.base/global-var-nested-by-dso-solib1.c: New file. + * gdb.base/global-var-nested-by-dso-solib2.c: Likewise. + * gdb.base/global-var-nested-by-dso.c: Likewise. + * gdb.base/global-var-nested-by-dso.exp: Likewise. + +2014-09-16 Sergio Durigan Junior + Pedro Alves + + * gdb.base/watch-bitfields.exp: Pass string other than test file + name to prepare_for_testing. + (watch): New procedure. + (expect_watchpoint): Use with_test_prefix. + (top level): Factor out tests to ... + (test_watch_location, test_regular_watch): ... these new + procedures, and use with_test_prefix and gdb_continue_to_end. + +2014-09-16 Patrick Palka + + PR breakpoints/12526 + * gdb.base/watch-bitfields.exp: New file. + * gdb.base/watch-bitfields.c: New file. + +2014-09-16 Pedro Alves + + * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare + software and hardware addresses, not software address against + itself. + +2014-09-16 Pedro Alves + + * gdb.base/watchpoint-stops-at-right-insn.c: New file. + * gdb.base/watchpoint-stops-at-right-insn.exp: New file. + +2014-09-16 Pedro Alves + + * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete + files. + * gdb.base/a2-run.exp: Remove all code guarded by istarget + "*-*-vxworks*" throughout. + * gdb.base/break.exp: Likewise. + * gdb.base/default.exp: Likewise. + * gdb.base/scope.exp: Likewise. + * gdb.base/sepdebug.exp: Likewise. + * gdb.base/break.c: Remove all code guarded by #ifdef vxworks + throughout. + * gdb.base/run.c: Likewise. + * gdb.base/sepdebug.c: Likewise. + * gdb.hp/gdb.aCC/run.c: Likewise. + * gdb.reverse/until-reverse.c: Likewise. + * lib/gdb.exp (gdb_compile): Remove is_vxworks branch. + +2014-09-16 Yao Qi + + * boards/local-remote-host-native.exp: New file. + +2014-09-14 Doug Evans + + * gdb.threads/queue-signal.c (thread_count): New variable. + (thread_count_mutex, thread_count_condvar): New variables. + (incr_thread_count, wait_all_threads_running): New functions. + (main): Wait for all threads to be in their thread functions. + +2014-09-13 Doug Evans + + * gdb.threads/queue-signal.c: New file. + * gdb.threads/queue-signal.exp: New file. + +2014-09-13 Doug Evans + + * lib/gdb.exp (gdb_prompt): Add comment and change initial value to + be consistent with what default_gdb_init uses. + (with_gdb_prompt): Change form of PROMPT argument from a regexp to + the plain text of the prompt. Add some logging printfs. + * gdb.perf/disassemble.exp: Update call to with_gdb_prompt. + +2014-09-12 Pedro Alves + + * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after + gdb_run_cmd with gdb_test_multiple or gdb_test throughout. + * gdb.arch/i386-size-overlap.exp: Likewise. + * gdb.arch/i386-size.exp: Likewise. + * gdb.arch/i386-unwind.exp: Likewise. + * gdb.base/a2-run.exp: Likewise. + * gdb.base/break.exp: Likewise. + * gdb.base/charset.exp: Likewise. + * gdb.base/chng-syms.exp: Likewise. + * gdb.base/commands.exp: Likewise. + * gdb.base/dbx.exp: Likewise. + * gdb.base/find.exp: Likewise. + * gdb.base/funcargs.exp: Likewise. + * gdb.base/jit-simple.exp: Likewise. + * gdb.base/reread.exp: Likewise. + * gdb.base/sepdebug.exp: Likewise. + * gdb.base/step-bt.exp: Likewise. + * gdb.cp/mb-inline.exp: Likewise. + * gdb.cp/mb-templates.exp: Likewise. + * gdb.objc/basicclass.exp: Likewise. + * gdb.threads/killed.exp: Likewise. + +2014-09-12 Edjunior Barbosa Machado + + PR tdep/17379 + * gdb.arch/powerpc-stackless.S: New file. + * gdb.arch/powerpc-stackless.exp: New file. + +2014-09-12 Jan Kratochvil + + * gdb.base/attach.c: Include unistd.h. + (main): Call alarm. Add label postloop. + * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number, + gdb_breakpoint, gdb_continue_to_breakpoint. + (test_command_line_attach_run): Kill ${testpid} in one exit path. + +2014-09-11 Pedro Alves + + PR gdb/17347 + * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure. + * gdb.base/attach.exp (test_command_line_attach_run): New + procedure. + (top level): Call it. + +2014-09-11 Pedro Alves + + * lib/gdb.exp (spawn_wait_for_attach): New procedure. + * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests) + (do_command_attach_tests): Use spawn_wait_for_attach. + * gdb.base/solib-overlap.exp: Likewise. + * gdb.multi/multi-attach.exp: Likewise. + * gdb.python/py-prompt.exp: Likewise. + * gdb.python/py-sync-interp.exp: Likewise. + * gdb.server/ext-attach.exp: Likewise. + +2014-09-11 Gabriel Krisman Bertazi + + * gdb.fortran/array-element.exp: Remove unexpected "continue" + command in testcase. Simplify testcase. + +2014-09-10 Joel Brobecker + + * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests. + +2014-09-10 Joel Brobecker + + * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests. + +2014-09-10 Joel Brobecker + + * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests. + +2014-09-10 Joel Brobecker + + * gdb.dwarf2/dynarr-ptr.c: New file. + * gdb.dwarf2/dynarr-ptr.exp: New file. + +2014-09-09 Maciej W. Rozycki + + * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor + of 30 rather than hardcoding 120 for a slow test case. Take the + `gdb,timeout' target setting into account for this calculation. + Don't extend the timeout for the test cases that don't need it. + +2014-09-09 Maciej W. Rozycki + + * gdb.reverse/sigall-reverse.exp: Increase the timeout by + a factor of 2 for a slow test case. Take the `gdb,timeout' + target setting into account for this calculation. + * gdb.reverse/until-precsave.exp: Increase the timeout by + a factor of 15 and 3 respectively rather than adding 120 + for a pair of slow test cases. Take the `gdb,timeout' + target setting into account for this calculation. + +2014-09-09 Maciej W. Rozycki + + * lib/gdb.exp (gdb_test_multiple): Remove code to select the + timeout, don't pass one down to gdb_expect. + (gdb_expect): Rework timeout selection. + +2014-09-09 Maciej W. Rozycki + + * lib/gdbserver-support.exp (gdbserver_start): Throw an error + exception on timeout. + (gdbserver_run): Catch any `gdbserver_spawn' error exceptions. + (gdbserver_start_extended): Catch any `gdbserver_start' error + exceptions. + (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise. + * lib/mi-support.exp (mi_gdb_target_load): Catch any + `gdbserver_gdb_load' error exceptions. + +2014-09-09 Maciej W. Rozycki + + * lib/gdbserver-support.exp (gdbserver_start): Set timeout to + 120 on waiting for the TCP socket to open. + +2014-09-09 Doug Evans + + * gdb.base/default.exp (show_conv_list): Add _caller_is, + _caller_matches, _any_caller_is, _any_caller_matches. + +2014-09-09 Doug Evans + + * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output. + +2014-09-09 Yao Qi + + * gdb.mi/mi-var-display.exp: Set print symbol off. + +2014-09-07 Gabriel Krisman Bertazi + + PR gdb/17035 + * gdb.base/commands.exp: Add tests to verify user-defined + commands with empty bodies. + * gdb.python/py-cmd.exp: Test that we don't show user-defined + python commands in `show user command`. + * gdb.python/scm-cmd.exp: Test that we don't show user-defined + scheme commands in `show user command`. + +2014-09-07 Jan Kratochvil + + PR python/17355 + * gdb.python/amd64-py-framefilter-invalidarg.S: New file. + * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file. + * gdb.python/py-framefilter-invalidarg.exp: New file. + * gdb.python/py-framefilter-invalidarg.py: New file. + +2014-09-06 Doug Evans + + PR 15276 + * gdb.python/py-caller-is.c: New file. + * gdb.python/py-caller-is.exp: New file. + +2014-09-05 Sergio Durigan Junior + + PR gdb/17235 + * gdb.arch/amd64-stap-wrong-subexp.exp: New file. + * gdb.arch/amd64-stap-wrong-subexp.S: Likewise. + +2014-09-04 Sergio Durigan Junior + + PR fortran/17237 + * gdb.fortran/print-formatted.exp: New file. + * gdb.fortran/print-formatted.f90: Likewise. + +2014-09-03 Sasha Smundak + + * gdb.python/py-frame.exp: Test Frame.read_register. + +2014-09-03 Sergio Durigan Junior + + PR python/16699 + * gdb.python/py-completion.exp: New file. + * gdb.python/py-completion.py: Likewise. + +2014-08-28 Doug Evans + + * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when + eax,etc. are live with values set by gdb and thus the compiler can't + use them. + * gdb.arch/i386-pseudo.c (main): Ditto. + +2014-08-27 Doug Evans + + * lib/gdb.exp (gdb_compile_shlib): Add support for clang. + +2014-08-25 Doug Evans + + * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type. + (main): Ditto. + +2014-08-25 Doug Evans + + * gdb.threads/thread-execl.exp: #include . + +2014-08-24 Yao Qi + + * gdb.guile/scm-value.exp (test_lazy_strings): Set print + symbol off. + * gdb.python/py-value.exp (test_lazy_strings): Likewise. + +2014-08-22 Doug Evans + + PR 17276 + * gdb.dwarf2/dw2-single-line-discriminators.S: New file. + * gdb.dwarf2/dw2-single-line-discriminators.c: New file. + * gdb.dwarf2/dw2-single-line-discriminators.exp: New file. + +2014-08-22 Yao Qi + + * gdb.python/py-finish-breakpoint.exp: Copy .py file to host. + * gdb.python/py-finish-breakpoint2.exp: Likewise. + * gdb.python/python.exp: Likewise. Use .py file on the host + instead of the build. + +2014-08-21 Jan Kratochvil + + * gdb.threads/gcore-stale-thread.c: New file. + * gdb.threads/gcore-stale-thread.exp: New file. + +2014-08-21 Pedro Alves + + * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test. + * gdb.base/gcore-relro-pie.exp: Likewise. + * gdb.base/gcore-relro.exp: Likewise. + * gdb.base/gcore.exp: Likewise. + * gdb.base/print-symbol-loading.exp: Likewise. + * gdb.threads/gcore-thread.exp: Likewise. + * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command". + +2014-08-20 Pedro Alves + Jan Kratochvil + + * Makefile.in (EXTRA_RULES, CC): New variables, get from + configure. + (EXPECT): Handle READ1 being set. + (all): Depend on EXTRA_RULES. + (check-read1, expect-read1, read1.so, read1): New rules. + * README (Testsuite Parameters): Document the READ1 make variable. + (Race detection): New section. + * configure: Regenerate. + * configure.ac: If build==host==target, and running under a + GNU/glibc system, add read1 to the extra Makefile rules. + (EXTRA_RULES): AC_SUBST it. + * lib/read1.c: New file. + +2014-08-20 Joel Brobecker + + * gdb.dwarf2/data-loc.exp: Add additional tests exercising + the handling of variables declared as a typedef to an array + which a DW_AT_data_location attribute. + +2014-08-19 Andrew Burgess + Pedro Alves + + PR symtab/14604 + PR symtab/14605 + * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use + gdb_test. + +2014-08-19 Pedro Alves + + * gdb.base/watchpoint-hw-hit-once.c (main): Update comment. + +2014-08-19 Yao Qi + + * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the + right line. + +2014-08-18 David Blaikie + + * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang. + +2014-08-18 Joel Brobecker + + * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound + attribute in array range. + +2014-08-18 Joel Brobecker + + * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files. + +2014-08-15 Siva Chandra Reddy + + PR c++/17132 + * gdb.cp/pr17132.cc: New file. + * gdb.cp/pr17132.exp: New file. + +2014-08-15 Siva Chandra Reddy + + * gdb.python/py-xmethods.py (A_getarrayind) + (E_method_char_worker.__call__, E_method_int_worker.__call__): + Use 'print' with function call syntax. + (E_method_matcher.match): Fix tab vs space indentation mixup. + +2014-08-15 Yao Qi + + * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns + false. + +2014-08-15 Yao Qi + + * gdb.cp/casts.exp: Set print symbol off. + * gdb.cp/class2.exp: Likewise. + * gdb.cp/overload.exp: Likewise. + * gdb.cp/templates.exp: Likewise. + +2014-08-11 Doug Evans + + * gdb.base/print-symbol-loading.exp (test_load_core): Update. + (test_load_shlib): Update. + +2014-08-09 Yao Qi + + * gdb.base/display.exp: Invoke is_address_zero_readable. + * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise. + * gdb.python/py-value.exp (test_value_in_inferior): Likewise. + * gdb.base/hbreak-unmapped.exp: Return if + is_address_zero_readable returns true. + * gdb.base/signest.exp: Likewise. + * gdb.base/signull.exp: Likewise. + * gdb.base/sigbpt.exp: Likewise. + * gdb.guile/scm-disasm.exp: Do the test if + is_address_zero_readable returns false. + * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise. + * gdb.python/py-arch.exp: Likewise. + * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise. + * lib/gdb.exp (is_address_zero_readable): New proc. + +2014-08-09 Yao Qi + + PR testsuite/13443 + * gdb.mi/mi-var-display.exp: Make test messages unique. + +2014-08-04 Tom Tromey + + * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug + target 0". + +2014-08-04 Tom Tromey + + * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not + "target_resume". + +2014-08-01 Joel Brobecker + + * gdb.base/vla-datatypes.c (vla_factory): Add new variable + inner_vla_struct_object_size. + * gdb.base/vla-datatypes.exp: Adjust last test, and mark it + as xfail. + +2014-07-30 Pedro Alves + + * gdb.threads/signal-command-handle-nopass.exp (test): Add + comment. + +2014-07-29 Yao Qi + + PR gdb/17206 + * gdb.base/until-nodebug.exp: New. + +2014-07-28 Doug Evans + + PR guile/17203 + * gdb.guile/scm-parameter.exp: Add tests for trying to create + previously existing parameter, and previously ambiguously spelled + parameter. + +2014-07-28 Will Newton + + * gdb.base/varargs.exp: Remove KFAILs for ARM. + +2014-07-26 Ludovic Courtès + Doug Evans + + PR guile/17146 + * gdb.guile/types-module.exp: Add tests for wrong type arguments. + +2014-07-25 Pedro Alves + + * gdb.threads/signal-command-handle-nopass.c: New file. + * gdb.threads/signal-command-handle-nopass.exp: New file. + * gdb.threads/signal-command-multiple-signals-pending.c: New file. + * gdb.threads/signal-command-multiple-signals-pending.exp: New file. + * gdb.threads/signal-delivered-right-thread.c: New file. + * gdb.threads/signal-delivered-right-thread.exp: New file. + +2014-07-25 Pedro Alves + + * gdb.base/double-prompt-target-event-error.exp + (cancel_pagination_in_target_event): Remove '-notransfer ' + match. + (cancel_pagination_in_target_event): Rework double prompt + detection. + * gdb.base/paginate-after-ctrl-c-running.exp + (test_ctrlc_while_target_running_paginates): Remove '-notransfer + ' match. + * gdb.base/paginate-bg-execution.exp + (test_bg_execution_pagination_return) + (test_bg_execution_pagination_cancel): Remove '-notransfer + ' matches. + * gdb.base/paginate-execution-startup.exp + (test_fg_execution_pagination_return) + (test_fg_execution_pagination_cancel): Remove '-notransfer + ' matches. + * gdb.base/paginate-inferior-exit.exp + (test_paginate_inferior_exited): Remove '-notransfer ' + match. + * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp. + * lib/gdb.exp (pagination_prompt): Run text through + string_to_regexp. + (gdb_test_multiple): Match $pagination_prompt instead of + "". + (string_to_regexp): Move to lib/gdb-utils.exp. + +2014-07-22 Jan Kratochvil + + * gdb.arch/amd64-entry-value-paramref.S: New file. + * gdb.arch/amd64-entry-value-paramref.cc: New file. + * gdb.arch/amd64-entry-value-paramref.exp: New file. + * gdb.arch/amd64-optimout-repeat.S: New file. + * gdb.arch/amd64-optimout-repeat.c: New file. + * gdb.arch/amd64-optimout-repeat.exp: New file. + +2014-07-17 Jan Kratochvil + + PR gdb/17170 + * gdb.base/statistics.exp: New file. + +2014-07-17 Doug Evans + + PR gdb/17170 + * gdb.base/maint.exp: Update testing of per-command stats. + +2014-07-16 Pedro Alves + + * gdb.trace/tfile.c: Include unistd.h and stdint.h. + (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef. + (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr) + (tfile_write_buf): New functions. + (add_memory_block): Rewrite using the above. + (adjust_function_address): New function. + (FUNCTION_ADDRESS): New macro. + (write_basic_trace_file): Remove short_x local, and use + tfile_write_16. Change type of func_addr local to unsigned long + long. Use FUNCTION_ADDRESS instead of handling the Thumb bit + here. Cast argument of add_memory_block to char pointer. + (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS. + (main): Remove parameters. + * gdb.trace/tfile.exp: Remove nowarnings. + +2014-07-15 Simon Marchi + + * gdb.base/debug-expr.exp: Test string evaluation with + "debug expression" on. + +2014-07-15 Pedro Alves + + * gdb.base/reread.exp: Use clean_restart. + +2014-07-15 Pierre Langlois + + * gdb.arch/avr-flash-qualifer.c: New. + * gdb.arch/avr-flash-qualifer.exp: New. + +2014-07-14 Pedro Alves + + * gdb.base/paginate-after-ctrl-c-running.c: New file. + * gdb.base/paginate-after-ctrl-c-running.exp: New file. + +2014-07-14 Pedro Alves + + * gdb.base/double-prompt-target-event-error.c: New file. + * gdb.base/double-prompt-target-event-error.exp: New file. + +2014-07-14 Pedro Alves + + PR gdb/17072 + * gdb.base/paginate-inferior-exit.c: New file. + * gdb.base/paginate-inferior-exit.exp: New file. + +2014-07-14 Pedro Alves + + PR gdb/17072 + * gdb.base/paginate-bg-execution.c: New file. + * gdb.base/paginate-bg-execution.exp: New file. + +2014-07-14 Pedro Alves + + PR gdb/17072 + * gdb.base/paginate-execution-startup.c: New file. + * gdb.base/paginate-execution-startup.exp: New file. + * lib/gdb.exp (pagination_prompt): New global. + (default_gdb_spawn): New procedure, factored out from + default_gdb_spawn. + (default_gdb_start): Adjust to call default_gdb_spawn. + (gdb_spawn): New procedure. + +2014-07-14 Pedro Alves + + * lib/gdb.exp (gdb_assert): New procedure. + * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it. + +2014-07-14 Pedro Alves + + * gdb.base/execution-termios.c: New file. + * gdb.base/execution-termios.exp: New file. + +2014-07-14 Tom Tromey + + * gdb.cp/vla-cxx.cc: New file. + * gdb.cp/vla-cxx.exp: New file. + +2014-07-14 Tom Tromey + + * gdb.reverse/rerun-prec.c: New file. + * gdb.reverse/rerun-prec.exp: New file. + +2014-07-12 Maciej W. Rozycki + Maciej W. Rozycki + + * lib/gdb-utils.exp: New file. + * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing + inline `gdb_init_command' processing. + (gdb_start_cmd): Likewise. + * lib/mi-support.exp (mi_run_cmd): Likewise. + * README: Document `gdb_init_command' and `gdb_init_commands'. + +2014-07-11 Jan Kratochvil + + Fix false FAIL running under a very long directory name. + * gdb.base/argv0-symlink.exp: Add "set print repeats 10000" + and "set print elements 10000". Twice. + +2014-07-11 Yao Qi + + * gdb.base/exprs.exp: "set print symbol off". + +2014-07-11 Pedro Alves + + * gdb.threads/kill.c: New file. + * gdb.threads/kill.exp: New file. + +2014-07-10 Yao Qi + + * gdb.trace/tfile.c (write_basic_trace_file) + [__thumb__||__thumb2__]: Clear the Thumb bit of the function + address written to trace file. + +2014-07-09 Pedro Alves + + * gdb.base/attach-wait-input.exp: New file. + * gdb.base/attach-wait-input.c: New file. + +2014-07-09 Andrew Burgess + + * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function + setting up test structures. + (main): Call new test function. + * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new + test function, continue into test function and walk test + structures. + +2014-07-02 Yao Qi + + * gdb.trace/entry-values.c: Define labels 'foo_start' and + 'bar_start' at the beginning of functions 'foo' and 'bar' + respectively. + * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start' + instead of 'foo' and 'bar'. + +2014-07-08 Markus Metzger + + * gdb.btrace/segv.exp: New. + * gdb.btrace/segv.c: New. + +2014-07-02 Luis Machado + + * gdb.trace/entry-values.exp: Handle powerpc-specific branch + instruction. + +2014-06-30 Mark Wielaard + + * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar, + vulture, vilify, villar): New volatile array constants. + (vindictive, vegetation): New const volatile array constants. + * gdb.base/volatile.exp: Test volatile and const volatile array + types. + +2014-06-30 Andreas Arnez + + * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the + target lacks support for awatch, rwatch, or hbreak. + +2014-06-27 Yao Qi + + * gdb.multi/dummy-frame-restore.exp: New. + * gdb.multi/dummy-frame-restore.c: New. + +2014-06-25 Markus Metzger + + * gdb.btrace/gcore.exp: New. + +2014-06-23 Pedro Alves + + * gdb.base/watchpoint-reuse-slot.c: New file. + * gdb.base/watchpoint-reuse-slot.exp: New file. + +2014-06-23 Siva Chandra Reddy + + * gdb.python/py-xmethods.exp: Use "progspace" instead of the + progspace's filename in 'info', 'enable' and 'disable' command + tests. + +2014-06-23 Jan Kratochvil + + * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target. + * gdb.arch/amd64-stap-optional-prefix.exp: Likewise. + * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target. + +2014-06-20 Gary Benson + + * gdb.arch/i386-avx.exp: Fix include file location. + * gdb.arch/i386-sse.exp: Likewise. + +2014-06-19 Iain Buclaw + + * gdb.dlang/expression.exp: New file. + +2014-06-19 Pedro Alves + + * gdb.threads/thread-execl.exp (do_test): New procedure, factored + out from ... + (top level): ... here. Iterate running tests under different + scheduler-locking settings. + +2014-06-18 Luis Machado + + * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries + to DW_FORM_addr and use non-zero addresses. + +2014-06-18 Siva Chandra Reddy + + PR gdb/17017 + * gdb.python/py-xmethods.cc: Add global function call counters and + increment them in their respective functions. Remove "cout" + statements. + * gdb.python/py-xmethods.exp: Make tests check the global function + call counters instead of depending on inferior IO. + +2014-06-18 Don Breazeal + + * gdb.base/foll-fork.exp (default_fork_parent_follow): + Deleted procedure. + (explicit_fork_parent_follow): Deleted procedure. + (explicit_fork_child_follow): Deleted procedure. + (test_follow_fork): New procedure. + (do_fork_tests): Replace calls to deleted procedures with + calls to test_follow_fork and reset GDB for subsequent + procedure calls. + +2014-06-17 Yao Qi + + * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is + CP1252. + +2014-06-17 Luis Machado + + * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test): + Initialize ptr and S explicitly. + (skip_type_update_when_not_use_rtti_test): Likewise. + +2014-06-16 Keith Seitz + + PR mi/15863 + * gdb.mi/mi-var-cmd.exp: Add test for -var-update before + the inferior is started. + +2014-06-16 Pedro Alves + + * gdb.base/break-main-file-remove-fail.c: New file. + * gdb.base/break-main-file-remove-fail.exp: New file. + * gdb.base/break-unload-file.exp: Use build_executable instead of + prepare_for_testing. + (test_break): New parameter "initial_load". Handle it. + (top level): Add initial_load cmdline/file axis. + +2014-06-12 Tom Tromey + + * gdb.base/completion.exp: Don't use directory name in test. + +2014-06-09 Gary Benson + + * gdb.base/sigall.c [Functions to send signals]: Reorder to + separate the always-available ANSI-standard signals from the + signals that require checking. + (main): Likewise. + * gdb.reverse/sigall-reverse.c [Functions to send signals]: + Likewise. + (main): Likewise. + +2014-06-07 Keith Seitz + + Revert: + PR c++/16253 + * gdb.cp/var-tag.cc: New file. + * gdb.cp/var-tag.exp: New file. + * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++. + * gdb.dwarf2/dw2-anon-mptr.exp: Likewise. + * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise. + * gdb.dwarf2/dw2-inheritance.exp: Likewise. + +2014-06-06 Doug Evans + + * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3. + +2014-06-06 Pedro Alves + + * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step) + in target debug output instead of looking at RSP packets, + disabling the test on any target that uses hardware stepping. + Update comments. + +2014-06-06 Pedro Alves + + * gdb.base/break-unload-file.exp: Fix typo. + +2014-06-06 Yao Qi + + * gdb.base/jit.exp (one_jit_test): Restrict the pattern + from "jit_function" to "^jit_function". + +2014-06-06 Yao Qi + + * gdb.base/async.c (foo): Add one statement. + * gdb.base/async.exp: Get the next instruction address and + match the output of "nexti" by instruction address. Match + the hex address in the output of "finish". + +2014-06-06 Gary Benson + + * gdb.base/call-signals.c: Remove preprocessor conditionals + for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE, + SIGSEGV and SIGTERM. + * gdb.base/sigall.c: Likewise. + * gdb.base/unwindonsignal.c: Likewise. + * gdb.reverse/sigall-reverse.c: Likewise. + +2014-06-06 Yao Qi + + * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If + readable, skip the test. + +2014-06-06 Yao Qi + + * gdb.threads/staticthreads.c (thread_function): Move the line + setting breakpoint on forward. + * gdb.threads/staticthreads.exp: Update comments. + +2014-06-05 Ludovic Courtès + + * gdb.guile/scm-value.exp (test_value_in_inferior): Add test + "history-append! type error". + +2014-06-05 Simon Marchi + + * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix + erroneous dprintf expected input. + +2014-06-04 Doug Evans + + * gdb.guile/scm-generics.exp: Delete. + +2014-06-04 Doug Evans + + * gdb.guile/scm-breakpoint.exp: Update. + Add tests for breakpoint registration. + +2014-06-04 Tom Tromey + + * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and + VLA-in-union. + * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct, + inner_vla_struct, vla_union types. Initialize objects of those + types and compute their sizes. + +2014-06-04 Nathan Sidwell + Hui Zhu + + * gdb.base/fileio.exp: Add test for shell not available as well as + available. + * gdb.base/fileio.c (test_system): Check for shell twice. + +2014-06-04 Yao Qi + + * gdb.base/auto-connect-native-target.exp: Remove redundant + space from the regexp pattern. + +2014-06-04 Yao Qi + + * gdb.base/default.exp: Replace "child" with "native" in + regexp pattern. + +2014-06-03 Siva Chandra Reddy + + * gdb.python/py-xmethods.cc: New testcase to test xmethods. + * gdb.python/py-xmethods.exp: New tests to test xmethods. + * gdb.python/py-xmethods.py: Python script supporting the + new testcase and tests. + +2014-06-03 Joel Brobecker + Pedro Alves + + PR breakpoints/17000 + * gdb.base/sss-bp-on-user-bp.exp: Remove kfail. + * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail. + +2014-06-03 Brad Mouring (tiny patch) + + * gdb.base/subst.exp: Add tests to verify partial path matching + output. + +2014-06-03 Pedro Alves + + * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote + target that doesn't use software single-stepping. + +2014-06-03 Pedro Alves + + PR breakpoints/17000 + * gdb.base/sss-bp-on-user-bp-2.c: New file. + * gdb.base/sss-bp-on-user-bp-2.exp: New file. + +2014-06-02 Doug Evans + + * gdb.guile/scm-parameter.exp: New file. + +2014-06-02 Doug Evans + + * gdb.guile/scm-cmd.c: New file. + * gdb.guile/scm-cmd.exp: New file. + +2014-06-02 Doug Evans + + * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace + pretty-printer lookup. + * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function. + (make-pp_s-printer): Call it. + (make-pretty-printer-from-dict): New function. + (lookup-pretty-printer-maker-from-dict): New function. + (*pretty-printer*): Simplify. + (make-objfile-pp_s-printer): New function. + (install-objfile-pretty-printers!): New function. + (make-progspace-pp_s-printer): New function. + (install-progspace-pretty-printers!): New function. + * gdb.guile/scm-progspace.c: New file. + * gdb.guile/scm-progspace.exp: New file. + +2014-06-02 Pedro Alves + + * gdb.base/dprintf-bp-same-addr.c: New file. + * gdb.base/dprintf-bp-same-addr.exp: New file. + +2014-06-02 Edjunior Barbosa Machado + + * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase. + * gdb.arch/powerpc-power.s: Likewise. + +2014-06-02 Joel Brobecker + + * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT. + +2014-06-01 Yao Qi + + * gdb.base/watchpoint.exp (test_watch_location): Check null + pointer can be dereferenced. If not, do the test, otherwise + skip it. + +2014-05-30 Andrew Burgess + + * gdb.arch/amd64-invalid-stack-middle.exp: Update expected + results. + * gdb.arch/amd64-invalid-stack-top.exp: Likewise. + +2014-05-30 Andrew Burgess + + * gdb.arch/amd64-invalid-stack-middle.S: New file. + * gdb.arch/amd64-invalid-stack-middle.c: New file. + * gdb.arch/amd64-invalid-stack-middle.exp: New file. + * gdb.arch/amd64-invalid-stack-top.c: New file. + * gdb.arch/amd64-invalid-stack-top.exp: New file. + +2014-05-30 Pedro Alves + + PR breakpoints/17000 + * gdb.base/sss-bp-on-user-bp.c: New file. + * gdb.base/sss-bp-on-user-bp.exp: New file. + +2014-05-30 David Blaikie + + * gdb.opt/inline-break.c: Fix clang compatibility by specifying + gnu_inline semantics via attribute. + * gdb.opt/inline-break.exp: Remove -std=c89 now that the test + source explicitly specifies the required semantics. + +2014-05-30 Maciej W. Rozycki + + * gdb.reverse/sigall-reverse.exp: Fix a typo. + +2014-05-29 Pedro Alves + Tom Tromey + + * gdb.base/async-shell.exp: Don't enable target-async. + * gdb.base/async.exp + * gdb.base/corefile.exp (corefile_test_attach): Remove 'async' + parameter. Adjust. + (top level): Don't test with "target-async". + * gdb.base/dprintf-non-stop.exp: Don't enable target-async. + * gdb.base/gdb-sigterm.exp: Don't test with "target-async". + * gdb.base/inferior-died.exp: Don't enable target-async. + * gdb.base/interrupt-noterm.exp: Likewise. + * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async". + * gdb.mi/mi-nonstop-exit.exp: Likewise. + * gdb.mi/mi-nonstop.exp: Likewise. + * gdb.mi/mi-ns-stale-regcache.exp: Likewise. + * gdb.mi/mi-nsintrall.exp: Likewise. + * gdb.mi/mi-nsmoribund.exp: Likewise. + * gdb.mi/mi-nsthrexec.exp: Likewise. + * gdb.mi/mi-watch-nonstop.exp: Likewise. + * gdb.multi/watchpoint-multi.exp: Adjust comment. + * gdb.python/py-evsignal.exp: Don't enable target-async. + * gdb.python/py-evthreads.exp: Likewise. + * gdb.python/py-prompt.exp: Likewise. + * gdb.reverse/break-precsave.exp: Don't test with "target-async". + * gdb.server/solib-list.exp: Don't enable target-async. + * gdb.threads/thread-specific-bp.exp: Likewise. + * lib/mi-support.exp: Adjust to use mi-async. + +2014-05-29 Pedro Alves + + PR gdb/13860 + * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop + reason, even in sync mode. + +2014-05-29 Pedro Alves + Hui Zhu + + PR PR15693 + * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file. + * gdb.mi/mi-condbreak-call-thr-state-st.c: New file. + * gdb.mi/mi-condbreak-call-thr-state.c: New file. + * gdb.mi/mi-condbreak-call-thr-state.exp: New file. + +2014-05-28 Joel Brobecker + + * config/monitor.exp (gdb_target_monitor): Replace use of + "set remotebaud" by "set serial baud". + +2014-05-26 Andy Wingo + + * gdb.guile/scm-breakpoint.exp: + * gdb.guile/scm-gsmob.exp: Update to use plain old object + properties instead of gdb-object-properties. + +2014-05-26 Yao Qi + + * gdb.server/no-thread-db.exp: Specify source file name + explicitly when setting a breakpoint. + +2014-05-23 Markus Metzger + + * gdb.btrace/vdso.c: New. + * gdb.btrace/vdso.exp: New. + +2014-05-23 Markus Metzger + + * gdb.base/gcore.exp (capture_command_output): Move ... + * lib/gdb.exp (capture_command_output): ... here. + +2014-05-23 Markus Metzger + + * gdb.btrace/data.exp: Test memory access during btrace replay. + +2014-05-22 Simon Marchi + + * lib/mi-support.exp (mi_run_cmd_full): Add comments. + +2014-05-21 Pedro Alves + + PR gdb/13860 + * gdb.mi/mi-cli.exp (line_callee4_next_step): New global. + (top level): Test that output related to execution commands is + sent to the console with CLI commands, but not with MI commands. + Test that breakpoint events are always mirrored to the console. + Also expect the new source line to be output after a "next" in + async mode too. Make it a pass/fail test. + * gdb.mi/mi-solib.exp: Test that the CLI solib event note is + output. + * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure. + +2014-05-21 Pedro Alves + + * gdb.base/list.exp (build_pattern, test_list): New procedures. + Use them to test variations of "list" after reaching a breakpoint. + * gdb.mi/mi-cli.exp (line_main_callme_2): New global. + Test "list" with listsize 10 after reaching a breakpoint. + * gdb.python/python.exp (decode_line current location line + number): Adjust expected line number. + +2014-05-21 Simon Marchi + + * lib/mi-support.exp (mi_run_cmd_full): Revert to original + behavior for $args, pass it directly to "run". + +2014-05-21 Maciej W. Rozycki + + * lib/gdb.exp (default_gdb_init): Bump `match_max' up from + 30000 to 65536. + +2014-05-21 Pedro Alves + + * boards/gdbserver-base.exp (GDBFLAGS): Set to "set + auto-connect-native-target off". + * gdb.base/auto-connect-native-target.c: New file. + * gdb.base/auto-connect-native-target.exp: New file. + +2014-05-21 Pedro Alves + + * gdb.base/default.exp: Test "target native" instead of "target + child". + +2014-05-21 Mark Wielaard + + * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type. + +2014-05-21 Jan Kratochvil + + Fix TLS access for -static -pthread. + * gdb.threads/staticthreads.c (tlsvar): New. + (thread_function, main): Initialize it. + * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls. + Add clean_restart. + <$have_tls != "">: Check TLSVAR. + +2014-05-21 Pedro Alves + + * gdb.base/dcache-line-read-error.c: New. + * gdb.base/dcache-line-read-error.exp: New. + +2014-05-20 Pedro Alves + + * gdb.base/compare-sections.c: New file. + * gdb.base/compare-sections.exp: New file. + +2014-05-20 Pedro Alves + + * gdb.base/break-idempotent.c: New file. + * gdb.base/break-idempotent.exp: New file. + +2014-05-20 Markus Metzger + + * gdb.btrace/nohist.exp: New. + +2014-05-20 Yao Qi + + * lib/gdb.exp (gdb_init): Set timeout if test file is under + gdb.reverse directory and gdb_reverse_timeout exists in board + setting. + * README: Document gdb_reverse_timeout. + +2014-05-20 Yao Qi + + * lib/gdb.exp (default_gdb_init): Rename argument 'args' by + 'test_file_name'. Treat args as a string instead of a list. + (gdb_init): Rename argument 'args' by 'test_file_name'. + +2014-05-19 Jan Kratochvil + + * gdb.arch/powerpc-power.exp: New file. + * gdb.arch/powerpc-power.s: New file. + +2014-05-16 Doug Evans + + * gdb.base/Makefile.in (EXECUTABLES): Add completion. + * gdb.base/completion.exp: Check that all expected files exist + before doing file completion. + +2014-05-16 Doug Evans + + * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir): + Update. + (do_syscall_tests_without_xml): Update. + +2014-05-16 Pedro Alves + + * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout" + instead of "unknown output after running". + +2014-05-16 Yao Qi + + * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove + file1.txt from host at the end. + * gdb.dwarf2/dw2-anonymous-func.exp: Likewise. + +2014-05-15 Doug Evans + + * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path. + * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before + loading file. Add test for TU lookup. + +2014-05-15 Simon Marchi + + * lib/mi-support.exp (mi_run_cmd_full): Set arguments by + calling "-exec-arguments" or "set args" before running the + inferior. + +2014-05-15 Simon Marchi + + * lib/mi-support.exp (mi_expect_stop): Expect message for + inferiors that exit with non-zero exit code. + +2014-05-14 Yao Qi + + * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't + match absolute path on remote host. + (test_file_list_exec_source_files): Remove "/" from the + pattern. + +2014-05-14 Yao Qi + + * boards/local-remote-host-notty.exp (${board}_file): New + proc. + +2014-05-07 Kyle McMartin + + Pushed by Joel Brobecker . + * gdb.arch/aarch64-atomic-inst.c: New file. + * gdb.arch/aarch64-atomic-inst.exp: New file. + +2014-05-07 Yao Qi + + * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int" + in current context" too. + +2014-05-05 Keith Seitz + + * gdb.linespec/ls-dollar.exp: Add test for linespec + file:convenience_variable. + +2014-05-05 Yao Qi + + * gdb.trace/unavailable.exp (gdb_collect_args_test): Save + traceframes into tfile and ctf trace files. Read data from + trace file and test collected data. + (gdb_collect_locals_test): Likewise. + (gdb_unavailable_registers_test): Likewise. + (gdb_unavailable_floats): Likewise. + (gdb_collect_globals_test): Likewise. + (top-level): Append "ctf" to trace_file_targets if GDB + supports. + +2014-05-05 Yao Qi + + * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some + code to ... + (gdb_collect_args_test_1): ... it. New proc. + (gdb_collect_locals_test): Move some code to ... + (gdb_collect_locals_test_1): ... it. New proc. + (gdb_unavailable_registers_test): Move some code to ... + (gdb_unavailable_registers_test_1): ... it. New proc. + (gdb_unavailable_floats): Move some code to ... + (gdb_unavailable_floats_1): ... it. New proc. + +2014-05-02 Sergio Durigan Junior + + * gdb.arch/amd64-stap-optional-prefix.S (main): Add several + probes to test for bitness recognition. + * gdb.arch/amd64-stap-optional-prefix.exp + (test_probe_value_without_reg): New procedure. + Add code to test for different kinds of bitness. + +2014-05-02 Sergio Durigan Junior + + PR breakpoints/16889 + * gdb.arch/amd64-stap-optional-prefix.S: New file. + * gdb.arch/amd64-stap-optional-prefix.exp: Likewise. + +2014-05-01 Pedro Alves + + * lib/gdb.exp (gdb_load): Extend comment. Skip calling + gdb_file_cmd if no file is specified. + * boards/native-extended-gdbserver.exp (gdb_load): Use the + last_loaded_file to set the remote exec-file. + +2014-05-01 Pedro Alves + + * boards/local-remote-host.exp: New file. + +2014-05-01 Pedro Alves + + * boards/local-remote-host.exp: Rename to ... + * boards/local-remote-host-notty.exp: ... this. + +2014-04-28 Joel Brobecker + + * gdb.ada/dyn_arrayidx: New testcase. + +2014-04-26 Yao Qi + + * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB + and compute the length of function main. Save it in + $main_length. + (Dwarf::assemble): Use $main_length instead of hard-coded 10. + (top-level): Use gdb_compile to compile objects into + executable and restart GDB. Remove invocation to + prepare_for_testing. + +2014-04-25 Simon Marchi + Pedro Alves + + PR server/16255 + * gdb.multi/multi-attach.c: New file. + * gdb.multi/multi-attach.exp: New file. + +2014-04-25 Pedro Alves + + * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to + user. + (top level): Test that "set remote conditional-breakpoints-packet + off" works as intended. + * gdb.base/dprintf.exp: Test that "set remote + breakpoint-commands-packet off" works as intended. + * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled): + New function. + (top level): Call it. + * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set + remote fast-tracepoints-packet off" works as intended. + * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ... + * lib/gdb.exp (gdb_is_target_remote): ... here. + +2014-04-24 David Blaikie + + * gdb.base/catch-syscall.c: Make unreferenced statics non-static to + ensure clang would not discard them. + * gdb.base/gdbvars.c: Ditto. + * gdb.base/memattr.c: Ditto. + * gdb.base/whatis.c: Ditto. + * gdb.python/py-prettyprint.c: Ditto. + * gdb.trace/actions.c: Ditto. + * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to + ensure clang would not discard it. + +2014-04-24 David Blaikie + + * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause + clang to emit the full definition of type required by the test + * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message + +2014-04-24 David Blaikie + + * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to + coax Clang into emitting the definition of the type. + * gdb.cp/pr10728-x.h (y): Ditto. + * gdb.cp/pr10728-y.cc (y): Ditto. + +2014-04-24 David Blaikie + + * gdb.base/label.exp: XFAIL label related tests under Clang. + * gdb.cp/cplabel.exp: Ditto. + * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL + under Clang those using labels. + +2014-04-25 Yao Qi + + * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused + double_label. + * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove + partial_label and double_label. + +2014-04-24 David Blaikie + + * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641. + +2014-04-24 David Blaikie + + * gdb.cp/cpexprs.cc: Move braces to the same line as the start + of the function to work across GCC and Clang. + * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable + pointer types (const void ** const V void **). + +2014-04-24 Michael Sturm + Walfred Tedeschi + + * Makefile.in (EXECUTABLES): Added i386-avx512. + * gdb.arch/i386-avx512.c: New file. + * gdb.arch/i386-avx512.exp: Likewise. + +2014-04-23 Keith Seitz + + * lib/mi-support.exp (mi_list_breakpoints): Delete. + (mi_make_breakpoint_table): New procedure. + (mi_create_breakpoint): Use mi_make_breakpoint + and return the result. + (mi_make_breakpoint): New procedure. + (mi_build_kv_pairs): New procedure. + + * gdb.mi/mi-break.exp: Remove unused globals, + update mi_create_breakpoint usage, and use mi_make_breakpoint_table. + All callers updated. + * gdb.mi/mi-dprintf.exp: Use variable to track command + number. + Update all callers of mi_create_breakpoint and use + mi_make_breakpoint_table. + Remove any unused global variables. + * gdb.mi/mi-nonstop.exp: Likewise. + * gdb.mi/mi-nsintrall.exp: Likewise. + * gdb.mi/mi-nsmoribund.exp: Likewise. + * gdb.mi/mi-nsthrexec.exp: Likewise. + * gdb.mi/mi-reverse.exp: Likewise. + * gdb.mi/mi-simplerun.exp: Likewise. + * gdb.mi/mi-stepn.exp: Likewise. + * gdb.mi/mi-syn-frame.exp: Likewise. + * gdb.mi/mi-until.exp: Likewise. + * gdb.mi/mi-var-cp.exp: Likewise. + * gdb.mi/mi-var-display.exp: Likewise. + * gdb.mi/mi2-amd64-entry-value.exp: Likewise. + * gdb.mi/mi2-var-child.exp: Likewise. + * gdb.mi/mi-vla-c99.exp: Likewise. + * lib/mi-support.exp: Likewise. + + From Ian Lance Taylor : + * lib/gdb.exp (parse_args): New procedure. + +2014-04-23 Pedro Alves + + * gdb.base/break-unload-file.c: New file. + * gdb.base/break-unload-file.exp: New file. + * gdb.base/sym-file-lib.c (baz): New function. + * gdb.base/sym-file-loader.c (struct segment) : New + field. + (load): Store the segment's mapped size. + (unload): New function. + (unload_shlib): New function. + * gdb.base/sym-file-loader.h (unload_shlib): New declaration. + * gdb.base/sym-file-main.c (main): Unload, and reload the library, + set a breakpoint at baz, and call it. + * gdb.base/sym-file.exp: New tests for stale breakpoint + instructions. + +2014-04-23 Pedro Alves + + * gdb.base/hbreak-in-shr-unsupported-shr.c: New file. + * gdb.base/hbreak-in-shr-unsupported.c: New file. + * gdb.base/hbreak-in-shr-unsupported.exp: New file. + * gdb.base/hbreak-unmapped.c: New file. + * gdb.base/hbreak-unmapped.exp: New file. + * gdb.trace/qtro.exp (gdb_is_target_remote): Move ... + * lib/gdb.exp (gdb_is_target_remote): ... here. + +2014-04-22 Pedro Alves + + * gdb.base/consecutive-step-over.c: New file. + * gdb.base/consecutive-step-over.exp: New file. + +2014-04-22 Pedro Alves + + * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple + instead of send_gdb/gdb_expect. + +2014-04-22 Yao Qi + + * lib/trace-support.exp (generate_tracefile): New procedure. + * gdb.trace/tfile.exp: Skip the test if generate_tracefile + return 0. + * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile + if generate_tracefile returns 1. + +2014-04-18 Tom Tromey + Pedro alves + + PR backtrace/15558 + * gdb.opt/inline-bt.exp: Test backtracing from an inline function + with a backtrace limit. + * gdb.python/py-frame-inline.exp: Test running to an inline + function with a backtrace limit, and printing the newest frame. + * gdb.python/py-frame-inline.c (main): Call f. + +2014-04-17 Marcus Shawcroft + + * gdb.java/jnpe.exp: Drop srcdir from untested path. + +2014-04-17 Marcus Shawcroft + + * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc): + Drop prefix from unsupported source file path. + +2014-04-17 Yao Qi + + * lib/gdb.exp (with_target_charset): New proc. + * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with + with_target_charset. + (test_print_strings): Likewise. + (test_repeat_bytes): Likewise. + * gdb.base/setvar.exp: Set target-charset to ASCII temporarily + for some tests. + +2014-04-16 Keith Seitz + + PR gdb/15827 + * gdb.dwarf2/corrupt.c: New file. + * gdb.dwarf2/corrupt.exp: New file. + +2014-04-16 Keith Seitz + + PR c++/16597 + * gdb.cp/namelessclass.cc: New file. + * gdb.cp/namelessclass.exp: New file. + * gdb.cp/namelessclass.S: New file. + +2014-04-16 Doug Evans + + * lib/gdbserver-support.exp (gdbserver_default_get_remote_address): + Add comment. + (gdbserver_default_get_comm_port): New function. + (gdbserver_start): Check if board file provided + "gdbserver,get_comm_port" and use it if so. + * boards/native-stdio-gdbserver.exp (sockethost): Set to "". + (gdb,socketport): Set to "stdio". + (gdbserver,get_comm_port): Set to ${board}_get_comm_port. + (stdio_gdbserver_template): Delete. + (${board}_get_remote_address): Update. + (${board}_build_remote_cmd): Delete. + (${board}_get_comm_port): New function. + (${board}_spawn): Update. + * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd): + Delete. + (${board}_get_remote_address): Update. + (${board}_get_comm_port): New function. + +2014-04-16 Andrew Burgess + + * gdb.base/memattr.exp: Improve regexps to handle memory regions + appearing in any order. + +2014-04-15 Doug Evans + + * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference + uninitialized value of "description". + +2014-04-15 Keith Seitz + + * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing): + Remove unused globals. + (test_running_the_program): Likewise. + (test_controlled_execution): Likewise. + (test_controlling_breakpoints): Likewise. + (test_program_termination): Likewise. + +2014-04-15 Keith Seitz + + * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove + unused globals. + (test_rbreak_creation_and_listing): Likewise. + (test_ignore_count): Likewise. + (test_error): Likewise. + +2014-04-15 Pedro Alves + + * gdb.base/sym-file-loader.h: Move inclusion of , + , and to + sym-file-loader.c. + (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr) + (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move + to sym-file-loader.c. + (struct library): Forward declare. + (load_shlib, lookup_function): Change prototypes. + (find_shstrtab, find_strtab, find_shdr, find_symtab) + (translate_offset): Remove declarations. + (get_text_addr): New declaration. + * gdb.base/sym-file-loader.c: Move inclusion of , + , and here from + sym-file-loader.h. + (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr) + (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move + here from sym-file-loader.h. + (struct library): New structure. + (load_shlib, lookup_function): Change prototypes and adjust to + work with a struct library. + (find_shstrtab, find_strtab, find_shdr, find_symtab) + (translate_offset): Make static. + (get_text_addr): New function. + * gdb.base/sym-file-main.c (main): Adjust to new loader interface. + +2014-04-15 Pedro Alves + + * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK. + +2014-04-15 Pedro Alves + + * gdb.base/sym-file-loader.c: Include . + (SELF_LINK): New define. + (get_origin): New function. + (load_shlib): Use it. + * gdb.base/sym-file.exp: Don't early return if the target is + remote. Use runto_main, and issue fail is that fails. Use + gdb_load_shlibs. + (shlib_name): Delete. + (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout. + +2014-04-15 Pedro Alves + + * gdb.base/sym-file.exp: Remove regex characters from test + message. Don't refer to breakpoint numbers in test messages. + +2014-04-14 Keith Seitz + + PR c++/16253 + * gdb.cp/var-tag.cc: New file. + * gdb.cp/var-tag.exp: New file. + * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++. + * gdb.dwarf2/dw2-anon-mptr.exp: Likewise. + * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise. + * gdb.dwarf2/dw2-inheritance.exp: Likewise. + +2014-04-14 Tom Tromey + + * gdb.cp/classes.exp (test_enums): Handle underlying type. + * gdb.dwarf2/enum-type.exp: Add test for enum with underlying + type. + * gdb.cp/enum-class.exp: New file. + * gdb.cp/enum-class.cc: New file. + +2014-04-14 Tom Tromey + + * gdb.dwarf2/enum-type.exp: New file. + +2014-04-14 Sanimir Agovic + + * gdb.mi/mi-vla-c99.exp: New file. + * gdb.mi/vla.c: New file. + +2014-04-14 Sanimir Agovic + + * gdb.base/vla-datatypes.c: New file. + * gdb.base/vla-datatypes.exp: New file. + +2014-04-14 Sanimir Agovic + + * gdb.base/vla-ptr.c: New file. + * gdb.base/vla-ptr.exp: New file. + +2014-04-14 Sanimir Agovic + + * gdb.dwarf2/count.exp: New file. + +2014-04-14 Sanimir Agovic + + * gdb.base/vla-sideeffect.c: New file. + * gdb.base/vla-sideeffect.exp: New file. + +2014-04-14 David Blaikie + + * gdb.mi/non-stop.c: Add return value for non-void function return + statement. + * gdb.threads/staticthreads.c: Ditto. + +2014-04-12 Siva Chandra Reddy + Doug Evans + + * gdb.guile/scm-value.c: Improve test case. + * gdb.guile/scm-value.exp: Add new test. + +2014-04-11 David Blaikie + + * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to + override Clang's default. + +2014-04-11 Joel Brobecker + + Revert the following changes (regressions): + + * gdb.base/vla-sideeffect.c: New file. + * gdb.base/vla-sideeffect.exp: New file. + + * gdb.dwarf2/count.exp: New file. + + * gdb.base/vla-multi.c: New file. + * gdb.base/vla-multi.exp: New file. + + * gdb.base/vla-ptr.c: New file. + * gdb.base/vla-ptr.exp: New file. + + * gdb.base/vla-datatypes.c: New file. + * gdb.base/vla-datatypes.exp: New file. + + * gdb.mi/mi-vla-c99.exp: New file. + * gdb.mi/vla.c: New file. + +2014-04-11 Keith Seitz + + PR c++/16675 + * gdb.cp/cpsizeof.exp: New file. + * gdb.cp/cpsizeof.cc: New file. + +2014-04-11 Sanimir Agovic + + * gdb.mi/mi-vla-c99.exp: New file. + * gdb.mi/vla.c: New file. + +2014-04-11 Sanimir Agovic + + * gdb.base/vla-datatypes.c: New file. + * gdb.base/vla-datatypes.exp: New file. + +2014-04-11 Sanimir Agovic + + * gdb.base/vla-ptr.c: New file. + * gdb.base/vla-ptr.exp: New file. + +2014-04-11 Sanimir Agovic + + * gdb.base/vla-multi.c: New file. + * gdb.base/vla-multi.exp: New file. + +2014-04-11 Sanimir Agovic + + * gdb.dwarf2/count.exp: New file. + +2014-04-11 Sanimir Agovic + + * gdb.base/vla-sideeffect.c: New file. + * gdb.base/vla-sideeffect.exp: New file. + +2014-04-11 Yao Qi + + * gdb.base/completion.exp: Check file exists before running tests + on file completion. + +2014-04-10 Pedro Alves + + * gdb.base/cond-eval-mode.c: New file. + * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust + prepare_for_testing to build the new file. Check result of + runto_main. + (test_break, test_watch): New procedures. + (top level): Use them. + +2014-04-08 Pierre Muller + + * gdb.base/printcmds.exp (test_artificial_arrays): Disable + Ctrl-V use for mingw hosts. + +2014-04-07 Siva Chandra Reddy + + * gdb.python/py-value.c: Improve test case. + * gdb.python/py-value.exp: Add new test. + +2014-04-07 David Blaikie + + * lib/compiler.c: Identify the clang compiler. + * lib/compiler.cc: Ditto. + +2014-04-03 Yao Qi + + * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD. + +2014-04-01 Anton Blanchard + + * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test + messages unique. + +2014-04-01 Anton Blanchard + + * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile, + prepare_for_testing. + +2014-04-01 Anton Blanchard + + * gdb.arch/ppc64-atomic-inst.c: Remove. + * gdb.arch/ppc64-atomic-inst.S: New file. + * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase. + +2014-03-31 Doug Evans + + * gdb.base/print-symbol-loading-lib.c: New file. + * gdb.base/print-symbol-loading-main.c: New file. + * gdb.base/print-symbol-loading.exp: New file. + +2014-03-31 Yao Qi + + * gdb.base/source-dir.exp: Allow ';' as a directory separator. + +2014-03-28 Joel Brobecker + + * gdb.ada/mi_dyn_arr: New testcase. + +2014-03-27 Doug Evans + + * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug". + +2014-03-27 Yao Qi + + * lib/gdb.exp (can_single_step_to_signal_handler): Return zero + if target is nios2-*-*. + +2014-03-26 Yao Qi + + * lib/gdb.exp (readline_is_used): New proc. + * gdb.base/completion.exp: Move tests on command complete up. + Skip the rest of tests if readline is not used. + * gdb.ada/complete.exp: Skp the test if readline is not + used. + * gdb.base/filesym.exp: Likewise. + * gdb.base/macscp.exp: Likewise. + * gdb.base/readline-ask.exp: Likewise. + * gdb.base/readline.exp: Likewise. + * gdb.python/py-cmd.exp: Likewise. + * gdb.trace/tfile.exp: Likewise. + +2014-03-26 Yao Qi + + * gdb.base/macscp.exp: Fix code format issues. + +2014-03-25 Ulrich Weigand + + * gdb.asm/asm-source.exp: Handle powerpc64le-* targets. + * gdb.asm/powerpc64le.inc: New file. + +2014-03-25 Pedro Alves + Doug Evans + + * gdb.base/source-execution.c: New file. + * gdb.base/source-execution.exp: New file. + * gdb.base/source-execution.gdb: New file. + +2014-03-24 Doug Evans + + * gdb.linespec/macro-relative.exp: Mark the test as unsupported if + using fission. + +2014-03-24 Hui Zhu + Pedro Alves + + PR breakpoints/16101 + * gdb.base/dprintf.exp: Use unsupported rather than changing the + test pass/fail messages. Detect missing support for dprintf when + breakpoints are actually inserted. + * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when + breakpoints are actually inserted. + * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue + fails. + +2014-03-24 Jan Kratochvil + + * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1". + +2014-03-22 Doug Evans + + * gdb.python/python.exp (python not supported): Verify multi-line + python command issues an error. + * gdb.guile/guile.exp (guile not supported): Verify multi-line + guile command issues an error. + +2014-03-21 Maciej W. Rozycki + + * gdb.threads/thread-specific.exp: Handle the lack of usable + $this_breakpoint and $this_thread. + +2014-03-21 Hui Zhu + + * gdb.base/attach.exp (do_command_attach_tests): New. + +2014-03-20 Tom Tromey + Pedro Alves + + PR cli/15718 + * gdb.base/condbreak-call-false.c: New file. + * gdb.base/condbreak-call-false.exp: New file. + +2014-03-20 Pedro Alves + + * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid): + Delete. + (block_signals, unblock_signals): Delete. + (child_function_2, main): Remove references to deleted variable + and functions. + +2014-03-20 Pedro Alves + + * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main): + Use pthread_kill to signal thread 2. + * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: + Adjust to make the test send itself a signal rather than using the + host's "kill" command. + +2014-03-20 Pedro Alves + + * gdb.threads/multiple-step-overs.c: New file. + * gdb.threads/multiple-step-overs.exp: New file. + * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: + Adjust expected infrun debug output. + +2014-03-20 Pedro Alves + + * gdb.threads/step-over-trips-on-watchpoint.c: New file. + * gdb.threads/step-over-trips-on-watchpoint.exp: New file. + +2014-03-20 Pedro Alves + + PR breakpoints/7143 + * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of + old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead + of gdb_test_multiple. + * gdb.cp/annota2.exp: Remove kfail for gdb/38. + * gdb.cp/annota3.exp: Remove kfail for gdb/38. + +2014-03-20 Pedro Alves + + * gdb.threads/step-over-lands-on-breakpoint.c: New file. + * gdb.threads/step-over-lands-on-breakpoint.exp: New file. + +2014-03-19 Pedro Alves + + * gdb.base/async.exp: Remove early return. + +2014-03-19 Pedro Alves + + * gdb.base/async.exp (step& tests): Pass explicit test messages. + +2014-03-19 Pedro Alves + + * gdb.base/async.exp (test_background): Expect \r\n after + "completed." in the fail pattern. + +2014-03-19 Pedro Alves + + * gdb.base/async.exp (test_background): New procedure. + Use it for all background execution command tests. + +2014-03-19 Pedro Alves + + * gdb.base/async.exp: Use prepare_for_testing. + +2014-03-19 Pedro Alves + + * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in + the same line. + +2014-03-19 Pedro Alves + + * gdb.base/async.c (main): Add "jump here" and "until here" line + marker comments. + * gdb.base/async.exp (jump_here): New global. + (jump& test): Use it. + (until_here): New global. + (until& test): Use it. + +2014-03-19 Pedro Alves + + * gdb.base/async.exp: Don't frob gdb_protocol. + +2014-03-18 Doug Evans + + * gdb.base/async.exp: Whitespace fixes. Turn on target-async. + Fix spelling of exec-done-display. + +2014-03-18 Jan Kratochvil + + PR gdb/15358 + * gdb.base/gdb-sigterm.c: New file. + * gdb.base/gdb-sigterm.exp: New file. + +2014-03-18 Pedro Alves + + PR gdb/13860 + * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail. + * lib/mi-support.exp (mi_expect_stop): Add special handling for + solib-event. + +2014-03-17 Joel Brobecker + + * gdb.ada/pckd_arr_ren: New testcase. + +2014-03-13 Doug Evans + + PR guile/16612 + * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage + collect after discarding symbols. + +2014-03-13 Ludovic Courtès + Doug Evans + + * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added + to history survives a gc. + +2014-03-13 Pedro Alves + + * gdb.base/default.exp: Don't test "target procfs". + +2014-03-13 Pedro Alves + + * gdb.base/default.exp: Update "target child" and "target procfs" + tests to not expect "Unix". + +2014-03-12 Tom Tromey + + * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach): + New procs. Add target-async tests. + * gdb.reverse/break-precsave.exp (precsave_tests): New proc. + Add target-async tests. + +2014-03-12 Andreas Arnez + + * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels + 'func_start' and 'func_end' for the beginning and end of the + function code, respectively. + * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and + 'func_end' instead of 'func' and 'main'. + +2014-03-12 Andreas Arnez + + * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove. + * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to + generate the debug info assembler source. + +2014-03-12 Andreas Arnez + + * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'. + * gdb.dwarf2/arr-subrange.exp: Likewise. + * gdb.dwarf2/dwz.exp: Likewise. + * gdb.dwarf2/method-ptr.exp: Likewise. + * gdb.dwarf2/missing-sig-type.exp: Likewise. + * gdb.dwarf2/subrange.exp: Likewise. + * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'. + * gdb.dwarf2/implptrpiece.exp: Likewise. + * gdb.dwarf2/nostaticblock.exp: Likewise. + +2014-03-12 Andreas Arnez + + * lib/gdb.exp (build_executable_from_specs): Don't prepend source + directory to absolute path name arguments. + +2014-03-10 Joel Brobecker + + * gdb.ada/tagged_access: New testcase. + +2014-03-07 Markus Metzger + + * gdb.btrace/data.exp: Update expected output. + +2014-03-06 Yao Qi + + * gdb.trace/pr16508.exp: New file. + +2014-03-05 Pedro Alves + + PR gdb/16575 + * gdb.base/breakpoint-shadow.exp (compare_disassembly): New + procedure. + (top level): Adjust to use it. Add tests that exercise breakpoint + interaction with the code-cache. + +2014-02-26 Ludovic Courtès + + * gdb.guile/scm-value.exp (test_value_in_inferior): Add + test for 'history-append!'. + +2014-02-26 Joel Brobecker + + * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file. + * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file. + * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file. + * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file. + * gdb.dwarf2/dw2-abs-hi-pc.c: New file. + * gdb.dwarf2/dw2-abs-hi-pc.exp: New file. + +2014-02-26 Joel Brobecker + + * testsuite/gdb.python/py-pp-re-notag.c: New file. + * testsuite/gdb.python/py-pp-re-notag.ex: New file. + * testsuite/gdb.python/py-pp-re-notag.p: New file. + +2014-02-26 Joel Brobecker + + * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files. + +2014-02-26 Joel Brobecker + + * gdb.dwarf2/arr-stride.c: New file. + * gdb.dwarf2/arr-stride.exp: New file. + +2014-02-26 Pedro Alves + + * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me + that won't ever trigger. Make sure that GDB reports the correct + breakpoint that caused the stop. + +2014-02-25 Jan Kratochvil + + PR gdb/16626 + * gdb.base/auto-load-script: New file. + * gdb.base/auto-load.c: New file. + * gdb.base/auto-load.exp: New file. + + PR gdb/16626 + * gdb.base/auto-load.exp: Fix out-of-srctree run. + +2014-02-25 Jan Kratochvil + + Fix dw2-icycle.exp -fsanitize=address GDB crash. + * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling. + +2014-02-24 Doug Evans + + * lib/gdb.exp (run_on_host): Log error output if program fails. + +2014-02-21 Pedro Alves + + * gdb.threads/step-after-sr-lock.c: Rename to ... + * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this. + * gdb.threads/step-after-sr-lock.exp: Rename to ... + * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: + ... this. + +2014-02-20 Sergio Durigan Junior + + PR tdep/16397 + * gdb.arch/amd64-stap-special-operands.exp: New file. + * gdb.arch/amd64-stap-three-arg-disp.S: Likewise. + * gdb.arch/amd64-stap-three-arg-disp.c: Likewise. + * gdb.arch/amd64-stap-triplet.S: Likewise. + * gdb.arch/amd64-stap-triplet.c: Likewise. + +2014-02-20 Joel Brobecker + + * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters + in .section pseudo-op. + +2014-02-20 lin zuojian + Joel Brobecker + Doug Evans + + PR symtab/16581 + * gdb.dwarf2/dw2-icycle.S: New file. + * gdb.dwarf2/dw2-icycle.c: New file. + * gdb.dwarf2/dw2-icycle.exp: New file. + +2014-02-19 Siva Chandra Reddy + + * gdb.python/py-value-cc.cc: Improve test case to enable testing + operations on gdb.Value objects. + * gdb.python/py-value-cc.exp: Add new test to test operations on + gdb.Value objects. + +2014-02-18 Doug Evans + + * Makefile.in (TESTS): New variable. + (expanded_tests, expanded_tests_or_none): New variables + (check-single): Pass $(expanded_tests_or_none) to runtest. + (check-parallel): Only run tests in $(TESTS) if non-empty. + (check/no-matching-tests-found): New rule. + * README: Document TESTS makefile variable. + +2014-02-18 Doug Evans + + * Makefile.in (check-parallel): rm -rf outputs temp. + +2014-02-16 Jan Kratochvil + + Fix "ERROR: no fileid for" in the testsuite. + * lib/gdb.exp (gdb_finish): Check gdb_spawn_id. + +2014-02-12 Doug Evans + + * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink. + (MISCELLANEOUS): New variable. + (clean): rm -rf $(MISCELLANEOUS). + * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and + dwp live in the same directory as symlinks, with each symlink pointed + to a differently named file in a different directory. + +2014-02-11 Doug Evans + + * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead + of Tcl file commands. + +2014-02-10 Mark Kettenis + + * gdb.threads/step-after-sr-lock.exp: Avoid executing + "kill -SIGUSR1 -1". + +2014-02-10 Joel Brobecker + + * gdb.ada/tick_length_array_enum_idx: New testcase. + +2014-02-10 Doug Evans + + * configure.ac (AC_OUTPUT): Add gdb.guile. + * configure: Regenerate. + * lib/gdb-guile.exp: New file. + * lib/gdb.exp (get_target_charset): New function. + * gdb.base/help.exp: Update expected output from "apropos apropos". + * gdb.guile/Makefile.in: New file. + * gdb.guile/guile.exp: New file. + * gdb.guile/scm-arch.c: New file. + * gdb.guile/scm-arch.exp: New file. + * gdb.guile/scm-block.c: New file. + * gdb.guile/scm-block.exp: New file. + * gdb.guile/scm-breakpoint.c: New file. + * gdb.guile/scm-breakpoint.exp: New file. + * gdb.guile/scm-disasm.c: New file. + * gdb.guile/scm-disasm.exp: New file. + * gdb.guile/scm-equal.c: New file. + * gdb.guile/scm-equal.exp: New file. + * gdb.guile/scm-error.exp: New file. + * gdb.guile/scm-error.scm: New file. + * gdb.guile/scm-frame-args.c: New file. + * gdb.guile/scm-frame-args.exp: New file. + * gdb.guile/scm-frame-args.scm: New file. + * gdb.guile/scm-frame-inline.c: New file. + * gdb.guile/scm-frame-inline.exp: New file. + * gdb.guile/scm-frame.c: New file. + * gdb.guile/scm-frame.exp: New file. + * gdb.guile/scm-generics.exp: New file. + * gdb.guile/scm-gsmob.exp: New file. + * gdb.guile/scm-iterator.c: New file. + * gdb.guile/scm-iterator.exp: New file. + * gdb.guile/scm-math.c: New file. + * gdb.guile/scm-math.exp: New file. + * gdb.guile/scm-objfile-script-gdb.in: New file. + * gdb.guile/scm-objfile-script.c: New file. + * gdb.guile/scm-objfile-script.exp: New file. + * gdb.guile/scm-objfile.c: New file. + * gdb.guile/scm-objfile.exp: New file. + * gdb.guile/scm-ports.exp: New file. + * gdb.guile/scm-pretty-print.c: New file. + * gdb.guile/scm-pretty-print.exp: New file. + * gdb.guile/scm-pretty-print.scm: New file. + * gdb.guile/scm-section-script.c: New file. + * gdb.guile/scm-section-script.exp: New file. + * gdb.guile/scm-section-script.scm: New file. + * gdb.guile/scm-symbol.c: New file. + * gdb.guile/scm-symbol.exp: New file. + * gdb.guile/scm-symtab-2.c: New file. + * gdb.guile/scm-symtab.c: New file. + * gdb.guile/scm-symtab.exp: New file. + * gdb.guile/scm-type.c: New file. + * gdb.guile/scm-type.exp: New file. + * gdb.guile/scm-value-cc.cc: New file. + * gdb.guile/scm-value-cc.exp: New file. + * gdb.guile/scm-value.c: New file. + * gdb.guile/scm-value.exp: New file. + * gdb.guile/source2.scm: New file. + * gdb.guile/types-module.cc: New file. + * gdb.guile/types-module.exp: New file. + +2014-02-10 Yao Qi + + PR testsuite/16543 + * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT. + * configure: Regenerated. + * Makefile.in: New file. + +2014-02-08 Andreas Schwab + + * gdb.python/py-framefilter.exp: Fix typo. + +2014-02-08 Yao Qi + + * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test + that no =breakpoint-modified is emitted when breakpoints are + modified through MI commands. + +2014-02-07 Pedro Alves + Pedro Alves + + * gdb.threads/step-after-sr-lock.c: New file. + * gdb.threads/step-after-sr-lock.exp: New file. + +2014-02-07 Pedro Alves + + * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print. + +2014-02-06 Jan Kratochvil + + Fix i386-sse-stack-align.exp regression since GDB_PARALLEL. + * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file. + +2014-02-06 Doug Evans + + * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected + output. + + * gdb.gdb/python-interrupts.exp: New file. + +2014-02-05 Yao Qi + + * gdb.trace/report.exp (use_collected_data): Test the output + of "info threads" and "info inferiors". + +2014-02-05 Yao Qi + + Revert this patch: + + 2013-05-24 Yao Qi + + * gdb.trace/tfile.exp: Test inferior and thread. + +2014-02-04 Ulrich Weigand + + * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint + on a function. + * gdb.base/step-bt.c: Call hello via function pointer to make + sure its first instruction is executed on powerpc64le-linux. + +2014-02-04 Ulrich Weigand + + * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*. + +2014-02-04 Ulrich Weigand + + * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants + of the test patterns for use on little-endian systems. + +2014-02-04 Ulrich Weigand + + * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test. + (decimal_vector): Fix for little-endian. + +2014-01-29 Jose E. Marchesi + + * gdb.arch/sparc-sysstep.exp: New file. + * gdb.arch/sparc-sysstep.c: Likewise. + + * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep. + +2014-01-28 Edjunior Barbosa Machado + + * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols. + +2014-01-23 Tom Tromey + + * gdb.ada/array_char_idx: New testcase. + +2014-01-23 Tom Tromey + + PR python/16487: + * gdb.python/py-framefilter.exp: Add test using "Error" filter. + * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New + classes. + +2014-01-23 Tom Tromey + + PR python/16491: + * gdb.python/py-framefilter.py (Reverse_Function.function): Read a + string from an inferior frame. + * gdb.python/py-framefilter-mi.exp: Update. + +2014-01-22 Doug Evans + + * gdb.server/server-mon.exp: Add tests for "set debug-format". + +2014-01-22 Andreas Arnez + + * gdb.base/catch-syscall.exp: Activate test on s390*-linux. + +2014-01-22 Andreas Arnez + + * gdb.trace/entry-values.exp: Remove excess space character from + regex patterns. Handle s390 call instruction. + +2014-01-22 Andreas Arnez + + * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and + define "*_start" label. Make "name" static. + * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to + ${name} by references to ${name}_start. + +2014-01-22 Andreas Arnez + + * gdb.base/info-macros.exp: Remove "debug" from the compile + options. + +2014-01-17 Iain Buclaw + + * gdb.dlang/demangle.exp: New file. + +2014-01-17 Iain Buclaw + + * gdb.dlang/primitive-types.exp: New file. + +2014-01-17 Iain Buclaw + + * configure.ac: Create gdb.dlang/Makefile. + * configure: Regenerate. + * Makefile.in (ALL_SUBDIRS): Add gdb.dlang. + * gdb.dlang/Makefile.in: New file. + * lib/d-support.exp: New file. + * lib/gdb.exp (skip_d_tests): New proc. + +2014-01-16 Markus Metzger + + * gdb.btrace/delta.exp: Check reverse stepi. + * gdb.btrace/tailcall.exp: Update. Add stepping tests. + * gdb.btrace/finish.exp: New. + * gdb.btrace/next.exp: New. + * gdb.btrace/nexti.exp: New. + * gdb.btrace/record_goto.c: Add comments. + * gdb.btrace/step.exp: New. + * gdb.btrace/stepi.exp: New. + * gdb.btrace/multi-thread-step.c: New. + * gdb.btrace/multi-thread-step.exp: New. + * gdb.btrace/rn-dl-bind.c: New. + * gdb.btrace/rn-dl-bind.exp: New. + * gdb.btrace/data.c: New. + * gdb.btrace/data.exp: New. + * gdb.btrace/Makefile.in (EXECUTABLES): Add new. + +2014-01-16 Markus Metzger + + * gdb.btrace/Makefile.in (EXECUTABLES): Add delta. + * gdb.btrace/exception.exp: Update. + * gdb.btrace/instruction_history.exp: Update. + * gdb.btrace/record_goto.exp: Update. + * gdb.btrace/tailcall.exp: Update. + * gdb.btrace/unknown_functions.exp: Update. + * gdb.btrace/delta.exp: New. + +2014-01-16 Markus Metzger + + * gdb.btrace/record_goto.exp: Add backtrace test. + * gdb.btrace/tailcall.exp: Add backtrace test. + +2014-01-16 Markus Metzger + + * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto. + * gdb.btrace/record_goto.c: New. + * gdb.btrace/record_goto.exp: New. + * gdb.btrace/x86-record_goto.S: New. + +2014-01-16 Markus Metzger + + * gdb.btrace/function_call_history.exp: Update tests. + * gdb.btrace/instruction_history.exp: Update tests. + +2014-01-16 Markus Metzger + + * gdb.btrace/function_call_history.exp: Fix expected field + order for "record function-call-history". + Add new tests for "record function-call-history /c". + * gdb.btrace/exception.cc: New. + * gdb.btrace/exception.exp: New. + * gdb.btrace/tailcall.exp: New. + * gdb.btrace/x86-tailcall.S: New. + * gdb.btrace/x86-tailcall.c: New. + * gdb.btrace/unknown_functions.c: New. + * gdb.btrace/unknown_functions.exp: New. + * gdb.btrace/Makefile.in (EXECUTABLES): Add new. + +2014-01-16 Markus Metzger + + * gdb.btrace/instruction_history.exp: Update. + * gdb.btrace/function_call_history.exp: Update. + +2014-01-16 Markus Metzger + + * gdb.btrace/function_call_history.exp: Fix expected function + trace. + * gdb.btrace/instruction_history.exp: Initialize traced. + Remove traced_functions. + +2014-01-16 Markus Metzger + + * gdb.btrace/function_call_history.exp: Update + * gdb.btrace/instruction_history.exp: Update. + +2014-01-16 Markus Metzger + + * gdb.btrace/enable.exp: Update expected text. + +2014-01-16 Omair Javaid + + * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4 + bytes. + +2014-01-15 Maciej W. Rozycki + + * gdb.base/float.exp: Handle "aarch64*-*-*" targets. + +2014-01-15 Omair Javaid + + * lib/gdb.exp (supports_process_record): Return true for + arm*-linux*. (supports_reverse): Likewise. + +2014-01-13 Siva Chandra Reddy + + PR python/15464 + PR python/16113 + * gdb.python/py-type.c: Enhance test case. + * gdb.python/py-value-cc.cc: Likewise + * gdb.python/py-type.exp: Add new tests. + * gdb.python/py-value-cc.exp: Likewise + +2014-01-10 Andreas Arnez + Pedro Alves + + * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol. + Make "name" extern. + * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace + references to ${name}_start by references to ${name}. + +2014-01-10 Joel Brobecker + + * gdb.ada/pp-rec-component.exp: Remove path from "source" test. + +2014-01-10 Joel Brobecker + + * gdb.python/py-pp-integral.exp: Remove path from "source" test. + +2014-01-09 Maciej W. Rozycki + Pedro Alves + + * gdb.mi/mi-info-os.exp: Connect to the target with + mi_gdb_target_load. + +2014-01-08 Pedro Alves + + * gdb.threads/reconnect-signal.c: New file. + * gdb.threads/reconnect-signal.exp: New file. + +2014-01-07 Jan Kratochvil + + * gdb.base/source-dir.exp: New file. + +2014-01-07 Joel Brobecker + + * gdb.ada/mi_interface: New testcase. + +2014-01-07 Joel Brobecker + + * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py, + gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb, + gdb.ada/pp-rec-component/pck.ads: New files. + +2014-01-07 Joel Brobecker + + * gdb.python/py-pp-integral.c: New file. + * gdb.python/py-pp-integral.py: New file. + * gdb.python/py-pp-integral.exp: New file. + +For older changes see ChangeLog-1993-2013. + +;; Local Variables: +;; mode: change-log +;; left-margin: 8 +;; fill-column: 74 +;; version-control: never +;; End: + + Copyright 2014-2021 Free Software Foundation, Inc. + Copying and distribution of this file, with or without modification, + are permitted provided the copyright notice and this notice are preserved. diff --git a/gdbserver/ChangeLog b/gdbserver/ChangeLog deleted file mode 100644 index c2ff85ed553..00000000000 --- a/gdbserver/ChangeLog +++ /dev/null @@ -1,22864 +0,0 @@ -2021-06-19 Mike Frysinger - - * acinclude.m4: Delete most m4_include's of ../config files. - * configure.ac: Delete m4_include call and call AC_CONFIG_MACRO_DIR. - * aclocal.m4: Regenerate. - * configure: Regenerate. - -2021-06-14 Mike Frysinger - - * Makefile.in (GNULIB_BUILDDIR): Rename to ... - (GNULIB_PARENT_DIR): ... this. Remove "gnulib" from value. - -2021-05-27 Simon Marchi - - * Fix some indentation mistakes throughout. - -2021-05-17 Andrew Burgess - - * .dir-locals.el: Set sentence-end-double-space for all modes, and - set brace-list-open to 0 for C and C++ modes. - -2021-05-08 Simon Marchi - - * linux-low.cc (linux_process_target::wait_for_event_filtered): - Adjust to status_to_str returning std::string. - -2021-05-08 Pedro Alves - - * linux-low.cc: - (linux_process_target::supports_disable_randomization): Remove - reference to HAVE_PERSONALITY. - * config.in, configure: Regenerate. - -2021-05-08 Pedro Alves - - * linux-low.cc: Don't include sys/personality.h or define - ADDR_NO_RANDOMIZE. - -2021-05-06 Tankut Baris Aktemur - - * server.cc (handle_v_attach) - (handle_v_run) - (handle_v_kill): Make void. - -2021-05-03 Tom Tromey - - PR build/27807: - * win32-i386-low.cc (i386_get_thread_context): Call - Wow64GetThreadContext, not win32_Wow64GetThreadContext. - -2021-04-30 Tom Tromey - - * win32-low.cc (do_initial_child_stuff): Update. - (windows_nat::handle_load_dll): Rename from win32_add_one_solib. - Change parameter type. - (win32_add_dll, win32_add_all_dlls) - (windows_nat::handle_load_dll): Remove. - (get_child_debug_event): Call dll_loaded_event. - -2021-04-30 Tom Tromey - - * win32-low.cc (GETPROCADDRESS): Remove. - (winapi_DebugActiveProcessStop, winapi_DebugSetProcessKillOnExit) - (winapi_DebugBreakProcess, winapi_GenerateConsoleCtrlEvent) - (winapi_Wow64SetThreadContext, win32_Wow64GetThreadContext) - (win32_Wow64SetThreadContext): Remove. - (win32_set_thread_context, do_initial_child_stuff) - (win32_process_target::attach, win32_process_target::detach): - Update. - (winapi_EnumProcessModules, winapi_EnumProcessModulesEx) - (winapi_GetModuleInformation, winapi_GetModuleInformationA): - Remove. - (win32_EnumProcessModules, win32_EnumProcessModulesEx) - (win32_GetModuleInformation, win32_GetModuleInformationA): - Remove. - (load_psapi): Remove. - (win32_add_dll, win32_process_target::request_interrupt): Update. - (initialize_low): Call initialize_loadable. - -2021-04-14 Tom Tromey - - * win32-low.cc (windows_nat::handle_load_dll): Don't check - _WIN32_WCE. - -2021-04-13 Pedro Alves - - * gdbreplay.c [__MINGW32CE__] (COUNTOF, errno, strerror): Remove. - -2021-04-13 Tom Tromey - - * win32-low.cc (winapi_CreateToolhelp32Snapshot) - (winapi_Module32First, winapi_Module32Next): Remove typedefs. - -2021-04-13 Pedro Alves - - * Makefile.in (SFILES): Remove hostio-errno.cc. - * configure: Regenerate. - * configure.ac (GDBSERVER_DEPFILES): No longer add - $srv_hostio_err_objs. - * configure.srv (srv_hostio_err_objs): Delete. - * hostio-errno.cc: Delete. - * hostio.cc (hostio_error): Inline hostio_last_error_from_errno - here. - * hostio.h (hostio_last_error_from_errno): Delete. - * target.cc (process_stratum_target::hostio_last_error): Delete. - * target.h (class process_stratum_target) : - Delete. - -2021-04-12 Simon Marchi - - * win32-low.cc: Remove all code guarded by _WIN32_WCE. - * win32-low.h: Likewise. - -2021-04-12 Tankut Baris Aktemur - - * target.h (class process_stratum_target) : - Constify the return type. Update the definition/references below. - * target.cc (process_stratum_target::pid_to_exec_file) - * linux-low.h (class linux_process_target) - * linux-low.cc (linux_process_target::pid_to_exec_file) - * netbsd-low.h (class netbsd_process_target) - * netbsd-low.cc (netbsd_process_target::pid_to_exec_file) - * server.cc (handle_qxfer_exec_file) - -2021-04-11 Eli Zaretskii - - * win32-low.cc (win32_add_dll): New function, with body almost - identical to what win32_add_all_dlls did. Accepts one argument; - if that is non-NULL, returns the file name of the DLL that is - loaded at the base address equal to that argument, or NULL if not - found. If the argument is NULL, add all the DLLs loaded by the - inferior to the list of solibs and return NULL. - (win32_add_all_dlls): Now a thin wrapper around win32_add_dll. - (windows_nat::handle_load_dll) [!_WIN32_WCE]: If get_image_name - failed to glean the file name of the DLL, call win32_add_dll to - try harder using the lpBaseOfDll member of the load-DLL event. - -2021-03-30 Luis Machado - - * server.cc (handle_general_set, handle_query): Update variable - to bool and fix verification logic. - -2021-03-24 Luis Machado - - * Makefile.in (SFILES): Add /../gdb/nat/aarch64-mte-linux-ptrace.c. - * configure.srv (aarch64*-*-linux*): Add arch/aarch64-mte-linux.o and - nat/aarch64-mte-linux-ptrace.o. - * linux-aarch64-low.cc: Include nat/aarch64-mte-linux-ptrace.h. - (class aarch64_target) - : New method overrides. - (aarch64_target::supports_memory_tagging) - (aarch64_target::fetch_memtags) - (aarch64_target::store_memtags): New methods. - -2021-03-24 Luis Machado - - * linux-aarch64-low.cc (aarch64_fill_mteregset): New function. - (aarch64_store_mteregset): New function. - (aarch64_regsets): Add MTE register set entry. - (aarch64_sve_regsets): Add MTE register set entry. - -2021-03-24 Luis Machado - - * linux-aarch64-ipa.cc (get_ipa_tdesc): Update call to - aarch64_linux_read_description. - (initialize_low_tracepoint): Likewise. - * linux-aarch64-low.cc (aarch64_target::low_arch_setup): Take MTE flag - into account. - * linux-aarch64-tdesc.cc (tdesc_aarch64_list): Add one more dimension - for MTE. - (aarch64_linux_read_description): Add mte_p parameter and update to - use it. - * linux-aarch64-tdesc.h (aarch64_linux_read_description): Add mte_p - parameter. - -2021-03-24 Luis Machado - - * linux-aarch64-low.cc: Include arch/aarch64-mte-linux.h. - -2021-03-24 Luis Machado - - * server.cc (test_memory_tagging_functions): New function. - (captured_main): Register test_memory_tagging_functions. - -2021-03-24 Luis Machado - - * remote-utils.cc (decode_m_packet_params): Renamed from ... - (decode_m_packet): ... this, which now calls decode_m_packet_params. - Make char * param/return const char *. - (decode_M_packet): Use decode_m_packet_params and make char * param - const char *. - * remote-utils.h (decode_m_packet_params): New prototype. - (decode_m_packet): Constify char pointers. - (decode_M_packet): Likewise. - * server.cc (create_fetch_memtags_reply) - (parse_store_memtags_request): New - functions. - (handle_general_set): Handle the QMemTags packet. - (parse_fetch_memtags_request): New function. - (handle_query): Handle the qMemTags packet and advertise memory - tagging support. - (captured_main): Initialize memory tagging flag. - * server.h (struct client_state): Initialize memory tagging flag. - * target.cc (process_stratum_target::supports_memory_tagging) - (process_stratum_target::fetch_memtags) - (process_stratum_target::store_memtags): New methods. - * target.h: Include gdbsupport/byte-vector.h. - (class process_stratum_target) - : New class virtual methods. - (target_supports_memory_tagging): Define. - -2021-03-22 Tankut Baris Aktemur - - * inferiors.h (struct process_info) : New - fields. - * dll.h (loaded_dll) - (unloaded_dll): Declare an overloaded version that takes a proc - parameter. - * dll.cc (loaded_dll) - (unloaded_dll): Implement the overloaded versions. - (clear_dlls): Clear all process' dll lists. - (all_dlls, dlls_changed): Remove the global variables. - * remote-utils.cc (prepare_resume_reply): Update to consider a dll - list per proc. - * server.cc (handle_qxfer_libraries): Ditto. - (handle_v_attach): Ditto. - (captured_main): Ditto. - -2021-02-23 Simon Marchi - - * linux-low.cc (linux_process_target::filter_event): Return - void. - * linux-low.h (class linux_process_target) : - Return void. - -2021-02-12 Tom Tromey - - * gdbreplay.cc (remote_desc): Remove. - (remote_desc_in, remote_desc_out): New globals. - (remote_close): Update. - (remote_open): Handle "-". - (remote_open): Update. - (logchar): Log to stderr. - (expect, play): Update. - -2021-02-12 Tom Tromey - - * gdbreplay.cc (remote_open): Constify. - -2021-02-05 Paul E. Murphy - - * Makefile.in (UNDO_GNULIB_CFLAGS): Disable - gnulib free replacement too. - * common-defs.h [USE_WIN32API](read, write): Undefine - gnulib versions before defining these macros. - -2021-02-03 Pedro Alves - - * linux-low.cc (linux_process_target::complete_ongoing_step_over): - Discard step SIGTRAP, unless GDB wanted the thread to step. - -2021-02-03 Pedro Alves - - * server.cc (discard_queued_stop_replies): Don't ever discard the - notification at the head of the list. - -2021-01-20 Simon Marchi - - * ax.cc (bytecode_address_table): Make static. - * debug.cc (debug_file): Make static. - * linux-low.cc (stopping_threads): Make static. - (step_over_bkpt): Make static. - * linux-x86-low.cc (amd64_emit_ops, i386_emit_ops): Make static. - * tracepoint.cc (stop_tracing_bkpt, flush_trace_buffer_bkpt, - alloced_trace_state_variables, trace_buffer_ctrl, - tracing_start_time, tracing_stop_time, tracing_user_name, - tracing_notes, tracing_stop_note): Make static. - -2021-01-20 Tom de Vries - - * linux-x86-low.cc (collect_register_i386): New function. - (x86_fill_gregset): Remove memset. Use collect_register_i386. - -2021-01-07 Tom de Vries - - * Makefile.in (LIBIBERTY_NORMAL, LIBIBERTY_NOASAN, LIBIBERTY_PIC): - (LIBIBERTY_FOR_SHLIB): New var. - (LIBIBERTY): Set using $(LIBIBERTY_NORMAL). - (IPA_LIB): Use LIBIBERTY_FOR_SHLIB instead of LIBIBERTY in target rule. - -2021-01-04 Simon Marchi - - * debug.cc (debug_print_depth): New. - -2021-01-01 Joel Brobecker - - * server.cc (gdbserver_version): Update copyright year. - * gdbreplay.cc (gdbreplay_version): Likewise. - -2020-12-16 Luis Machado - - * linux-aarch64-low.cc (address_significant): New function. - (aarch64_target::low_stopped_data_address): Handle the TBI. - -2020-12-11 Andrew Burgess - - * Makefile.in (IPA_LIB): Include libiberty library. - -2020-11-11 Andrew Burgess - - * server.cc (gdbserver_usage): Add missing option to usage text. - (gdbserver_show_disableable): Likewise. - -2020-11-02 Simon Marchi - - * ax.cc: Fix indentation. - * dll.cc: Fix indentation. - * inferiors.h: Fix indentation. - * linux-low.cc: Fix indentation. - * linux-nios2-low.cc: Fix indentation. - * linux-ppc-ipa.cc: Fix indentation. - * linux-ppc-low.cc: Fix indentation. - * linux-x86-low.cc: Fix indentation. - * linux-xtensa-low.cc: Fix indentation. - * regcache.cc: Fix indentation. - * server.cc: Fix indentation. - * tracepoint.cc: Fix indentation. - -2020-10-31 Simon Marchi - - * acinclude.m4: Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE + - AC_LANG_PROGRAM. - * configure: Re-generate. - -2020-10-31 Simon Marchi - - * configure: Re-generate. - -2020-10-31 Simon Marchi - - * configure: Re-generate. - -2020-10-31 Simon Marchi - - * configure: Re-generate. - -2020-10-31 Simon Marchi - - * configure: Re-generate. - -2020-10-31 Simon Marchi - - * configure.ac: Modernize. - * configure: Re-generate. - -2020-10-31 Simon Marchi - - * configure.ac: Use AC_CANONICAL_{BUILD,HOST,TARGET} instead of - AC_CANONICAL_SYSTEM. - * configure: Re-generate. - -2020-10-26 Pedro Alves - - * netbsd-low.cc (netbsd_waitpid, netbsd_process_target::kill) - (netbsd_qxfer_libraries_svr4): Use gdb::handle_eintr without - explicit type. - -2020-10-25 Simon Marchi - - * acinclude.m4: Update ptrace.m4 path. - -2020-10-24 Simon Marchi - - * config.in: Re-generate. - * configure: Re-generate. - -2020-10-21 Simon Marchi - - * server.cc (handle_general_set): Don't use sprintf with - argument overlapping buffer. - -2020-10-20 Tom Tromey - - PR gdb/26742: - * inferiors.cc (remove_thread): Clear current_thread before - freeing the thread. - -2020-10-13 Kamil Rytarowski x - - * netbsd-low.cc (netbsd_tdesc): Remove. - (netbsd_add_process): Likewise. - (netbsd_process_target::create_inferior): Update. - -2020-10-09 Andrew Burgess - - * linux-arc-low.cc (arc_linux_read_description): Release the - unique_ptr returned from arc_create_target_description. - -2020-10-09 Andrew Burgess - - * Makefile.in: Include Makefile.gnulib.inc. Don't define LIBGNU - or INCGNU. Make use of LIBGNU_EXTRA_LIBS when linking. - -2020-10-08 Andrew Burgess - - * linux-low.cc (linux_process_target::handle_extended_wait): - Release the unique_ptr returned from allocate_target_description. - * linux-riscv-low.cc (riscv_target::low_arch_setup): Likewise. - * linux-x86-low.cc (tdesc_amd64_linux_no_xml): Change type. - (tdesc_i386_linux_no_xml): Change type. - (x86_linux_read_description): Borrow pointer from unique_ptr - object. - (x86_target::get_ipa_tdesc_idx): Likewise. - (initialize_low_arch): Likewise. - * tdesc.cc (allocate_target_description): Update return type. - -2020-10-07 Tom Tromey - - * server.cc (handle_search_memory): Remove dead code. - -2020-10-07 Tom Tromey - - * server.cc (handle_search_memory_1): Remove. - (handle_search_memory): Use simple_search_memory. - -2020-10-07 Simon Marchi - - * Makefile.in (COMPILE): Add CXXFLAGS. - (INTERNAL_CFLAGS_BASE): Remove CXXFLAGS. - (gdbserver$(EXEEXT)): Add CXXFLAGS. - (gdbreplay$(EXEEXT)): Add CXXFLAGS. - ($(IPA_LIB)): Add CXXFLAGS. - (IPAGENT_COMPILE): Add CXXFLAGS. - -2020-10-07 Anton Kolesov - - * configure.srv: Support ARC architecture. - * Makefile.in: Add linux-arc-low.cc and arch/arc.o. - * linux-arc-low.cc: New file. - -2020-10-07 Kamil Rytarowski - - * netbsd-low.cc (get_dynamic, get_r_debug, read_one_ptr) - (netbsd_qxfer_libraries_svr4): Remove "target" argument and update. - (netbsd_process_target::qxfer_libraries_svr4): Update. - -2020-10-07 Kamil Rytarowski - - * netbsd-low.cc: Fix whitespace formatting. - * netbsd-amd64-low.cc: Likewise. - -2020-10-07 Kamil Rytarowski - - * netbsd-low.cc (netbsd_process_target::read_memory) - (netbsd_process_target::write_memory): Update. - -2020-10-07 Kamil Rytarowski - - * netbsd-aarch64-low.cc: Add. - * Makefile.in (SFILES): Register "netbsd-aarch64-low.c". - * configure.srv: Add aarch64*-*-netbsd*. - -2020-10-06 Shahab Vahedi - - * regcache.cc (register_data): Remove unused "fetch" argument. - -2020-10-02 Simon Marchi - - * server.cc (handle_monitor_command): Handle "set - debug-event-loop". - (captured_main): Handle "--debug-event-loop". - (monitor_show_help): Mention new setting. - (gdbserver_usage): Mention new flag. - -2020-10-02 Simon Marchi - - * linux-low.cc (linux_process_target::async): Pass name to - add_file_handler. - * remote-utils.cc (handle_accept_event): Likewise. - (remote_open): Likewise. - -2020-10-01 Kamil Rytarowski - - * netbsd-i386-low.cc: Add. - * Makefile.in (SFILES): Register "netbsd-i386-low.c". - * configure.srv: Add i[34567]86-*-netbsd*. - -2020-10-01 Kamil Rytarowski - - * netbsd-amd64-low.cc (netbsd_x86_64_arch_setup): Remove. - (netbsd_target_regsets): Now const. - (the_low_target): Remove. - (class netbsd_amd64_target, the_netbsd_amd64_target) - (the_netbsd_target): Add. - * netbsd-low.cc (netbsd_process_target::post_create_inferior): Call - low_arch_setup (). - (netbsd_process_target::fetch_registers) - (netbsd_process_target::store_registers, initialize_low): Update. - (the_netbsd_target): Remove. - * netbsd-low.h (netbsd_target_regsets, netbsd_target_ops) - (the_low_target, netbsd_tdesc): Remove. - (netbsd_process_target::get_regs_info) - (netbsd_process_target::low_arch_setup): Add. - -2020-09-23 Hannes Domani - - * win32-low.cc: Remove local wow64_process variable. - * win32-low.h: Remove local wow64_process variable. - -2020-09-18 Tom Tromey - - * netbsd-low.h (class netbsd_process_target) : Update. - * netbsd-low.cc (netbsd_waitpid, netbsd_wait) - (netbsd_process_target::wait): Change type of target_options. - * win32-low.h (class win32_process_target) : Update. - * win32-low.cc (win32_process_target::wait): Update. - * target.h (class process_stratum_target) : Update. - (mywait): Update. - * target.cc (mywait, target_wait): Change type of "options". - * linux-low.h (class linux_process_target) : - Update. - * linux-low.cc (linux_process_target::wait) - (linux_process_target::wait_1): Update. - -2020-09-15 Tom Tromey - - * linux-x86-low.cc (xmltarget_i386_linux_no_xml) - (xmltarget_amd64_linux_no_xml): Now arrays. - -2020-09-14 Tom Tromey - - * tracepoint.cc (eval_result_names): Now const. - * ax.cc (gdb_agent_op_names): Now const. - -2020-09-10 Kamil Rytarowski - - * netbsd-low.cc: Add. - * netbsd-low.h: Likewise. - * netbsd-amd64-low.cc: Likewise. - * Makefile.in (SFILES): Register "netbsd-low.cc", "netbsd-low.h", - "netbsd-amd64-low.cc". - * configure.srv: Add x86_64-*-netbsd*. - -2020-08-13 Simon Marchi - - * server.cc (captured_main): Accept multiple `--selftest=` - options. Pass all `--selftest=` arguments to run_tests. - -2020-07-30 Rainer Orth - - * configure, config.in: Regenerate. - -2020-07-26 Eli Zaretskii - - * configure.ac (AC_CHECK_HEADERS): Add ws2tcpip.h. - When checking whether socklen_t type is defined, use ws2tcpip.h if - it is available and sys/socket.h isn't. - * configure: Regenerate. - * config.in: Regenerate. - -2020-07-22 Pedro Alves - - * inferiors.cc (switch_to_process): New, moved here from - thread-db.cc, and made extern. - * inferiors.h (switch_to_process): Declare. - * server.cc: Include "gdbsupport/scoped_restore.h". - (handle_qxfer_threads_proper): Now returns bool. Prepare to - access memory around target calls. - (handle_qxfer_threads): Handle errors. - * thread-db.cc (switch_to_process): Moved to inferiors.cc. - -2020-07-21 Simon Marchi - - * linux-low.cc (stopped_pids): Make static. - -2020-07-17 Andrew Burgess - - * tdesc.cc (allocate_target_description): Add header comment. - (target_desc_deleter::operator()): New function. - * tdesc.h (struct target_desc): Declare as final. - -2020-07-13 Simon Marchi - - * server.cc (handle_query): Use std::vector of - std::string for `qsupported` vector. Use separate - vector for unknowns. - * target.h (class process_stratum_target) : - Change parameters to array_view of const char *. - (target_process_qsupported): Remove `count` parameter. - * target.cc (process_stratum_target::process_qsupported): Change - parameters to array_view of const char *. - * linux-x86-low.cc (class x86_target) : - Likewise. - -2020-06-29 Tom de Vries - - * ax.h: Include gdbsupport/debug_agent.h. - -2020-06-23 Andrew Burgess - - * tdesc.cc (struct tdesc_compatible_info): New struct. - (tdesc_compatible_info_list): New function. - (tdesc_compatible_info_arch_name): New function. - -2020-06-22 Tankut Baris Aktemur - - Use std::list to stop pending signal instead of manually-created - linked list. - * linux-low.h: Include . - (struct pending_signal): Move here from linux-low.cc. - (struct lwp_info) - : Update the type. - * linux-low.cc (struct pending_signals): Remove. - (linux_process_target::delete_lwp) - (linux_process_target::add_lwp) - (enqueue_one_deferred_signal) - (dequeue_one_deferred_signal) - (enqueue_pending_signal) - (linux_process_target::resume_one_lwp_throw) - (linux_process_target::thread_needs_step_over) - (linux_process_target::resume_one_thread) - (linux_process_target::proceed_one_lwp): Update the use of pending - signal list. - -2020-06-17 Simon Marchi - - * Makefile.in (%-generated.cc: ../gdb/regformats/arm/%.dat): - Remove. - -2020-06-12 Simon Marchi - - * Makefile.in (SFILES): Remove win32-arm-low.cc, wincecompat.cc. - * configure.srv: Remove mingw32ce cases. - * server.h, win32-low.cc: Remove __MINGW32CE__-guarded code. - * win32-low.h (to_back_slashes): Remove. - * win32-arm-low.cc, wincecompat.cc, wincecompat.h: Remove. - -2020-06-12 Simon Marchi - - * Makefile.in (SFILES): linux-tile-low.cc. - * configure.srv: Remove tilegx case. - * linux-tile-low.cc: Remove. - -2020-06-12 Simon Marchi - - * Makefile.in (SFILES): Remove linux-m32r-low.cc. - * configure.srv: Remove m32r case. - * linux-m32r-low.cc: Remove. - -2020-06-12 Simon Marchi - - * Makefile.in (SFILES): Remove linux-cris-low.c. - * configure.srv: Remove cris cases. - * linux-cris-low.cc, linux-crisv32-low.cc: Remove. - -2020-06-12 Simon Marchi - - * Makefile.in (SFILES): Remove linux-bfin-low.c. - * configure.srv: Remove bfin case. - * linux-bfin-low.cc: Remove. - * linux-low.cc: Remove BFIN-conditional code. - -2020-06-12 Simon Marchi - - * configure: Re-generate. - * configure.ac: Remove srv_qnx test. - * configure.srv: Remove nto case. - * nto-low.cc, nto-low.h, nto-x86-low.cc: Remove. - * remote-utils.c: Remove __QNX__-guarded code. - -2020-06-12 Simon Marchi - - * configure: Re-generate. - * configure.ac: Remove srv_lynxos test. - * configure.srv: Remove lynxos cases. - * lynx-i386-low.cc, lynx-low.cc, lynx-low.h, lynx-ppc-low.c: - Remove. - -2020-06-12 Simon Marchi - - * README: Fix a few outdated or incoherent things. - -2020-05-27 Hannes Domani - - * win32-low.cc (do_initial_child_stuff): Set open_process_used. - (win32_clear_inferiors): Use open_process_used. - (get_child_debug_event): Likewise. - -2020-05-25 Michael Weghorn - - PR gdbserver/25893 - * linux-low.cc (linux_process_target::create_inferior), - lynx-low.cc (lynx_process_target::create_inferior), - win32-low.cc (win32_process_target::create_inferior): Use - construct_inferior_arguments instead of stringify_argv - to get string representation which properly escapes - special characters. - * server.cc (handle_v_run): Just pass empty program arg - as such, since any further processing is now handled via - construct_inferior_arguments. - -2020-05-25 Michael Weghorn - - * nto-low.cc (nto_process_target::create_inferior): Pass - argv to spawnp function as char **. - -2020-05-25 Michael Weghorn - - * server.cc (captured_main), (handle_v_run): No longer - insert extra NULL element to args vector. - -2020-05-23 Pedro Alves - - * gdb-safe-ctype.h: New. - -2020-05-16 Tankut Baris Aktemur - - * linux-ia64-low.cc (ia64_target::sw_breakpoint_from_kind): - Fix incorrect 'gdb_assert_no_reached' to 'gdb_assert_not_reached'. - (ia64_target::low_breakpoint_at): Ditto. - -2020-05-15 Hannes Domani - - * win32-i386-low.cc (i386_supports_z_point_type): Handle - Z_PACKET_HW_BP z_type. - (i386_insert_point): Handle raw_bkpt_type type. - (i386_remove_point): Likewise. - -2020-04-30 Hannes Domani - - * configure.srv (srv_tgtobj): - Add arch/i386.o. - * win32-arm-low.cc (arm_num_regs): New function. - (struct win32_target_ops): Use arm_num_regs. - * win32-i386-low.cc (win32_get_current_dr): Adapt for WOW64 - processes. - (i386_get_thread_context): Likewise. - (i386_prepare_to_resume): Likewise. - (i386_thread_added): Likewise. - (i386_single_step): Likewise. - (i386_fetch_inferior_register): Likewise. - (i386_store_inferior_register): Likewise. - (i386_arch_setup): Likewise. - (i386_win32_num_regs): New function. - (struct win32_target_ops): Use i386_win32_num_regs. - * win32-low.cc (win32_get_thread_context): Adapt for WOW64 - processes. - (win32_require_context): Likewise. - (child_add_thread): Likewise. - (do_initial_child_stuff): Likewise. - (continue_one_thread): Likewise. - (win32_process_target::resume): Likewise. - (load_psapi): Likewise. - (win32_add_all_dlls): Likewise. - (maybe_adjust_pc): Likewise. - (win32_process_target::qxfer_siginfo): Likewise. - (initialize_low): Likewise. - * win32-low.h (struct win32_target_ops): Change num_regs to - callback function. - -2020-04-27 Simon Marchi - - * configure.ac: Remove check for fs_base/gs_base in - user_regs_struct. - * configure: Re-generate. - * config.in: Re-generate. - * linux-x86-low.cc (x86_64_regmap, x86_fill_gregset, - x86_store_gregset): Adjust. - -2020-04-22 Hannes Domani - - * server.cc (handle_search_memory_1): Fix gdb_read_memory return value - comparison. - -2020-04-16 Tom Tromey - - * win32-low.cc (windows_nat::handle_access_violation): New - function. - -2020-04-15 Simon Marchi - - * win32-low.cc (get_child_debug_event): Fix format string warning. - -2020-04-13 Tom Tromey - - * server.h (gdb_fildes_t): Remove typedef. - * remote-utils.c (remote_desc, list_desc): Now int. - (INVALID_DESCRIPTOR): Remove. - (gdb_connected, remote_close) - (check_remote_input_interrupt_request): Update. - * utils.h (pfildes): Don't declare. - * utils.c (pfildes): Remove. - -2020-04-13 Tom Tromey - - * server.h (handle_serial_event, handle_target_event): Update. - * server.c: Don't call initialize_event_loop. - (keep_processing_events): New global. - (handle_serial_event): Return void. Set keep_processing_events. - (handle_target_event): Return void. - (start_event_loop): Move from event-loop.c. Rewrite. - * remote-utils.c (handle_accept_event): Return void. - (reset_readchar): Use delete_timer. - (process_remaining): Return void. - (reschedule): Use create_timer. - * event-loop.h: Remove. - * event-loop.cc: Remove. - * Makefile.in (OBS): Use gdbsupport/event-loop.o, not event-loop.o. - -2020-04-13 Tom Tromey - - * server.c (invoke_async_signal_handlers) - (check_async_event_handlers, flush_streams, gdb_select): New - functions. - -2020-04-13 Tom Tromey - - * configure: Rebuild. - * config.in: Rebuild. - -2020-04-08 Tom Tromey - - PR gdb/22992 - * win32-low.c (child_continue): Call matching_pending_stop. - (get_child_debug_event): Call fetch_pending_stop. Push pending - stop when needed. - -2020-04-08 Tom Tromey - - * win32-low.h (win32_process_target::stopped_by_sw_breakpoint) - (win32_process_target::supports_stopped_by_sw_breakpoint): - Declare. - * win32-low.c (win32_supports_z_point_type): Always handle - Z_PACKET_SW_BP. - (win32_insert_point): Call insert_memory_breakpoint when needed. - (win32_remove_point): Call remove_memory_breakpoint when needed. - (win32_process_target::stopped_by_sw_breakpoint) - (win32_process_target::supports_stopped_by_sw_breakpoint): New - methods. - (win32_target_ops): Update. - (maybe_adjust_pc): New function. - (win32_wait): Call maybe_adjust_pc. - -2020-04-08 Tom Tromey - - * win32-low.h (struct win32_target_ops) : New - field. - * win32-i386-low.c (the_low_target): Update. - * win32-arm-low.c (the_low_target): Update. - -2020-04-08 Tom Tromey - - * win32-low.h (win32_process_target::read_pc) - (win32_process_target::write_pc): Declare. - * win32-low.c (win32_process_target::read_pc) - (win32_process_target::write_pc): New methods. - * win32-i386-low.c (i386_win32_get_pc, i386_win32_set_pc): New - functions. - (the_low_target): Update. - * win32-arm-low.c (arm_win32_get_pc, arm_win32_set_pc): New - functions. - (the_low_target): Update. - -2020-04-08 Tom Tromey - - * win32-low.c (win32_kill, get_child_debug_event): Use - wait_for_debug_event. - -2020-04-08 Tom Tromey - - * win32-low.c (child_continue): Call continue_last_debug_event. - -2020-04-08 Tom Tromey - - * win32-low.c (handle_exception): Remove. - (windows_nat::handle_ms_vc_exception): New function. - (get_child_debug_event): Add "continue_status" parameter. - Update. - (win32_wait): Update. - -2020-04-08 Tom Tromey - - * win32-low.c (windows_nat::handle_load_dll): Rename from - handle_load_dll. No longer static. - (windows_nat::handle_unload_dll): Rename from handle_unload_dll. - No longer static. - -2020-04-08 Tom Tromey - - * win32-low.c (handle_output_debug_string): Add parameter. Change - return type. - (win32_kill, get_child_debug_event): Update. - -2020-04-08 Tom Tromey - - * win32-low.c (current_process_handle, current_process_id) - (main_thread_id, last_sig, current_event, siginfo_er): Move to - nat/windows-nat.c. - -2020-04-08 Tom Tromey - - * win32-low.c (get_image_name): Remove. - (handle_load_dll): Update. - -2020-04-08 Tom Tromey - - * win32-low.c (windows_nat::thread_rec): Rename from thread_rec. - No longer static. Change parameters. - (child_add_thread, child_fetch_inferior_registers) - (child_store_inferior_registers, win32_resume) - (win32_get_tib_address): Update. - -2020-04-08 Tom Tromey - - * win32-low.h (struct win32_target_ops): Use qualified names where - needed. - * win32-i386-low.c: Add "using namespace". - * win32-low.c: Add "using namespace". - * win32-arm-low.c: Add "using namespace". - -2020-04-08 Tom Tromey - - * win32-low.c (delete_thread_info): Don't call CloseHandle. - -2020-04-08 Tom Tromey - - * win32-low.c (win32_require_context, suspend_one_thread): Use - windows_thread_info::suspend. - (continue_one_thread): Use windows_thread_info::resume. - * configure.srv (srv_tgtobj): Add windows-nat.o when needed. - -2020-04-08 Tom Tromey - - * win32-i386-low.c (update_debug_registers) - (i386_prepare_to_resume, i386_thread_added): Update. - -2020-04-08 Tom Tromey - - * win32-low.c (child_add_thread): Use new. - (delete_thread_info): Use delete. - -2020-04-08 Tom Tromey - - * win32-low.h (struct windows_thread_info): Remove. - -2020-04-08 Tom Tromey - - * win32-low.h (struct windows_thread_info): Rename from - win32_thread_info. Remove typedef. - (struct win32_target_ops, win32_require_context): Update. - * win32-low.c (win32_get_thread_context) - (win32_set_thread_context, win32_prepare_to_resume) - (win32_require_context, thread_rec, child_add_thread) - (delete_thread_info, continue_one_thread) - (child_fetch_inferior_registers, child_store_inferior_registers) - (win32_resume, suspend_one_thread, win32_get_tib_address): - Update. - * win32-i386-low.c (update_debug_registers) - (win32_get_current_dr, i386_get_thread_context) - (i386_prepare_to_resume, i386_thread_added, i386_single_step) - (i386_fetch_inferior_register, i386_store_inferior_register): - Update. - * win32-arm-low.c (arm_get_thread_context) - (arm_fetch_inferior_register, arm_store_inferior_register): - Update. - -2020-04-02 Tankut Baris Aktemur - - * linux-low.h (struct linux_target_ops): Remove. - (the_low_target): Remove. - * linux-x86-low.cc (the_low_target): Remove. - * linux-aarch64-low.cc (the_low_target): Ditto. - * linux-arm-low.cc (the_low_target): Ditto. - * linux-bfin-low.cc (the_low_target): Ditto. - * linux-cris-low.cc (the_low_target): Ditto. - * linux-crisv32-low.cc (the_low_target): Ditto. - * linux-ia64-low.cc (the_low_target): Ditto. - * linux-m32r-low.cc (the_low_target): Ditto. - * linux-m68k-low.cc (the_low_target): Ditto. - * linux-mips-low.cc (the_low_target): Ditto. - * linux-nios2-low.cc (the_low_target): Ditto. - * linux-ppc-low.cc (the_low_target): Ditto. - * linux-riscv-low.cc (the_low_target): Ditto. - * linux-s390-low.cc (the_low_target): Ditto. - * linux-sh-low.cc (the_low_target): Ditto. - * linux-sparc-low.cc (the_low_target): Ditto. - * linux-tic6x-low.cc (the_low_target): Ditto. - * linux-tile-low.cc (the_low_target): Ditto. - * linux-xtensa-low.cc (the_low_target): Ditto. - -2020-04-02 Tankut Baris Aktemur - - Remove the 'get_ipa_tdesc_idx' linux target op and let a concrete - linux target define the op by overriding the declaration in - process_stratum_target. - - * linux-low.h (struct linux_target_ops): Remove the op. - (class linux_process_target) : Remove. - * linux-low.cc (linux_process_target::get_ipa_tdesc_idx): Remove. - * linux-x86-low.cc (class x86_target) : Declare. - (x86_get_ipa_tdesc_idx): Turn into... - (x86_target::get_ipa_tdesc_idx): ...this. - (the_low_target): Remove the op field. - * linux-ppc-low.cc (class ppc_target) : Declare. - (ppc_get_ipa_tdesc_idx): Turn into... - (ppc_target::get_ipa_tdesc_idx): ...this. - (the_low_target): Remove the op field. - * linux-s390-low.cc (class s390_target) : Declare. - (s390_get_ipa_tdesc_idx): Turn into... - (s390_target::get_ipa_tdesc_idx): ...this. - (the_low_target): Remove the op field. - -2020-04-02 Tankut Baris Aktemur - - Turn the 'get_syscall_trapinfo' linux target op into a method - of process_stratum_target. - - * linux-low.h (struct linux_target_ops): Remove the op. - (class linux_process_target) - - - : Declare. - * linux-low.cc (get_syscall_trapinfo): Turn into... - (linux_process_target::get_syscall_trapinfo): ...this. - (linux_process_target::low_get_syscall_trapinfo): Define. - (gdb_catch_this_syscall_p): Turn into... - (linux_process_target::gdb_catch_this_syscall): ...this. - (linux_process_target::low_supports_catch_syscall): Define. - - Update the callers below. - - (linux_process_target::wait_1) - (linux_process_target::supports_catch_syscall) - - * linux-x86-low.cc (class x86_target) - : Declare. - (x86_target::low_supports_catch_syscall): Define. - (x86_get_syscall_trapinfo): Turn into... - (x86_target::low_get_syscall_trapinfo): ...this. - (the_low_target): Remove the op field. - * linux-aarch64-low.cc (class aarch64_target) - - : Declare. - (aarch64_target::low_supports_catch_syscall): Define. - (aarch64_get_syscall_trapinfo): Turn into... - (aarch64_target::low_get_syscall_trapinfo): ...this. - (the_low_target): Remove the op field. - * linux-arm-low.cc (class arm_target) - : Declare. - (arm_target::low_supports_catch_syscall): Define. - (arm_get_syscall_trapinfo): Turn into... - (arm_target::low_get_syscall_trapinfo): ...this. - (the_low_target): Remove the op field. - * linux-ppc-low.cc (the_low_target): Remove the op field. - * linux-s390-low.cc (the_low_target): Remove the op field. - -2020-04-02 Tankut Baris Aktemur - - Remove the 'supports_hardware_single_step' linux target op and - override the process_stratum_target's op definition in - linux_process_target to return true. - - * linux-low.h (struct linux_target_ops): Remove the op. - (class linux_process_target) - : Declare. - * linux-low.cc (can_hardware_single_step): Remove. - (maybe_hw_step): Turn into... - (linux_process_target::maybe_hw_step): ...this. - (finish_step_over): Turn into... - (linux_process_target::finish_step_over): ...this. - (linux_process_target::supports_hardware_single_step): Update - to return true. - - Update the callers below. - - (linux_process_target::single_step) - (linux_process_target::resume_one_lwp_throw) - - * linux-arm-low.cc (class arm_target) - : Declare. - (arm_supports_hardware_single_step): Turn into... - (arm_target::supports_hardware_single_step): ...this. - (the_low_target): Remove the op field. - * linux-x86-low.cc (x86_supports_hardware_single_step): Remove. - (the_low_target): Remove the op field. - * linux-aarch64-low.cc (aarch64_supports_hardware_single_step): - Remove. - (the_low_target): Remove the op field. - * linux-bfin-low.cc (bfin_supports_hardware_single_step): Remove. - (the_low_target): Remove the op field. - * linux-crisv32-low.cc (cris_supports_hardware_single_step): Remove. - (the_low_target): Remove the op field. - * linux-m32r-low.cc (m32r_supports_hardware_single_step): Remove. - (the_low_target): Remove the op field. - * linux-m68k-low.cc (m68k_supports_hardware_single_step): Remove. - (the_low_target): Remove the op field. - * linux-ppc-low.cc (ppc_supports_hardware_single_step): Remove. - (the_low_target): Remove the op field. - * linux-s390-low.cc (s390_supports_hardware_single_step): Remove. - (the_low_target): Remove the op field. - * linux-sh-low.cc (sh_supports_hardware_single_step): Remove. - (the_low_target): Remove the op field. - * linux-tic6x-low.cc (tic6x_supports_hardware_single_step): Remove. - (the_low_target): Remove the op field. - * linux-tile-low.cc (tile_supports_hardware_single_step): Remove. - (the_low_target): Remove the op field. - * linux-xtensa-low.cc (xtensa_supports_hardware_single_step): - Remove. - (the_low_target): Remove the op field. - -2020-04-02 Tankut Baris Aktemur - - Turn the 'supports_range_stepping' linux target op into a method - of linux_process_target. - - * linux-low.h (struct linux_target_ops): Remove the op. - (class linux_process_target) : Declare. - * linux-low.cc (linux_process_target::low_supports_range_stepping): - Define. - (linux_process_target::supports_range_stepping): Update the call - site. - * linux-x86-low.cc (class x86_target) - : Declare. - (x86_supports_range_stepping): Turn into... - (x86_target::low_supports_range_stepping): ...this. - (the_low_target): Remove the op field. - * linux-aarch64-low.cc (class aarch64_target) - : Declare. - (aarch64_supports_range_stepping): Turn into... - (aarch64_target::low_supports_range_stepping): ...this. - (the_low_target): Remove the op field. - * linux-arm-low.cc (the_low_target): Remove the op field. - * linux-bfin-low.cc (the_low_target): Ditto. - * linux-crisv32-low.cc (the_low_target): Ditto. - * linux-m32r-low.cc (the_low_target): Ditto. - * linux-m68k-low.cc (the_low_target): Ditto. - * linux-ppc-low.cc (the_low_target): Ditto. - * linux-s390-low.cc (the_low_target): Ditto. - * linux-sh-low.cc (the_low_target): Ditto. - * linux-tic6x-low.cc (the_low_target): Ditto. - * linux-tile-low.cc (the_low_target): Ditto. - * linux-xtensa-low.cc (the_low_target): Ditto. - -2020-04-02 Tankut Baris Aktemur - - Remove the 'emit_ops' linux target ops and let the concrete - linux target define the op by overriding the declaration of - process_stratum_target. - - * linux-low.h (struct linux_target_ops): Remove the op. - (class linux_process_target) : Remove. - * linux-low.cc (linux_process_target::emit_ops): Remove. - * linux-x86-low.cc (class x86_target) : Declare. - (x86_emit_ops): Turn into... - (x86_target::emit_ops): ...this. - (the_low_target): Remove the op field. - * linux-aarch64-low.cc (class aarch64_target) : Declare. - (aarch64_emit_ops): Turn into... - (aarch64_target::emit_ops): ...this. - (the_low_target): Remove the op field. - * linux-ppc-low.cc (class ppc_target) : Declare. - (ppc_emit_ops): Turn into... - (ppc_target::emit_ops): ...this. - (the_low_target): Remove the op field. - * linux-s390-low.cc (class s390_target) : Declare. - (s390_emit_ops): Turn into... - (s390_target::emit_ops): ...this. - (the_low_target): Remove the op field. - * linux-arm-low.cc (the_low_target): Remove the op field. - * linux-bfin-low.cc (the_low_target): Ditto. - * linux-crisv32-low.cc (the_low_target): Ditto. - * linux-m32r-low.cc (the_low_target): Ditto. - * linux-m68k-low.cc (the_low_target): Ditto. - * linux-sh-low.cc (the_low_target): Ditto. - * linux-tic6x-low.cc (the_low_target): Ditto. - * linux-tile-low.cc (the_low_target): Ditto. - * linux-xtensa-low.cc (the_low_target): Ditto. - -2020-04-02 Tankut Baris Aktemur - - Remove the 'install_fast_tracepoint_jump_pad' and - 'get_min_fast_tracepoint_insn_len' linux target ops to let the - concrete linux target define the ops by overriding the declarations - of process_stratum_target. - - * linux-low.h (struct linux_target_ops): Remove the ops. - (class linux_process_target) - - : Remove. - * linux-low.cc (linux_process_target::supports_fast_tracepoints) - (linux_process_target::install_fast_tracepoint_jump_pad) - (linux_process_target::get_min_fast_tracepoint_insn_len): Remove. - * linux-x86-low.cc (class x86_target) - - : Declare. - (x86_target::supports_fast_tracepoints): Define. - (x86_install_fast_tracepoint_jump_pad): Turn into... - (x86_target::install_fast_tracepoint_jump_pad): ...this. - (x86_get_min_fast_tracepoint_insn_len): Turn into... - (x86_target::get_min_fast_tracepoint_insn_len): ...this. - (the_low_target): Remove the op fields. - * linux-aarch64-low.cc (class aarch64_target) - - - : Declare. - (aarch64_target::supports_fast_tracepoints): Define. - (aarch64_install_fast_tracepoint_jump_pad): Turn into... - (aarch64_target::install_fast_tracepoint_jump_pad): ...this. - (aarch64_get_min_fast_tracepoint_insn_len): Turn into... - (aarch64_target::get_min_fast_tracepoint_insn_len): ...this. - (the_low_target): Remove the op fields. - * linux-ppc-low.cc (class ppc_target) - - : Declare. - (ppc_target::supports_fast_tracepoints): Define. - (ppc_install_fast_tracepoint_jump_pad): Turn into... - (ppc_target::install_fast_tracepoint_jump_pad): ...this. - (ppc_get_min_fast_tracepoint_insn_len): Turn into... - (ppc_target::get_min_fast_tracepoint_insn_len): ...this. - (the_low_target): Remove the op fields. - * linux-s390-low.cc (class s390_target) - - : Declare. - (s390_target::supports_fast_tracepoints): Define. - (s390_install_fast_tracepoint_jump_pad): Turn into... - (s390_target::install_fast_tracepoint_jump_pad): ...this. - (s390_get_min_fast_tracepoint_insn_len): Turn into... - (s390_target::get_min_fast_tracepoint_insn_len): ...this. - (the_low_target): Remove the op fields. - * linux-arm-low.cc (the_low_target): Remove the op fields. - * linux-bfin-low.cc (the_low_target): Ditto. - * linux-crisv32-low.cc (the_low_target): Ditto. - * linux-m32r-low.cc (the_low_target): Ditto. - * linux-m68k-low.cc (the_low_target): Ditto. - * linux-sh-low.cc (the_low_target): Ditto. - * linux-tic6x-low.cc (the_low_target): Ditto. - * linux-tile-low.cc (the_low_target): Ditto. - * linux-xtensa-low.cc (the_low_target): Ditto. - -2020-04-02 Tankut Baris Aktemur - - Turn the 'get_thread_area' linux target op into a method of - process_stratum_target. - - * linux-low.h (struct linux_target_ops): Remove the op. - (class linux_process_target) - - : Declare. - * linux-low.cc (supports_fast_tracepoints): Remove. - (linux_fast_tracepoint_collecting): Turn into... - (linux_process_target::linux_fast_tracepoint_collecting): ...this. - (linux_process_target::low_get_thread_area): Define. - (stuck_in_jump_pad_callback): Turn into... - (linux_process_target::stuck_in_jump_pad): ...this. - - Update the caller below. - - (linux_process_target::stabilize_threads) - - * linux-x86-low.cc (class x86_target) : - Declare. - (x86_get_thread_area): Turn into... - (x86_target::low_get_thread_area): ...this. - (the_low_target): Remove the op field. - * linux-aarch64-low.cc (class aarch64_target) : - Declare. - (aarch64_get_thread_area): Turn into... - (aarch64_target::low_get_thread_area): ...this. - (the_low_target): Remove the op field. - * linux-ppc-low.cc (class ppc_target) : - Declare. - (ppc_get_thread_area): Turn into... - (ppc_target::low_get_thread_area): ...this. - (the_low_target): Remove the op field. - * linux-s390-low.cc (class s390_target) : - Declare. - (s390_get_thread_area): Turn into... - (s390_target::low_get_thread_area): ...this. - (the_low_target): Remove the op field. - * linux-arm-low.cc (the_low_target): Remove the op field. - * linux-bfin-low.cc (the_low_target): Ditto. - * linux-crisv32-low.cc (the_low_target): Ditto. - * linux-m32r-low.cc (the_low_target): Ditto. - * linux-m68k-low.cc (the_low_target): Ditto. - * linux-sh-low.cc (the_low_target): Ditto. - * linux-tic6x-low.cc (the_low_target): Ditto. - * linux-tile-low.cc (the_low_target): Ditto. - * linux-xtensa-low.cc (the_low_target): Ditto. - -2020-04-02 Tankut Baris Aktemur - - Remote the 'supports_tracepoints' linux target op and let the - concrete linux target define it by overriding the op declared in - process_stratum_target. - - * linux-low.h (struct linux_target_ops): Remove the op. - (class linux_process_target) : Remove. - * linux-low.cc (linux_process_target::supports_tracepoints): Remove. - * linux-x86-low.cc (class x86_target) : - Declare. - (x86_supports_tracepoints): Turn into... - (x86_target::supports_tracepoints): ...this. - (the_low_target): Remove the op field. - * linux-aarch64-low.cc (class aarch64_target) - : Declare. - (aarch64_supports_tracepoints): Turn into... - (aarch64_target::supports_tracepoints): ...this. - (the_low_target): Remove the op field. - * linux-ppc-low.cc (class ppc_target) : - Declare. - (ppc_supports_tracepoints): Turn into... - (ppc_target::supports_tracepoints): ...this. - (the_low_target): Remove the op field. - * linux-s390-low.cc (class s390_target) : - Declare. - (s390_supports_tracepoints): Turn into... - (s390_target::supports_tracepoints): ...this. - (the_low_target): Remove the op field. - * linux-arm-low.cc (the_low_target): Remove the op field. - * linux-bfin-low.cc (the_low_target): Ditto. - * linux-crisv32-low.cc (the_low_target): Ditto. - * linux-m32r-low.cc (the_low_target): Ditto. - * linux-m68k-low.cc (the_low_target): Ditto. - * linux-sh-low.cc (the_low_target): Ditto. - * linux-tic6x-low.cc (the_low_target): Ditto. - * linux-tile-low.cc (the_low_target): Ditto. - * linux-xtensa-low.cc (the_low_target): Ditto. - -2020-04-02 Tankut Baris Aktemur - - Remove the 'process_qsupported' linux target op and let a concrete - linux target define the op by overriding the op declaration in - process_stratum_target. - - * linux-low.h (struct linux_target_ops): Remove the op. - (class linux_process_target) : Remove. - * linux-low.cc (linux_process_target::process_qsupported): Remove. - * linux-x86-low.cc (class x86_target) : Declare. - (x86_linux_process_qsupported): Turn into... - (x86_target::process_qsupported): ...this. - (the_low_target): Remove the op field. - * linux-aarch64-low.cc (the_low_target): Remove the op - field. - * linux-arm-low.cc (the_low_target): Ditto. - * linux-bfin-low.cc (the_low_target): Ditto. - * linux-crisv32-low.cc (the_low_target): Ditto. - * linux-m32r-low.cc (the_low_target): Ditto. - * linux-m68k-low.cc (the_low_target): Ditto. - * linux-ppc-low.cc (the_low_target): Ditto. - * linux-s390-low.cc (the_low_target): Ditto. - * linux-sh-low.cc (the_low_target): Ditto. - * linux-tic6x-low.cc (the_low_target): Ditto. - * linux-tile-low.cc (the_low_target): Ditto. - * linux-xtensa-low.cc (the_low_target): Ditto. - -2020-04-02 Tankut Baris Aktemur - - Turn the 'prepare_to_resume' linux target op into a method of - linux_process_target. - - * linux-low.h (struct linux_target_ops): Remove the op. - (class linux_process_target) : Declare. - * linux-low.cc (linux_process_target::low_prepare_to_resume): - Define. - - Update the callers below: - - (linux_process_target::resume_one_lwp_throw) - (linux_process_target::low_prepare_to_resume) - - * linux-x86-low.cc (class x86_target) : - Declare. - (x86_target::low_prepare_to_resume): Define. - (the_low_target): Remove the op field. - * linux-aarch64-low.cc (class aarch64_target) - : Declare. - (aarch64_target::low_prepare_to_resume): Define. - (the_low_target): Remove the op field. - * linux-arm-low.cc (class arm_target) : - Declare. - (arm_prepare_to_resume): Turn into... - (arm_target::low_prepare_to_resume): ...this. - (the_low_target): Remove the op field. - * linux-mips-low.cc (class mips_target) : - Declare. - (mips_linux_prepare_to_resume): Turn into... - (mips_target::low_prepare_to_resume): ...this. - (the_low_target): Remove the op field. - * linux-bfin-low.cc (the_low_target): Remove the op field. - * linux-crisv32-low.cc (the_low_target): Ditto. - * linux-m32r-low.cc (the_low_target): Ditto. - * linux-m68k-low.cc (the_low_target): Ditto. - * linux-ppc-low.cc (the_low_target): Ditto. - * linux-s390-low.cc (the_low_target): Ditto. - * linux-sh-low.cc (the_low_target): Ditto. - * linux-tic6x-low.cc (the_low_target): Ditto. - * linux-tile-low.cc (the_low_target): Ditto. - * linux-xtensa-low.cc (the_low_target): Ditto. - -2020-04-02 Tankut Baris Aktemur - - Turn the 'new_process', 'delete_process', 'new_thread', - 'delete_thread', and 'new_fork' linux target ops into methods - of linux_process_target. - - * linux-low.h (struct linux_target_ops): Remove the ops. - (class linux_process_target) - - - - - - - - - - - : Declare. - * linux-low.cc (delete_lwp): Turn into... - (linux_process_target::delete_lwp): ...this. - (linux_process_target::low_delete_thread): Define. - (linux_add_process): Turn into... - (linux_process_target::add_linux_process): ...this. - (linux_process_target::low_new_process): Define. - (linux_process_target::low_delete_process): Define. - (linux_process_target::low_new_fork): Define. - (add_lwp): Turn into... - (linux_process_target::add_lwp): ...this. - (linux_process_target::low_new_thread): Define. - (linux_attach_lwp): Turn into... - (linux_process_target::attach_lwp): ...this. - (linux_detach_one_lwp): Turn into... - (linux_process_target::detach_one_lwp): ...this. - (linux_detach_lwp_callback): Remove and inline... - (linux_process_target::detach): ...here. - (check_zombie_leaders): Turn into... - (linux_process_target::check_zombie_leaders): ...this. - (filter_exit_event): Turn into... - (linux_process_target::filter_exit_event): ...this. - - Update the callers below. - - (linux_process_target::handle_extended_wait) - (linux_process_target::create_inferior) - (attach_proc_task_lwp_callback) - (linux_process_target::attach) - (linux_process_target::detach) - (linux_process_target::mourn) - * thread-db.cc (attach_thread) - - * linux-x86-low.cc (class x86_target) - - - - : Declare. - (x86_linux_new_process): Turn into... - (x86_target::low_new_process): ...this. - (x86_linux_delete_process): Turn into... - (x86_target::low_delete_process): ...this. - (x86_target::low_new_thread): Define. - (x86_target::low_delete_thread): Define. - (x86_linux_new_fork): Turn into... - (x86_target::low_new_fork): ...this. - (the_low_target): Remove the op fields. - * linux-aarch64-low.cc (class aarch64_target) - - - - : Declare. - (aarch64_linux_new_process): Turn into... - (aarch64_target::low_new_process): ...this. - (aarch64_linux_delete_process): Turn into... - (aarch64_target::low_delete_process): ...this. - (aarch64_target::low_new_thread): Define. - (aarch64_target::low_delete_thread): Define. - (aarch64_linux_new_fork): Turn into... - (aarch64_target::low_new_fork): ...this. - (the_low_target): Remove the op fields. - * linux-arm-low.cc (class arm_target) - - - - : Declare. - (arm_new_process): Turn into... - (arm_target::low_new_process): ...this. - (arm_delete_process): Turn into... - (arm_target::low_delete_process): ...this. - (arm_new_thread): Turn into... - (arm_target::low_new_thread): ...this. - (arm_delete_thread): Turn into... - (arm_target::low_delete_thread): ...this. - (arm_new_fork): Turn into... - (arm_target::low_new_fork): ...this. - (the_low_target): Remove the op fields. - * linux-mips-low.cc (class mips_target) - - - - : Declare. - (mips_linux_new_process): Turn into... - (mips_target::low_new_process): ...this. - (mips_linux_delete_process): Turn into... - (mips_target::low_delete_process): ...this. - (mips_linux_new_thread): Turn into... - (mips_target::low_new_thread): ...this. - (mips_linux_delete_thread): Turn into... - (mips_target::low_delete_thread): ...this. - (mips_linux_new_fork): Turn into... - (mips_target::low_new_fork): ...this. - (the_low_target): Remove the op fields. - * linux-bfin-low.cc (the_low_target): Remove the op fields. - * linux-crisv32-low.cc (the_low_target): Ditto. - * linux-m32r-low.cc (the_low_target): Ditto. - * linux-m68k-low.cc (the_low_target): Ditto. - * linux-ppc-low.cc (the_low_target): Ditto. - * linux-s390-low.cc (the_low_target): Ditto. - * linux-sh-low.cc (the_low_target): Ditto. - * linux-tic6x-low.cc (the_low_target): Ditto. - * linux-tile-low.cc (the_low_target): Ditto. - * linux-xtensa-low.cc (the_low_target): Ditto. - -2020-04-02 Tankut Baris Aktemur - - Turn the 'siginfo_fixup' linux target op into a method of - linux_process_target. - - * linux-low.h (struct linux_target_ops): Remove the op. - (class linux_process_target) - : Declare. - * linux-low.cc (siginfo_fixup): Turn into... - (linux_process_target::siginfo_fixup): ...this. - (linux_process_target::low_siginfo_fixup): Define. - * linux-x86-low.cc (class x86_target) : Declare. - (x86_siginfo_fixup): Turn into... - (x86_target::low_siginfo_fixup): ...this. - (the_low_target): Remove the op field. - * linux-aarch64-low.cc (class aarch64_target): - : Declare. - (aarch64_linux_siginfo_fixup): Turn into... - (aarch64_target::low_siginfo_fixup): ...this. - (the_low_target): Remove the op field. - * linux-arm-low.cc (the_low_target): Remove the op field. - * linux-bfin-low.cc (the_low_target): Ditto. - * linux-crisv32-low.cc (the_low_target): Ditto. - * linux-m32r-low.cc (the_low_target): Ditto. - * linux-m68k-low.cc (the_low_target): Ditto. - * linux-mips-low.cc (the_low_target): Ditto. - * linux-ppc-low.cc (the_low_target): Ditto. - * linux-s390-low.cc (the_low_target): Ditto. - * linux-sh-low.cc (the_low_target): Ditto. - * linux-tic6x-low.cc (the_low_target): Ditto. - * linux-tile-low.cc (the_low_target): Ditto. - * linux-xtensa-low.cc (the_low_target): Ditto. - -2020-04-02 Tankut Baris Aktemur - - Turn the 'collect_ptrace_register' and 'supply_ptrace_register' - linux target ops into methods of linux_process_target. - - * linux-low.h (struct linux_target_ops): Remove the ops. - (class linux_process_target) - : Declare. - * linux-low.cc (linux_process_target::low_collect_ptrace_register) - (linux_process_target::low_supply_ptrace_register): Define. - - Update the callers below. - - (linux_process_target::fetch_register) - (linux_process_target::store_register) - - * linux-x86-low.cc (the_low_target): Remove the op fields. - * linux-aarch64-low.cc (the_low_target): Ditto. - * linux-arm-low.cc (the_low_target): Ditto. - * linux-bfin-low.cc (the_low_target): Ditto. - * linux-crisv32-low.cc (the_low_target): Ditto. - * linux-m32r-low.cc (the_low_target): Ditto. - * linux-m68k-low.cc (the_low_target): Ditto. - * linux-sh-low.cc (the_low_target): Ditto. - * linux-sparc-low.cc (the_low_target): Ditto. - * linux-tic6x-low.cc (the_low_target): Ditto. - * linux-tile-low.cc (the_low_target): Ditto. - * linux-xtensa-low.cc (the_low_target): Ditto. - * linux-mips-low.cc (class mips_target) - - : Declare. - (mips_collect_ptrace_register): Turn into ... - (mips_target::low_collect_ptrace_register): ...this. - (mips_supply_ptrace_register): Turn into... - (mips_target::low_supply_ptrace_register): ...this. - (the_low_target): Remove the op fields. - * linux-ppc-low.cc (class ppc_target) - - : Declare. - (ppc_collect_ptrace_register): Turn into ... - (ppc_target::low_collect_ptrace_register): ...this. - (ppc_supply_ptrace_register): Turn into ... - (ppc_target::low_supply_ptrace_register): ...this. - (ppc_fill_gregset): Update for the calls to - low_collect_ptrace_register. - (the_low_target): Remove the op fields. - * linux-s390-low.cc (class s390_target) - - : Declare. - (s390_collect_ptrace_register): Turn into ... - (s390_target::low_collect_ptrace_register): ...this. - (s390_supply_ptrace_register): Turn into ... - (s390_target::low_supply_ptrace_register): ...this. - (s390_fill_gregset): Update for the calls to - low_collect_ptrace_register. - (the_low_target): Remove the op fields. - -2020-04-02 Tankut Baris Aktemur - - Turn the 'stopped_by_watchpoint' and 'stopped_data_address' linux - target ops into methods of linux_process_target. - - * linux-low.h (struct linux_target_ops): Remove the ops. - (class linux_process_target) - - : Declare. - * linux-low.cc (check_stopped_by_watchpoint): Turn into... - (linux_process_target::check_stopped_by_watchpoint): ...this. - (linux_process_target::low_stopped_by_watchpoint): Define. - (linux_process_target::low_stopped_data_address): Define. - * linux-x86-low.cc (class x86_target) - : Declare. - (x86_stopped_by_watchpoint): Turn into... - (x86_target::low_stopped_by_watchpoint): ...this. - (x86_stopped_data_address): Turn into... - (x86_target::low_stopped_data_address): ...this. - (the_low_target): Remove the op fields. - * linux-aarch64-low.cc (class aarch64_target) - - : Declare. - (aarch64_stopped_by_watchpoint): Turn into... - (aarch64_target::low_stopped_by_watchpoint): ...this. - (aarch64_stopped_data_address): Turn into... - (aarch64_target::low_stopped_data_address): ...this. - (the_low_target): Remove the op fields. - * linux-arm-low.cc (class arm_target) - : Declare. - (arm_stopped_by_watchpoint): Turn into... - (arm_target::low_stopped_by_watchpoint): ...this. - (arm_stopped_data_address): Turn into... - (arm_target::low_stopped_data_address): ...this. - (the_low_target): Remove the op fields. - * linux-crisv32-low.cc (class crisv32_target) - - : Declare. - (cris_stopped_by_watchpoint): Turn into... - (crisv32_target::low_stopped_by_watchpoint): ...this. - (cris_stopped_data_address): Turn into... - (crisv32_target::low_stopped_data_address): ...this. - (the_low_target): Remove the op fields. - * linux-mips-low.cc (class mips_target) - : Declare. - (mips_stopped_by_watchpoint): Turn into... - (mips_target::low_stopped_by_watchpoint): ...this. - (mips_stopped_data_address): Turn into... - (mips_target::low_stopped_data_address): ...this. - (the_low_target): Remove the op fields. - * linux-bfin-low.cc (the_low_target): Remove the op fields. - * linux-m32r-low.cc (the_low_target): Ditto. - * linux-m68k-low.cc (the_low_target): Ditto. - * linux-ppc-low.cc (the_low_target): Ditto. - * linux-s390-low.cc (the_low_target): Ditto. - * linux-sh-low.cc (the_low_target): Ditto. - * linux-sparc-low.cc (the_low_target): Ditto. - * linux-tic6x-low.cc (the_low_target): Ditto. - * linux-tile-low.cc (the_low_target): Ditto. - * linux-xtensa-low.cc (the_low_target): Ditto. - -2020-04-02 Tankut Baris Aktemur - - Turn the 'insert_point' and 'remove_point' linux target ops into - methods of linux_process_target. - - * linux-low.h (struct linux_target_ops): Remove the ops. - (class linux_process_target) - : Declare. - * linux-low.cc (linux_process_target::low_insert_point) - (linux_process_target::low_remove_point): Define. - (linux_process_target::insert_point) - (linux_process_target::remove_point): Update for calls to - low_insert_point and low_remove_point. - * linux-x86-low.cc (class x86_target) - : Declare. - (x86_insert_point): Turn into... - (x86_target::low_insert_point): ...this. - (x86_remove_point): Turn into... - (x86_target::low_remove_point): ...this. - (the_low_target): Remove the op fields. - * linux-aarch64-low.cc (class aarch64_target) - : Declare. - (aarch64_insert_point): Turn into... - (aarch64_target::low_insert_point): ...this. - (aarch64_remove_point): Turn into... - (aarch64_target::low_remove_point): ...this. - (the_low_target): Remove the op fields. - * linux-arm-low.cc (class arm_target) - : Declare. - (arm_insert_point): Turn into... - (arm_target::low_insert_point): ...this. - (arm_remove_point): Turn into... - (arm_target::low_remove_point): ...this. - (the_low_target): Remove the op fields. - * linux-crisv32-low.cc (class crisv32_target) - : Declare. - (crisv32_insert_point): Turn into... - (crisv32_target::low_insert_point): ...this. - (crisv32_remove_point): Turn into... - (crisv32_target::low_remove_point): ...this. - (the_low_target): Remove the op fields. - * linux-mips-low.cc (class mips_target) - : Declare. - (mips_insert_point): Turn into... - (mips_target::low_insert_point): ...this. - (mips_remove_point): Turn into... - (mips_target::low_remove_point): ...this. - (the_low_target): Remove the op fields. - * linux-ppc-low.cc (class ppc_target) - : Declare. - (ppc_insert_point): Turn into... - (ppc_target::low_insert_point): ...this. - (ppc_remove_point): Turn into... - (ppc_target::low_remove_point): ...this. - (the_low_target): Remove the op fields. - * linux-bfin-low.cc (the_low_target): Remove the op fields. - * linux-m32r-low.cc (the_low_target): Ditto. - * linux-m68k-low.cc (the_low_target): Ditto. - * linux-s390-low.cc (the_low_target): Ditto. - * linux-sh-low.cc (the_low_target): Ditto. - * linux-sparc-low.cc (the_low_target): Ditto. - * linux-tic6x-low.cc (the_low_target): Ditto. - * linux-tile-low.cc (the_low_target): Ditto. - * linux-xtensa-low.cc (the_low_target): Ditto. - -2020-04-02 Tankut Baris Aktemur - - Remove the 'supports_z_point_type' linux target op and let the - concrete linux target define it by overriding the op declared in - process_stratum_target. - - * linux-low.cc (linux_process_target::supports_z_point_type): - Remove. - * linux-low.h (struct linux_target_ops): Remove the op. - (class linux_process_target) : Remove. - * linux-x86-low.cc (class x86_target) : - Declare. - (x86_supports_z_point_type): Turn into... - (x86_target::supports_z_point_type): ...this. - (the_low_target): Remove the op field. - * linux-aarch64-low.cc (class aarch64_target) - : Declare. - (aarch64_supports_z_point_type): Turn into... - (aarch64_target::supports_z_point_type): ...this. - (the_low_target): Remove the op field. - * linux-arm-low.cc (class arm_target) : - Declare. - (arm_supports_z_point_type): Turn into... - (arm_target::supports_z_point_type): ...this. - (the_low_target): Remove the op field. - * linux-crisv32-low.cc (class crisv32_target) - : Declare. - (cris_supports_z_point_type): Turn into... - (crisv32_target::supports_z_point_type): ...this. - (the_low_target): Remove the op field. - * linux-mips-low.cc (class mips_target) : - Declare. - (mips_supports_z_point_type): Turn into... - (mips_target::supports_z_point_type): ...this. - (the_low_target): Remove the op field. - * linux-ppc-low.cc (class ppc_target) : - Declare. - (ppc_supports_z_point_type): Turn into... - (ppc_target::supports_z_point_type): ...this. - (the_low_target): Remove the op field. - * linux-s390-low.cc (class s390_target) : - Declare. - (s390_supports_z_point_type): Turn into... - (s390_target::supports_z_point_type): ...this. - (the_low_target): Remove the op field. - * linux-bfin-low.cc (the_low_target): Remove the op field. - * linux-m32r-low.cc (the_low_target): Ditto. - * linux-m68k-low.cc (the_low_target): Ditto. - * linux-sh-low.cc (the_low_target): Ditto. - * linux-sparc-low.cc (the_low_target): Ditto. - * linux-tic6x-low.cc (the_low_target): Ditto. - * linux-tile-low.cc (the_low_target): Ditto. - * linux-xtensa-low.cc (the_low_target): Ditto. - -2020-04-02 Tankut Baris Aktemur - - Turn the 'breakpoint_at' linux target op into a method of - linux_process_target. - - * linux-low.h (struct linux_target_ops): Remove the op. - (class linux_process_target) : Declare. - - Update the callers below: - - * linux-low.cc (linux_process_target::save_stop_reason) - (linux_process_target::thread_still_has_status_pending) - (linux_process_target::wait_1) - - * linux-x86-low.cc (class x86_target) - : Declare. - (x86_breakpoint_at): Turn into... - (x86_target::low_breakpoint_at): ...this. - (the_low_target): Remove the op field. - * linux-aarch64-low.cc (class aarch64_target) - : Declare. - (aarch64_breakpoint_at): Turn into... - (aarch64_target::low_breakpoint_at): ...this. - (the_low_target): Remove the op field. - * linux-arm-low.cc (class arm_target) - : Declare. - (arm_target::low_breakpoint_at): Define. - (the_low_target): Remove the op field. - * linux-bfin-low.cc (class bfin_target) - : Declare. - (bfin_breakpoint_at): Turn into... - (bfin_target::low_breakpoint_at): ...this. - (the_low_target): Remove the op field. - * linux-cris-low.cc (class cris_target) - : Declare. - (cris_breakpoint_at): Turn into... - (cris_target::low_breakpoint_at): ...this. - (the_low_target): Remove the op field. - * linux-crisv32-low.cc (class crisv32_target) - : Declare. - (crisv32_breakpoint_at): Turn into... - (crisv32_target::low_breakpoint_at): ...this. - (the_low_target): Remove the op field. - * linux-ia64-low.cc (class ia64_target) - : Declare. - (ia64_target::low_breakpoint_at): Define. - * linux-m32r-low.cc (class m32r_target) - : Declare. - (m32r_breakpoint_at): Turn into... - (m32r_target::low_breakpoint_at): ...this. - (the_low_target): Remove the op field. - * linux-m68k-low.cc (class m68k_target) - : Declare. - (m68k_breakpoint_at): Turn into... - (m68k_target::low_breakpoint_at): ...this. - (the_low_target): Remove the op field. - * linux-mips-low.cc (class mips_target) - : Declare. - (mips_breakpoint_at): Turn into... - (mips_target::low_breakpoint_at): ...this. - (the_low_target): Remove the op field. - * linux-nios2-low.cc (class nios2_target) - : Declare. - (nios2_breakpoint_at): Turn into... - (nios2_target::low_breakpoint_at): ...this. - (the_low_target): Remove the op field. - * linux-ppc-low.cc (class ppc_target) - : Declare. - (ppc_breakpoint_at): Turn into... - (ppc_target::low_breakpoint_at): ...this. - (the_low_target): Remove the op field. - * linux-riscv-low.cc (class riscv_target) - : Declare. - (riscv_breakpoint_at): Turn into... - (riscv_target::low_breakpoint_at): ...this. - (the_low_target): Remove the op field. - * linux-s390-low.cc (class s390_target) - : Declare. - (s390_breakpoint_at): Turn into... - (s390_target::low_breakpoint_at): ...this. - (the_low_target): Remove the op field. - * linux-sh-low.cc (class sh_target) - : Declare. - (sh_breakpoint_at): Turn into... - (sh_target::low_breakpoint_at): ...this. - (the_low_target): Remove the op field. - * linux-sparc-low.cc (class sparc_target) - : Declare. - (sparc_breakpoint_at): Turn into... - (sparc_target::low_breakpoint_at): ...this. - (the_low_target): Remove the op field. - * linux-tic6x-low.cc (class tic6x_target) - : Declare. - (tic6x_breakpoint_at): Turn into... - (tic6x_target::low_breakpoint_at): ...this. - (the_low_target): Remove the op field. - * linux-tile-low.cc (class tile_target) - : Declare. - (tile_breakpoint_at): Turn into... - (tile_target::low_breakpoint_at): ...this. - (the_low_target): Remove the op field. - * linux-xtensa-low.cc (class xtensa_target) - : Declare. - (xtensa_breakpoint_at): Turn into... - (xtensa_target::low_breakpoint_at): ...this. - (the_low_target): Remove the op field. - -2020-04-02 Tankut Baris Aktemur - - Turn the 'decr_pc_after_break' linux_target_ops field into - a method of linux_process_target. - - * linux-low.h (struct linux_target_ops) - : Remove. - (class linux_process_target) : New method - declaration. - * linux-low.cc (linux_process_target::low_decr_pc_after_break): - New method implementation. - - Update the users below. - - (linux_process_target::save_stop_reason) - (linux_process_target::wait_1) - * linux-x86-low.cc (class x86_target) : - New declaration. - (x86_target::low_decr_pc_after_break): New method implementation. - (the_low_target): Remove the field. - * linux-bfin-low.cc (class bfin_target) : - New declaration. - (bfin_target::low_decr_pc_after_break): New method implementation. - (the_low_target): Remove the field. - * linux-m68k-low.cc (class m68k_target) : - New declaration. - (m68k_target::low_decr_pc_after_break): New method implementation. - (the_low_target): Remove the field. - * linux-s390-low.cc (class s390_target) : - New declaration. - (s390_target::low_decr_pc_after_break): New method implementation. - (the_low_target): Remove the field. - * linux-aarch64-low.cc (the_low_target): Remove the field. - * linux-arm-low.cc (the_low_target): Remove the field. - * linux-cris-low.cc (the_low_target): Remove the field. - * linux-crisv32-low.cc (the_low_target): Remove the field. - * linux-m32r-low.cc (the_low_target): Remove the field. - * linux-mips-low.cc (the_low_target): Remove the field. - * linux-nios2-low.cc (the_low_target): Remove the field. - * linux-ppc-low.cc (the_low_target): Remove the field. - * linux-riscv-low.cc (the_low_target): Remove the field. - * linux-sh-low.cc (the_low_target): Remove the field. - * linux-sparc-low.cc (the_low_target): Remove the field. - * linux-tic6x-low.cc (the_low_target): Remove the field. - * linux-tile-low.cc (the_low_target): Remove the field. - * linux-xtensa-low.cc (the_low_target): Remove the field. - -2020-04-02 Tankut Baris Aktemur - - Remove the 'supports_software_single_step' linux target op and let - the concrete linux target define it by overriding the op in - process_stratum_target. - Turn the 'get_next_pcs' linux target op into a method of - linux_process_target. - - * linux-low.h (struct linux_target_ops): Remove the ops. - (class linux_process_target) : - Remove. - : Declare. - * linux-low.cc (can_software_single_step): Remove. - (linux_process_target::low_get_next_pcs): Define. - (linux_process_target::supports_software_single_step): Remove. - - Update the callers below. - - (linux_process_target::handle_extended_wait) - (linux_process_target::wait_1) - (linux_process_target::install_software_single_step_breakpoints) - (linux_process_target::single_step) - (linux_process_target::thread_needs_step_over) - (linux_process_target::proceed_one_lwp) - (linux_process_target::supports_range_stepping) - - * linux-x86-low.cc (the_low_target): Remove the op field. - * linux-aarch64-low.cc (the_low_target): Ditto. - * linux-bfin-low.cc (the_low_target): Ditto. - * linux-cris-low.cc (the_low_target): Ditto. - * linux-crisv32-low.cc (the_low_target): Ditto. - * linux-m32r-low.cc (the_low_target): Ditto. - * linux-m68k-low.cc (the_low_target): Ditto. - * linux-mips-low.cc (the_low_target): Ditto. - * linux-nios2-low.cc (the_low_target): Ditto. - * linux-ppc-low.cc (the_low_target): Ditto. - * linux-riscv-low.cc (the_low_target): Ditto. - * linux-s390-low.cc (the_low_target): Ditto. - * linux-sh-low.cc (the_low_target): Ditto. - * linux-sparc-low.cc (the_low_target): Ditto. - * linux-tic6x-low.cc (the_low_target): Ditto. - * linux-tile-low.cc (the_low_target): Ditto. - * linux-xtensa-low.cc (the_low_target): Ditto. - * linux-arm-low.cc (class arm_target) - : Declare. - (arm_target::supports_software_single_step): Define. - (arm_gdbserver_get_next_pcs): Turn into... - (arm_target::low_get_next_pcs): ...this. - (the_low_target): Remove the op field. - -2020-04-02 Tankut Baris Aktemur - - Remove the 'sw_breakpoint_from_kind' linux target op, and let - the concrete linux target define it by overriding the op - in process_stratum_target. - - * linux-low.cc (linux_process_target::sw_breakpoint_from_kind): - Remove. - * linux-low.h (struct linux_target_ops): Remove the op. - (class linux_process_target) : Remove. - * linux-x86-low.cc (class x86_target) : - Declare. - (x86_sw_breakpoint_from_kind): Turn into... - (x86_target::sw_breakpoint_from_kind): ...this. - (the_low_target): Remove the op field. - * linux-aarch64-low.cc (class aarch64_target) - : Declare. - (aarch64_sw_breakpoint_from_kind): Turn into... - (aarch64_target::sw_breakpoint_from_kind): ...this. - (the_low_target): Remove the op field. - * linux-arm-low.cc (class arm_target) : - Declare. - (arm_target::sw_breakpoint_from_kind): Define. - (the_low_target): Remove the op field. - * linux-bfin-low.cc (class bfin_target) : - Declare. - (bfin_sw_breakpoint_from_kind): Turn into... - (bfin_target::sw_breakpoint_from_kind): ...this. - (the_low_target): Remove the op field. - * linux-cris-low.cc (class cris_target) : - Declare. - (cris_sw_breakpoint_from_kind): Turn into... - (cris_target::sw_breakpoint_from_kind): ...this. - (the_low_target): Remove the op field. - * linux-crisv32-low.cc (class crisv32_target) - : Declare. - (cris_sw_breakpoint_from_kind): Turn into... - (crisv32_target::sw_breakpoint_from_kind): ...this. - (the_low_target): Remove the op field. - * linux-ia64-low.cc (class ia64_target) : - Declare. - (ia64_target::sw_breakpoint_from_kind): Define. - * linux-m32r-low.cc (class m32r_target) : - Declare. - (m32r_sw_breakpoint_from_kind): Turn into... - (m32r_target::sw_breakpoint_from_kind): ...this. - (the_low_target): Remove the op field. - * linux-m68k-low.cc (class m68k_target) : - Declare. - (m68k_sw_breakpoint_from_kind): Turn into... - (m68k_target::sw_breakpoint_from_kind): ...this. - (the_low_target): Remove the op field. - * linux-mips-low.cc (class mips_target) : - Declare. - (mips_sw_breakpoint_from_kind): Turn into... - (mips_target::sw_breakpoint_from_kind): ...this. - (the_low_target): Remove the op field. - * linux-nios2-low.cc (class nios2_target) : - Declare. - (nios2_sw_breakpoint_from_kind): Turn into... - (nios2_target::sw_breakpoint_from_kind): ...this. - (the_low_target): Remove the op field. - * linux-ppc-low.cc (class ppc_target) : - Declare. - (ppc_sw_breakpoint_from_kind): Turn into... - (ppc_target::sw_breakpoint_from_kind): ...this. - (the_low_target): Remove the op field. - * linux-riscv-low.cc (class riscv_target) : - Declare. - (riscv_sw_breakpoint_from_kind): Turn into... - (riscv_target::sw_breakpoint_from_kind): ...this. - (the_low_target): Remove the op field. - * linux-s390-low.cc (class s390_target) : - Declare. - (s390_sw_breakpoint_from_kind): Turn into... - (s390_target::sw_breakpoint_from_kind): ...this. - (the_low_target): Remove the op field. - * linux-sh-low.cc (class sh_target) : - Declare. - (sh_sw_breakpoint_from_kind): Turn into... - (sh_target::sw_breakpoint_from_kind): ...this. - (the_low_target): Remove the op field. - * linux-sparc-low.cc (class sparc_target) : - Declare. - (sparc_sw_breakpoint_from_kind): Turn into... - (sparc_target::sw_breakpoint_from_kind): ...this. - (the_low_target): Remove the op field. - * linux-tic6x-low.cc (class tic6x_target) : - Declare. - (tic6x_sw_breakpoint_from_kind): Turn into... - (tic6x_target::sw_breakpoint_from_kind): ...this. - (the_low_target): Remove the op field. - * linux-tile-low.cc (class tile_target) : - Declare. - (tile_sw_breakpoint_from_kind): Turn into... - (tile_target::sw_breakpoint_from_kind): ...this. - (the_low_target): Remove the op field. - * linux-xtensa-low.cc (class xtensa_target) - : Declare. - (xtensa_sw_breakpoint_from_kind): Turn into... - (xtensa_target::sw_breakpoint_from_kind): ...this. - (the_low_target): Remove the op field. - -2020-04-02 Tankut Baris Aktemur - - Remove the 'breakpoint_kind_from_pc' and - 'breakpoint_kind_from_current_state' linux target ops, and let the - concrete linux target define them by overriding the ops of - process_stratum_target. - - * linux-low.cc (linux_process_target::breakpoint_kind_from_pc): - Remove. - (linux_process_target::breakpoint_kind_from_current_state): Remove. - * linux-low.h (struct linux_target_ops): Remove ops. - (class linux_process_target) : Remove. - : Remove. - * linux-x86-low.cc (the_low_target): Remove the op fields. - * linux-bfin-low.cc (the_low_target): Ditto. - * linux-cris-low.cc (the_low_target): Ditto. - * linux-crisv32-low.cc (the_low_target): Ditto. - * linux-m32r-low.cc (the_low_target): Ditto. - * linux-m68k-low.cc (the_low_target): Ditto. - * linux-mips-low.cc (the_low_target): Ditto. - * linux-nios2-low.cc (the_low_target): Ditto. - * linux-ppc-low.cc (the_low_target): Ditto. - * linux-s390-low.cc (the_low_target): Ditto. - * linux-sh-low.cc (the_low_target): Ditto. - * linux-sparc-low.cc (the_low_target): Ditto. - * linux-tic6x-low.cc (the_low_target): Ditto. - * linux-tile-low.cc (the_low_target): Ditto. - * linux-xtensa-low.cc (the_low_target): Ditto. - * linux-aarch64-low.cc (class aarch64_target) - - : Declare. - (aarch64_breakpoint_kind_from_pc): Turn into... - (aarch64_target::breakpoint_kind_from_pc): ...this. - (aarch64_breakpoint_kind_from_current_state): Turn into... - (aarch64_target::breakpoint_kind_from_current_state): ...this. - (the_low_target): Remove the op fields. - * linux-arm-low.cc (class arm_target): - - : Declare. - (arm_target::breakpoint_kind_from_pc): Define. - (arm_target::breakpoint_kind_from_current_state): Define. - (the_low_target): Remove the op fields. - * linux-riscv-low.cc (class riscv_target): - : Declare. - (riscv_breakpoint_kind_from_pc): Turn into... - (riscv_target::breakpoint_kind_from_pc): ...this. - (the_low_target): Remove the op fields. - -2020-04-02 Tankut Baris Aktemur - - Turn the 'get_pc' and 'set_pc' linux target ops into methods - of linux_process_target. - - * linux-low.h (struct linux_target_ops): Remove the ops. - (class linux_process_target) - - : Declare. - * linux-low.cc (supports_breakpoints): Turn into... - (linux_process_target::low_supports_breakpoints): ...this. - (linux_process_target::low_get_pc): Define. - (linux_process_target::low_set_pc): Define. - - Update the callers below. - - (linux_process_target::get_pc) - (linux_process_target::save_stop_reason) - (linux_process_target::maybe_move_out_of_jump_pad) - (linux_process_target::wait_1) - (linux_process_target::resume_one_lwp_throw) - (linux_process_target::resume) - (linux_process_target::proceed_all_lwps) - (linux_process_target::read_pc) - (linux_process_target::write_pc) - - * linux-x86-low.cc (class linux_process_target) - - - : Declare. - (x86_target::low_supports_breakpoints): Define. - (x86_get_pc): Turn into... - (x86_target::low_get_pc): ...this. - (x86_set_pc): Turn into... - (x86_target::low_set_pc): ...this. - (the_low_target): Remove the op fields. - * linux-arm-low.cc (class arm_target) - - - : Declare. - (arm_target::low_supports_breakpoints) - (arm_target::low_get_pc) - (arm_target::low_set_pc): Define. - (the_low_target): Remove the op fields. - * linux-bfin-low.cc (class bfin_target) - - - : Declare. - (bfin_target::low_supports_breakpoints) - (bfin_target::low_get_pc) - (bfin_target::low_set_pc): Define. - (the_low_target): Remove the op fields. - * linux-cris-low.cc (class cris_target) - - - : Declare. - (cris_target::low_supports_breakpoints) - (cris_target::low_get_pc) - (cris_target::low_set_pc): Define. - (the_low_target): Remove the op fields. - * linux-crisv32-low.cc (class crisv32_target) - - - : Declare. - (crisv32_target::low_supports_breakpoints) - (crisv32_target::low_get_pc) - (crisv32_target::low_set_pc): Define. - (the_low_target): Remove the op fields. - * linux-m32r-low.cc (class m32r_target) - - - : Declare. - (m32r_target::low_supports_breakpoints) - (m32r_target::low_get_pc) - (m32r_target::low_set_pc): Define. - (the_low_target): Remove the op fields. - * linux-m68k-low.cc (class m68k_target) - - - : Declare. - (m68k_target::low_supports_breakpoints) - (m68k_target::low_get_pc) - (m68k_target::low_set_pc): Define. - (the_low_target): Remove the op fields. - * linux-nios2-low.cc (class nios2_target) - - - : Declare. - (nios2_target::low_supports_breakpoints) - (nios2_target::low_get_pc) - (nios2_target::low_set_pc): Define. - (the_low_target): Remove the op fields. - * linux-sh-low.cc (class sh_target) - - - : Declare. - (sh_target::low_supports_breakpoints) - (sh_target::low_get_pc) - (sh_target::low_set_pc): Define. - (the_low_target): Remove the op fields. - * linux-xtensa-low.cc (class xtensa_target) - - - : Declare. - (xtensa_target::low_supports_breakpoints) - (xtensa_target::low_get_pc) - (xtensa_target::low_set_pc): Define. - (the_low_target): Remove the op fields. - * linux-sparc-low.cc (class sparc_target) - - : Declare. - (sparc_target::low_supports_breakpoints) - (sparc_target::low_get_pc): Define. - (the_low_target): Remove the op fields. - * linux-tile-low.cc (class tile_target) - - - : Declare. - (tile_target::low_supports_breakpoints) - (tile_target::low_get_pc) - (tile_target::low_set_pc): Define. - (the_low_target): Remove the op fields. - * linux-aarch64-low.cc (class aarch64_target) - - - : Declare. - (aarch64_target::low_supports_breakpoints): Define. - (aarch64_get_pc): Turn into... - (aarch64_target::low_get_pc): ...this. - (aarch64_set_pc): Turn into... - (aarch64_target::low_set_pc): ...this. - (the_low_target): Remove the op fields. - * linux-mips-low.cc (class mips_target) - - - : Declare. - (mips_target::low_supports_breakpoints): Define. - (mips_get_pc): Turn into... - (mips_target::low_get_pc): ...this. - (mips_set_pc): Turn into... - (mips_target::low_set_pc): ...this. - (the_low_target): Remove the op fields. - * linux-ppc-low.cc (class ppc_target) - - - : Declare. - (ppc_target::low_supports_breakpoints): Define. - (ppc_get_pc): Turn into... - (ppc_target::low_get_pc): ...this. - (ppc_set_pc): Turn into... - (ppc_target::low_set_pc): ...this. - (the_low_target): Remove the op fields. - * linux-riscv-low.cc (class riscv_target) - - - : Declare. - (riscv_target::low_supports_breakpoints): Define. - (riscv_get_pc): Turn into... - (riscv_target::low_get_pc): ...this. - (riscv_set_pc): Turn into... - (riscv_target::low_set_pc): ...this. - (the_low_target): Remove the op fields. - * linux-s390-low.cc (class s390_target) - - - : Declare. - (s390_target::low_supports_breakpoints): Define. - (s390_get_pc): Turn into... - (s390_target::low_get_pc): ...this. - (s390_set_pc): Turn into... - (s390_target::low_set_pc): ...this. - (the_low_target): Remove the op fields. - * linux-tic6x-low.cc (class tic6x_target) - - - : Declare. - (tic6x_target::low_supports_breakpoints): Define. - (tic6x_get_pc): Turn into... - (tic6x_target::low_get_pc): ...this. - (tic6x_set_pc): Turn into... - (tic6x_target::low_set_pc): ...this. - (the_low_target): Remove the op fields. - -2020-04-02 Tankut Baris Aktemur - - Turn some more static methods in linux-low into private methods - of linux_process_target. - - * linux-low.cc (get_pc): Turn into... - (linux_process_target::get_pc): ...this. - (save_stop_reason): Turn into... - (linux_process_target::save_stop_reason): ...this. - (thread_still_has_status_pending_p): Turn into... - (linux_process_target::thread_still_has_status_pending): ...this. - (status_pending_p_callback): Turn into... - (linux_process_target::status_pending_p_callback): ...this. - (resume_stopped_resumed_lwps): Turn into... - (linux_process_target::resume_stopped_resumed_lwps): ...this. - (install_software_single_step_breakpoints): Turn into... - (linux_process_target::install_software_single_step_breakpoints): - ...this. - (single_step): Turn into... - (linux_process_target::single_step): ...this. - (linux_resume_one_lwp_throw): Turn into... - (linux_process_target::resume_one_lwp_throw): ...this. - (linux_resume_one_lwp): Turn into... - (linux_process_target::resume_one_lwp): ...this. - (resume_status_pending_p): Turn into... - (linux_process_target::resume_status_pending): ...this. - (need_step_over_p): Turn into... - (linux_process_target::thread_needs_step_over): ...this. - (linux_resume_one_thread): Turn into... - (linux_process_target::resume_one_thread): ...this. - (proceed_one_lwp): Turn into... - (linux_process_target::proceed_one_lwp): ...this. - (unsuspend_and_proceed_one_lwp): Turn into... - (linux_process_target::unsuspend_and_proceed_one_lwp): ...this. - - Update the calls/references to the above functions below. - - (linux_process_target::handle_extended_wait) - (linux_process_target::filter_event) - (linux_process_target::wait_for_event_filtered) - (linux_process_target::wait_1) - (linux_process_target::move_out_of_jump_pad) - (linux_process_target::start_step_over) - (linux_process_target::resume) - (linux_process_target::proceed_all_lwps) - (regsets_store_inferior_registers) - (linux_process_target::store_register) - - * linux-low.h (class linux_process_target) - - - - - - - - - - - - - - : Declare. - -2020-04-02 Tankut Baris Aktemur - - Turn the 'fetch_register' linux target op into a method of - linux_process_target. - - * linux-low.h (struct linux_target_ops) : Remove. - (class linux_process_target) : Declare. - * linux-x86-low.cc (the_low_target) - * linux-aarch64-low.cc (the_low_target) - * linux-arm-low.cc (the_low_target) - * linux-bfin-low.cc (the_low_target) - * linux-cris-low.cc (the_low_target) - * linux-crisv32-low.cc (the_low_target) - * linux-m32r-low.cc (the_low_target) - * linux-m68k-low.cc (the_low_target) - * linux-nios2-low.cc (the_low_target) - * linux-ppc-low.cc (the_low_target) - * linux-s390-low.cc (the_low_target) - * linux-sh-low.cc (the_low_target) - * linux-sparc-low.cc (the_low_target) - * linux-tic6x-low.cc (the_low_target) - * linux-tile-low.cc (the_low_target) - * linux-xtensa-low.cc (the_low_target): Remove the op field. - * linux-ia64-low.cc (class ia64_target) : - Declare. - (ia64_fetch_register): Turn into... - (ia64_target::low_fetch_register): ...this. - (the_low_target): Remove the op field. - * linux-mips-low.cc (class mips_target) : - Declare. - (mips_fetch_register): Turn into... - (mips_target::low_fetch_register): ...this. - (the_low_target): Remove the op field. - * linux-riscv-low.cc (class riscv_target) : - Declare. - (riscv_fetch_register): Turn into... - (riscv_target::low_fetch_register): ...this. - (the_low_target): Remove the op field. - - Update the callers below. - - * linux-low.cc (linux_process_target::fetch_registers) - (linux_process_target::low_fetch_register) - -2020-04-02 Tankut Baris Aktemur - - Turn the 'cannot_fetch_register' and 'cannot_store_register' - linux target ops into methods of linux_process_target. - - * linux-low.h (struct linux_target_ops): Remove the low target ops. - (class linux_process_target) - - - - - Declare. - * linux-low.cc (fetch_register): Turn into... - (linux_process_target::fetch_register): ...this. - (store_register): Turn into ... - (linux_process_target::store_register): ...this. - (usr_fetch_inferior_registers): Turn into... - (linux_process_target::usr_fetch_inferior_registers): ...this. - (usr_store_inferior_registers): Turn into... - (linux_process_target::usr_store_inferior_registers): ...this. - * linux-x86-low.cc (class x86_target) - - : Declare. - (x86_cannot_store_register): Turn into... - (x86_target::low_cannot_store_register): ...this. - (x86_cannot_fetch_register): Turn into... - (x86_target::low_cannot_fetch_register): ...this. - (the_low_target): Remove the target op fields. - * linux-aarch64-low.cc (class aarch64_target) - - : Declare. - (aarch64_target::low_cannot_fetch_register) - (aarch64_target::low_cannot_store_register): Define. - (the_low_target): Remove the op fields. - * linux-arm-low.cc (class arm_target) - - : Declare. - (arm_cannot_fetch_register): Turn into... - (arm_target::low_cannot_fetch_register): ...this. - (arm_cannot_store_register): Turn into... - (arm_target::low_cannot_store_register): ...this. - (the_low_target): Remove the op fields. - * linux-bfin-low.cc (class bfin_target) - - : Declare. - (bfin_cannot_fetch_register): Turn into... - (bfin_target::low_cannot_fetch_register): ...this. - (bfin_cannot_store_register): Turn into... - (bfin_target::low_cannot_store_register): ...this. - (the_low_target): Remove the op fields. - * linux-cris-low.cc (class cris_target) - - : Declare. - (cris_cannot_fetch_register): Turn into... - (cris_target::low_cannot_fetch_register): ...this. - (cris_cannot_store_register): Turn into... - (cris_target::low_cannot_store_register): ...this. - (the_low_target): Remove the op fields. - * linux-crisv32-low.cc (class crisv32_target) - - : Declare. - (crisv32_target::low_cannot_fetch_register) - (crisv32_target::low_cannot_store_register): Define. - (the_low_target): Remove the op fields. - * linux-ia64-low.cc (class ia64_target) - - : Declare. - (ia64_cannot_fetch_register): Turn into... - (ia64_target::low_cannot_fetch_register): ...this. - (ia64_cannot_store_register): Turn into... - (ia64_target::low_cannot_store_register): ...this. - (the_low_target): Remove the op fields. - * linux-m32r-low.cc (class m32r_target) - - : Declare. - (m32r_cannot_fetch_register): Turn into... - (m32r_target::low_cannot_fetch_register): ...this. - (m32r_cannot_store_register): Turn into... - (m32r_target::low_cannot_store_register): ...this. - (the_low_target): Remove the op fields. - * linux-m68k-low.cc (class m68k_target) - - : Declare. - (m68k_cannot_fetch_register): Turn into... - (m68k_target::low_cannot_fetch_register): ...this. - (m68k_cannot_store_register): Turn into... - (m68k_target::low_cannot_store_register): ...this. - (the_low_target): Remove the op fields. - * linux-mips-low.cc (class mips_target) - - : Declare. - (mips_cannot_fetch_register): Turn into... - (mips_target::low_cannot_fetch_register): ...this. - (mips_cannot_store_register): Turn into... - (mips_target::low_cannot_store_register): ...this. - (get_usrregs_info): Inline at the call sites in - low_cannot_fetch_register and low_cannot_store_register, - and remove. - (the_low_target): Remove the op fields. - * linux-nios2-low.cc (class nios2_target) - - : Declare. - (nios2_cannot_fetch_register): Turn into... - (nios2_target::low_cannot_fetch_register): ...this. - (nios2_cannot_store_register): Turn into... - (nios2_target::low_cannot_store_register): ...this. - (the_low_target): Remove the op fields. - * linux-ppc-low.cc (class ppc_target) - - : Declare. - (ppc_cannot_fetch_register): Turn into... - (ppc_target::low_cannot_fetch_register): ...this. - (ppc_cannot_store_register): Turn into... - (ppc_target::low_cannot_store_register): ...this. - (the_low_target): Remove the op fields. - * linux-riscv-low.cc (class riscv_target) - - : Declare. - (riscv_target::low_cannot_fetch_register) - (riscv_target::low_cannot_store_register): Define. - (the_low_target): Remove the op fields. - * linux-s390-low.cc (class s390_target) - - : Declare. - (s390_cannot_fetch_register): Turn into... - (s390_target::low_cannot_fetch_register): ...this. - (s390_cannot_store_register): Turn into... - (s390_target::low_cannot_store_register): ...this. - (the_low_target): Remove the op fields. - * linux-sh-low.cc (class sh_target) - - : Declare. - (sh_cannot_fetch_register): Turn into... - (sh_target::low_cannot_fetch_register): ...this. - (sh_cannot_store_register): Turn into... - (sh_target::low_cannot_store_register): ...this. - (the_low_target): Remove the op fields. - * linux-sparc-low.cc (class sparc_target) - - : Declare. - (sparc_cannot_fetch_register): Turn into... - (sparc_target::low_cannot_fetch_register): ...this. - (sparc_cannot_store_register): Turn into... - (sparc_target::low_cannot_store_register): ...this. - (the_low_target): Remove the op fields. - * linux-tic6x-low.cc (class tic6x_target) - - : Declare. - (tic6x_cannot_fetch_register): Turn into... - (tic6x_target::low_cannot_fetch_register): ...this. - (tic6x_cannot_store_register): Turn into... - (tic6x_target::low_cannot_store_register): ...this. - (the_low_target): Remove the op fields. - * linux-tile-low.cc (class tile_target) - - : Declare. - (tile_cannot_fetch_register): Turn into... - (tile_target::low_cannot_fetch_register): ...this. - (tile_cannot_store_register): Turn into... - (tile_target::low_cannot_store_register): ...this. - (the_low_target): Remove the op fields. - * linux-xtensa-low.cc (class xtensa_target) - - : Declare. - (xtensa_target::low_cannot_fetch_register) - (xtensa_target::low_cannot_store_register): Define. - (the_low_target): Remove the op fields. - -2020-04-02 Tankut Baris Aktemur - - Turn the 'regs_info' linux target op into a method of - linux_process_target. - - * linux-low.h (struct linux_target_ops) : Remove. - (class linux_process_target) : Define. - - Update the callers below. - - * linux-low.cc (linux_process_target::fetch_registers) - (linux_process_target::store_registers) - * proc-service.cc (gregset_info) - - * linux-x86-low.cc (class x86_target) : Declare. - (x86_linux_regs_info): Turn into ... - (x86_target::get_regs_info): ...this. - (the_low_target): Remove the op field. - * linux-aarch64-low.cc (class aarch64_target) : - Declare. - (aarch64_regs_info): Turn into ... - (aarch64_target::get_regs_info): ...this. - (the_low_target): Remove the op field. - * linux-arm-low.cc (class arm_target) : Declare. - (arm_regs_info): Turn into ... - (arm_target::get_regs_info): ...this. - (the_low_target): Remove the op field. - * linux-bfin-low.cc (class bfin_target) : Declare. - (bfin_regs_info): Turn into ... - (bfin_target::get_regs_info): ...this. - (the_low_target): Remove the op field. - * linux-cris-low.cc (class cris_target) : Declare. - (cris_regs_info): Turn into ... - (cris_target::get_regs_info): ...this. - (the_low_target): Remove the op field. - * linux-crisv32-low.cc (class crisv32_target) : - Declare. - (crisv32_regs_info): Turn into ... - (crisv32_target::get_regs_info): ...this. - (the_low_target): Remove the op field. - * linux-ia64-low.cc (class ia64_target) : Declare. - (ia64_regs_info): Turn into ... - (ia64_target::get_regs_info): ...this. - (the_low_target): Remove the op field. - * linux-m32r-low.cc (class m32r_target) : Declare. - (m32r_regs_info): Turn into ... - (m32r_target::get_regs_info): ...this. - (the_low_target): Remove the op field. - * linux-m68k-low.cc (class m68k_target) : Declare. - (m68k_regs_info): Turn into ... - (m68k_target::get_regs_info): ...this. - (the_low_target): Remove the op field. - * linux-mips-low.cc (class mips_target) : Declare. - (mips_regs_info): Turn into ... - (mips_target::get_regs_info): ...this. - (the_low_target): Remove the op field. - (get_usrregs_info): Update the call to the op. - * linux-nios2-low.cc (class nios2_target) : Declare. - (nios2_regs_info): Turn into ... - (nios2_target::get_regs_info): ...this. - (the_low_target): Remove the op field. - * linux-ppc-low.cc (class ppc_target) : Declare. - (ppc_regs_info): Turn into ... - (ppc_target::get_regs_info): ...this. - (the_low_target): Remove the op field. - * linux-riscv-low.cc (class riscv_target) : Declare. - (riscv_regs_info): Turn into ... - (riscv_target::get_regs_info): ...this. - (the_low_target): Remove the op field. - * linux-s390-low.cc (class s390_target) : Declare. - (s390_regs_info): Turn into ... - (s390_target::get_regs_info): ...this. - (the_low_target): Remove the op field. - (s390_collect_ptrace_register) - (s390_supply_ptrace_register) - (s390_fill_gregset): Update the call to the op. - * linux-sh-low.cc (class sh_target) : Declare. - (sh_regs_info): Turn into ... - (sh_target::get_regs_info): ...this. - (the_low_target): Remove the op field. - * linux-sparc-low.cc (class sparc_target) : Declare. - (sparc_regs_info): Turn into ... - (sparc_target::get_regs_info): ...this. - (the_low_target): Remove the op field. - * linux-tic6x-low.cc (class tic6x_target) : Declare. - (tic6x_regs_info): Turn into ... - (tic6x_target::get_regs_info): ...this. - (the_low_target): Remove the op field. - * linux-tile-low.cc (class tile_target) : Declare. - (tile_regs_info): Turn into ... - (tile_target::get_regs_info): ...this. - (the_low_target): Remove the op field. - * linux-xtensa-low.cc (class xtensa_target) : - Declare. - (xtensa_regs_info): Turn into ... - (xtensa_target::get_regs_info): ...this. - (the_low_target): Remove the op field. - -2020-04-02 Tankut Baris Aktemur - - Turn the 'arch_setup' linux target op into a method of - linux_process_target. - - * linux-low.h (struct linux_target_ops) : Delete. - (class linux_process_target) - : New declarations. - * linux-low.cc (linux_arch_setup): Delete. - (linux_arch_setup_thread): Turn into... - (linux_process_target::arch_setup_thread): ... this. - - Update the callers below. - - (linux_process_target::handle_extended_wait) - (linux_process_target::post_create_inferior) - (linux_process_target::filter_event) - - * linux-x86-low.cc (class x86_target) : New - declaration. - (x86_linux_update_xmltarget): Turn into... - (x86_target::update_xmltarget): ...this. - (x86_linux_process_qsupported): Update the call to - x86_linux_update_xmltarget. - (x86_arch_setup): Turn into ... - (x86_target::low_arch_setup): ...this. - (the_low_target): Remove the op field. - * linux-aarch64-low.cc (class aarch64_target) : New - declaration. - (aarch64_arch_setup): Turn into ... - (aarch64_target::low_arch_setup): ...this. - (the_low_target): Remove the op field. - * linux-arm-low.cc (class arm_target) : New - declaration. - (arm_arch_setup): Turn into ... - (arm_target::low_arch_setup): ...this. - (the_low_target): Remove the op field. - * linux-bfin-low.cc (class bfin_target) : New - declaration. - (bfin_arch_setup): Turn into ... - (bfin_target::low_arch_setup): ...this. - (the_low_target): Remove the op field. - * linux-cris-low.cc (class cris_target) : New - declaration. - (cris_arch_setup): Turn into ... - (cris_target::low_arch_setup): ...this. - (the_low_target): Remove the op field. - * linux-crisv32-low.cc (class crisv32_target) : New - declaration. - (crisv32_arch_setup): Turn into ... - (crisv32_target::low_arch_setup): ...this. - (the_low_target): Remove the op field. - * linux-ia64-low.cc (class ia64_target) : New - declaration. - (ia64_arch_setup): Turn into ... - (ia64_target::low_arch_setup): ...this. - (the_low_target): Remove the op field. - * linux-m32r-low.cc (class m32r_target) : New - declaration. - (m32r_arch_setup): Turn into ... - (m32r_target::low_arch_setup): ...this. - (the_low_target): Remove the op field. - * linux-m68k-low.cc (class m68k_target) : New - declaration. - (m68k_arch_setup): Turn into ... - (m68k_target::low_arch_setup): ...this. - (the_low_target): Remove the op field. - * linux-mips-low.cc (class mips_target) : New - declaration. - (mips_arch_setup): Turn into ... - (mips_target::low_arch_setup): ...this. - (the_low_target): Remove the op field. - * linux-nios2-low.cc (class nios2_target) : New - declaration. - (nios2_arch_setup): Turn into ... - (nios2_target::low_arch_setup): ...this. - (the_low_target): Remove the op field. - * linux-ppc-low.cc (class ppc_target) : New - declaration. - (ppc_arch_setup): Turn into ... - (ppc_target::low_arch_setup): ...this. - (the_low_target): Remove the op field. - * linux-riscv-low.cc (class riscv_target) : New - declaration. - (riscv_arch_setup): Turn into ... - (riscv_target::low_arch_setup): ...this. - (the_low_target): Remove the op field. - * linux-s390-low.cc (class s390_target) : New - declaration. - (s390_arch_setup): Turn into ... - (s390_target::low_arch_setup): ...this. - (the_low_target): Remove the op field. - * linux-sh-low.cc (class sh_target) : New - declaration. - (sh_arch_setup): Turn into ... - (sh_target::low_arch_setup): ...this. - (the_low_target): Remove the op field. - * linux-sparc-low.cc (class sparc_target) : New - declaration. - (sparc_arch_setup): Turn into ... - (sparc_target::low_arch_setup): ...this. - (the_low_target): Remove the op field. - * linux-tic6x-low.cc (class tic6x_target) : New - declaration. - (tic6x_arch_setup): Turn into ... - (tic6x_target::low_arch_setup): ...this. - (the_low_target): Remove the op field. - * linux-tile-low.cc (class tile_target) : New - declaration. - (tile_arch_setup): Turn into ... - (tile_target::low_arch_setup): ...this. - (the_low_target): Remove the op field. - * linux-xtensa-low.cc (class xtensa_target) : New - declaration. - (xtensa_arch_setup): Turn into ... - (xtensa_target::low_arch_setup): ...this. - (the_low_target): Remove the op field. - -2020-04-02 Tankut Baris Aktemur - - * linux-low.h (the_linux_target): New extern declaration. - * linux-low.cc (initialize_low): Use 'the_linux_target' to set - 'the_target'. - (the_linux_target): Remove. - * linux-x86-low.cc (class x86_target): New class. - (the_x86_target): New static object. - (the_linux_target): Define as pointer to the_x86_target. - * linux-aarch64-low.cc (class aarch64_target): New class. - (the_aarch64_target): New static object. - (the_linux_target): Define as pointer to the_aarch64_target. - * linux-arm-low.cc (class arm_target): New class. - (the_arm_target): New static object. - (the_linux_target): Define as pointer to the_arm_target. - * linux-bfin-low.cc (class bfin_target): New class. - (the_bfin_target): New static object. - (the_linux_target): Define as pointer to the_bfin_target. - * linux-cris-low.cc (class cris_target): New class. - (the_cris_target): New static object. - (the_linux_target): Define as pointer to the_cris_target. - * linux-crisv32-low.cc (class crisv32_target): New class. - (the_crisv32_target): New static object. - (the_linux_target): Define as pointer to the_crisv32_target. - * linux-ia64-low.cc (class ia64_target): New class. - (the_ia64_target): New static object. - (the_linux_target): Define as pointer to the_ia64_target. - * linux-m32r-low.cc (class m32r_target): New class. - (the_m32r_target): New static object. - (the_linux_target): Define as pointer to the_m32r_target. - * linux-m68k-low.cc (class m68k_target): New class. - (the_m68k_target): New static object. - (the_linux_target): Define as pointer to the_m68k_target. - * linux-mips-low.cc (class mips_target): New class. - (the_mips_target): New static object. - (the_linux_target): Define as pointer to the_mips_target. - * linux-nios2-low.cc (class nios2_target): New class. - (the_nios2_target): New static object. - (the_linux_target): Define as pointer to the_nios2_target. - * linux-ppc-low.cc (class ppc_target): New class. - (the_ppc_target): New static object. - (the_linux_target): Define as pointer to the_ppc_target. - * linux-riscv-low.cc (class riscv_target): New class. - (the_riscv_target): New static object. - (the_linux_target): Define as pointer to the_riscv_target. - * linux-s390-low.cc (class s390_target): New class. - (the_s390_target): New static object. - (the_linux_target): Define as pointer to the_s390_target. - * linux-sh-low.cc (class sh_target): New class. - (the_sh_target): New static object. - (the_linux_target): Define as pointer to the_sh_target. - * linux-sparc-low.cc (class sparc_target): New class. - (the_sparc_target): New static object. - (the_linux_target): Define as pointer to the_sparc_target. - * linux-tic6x-low.cc (class tic6x_target): New class. - (the_tic6x_target): New static object. - (the_linux_target): Define as pointer to the_tic6x_target. - * linux-tile-low.cc (class tile_target): New class. - (the_tile_target): New static object. - (the_linux_target): Define as pointer to the_tile_target. - * linux-xtensa-low.cc (class xtensa_target): New class. - (the_xtensa_target): New static object. - (the_linux_target): Define as pointer to the_xtensa_target. - -2020-04-02 Tankut Baris Aktemur - - Turn some static functions in linux-low.cc into private methods of - linux_process_target. - - * linux-low.cc (handle_extended_wait): Turn into ... - (linux_process_target::handle_extended_wait): ...this. Call - 'mourn' on 'this' object instead of 'the_target'. - (maybe_move_out_of_jump_pad): Turn into... - (linux_process_target::maybe_move_out_of_jump_pad): ...this. - (linux_low_filter_event): Turn into... - (linux_process_target::filter_event): ...this. - (linux_wait_for_event_filtered): Turn into... - (linux_process_target::wait_for_event_filtered): ...this. - (linux_wait_for_event): Turn into... - (linux_process_target::wait_for_event): ...this. - (linux_wait_1): Turn into... - (linux_process_target::wait_1): ...this. - (wait_for_sigstop): Turn into... - (linux_process_target::wait_for_sigstop): ...this. - (move_out_of_jump_pad_callback): Turn into... - (linux_process_target::move_out_of_jump_pad): ...this. - (stop_all_lwps): Turn into... - (linux_process_target::stop_all_lwps): ...this. - (start_step_over): Turn into... - (linux_process_target::start_step_over): ...this. - (complete_ongoing_step_over): Turn into... - (linux_process_target::complete_ongoing_step_over): ...this. - (proceed_all_lwps): Turn into... - (linux_process_target::proceed_all_lwps): ...this. - (unstop_all_lwps): Turn into... - (linux_process_target::unstop_all_lwps): ...this. - - * linux-low.h (class linux_process_target) - - - filter_event> - - - - - - - - - - : Declare. - - Update the callers below. - - * linux-low.cc (linux_process_target::attach): Update. - (linux_process_target::stabilize_threads): Ditto. - (linux_process_target::wait): Ditto. - -2020-04-02 Tankut Baris Aktemur - - * linux-low.h (struct linux_target_ops): Update the comment for - 'cannot_store_register' to return 0 or 1. - * linux-ppc-low.cc (ppc_cannot_store_register): Return 1 instead - of 2. - -2020-03-20 Simon Marchi - - * config.in: Re-generate. - * configure: Re-generate. - -2020-03-17 Kamil Rytarowski - - * regcache.cc (find_register_by_number): Update. - * tdesc.cc (init_target_desc): Likewise. - * tdesc.h (target_desc::reg_defs): Likewise. - -2020-03-12 Tom Tromey - - * configure: Rebuild. - * configure.ac (GDBSERVER_DEPFILES): Remove srv_selftest_objs. - (WIN32APILIBS): New subst. - * Makefile.in (SFILES, OBS, TAGS, GDBREPLAY_OBS): Remove - gdbsupport files. - (gdbsupport/%.o): Remove target. - (GDBSUPPORT_BUILDDIR, GDBSUPPORT): New variables. - (gdbserver$(EXEEXT), gdbreplay$(EXEEXT)): Add GDBSUPPORT. - (WIN32APILIBS): New variable. - (gdbserver$(EXEEXT)): Add WIN32APILIBS. - (gdbreplay$(EXEEXT)): Likewise. - -2020-03-12 Tom Tromey - - * config.in, configure: Rebuild. - * configure.ac: Call ZW_GNU_GETTEXT_SISTER_DIR. - * acinclude.m4: Include gettext-sister.m4. - * Makefile.in (top_builddir, INTL, INTL_DEPS, INTL_CFLAGS): New - variables. - (INCLUDE_CFLAGS): Add INTL_CFLAGS. - (gdbserver$(EXEEXT), gdbreplay$(EXEEXT)): Use INTL_DEPS, INTL. - -2020-03-12 Simon Marchi - - * acinclude.m4: Update path to selftest.m4. - -2020-03-12 Simon Marchi - - * configure.ac: Don't source bfd/development.sh, move - GDB_AC_COMMON higher. - * configure: Re-generate. - -2020-03-12 Simon Marchi - - * configure: Re-generate. - -2020-03-11 Simon Marchi - - * configure: Re-generate. - -2020-03-06 Andrew Burgess - - * .dir-locals.el: New file. - -2020-03-05 Tankut Baris Aktemur - - * .gitattributes: New file. - -2020-03-02 Andrew Burgess - - * remote-utils.cc (prepare_resume_reply): Add ability to convert T - reply into an S reply. - * server.cc (disable_packet_T): New global. - (captured_main): Set new global when appropriate. - * server.h (disable_packet_T): Declare. - -2020-02-21 Tom Tromey - - * Makefile.in (mostlyclean): New target. - -2020-02-20 Tankut Baris Aktemur - - * target.h (struct process_stratum_target): Remove. - (class process_target): Rename to ... - (class process_stratum_target): ... this. - * linux-low.h (class linux_process_target): Derive from - 'process_stratum_target'. - * linux-low.cc (linux_target_ops): Remove. - (initialize_low): Set the_target to the singleton instance of - linux_process_target. - * lynx-low.h (class lynx_process_target): Derive from - 'process_stratum_target'. - * lynx-low.cc (lynx_target_ops): Remove. - (initialize_low): Set the_target to the singleton instance of - lynx_process_target. - * nto-low.h (class nto_process_target): Derive from - 'process_stratum_target'. - * nto-low.cc (nto_target_ops): Remove. - (initialize_low): Set the_target to the singleton instance of - nto_process_target. - * win32-low.h (class win32_process_target): Derive from - 'process_stratum_target'. - * win32-low.cc (win32_target_ops): Remove. - (initialize_low): Set the_target to the singleton instance of - win32_process_target. - - Replace 'the_target->pt' with 'the_target' in the uses below. - - * hostio.cc (hostio_error) - (handle_setfs) - (handle_open) - (handle_unlink) - (handle_readlink) - * linux-aarch32-low.cc (arm_breakpoint_at) - * linux-aarch64-low.cc (aarch64_breakpoint_at) - * linux-arm-low.cc (arm_sigreturn_next_pc) - (arm_get_hwcap) - (arm_get_syscall_trapinfo) - * linux-cris-low.cc (cris_breakpoint_at) - * linux-crisv32-low.cc (cris_breakpoint_at) - * linux-low.cc (handle_extended_wait) - (linux_wait_1) - (linux_read_memory) - (linux_process_target::breakpoint_kind_from_pc) - (linux_get_auxv) - * linux-m32r-low.cc (m32r_breakpoint_at) - * linux-mips-low.cc (mips_breakpoint_at) - * linux-nios2-low.cc (nios2_breakpoint_at) - * linux-ppc-low.cc (ppc_breakpoint_at) - * linux-s390-low.cc (s390_get_hwcap) - * linux-sh-low.cc (sh_breakpoint_at) - * linux-sparc-low.cc (sparc_fill_gregset_to_stack) - (sparc_store_gregset_from_stack) - (sparc_breakpoint_at) - * linux-tic6x-low.cc (tic6x_breakpoint_at) - * linux-tile-low.cc (tile_breakpoint_at) - * linux-x86-low.cc (x86_breakpoint_at) - * linux-xtensa-low.cc (xtensa_breakpoint_at) - * mem-break.cc (bp_size) - (bp_opcode) - (insert_memory_breakpoint) - (set_raw_breakpoint_at) - (delete_raw_breakpoint) - (z_type_supported) - (uninsert_raw_breakpoint) - (reinsert_raw_breakpoint) - (validate_inserted_breakpoint) - * regcache.cc (regcache_read_pc) - (regcache_write_pc) - * remote-utils.cc (putpkt_binary_1) - (input_interrupt) - (getpkt) - (prepare_resume_reply) - * server.cc (handle_general_set) - (handle_detach) - (handle_qxfer_auxv) - (handle_qxfer_exec_file) - (handle_qxfer_libraries_svr4) - (handle_qxfer_osdata) - (handle_qxfer_siginfo) - (handle_qxfer_fdpic) - (handle_query) - (resume) - (handle_v_requests) - (queue_stop_reply_callback) - (captured_main) - * target.cc (prepare_to_access_memory) - (done_accessing_memory) - (read_inferior_memory) - (target_write_memory) - (target_stop_and_wait) - (target_wait) - (target_mourn_inferior) - (target_continue_no_signal) - (target_continue) - (target_supports_multi_process) - (kill_inferior) - * target.h - (target_create_inferior) - (target_post_create_inferior) - (myattach) - (target_supports_fork_events) - (target_supports_vfork_events) - (target_supports_exec_events) - (target_handle_new_gdb_connection) - (detach_inferior) - (mythread_alive) - (fetch_inferior_registers) - (store_inferior_registers) - (join_inferior) - (target_supports_non_stop) - (target_async) - (target_process_qsupported) - (target_supports_catch_syscall) - (target_get_ipa_tdesc_idx) - (target_supports_tracepoints) - (target_supports_fast_tracepoints) - (target_get_min_fast_tracepoint_insn_len) - (target_thread_stopped) - (target_pause_all) - (target_unpause_all) - (target_stabilize_threads) - (target_install_fast_tracepoint_jump_pad) - (target_emit_ops) - (target_supports_disable_randomization) - (target_supports_agent) - (target_enable_btrace) - (target_disable_btrace) - (target_read_btrace) - (target_read_btrace_conf) - (target_supports_range_stepping) - (target_supports_stopped_by_sw_breakpoint) - (target_stopped_by_sw_breakpoint) - (target_supports_stopped_by_hw_breakpoint) - (target_supports_hardware_single_step) - (target_stopped_by_hw_breakpoint) - (target_breakpoint_kind_from_pc) - (target_breakpoint_kind_from_current_state) - (target_supports_software_single_step) - (target_core_of_thread) - (target_thread_name) - (target_thread_handle) - * win32-low.cc (do_initial_child_stuff) - - Rename target op default definitions listed below. - - * target.cc (process_target::post_create_inferior): Rename as ... - (process_stratum_target::post_create_inferior): ... this. - (process_target::prepare_to_access_memory): Rename as ... - (process_stratum_target::prepare_to_access_memory): ... this. - (process_target::done_accessing_memory): Rename as ... - (process_stratum_target::done_accessing_memory): ... this. - (process_target::look_up_symbols): Rename as ... - (process_stratum_target::look_up_symbols): ... this. - (process_target::supports_read_auxv): Rename as ... - (process_stratum_target::supports_read_auxv): ... this. - (process_target::read_auxv): Rename as ... - (process_stratum_target::read_auxv): ... this. - (process_target::supports_z_point_type): Rename as ... - (process_stratum_target::supports_z_point_type): ... this. - (process_target::insert_point): Rename as ... - (process_stratum_target::insert_point): ... this. - (process_target::remove_point): Rename as ... - (process_stratum_target::remove_point): ... this. - (process_target::stopped_by_sw_breakpoint): Rename as ... - (process_stratum_target::stopped_by_sw_breakpoint): ... this. - (process_target::supports_stopped_by_sw_breakpoint): Rename as ... - (process_stratum_target::supports_stopped_by_sw_breakpoint): ... this. - (process_target::stopped_by_hw_breakpoint): Rename as ... - (process_stratum_target::stopped_by_hw_breakpoint): ... this. - (process_target::supports_stopped_by_hw_breakpoint): Rename as ... - (process_stratum_target::supports_stopped_by_hw_breakpoint): ... this. - (process_target::supports_hardware_single_step): Rename as ... - (process_stratum_target::supports_hardware_single_step): ... this. - (process_target::stopped_by_watchpoint): Rename as ... - (process_stratum_target::stopped_by_watchpoint): ... this. - (process_target::stopped_data_address): Rename as ... - (process_stratum_target::stopped_data_address): ... this. - (process_target::supports_read_offsets): Rename as ... - (process_stratum_target::supports_read_offsets): ... this. - (process_target::read_offsets): Rename as ... - (process_stratum_target::read_offsets): ... this. - (process_target::supports_get_tls_address): Rename as ... - (process_stratum_target::supports_get_tls_address): ... this. - (process_target::get_tls_address): Rename as ... - (process_stratum_target::get_tls_address): ... this. - (process_target::hostio_last_error): Rename as ... - (process_stratum_target::hostio_last_error): ... this. - (process_target::supports_qxfer_osdata): Rename as ... - (process_stratum_target::supports_qxfer_osdata): ... this. - (process_target::qxfer_osdata): Rename as ... - (process_stratum_target::qxfer_osdata): ... this. - (process_target::supports_qxfer_siginfo): Rename as ... - (process_stratum_target::supports_qxfer_siginfo): ... this. - (process_target::qxfer_siginfo): Rename as ... - (process_stratum_target::qxfer_siginfo): ... this. - (process_target::supports_non_stop): Rename as ... - (process_stratum_target::supports_non_stop): ... this. - (process_target::async): Rename as ... - (process_stratum_target::async): ... this. - (process_target::start_non_stop): Rename as ... - (process_stratum_target::start_non_stop): ... this. - (process_target::supports_multi_process): Rename as ... - (process_stratum_target::supports_multi_process): ... this. - (process_target::supports_fork_events): Rename as ... - (process_stratum_target::supports_fork_events): ... this. - (process_target::supports_vfork_events): Rename as ... - (process_stratum_target::supports_vfork_events): ... this. - (process_target::supports_exec_events): Rename as ... - (process_stratum_target::supports_exec_events): ... this. - (process_target::handle_new_gdb_connection): Rename as ... - (process_stratum_target::handle_new_gdb_connection): ... this. - (process_target::handle_monitor_command): Rename as ... - (process_stratum_target::handle_monitor_command): ... this. - (process_target::core_of_thread): Rename as ... - (process_stratum_target::core_of_thread): ... this. - (process_target::supports_read_loadmap): Rename as ... - (process_stratum_target::supports_read_loadmap): ... this. - (process_target::read_loadmap): Rename as ... - (process_stratum_target::read_loadmap): ... this. - (process_target::process_qsupported): Rename as ... - (process_stratum_target::process_qsupported): ... this. - (process_target::supports_tracepoints): Rename as ... - (process_stratum_target::supports_tracepoints): ... this. - (process_target::read_pc): Rename as ... - (process_stratum_target::read_pc): ... this. - (process_target::write_pc): Rename as ... - (process_stratum_target::write_pc): ... this. - (process_target::supports_thread_stopped): Rename as ... - (process_stratum_target::supports_thread_stopped): ... this. - (process_target::thread_stopped): Rename as ... - (process_stratum_target::thread_stopped): ... this. - (process_target::supports_get_tib_address): Rename as ... - (process_stratum_target::supports_get_tib_address): ... this. - (process_target::get_tib_address): Rename as ... - (process_stratum_target::get_tib_address): ... this. - (process_target::pause_all): Rename as ... - (process_stratum_target::pause_all): ... this. - (process_target::unpause_all): Rename as ... - (process_stratum_target::unpause_all): ... this. - (process_target::stabilize_threads): Rename as ... - (process_stratum_target::stabilize_threads): ... this. - (process_target::supports_fast_tracepoints): Rename as ... - (process_stratum_target::supports_fast_tracepoints): ... this. - (process_target::get_min_fast_tracepoint_insn_len): Rename as ... - (process_stratum_target::get_min_fast_tracepoint_insn_len): ... this. - (process_target::emit_ops): Rename as ... - (process_stratum_target::emit_ops): ... this. - (process_target::supports_disable_randomization): Rename as ... - (process_stratum_target::supports_disable_randomization): ... this. - (process_target::supports_qxfer_libraries_svr4): Rename as ... - (process_stratum_target::supports_qxfer_libraries_svr4): ... this. - (process_target::qxfer_libraries_svr4): Rename as ... - (process_stratum_target::qxfer_libraries_svr4): ... this. - (process_target::supports_agent): Rename as ... - (process_stratum_target::supports_agent): ... this. - (process_target::enable_btrace): Rename as ... - (process_stratum_target::enable_btrace): ... this. - (process_target::disable_btrace): Rename as ... - (process_stratum_target::disable_btrace): ... this. - (process_target::read_btrace): Rename as ... - (process_stratum_target::read_btrace): ... this. - (process_target::read_btrace_conf): Rename as ... - (process_stratum_target::read_btrace_conf): ... this. - (process_target::supports_range_stepping): Rename as ... - (process_stratum_target::supports_range_stepping): ... this. - (process_target::supports_pid_to_exec_file): Rename as ... - (process_stratum_target::supports_pid_to_exec_file): ... this. - (process_target::pid_to_exec_file): Rename as ... - (process_stratum_target::pid_to_exec_file): ... this. - (process_target::supports_multifs): Rename as ... - (process_stratum_target::supports_multifs): ... this. - (process_target::multifs_open): Rename as ... - (process_stratum_target::multifs_open): ... this. - (process_target::multifs_unlink): Rename as ... - (process_stratum_target::multifs_unlink): ... this. - (process_target::multifs_readlink): Rename as ... - (process_stratum_target::multifs_readlink): ... this. - (process_target::breakpoint_kind_from_pc): Rename as ... - (process_stratum_target::breakpoint_kind_from_pc): ... this. - (process_target::breakpoint_kind_from_current_state): Rename as ... - (process_stratum_target::breakpoint_kind_from_current_state): ... this. - (process_target::thread_name): Rename as ... - (process_stratum_target::thread_name): ... this. - (process_target::thread_handle): Rename as ... - (process_stratum_target::thread_handle): ... this. - (process_target::supports_software_single_step): Rename as ... - (process_stratum_target::supports_software_single_step): ... this. - (process_target::supports_catch_syscall): Rename as ... - (process_stratum_target::supports_catch_syscall): ... this. - (process_target::get_ipa_tdesc_idx): Rename as ... - (process_stratum_target::get_ipa_tdesc_idx): ... this. - -2020-02-20 Pedro Alves - - * target.cc (set_target_ops): Simply copy the given target pointer - instead of creating a copy of the pointed object. - -2020-02-20 Tankut Baris Aktemur - - Turn process_stratum_target's get_ipa_tdesc_idx op into a method - of process_target. - - * target.h (struct process_stratum_target): Remove the target op. - (class process_target): Add the target op. - (target_get_ipa_tdesc_idx): Update the macro. - * target.cc (process_target::get_ipa_tdesc_idx): Define. - - Update the derived classes and callers below. - - * linux-low.cc (linux_target_ops): Update. - (linux_get_ipa_tdesc_idx): Turn into ... - (linux_process_target::get_ipa_tdesc_idx): ... this. - * linux-low.h (class linux_process_target): Update. - * lynx-low.cc (lynx_target_ops): Update. - * nto-low.cc (nto_target_ops): Update. - * win32-low.cc (win32_target_ops): Update. - -2020-02-20 Tankut Baris Aktemur - - Turn process_stratum_target's supports_catch_syscall op into a - method of process_target. - - * target.h (struct process_stratum_target): Remove the target op. - (class process_target): Add the target op. - (target_supports_catch_syscall): Update the macro. - * target.cc (process_target::supports_catch_syscall): Define. - - Update the derived classes and callers below. - - * linux-low.cc (linux_target_ops): Update. - (linux_supports_catch_syscall): Turn into ... - (linux_process_target::supports_catch_syscall): ... this. - * linux-low.h (class linux_process_target): Update. - * lynx-low.cc (lynx_target_ops): Update. - * nto-low.cc (nto_target_ops): Update. - * win32-low.cc (win32_target_ops): Update. - -2020-02-20 Tankut Baris Aktemur - - Turn process_stratum_target's supports_software_single_step op - into a method of process_target. - - * target.h (struct process_stratum_target): Remove the target op. - (class process_target): Add the target op. - (target_supports_software_single_step): Update the macro. - * target.cc (process_target::supports_software_single_step): Define. - - Update the derived classes and callers below. - - * linux-low.cc (linux_target_ops): Update. - (linux_supports_software_single_step): Turn into ... - (linux_process_target::supports_software_single_step): ... this. - * linux-low.h (class linux_process_target): Update. - * lynx-low.cc (lynx_target_ops): Update. - * nto-low.cc (nto_target_ops): Update. - * win32-low.cc (win32_target_ops): Update. - -2020-02-20 Tankut Baris Aktemur - - Turn process_stratum_target's thread_name and thread_handle ops - into methods of process_target. - - * target.h (struct process_stratum_target): Remove the target ops. - (class process_target): Add the target ops. - (target_thread_name): Update the macro. - (target_thread_handle): Update the macro. - * target.cc (process_target::thread_name): Define. - (process_target::thread_handle): Define. - - Update the derived classes and callers below. - - * linux-low.cc (linux_target_ops): Update. - (linux_process_target::thread_name): Define. - (linux_process_target::thread_handle): Define. - * linux-low.h (class linux_process_target): Update. - * lynx-low.cc (lynx_target_ops): Update. - * nto-low.cc (nto_target_ops): Update. - * win32-low.cc (win32_target_ops): Update. - -2020-02-20 Tankut Baris Aktemur - - Turn process_stratum_target's breakpoint_kind_from_pc, - sw_breakpoint_from_kind, and breakpoint_kind_from_current_state - ops into methods of process_target. - - * target.h (struct process_stratum_target): Remove the target op. - (class process_target): Add the target op. - (target_breakpoint_kind_from_pc): Update the macro. - (target_breakpoint_kind_from_current_state): Update the macro. - (default_breakpoint_kind_from_pc): Remove declaration. - * target.cc (default_breakpoint_kind_from_pc): Turn into ... - (process_target::breakpoint_kind_from_pc): ... this. - (process_target::breakpoint_kind_from_current_state): Define. - - Update the derived classes and callers below. - - * mem-break.cc (bp_size): Update. - (bp_opcode): Update. - * linux-low.cc (linux_target_ops): Update. - (linux_wait_1): Update. - (linux_breakpoint_kind_from_pc): Turn into ... - (linux_process_target::breakpoint_kind_from_pc): ... this. - (linux_sw_breakpoint_from_kind): Turn into ... - (linux_process_target::sw_breakpoint_from_kind): ... this. - (linux_breakpoint_kind_from_current_state): Turn into ... - (linux_process_target::breakpoint_kind_from_current_state): ... this. - * linux-low.h (class linux_process_target): Update. - * lynx-low.cc (lynx_target_ops): Update. - (lynx_process_target::sw_breakpoint_from_kind): Define. - * lynx-low.h (class lynx_process_target): Update. - * nto-low.cc (nto_target_ops): Update. - (nto_sw_breakpoint_from_kind): Turn into ... - (nto_process_target::sw_breakpoint_from_kind): ... this. - * nto-low.h (class nto_process_target): Update. - * win32-low.cc (win32_target_ops): Update. - (win32_sw_breakpoint_from_kind): Turn into ... - (win32_process_target::sw_breakpoint_from_kind): ... this. - * win32-low.h (class win32_process_target): Update. - -2020-02-20 Tankut Baris Aktemur - - Turn process_stratum_target's multifs_open, multifs_readlink, - multifs_unlink ops into methods of process_target. - - * target.h (struct process_stratum_target): Remove the target ops. - (class process_target): Add the target ops. Also add - 'supports_multifs'. - * target.cc: Include "fcntl.h", "unistd.h", "sys/types.h", and - "sys/stat.h". - (process_target::supports_multifs): Define. - (process_target::multifs_open): Define. - (process_target::multifs_readlink): Define. - (process_target::multifs_unlink): Define. - - Update the derived classes and callers below. - - * hostio.cc (handle_setfs): Update. - (handle_open): Update. - (handle_unlink): Update. - (handle_readlink): Update. - * linux-low.cc (linux_target_ops): Update. - (linux_process_target::supports_multifs): Define. - (linux_process_target::multifs_open): Define. - (linux_process_target::multifs_readlink): Define. - (linux_process_target::multifs_unlink): Define. - * linux-low.h (class linux_process_target): Update. - * lynx-low.cc (lynx_target_ops): Update. - * nto-low.cc (nto_target_ops): Update. - * win32-low.cc (win32_target_ops): Update. - -2020-02-20 Tankut Baris Aktemur - - Turn process_stratum_target's pid_to_exec_file op into a method - of process_target. - - * target.h (struct process_stratum_target): Remove the target op. - (class process_target): Add the target op. Also add - 'supports_pid_to_exec_file'. - * target.cc (process_target::pid_to_exec_file): Define. - (process_target::supports_pid_to_exec_file): Define. - - Update the derived classes and callers below. - - * server.cc (handle_qxfer_exec_file): Update. - (handle_query): Update. - * linux-low.cc (linux_target_ops): Update. - (linux_process_target::supports_pid_to_exec_file): Define. - (linux_process_target::pid_to_exec_file): Define. - * linux-low.h (class linux_process_target): Update. - * lynx-low.cc (lynx_target_ops): Update. - * nto-low.cc (nto_target_ops): Update. - * win32-low.cc (win32_target_ops): Update. - -2020-02-20 Tankut Baris Aktemur - - Turn process_stratum_target's supports_range_stepping op into a - method of process_target. - - * target.h (struct process_stratum_target): Remove the target op. - (class process_target): Add the target op. - (target_supports_range_stepping): Update the macro. - * target.cc (process_target::supports_range_stepping): Define. - - Update the derived classes and callers below. - - * linux-low.cc (linux_target_ops): Update. - (linux_supports_range_stepping): Turn into ... - (linux_process_target::supports_range_stepping): ... this. - * linux-low.h (class linux_process_target): Update. - * lynx-low.cc (lynx_target_ops): Update. - * nto-low.cc (nto_target_ops): Update. - * win32-low.cc (win32_target_ops): Update. - -2020-02-20 Tankut Baris Aktemur - - Turn process_stratum_target's btrace-related ops (enable_btrace, - disable_btrace, read_btrace, read_btrace_conf) into methods of - process_target. - - * target.h (struct process_stratum_target): Remove the target ops. - (class process_target): Add the target ops. - (target_enable_btrace): Update. - (target_disable_btrace): Update. - (target_read_btrace): Update. - (target_read_btrace_conf): Update. - * target.cc (process_target::enable_btrace): Define. - (process_target::disable_btrace): Define. - (process_target::read_btrace): Define. - (process_target::read_btrace_conf): Define. - - Update the derived classes and callers below. - - * linux-low.cc (linux_target_ops): Update. - (linux_process_target:enable_btrace): Define as a wrapper around - linux_enable_btrace. - (linux_low_disable_btrace): Turn into ... - (linux_process_target::disable_btrace): ... this. - (linux_low_read_btrace): Turn into ... - (linux_process_target::read_btrace): ... this. - (linux_low_btrace_conf): Turn into ... - (linux_process_target::read_btrace_conf): ... this. - * linux-low.h (class linux_process_target): Update. - * lynx-low.cc (lynx_target_ops): Update. - * nto-low.cc (nto_target_ops): Update. - * win32-low.cc (win32_target_ops): Update. - -2020-02-20 Tankut Baris Aktemur - - Turn process_stratum_target's supports_agent op into a method of - process_target. - - * target.h (struct process_stratum_target): Remove the target op. - (class process_target): Add the target op. - (target_supports_agent): Update the macro. - * target.cc (process_target::supports_agent): Define. - - Update the derived classes and callers below. - - * linux-low.cc (linux_target_ops): Update. - (linux_supports_agent): Turn into ... - (linux_process_target::supports_agent): ... this. - * linux-low.h (class linux_process_target): Update. - * lynx-low.cc (lynx_target_ops): Update. - * nto-low.cc (nto_target_ops): Update. - * win32-low.cc (win32_target_ops): Update. - -2020-02-20 Tankut Baris Aktemur - - Turn process_stratum_target's qxfer_libraries_svr4 op into a - method of process_target. - - * target.h (struct process_stratum_target): Remove the target op. - (class process_target): Add the target op. Also add - 'supports_qxfer_libraries_svr4'. - * target.cc (process_target::qxfer_libraries_svr4): Define. - (process_target::supports_qxfer_libraries_svr4): Define. - - Update the derived classes and callers below. - - * server.cc (handle_qxfer_libraries_svr4): Update. - (handle_query): Update. - * linux-low.cc (linux_target_ops): Update. - (linux_process_target::supports_qxfer_libraries_svr4): Define. - (linux_qxfer_libraries_svr4): Turn into ... - (linux_process_target::qxfer_libraries_svr4): ... this. - * linux-low.h (class linux_process_target): Update. - * lynx-low.cc (lynx_target_ops): Update. - * nto-low.cc (nto_target_ops): Update. - * win32-low.cc (win32_target_ops): Update. - -2020-02-20 Tankut Baris Aktemur - - Turn process_stratum_target's supports_disable_randomization op - into a method of process_target. - - * target.h (struct process_stratum_target): Remove the target op. - (class process_target): Add the target op. - (target_supports_disable_randomization): Update the macro. - * target.cc (process_target::supports_disable_randomization): Define. - - Update the derived classes and callers below. - - * linux-low.cc (linux_target_ops): Update. - (linux_supports_disable_randomization): Turn into ... - (linux_process_target::supports_disable_randomization): ... this. - * linux-low.h (class linux_process_target): Update. - * lynx-low.cc (lynx_target_ops): Update. - * nto-low.cc (nto_target_ops): Update. - * win32-low.cc (win32_target_ops): Update. - -2020-02-20 Tankut Baris Aktemur - - Turn process_stratum_target's emit_ops op into a method of - process_target. - - * target.h (struct process_stratum_target): Remove the target op. - (class process_target): Add the target op. - (target_emit_ops): Update the macro. - * target.cc (process_target::emit_ops): Define. - - Update the derived classes and callers below. - - * linux-low.cc (linux_target_ops): Update. - (linux_emit_ops): Turn into ... - (linux_process_target::emit_ops): ... this. - * linux-low.h (class linux_process_target): Update. - * lynx-low.cc (lynx_target_ops): Update. - * nto-low.cc (nto_target_ops): Update. - * win32-low.cc (win32_target_ops): Update. - -2020-02-20 Tankut Baris Aktemur - - Turn process_stratum_target's install_fast_tracepoint_jump_pad - and get_min_fast_tracepoint_insn_len ops into methods of - process_target. - - * target.h (struct process_stratum_target): Remove the target ops. - (class process_target): Add the target ops. Also add - 'supports_fast_tracepoints'. - (target_supports_fast_tracepoints): Update the macro. - (target_get_min_fast_tracepoint_insn_len): Update the macro. - (install_fast_tracepoint_jump_pad): Update and rename the macro - to ... - (target_install_fast_tracepoint_jump_pad): ... this. - * target.cc (process_target::supports_fast_tracepoints): Define. - (process_target::install_fast_tracepoint_jump_pad): Define. - (process_target::get_min_fast_tracepoint_insn_len): Define. - - Update the derived classes and callers below. - - * tracepoint.cc (install_fast_tracepoint): Update. - * linux-low.cc (linux_target_ops): Update. - (linux_process_target::supports_fast_tracepoints): Define. - (linux_install_fast_tracepoint_jump_pad): Turn into ... - (linux_process_target::install_fast_tracepoint_jump_pad): ... this. - (linux_get_min_fast_tracepoint_insn_len): Turn into ... - (linux_process_target::get_min_fast_tracepoint_insn_len): ... this. - * linux-low.h (class linux_process_target): Update. - * lynx-low.cc (lynx_target_ops): Update. - * nto-low.cc (nto_target_ops): Update. - * win32-low.cc (win32_target_ops): Update. - -2020-02-20 Tankut Baris Aktemur - - Turn process_stratum_target's stabilize_threads op into a - method of process_target. - - * target.h (struct process_stratum_target): Remove the target op. - (class process_target): Add the target op. - (target_stabilize_threads): Update the macro. - * target.cc (process_target::stabilize_threads): Define. - - Update the derived classes and callers below. - - * server.cc (handle_status): Update. - * tracepoint.cc (cmd_qtdp): Update. - (cmd_qtstart): Update. - * linux-low.cc (linux_target_ops): Update. - (linux_stabilize_threads): Turn into ... - (linux_process_target::stabilize_threads): ... this. - (linux_wait_1): Update. - * linux-low.h (class linux_process_target): Update. - * lynx-low.cc (lynx_target_ops): Update. - * nto-low.cc (nto_target_ops): Update. - * win32-low.cc (win32_target_ops): Update. - -2020-02-20 Tankut Baris Aktemur - - Turn process_stratum_target's pause_all and unpause_all ops - into methods of process_target. - - * target.h (struct process_stratum_target): Remove the target ops. - (class process_target): Add the target ops. - (pause_all): Update the macro and rename to... - (target_pause_all): ... this. - (unpause_all): Update the macro and rename to... - (target_unpause_all): ... this. - * target.cc (process_target::pause_all): Define. - (process_target::unpause_all): Define. - - Update the derived classes and callers below. - - * server.cc (handle_status): Update. - * tracepoint.cc (clear_installed_tracepoints): Update. - (cmd_qtdp): Update. - (cmd_qtstart): Update. - (stop_tracing): Update. - (cmd_qtstatus): Update. - (upload_fast_traceframes): Update. - (run_inferior_command): Update. - * linux-low.cc (linux_target_ops): Update. - (linux_pause_all): Turn into ... - (linux_process_target::pause_all): ... this. - (linux_unpause_all): Turn into ... - (linux_process_target::unpause_all): ... this. - (linux_process_target::prepare_to_access_memory): Update. - (linux_process_target::done_accessing_memory): Update. - * linux-low.h (class linux_process_target): Update. - * lynx-low.cc (lynx_target_ops): Update. - * nto-low.cc (nto_target_ops): Update. - * win32-low.cc (win32_target_ops): Update. - -2020-02-20 Tankut Baris Aktemur - - Turn process_stratum_target's get_tib_address op into a method of - process_target. - - * target.h (struct process_stratum_target): Remove the target op. - (class process_target): Add the target op. Also add - 'supports_get_tib_address'. - * target.cc (process_target::get_tib_address): Define. - (process_target::supports_get_tib_address): Define. - - Update the derived classes and callers below. - - * server.cc (handle_query): Update. - * linux-low.cc (win32_target_ops): Update. - * lynx-low.cc (lynx_target_ops): Update. - * nto-low.cc (nto_target_ops): Update. - * win32-low.cc (win32_target_ops): Update. - (win32_process_target::supports_get_tib_address): Define. - (win32_get_tib_address): Turn into ... - (win32_process_target::get_tib_address): ... this. - * win32-low.h (class win32_process_target): Update. - -2020-02-20 Tankut Baris Aktemur - - Turn process_stratum_target's thread_stopped op into a method of - process_target. - - * target.h (struct process_stratum_target): Remove the target op. - (class process_target): Add the target op. Also add - 'supports_thread_stopped'. - (target_thread_stopped): Update the macro. - * target.cc (process_target::thread_stopped): Define. - (process_target::supports_thread_stopped): Define. - (prepare_to_access_memory): Update. - - Update the derived classes and callers below. - - * server.cc (queue_stop_reply_callback): Update. - * linux-low.cc (linux_target_ops): Update. - (linux_process_target::supports_thread_stopped): Define. - (linux_thread_stopped): Turn into ... - (linux_process_target::thread_stopped): ... this. - * linux-low.h (class linux_process_target): Update. - * lynx-low.cc (lynx_target_ops): Update. - * nto-low.cc (nto_target_ops): Update. - * win32-low.cc (win32_target_ops): Update. - -2020-02-20 Tankut Baris Aktemur - - Turn process_stratum_target's read_pc and write_pc ops into - methods of process_target. - - * target.h (struct process_stratum_target): Remove the target ops. - (class process_target): Add the target ops. - * target.cc (process_target::read_pc): Define. - (process_target::write_pc): Define. - - Update the derived classes and callers below. - - * regcache.cc (regcache_read_pc): Update. - (regcache_write_pc): Update. - * linux-low.cc (linux_target_ops): Update. - (linux_read_pc): Turn into ... - (linux_process_target::read_pc): ... this. - (linux_write_pc): Turn into ... - (linux_process_target::write_pc): ... this. - * linux-low.h (class linux_process_target): Update. - * lynx-low.cc (lynx_target_ops): Update. - * nto-low.cc (nto_target_ops): Update. - * win32-low.cc (win32_target_ops): Update. - -2020-02-20 Tankut Baris Aktemur - - Turn process_stratum_target's supports_tracepoints op into a - method of process_target. - - * target.h (struct process_stratum_target): Remove the target op. - (class process_target): Add the target op. - (target_supports_tracepoints): Update the macro. - * target.cc (process_target::supports_tracepoints): Define. - - Update the derived classes and callers below. - - * linux-low.cc (linux_target_ops): Update. - (linux_supports_tracepoints): Turn into ... - (linux_process_target::supports_tracepoints): ... this. - * linux-low.h (class linux_process_target): Update. - * lynx-low.cc (lynx_target_ops): Update. - * nto-low.cc (nto_target_ops): Update. - * win32-low.cc (win32_target_ops): Update. - -2020-02-20 Tankut Baris Aktemur - - Turn process_stratum_target's process_qsupported op into a method - of process_target. - - * target.h (struct process_stratum_target): Remove the target op. - (class process_target): Add the target op. - (target_process_qsupported): Update the macro. - * target.cc (process_target::process_qsupported): Define. - - Update the derived classes and callers below. - - * linux-low.cc (linux_target_ops): Update. - (linux_process_qsupported): Turn into ... - (linux_process_target::process_qsupported): ... this. - * linux-low.h (class linux_process_target): Update. - * lynx-low.cc (lynx_target_ops): Update. - * nto-low.cc (nto_target_ops): Update. - * win32-low.cc (win32_target_ops): Update. - -2020-02-20 Tankut Baris Aktemur - - Turn process_stratum_target's read_loadmap op into a method of - process_target. - - * target.h (struct process_stratum_target): Remove the target op. - (class process_target): Add the target op. Also add - 'supports_read_loadmap'. - * target.cc (process_target::read_loadmap): Define. - (process_target::supports_read_loadmap): Define. - - Update the derived classes and callers below. - - * server.cc (handle_qxfer_fdpic): Update. - (handle_query): Update. - * linux-low.cc (linux_target_ops): Update. - (linux_process_target::supports_read_loadmap): Define. - (linux_read_loadmap): Turn into ... - (linux_process_target::read_loadmap): ... this. - * linux-low.h (class linux_process_target): Update. - * lynx-low.cc (lynx_target_ops): Update. - * nto-low.cc (nto_target_ops): Update. - * win32-low.cc (win32_target_ops): Update. - -2020-02-20 Tankut Baris Aktemur - - Turn process_stratum_target's core_of_thread op into a method of - process_target. - - * target.h (struct process_stratum_target): Remove the target op. - (class process_target): Add the target op. - (target_core_of_thread): Update the macro. - * target.cc (process_target::core_of_thread): Define. - - Update the derived classes and callers below. - - * linux-low.cc (linux_target_ops): Update. - (linux_process_target::core_of_thread): Define. - * linux-low.h (class linux_process_target): Update. - * lynx-low.cc (lynx_target_ops): Update. - * nto-low.cc (nto_target_ops): Update. - * win32-low.cc (win32_target_ops): Update. - -2020-02-20 Tankut Baris Aktemur - - Turn process_stratum_target's handle_monitor_command op into a - method of process_target. - - * target.h (struct process_stratum_target): Remove the target op. - (class process_target): Add the target op. - (target_handle_monitor_command): Update the macro. - * target.cc (process_target::handle_monitor_command): Define. - - Update the derived classes and callers below. - - * server.cc (handle_query): Update. - * linux-low.cc (linux_target_ops): Update. - (linux_process_target::handle_monitor_command): Define. - * linux-low.h (class linux_process_target): Update. - * lynx-low.cc (lynx_target_ops): Update. - * nto-low.cc (nto_target_ops): Update. - * win32-low.cc (win32_target_ops): Update. - -2020-02-20 Tankut Baris Aktemur - - Turn process_stratum_target's handle_new_gdb_connection op into a - method of process_target. - - * target.h (struct process_stratum_target): Remove the target op. - (class process_target): Add the target op. - (target_handle_new_gdb_connection): Update the macro. - * target.cc (process_target::handle_new_gdb_connection): Define. - - Update the derived classes and callers below. - - * linux-low.cc (linux_target_ops): Update. - (linux_handle_new_gdb_connection): Turn into ... - (linux_process_target::handle_new_gdb_connection): ... this. - * linux-low.h (class linux_process_target): Update. - * lynx-low.cc (lynx_target_ops): Update. - * nto-low.cc (nto_target_ops): Update. - * win32-low.cc (win32_target_ops): Update. - -2020-02-20 Tankut Baris Aktemur - - Turn process_stratum_target's supports_fork_events, - supports_vfork_events, and supports_exec_events ops into methods - of process_target. - - * target.h (struct process_stratum_target): Remove the target ops. - (class process_target): Add the target ops. - (target_supports_fork_events): Update the macro. - (target_supports_vfork_events): Update the macro. - (target_supports_exec_events): Update the macro. - * target.cc (process_target::supports_fork_events): Define. - (process_target::supports_vfork_events): Define. - (process_target::supports_exec_events): Define. - - Update the derived classes and callers below. - - * linux-low.cc (linux_target_ops): Update. - (linux_supports_fork_events): Turn into ... - (linux_process_target::supports_fork_events): ... this. - (linux_supports_vfork_events): Turn into ... - (linux_process_target::supports_vfork_events): ... this. - (linux_supports_exec_events): Turn into ... - (linux_process_target::supports_exec_events): ... this. - * linux-low.h (class linux_process_target): Update. - * lynx-low.cc (lynx_target_ops): Update. - * nto-low.cc (nto_target_ops): Update. - * win32-low.cc (win32_target_ops): Update. - -2020-02-20 Tankut Baris Aktemur - - Turn process_stratum_target's supports_multi_process op into a - method of process_target. - - * target.h (struct process_stratum_target): Remove the target op. - (class process_target): Add the target op. - * target.cc (process_target::supports_multi_process): Define. - (target_supports_multi_process): Update. - - Update the derived classes and callers below. - - * linux-low.cc (linux_target_ops): Update. - (linux_supports_multi_process): Turn into ... - (linux_process_target::supports_multi_process): ... this. - * linux-low.h (class linux_process_target): Update. - * lynx-low.cc (lynx_target_ops): Update. - * nto-low.cc (nto_target_ops): Update. - * win32-low.cc (win32_target_ops): Update. - -2020-02-20 Tankut Baris Aktemur - - Turn process_stratum_target's supports_non_stop, async, and - start_non_stop ops into methods of process_target. - - * target.h (struct process_stratum_target): Remove the target ops. - (class process_target): Add the target ops. - (target_supports_non_stop): Update the macro. - (target_async): Update the macro. - (start_non_stop): Remove declaration. - * target.cc (process_target::supports_non_stop): Define. - (process_target::async): Define. - (process_target::start_non_stop): Define. - (start_non_stop): Remove. - - Update the derived classes and callers below. - - * server.cc (handle_qxfer_siginfo): Update. - (handle_query): Update. - * linux-low.cc (linux_target_ops): Update. - (linux_supports_non_stop): Turn into ... - (linux_process_target::supports_non_stop): ... this. - (linux_async): Turn into ... - (linux_process_target::async): ... this. - (linux_start_non_stop): Turn into ... - (linux_process_target::start_non_stop): ... this. - * linux-low.h (class linux_process_target): Update. - * lynx-low.cc (lynx_target_ops): Update. - * nto-low.cc (nto_target_ops): Update. - (nto_supports_non_stop): Remove; rely on the default behavior - instead. - * win32-low.cc (win32_target_ops): Update. - -2020-02-20 Tankut Baris Aktemur - - Turn process_stratum_target's qxfer_siginfo op into a method of - process_target. - - * target.h (struct process_stratum_target): Remove the target op. - (class process_target): Add the target op. Also add - 'supports_qxfer_siginfo'. - * target.cc (process_target::qxfer_siginfo): Define. - (process_target::supports_qxfer_siginfo): Define. - - Update the derived classes and callers below. - - * server.cc (handle_qxfer_siginfo): Update. - (handle_query): Update. - * linux-low.cc (linux_target_ops): Update. - (linux_process_target::supports_qxfer_siginfo): Define. - (linux_xfer_siginfo): Turn into ... - (linux_process_target::qxfer_siginfo): ... this. - * linux-low.h (class linux_process_target): Update. - * lynx-low.cc (lynx_target_ops): Update. - * nto-low.cc (nto_target_ops): Update. - * win32-low.cc (win32_target_ops): Update. - -2020-02-20 Tankut Baris Aktemur - - Turn process_stratum_target's qxfer_osdata op into a method of - process_target. - - * target.h (struct process_stratum_target): Remove the target op. - (class process_target): Add the target op. Also add - 'supports_qxfer_osdata'. - * target.cc (process_target::qxfer_osdata): Define. - (process_target::supports_qxfer_osdata): Define. - - Update the derived classes and callers below. - - * server.cc (handle_qxfer_osdata): Update. - (handle_query): Update. - * linux-low.cc (linux_target_ops): Update. - (linux_process_target::supports_qxfer_osdata): Define. - (linux_qxfer_osdata): Turn into ... - (linux_process_target::qxfer_osdata): ... this. - * linux-low.h (class linux_process_target): Update. - * lynx-low.cc (lynx_target_ops): Update. - * nto-low.cc (nto_target_ops): Update. - * win32-low.cc (win32_target_ops): Update. - -2020-02-20 Tankut Baris Aktemur - - Turn process_stratum_target's hostio_last_error op into a - method of process_target. - - * target.h (struct process_stratum_target): Remove the target op. - (class process_target): Add the target op. - * target.cc: Add "hostio.h" to includes. - (process_target::hostio_last_error): Define. - - Update the derived classes and callers below. - - * hostio.cc (hostio_error): Update. - * linux-low.cc: Remove "hostio.h" from includes. - (linux_target_ops): Update. - * lynx-low.cc (lynx_target_ops): Update. - * nto-low.cc (nto_target_ops): Update. - * win32-low.h (class win32_process_target): Update. - * win32-low.cc (win32_target_ops): Update. - (wince_hostio_last_error): Turn into ... - (win32_process_target::hostio_last_error): ... this. - -2020-02-20 Tankut Baris Aktemur - - Turn process_stratum_target's get_tls_address op into a method of - process_target. - - * target.h (struct process_stratum_target): Remove the target op. - (class process_target): Add the target op. Also add - 'supports_get_tls_address'. - * target.cc (process_target::get_tls_address): Define. - (process_target::supports_get_tls_address): Define. - - Update the derived classes and callers below. - - * server.cc (handle_query): Update. - * linux-low.cc (linux_target_ops): Update. - (linux_process_target::supports_get_tls_address): Define. - (linux_process_target::get_tls_address): Define. - * linux-low.h (class linux_process_target): Update. - * lynx-low.cc (lynx_target_ops): Update. - * nto-low.cc (nto_target_ops): Update. - * win32-low.cc (win32_target_ops): Update. - -2020-02-20 Tankut Baris Aktemur - - Turn process_stratum_target's read_offsets op into a method of - process_target. - - * target.h (struct process_stratum_target): Remove the target op. - (class process_target): Add the target op. Also add - 'supports_read_offsets'. - * target.cc (process_target::read_offsets): Define. - (process_target::supports_read_offsets): Define. - - Update the derived classes and callers below. - - * server.cc (handle_query): Update. - * linux-low.cc (SUPPORTS_READ_OFFSETS): New #define directive. - (linux_target_ops): Update. - (linux_process_target::supports_read_offsets): Define. - (linux_read_offsets): Turn into ... - (linux_process_target::read_offsets): ... this. - * linux-low.h (class linux_process_target): Update. - * lynx-low.cc (lynx_target_ops): Update. - * nto-low.cc (nto_target_ops): Update. - * win32-low.cc (win32_target_ops): Update. - -2020-02-20 Tankut Baris Aktemur - - Turn process_stratum_target's stopped_by_watchpoint and - stopped_data_address ops into methods of process_target. - - * target.h (struct process_stratum_target): Remove the target ops. - (class process_target): Add the target ops. - * target.cc (process_target::stopped_by_watchpoint): Define. - (process_target::stopped_data_address): Define. - - Update the derived classes and callers below. - - * remote-utils.cc (prepare_resume_reply): Update. - * linux-low.cc (linux_target_ops): Update. - (linux_stopped_by_watchpoint): Turn into ... - (linux_process_target::stopped_by_watchpoint): ... this. - (linux_stopped_data_address): Turn into ... - (linux_process_target::stopped_data_address): ... this. - * linux-low.h (class linux_process_target): Update. - * lynx-low.cc (lynx_target_ops): Update. - * nto-low.cc (nto_target_ops): Update. - (nto_stopped_by_watchpoint): Turn into ... - (nto_process_target::stopped_by_watchpoint): ... this. - (nto_stopped_data_address): Turn into ... - (nto_process_target::stopped_data_address): ... this. - * nto-low.h (class nto_process_target): Update. - * win32-low.cc (win32_target_ops): Update. - (win32_stopped_by_watchpoint): Turn into ... - (win32_process_target::stopped_by_watchpoint): ... this. - (win32_stopped_data_address): Turn into ... - (win32_process_target::stopped_data_address): ... this. - * win32-low.h (class win32_process_target): Update. - -2020-02-20 Tankut Baris Aktemur - - Turn process_stratum_target's supports_hardware_single_step op into - a method of process_target. - - * target.h (struct process_stratum_target): Remove the target op. - (class process_target): Add the target op. - (target_supports_hardware_single_step): Update the macro. - (target_can_do_hardware_single_step): Remove declaration. - * target.cc (process_target::supports_hardware_single_step): Define. - (target_can_do_hardware_single_step): Remove. - - Update the derived classes and callers below. - - * linux-low.h (class linux_process_target): Update. - * linux-low.cc (linux_target_ops): Update. - (linux_supports_hardware_single_step): Turn into ... - (linux_process_target::supports_hardware_single_step): ... this. - * lynx-low.h (class lynx_process_target): Update. - * lynx-low.cc (lynx_target_ops): Update. - (lynx_process_target::supports_hardware_single_step): Define. - * nto-low.h (class nto_process_target): Update. - * nto-low.cc (nto_target_ops): Update. - (nto_process_target::supports_hardware_single_step): Define. - * win32-low.h (class win32_process_target): Update. - * win32-low.cc (win32_target_ops): Update. - (win32_process_target::supports_hardware_single_step): Define. - -2020-02-20 Tankut Baris Aktemur - - Turn process_stratum_target's {supports_}stopped_by_hw_breakpoint - ops into methods of process_target. - - * target.h (struct process_stratum_target): Remove the target ops. - (class process_target): Add the target ops. - (target_stopped_by_hw_breakpoint): Update the macro. - (target_supports_stopped_by_hw_breakpoint): Update the macro. - * target.cc (process_target::stopped_by_hw_breakpoint): Define. - (process_target::supports_stopped_by_hw_breakpoint): Define. - - Update the derived classes and callers below. - - * linux-low.cc (linux_target_ops): Update. - (linux_stopped_by_hw_breakpoint): Turn into ... - (linux_process_target::stopped_by_hw_breakpoint): ... this. - (linux_supports_stopped_by_hw_breakpoint): Turn into ... - (linux_process_target::supports_stopped_by_hw_breakpoint): ... this. - * linux-low.h (class linux_process_target): Update. - * lynx-low.cc (lynx_target_ops): Update. - * nto-low.cc (nto_target_ops): Update. - * win32-low.cc (win32_target_ops): Update. - -2020-02-20 Tankut Baris Aktemur - - Turn process_stratum_target's {supports_}stopped_by_sw_breakpoint - ops into methods of process_target. - - * target.h (struct process_stratum_target): Remove the target ops. - (class process_target): Add the target ops. - (target_stopped_by_sw_breakpoint): Update the macro. - (target_supports_stopped_by_sw_breakpoint): Update the macro. - * target.cc (process_target::stopped_by_sw_breakpoint): Define. - (process_target::supports_stopped_by_sw_breakpoint): Define. - - Update the derived classes and callers below. - - * linux-low.cc (linux_target_ops): Update. - (linux_stopped_by_sw_breakpoint): Turn into ... - (linux_process_target::stopped_by_sw_breakpoint): ... this. - (linux_supports_stopped_by_sw_breakpoint): Turn into ... - (linux_process_target::supports_stopped_by_sw_breakpoint): ... this. - * linux-low.h (class linux_process_target): Update. - * lynx-low.cc (lynx_target_ops): Update. - * nto-low.cc (nto_target_ops): Update. - * win32-low.cc (win32_target_ops): Update. - -2020-02-20 Tankut Baris Aktemur - - Turn process_stratum_target's insert_point and remove_point ops - into methods of process_target. - - * target.h (struct process_stratum_target): Remove the target ops. - (class process_target): Add the target ops. - * target.cc (process_target::insert_point): Define. - (process_target::remove_point): Define. - - Update the derived classes and callers below. - - * mem-break.cc (set_raw_breakpoint_at): Update. - (delete_raw_breakpoint): Update. - (uninsert_raw_breakpoint): Update. - (reinsert_raw_breakpoint): Update. - * linux-low.cc (linux_target_ops): Update. - (linux_insert_point): Turn into ... - (linux_process_target::insert_point): ... this. - (linux_remove_point): Turn into ... - (linux_process_target::remove_point): ... this. - * linux-low.h (class linux_process_target): Update. - * lynx-low.cc (lynx_target_ops): Update. - * nto-low.cc (nto_target_ops): Update. - (nto_insert_point): Turn into ... - (nto_process_target::insert_point): ... this. - (nto_remove_point): Turn into ... - (nto_process_target::remove_point): ... this. - * nto-low.h (class nto_process_target): Update. - * win32-low.cc (win32_target_ops): Update. - (win32_insert_point): Turn into ... - (win32_process_target::insert_point): ... this. - (win32_remove_point): Turn into ... - (win32_process_target::remove_point): ... this. - * win32-low.h (class win32_process_target): Update. - -2020-02-20 Tankut Baris Aktemur - - Turn process_stratum_target's supports_z_point_type op into a - method of process_target. - - * target.h (struct process_stratum_target): Remove the target op. - (class process_target): Add the target op. - * target.cc (process_target::supports_z_point_type): Define. - - Update the derived classes and callers below. - - * mem-break.cc (z_type_supported): Update. - * linux-low.cc (linux_target_ops): Update. - (linux_supports_z_point_type): Turn into ... - (linux_process_target::supports_z_point_type): ... this. - * linux-low.h (class linux_process_target): Update. - * lynx-low.cc (lynx_target_ops): Update. - * nto-low.cc (nto_target_ops): Update. - (nto_supports_z_point_type): Turn into ... - (nto_process_target::supports_z_point_type): ... this. - * nto-low.h (class nto_process_target): Update. - * win32-low.cc (win32_target_ops): Update. - (win32_supports_z_point_type): Turn into ... - (win32_process_target::supports_z_point_type): ... this. - * win32-low.h (class win32_process_target): Update. - -2020-02-20 Tankut Baris Aktemur - - Turn process_stratum_target's read_auxv op into a method of - process_target. - - * target.h (class process_stratum_target): Remove the target op. - (struct process_target): Add the target op. Also add - 'supports_read_auxv'. - * target.cc (process_target::read_auxv): Define. - (process_target::supports_read_auxv): Define. - - Update the derived classes and callers below. - - * server.cc (handle_qxfer_auxv): Update. - (handle_query): Update. - * linux-low.cc (linux_target_ops): Update. - (linux_process_target::supports_read_auxv): Define. - (linux_read_auxv): Turn into ... - (linux_process_target::read_auxv): ... this. - * linux-low.h (class linux_process_target): Update. - * lynx-low.cc (lynx_target_ops): Update. - * nto-low.cc (nto_target_ops): Update. - (nto_process_target::supports_read_auxv): Define. - (nto_read_auxv): Turn into ... - (nto_process_target::read_auxv): ... this. - * nto-low.h (class nto_process_target): Update. - * win32-low.cc (win32_target_ops): Update. - -2020-02-20 Tankut Baris Aktemur - - Turn process_stratum_target's request_interrupt op into a method of - process_target. - - * target.h (struct process_stratum_target): Remove the target op. - (class process_target): Add the target op. - - Update the derived classes and callers below. - - * remote-utils.cc (putpkt_binary_1): Update. - (input_interrupt): Update. - (getpkt): Update. - * server.cc (handle_v_requests): Update. - * linux-low.cc (linux_target_ops): Update. - (linux_request_interrupt): Turn into ... - (linux_process_target::request_interrupt): ... this. - * linux-low.h (class linux_process_target): Update. - * lynx-low.cc (lynx_target_ops): Update. - (lynx_request_interrupt): Turn into ... - (lynx_process_target::request_interrupt): ... this. - * lynx-low.h (class lynx_process_target): Update. - * nto-low.cc (nto_target_ops): Update. - (nto_request_interrupt): Turn into ... - (nto_process_target::request_interrupt): ... this. - * nto-low.h (class nto_process_target): Update. - * win32-low.cc (win32_target_ops): Update. - (win32_request_interrupt): Turn into ... - (win32_process_target::request_interrupt): ... this. - * win32-low.h (class win32_process_target): Update. - -2020-02-20 Tankut Baris Aktemur - - Turn process_stratum_target's look_up_symbols op into a method of - process_target. - - * target.h (struct process_stratum_target): Remove the target op. - (class process_target): Add the target op. - * target.cc (process_target::look_up_symbols): Define. - - Update the derived classes and callers below. - - * server.cc (handle_query): Update. - * linux-low.cc (linux_target_ops): Update. - (linux_look_up_symbols): Turn into ... - (linux_process_target::look_up_symbols): ... this. - * linux-low.h (class linux_process_target): Update. - * lynx-low.cc (lynx_target_ops): Update. - * nto-low.cc (nto_target_ops): Update. - * win32-low.cc (win32_target_ops): Update. - -2020-02-20 Tankut Baris Aktemur - - Turn process_stratum_target's read_memory and write_memory - ops into methods of process_target. - - * target.h (struct process_stratum_target): Remove the target ops. - (class process_target): Add the target ops. - - Update the derived classes and callers below. - - * linux-aarch32-low.cc (arm_breakpoint_at): Update. - * linux-aarch64-low.cc (aarch64_breakpoint_at): Update. - * linux-arm-low.cc (arm_sigreturn_next_pc): Update. - (arm_get_syscall_trapinfo): Update. - * linux-cris-low.cc (cris_breakpoint_at): Update. - * linux-crisv32-low.cc (cris_breakpoint_at): Update. - * linux-m32r-low.cc (m32r_breakpoint_at): Update. - * linux-mips-low.cc (mips_breakpoint_at): Update. - * linux-nios2-low.cc (nios2_breakpoint_at): Update. - * linux-ppc-low.cc (ppc_breakpoint_at): Update. - * linux-sh-low.cc (sh_breakpoint_at): Update. - * linux-sparc-low.cc (sparc_fill_gregset_to_stack): Update. - (sparc_store_gregset_from_stack): Update. - (sparc_breakpoint_at): Update. - * linux-tic6x-low.cc (tic6x_breakpoint_at): Update. - * linux-tile-low.cc (tile_breakpoint_at): Update. - * linux-x86-low.cc (x86_breakpoint_at): Update. - * linux-xtensa-low.cc (xtensa_breakpoint_at): Update. - * mem-brea.cc (insert_memory_breakpoint): Update. - (validate_inserted_breakpoint): Update. - * target.cc (read_inferior_memory): Update. - (target_write_memory): Update. - * linux-low.cc (linux_target_ops): Update. - (linux_read_memory): Make a wrapper around the read_memory target - op call. - (linux_process_target::read_memory): Rename from linux_read_memory. - (linux_write_memory): Turn into ... - (linux_process_target::write_memory): ... this. - * linux-low.h (class linux_process_target): Update. - * lynx-low.cc (lynx_target_ops): Update. - (lynx_read_memory): Turn into ... - (lynx_process_target::read_memory): ... this. - (lynx_write_memory): Turn into ... - (lynx_process_target::write_memory): ... this. - * lynx-low.h (class lynx_process_target): Update. - * nto-low.cc (nto_target_ops): Update. - (nto_read_memory): Turn into ... - (nto_process_target::read_memory): ... this. - (nto_write_memory): Turn into ... - (nto_process_target::write_memory): ... this. - * nto-low.h (class nto_process_target): Update. - * win32-low.cc (win32_target_ops): Update. - (win32_read_inferior_memory): Turn into ... - (win32_process_target::read_memory): ... this. - (win32_write_inferior_memory): Turn into ... - (win32_process_target::write_memory): ... this. - * win32-low.h (class win32_process_target): Update. - -2020-02-20 Tankut Baris Aktemur - - Turn process_stratum_target's prepare_to_access_memory and - done_accessing_memory ops into methods of process_target. - - * target.h (struct process_stratum_target): Remove the target ops. - (class process_target): Add the target ops. - * target.cc (process_target::prepare_to_access_memory): Define. - (process_target::done_accessing_memory): Define. - (prepare_to_access_memory): Update. - (done_accessing_memory): Update. - - Update the derived classes and callers below. - - * linux-low.cc (linux_target_ops): Update. - (linux_prepare_to_access_memory): Turn into ... - (linux_process_target::prepare_to_access_memory): ... this. - (linux_done_accessing_memory): Turn into ... - (linux_process_target::done_accessing_memory): ... this. - * linux-low.h (class linux_process_target): Update. - * lynx-low.cc (lynx_target_ops): Update. - * nto-low.cc (nto_target_ops): Update. - * win32-low.cc (win32_target_ops): Update. - -2020-02-20 Tankut Baris Aktemur - - Turn process_stratum_target's fetch_registers and store_registers - ops into methods of process_target. - - * target.h (struct process_stratum_target): Remove the target ops. - (class process_target): Add the target ops. - (fetch_inferior_registers): Update the macro. - (store_inferior_registers): Update the macro. - - Update the derived classes and callers below. - - * linux-low.cc (linux_target_ops): Update. - (linux_fetch_registers): Turn into ... - (linux_process_target::fetch_registers): ... this. - (linux_store_registers): Turn into ... - (linux_process_target::store_registers): ... this. - * linux-low.h (class linux_process_target): Update. - * lynx-low.cc (lynx_target_ops): Update. - (lynx_fetch_registers): Turn into ... - (lynx_process_target::fetch_registers): ... this. - (lynx_store_registers): Turn into ... - (lynx_process_target::store_registers): ... this. - * lynx-low.h (class lynx_process_target): Update. - * nto-low.cc (nto_target_ops): Update. - (nto_fetch_registers): Turn into ... - (nto_process_target::fetch_registers): ... this. - (nto_store_registers): Turn into ... - (nto_process_target::store_registers): ... this. - * nto-low.h (class nto_process_target): Update. - * win32-low.cc (win32_target_ops): Update. - (win32_fetch_inferior_registers): Turn into ... - (win32_process_target::fetch_registers): ... this. - (win32_store_inferior_registers): Turn into ... - (win32_process_target::store_registers): ... this. - * win32-low.h (class win32_process_target): Update. - -2020-02-20 Tankut Baris Aktemur - - Turn process_stratum_target's wait op into a method of - process_target. - - * target.h (struct process_stratum_target): Remove the target op. - (class process_target): Add the target op. - - Update the derived classes and callers below. - - * target.cc (target_wait): Update. - * linux-low.cc (linux_target_ops): Update. - (linux_wait): Turn into ... - (linux_process_target::wait): ... this. - * linux-low.h (class linux_process_target): Update. - * lynx-low.cc (lynx_target_ops): Update. - (lynx_wait): Turn into ... - (lynx_process_target::wait): ... this. - * lynx-low.h (class lynx_process_target): Update. - * nto-low.cc (nto_target_ops): Update. - (nto_wait): Turn into ... - (nto_process_target::wait): ... this. - * nto-low.h (class nto_process_target): Update. - * win32-low.cc (win32_target_ops): Update. - (win32_wait): Turn into ... - (win32_process_target::wait): ... this. - (do_initial_child_stuff): Update. - * win32-low.h (class win32_process_target): Update. - -2020-02-20 Tankut Baris Aktemur - - Turn process_stratum_target's resume op into a method of - process_target. - - * target.h (struct process_stratum_target): Remove the target op. - (class process_target): Add the target op. - - Update the derived classes and callers below. - - * server.cc (resume): Update. - * target.cc (target_stop_and_wait): Update. - (target_continue_no_signal): Update. - (target_continue): Update. - * linux-low.cc (linux_target_ops): Update. - (linux_resume): Turn into ... - (linux_process_target::resume): ... this. - * linux-low.h (class linux_process_target): Update. - * lynx-low.cc (lynx_target_ops): Update. - (lynx_resume): Turn into ... - (lynx_process_target::resume): ... this. - * lynx-low.h (class lynx_process_target): Update. - * nto-low.cc (nto_target_ops): Update. - (nto_resume): Turn into ... - (nto_process_target::resume): ... this. - * nto-low.h (class nto_process_target): Update. - * win32-low.cc (win32_target_ops): Update. - (win32_resume): Turn into ... - (win32_process_target::resume): ... this. - (win32_process_target::detach): Update. - (do_initial_child_stuff): Update. - * win32-low.h (class win32_process_target): Update. - -2020-02-20 Tankut Baris Aktemur - - Turn process_stratum_target's thread_alive op into a method of - process_target. - - * target.h (struct process_stratum_target): Remove the target op. - (class process_target): Add the target op. - (mythread_alive): Update the macro. - - Update the derived classes and callers below. - - * linux-low.cc (linux_target_ops): Update. - (linux_thread_alive): Turn into ... - (linux_process_target::thread_alive): ... this. - (wait_for_sigstop): Update. - * linux-low.h (class linux_process_target): Update. - * lynx-low.cc (lynx_target_ops): Update. - (lynx_thread_alive): Turn into ... - (lynx_process_target::thread_alive): ... this. - * lynx-low.h (class lynx_process_target): Update. - * nto-low.cc (nto_target_ops): Update. - (nto_thread_alive): Turn into ... - (nto_process_target::thread_alive): ... this. - * nto-low.h (class nto_process_target): Update. - * win32-low.cc (win32_target_ops): Update. - (win32_thread_alive): Turn into ... - (win32_process_target::thread_alive): ... this. - * win32-low.h (class win32_process_target): Update. - -2020-02-20 Tankut Baris Aktemur - - Turn process_stratum_target's join op into a method of - process_target. - - * target.h (struct process_stratum_target): Remove the target op. - (class process_target): Add the target op. - (join_inferior): Update the macro. - - Update the derived classes and callers below. - - * linux-low.cc (linux_target_ops): Update. - (linux_join): Turn into ... - (linux_process_target::join): ... this. - * linux-low.h (class linux_process_target): Update. - * lynx-low.cc (lynx_target_ops): Update. - (lynx_join): Turn into ... - (lynx_process_target::join): ... this. - * lynx-low.h (class lynx_process_target): Update. - * nto-low.cc (nto_target_ops): Update. - (nto_process_target::join): Define. - * nto-low.h (class nto_process_target): Update. - * win32-low.cc (win32_target_ops): Update. - (win32_join): Turn into ... - (win32_process_target::join): ... this. - * win32-low.h (class win32_process_target): Update. - -2020-02-20 Tankut Baris Aktemur - - Turn process_stratum_target's mourn op into a method of - process_target. - - * target.h (struct process_stratum_target): Remove the target op. - (class process_target): Add the target op. - - Update the derived classes and callers below. - - * target.cc (target_mourn_inferior): Update. - * linux-low.cc (linux_target_ops): Update. - (linux_mourn): Turn into ... - (linux_process_target::mourn): ... this. - (handle_extended_wait): Update. - (linux_process_target::kill): Update. - (linux_process_target::detach): Update. - * linux-low.h (class linux_process_target): Update. - * lynx-low.cc (lynx_target_ops): Update. - (lynx_mourn): Turn into ... - (lynx_process_target::mourn): ... this. - * lynx-low.h (class lynx_process_target): Update. - * nto-low.cc (nto_target_ops): Update. - (nto_mourn): Turn into ... - (nto_process_target::mourn): ... this. - * nto-low.h (class nto_process_target): Update. - * win32-low.cc (win32_target_ops): Update. - (win32_mourn): Turn into ... - (win32_process_target::mourn): ... this. - * win32-low.h (class win32_process_target): Update. - -2020-02-20 Tankut Baris Aktemur - - Turn process_stratum_target's detach op into a method of - process_target. - - * target.h (struct process_stratum_target): Remove the target op. - (class process_target): Add the target op. - (detach_inferior): Update the macro. - - Update the derived classes and callers below. - - * linux-low.cc (linux_target_ops): Update. - (linux_detach): Turn into ... - (linux_process_target::detach): ... this. - * linux-low.h (class linux_process_target): Update. - * lynx-low.cc (lynx_target_ops): Update. - (lynx_detach): Turn into ... - (lynx_process_target::detach): ... this. - * lynx-low.h (class lynx_process_target): Update. - * nto-low.cc (nto_target_ops): Update. - (nto_detach): Turn into ... - (nto_process_target::detach): ... this. - * nto-low.h (class nto_process_target): Update. - * win32-low.cc (win32_target_ops): Update. - (win32_detach): Turn into ... - (win32_process_target::detach): ... this. - * win32-low.h (class win32_process_target): Update. - -2020-02-20 Tankut Baris Aktemur - - Turn process_stratum_target's kill op into a method of - process_target. - - * target.h (struct process_stratum_target): Remove the target op. - (class process_target): Add the target op. - - Update the derived classes and callers below. - - * target.cc (kill_inferior): Update. - * linux-low.cc (linux_target_ops): Update. - (linux_kill): Turn into ... - (linux_process_target::kill): ... this. - * linux-low.h (class linux_process_target): Update. - * lynx-low.cc (lynx_target_ops): Update. - (lynx_kill): Turn into ... - (lynx_process_target::kill): ... this. - * lynx-low.h (class lynx_process_target): Update. - * nto-low.cc (nto_target_ops): Update. - (nto_kill): Turn into ... - (nto_process_target::kill): ... this. - * nto-low.h (class nto_process_target): Update. - * win32-low.cc (win32_target_ops): Update. - (win32_kill): Turn into ... - (win32_process_target::kill): ... this. - * win32-low.h (class win32_process_target): Update. - -2020-02-20 Tankut Baris Aktemur - - Turn process_stratum_target's attach op into a method of - process_target. - - * target.h (struct process_stratum_target): Remove the target op. - (class process_target): Add the target op. - (myattach): Update the macro. - - Update the derived classes and callers below. - - * linux-low.cc (linux_target_ops): Update. - (linux_attach): Turn into ... - (linux_process_target::attach): ... this. - * linux-low.h (class linux_process_target): Update. - * lynx-low.cc (lynx_target_ops): Update. - (lynx_attach): Turn into ... - (lynx_process_target::attach): ... this. - * lynx-low.h (class lynx_process_target): Update. - * nto-low.cc (nto_target_ops): Update. - (nto_attach): Turn into ... - (nto_process_target::attach): ... this. - * nto-low.h (class nto_process_target): Update. - * win32-low.cc (win32_target_ops): Update. - (win32_attach): Turn into ... - (win32_process_target::attach): ... this. - * win32-low.h (class win32_process_target): Update. - -2020-02-20 Tankut Baris Aktemur - - Turn process_stratum_target's post_create_inferior op into a method - of process_target. - - * target.h (struct process_stratum_target): Remove the target op. - (class process_target): Add the target op. - (target_post_create_inferior): Update the macro. - * target.cc (process_target::post_create_inferior): Define. - - Update the derived classes and callers below. - - * linux-low.cc (linux_target_ops): Update. - (linux_post_create_inferior): Turn into ... - (linux_process_target::post_create_inferior): ... this. - * linux-low.h (class linux_process_target): Update. - * lynx-low.cc (lynx_target_ops): Update. - * nto-low.cc (nto_target_ops): Update. - * win32-low.cc (win32_target_ops): Update. - -2020-02-20 Tankut Baris Aktemur - - Turn process_stratum_target's create_inferior op into a method of - process_target. - - * target.h (struct process_stratum_target): Remove the target op. - (class process_target): Add the target op. - (create_inferior): Rename the macro to ... - (target_create_inferior): ... this. - - Update the derived classes and callers below. - - * server.cc (handle_v_run): Update. - (captured_main): Update. - (process_serial_event): Update. - * linux-low.cc (linux_target_ops): Update. - (linux_create_inferior): Turn into ... - (linux_process_target::create_inferior): ... this. - * linux-low.h (class linux_process_target): Update. - * lynx-low.cc (lynx_target_ops): Update. - (lynx_create_inferior): Turn into ... - (lynx_process_target::create_inferior): ... this. - * lynx-low.h (class lynx_process_target): Update. - * nto-low.cc (nto_target_ops): Update. - (nto_create_inferior): Turn into ... - (nto_process_target::create_inferior): ... this. - * nto-low.h (class nto_process_target): Update. - * win32-low.cc (win32_target_ops): Update. - (win32_create_inferior): Turn into ... - (win32_process_target::create_inferior): ... this. - * win32-low.h (class win32_process_target): Update. - -2020-02-20 Tankut Baris Aktemur - - * target.h (class process_target): New class definition. - (struct process_stratum_target) : New field with type - 'process_target*'. - * linux-low.h (class linux_process_target): Define as a derived - class of 'process_target'. - * linux-low.cc (linux_target_ops): Add a linux_process_target* - as the 'pt' field. - * lynx-low.h (class lynx_process_target): Define as a derived - class of 'process_target'. - * lynx-low.cc (lynx_target_ops): Add a lynx_process_target* - as the 'pt' field. - * nto-low.h (class nto_process_target): Define as a derived - class of 'process_target'. - * nto-low.cc (nto_target_ops): Add an nto_process_target* - as the 'pt' field. - * win32-low.h (class win32_process_target): Define as a derived - class of 'process_target'. - * win32-low.cc (win32_target_ops): Add a win32_process_target* - as the 'pt' field. - -2020-02-19 Andrew Burgess - - * configure: Regenerate. - -2020-02-19 Maciej W. Rozycki - Andrew Burgess - - * linux-riscv-low.cc: New file. - * Makefile.in (SFILES): Add linux-riscv-low.cc, arch/riscv.c, - and nat/riscv-linux-tdesc.c. - * configure.srv (srv_tgtobj) - (srv_linux_regsets, srv_linux_usrregs, srv_linux_thread_db): - Define. - -2020-02-14 Tom Tromey - - * acinclude.m4: Don't include acx_configure_dir.m4. - * Makefile.in (LIBIBERTY_BUILDDIR, GNULIB_BUILDDIR): Update. - (SUBDIRS, CLEANDIRS, REQUIRED_SUBDIRS): Remove. - (all, install-only, uninstall, clean-info, clean) - (maintainer-clean): Don't recurse. - (subdir_do, all-lib): Remove. - ($(LIBGNU) $(LIBIBERTY) $(GNULIB_H)): Remove rule. - (GNULIB_H): Remove. - (generated_files): Update. - ($(GNULIB_BUILDDIR)/Makefile): Remove rule. - * configure: Rebuild. - * configure.ac: Don't configure gnulib or libiberty. - (GNULIB): Update. - -2020-02-14 Eli Zaretskii - - * win32-low.c (create_process): Prepend PROGRAM to ARGS when - preparing the command line for CreateProcess. - (win32_create_inferior): Reflect the program name in debugging - output that shows the process and its command line. - -2020-02-13 Simon Marchi - - * Makefile.in: Rename source files from .c to .cc. - * %.c: Rename to %.cc. - * configure.ac: Rename server.c to server.cc. - * configure: Re-generate. - -2020-02-13 Simon Marchi - - * Makefile.in: Rename gdbsupport source files from .c to .cc. - -2020-02-12 Hannes Domani - - * win32-low.c (win32_create_inferior): Set signal_pid. - -2020-02-12 Maciej W. Rozycki - Pedro Alves - - Skip building gdbserver in a cross-configuration. - * configure.srv: Set $gdbserver_host depending on whether $target - is $host. Use $gdbserver_host instead of $host. - -2020-02-11 Simon Marchi - - * configure: Re-generate. - -2020-02-11 Simon Marchi - - * configure: Re-generate. - -2020-02-11 Simon Marchi - - * acinclude.m4: Update warning.m4 path. - -2020-02-09 Hannes Domani - - * win32-low.c (win32_clear_inferiors): Reset siginfo_er. - (handle_exception): Set siginfo_er. - (win32_xfer_siginfo): New function. - -2020-02-07 Tom Tromey - Pedro Alves - - * README: Update build documentation. - * configure.srv: Set UNSUPPORTED if host is unsupported. Check - host, not target. - * configure.ac: Update paths. - * configure: Rebuild. - * acinclude.m4: Update paths. - * Makefile.in: Update include paths. - (depcomp, INCLUDE_DIR, INCGNU, INCSUPPORT, INCLUDE_CFLAGS) - (SFILES, XML_DIR, n, $(GNULIB_BUILDDIR)/Makefile, config.status) - (version-generated.c, stamp-xml, regdat_sh, arch/%-ipa.o) - (gdbsupport/%-ipa.o, %-ipa.o, arch/%.o, gdbsupport/%.o, %.o) - (%-generated.c): Update paths. - * Move entire directory from ../gdb/gdbserver. - -2020-01-29 Maciej W. Rozycki - - * configure.srv : Fix whitespace damage. - -2020-01-29 Pedro Franco de Carvalho - - * configure.srv (powerpc*-*-linux*): Use srv_tgtobj in second - assignment instead of srv_linux_obj. - -2020-01-28 Hannes Domani - - * server.c (handle_qxfer_libraries): Write segment-address with - paddress. - -2020-01-24 Hannes Domani - - * Makefile.in (install-strip): New target. - (install_sh, INSTALL_STRIP_PROGRAM, STRIP): New variables. - * aclocal.m4: Regenerate. - * configure: Regenerate. - * configure.ac: Add AM_PROG_INSTALL_STRIP. - -2020-01-24 Maciej W. Rozycki - - * Makefile.in (SFILES): Adjust paths to point to real files. - (OBS): Move waitstatus.o to target/waitstatus.o. - (TAGS): Transform paths appropriately. - (%.o): Rename to... - (nat/%.o): ... this pattern rule. - (%.o): Rename to... - (target/%.o): ... this pattern rule. - * configure.srv: Adjust paths throughout to include nat/ prefix - with the revant files. - * configure.ac: Add `nat' and `target' to CONFIG_SRC_SUBDIR. - * configure: Regenerate. - -2020-01-24 Maciej W. Rozycki - - * Makefile.in (TAGS): Remove config files from the recipe. - -2020-01-14 Tom Tromey - - * configure: Rebuild. - * configure.ac: Remove any checks that were added to common.m4. - * acinclude.m4: Include lib-ld.m4, lib-prefix.m4, and - lib-link.m4. - -2020-01-14 Tom Tromey - - * server.h: Include config.h. - * gdbreplay.c: Include config.h. - * configure: Rebuild. - * configure.ac: Don't source common.host. - * acinclude.m4: Update path. - * Makefile.in (INCSUPPORT): New variable. - (INCLUDE_CFLAGS): Add INCSUPPORT. - (SFILES): Update paths. - (version-generated.c): Update path to create-version.sh. - (gdbsupport/%-ipa.o, gdbsupport/%.o): Update paths. - -2020-01-14 Tom Tromey - - * configure.ac (LIBS): Use WIN32APILIBS. - (USE_WIN32API): Don't define. - * configure: Rebuild. - -2020-01-14 Tom Tromey - - * configure: Rebuild. - -2020-01-13 Simon Marchi - - * Makefile.in (%-generated.c): Remove rule for files from - regformats/i386. - -2020-01-13 Simon Marchi - - * configure: Re-generate. - -2020-01-13 Simon Marchi - - * tracepoint.h (IP_AGENT_EXPORT_FUNC) [!IN_PROCESS_AGENT]: - Define to static. - * tracepoint.c (stop_tracing, flush_trace_buffer, - about_to_request_buffer_space, get_trace_state_variable_value, - set_trace_state_variable_value, gdb_collect): Add declaration. - -2020-01-13 Simon Marchi - - * linux-x86-low.c (x86_linux_regs_info, amd64_emit_eq_goto, - amd64_emit_ne_goto, amd64_emit_lt_goto, amd64_emit_le_goto, - amd64_emit_gt_goto, amd64_emit_ge_goto, amd64_emit_ge_goto, - i386_emit_eq_goto, i386_emit_ne_goto, i386_emit_lt_goto, - i386_emit_le_goto, i386_emit_gt_goto, i386_emit_ge_goto): Make - static. - -2020-01-13 Simon Marchi - - * inferiors.c: Include gdbsupport/common-inferior.h. - -2020-01-13 Simon Marchi - - * hostio-errno.c: Include hostio.h. - -2020-01-13 Simon Marchi - - * Makefile.in (%-generated.c): Make $(regdat_sh) a regular - prerequisite. - -2020-01-12 Simon Marchi - - * linux-arm-tdesc.c: Include linux-arm-tdesc.h. - * linux-arm-tdesc.h: Include arch/arm.h. - -2020-01-12 Simon Marchi - - * linux-aarch64-low.c (aarch64_write_goto_address): Make static. - -2020-01-12 Simon Marchi - - * linux-aarch32-tdesc.c: Include linux-aarch32-tdesc.h. - * linux-aarch64-tdesc.c: Include linux-aarch64-tdesc.h. - -2020-01-10 Pedro Alves - - * fork-child.c (post_fork_inferior): Pass target down to - startup_inferior. - * inferiors.c (switch_to_thread): Add process_stratum_target - parameter. - * lynx-low.c (lynx_target_ops): Now a process_stratum_target. - * nto-low.c (nto_target_ops): Now a process_stratum_target. - * linux-low.c (linux_target_ops): Now a process_stratum_target. - * remote-utils.c (prepare_resume_reply): Pass the target to - switch_to_thread. - * target.c (the_target): Now a process_stratum_target. - (done_accessing_memory): Pass the target to switch_to_thread. - (set_target_ops): Ajust to use process_stratum_target. - * target.h (struct target_ops): Rename to ... - (struct process_stratum_target): ... this. - (the_target, set_target_ops): Adjust. - (prepare_to_access_memory): Adjust comment. - * win32-low.c (child_xfer_memory): Adjust to use - process_stratum_target. - (win32_target_ops): Now a process_stratum_target. - -2020-01-06 Eli Zaretskii - Pedro Alves - - * win32-low.c (get_child_debug_event): Extract the fatal exception - from the exit status and convert to the equivalent Posix signal - number. - (win32_wait): Allow TARGET_WAITKIND_SIGNALLED status as well. - * Makefile.in (OBS, SFILES): Add gdb_wait.[co]. - -2020-01-01 Hannes Domani - - * Makefile.in: Use INSTALL_PROGRAM_ENV. - -2020-01-01 Joel Brobecker - - * server.c (gdbserver_version): Change copyright year to 2020. - * gdbreplay.c (gdbreplay_version): Likewise. - -2019-12-19 Christian Biesinger - - * configure: Regenerate. - * configure.ac: Quote variable arguments of test. - -2019-12-16 Bernd Edlinger - - * Makefile.in: Fix build with GNU Make 3.81 - -2019-12-16 Tom Tromey - - * server.c (get_exec_file): Constify result. - -2019-12-10 Christian Biesinger - - * Makefile.in: Add safe-strerror.c to gdbreplay and IPA, and change - UNDO_GNULIB_CFLAGS to undo strerror_r instead of strerror. - * config.in: Regenerate. - * configure: Regenerate. - * configure.ac: Don't check for strerror. - * linux-i386-ipa.c (initialize_fast_tracepoint_trampoline_buffer): - Call safe_strerror instead of strerror. - * server.h (strerror): Remove this now-unnecessary declaration. - * tracepoint.c (init_named_socket): Call safe_strerror instead of - strerror. - (gdb_agent_helper_thread): Likewise. - * utils.c (perror_with_name): Likewise. - -2019-11-26 Tom Tromey - - * configure, config.in: Rebuild. - -2019-11-26 Tom Tromey - - * remote-utils.c (block_unblock_async_io): Use gdb_sigmask. - * linux-low.c (linux_wait_for_event_filtered, linux_async): Use - gdb_sigmask. - * configure, config.in: Rebuild. - -2019-11-26 Tom Tromey - - * Makefile.in (PTHREAD_CFLAGS, PTHREAD_LIBS): New variables. - (INTERNAL_CFLAGS_BASE): Use PTHREAD_CFLAGS. - (GDBSERVER_LIBS): Use PTHREAD_LIBS. - * acinclude.m4: Include ax_pthread.m4. - * config.in, configure: Rebuild. - -2019-11-26 Christian Biesinger - - * debug.c (debug_set_output): Call safe_strerror instead of - strerror. - * linux-low.c (attach_proc_task_lwp_callback): Likewise. - (linux_kill_one_lwp): Likewise. - (linux_detach_one_lwp): Likewise. - (linux_wait_for_event_filtered): Likewise. - (store_register): Likewise. - * lynx-low.c (lynx_attach): Likewise. - * mem-break.c (insert_memory_breakpoint): Likewise. - (remove_memory_breakpoint): Likewise. - (delete_fast_tracepoint_jump): Likewise. - (set_fast_tracepoint_jump): Likewise. - (uninsert_fast_tracepoint_jumps_at): Likewise. - (reinsert_fast_tracepoint_jumps_at): Likewise. - * nto-low.c (nto_xfer_memory): Likewise. - (nto_resume): Likewise. - -2019-11-20 Luis Machado - - * linux-aarch64-low.c (is_sve_tdesc): Check against target feature - instead of register count. - * tdesc.c (tdesc_contains_feature): New function. - * tdesc.h (tdesc_contains_feature): New prototype. - -2019-11-15 Christian Biesinger - - * Makefile.in: Add safe-strerror.c. - * configure: Regenerate. - * configure.ac: Don't source common.host. - -2019-11-15 Christian Biesinger - - * config.in: Regenerate. - * configure: Regenerate. - -2019-11-12 Andrew Burgess - - * ax.c (ax_printf): Handle size_t_arg. - -2019-11-06 Christian Biesinger - - * linux-tdep.c (linux_info_proc): Use strtok_r instead of strtok. - * mi/mi-main.c (output_cores): Likewise. - * nat/linux-osdata.c (linux_xfer_osdata_cpus): Likewise. - (linux_xfer_osdata_modules): Likewise. - * remote.c (register_remote_support_xml): Likewise. - * sparc64-tdep.c (adi_is_addr_mapped): Likewise. - * xml-syscall.c (syscall_create_syscall_desc): Likewise. - -2019-11-01 Christian Biesinger - - * configure: Regenerate. - * configure.ac: Remove check for strerror_r. - -2019-10-31 Christian Biesinger - - * config.in: Regenerate. - * configure: Regenerate. - * configure.ac: Also check for strerror_r. - -2019-10-31 Christian Biesinger - - * ax.h (debug_agent): Remove duplicate declaration. - -2019-10-26 Tom de Vries - - * linux-aarch64-low.c: Fix typos in comments. - * linux-arm-low.c: Same. - * linux-low.c: Same. - * linux-ppc-low.c: Same. - * proc-service.c: Same. - * regcache.h: Same. - * server.c: Same. - * tracepoint.c: Same. - * win32-low.c: Same. - -2019-10-25 Tom Tromey - - * utils.c (xstrdup): Remove. - -2019-10-23 Tom Tromey - - * configure, config.in: Rebuild. - -2019-10-23 Tom Tromey - - * configure: Rebuild. - * acinclude.m4: Use m4_include, not sinclude. - -2019-10-17 Tom Tromey - - * configure: Rebuild. - * configure.ac: Use AC_CONFIG_HEADERS. Create stamp-h there, not - in AC_CONFIG_FILES invocation. - * Makefile.in (stamp-h, Makefile): Use new-style config.status - invocation. - -2019-10-16 Christian Biesinger - - * server.c: Include xml-builtin.h. - (get_xml_features): Don't declare xml_builtins here. - -2019-10-15 Andrew Burgess - - * Makefile.in: Remove references to vec-ipa.o. - -2019-10-15 Andrew Burgess - - * Makefile.in: Remove references to vec.c. - -2019-10-02 Christian Biesinger - - * server.c (server_waiting): Change to bool. - (extended_protocol): Likewise. - (response_needed): Likewise. - (exit_requested): Likewise. - (run_once): Likewise. - (report_no_resumed): Likewise. - (non_stop): Likewise. - (disable_packet_vCont): Likewise. - (disable_packet_Tthread): Likewise. - (disable_packet_qC): Likewise. - (disable_packet_qfThreadInfo): Likewise. - (handle_general_set): Update. - (handle_detach): Update. - (handle_monitor_command): Update. - (handle_query): Update. - (captured_main): Update. - (process_serial_event): Update. - * server.h (server_waiting): Change to bool. - (disable_packet_vCont): Likewise. - (disable_packet_Tthread): Likewise. - (disable_packet_qC): Likewise. - (disable_packet_qfThreadInfo): Likewise. - (run_once): Likewise. - (non_stop): Likewise. - * target.c (target_stop_and_wait): Update. - -2019-10-02 Tom Tromey - - * Makefile.in (SFILES): Add common-inferior.c. - (OBS): Add common-inferior.o. - * server.c (startup_with_shell): Don't define. - -2019-10-02 Andrew Burgess - - * linux-low.c (linux_low_read_btrace): Update for change to - std::vector. - -2019-09-20 Christian Biesinger - - * debug.c (debug_threads): Remove comment in favor of the header. - * debug.h (using_threads): Add declaration. - (debug_threads): Add comment. - * linux-aarch64-low.c: Include debug.h and remove declaration of - debug_threads. - * nto-low.c: Likewise. - * remote-utils.c: Likewise. - * thread-db.c: Likewise. - -2019-09-20 Ulrich Weigand - - * configure.srv (ipa_ppc_linux_regobj): Remove powerpc-cell32l-ipa.o - and powerpc-cell64l-ipa.o. - (powerpc*-*-linux*): Remove powerpc-cell32l.o and powerpc-cell64l.o - from srv_regobj. Remove rs6000/powerpc-cell32l.xml and - rs6000/powerpc-cell64l.xml from srv_xmlfiles. - (spu*-*-*): Remove. - - * spu-low.c: Remove file. - - * linux-ppc-low.c (INSTR_SC, NR_spu_run): Remove. - (parse_spufs_run): Remove. - (ppc_get_pc): Remove Cell/B.E. support. - (ppc_set_pc): Likewise. - (ppc_breakpoint_at): Likewise. - (ppc_arch_setup): Likewise. - (ppc_get_ipa_tdesc_idx): Do not handle tdesc_powerpc_cell64l or - tdesc_powerpc_cell32l. - (initialize_low_arch): Do not call init_registers_powerpc_cell64l - or init_registers_powerpc_cell32l. - * linux-ppc-ipa.c (get_ipa_tdesc): Do not handle PPC_TDESC_CELL. - (initialize_low_tracepoint): Do not call init_registers_powerpc_cell64l - or init_registers_powerpc_cell32l. - * linux-ppc-tdesc-init.h (PPC_TDESC_CELL): Mark as unused. - (init_registers_powerpc_cell32l): Remove prototype. - (init_registers_powerpc_cell64l): Likewise. - - * target.h (struct target_ops): Remove qxfer_spu member. - * server.c (handle_qxfer_spu): Remove. - (qxfer_packets): Remove entry for "spu". - (handle_query): No longer support qXfer:spu:read or qXfer:spu:write. - * linux-low.c (SPUFS_MAGIC): Remove. - (spu_enumerate_spu_ids): Remove. - (linux_qxfer_spu): Remove. - (linux_target_ops): Remove qxfer_spu member. - * lynx-low.c (lynx_target_ops): Remove qxfer_spu member. - * nto-low.c (nto_target_ops): Remove qxfer_spu member. - * win32-low.c (win32_target_ops): Remove qxfer_spu member. - -2019-08-23 Sergio Durigan Junior - - * Makefile.in (SFILES): Add 'gdbsupport/gdb-dlfcn.c'. - (OBS): Add 'gdbsupport/gdb-dlfcn.o'. - * config.in: Regenerate. - * configure: Regenerate. - -2019-08-15 Tom Tromey - - * target.c (target_write_memory): Use gdb::byte_vector. - -2019-08-15 Tom Tromey - - * tracepoint.c (write_inferior_data_pointer) - (write_inferior_integer, write_inferior_int8) - (write_inferior_uinteger, m_tracepoint_action_download) - (r_tracepoint_action_download, x_tracepoint_action_download) - (l_tracepoint_action_download, clear_inferior_trace_buffer) - (download_agent_expr, download_tracepoint_1) - (download_trace_state_variables, upload_fast_traceframes): Update. - * server.c (gdb_write_memory): Update. - * remote-utils.c (relocate_instruction): Update. - * proc-service.c (ps_pdwrite): Update. - * mem-break.c (remove_memory_breakpoint) - (delete_fast_tracepoint_jump, set_fast_tracepoint_jump) - (uninsert_fast_tracepoint_jumps_at) - (reinsert_fast_tracepoint_jumps_at): Update. - * linux-x86-low.c (append_insns) - (i386_install_fast_tracepoint_jump_pad) - (amd64_write_goto_address, i386_write_goto_address): Update. - * linux-s390-low.c (append_insns, s390_write_goto_address): - Update. - * linux-ppc-low.c (ppc_relocate_instruction) - (ppc_install_fast_tracepoint_jump_pad, emit_insns) - (ppc_write_goto_address): Update. - * linux-aarch64-low.c (append_insns): Update. - * target.h (struct target_ops): Update. - (write_inferior_memory): Don't declare. - * target.c (target_write_memory): Rename from - write_inferior_memory. Remove old target_write_memory. - -2019-08-15 Tom Tromey - - * target.c (write_inferior_memory): Use std::vector. - -2019-08-06 Frank Ch. Eigler - - PR build/24886 - * configure.ac: Drop enable-libmcheck support. - * configure, config.in: Rebuild. - * acinclude.m4: Don't include it. - -2019-07-19 Alan Hayward - - * configure.srv: Remove Arm xml files. - -2019-07-19 Alan Hayward - - * configure.srv: Add new files. Remove xml generated files. - * linux-aarch32-low.c (initialize_low_arch_aarch32): Don't init - registers. - * linux-aarch32-low.h (tdesc_arm_with_neon): Remove. - * linux-aarch32-tdesc.c: New file. - * linux-aarch32-tdesc.h: New file. - * linux-aarch64-low.c (aarch64_arch_setup): Call aarch32_linux_read_description. - * linux-arm-low.c (init_registers_arm, tdesc_arm) - (init_registers_arm_with_iwmmxt, tdesc_arm_with_iwmmxt) - (init_registers_arm_with_vfpv2, tdesc_arm_with_vfpv2) - (init_registers_arm_with_vfpv3, tdesc_arm_with_vfpv3): Remove. - (arm_fill_wmmxregset, arm_store_wmmxregset, arm_fill_vfpregset) - (arm_store_vfpregset): Call arm_linux_get_tdesc_fp_type. - (arm_read_description): Call arm_linux_read_description. - (initialize_low_arch): Don't init registers. - * linux-arm-tdesc.c: New file. - * linux-arm-tdesc.h: New file. - -2019-07-10 Alan Hayward - - * linux-arm-low.c (arm_fill_wmmxregset, arm_store_wmmxregset): - Move counter inside for. - (arm_read_description): Check ptrace earlier. - (arm_arch_setup): Call arm_linux_init_hwbp_cap here. - -2019-07-09 Tom Tromey - - * configure: Rebuild. - * configure.ac: Change common to gdbsupport. - * acinclude.m4: Change common to gdbsupport. - * Makefile.in (SFILES, OBS, GDBREPLAY_OBS, IPA_OBJS) - (version-generated.c, gdbsupport/%-ipa.o, gdbsupport/%.o): Change - common to gdbsupport. - * ax.c, event-loop.c, fork-child.c, gdb_proc_service.h, - gdbreplay.c, gdbthread.h, hostio-errno.c, hostio.c, i387-fp.c, - inferiors.c, inferiors.h, linux-aarch64-tdesc-selftest.c, - linux-amd64-ipa.c, linux-i386-ipa.c, linux-low.c, - linux-tic6x-low.c, linux-x86-low.c, linux-x86-tdesc-selftest.c, - linux-x86-tdesc.c, lynx-i386-low.c, lynx-low.c, mem-break.h, - nto-x86-low.c, regcache.c, regcache.h, remote-utils.c, server.c, - server.h, spu-low.c, symbol.c, target.h, tdesc.c, tdesc.h, - thread-db.c, tracepoint.c, win32-i386-low.c, win32-low.c: Change - common to gdbsupport. - -2019-07-04 Alan Hayward - - * linux-aarch32-low.c (arm_read_description, arm_regsets): Use new - defines. - * linux-arm-low.c (arm_read_description, arm_regsets): Likewise. - -2019-07-04 Alan Hayward - - * configure.srv: Remove legacy xml. - * linux-aarch64-low.c (initialize_low_arch): Remove - initialize_low_tdesc call. - * linux-aarch64-tdesc-selftest.c: Remove file. - * linux-aarch64-tdesc.h (initialize_low_tdesc): Remove. - * linux-x86-low.c (initialize_low_arch): Remove - initialize_low_tdesc call. - * linux-x86-tdesc-selftest.c: Remove file. - * linux-x86-tdesc.h (initialize_low_tdesc): Remove. - -2019-06-20 Tom de Vries - - * linux-s390-ipa.c (get_ipa_tdesc)[!__s390x__]: Use - s390_te_linux64_ft_collect_regmap for S390_TDESC_GS. - -2019-06-19 Tom de Vries - - * debug.h (debug_write): Change return type to ssize_t. - * debug.c (debug_write): Same. - -2019-06-14 Tom Tromey - - * configure.ac: Use new path to gnulib. - * configure: Rebuild. - * Makefile.in (INCGNU, $(GNULIB_BUILDDIR)/Makefile): Use new path - to gnulib. - -2019-06-11 Tom Tromey - - * Makefile.in (SFILES): Add alloc.c. - (OBS): Add alloc.o. - (IPA_OBJS): Add alloc-ipa.o. - (alloc-ipa.o): New target. - (%.o: ../%.c): New pattern rule. - -2019-06-10 Tom Tromey - - * remote-utils.c (look_up_one_symbol, relocate_instruction): Don't - end warning with a newline. - * linux-s390-low.c (s390_get_wordsize): Don't end warning with a - newline. - * thread-db.c (attach_thread): Don't end warning with a newline. - (thread_db_notice_clone): Likewise. - * tracepoint.c (gdb_agent_helper_thread): Don't end warning with a - newline. - * linux-x86-low.c (x86_get_min_fast_tracepoint_insn_len): Don't - end warning with a newline. - -2019-06-04 Pedro Alves - - * server.c (captured_main): Use make_unique_xstrdup. - -2019-06-02 Tom Tromey - - * gdbreplay.c (fromhex): Remove. - * Makefile.in (GDBREPLAY_OBS): Add rsp-low.o. - -2019-05-29 Tom Tromey - - * configure: Rebuild. - -2019-05-06 Kevin Buettner - - * linux-x86-low.c (x86_fill_gregset): Don't compile 64-bit - sign extension code on 32-bit builds. - -2019-05-03 Eli Zaretskii - - * remote-utils.c: - * gdbreplay.c [USE_WIN32API]: Remove the _WIN32_WINNT override. - -2019-04-19 Tom Tromey - - * server.c (struct vstop_notif): Derive from notif_event. - : Remove. - (queue_stop_reply): Update. - (remove_all_on_match_ptid): Change type. Rewrite. - (discard_queued_stop_replies): Rewrite. - (in_queued_stop_replies_ptid): Change type. - (in_queued_stop_replies): Rewrite. - (notif_stop): Update. - (queue_stop_reply_callback): Update. - (captured_main): Don't call initialize_notif. - (push_stop_notification): Update. - * notif.c (notif_write_event, handle_notif_ack) - (notif_event_enque, notif_push): Update. - (notif_event_xfree, initialize_notif): Remove. - * notif.h (struct notif_event): Include , not - "common/queue.h". - (struct notif_server) : Now a std::list. - (notif_event_p): Remove typedef. - (initialize_notif): Don't declare. - (struct notif_event): Add virtual destructor. - -2019-04-17 Alan Hayward - - * ax.c (ax_vdebug): Call debug_printf. - * debug.c (debug_write): New function. - * debug.h (debug_write): New declaration. - * linux-low.c (sigchld_handler): Call debug_write. - -2019-04-17 Alan Hayward - - * debug.c (debug_set_output): New function. - (debug_vprintf): Send output to debug_file. - (debug_flush): Likewise. - * debug.h (debug_set_output): New declaration. - * server.c (handle_monitor_command): Add debug-file option. - (captured_main): Likewise. - -2019-04-17 Alan Hayward - - * debug.c (remote_debug): Add definition. - * debug.h (remote_debug): Add declaration. - * hostio.c (remote_debug): Remove declaration. - * remote-utils.c (struct ui_file): Likewise. - (remote_debug): Likewise. - * remote-utils.h (remote_debug): Likewise, - * server.c (remote_debug): Remove definition. - -2019-04-10 Kevin Buettner - - * linux-x86-low.c (x86_fill_gregset): Sign extend EAX value - when using a 64-bit gdbserver. - -2019-04-09 Tom Tromey - - * linux-low.c (select_event_lwp): Use find_thread_in_random. - -2019-04-08 Tom Tromey - - * linux-low.c (linux_detach_one_lwp): Replace throw_exception with - throw. - (linux_resume_one_lwp): Likewise. - -2019-04-08 Tom Tromey - - * gdbreplay.c: Update. - * linux-low.c: Update. - * server.c: Update. - -2019-04-08 Tom Tromey - - * server.c: Use C++ exception handling. - * linux-low.c: Use C++ exception handling. - * gdbreplay.c: Use C++ exception handling. - -2019-04-08 Tom Tromey - - * server.c (handle_btrace_general_set, handle_qxfer_btrace) - (handle_qxfer_btrace_conf, detach_or_kill_for_exit_cleanup) - (captured_main, main): Update. - * gdbreplay.c (main): Update. - -2019-04-05 Pedro Franco de Carvalho - - * linux-low.c (linux_get_auxv): Remove static. Return auxv entry - value in argument pointer, return 1 if the entry is found and 0 - otherwise. Move comment. - (linux_get_hwcap, linux_get_hwcap2): Use modified linux_get_auxv. - * linux-low.h (linux_get_auxv): Declare. - * linux-ppc-low.c (is_elfv2_inferior): Use linux_get_auxv. - -2019-04-05 Tom Tromey - - * server.c (gdbserver_usage): Use upper-case for metasyntactic - variables. - -2019-03-28 Alan Hayward - - * linux-low.c (AT_HWCAP2): Add define if not already included. - -2019-03-26 Alan Hayward - - * linux-aarch64-low.c (aarch64_get_hwcap): Remove function. - (aarch64_arch_setup): Call linux_get_hwcap. - * linux-arm-low.c (arm_get_hwcap): Remove function. - (arm_read_description): Call linux_get_hwcap. - * linux-low.c (linux_get_auxv): New function. - (linux_get_hwcap): Likewise. - (linux_get_hwcap2): Likewise. - * linux-low.h (linux_get_hwcap): New declaration. - (linux_get_hwcap2): Likewise. - * linux-ppc-low.c (ppc_get_auxv): Remove function. - (ppc_arch_setup): Call linux_get_hwcap. - * linux-s390-low.c (s390_get_hwcap): Remove function. - (s390_arch_setup): Call linux_get_hwcap. - -2019-03-22 Alan Hayward - Jiong Wang - - * linux-aarch64-low.c (aarch64_store_pauthregset): New function. - * linux-low.c (regsets_store_inferior_registers): Allow optional reads - to fail. - * linux-low.h (enum regset_type): Add OPTIONAL_REGS. - -2019-03-22 Alan Hayward - Jiong Wang - - * linux-aarch64-low.c (AARCH64_HWCAP_PACA): New define. - (aarch64_get_hwcap): New function. - (aarch64_arch_setup): Read APIA hwcap. - -2019-03-22 Alan Hayward - Jiong Wang - - * linux-aarch64-ipa.c (get_ipa_tdesc): Add pauth param. - (initialize_low_tracepoint): Likewise. - * linux-aarch64-low.c (aarch64_arch_setup): Likewise. - * linux-aarch64-tdesc-selftest.c (aarch64_tdesc_test): Likewise. - * linux-aarch64-tdesc.c (struct target_desc): Likewise. - (aarch64_linux_read_description): Likewise. - * linux-aarch64-tdesc.h (aarch64_linux_read_description): Likewise. - -2019-03-12 John Baldwin - - * linux-x86-tdesc.c (i386_linux_read_description): Update call to - i386_create_target_description for 'segments' parameter. - * lynx-i386-low.c (lynx_i386_arch_setup): Likewise. - * nto-x86-low.c (nto_x86_arch_setup): Likewise. - * win32-i386-low.c (i386_arch_setup): Likewise. - -2019-03-12 Tom Tromey - - * linux-low.c (iterate_over_lwps): Update. - -2019-03-06 Tom Tromey - - * server.c (detach_or_kill_for_exit_cleanup): Remove parameter. - (captured_main): Use SCOPE_EXIT. - -2019-03-04 Sergio Durigan Junior - - * configure.srv: Use '$enable_unittest' instead of '$development' - when checking whether to fill 'srv_regobj' on 'aarch64*-*-linux*' - case. - -2019-02-27 Tom Tromey - - * gdbreplay.c (logchar): Handle \r\n. - -2019-02-07 Alan Hayward - - * linux-low.c (linux_attach): Add process before lwp. - * server.c (attach_inferior): Check if already attached. - -2019-02-07 Tom Tromey - - * x86-tdesc.h: Rename include guard. - * x86-low.h: Add include guard. - * wincecompat.h: Rename include guard. - * win32-low.h: Add include guard. - * utils.h: Rename include guard. - * tracepoint.h: Rename include guard. - * tdesc.h: Rename include guard. - * target.h: Rename include guard. - * server.h: Rename include guard. - * remote-utils.h: Rename include guard. - * regcache.h: Rename include guard. - * nto-low.h: Rename include guard. - * notif.h: Add include guard. - * mem-break.h: Rename include guard. - * lynx-low.h: Add include guard. - * linux-x86-tdesc.h: Add include guard. - * linux-s390-tdesc.h: Add include guard. - * linux-ppc-tdesc-init.h: Add include guard. - * linux-low.h: Add include guard. - * linux-aarch64-tdesc.h: Add include guard. - * linux-aarch32-low.h: Add include guard. - * inferiors.h: Rename include guard. - * i387-fp.h: Rename include guard. - * hostio.h: Rename include guard. - * gdbthread.h: Rename include guard. - * gdb_proc_service.h: Rename include guard. - * event-loop.h: Rename include guard. - * dll.h: Rename include guard. - * debug.h: Rename include guard. - * ax.h: Rename include guard. - -2018-01-30 Szabolcs Nagy - - PR gdb/23985 - * Makefile.in (IPAGENT_CFLAGS): Add UNDO_GNULIB_CFLAGS. - (UNDO_GNULIB_CFLAGS): Undo gnulib replacements. - -2019-01-25 Tom Tromey - - * Makefile.in (INCLUDE_CFLAGS): Don't add -I for common. - -2019-01-25 Tom Tromey - - * win32-low.c: Fix common/ includes. - * win32-i386-low.c: Fix common/ includes. - * tracepoint.c: Fix common/ includes. - * thread-db.c: Fix common/ includes. - * target.h: Fix common/ includes. - * symbol.c: Fix common/ includes. - * spu-low.c: Fix common/ includes. - * server.h: Fix common/ includes. - * server.c: Fix common/ includes. - * remote-utils.c: Fix common/ includes. - * regcache.h: Fix common/ includes. - * regcache.c: Fix common/ includes. - * nto-x86-low.c: Fix common/ includes. - * notif.h: Fix common/ includes. - * mem-break.h: Fix common/ includes. - * lynx-low.c: Fix common/ includes. - * lynx-i386-low.c: Fix common/ includes. - * linux-x86-tdesc-selftest.c: Fix common/ includes. - * linux-x86-low.c: Fix common/ includes. - * linux-low.c: Fix common/ includes. - * inferiors.h: Fix common/ includes. - * i387-fp.c: Fix common/ includes. - * hostio.c: Fix common/ includes. - * hostio-errno.c: Fix common/ includes. - * gdbthread.h: Fix common/ includes. - * gdbreplay.c: Fix common/ includes. - * fork-child.c: Fix common/ includes. - * event-loop.c: Fix common/ includes. - * ax.c (enum gdb_agent_op): Fix common/ includes. - -2019-01-21 Tom Tromey - - * tracepoint.c: Fix includes. - * remote-utils.c: Fix includes. - * linux-x86-low.c: Fix includes. - -2019-01-01 Joel Brobecker - - * gdbreplay.c (gdbreplay_version): Update copyright year in - version message. - * server.c (gdbserver_version): Likewise. - -2018-12-05 Alan Hayward - - * linux-low.c (add_lwp): Switch ordering. - -2018-11-29 Tom Tromey - - * win32-low.c (win32_join): Take pid, not process. - * target.h (struct target_ops) : Change argument type. - (join_inferior): Change argument name. - * spu-low.c (spu_join): Take pid, not process. - * server.c (handle_detach): Preserve pid before destroying - process. - * lynx-low.c (lynx_join): Take pid, not process. - * linux-low.c (linux_join): Take pid, not process. - -2018-11-23 Alan Hayward - - * linux-aarch64-low.c (aarch64_cannot_store_register): Remove. - (aarch64_cannot_fetch_register): Likewise. - (struct linux_target_ops): Update references. - -2018-10-31 Pedro Franco de Carvalho - - * linux-ppc-low.c: Include nat/linux-ptrace.h. - -2018-10-26 Pedro Franco de Carvalho - - * configure.srv (ipa_ppc_linux_regobj): Add - powerpc-isa207-htm-vsx32l-ipa.o and - powerpc-isa207-htm-vsx64l-ipa.o. - (powerpc*-*-linux*): Add powerpc-isa207-htm-vsx32l.o and - powerpc-isa207-htm-vsx64l.o to srv_regobj. Add - rs6000/power-htm-spr.xml, rs6000/power-htm-core.xml, - rs6000/power64-htm-core.xml, rs6000/power-htm-fpu.xml, - rs6000/power-htm-altivec.xml, rs6000/power-htm-vsx.xml, - rs6000/power-htm-ppr.xml, rs6000/power-htm-dscr.xml, - rs6000/power-htm-tar.xml, rs6000/powerpc-isa207-htm-vsx32l.xml, - and rs6000/powerpc-isa207-htm-vsx64l.xml to srv_xmlfiles. - * linux-ppc-tdesc-init.h (enum ppc_linux_tdesc) - : New enum value. - (init_registers_powerpc_isa207_htm_vsx32l) - (init_registers_powerpc_isa207_htm_vsx64l): Declare. - * linux-ppc-low.c (ppc_fill_tm_sprregset, ppc_store_tm_sprregset) - (ppc_store_tm_cgprregset, ppc_store_tm_cfprregset) - (ppc_store_tm_cvrregset, ppc_store_tm_cvsxregset) - (ppc_store_tm_cpprregset, ppc_store_tm_cdscrregset) - (ppc_store_tm_ctarregset): New functions. - (ppc_regsets): Add entries for HTM regsets. - (ppc_arch_setup): Set htm in features struct when needed. Set - sizes for the HTM regsets. - (ppc_get_ipa_tdesc_idx): Return PPC_TDESC_ISA207_HTM_VSX. - (initialize_low_arch): Call - init_registers_powerpc_isa207_htm_vsx32l and - init_registers_powerpc_isa207_htm_vsx64l. - * linux-ppc-ipa.c (get_ipa_tdesc): Handle - PPC_TDESC_ISA207_HTM_VSX. - (initialize_low_tracepoint): Call - init_registers_powerpc_isa207_htm_vsx32l and - init_registers_powerpc_isa207_htm_vsx64l. - -2018-10-26 Pedro Franco de Carvalho - - * configure.srv (powerpc*-*-linux*): Add rs6000/power-ebb.xml and - rs6000/power-linux-pmu.xml to srv_xmlfiles. - * linux-ppc-low.c (ppc_store_ebbregset, ppc_fill_pmuregset) - (ppc_store_pmuregset): New functions. - (ppc_regsets): Add entries for ebb and pmu regsets. - (ppc_arch_setup): Set isa207 in features struct if the ebb and - pmu regsets are available. Set sizes for these regsets. - -2018-10-26 Pedro Franco de Carvalho - - * configure.srv (ipa_ppc_linux_regobj): Add - powerpc-isa207-vsx64l-ipa.o and powerpc-isa207-vsx32l-ipa.o. - (powerpc*-*-linux*): Add powerpc-isa207-vsx32l.o and - powerpc-isa207-vsx64l.o to srv_regobj, add rs6000/power-tar.xml, - rs6000/powerpc-isa207-vsx32l.xml, and - rs6000/powerpc-isa207-vsx64l.xml to srv_xmlfiles. - * linux-ppc-tdesc-init.h (enum ppc_linux_tdesc) - : New enum value. - (init_registers_powerpc_isa207_vsx32l): Declare. - (init_registers_powerpc_isa207_vsx64l): Declare. - * linux-ppc-low.c (ppc_fill_tarregset): New function. - (ppc_store_tarregset): New function. - (ppc_regsets): Add entry for the TAR regset. - (ppc_arch_setup): Set isa207 in features struct when needed. Set - size for the TAR regsets. - (ppc_get_ipa_tdesc_idx): Return PPC_TDESC_ISA207_VSX. - (initialize_low_arch): Call init_registers_powerpc_isa207_vsx32l - and init_registers_powerpc_isa207_vsx64l. - * linux-ppc-ipa.c (get_ipa_tdesc): Handle PPC_TDESC_ISA207_VSX. - (initialize_low_tracepoint): Call - init_registers_powerpc_isa207_vsx32l and - init_registers_powerpc_isa207_vsx64l. - -2018-10-26 Edjunior Barbosa Machado - Pedro Franco de Carvalho - - * configure.srv (ipa_ppc_linux_regobj): Add - powerpc-isa205-ppr-dscr-vsx32l-ipa.o and - powerpc-isa205-ppr-dscr-vsx64l-ipa.o. - (powerpc*-*-linux*): Add powerpc-isa205-ppr-dscr-vsx32l.o and - powerpc-isa205-ppr-dscr-vsx64l.o to srv_regobj, add - rs6000/power-dscr.xml, rs6000/power-ppr.xml, - rs6000/powerpc-isa205-ppr-dscr-vsx32l.xml and - rs6000/powerpc-isa205-ppr-dscr-vsx64l.xml to srv_xmlfiles. - * linux-ppc-tdesc-init.h (enum ppc_linux_tdesc) - : New enum value. - (init_registers_powerpc_isa205_ppr_dscr_vsx32l) - (init_registers_powerpc_isa205_ppr_dscr_vsx64l): Declare. - * linux-ppc-low.c: Include "elf/common.h" and . - (ppc_hwcap): Add comment. - (ppc_hwcap2): New global. - (ppc_check_regset, ppc_fill_pprregset, ppc_store_pprregset) - (ppc_fill_dscrregset, ppc_store_dscrregset): New functions. - (ppc_regsets): Add entries for the DSCR and PPR regsets. - (ppc_arch_setup): Get AT_HWCAP2. Set ppr_dscr in features struct - when needed. Set sizes for the the DSCR and PPR regsets. - (ppc_get_ipa_tdesc_idx): Return PPC_TDESC_ISA205_PPR_DSCR_VSX. - (initialize_low_arch): Call - init_registers_powerpc_isa205_ppr_dscr_vsx32l and - init_registers_powerpc_isa205_ppr_dscr_vsx64l. - * linux-ppc-ipa.c (get_ipa_tdesc): Handle - PPC_TDESC_ISA205_PPR_DSCR_VSX. - (initialize_low_tracepoint): Call - init_registers_powerpc_isa205_ppr_dscr_vsx32l and - init_registers_powerpc_isa205_ppr_dscr_vsx64l. - -2018-10-26 Pedro Franco de Carvalho - - * linux-ppc-low.c (ppc_fill_vrregset): Remove memset calls. - -2018-10-10 Sergio Durigan Junior - Simon Marchi - - * acinclude.m4: Include "../selftest.m4". - * configure: Regenerate. - * configure.ac: Use "GDB_AC_SELFTEST". - * configure.srv: Use "$enable_unittests" instead of - "$development" when checking whether unit tests have been - enabled. - * server.c (captured_main): Update message informing that - selftests have been disabled. - -2018-10-04 Tom Tromey - - * configure: Rebuild. - -2018-10-04 Tom Tromey - - * server.c (handle_status): Rename inner "thread". - (process_serial_event): Declare "res" in 'm' case. - * linux-low.c (last_thread_of_process_p, find_lwp_pid) - (iterate_over_lwps): Rename inner "thread". - (linux_qxfer_libraries_svr4): Rename inner "len". - * gdbthread.h (find_thread_in_random): Rename inner "thread". - -2018-10-01 Gary Benson - - * gdb_proc_service.h: Moved common code to - common/gdb_proc_service.h. - -2018-10-01 Gary Benson - - * gdb_proc_service.h: Synchronize comments and whitespace with - GDB's version of this file. - -2018-09-25 Tom Tromey - - * configure: Rebuild. - * configure.ac (WARN_CFLAGS): Don't remove -Wmissing-prototypes. - -2018-09-16 Simon Marchi - - * Makefile.in (gdbserver$(EXEEXT)): Sort OBS. - (gdbreplay$(EXEEXT)): Sort GDBREPLAY_OBS. - ($(IPA_LIB)): Sort IPA_OBJS. - -2018-09-16 Simon Marchi - - * Makefile.in: Remove references to $(ADD_DEPS). - -2018-09-16 Tom Tromey - - * remote-utils.c (remote_open): Use GNU style for metasyntactic - variables. - * gdbreplay.c (gdbreplay_usage): Use GNU style for metasyntactic - variables. - -2018-09-05 Tom Tromey - - * configure: Rebuild. - -2018-08-28 Simon Marchi - - PR build/23399 - * tracepoint.c (IPA_SYM_STRUCT_NAME): Define. - -2018-08-27 Tom Tromey - - PR build/23087: - * configure: Rebuild. - -2018-08-27 Tom Tromey - - * linux-s390-low.c (s390_emit_ext, s390_emit_litpool) - (s390_emit_const, s390_emit_reg, s390_emit_zero_ext) - (s390_emit_stack_adjust, s390_emit_set_r2, s390x_emit_ext) - (s390x_emit_const, s390x_emit_reg, s390x_emit_zero_ext) - (s390x_emit_stack_adjust): Add casts to unsigned char. - -2018-08-22 Simon Marchi - - PR gdb/23374 - PR gdb/23375 - * server.h (struct client_state) : - Initialize to 1. - -2018-07-22 Simon Marchi - - * linux-mips-low.c (mips_collect_ptrace_register): Remove unused - variable. - (mips_supply_ptrace_register): Likewise. - -2018-07-22 Tom Tromey - - * configure: Rebuild. - -2018-07-22 Tom Tromey - - * win32-low.c (win32_create_inferior): Remove unused variables. - * gdbreplay.c (remote_open): Remove unused variable. - * remote-utils.c (remote_prepare): Remove unused variable. - * x86-tdesc.h (X86_TDESC_H): Define. - (amd64_expedite_regs): Define conditionally. - (i386_expedite_regs): Mark ATTRIBUTE_UNUSED. - * linux-x86-tdesc.c (i386_tdescs): Move inside #if. - * remote-utils.c (readchar): Remove unused variable. - -2018-07-13 Pedro Alves - - * linux-low.c (linux_kill): Change parameter to process_info - pointer instead of pid. Adjust. - * lynx-low.c (lynx_kill): Likewise. - * nto-low.c (nto_kill): Likewise. - * spu-low.c (spu_kill): Likewise. - * win32-low.c (win32_kill): Likewise. - * server.c (handle_v_kill, kill_inferior_callback) - (detach_or_kill_for_exit): Adjust. - * target.c (kill_inferior): Change parameter to process_info - pointer instead of pid. Adjust. - * target.h (struct target_ops) : Change parameter to - process_info pointer instead of pid. Adjust all implementations - and callers. - (kill_inferior): Likewise. - -2018-07-13 Pedro Alves - - * linux-low.c (linux_detach, linux_join): Change parameter to - process_info pointer instead of pid. Adjust. - * lynx-low.c (lynx_detach, lynx_join): Likewise. - * nto-low.c (nto_detach): Likewise. - * spu-low.c (spu_detach, spu_join): Likewise. - * win32-low.c (win32_detach, win32_join): Likewise. - * server.c (handle_detach, detach_or_kill_for_exit): Adjust. - * target.h (struct target_ops) : Change parameter to - process_info pointer instead of pid. Adjust all implementations - and callers. - (detach_inferior, join_inferior): Rename 'pid' parameter to - 'proc'. - -2018-07-11 Sergio Durigan Junior - Jan Kratochvil - Paul Fertser - Tsutomu Seki - - * Makefile.in (SFILES): Add '$(srcdir)/common/netstuff.c'. - (OBS): Add 'common/netstuff.o'. - (GDBREPLAY_OBS): Likewise. - * gdbreplay.c: Include 'wspiapi.h' and 'netstuff.h'. - (remote_open): Implement support for IPv6 - connections. - * remote-utils.c: Include 'netstuff.h', 'filestuff.h' - and 'wspiapi.h'. - (handle_accept_event): Accept connections from IPv6 sources. - (remote_prepare): Handle IPv6-style hostnames; implement - support for IPv6 connections. - (remote_open): Implement support for printing connections from - IPv6 sources. - -2018-07-11 Pedro Alves - - PR gdb/23377 - * mem-break.c (any_persistent_commands): Add process_info - parameter and use it instead of relying on the current process. - Change return type to bool. - * mem-break.h (any_persistent_commands): Add process_info - parameter and change return type to bool. - * server.c (handle_detach): Remove require_running_or_return call. - Look up the process_info for the process we're about to detach. - If not found, return back error to GDB. Adjust - any_persistent_commands call to pass down a process pointer. - -2018-07-11 Pedro Alves - - * i387-fp.c (i387_cache_to_fsave, cache_to_fxsave) - (i387_cache_to_xsave): Use regcache_raw_get_unsigned_by_name - instead of collect_register_by_name. - * regcache.c (regcache_raw_get_unsigned_by_name): New. - * regcache.h (regcache_raw_get_unsigned_by_name): New. - -2018-07-04 Vyacheslav Barinov - Pedro Alves - - * linux-low.c (initialize_low): Call linux_proc_init_warnings. - -2018-07-03 Tom Tromey - - * linux-low.c: Update. - * lynx-low.c: Update. - * mem-break.c: Update. - * nto-low.c: Update. - * remote-utils.c: Update. - * server.c: Update. - * spu-low.c: Update. - * target.c: Update. - * win32-low.c: Update. - -2018-07-03 Tom Tromey - - * server.c: Update. - -2018-07-03 Tom Tromey - - * linux-low.c: Update. - -2018-07-03 Tom Tromey - - * target.c: Update. - -2018-07-03 Tom Tromey - - * linux-low.c: Update. - * linux-mips-low.c: Update. - * lynx-low.c: Update. - * nto-low.c: Update. - * remote-utils.c: Update. - * server.c: Update. - * spu-low.c: Update. - * target.c: Update. - * thread-db.c: Update. - -2018-07-03 Tom Tromey - - * linux-low.c: Update. - * linux-mips-low.c: Update. - * lynx-low.c: Update. - * mem-break.c: Update. - * nto-low.c: Update. - * remote-utils.c: Update. - * server.c: Update. - * spu-low.c: Update. - * target.c: Update. - * tracepoint.c: Update. - -2018-07-03 Tom Tromey - - * linux-low.c: Update. - * linux-ppc-low.c: Update. - * linux-x86-low.c: Update. - * proc-service.c: Update. - * server.c: Update. - * spu-low.c: Update. - * thread-db.c: Update. - * win32-low.c: Update. - -2018-07-03 Tom Tromey - - * linux-low.c: Update. - * lynx-low.c: Update. - * nto-low.c: Update. - * remote-utils.c: Update. - * spu-low.c: Update. - * thread-db.c: Update. - * win32-low.c: Update. - -2018-06-29 Joel Brobecker - - * linux-x86-tdesc.c (amd64_linux_read_description): Add missing - parameter in call to 'amd64_create_target_description'. - -2018-06-28 Jan Kratochvil - - * x86-tdesc.h: Remove executable permission flag. - -2018-06-19 Simon Marchi - - * configure.ac: Remove AC_PREREQ, add missing quoting. - * configure: Re-generate. - * config.in: Re-generate. - * aclocal.m4: Re-generate. - -2018-06-18 Simon Marchi - - * tracepoint.h (current_traceframe): Remove declaration. - -2018-06-18 Alan Hayward - - * linux-aarch64-low.c (is_sve_tdesc): New function. - (aarch64_sve_regs_copy_to_regcache): Likewise. - (aarch64_sve_regs_copy_from_regcache): Likewise. - (aarch64_regs_info): Add SVE checks. - (initialize_low_arch): Initialize SVE. - -2018-06-18 Alan Hayward - - * Makefile.in: Add aarch64-sve-linux-ptrace.c. - -2018-06-11 Alan Hayward - - * linux-aarch64-ipa.c (get_ipa_tdesc): Add null VQ param. - (initialize_low_tracepoint): Likewise - * linux-aarch64-low.c (aarch64_arch_setup): Get VQ. - * linux-aarch64-tdesc-selftest.c (aarch64_tdesc_test): Add null VQ - param. - * linux-aarch64-tdesc.c (aarch64_linux_read_description): Add VQ - checks. - * linux-aarch64-tdesc.h (aarch64_linux_read_description): Add VQ. - -2018-06-11 Alan Hayward - - * server.h (PBUFSIZ): Increase size - -2018-06-11 Alan Hayward - - * regcache.c (regcache::raw_compare): New function. - * regcache.h (regcache::raw_compare): New declaration. - -2018-06-11 Alan Hayward - - * regcache.c (new_register_cache): Use new. - (free_register_cache): Use delete. - (register_data): Use const. - (supply_register): Move body inside regcache. - (regcache::raw_supply): New override function. - (collect_register): Move body inside regcache. - (regcache::raw_collect): New override function. - (regcache::get_register_status): New override function. - * regcache.h (struct regcache): Inherit from reg_buffer_common. - -2018-06-09 Tom Tromey - - * event-loop.c (gdb_event, gdb_event_p): Remove typedefs. Don't - declare queue. - (event_queue): Use std::queue. - (gdb_event_xfree): Remove. - (initialize_event_loop, process_event, wait_for_event): Update. - -2018-06-08 Stan Cox - - * win32-low.c (win32_create_inferior): last_ptid and last_status - moved to client_state. - -2018-06-08 Pedro Alves - - * Makefile.in (GDBREPLAY_OBS): Add common/cleanups.o, - common/common-exceptions.o, common/common-utils.o, - common/errors.o, common/print-utils.o and utils.o. - * gdbreplay.c: Include "common-defs.h" instead of the two - 'config.h's here. Don't include stdio.h, errno.h, stdlib.h, - string.h or alloca.h. - (perror_with_name): Delete. - (remote_open): Use xstrdup instead of strdup. - (main): Rename to ... - (captured_main): ... this. - (main): New. - -2018-06-08 Tom Tromey - - * linux-low.c (linux_low_read_btrace): Update. - -2018-06-04 Stan Cox - - * server.h (struct client_state): New. - * server.c (cont_thread, general_thread, multi_process) - (report_fork_events, report_vfork_events, report_exec_events) - (report_thread_events, swbreak_feature, hwbreak_feature) - (vCont_supported, disable_randomization, pass_signals) - (program_signals, program_signals_p, last_status, last_ptid, own_buf): - Moved to client_state. - * remote-utils.c (remote_debug, noack_mode) - (transport_is_reliable): Moved to client_state. - * tracepoint.c (current_traceframe): Moved to client_state. - - Update all callers. - * server.c, remote-utils.c, tracepoint.c, fork-child.c, - linux-low.c, remote-utils.h, target.c: Use client_state. - -2018-05-31 Alan Hayward - - * configure.srv: Add new c/h file. - -2018-05-31 Alan Hayward - - * linux-aarch64-tdesc.c (aarch64_linux_read_description): Add - null VQ. - -2018-05-25 Maciej W. Rozycki - - * gdb.arch/mips-fpregset-core.exp: New test. - * gdb.arch/mips-fpregset-core.c: New test source. - -2018-05-23 Erik Kurzinger - - PR server/23198 - * hostio.c (require_int): Do not report overflow for integers - between 0xfffffff and 0x7fffffff. - -2018-05-22 Maciej W. Rozycki - - * linux-mips-low.c [HAVE_PTRACE_GETREGS] (mips_collect_register) - (mips_supply_register): Move outside HAVE_PTRACE_GETREGS. - (mips_collect_ptrace_register, mips_supply_ptrace_register): New - functions. - (the_low_target): Wire them. - -2018-05-22 Pedro Franco de Carvalho - - * linux-ppc-low.c (ppc_fill_vrregset): Add vscr_offset variable. - Set vscr_offset to 0 in little-endian mode and 12 in big-endian - mode. Call collect_register_by_name with vscr using - vscr_offset. Zero-pad vscr and vrsave fields in collector buffer. - (ppc_store_vrregset): Add and set vscr_offset variable as in - ppc_fill_vrregset. Call supply_register_by_name with vscr using - vscr_offset. - -2018-05-22 Pedro Franco de Carvalho - - * linux-ppc-low.c (SIZEOF_VSXREGS, SIZEOF_VRREGS): Remove. - (ppc_arch_setup): Change SIZEOF_VRREGS and SIZEOF_VSXREGS to - PPC_LINUX_SIZEOF_VRREGSET and PPC_LINUX_SIZEOF_VSXREGSET. - -2018-05-22 Pedro Franco de Carvalho - - * linux-ppc-low.c (ppc_fill_vsxregset): Remove ppc_hwcap check. - (ppc_store_vsxregset): Likewise. - (ppc_fill_vrregset): Likewise. - (ppc_store_vrregset): Likewise. - (ppc_fill_evrregset): Likewise. - (ppc_store_evrregset): Likewise. - (ppc_regsets): Set VSX/VR/EVR regset sizes to 0. - (ppc_arch_setup): Iterate through ppc_regsets and set sizes when - needed. - -2018-05-22 Pedro Franco de Carvalho - - * linux-ppc-low.c (ppc_arch_setup): Remove code for getting the - wordsize of the inferior. Call ppc_linux_target_wordsize. - -2018-05-22 Pedro Franco de Carvalho - - * configure.srv (srv_tgtobj): Add arch/ppc-linux-common.o. - * Makefile.in (SFILES): Add arch/ppc-linux-common.c. - * linux-ppc-tdesc.h: Rename to linux-ppc-tdesc-init.h. - * linux-ppc-tdesc-init.h (tdesc_powerpc_32l, tdesc_powerpc_64l) - (tdesc_powerpc_altivec32l, tdesc_powerpc_altivec64l) - (tdesc_powerpc_cell32l, tdesc_powerpc_cell64l) - (tdesc_powerpc_vsx32l, tdesc_powerpc_vsx64l) - (tdesc_powerpc_isa205_32l, tdesc_powerpc_isa205_64l) - (tdesc_powerpc_isa205_altivec32l, tdesc_powerpc_isa205_altivec64l) - (tdesc_powerpc_isa205_vsx32l, tdesc_powerpc_isa205_vsx64l) - (tdesc_powerpc_e500l): Remove. - * linux-ppc-ipa.c: Include arch/ppc-linux-tdesc.h and - linux-ppc-tdesc-init.h. Don't include linux-ppc-tdesc.h. - * linux-ppc-low.c: Include arch/ppc-linux-common.h, - arch/ppc-linux-tdesc.h, and linux-ppc-tdesc-init.h. Don't include - linux-ppc-tdesc.h. - (ppc_arch_setup): Remove target description matching code. Fill a - ppc_linux_features struct and call ppc_linux_match_description - with it. - -2018-05-22 Maciej W. Rozycki - - * linux-mips-low.c (mips_cannot_fetch_register): Return 1 if the - width of the requested register exceeds the width of the - `ptrace' data type. - (mips_cannot_store_register): Likewise. - -2018-05-21 Maciej W. Rozycki - - * linux-mips-low.c (mips_fetch_register): New function. Update - preceding comment. - (mips_store_gregset): Supply 0 rather than $restart for $zero. - (the_low_target): Wire `mips_fetch_register'. - -2018-05-10 Joel Brobecker - - * lynx-i386-low.c (LYNXOS_178): New macro. - [LYNXOS_178] (usr_fcontext_t): Provide a definition that matches - the layout on LynxOS-178. - (lynx_i386_fill_fpregset, lynx_i386_store_fpregset): Do not - handle floating point registers that are not supported by - LynxOS-178. - -2018-05-10 Tom Tromey - - * configure: Rebuild. - -2018-05-10 Joel Brobecker - - PR server/23158: - * tdesc.h (init_target_desc) : New parameter. - * tdesc.c (init_target_desc) : New parameter. - Use it to set the expedite_regs field in the given tdesc. - * x86-tdesc.h: New file. - * linux-aarch64-tdesc.c (aarch64_linux_read_description): - Adjust following the addition of the new expedite_regs parameter - to init_target_desc. - * linux-tic6x-low.c (tic6x_read_description): Likewise. - * linux-x86-tdesc.c: #include "x86-tdesc.h". - (i386_linux_read_description, amd64_linux_read_description): - Adjust following the addition of the new expedite_regs parameter - to init_target_desc. - * lynx-i386-low.c: #include "x86-tdesc.h". - (lynx_i386_arch_setup): Adjust following the addition of the new - expedite_regs parameter to init_target_desc. - * nto-x86-low.c: #include "x86-tdesc.h". - (nto_x86_arch_setup): Adjust following the addition of the new - expedite_regs parameter to init_target_desc. - * win32-i386-low.c: #include "x86-tdesc.h". - (i386_arch_setup): Adjust following the addition of the new - expedite_regs parameter to init_target_desc. - -2018-05-10 Joel Brobecker - - PR server/23158: - * win32-low.c (win32_create_inferior): Add call to my_wait - setting last_status global. - -2018-05-10 Joel Brobecker - - PR server/23158: - * win32-low.c (create_process): Only call gdb_tilde_expand if - inferior_cwd is not NULL. - -2018-05-08 Andrew Burgess - - * i387-fp.c (i387_cache_to_xsave): Only write x87 control - registers to the cache if their values have changed. - (i387_xsave_to_cache): Provide default values for x87 control - registers when these features are available, but disabled. - * regcache.c (supply_register_by_name_zeroed): New function. - * regcache.h (supply_register_by_name_zeroed): Declare new - function. - -2018-05-07 Tom Tromey - - * configure: Rebuild. - -2018-05-04 Tom Tromey - - * configure: Rebuild. - -2018-05-04 Jan Kratochvil - Pedro Alves - - * linux-aarch64-low.c (aarch64_stopped_data_address): - Likewise. - -2018-04-27 Tom Tromey - - * configure: Rebuild. - -2018-04-23 Tom Tromey - - * configure: Rebuild. - -2018-04-19 Simon Marchi - - * Makefile.in (depcomp): Add "..". - (all_deps_files): New and use it. - -2018-04-18 Alan Hayward - - * configure.srv (aarch64*-*-linux*): Don't include xml. - (i[34567]86-*-cygwin*): Likewise. - (i[34567]86-*-linux*): Likewise. - (i[34567]86-*-lynxos*): Likewise. - (i[34567]86-*-mingw32ce*): Likewise. - (i[34567]86-*-mingw*): Likewise. - (i[34567]86-*-nto*): Likewise. - (tic6x-*-uclinux): Likewise. - (x86_64-*-linux*): Likewise. - (x86_64-*-mingw*): Likewise. - (x86_64-*-cygwin*): Likewise. - -2018-04-18 Alan Hayward - - * tdesc.c: Remove xml parameter. - -2018-04-18 Alan Hayward - - * server.c (get_features_xml): Remove cast. - * tdesc.c (void target_desc::accept): Fill in function. - (tdesc_get_features_xml): Remove old xml creation. - (print_xml_feature::visit_pre): Add xml vistor. - * tdesc.h (struct target_desc): Make xmltarget mutable. - (tdesc_get_features_xml): Remove declaration. - -2018-04-18 Alan Hayward - - * tdesc.c (tdesc_architecture_name): Add new function. - (tdesc_osabi_name): Likewise. - (tdesc_get_features_xml): Use new functions. - -2018-04-18 Alan Hayward - - * tdesc.c (tdesc_create_flags): Remove. - (tdesc_add_flag): Likewise. - (tdesc_named_type): Likewise. - (tdesc_create_union): Likewise. - (tdesc_create_struct): Likewise. - (tdesc_create_vector): Likewise. - (tdesc_add_bitfield): Likewise. - (tdesc_add_field): Likewise. - (tdesc_set_struct_size): Likewise. - -2018-04-18 Alan Hayward - - * tdesc.c (~target_desc): Remove implictly deleted items. - (init_target_desc): Iterate all features. - (tdesc_get_features_xml): Use vector. - (tdesc_create_feature): Create feature. - * tdesc.h (tdesc_feature) Remove - (target_desc): Add features. - -2018-04-18 Alan Hayward - - * Makefile.in: Add common/tdesc.c - * tdesc.c (init_target_desc): init all reg_defs from register - vector. - (tdesc_create_reg): Create tdesc_reg. - * tdesc.h (tdesc_feature): Add register vector. - -2018-03-30 Simon Marchi - - * tdesc.h (struct target_desc) : Change type to - std::vector. - * tdesc.c (target_desc::~target_desc): Adjust to std::vector - changes. - (tdesc_get_features_xml): Likewise. - (tdesc_create_feature): Likewise. - -2018-03-26 Alan Hayward - - * regcache.c (find_register_by_number): Return a ref. - (find_regno): Use references. - (register_size): Likewise. - (register_data): Likewise. - * tdesc.c (target_desc::~target_desc): Remove free calls. - (target_desc::operator==): Use std::vector compare. - (init_target_desc): Use reference. - (tdesc_create_reg): Use reg constructors. - * tdesc.h (struct target_desc): Replace pointer with object. - -2018-03-23 Alan Hayward - - * regcache.c (find_register_by_number): Make static. - (find_regno): Use find_register_by_number - * regcache.h (struct reg): Remove declaration. - -2018-03-23 Alan Hayward - - * tdesc.c (target_desc::~target_desc): Move to here. - (target_desc::operator==): Likewise. - * tdesc.h (target_desc::~target_desc): Move from here. - (target_desc::operator==): Likewise. - -2018-03-22 Andreas Arnez - - * linux-s390-low.c (s390_get_wordsize): Correct brace style. - -2018-03-21 Andreas Arnez - - * linux-s390-ipa.c (get_ipa_tdesc): Add handling for - S390_TDESC_GS. - * linux-s390-low.c (s390_get_ipa_tdesc_idx): Likewise. - (initialize_low_tracepoint): Call init_registers_s390x_gs_linux64 - and init_registers_s390_gs_linux64. - -2018-03-21 Andreas Arnez - - * linux-s390-low.c (s390_fill_gs): Remove function. - (s390_fill_gsbc): Remove function. - (s390_regsets): Set fill functions for the guarded storage regsets - to NULL. - -2018-03-21 Andreas Arnez - - * linux-s390-low.c (s390_get_hwcap): Replace tdesc parameter by - the word size. Add comment. - (s390_get_wordsize): New function. - (s390_arch_setup): No longer select a temporary tdesc to fetch the - pswm with it. Instead, use s390_get_wordsize to determine the - word size first and derive the correct tdesc from that directly. - -2018-03-16 Simon Marchi - - * Makefile.in: Include silent-rules.mk. - (srcdir, abs_top_srcdir, abs_srcdir, VPATH): Move up. - (COMPILE): Add ECHO_CXX. - (gdbserver$(EXEEXT)): Add SILENCE and ECHO_CXXLD. - (gdbreplay$(EXEEXT)): Add SILENCE and ECHO_CXXLD. - ($(IPA_LIB)): Add SILENCE and ECHO_CXXLD. - (version-generated.c): Add ECHO_GEN. - (stamp-xml): Add SILENCE and ECHO_GEN_XML_BUILTIN_GENERATED. - (IPAGENT_COMPILE): Add ECHO_CXX. - (%-generated.c): Add ECHO_REGDAT. - -2018-03-14 Tom Tromey - - PR cli/14977: - * ax.c (ax_printf): Special case for NULL. - -2018-03-08 Simon Marchi - - * linux-low.c (linux_qxfer_libraries_svr4): Use - xml_escape_text_append. - -2018-03-08 Simon Marchi - - * linux-low.c (linux_qxfer_libraries_svr4): Use std::string. - -2018-03-02 Simon Marchi - - * server.c (handle_general_set): Remove unnecessary xstrdup. - -2018-03-02 Simon Marchi - - * server.c (parse_debug_format_options): Adjust to - delim_string_to_char_ptr_vec changes. - * thread-db.c (thread_db_load_search): Adjust to - dirnames_to_char_ptr_vec changes. - -2018-03-01 Markus Metzger - - * target.h (target_enable_btrace, target_disable_btrace) - (target_read_btrace, target_read_btrace_conf): Turn macro into - inline function. Throw error if target method is not defined. - * server.c (handle_qxfer_btrace handle_qxfer_btrace_conf): Remove - check for btrace target method. Be prepared to handle exceptions - from btrace target methods. - -2018-02-28 Sergio Durigan Junior - - * server.c (captured_main): Change order of error message printed - when the current working directory cannot be found. - -2018-02-28 Sergio Durigan Junior - - * server.c: Include "filenames.h" and "pathstuff.h". - (program_name): Delete variable. - (program_path): New anonymous class. - (get_exec_wrapper): Use "program_path" instead of - "program_name". - (handle_v_run): Likewise. - (captured_main): Likewise. - (process_serial_event): Likewise. - -2018-02-28 Sergio Durigan Junior - - * Makefile.in (SFILES): Add "$(srcdir)/common/pathstuff.c". - (OBJS): Add "pathstuff.o". - * server.c (current_directory): New global variable. - (captured_main): Initialize "current_directory". - -2018-02-26 Alan Hayward - - * tdesc.c: Use common/tdesc.h. - * tdesc.h: Likewise. - -2018-02-20 Alan Hayward - Simon Marchi - - * Makefile.in: Switch order of make rules. - -2018-02-19 Alan Hayward - - * Makefile.in: Add common directory in build. - * configure.ac: Add common reference. - * configure: Regenerate. - -2018-02-09 Markus Metzger - - * linux-low.c (linux_target_ops): Remove linux_supports_btrace. - * nto-low.c (nto_target_ops): Remove NULL for supports_btrace. - * spu-low.c (spu_target_ops): Likewise. - * win32-low.c (win32_target_ops): Likewise. - * server.c (supported_btrace_packets): Report packets unconditionally. - * target.h (target_ops) : Remove. - (target_supports_btrace): Remove. - -2018-02-09 Markus Metzger - - * server.c (handle_btrace_enable_bts, handle_btrace_enable_pt) - (handle_btrace_disable): Change return type to void. Use exceptions - to report errors. - (handle_btrace_general_set): Catch exception and copy message to - return message. - -2018-02-08 Tom Tromey - - * linux-low.c (install_software_single_step_breakpoints): Use - make_scoped_restore. - * inferiors.c (make_cleanup_restore_current_thread): Remove. - (do_restore_current_thread_cleanup): Remove. - * gdbthread.h (make_cleanup_restore_current_thread): Don't - declare. - -2018-02-08 Tom Tromey - - * mem-break.c (set_raw_breakpoint_at): Use - gdb::unique_xmalloc_ptr. - -2018-01-30 Pedro Alves - - PR gdb/13211 - * target.c (target_terminal::terminal_state): Rename to ... - (target_terminal::m_terminal_state): ... this. - -2018-01-19 James Clarke - - * linux-low.c (handle_extended_wait): Surround call to - thread_db_notice_clone with #ifdef USE_THREAD_DB. - -2018-01-17 Simon Marchi - - * linux-low.c (attach_proc_task_lwp_callback): Adjust to - linux_ptrace_attach_fail_reason_string now returning an - std::string. - (linux_attach): Likewise. - * thread-db.c (attach_thread): Likewise. - -2018-01-17 Eldar Abusalimov - - PR gdb/21559 - * configure.ac: Include prior to when - checking for fs_base/gs_base fields in struct user_regs_struct. - * configure: Regenerate. - -2018-01-16 Yao Qi - - PR gdb/18749 - * linux-low.c (fetch_register): Call supply_register instead of - error. - -2018-01-08 Yao Qi - Simon Marchi - - * Makefile.in (OBS): Remove selftest.o. - * configure.ac: Set srv_selftest_objs if $development is true. - (GDBSERVER_DEPFILES): Append $srv_selftest_objs. - * configure: Re-generated. - * server.c (captured_main): Wrap variable selftest_filter with - GDB_SELF_TEST. - -2018-01-07 Simon Marchi - - * server.c (parse_debug_format_options): Return std::string. - (handle_monitor_command, captured_main): Adjust. - -2018-01-05 Pedro Alves - - PR gdb/18653 - * server.c (captured_main): Pass quiet=false to - save_original_signals_state. - -2018-01-01 Joel Brobecker - - * gdbreplay.c (gdbreplay_version): Update copyright year in - version message. - * server.c (gdbserver_version): Likewise. - -2017-12-08 Tom Tromey - - * ax.c (ax_printf): Update. - -2017-12-07 Yao Qi - - * linux-aarch64-ipa.c (initialize_low_tracepoint): Call - aarch64_linux_read_description. - * linux-amd64-ipa.c (idx2mask): New array. - (get_ipa_tdesc): Move idx2mask out. - (initialize_low_tracepoint): Initialize target descriptions. - * linux-i386-ipa.c (idx2mask): New array. - (get_ipa_tdesc): Move idx2mask out. - (initialize_low_tracepoint): Initialize target descriptions. - -2017-12-05 Simon Marchi - - * tdesc.c (struct tdesc_type): Change return type. - (tdesc_add_flag): Change parameter type. - (tdesc_add_bitfield): Likewise. - (tdesc_add_field): Likewise. - (tdesc_set_struct_size): Likewise. - -2017-12-05 Simon Marchi - - * regcache.c (registers_to_string): Remove unused variable. - -2017-12-02 Simon Marchi - - * inferiors.c (for_each_inferior_with_data): Remove. - * inferiors.h (for_each_inferior_with_data): Remove. - * server.c (handle_qxfer_threads_worker): Change parameter type. - (handle_qxfer_threads_proper): Use for_each_thread. - -2017-12-02 Simon Marchi - - * inferiors.c (for_each_inferior): Remove. - (clear_inferiors): Use for_each_thread. - * inferiors.h (for_each_inferior): Remove. - * linux-low.c (linux_wait_for_event_filtered): Use - for_each_thread. - (linux_stabilize_threads): Likewise. - * regcache.c (regcache_release): Likewise. - * server.c (gdb_wants_all_threads_stopped): Likewise. - (clear_pending_status_callback): Remove. - (handle_status): Use for_each_thread. - (captured_main): Likewise. - * win32-low.c (child_init_thread_list): Likewise. - (win32_clear_inferiors): Likewise. - (fake_breakpoint_event): Likewise. - -2017-12-02 Simon Marchi - - * inferiors.h (find_inferior): Remove. - * inferiors.c (find_inferior): Remove. - -2017-12-02 Simon Marchi - - * linux-low.c (resume_status_pending_p): Update comment. - (need_step_over_p): Update comment. - -2017-12-02 Simon Marchi - - * linux-low.c (proceed_one_lwp): Return void, change parameter - type. - (unsuspend_and_proceed_one_lwp): Likewise. - (proceed_all_lwps): Use for_each_thread. - (unstop_all_lwps): Likewise. - -2017-12-02 Simon Marchi - - * linux-low.c (linux_resume_one_thread): Return void, take - parameter directly. - (linux_resume): Use for_each_thread. - -2017-12-02 Simon Marchi - - * linux-low.c (send_sigstop_callback): Return void, change - parameter type. Rename to... - (send_sigstop): ... this. - (suspend_and_send_sigstop_callback): Return void, change parameter - type. Rename to... - (suspend_and_send_sigstop): ... this. - (stop_all_lwps): Use for_each_thread. - -2017-12-02 Simon Marchi - - * linux-low.c (lwp_running): Return bool, remove unused - argument. - (linux_stabilize_threads): Use find_thread. - -2017-12-02 Simon Marchi - - * linux-low.c (select_singlestep_lwp_callback): Remove. - (count_events_callback): Remove. - (select_event_lwp_callback): Remove. - (select_event_lwp): Use find_thread/for_each_thread. - -2017-12-02 Simon Marchi - - * linux-low.c (not_stopped_callback): Return bool, take filter - argument directly. - (linux_wait_for_event_filtered): Use find_thread. - (linux_wait_1): Likewise. - -2017-12-02 Simon Marchi - - * linux-low.c (same_lwp): Remove. - (find_lwp_pid): Use find_thread. - -2017-12-02 Simon Marchi - - * linux-low.c (delete_lwp_callback): Remove. - (linux_mourn): Use for_each_thread. - -2017-12-02 Simon Marchi - - * linux-low.c (linux_detach_lwp_callback): Return void, remove - args parameter, don't check for pid. - (linux_detach): Use for_each_thread. - -2017-12-02 Simon Marchi - - * linux-low.c (struct counter): Remove. - (second_thread_of_pid_p): Remove. - (last_thread_of_process_p): Use find_thread. - -2017-12-02 Simon Marchi - - * inferiors.c (find_inferior_in_random): Remove. - * inferiors.h (find_inferior_in_random): Remove. - * linux-low.c (status_pending_p_callback): Return bool, accept - parameter ptid directly. - (linux_wait_for_event_filtered): Use find_thread_in_random. - (linux_wait_1): Likewise. - -2017-12-02 Simon Marchi - - * inferiors.c (find_inferior_id): Remove. - (find_thread_ptid): Move implemention from find_inferior_id to - here. - * inferiors.h (find_inferior_id): Remove. - * server.c (handle_status): Use find_thread_ptid. - (process_serial_event): Likewise. - * thread-db.c (find_one_thread): Likewise. - (thread_db_thread_handle): Likewise. - * win32-low.c (thread_rec): Likewise. - (child_delete_thread): Likewise. - (win32_thread_alive): Likewise. - (get_child_debug_event): Likewise. - -2017-12-02 Simon Marchi - - * linux-mips-low.c (update_watch_registers_callback): Return - void, remove pid_p parameter, don't check for pid. - (mips_insert_point, mips_remove_point): Use for_each_thread. - -2017-12-02 Simon Marchi - - * lynx.low (lynx_delete_thread_callback): Remove. - (lynx_mourn): Use for_each_thread. - -2017-12-02 Simon Marchi - - * regcache.c (regcache_invalidate_one): Remove. - (regcache_invalidate_pid): use for_each_thread. - -2017-11-26 Tom Tromey - - * linux-low.c (linux_create_inferior): Update. - -2017-11-24 Ulrich Weigand - - * spu-low.c (spu_create_inferior): Fix typo in argument name. - -2017-11-24 Alan Hayward - - * configure.srv: Add linux-aarch64-tdesc-selftest.o. - * linux-aarch64-low.c (initialize_low_arch): Call init func. - * linux-aarch64-tdesc-selftest.c: New file. - * linux-aarch64-tdesc.h (initialize_low_tdesc): New declaration. - -2017-11-24 Alan Hayward - - * configure.srv: Add new file. - * linux-aarch64-low.c (initialize_low_arch): Call init func. - * linux-aarch64-tdesc-selftest.c: New file. - * linux-aarch64-tdesc.h (initialize_low_tdesc): New declaration. - -2017-11-24 Alan Hayward - - * linux-aarch64-ipa.c (initialize_low_tracepoint): Remove init. - * linux-aarch64-low.c (initialize_low_arch): Remove init. - * linux-aarch64-tdesc.c (aarch64_linux_read_description): Add init. - -2017-11-24 Alan Hayward - - * configure.srv: Add new files. - * linux-aarch64-ipa.c (get_ipa_tdesc): Call - aarch64_linux_read_description. - * linux-aarch64-low.c (aarch64_linux_read_description): - Merge with aarch64_arch_setup. - (aarch64_arch_setup): Call aarch64_linux_read_description. - * linux-aarch64-tdesc.c: New file. - * linux-aarch64-tdesc.h: New file. - -2017-11-24 Yao Qi - - * configure.srv: Set $srv_regobj for tic6x-linux. - * linux-tic6x-low.c: Include "arch/tic6x.h" and "tdesc.h". - (tic6x_read_description): Move some code to tic6x_arch_setup. - (tic6x_tdesc_test): New function. - (initialize_low_arch): Call selftests::register_test. - -2017-11-22 Yao Qi - - * remote-utils.c (prepare_resume_reply): Use memcpy. - -2017-11-19 Simon Marchi - - * linux-low.c (kill_one_lwp_callback): Return void, take - argument directly, don't filter on pid. - (linux_kill): Use for_each_thread. - -2017-11-19 Simon Marchi - - * linux-low.c (need_step_over_p): Return bool, remove dummy - argument. - (linux_resume, proceed_all_lwps): Use find_thread. - -2017-11-19 Simon Marchi - - * linux-low.c (resume_status_pending_p): Return bool, remove - flag_p argument. - (linux_resume): Use find_thread. - -2017-11-19 Simon Marchi - - * linux-low.c (struct thread_resume_array): Remove. - (linux_set_resume_request): Return void, take arguments - directly. - (linux_resume): Use for_each_thread. - -2017-11-19 Simon Marchi - - * linux-low.c (stuck_in_jump_pad_callback): Change prototype, - return bool, remove data argument. - (linux_stabilize_threads): Use find_thread. - -2017-11-19 Simon Marchi - - * linux-low.c (unsuspend_one_lwp): Remove. - (unsuspend_all_lwps): Use for_each_thread, inline code from - unsuspend_one_lwp. - -2017-11-19 Simon Marchi - - * gdbthread.h (find_thread): Add overload with ptid_t filter. - * linux-low.c (struct iterate_over_lwps_args): Remove. - (iterate_over_lwps_filter): Remove. - (iterate_over_lwps): Use find_thread. - -2017-11-19 Simon Marchi - - * linux-low.c (reset_lwp_ptrace_options_callback): Remove. - (linux_handle_new_gdb_connection): Use for_each_thread, inline - code from reset_lwp_ptrace_options_callback. - -2017-11-19 Simon Marchi - - * linux-arm-low.c (struct update_registers_data): Remove. - (update_registers_callback): Return void, take arguments - directly, don't check thread's pid. - (arm_insert_point, arm_remove_point): Use for_each_thread. - -2017-11-19 Simon Marchi - - * win32-low.c (continue_one_thread): Return void, take argument - directly. - (child_continue): Use for_each_thread. - -2017-11-19 Simon Marchi - - * win32-i386-low.c (update_debug_registers_callback): Rename - to ... - (update_debug_registers): ... this, return void, remove pid_p arg. - (x86_dr_low_set_addr, x86_dr_low_set_control): Use for_each_thread. - -2017-11-17 Simon Marchi - - * inferiors.h (struct process_info): Add constructor, initialize - fields.. - : Change type to std::vector. - * inferiors.c (add_process): Allocate process_info with new. - (remove_process): Free process_info with delete. - * linux-low.c (handle_extended_wait): Adjust. - (gdb_catching_syscalls_p, gdb_catch_this_syscall_p): Adjust. - * server.c (handle_general_set): Adjust. - -2017-11-16 Pedro Alves - - * remote-utils.c (remote_close): Block SIGIO signals instead of - uninstalling the SIGIO handler. - -2017-11-16 Alan Hayward - - * tdesc.c (tdesc_get_features_xml): Allow null osabi. - -2017-11-16 Yao Qi - - * linux-tic6x-low.c (tic6x_fill_gregset): Cast buf. - (tic6x_store_gregset): Likewise. - (tic6x_usrregs_info): Move it up. - -2017-11-15 Alan Hayward - - * Makefile.in: Update arch rules. - * configure.srv: Explicitly mark arch/ files. - -2017-11-13 Andreas Schwab - - * linux-m68k-low.c (m68k_supports_hardware_single_step): New - function. - (struct linux_target_ops) : Initialize. - -2017-11-06 Pedro Alves - - * config.in, configure: Regenerate. - -2017-10-27 Simon Marchi - - * target.c (struct thread_search): Remove. - (thread_search_callback): Remove. - (prepare_to_access_memory): Use for_each_thread instead of - find_inferior. Inline code from thread_search_callback. - -2017-10-27 Simon Marchi - - * server.c (struct visit_actioned_threads_data): Remove. - (visit_actioned_threads): Change prototype to take arguments - directly. - (resume): Use find_thread instead of find_inferior. - -2017-10-27 Simon Marchi - - * server.c (queue_stop_reply_callback): Change prototype, return - void. - (find_status_pending_thread_callback): Remove. - (handle_status): Replace find_inferior with find_thread and - for_each_thread. - -2017-10-25 Alan Hayward - - * linux-aarch64-low.c (aarch64_fill_gregset): Replace defines - with REGNO. - (aarch64_store_gregset): Likewise. - (aarch64_fill_fpregset): Likewise. - (aarch64_store_fpregset): Likewise. - -2017-10-21 Simon Marchi - - * gdbthread.h (find_thread, for_each_thread): New functions. - * inferiors.c (thread_of_pid): Remove. - (find_any_thread_of_pid): Use find_thread. - * linux-low.c (num_lwps): Use for_each_thread. - -2017-10-17 Yao Qi - - * Makefile.in: Remove one rule. - * configure.srv: Rename aarch64-insn.o with arch/aarch64-insn.o. - -2017-10-17 Yao Qi - - * configure.srv: Rename arm-linux.o with arch/arm-linux.o. - Rename arm-get-next-pcs.o with arch/arm-get-next-pcs.o. - -2017-10-17 Yao Qi - - * configure.srv: Rename arm.o with arch/arm.o. - -2017-10-17 Yao Qi - - * Makefile.in (CONFIG_SRC_SUBDIR): New variable. - (clean): Remove .o files in CONFIG_SRC_SUBDIR. - (distclean): Remove DEPDIR in CONFIG_SRC_SUBDIR. - (arch-i386.o, arch-amd64.o): Remove rules. - (arch/%.o): New rule. - Update POSTCOMPILE and COMPILE.pre. - * configure.ac: Invoke AC_CONFIG_COMMANDS. - * configure: Re-generated. - * configure.srv: Replace arch-i386.o with arch/i386.o. - Replace arch-amd64.o with arch/amd64.o. - -2017-10-16 Yao Qi - - * configure: Regenerated. - -2017-10-14 Simon Marchi - - * inferiors.h: (struct inferior_list): Remove. - (struct inferior_list_entry); Remove. - (add_inferior_to_list, clear_inferior_list, one_inferior_p, - A_I_NEXT, ALL_INFERIORS_TYPE, ALL_INFERIORS, remove_inferior, - get_first_inferior): Remove. - (for_each_inferior, for_each_inferior_with_data, find_inferior, - find_inferior_id, find_inferior_in_random): Change signature. - * inferiors.c (all_threads): Change type to - std::list. - (get_thread): Remove macro. - (find_inferior, find_inferior_id): Change signature, implement - using find_thread. - (find_inferior_in_random): Change signature, implement using - find_thread_in_random. - (for_each_inferior, for_each_inferior_with_data): Change - signature, implement using for_each_thread. - (add_inferior_to_list, remove_inferior): Remove. - (add_thread, get_first_thread, thread_of_pid, - find_any_thread_of_pid, free_one_thread, remove_thread): Update. - (get_first_inferior, one_inferior_p, clear_inferior_list): - Remove. - (clear_inferiors, get_thread_process): Update. - * gdbthread.h: Include . - (struct thread_info) : Remove field. - : New field. - (all_threads): Change type to std::list. - (get_first_inferior): Add doc. - (find_thread, for_each_thread, find_thread_in_random): New - functions. - (current_ptid, pid_of, ptid_of, lwpid_of): Update. - * linux-arm-low.c (update_registers_callback): Update. - * linux-low.c (second_thread_of_pid_p): Update. - (kill_one_lwp_callback, linux_detach_lwp_callback, - delete_lwp_callback, status_pending_p_callback, same_lwp, - find_lwp_pid, num_lwps, iterate_over_lwps_filter, - iterate_over_lwps, not_stopped_callback, - resume_stopped_resumed_lwps, count_events_callback, - select_singlestep_lwp_callback, select_event_lwp_callback, - unsuspend_one_lwp, linux_wait_1, send_sigstop_callback, - suspend_and_send_sigstop_callback, wait_for_sigstop, - stuck_in_jump_pad_callback, move_out_of_jump_pad_callback, - lwp_running, linux_set_resume_request, resume_status_pending_p, - need_step_over_p, start_step_over, linux_resume_one_thread, - proceed_one_lwp, unsuspend_and_proceed_one_lwp, - reset_lwp_ptrace_options_callback): Update. - * linux-mips-low.c (update_watch_registers_callback): Update. - * regcache.c (regcache_invalidate_one, regcache_invalidate): - Update. - (free_register_cache_thread_one): Remove. - (regcache_release): Update. - * server.c (handle_btrace_enable_bts, handle_btrace_enable_pt, - handle_qxfer_threads_worker): Update. - (handle_query): Update, use list iterator. - (visit_actioned_threads, handle_pending_status, - queue_stop_reply_callback, gdb_wants_all_threads_stopped, - clear_pending_status_callback, set_pending_status_callback, - find_status_pending_thread_callback, handle_status, - process_serial_event): Update. - * target.c (thread_search_callback): Update. - * thread-db.c (thread_db_get_tls_address): Update. - * tracepoint.c (tracepoint_finished_step, tracepoint_was_hit): - Update. - * win32-i386-low.c (update_debug_registers_callback): Update. - * win32-low.c (delete_thread_info, child_delete_thread, - continue_one_thread, suspend_one_thread, - get_child_debug_event): Adjust. - -2017-10-14 Simon Marchi - - * gdbthread.h (ptid_of, pid_of, lwpid_of): New functions. - * inferiors.h: Include . - (struct process_info) : Remove field. - : New field. - (pid_of): Change macro to function. - (ptid_of, lwpid_of): Remove macro. - (all_processes): Change type to std::list. - (ALL_PROCESSES): Remove macro. - (for_each_process, find_process): New function. - * inferiors.c (all_processes): Change type to - std::list. - (find_thread_process): Adjust. - (add_process): Likewise. - (remove_process): Likewise. - (find_process_pid): Likewise. - (get_first_process): Likewise. - (started_inferior_callback): Remove. - (have_started_inferiors_p): Adjust. - (attached_inferior_callback): Remove. - (have_attached_inferiors_p): Adjust. - * linux-low.c (check_zombie_leaders): Likewise. - * linux-x86-low.c (x86_arch_setup_process_callback): Remove. - (x86_linux_update_xmltarget): Adjust. - * server.c (handle_query): Likewise. - (gdb_reattached_process): Remove. - (handle_status): Adjust. - (kill_inferior_callback): Likewise. - (detach_or_kill_inferior): Remove. - (print_started_pid): Likewise. - (print_attached_pid): Likewise. - (detach_or_kill_for_exit): Update. - (process_serial_event): Likewise. - * linux-arm-low.c (arm_new_fork): Likewise. - -2017-10-14 Simon Marchi - - * dll.h: Include . - (struct dll_info): Add constructor. - : Remove field. - (all_dlls): Change type to std::list. - * dll.c: Include . - (get_dll): Remove macro. - (all_dlls): Change type to std::list. - (free_one_dll): Remove. - (match_dll): Likewise. - (loaded_dll): Adjust. - (unloaded_dll): Adjust to all_dlls type change, use - std::find_if. Inline code from match_dll. - (clear_dlls): Adjust to all_dlls type change. - * server.c (emit_dll_description): Remove. - (handle_qxfer_libraries): Adjust to all_dlls type change, - integrate emit_dll_description's functionality. - -2017-10-12 Simon Marchi - - * linux-low.h (struct linux_target_ops) : New - field. - * linux-low.c (linux_mourn): Call the_low_target.delete_process. - * linux-aarch64-low.c (aarch64_linux_delete_process): New. - (struct linux_target_ops): Add delete_process callback. - * linux-arm-low.c (arm_delete_process): New. - (struct linux_target_ops): Add delete_process callback. - * linux-bfin-low.c (struct linux_target_ops): Likewise. - * linux-crisv32-low.c (struct linux_target_ops): Likewise. - * linux-m32r-low.c (struct linux_target_ops): Likewise. - * linux-mips-low.c (mips_linux_delete_process): New. - (struct linux_target_ops): Add delete_process callback. - * linux-ppc-low.c (struct linux_target_ops): Likewise. - * linux-s390-low.c (struct linux_target_ops): Likewise. - * linux-sh-low.c (struct linux_target_ops): Likewise. - * linux-tic6x-low.c (struct linux_target_ops): Likewise. - * linux-tile-low.c (struct linux_target_ops): Likewise. - * linux-x86-low.c (x86_linux_delete_process): New. - (struct linux_target_ops): Add delete_process callback. - * linux-xtensa-low.c (struct linux_target_ops): Likewise. - -2017-10-12 Simon Marchi - - * linux-aarch64-low.c (the_low_target): Add thread delete - callback. - * linux-arm-low.c (arm_delete_thread): New function. - (the_low_target): Add thread delete callback. - * linux-bfin-low.c (the_low_target): Likewise. - * linux-crisv32-low.c (the_low_target): Likewise. - * linux-low.c (delete_lwp): Invoke delete_thread callback if - set. - * linux-low.h (struct linux_target_ops) : New - field. - * linux-m32r-low.c (the_low_target): Add thread delete callback. - * linux-mips-low.c (mips_linux_delete_thread): New function. - (the_low_target): Add thread delete callback. - * linux-ppc-low.c (the_low_target): Likewise. - * linux-s390-low.c (the_low_target): Likewise. - * linux-sh-low.c (the_low_target): Likewise. - * linux-tic6x-low.c (the_low_target): Likewise. - * linux-tile-low.c (the_low_target): Likewise. - * linux-x86-low.c (the_low_target): Likewise. - * linux-xtensa-low.c (the_low_target): Likewise. - -2017-10-06 Yuanhui Zhang - - * win32-low.c: Include "common-inferior.h". - -2017-10-04 Sergio Durigan Junior - - * inferiors.c (set_inferior_cwd): New function. - * server.c (handle_general_set): Handle QSetWorkingDir packet. - (handle_query): Inform that QSetWorkingDir is supported. - * win32-low.c (create_process): Pass the inferior's cwd to - CreateProcess. - -2017-10-04 Sergio Durigan Junior - - * inferiors.c (current_inferior_cwd): New global variable. - (get_inferior_cwd): New function. - * inferiors.h (struct process_info) : New field. - -2017-10-04 Sergio Durigan Junior - - * Makefile.in (SFILES): Add $(srcdir)/common/gdb_tilde_expand.c. - (OBS): Add gdb_tilde_expand.o. - -2017-10-02 Simon Marchi - - * lynx-i386-low.c (lynx_i386_arch_setup): Call init_target_desc. - * nto-x86-low.c (nto_x86_arch_setup): Likewise. - -2017-09-29 Pedro Alves - - * ax.c (gdb_parse_agent_expr): Constify. - * ax.h (gdb_parse_agent_expr): Constify. - * mem-break.c (add_breakpoint_condition, add_breakpoint_commands): - Constify. - * mem-break.h (add_breakpoint_condition, add_breakpoint_commands): Constify. - * remote-utils.c (hex_or_minus_one, read_ptid): Constify. - * remote-utils.h (read_ptid): Constify. - * server.c (handle_qxfer_exec_file, handle_query, handle_v_cont) - (process_point_options, process_serial_event): Constify. - * tracepoint.c (add_tracepoint_action, cmd_qtdp, cmd_qtdpsrc) - (cmd_qtdv, cmd_qtenable_disable, cmd_qtro, cmd_qtframe, cmd_qtp) - (cmd_qtbuffer): Constify. - -2017-09-29 Pedro Alves - - * proc-service.c (ps_pdread): Return PS_ERR if reading memory - fails. - -2017-09-29 Pedro Alves - - * linux-low.c (handle_extended_wait): Pass parent thread instead - of process to thread_db_notice_clone. - * linux-low.h (thread_db_notice_clone): Replace parent process - parameter with parent thread parameter. - * thread-db.c (find_one_thread): Add comment. - (thread_db_notice_clone): Replace parent process parameter with - parent thread parameter. Temporarily switch to the parent thread. - -2017-09-26 Sergio Durigan Junior - - * gdbthread.h: Include "common-gdbthread.h". - * inferiors.c (switch_to_thread): Use "gdb_assert" instead of - "if" when validating the ptid. - * remote-utils.c: Include "gdbthread.h". - (prepare_resume_reply): Use "switch_to_thread". - * target.c (done_accessing_memory): Likewise. - -2017-09-25 Andreas Arnez - - * configure.srv (s390*-*-linux*): Add s390-gs-linux64.o and - s390x-gs-linux64.o to srv_regobj. Add s390-gs-linux64.xml, - s390x-gs-linux64.xml, s390-gs.xml, and s390-gsbc.xml to - srv_xmlfiles. Add s390-gs-linux64-ipa.o and - s390x-gs-linux64-ipa.o to ipa_obj. - * linux-s390-low.c (HWCAP_S390_GS): New define. - (s390_fill_gs, s390_store_gs, s390_fill_gsbc, s390_store_gsbc): - New functions. - (s390_regsets): Add regsets for NT_S390_GS_CB and NT_S390_GS_BC. - (s390_arch_setup): Check for guarded-storage support and choose - appropriate tdesc. - (initialize_low_arch): Invoke init_registers_s390_gs_linux64 and - init_registers_s390x_gs_linux64. - * linux-s390-tdesc.h (enum s390_linux_tdesc) : New - enum value. - (init_registers_s390x_gs_linux64, tdesc_s390x_gs_linux64) - (init_registers_s390_gs_linux64, tdesc_s390_gs_linux64): Declare. - -2017-09-22 Simon Marchi - - * win32-i386-low.c (i386_arch_setup): Call init_target_desc. - -2017-09-21 Kevin Buettner - - * linux-low.h (struct lwp_info): Add new field, thread_handle. - (thread_db_thread_handle): Declare. - * linux-low.c (linux_target_ops): Initialize thread_handle. - * server.c (handle_qxfer_threads_worker): Add support for - "handle" attribute. - * target.h (struct target_ops): Add new function pointer, - thread_handle. - (target_thread_handle): Define. - * thread-db.c (find_one_thread, attach_thread): Set thread_handle - field in lwp. - (thread_db_thread_handle): New function. - -2017-09-21 Kevin Buettner - - * linux-low.c (handle_extended_wait): Call thread_db_notice_clone(). - * linux-low.h (thread_db_notice_clone): Declare. - * thread-db.c (thread_db_notice_clone): New function. - -2017-09-21 Pedro Alves - - * server.c (gdb_read_memory, handle_status, process_serial_event) - (handle_serial_event, handle_target_event): Adjust to - set_desired_thread prototype change. - * target.c (set_desired_thread): Remove 'use_general' parameter - and adjust. - * target.h (set_desired_thread): Remove 'use_general' parameter. - -2017-09-20 Tom Tromey - - * target.c (target_terminal::terminal_state): Define. - (target_terminal::init): Rename from target_terminal_init. - (target_terminal::inferior): Rename from - target_terminal_inferior. - (target_terminal::ours): Rename from target_terminal_ours. - (target_terminal::ours_for_output, target_terminal::info): New. - -2017-09-16 Simon Marchi - - * server.c (accumulate_file_name_length): Remove. - (emit_dll_description): Adjust to std::string change. - (handle_qxfer_libraries): Use std::string to hold document. - -2017-09-16 Simon Marchi - - * linux-low.c (linux_qxfer_libraries_svr4): Adjust to change of - return type of xml_escape_text. - * server.c (emit_dll_description): Likewise. - -2017-09-16 Simon Marchi - - * server.c (captured_main): Accept argument for --selftest. - Update run_tests call. - * linux-x86-tdesc-selftest.c (initialize_low_tdesc): Add names - when registering selftests. - -2017-09-16 Sergio Durigan Junior - - * regcache.c (get_thread_regcache): Update code to use "std::vector" - instead of "VEC" for "target_desc.reg_defs". - (regcache_cpy): Likewise. - (registers_to_string): Likewise. - (registers_from_string): Likewise. - (find_regno): Likewise. - (supply_regblock): Likewise. - (regcache_raw_read_unsigned): Likewise. - * tdesc.c (init_target_desc): Likewise. - (tdesc_create_reg): Likewise. - * tdesc.h: Remove declaration of "tdesc_reg_p". Include . - (struct target_desc) : Convert to "std::vector". - (target_desc): Do not initialize "reg_defs". - (~target_desc): Update code to use "std::vector" instead of "VEC" - for "target_desc.reg_defs". - (operator==): Likewise. - -2017-09-15 Simon Marchi - - * inferiors.h (thread_to_gdb_id): Remove. - * inferiors.c (thread_to_gdb_id): Remove. - * server.c (handle_qxfer_threads_worker, handle_query): Adjust. - * lynx-low.c (lynx_resume, lynx_wait_1, lynx_fetch_registers, - lynx_store_registers, lynx_read_memory, lynx_write_memory): - Likewise. - * nto-low.c (nto_fetch_registers, nto_store_registers, - nto_stopped_by_watchpoint, nto_stopped_data_address): Likewise. - -2017-09-15 Simon Marchi - - * inferiors.h (gdb_id_to_thread_id): Remove. - * inferiors.c (gdb_id_to_thread_id): Remove. - * server.c (process_serial_event): Adjust to gdb_id_to_thread_id - removal. Move pid declaration closer to where it's used. - -2017-09-15 Simon Marchi - - * server.c (handle_detach): New function. - (process_serial_event): Move code out, call handle_detach. - -2017-09-15 Simon Marchi - - * server.c (require_running): Rename to ... - (require_running_or_return): ... this ... - (require_running_or_break): ... and this. - (handle_query, process_serial_event): Adjust. - -2017-09-15 Simon Marchi - - * linux-low.c (linux_set_resume_request): Remove unused - variables. - -2017-09-15 Simon Marchi - - * server.c (first_thread_of): Remove. - (process_serial_event): Replace usage of first_thread_of with - find_any_thread_of_pid. - * tracepoint.c (same_process_p): Remove. - (gdb_agent_about_to_close): Replace usage of same_process_p with - find_any_thread_of_pid. - * linux-x86-low.c (same_process_callback): Remove. - (x86_arch_setup_process_callback): Replace usage of - same_process_callback with find_any_thread_of_pid. - * thread-db.c (any_thread_of): Remove. - (switch_to_process): Replace usage of any_thread_of with - find_any_thread_of_pid. - * inferiors.c (thread_pid_matches_callback): Remove. - (find_thread_process): Adjust to use find_any_thread_of_pid. - -2017-09-10 Sergio Durigan Junior - - * regcache.c (get_thread_regcache): Guard calls to "memset" - with "!VEC_empty". - -2017-09-10 Sergio Durigan Junior - - * linux-low.c (handle_extended_wait): Use - "allocate_target_description" instead of "XNEW". - * linux-x86-low.c (initialize_low_arch): Likewise. - -2017-09-05 Yao Qi - - * configure.srv (srv_i386_regobj): Remove. - (srv_amd64_regobj): Remove. - (srv_regobj): Set it to "" for x86 non-linux targets. - * linux-x86-tdesc.c (i386_linux_read_description): - * lynx-i386-low.c: Include x86-xstate.h and arch/i386.h. - (init_registers_i386): Remove the declaration. - (tdesc_i386): Remove the declaration. - (lynx_i386_arch_setup): Call i386_create_target_description. - * nto-x86-low.c: Likewise. - * win32-i386-low.c [__x86_64__]: include arch/amd64.h. - [!__x86_64__]: include arch/i386.h. - (i386_arch_setup) [__x86_64__]: Call amd64_create_target_description. - -2017-09-05 Yao Qi - - * configure.srv (srv_amd64_linux_xmlfiles): Remove - i386/amd64-XXX-linux from it. - -2017-09-05 Yao Qi - - * configure.srv: Empty srv_amd64_linux_regobj if $development is - false. - (ipa_amd64_linux_regobj): Remove. - (ipa_x32_linux_regobj): Remove. - -2017-09-05 Yao Qi - - * Makefile.in (arch-amd64.o): New rule. - * configure.srv: Append arch-amd64.o. - * linux-amd64-ipa.c: Include common/x86-xstate.h. - (get_ipa_tdesc): Call amd64_linux_read_description. - (initialize_low_tracepoint): Don't call init_registers_x32_XXX - and init_registers_amd64_XXX. - * linux-x86-low.c (x86_linux_read_description): Call - amd64_linux_read_description. - (x86_get_ipa_tdesc_idx): Call amd64_get_ipa_tdesc_idx. - (initialize_low_arch): Don't call init_registers_x32_XXX and - init_registers_amd64_XXX. - * linux-x86-tdesc-selftest.c: Declare init_registers_amd64_XXX - and tdesc_amd64_XXX. - [__x86_64__] (amd64_tdesc_test): New function. - (initialize_low_tdesc) [__x86_64__]: Call init_registers_x32_XXX - and init_registers_amd64_XXX. - * linux-x86-tdesc.c: Include arch/amd64.h. - (xcr0_to_tdesc_idx): New function. - (i386_linux_read_description): New function. - (amd64_get_ipa_tdesc_idx): New function. - * linux-x86-tdesc.h (amd64_get_ipa_tdesc_idx): Declare. - (amd64_get_ipa_tdesc): Declare. - -2017-09-05 Yao Qi - - * configure.srv (srv_i386_linux_xmlfiles): Remove - i386/i386-XXX-linux.xml from it. - -2017-09-05 Yao Qi - - * configure.srv: Set srv_i386_linux_regobj empty if $development - is false. - * linux-i386-ipa.c (initialize_low_tracepoint): Don't call - initialize_low_tdesc. - * linux-x86-low.c (initialize_low_arch): Wrap initialize_low_tdesc - with #if initialize_low_tdesc. - * linux-x86-tdesc-selftest.c: New file. - * linux-x86-tdesc.c: Move code to linux-x86-tdesc-selftest.c. - -2017-09-05 Yao Qi - - * Makefile.in (arch-i386.o): New rule. - * configure.srv (i[34567]86-*-linux*): Add arch-i386.o. - (x86_64-*-linux*): Likewise. - * linux-x86-tdesc.c: Don't include ../features/i386/32bit-XXX.c, - include arch/i386.h. - (i386_linux_read_description): Remove code and call - i386_create_target_description. - * tdesc.c (allocate_target_description): New function. - * tdesc.h (set_tdesc_architecture): Remove declaration. - (set_tdesc_osabi): Likewise. - -2017-09-05 Yao Qi - - * linux-x86-tdesc.c: Don't include . - (i386_linux_read_description) [!IN_PROCESS_AGENT]: Call - set_tdesc_architecture and set_tdesc_osabi. Remove code setting - .xmltarget. - * server.c (get_features_xml): Call tdesc_get_features_xml. - * tdesc.c (set_tdesc_architecture): New function. - (set_tdesc_osabi): New function. - (tdesc_get_features_xml): New function. - (tdesc_create_feature): Add an argument. - * tdesc.h (struct target_desc) : New field. - : New field. - (~target_desc): xfree features, arch, and osabi. - (target_desc::oerator==): Don't compare .xmltarget. - [!IN_PROCESS_AGENT] (set_tdesc_architecture): Declare. - (set_tdesc_osabi): Likewise. - (tdesc_get_features_xml): Likewise. - -2017-09-05 Yao Qi - - * linux-x86-tdesc.c: Include selftest.h. - (i386_tdesc_test): New function. - (initialize_low_tdesc): Call selftests::register_test. - * tdesc.h: Include regdef.h. - (target_desc): Override operator == and !=. - -2017-09-05 Yao Qi - - * configure.srv (srv_tgtobj): Append linux-x86-tdesc.o. - (ipa_obj): Likewise. - * linux-i386-ipa.c: Include common/x86-xstate.h - (get_ipa_tdesc): Call i386_linux_read_description. - (initialize_low_tracepoint): Don't call init_registers_XXX - functions, call initialize_low_tdesc instead. - * linux-x86-low.c (x86_linux_read_description): Call - i386_linux_read_description. - (initialize_low_arch): Don't call init_registers_i386_XXX - functions, call initialize_low_tdesc. - * linux-x86-tdesc.c: New file. - * linux-x86-tdesc.h (x86_linux_tdesc): New X86_TDESC_LAST. - (i386_get_ipa_tdesc_idx): Declare. - (i386_get_ipa_tdesc): Declare. - (initialize_low_tdesc): Declare. - -2017-09-05 Yao Qi - - * linux-x86-low.c (x86_get_ipa_tdesc_idx): Use X86_TDESC_MMX - instead of 0. - -2017-09-05 Yao Qi - - * Makefile.in (IPA_OBJS): Add vec-ipa.o - * regcache.c (get_thread_regcache): Use VEC_length. - (init_register_cache): Likewise. - (regcache_cpy): Likewise. - (registers_to_string): Iterate reg_defs via VEC_iterate. - (find_regno): Likewise. - (find_register_by_number): Use VEC_index. - (register_size): Call find_register_by_number. - (register_data): Call find_register_by_number. - (supply_regblock): Use VEC_length. - (regcache_raw_read_unsigned): Likewise. - * tdesc.c (init_target_desc): Iterate reg_defs via - VEC_iterate. - (default_description): Update initializer. - (copy_target_description): Don't update field num_registers. - * tdesc.h (struct target_desc) : Change it to VEC. - : Remove. - -2017-09-04 Simon Marchi - - * Makefile.in (.SECONDARY): Define target. - -2017-09-03 Simon Marchi - - * linux-low.c (linux_wait_1): Adjust. - * server.c (queue_stop_reply_callback): Adjust. - -2017-08-31 Sergio Durigan Junior - - * server.c (handle_general_set): Handle QEnvironmentHexEncoded, - QEnvironmentUnset and QEnvironmentReset packets. - (handle_query): Inform remote that QEnvironmentHexEncoded, - QEnvironmentUnset and QEnvironmentReset are supported. - -2017-08-25 Simon Marchi - - * inferiors.h (inferior_target_data): Rename to ... - (thread_target_data): ... this. - (inferior_regcache_data): Rename to ... - (thread_regcache_data): ... this. - (set_inferior_regcache_data): Rename to ... - (set_thread_regcache_data): ... this. - * inferiors.c (inferior_target_data): Rename to ... - (thread_target_data): ... this. - (inferior_regcache_data): Rename to ... - (thread_regcache_data): ... this. - (set_inferior_regcache_data): Rename to ... - (set_thread_regcache_data): ... this. - (free_one_thread): Update. - * linux-low.h (get_thread_lwp): Update. - * regcache.c (get_thread_regcache): Update. - (regcache_invalidate_thread): Update. - (free_register_cache_thread): Update. - * win32-i386-low.c (update_debug_registers_callback): Update. - (win32_get_current_dr): Update. - * win32-low.c (thread_rec): Update. - (delete_thread_info): Update. - (continue_one_thread): Update. - (suspend_one_thread): Update. - -2017-08-24 Simon Marchi - - * inferiors.c (set_inferior_target_data): Remove. - * inferiors.h (set_inferior_target_data): Remove. - -2017-08-18 Yao Qi - - * Makefile.in (OBS): Add selftest.o. - * configure.ac: AC_DEFINE GDB_SELF_TEST if $development. - * configure, config.in: Re-generated. - * server.c: Include common/sefltest.h. - (captured_main): Handle option --selftest. - -2017-08-09 Yao Qi - - * configure.srv (srv_i386_regobj): Remove i386-avx.o, - i386-avx-avx512.o, i386-avx-mpx-avx512-pku.o, i386-mpx.o, - i386-avx-mpx.o and i386-mmx.o. - (srv_amd64_regobj): Remove amd64-avx.o, amd64-avx-avx512.o, - amd64-avx-mpx-avx512-pku.o, amd64-mpx.o and amd64-avx-mpx.o. - (srv_i386_xmlfiles): Remove i386/i386-avx.xml, - i386/i386-avx-avx512.xml, i386/i386-avx-mpx-avx512-pku.xml, - i386/i386-mpx.xml, i386/i386-avx-mpx.xml and i386/i386-mmx.xml. - (srv_amd64_xmlfile):i386/amd64-avx.xml, i386/amd64-avx-avx512.xml, - i386/amd64-avx-mpx-avx512-pku.xml, i386/amd64-mpx.xml, - i386/amd64-avx-mpx.xml. - -2017-08-09 Yao Qi - - * configure.srv (srv_amd64_regobj): Remove x32.o, x32-avx.o - and x32-avx-avx512.o. - (srv_amd64_xmlfiles): Remove i386/x32.xml, i386/x32-avx.xml - i386/x32-avx-avx512.xml. - -2017-07-26 Simon Marchi - - * tracepoint.h (enum class fast_tpoint_collect_result): New - enumeration. - (fast_tracepoint_collecting): Change return type to - fast_tpoint_collect_result. - * tracepoint.c (fast_tracepoint_collecting): Likewise. - * linux-low.h: Include tracepoint.h. - (struct lwp_info) : Change type to - fast_tpoint_collect_result. - * linux-low.c (handle_tracepoints): Adjust. - (linux_fast_tracepoint_collecting): Change return type to - fast_tpoint_collect_result. - (maybe_move_out_of_jump_pad, linux_wait_for_event_filtered, - linux_wait_1, stuck_in_jump_pad_callback, - lwp_signal_can_be_delivered, linux_resume_one_lwp_throw, - proceed_one_lwp): Adjust to type change. - -2017-07-10 Yao Qi - - * linux-x86-low.c (x86_linux_read_description): Re-indent the code. - -2017-06-29 Yao Qi - - * tdesc.h (struct target_desc) [IN_PROCESS_AGENT] : - Remove. - [IN_PROCESS_AGENT] : Likewise. - -2017-06-20 Simon Marchi - - * Makefile.in (IPA_OBJS): Sort and format one item per line. - -2017-06-20 Sergio Durigan Junior - - * linux-low.c (linux_create_inferior): Adjust code to access the - environment information via 'gdb_environ' class. - * lynx-low.c (lynx_create_inferior): Likewise. - * server.c (our_environ): Make it an instance of 'gdb_environ'. - (get_environ): Return a pointer to 'our_environ'. - (captured_main): Initialize 'our_environ'. - * server.h (get_environ): Adjust prototype. - * spu-low.c (spu_create_inferior): Adjust code to access the - environment information via 'gdb_environ' class. - -2017-06-17 Simon Marchi - - * linux-low.c (linux_read_memory, linux_write_memory): Remove - usage of "register" keyword. - -2017-06-17 Simon Marchi - - * configure: Re-generate. - -2017-06-17 Simon Marchi - - * configure: Re-generate. - -2017-06-17 Simon Marchi - - * Makefile.in (COMPILE.pre): Add "-x c++". - -2017-06-09 Sergio Durigan Junior - - * fork-child.c: Conditionally include . - -2017-06-07 Sergio Durigan Junior - - * server.c (handle_general_set): Handle new packet - "QStartupWithShell". - (handle_query): Add "QStartupWithShell" to the list of supported - packets. - (gdbserver_usage): Add help text explaining the - new "--startup-with-shell" and "--no-startup-with-shell" CLI - options. - (captured_main): Recognize and act upon the presence of the new - CLI options. - -2017-06-07 Sergio Durigan Junior - Pedro Alves - - * Makefile.in (SFILES): Add "nat/fork-inferior.o". - * configure: Regenerate. - * configure.srv (srv_linux_obj): Add "fork-child.o" and - "fork-inferior.o". - (i[34567]86-*-lynxos*): Likewise. - (spu*-*-*): Likewise. - * fork-child.c: New file. - * linux-low.c: Include "common-inferior.h", "nat/fork-inferior.h" - and "environ.h". - (linux_ptrace_fun): New function. - (linux_create_inferior): Adjust function prototype to reflect - change on "target.h". Adjust function code to use - "fork_inferior". - (linux_request_interrupt): Delete "signal_pid". - * lynx-low.c: Include "common-inferior.h" and "nat/fork-inferior.h". - (lynx_ptrace_fun): New function. - (lynx_create_inferior): Adjust function prototype to reflect - change on "target.h". Adjust function code to use - "fork_inferior". - * nto-low.c (nto_create_inferior): Adjust function prototype and - code to reflect change on "target.h". Update comments. - * server.c: Include "common-inferior.h", "nat/fork-inferior.h", - "common-terminal.h" and "environ.h". - (terminal_fd): Moved to fork-child.c. - (old_foreground_pgrp): Likewise. - (restore_old_foreground_pgrp): Likewise. - (last_status): Make it global. - (last_ptid): Likewise. - (our_environ): New variable. - (startup_with_shell): Likewise. - (program_name): Likewise. - (program_argv): Rename to... - (program_args): ...this. - (wrapper_argv): New variable. - (start_inferior): Delete function. - (get_exec_wrapper): New function. - (get_exec_file): Likewise. - (get_environ): Likewise. - (prefork_hook): Likewise. - (post_fork_inferior): Likewise. - (postfork_hook): Likewise. - (postfork_child_hook): Likewise. - (handle_v_run): Update code to deal with arguments coming from the - remote host. Update calls from "start_inferior" to - "create_inferior". - (captured_main): Likewise. Initialize environment variable. Call - "have_job_control". - * server.h (post_fork_inferior): New prototype. - (get_environ): Likewise. - (last_status): Declare. - (last_ptid): Likewise. - (signal_pid): Likewise. - * spu-low.c: Include "common-inferior.h" and "nat/fork-inferior.h". - (spu_ptrace_fun): New function. - (spu_create_inferior): Adjust function prototype to reflect change - on "target.h". Adjust function code to use "fork_inferior". - * target.c (target_terminal_init): New function. - (target_terminal_inferior): Likewise. - (target_terminal_ours): Likewise. - * target.h: Include . - (struct target_ops) : Update prototype. - (create_inferior): Update macro. - * utils.c (gdb_flush_out_err): New function. - * win32-low.c (win32_create_inferior): Adjust function prototype - and code to reflect change on "target.h". - -2017-06-07 Sergio Durigan Junior - - * inferiors.c (switch_to_thread): New function. - -2017-06-07 Sergio Durigan Junior - - * Makefile.in (SFILE): Add "common/job-control.c". - (OBS): Add "job-control.o". - -2017-05-06 Sergio Durigan Junior - - * Makefile: Remove "@host_makefile_frag@". - -2017-05-05 Pedro Alves - - * configure: Regenerate. - -2017-05-03 Sergio Durigan Junior - - * configure: Regenerate. - -2017-05-02 Simon Marchi - - * linux-arm-low.c (arm_gdbserver_get_next_pcs): Adjust to - software_single_step change of return type to - std::vector. - * linux-low.c (install_software_single_step_breakpoints): - Likewise. - * linux-low.h (install_software_single_step_breakpoints): - Likewise. - -2017-04-12 Sergio Durigan Junior - - * remote-utils.c: Include "gdb_termios.h" instead of - "terminal.h". - * terminal.h: Delete file. - -2017-04-12 Sergio Durigan Junior - - * server.c: Include . - : Convert to std::vector. - (start_inferior): Rewrite function to use C++. - (handle_v_run): Likewise. Update code that calculates the argv - based on the vRun packet; use C++. - (captured_main): Likewise. - -2017-04-06 Simon Marchi - - * server.c (handle_v_cont): Initialize thread_resume::thread - with null_ptid. - -2017-04-05 Pedro Alves - - * configure: Regenerate. - -2017-04-05 Pedro Alves - - * gdbreplay.c (sync_error): Constify. - * linux-x86-low.c (push_opcode): Constify. - -2017-04-05 Pedro Alves - - * win32-low.c (get_child_debug_event) - : Don't report TARGET_WAITKIND_EXECD. - Report TARGET_WAITKIND_SPURIOUS instead. - -2017-04-05 Pedro Alves - - * remote-utils.c (remote_prepare, remote_open): Constify. - * remote-utils.h (remote_prepare, remote_open): Constify. - * server.c (captured_main): Constify 'port' handling. - -2017-04-04 Simon Marchi - - * Makefile.in (clean): Clear .deps. - -2017-03-31 Simon Marchi - - * .gitignore: Remove generated files, replace with wildcard. - * (clean): Replace removal of generated files with wildcard. - (version.c): Replace with... - (version-generated.c): ...this. - (xml-builtin.c): Replace with... - (xml-builtin-generated.c): ...this. - (%-ipa.o: %-generated.c, %.o: %-generated.c): New rules. - (%.c: *regformats*): Replace with... - (%-generated.c: *regformats*): ...this. - -2017-03-27 Max Filippov - - * linux-xtensa-low.c (regnum::R_THREADPTR): New enum member. - (xtensa_fill_gregset): Call collect_register_by_name for - threadptr register. - (xtensa_store_gregset): Call supply_register_by_name for - threadptr register. - -2017-03-27 Max Filippov - - * linux-xtensa-low.c (xtensa_fill_gregset): Call collect_register - for all registers in a0_regnum..a0_regnum + C0_NREGS range. - (xtensa_store_gregset): Call supply_register for all registers in - a0_regnum..a0_regnum + C0_NREGS range. - -2017-03-13 Simon Marchi - - * Makefile.in (%-ipa.o: %-ipa.c): New rule. - (ax-ipa.o: ax.c): Remove. - (linux-i386-ipa.o: linux-i386-ipa.c): Remove. - (linux-amd64-ipa.o: linux-amd64-ipa.c): Remove. - (linux-aarch64-ipa.o: linux-aarch64-ipa.c): Remove. - (linux-s390-ipa.o: linux-s390-ipa.c): Remove. - (linux-ppc-ipa.o: linux-ppc-ipa.c): Remove. - -2017-03-13 Simon Marchi - - * Makefile.in (%-ipa.o: ../common/%.c): New rule. - (print-utils-ipa.o: ../common/print-utils.c): Remove. - (rsp-low-ipa.o: ../common/rsp-low.c): Remove. - (errors-ipa.o: ../common/errors.c): Remove. - (format-ipa.o: ../common/format.c): Remove. - (common-utils-ipa.o: ../common/common-utils.c): Remove. - -2017-03-13 Simon Marchi - - * Makefile.in (%-ipa.o: %.c): New rule. - (tracepoint-ipa.o: tracepoint.c): Remove. - (utils-ipa.o: utils.c): Remove. - (remote-utils-ipa.o: remote-utils.c): Remove. - (regcache-ipa.o: regcache.c): Remove. - (i386-linux-ipa.o: i386-linux.c): Remove. - (i386-mmx-linux-ipa.o: i386-mmx-linux.c): Remove. - (i386-avx-linux-ipa.o: i386-avx-linux.c): Remove. - (i386-mpx-linux-ipa.o: i386-mpx-linux.c): Remove. - (i386-avx-mpx-linux-ipa.o: i386-avx-mpx-linux.c): Remove. - (i386-avx-avx512-linux-ipa.o: i386-avx-avx512-linux.c): Remove. - (i386-avx-mpx-avx512-pku-linux-ipa.o: i386-avx-mpx-avx512-pku-linux.c): Remove. - (amd64-linux-ipa.o: amd64-linux.c): Remove. - (amd64-avx-linux-ipa.o: amd64-avx-linux.c): Remove. - (amd64-mpx-linux-ipa.o: amd64-mpx-linux.c): Remove. - (amd64-avx-mpx-linux-ipa.o: amd64-avx-mpx-linux.c): Remove. - (amd64-avx-avx512-linux-ipa.o: amd64-avx-avx512-linux.c): Remove. - (amd64-avx-mpx-avx512-pku-linux-ipa.o: amd64-avx-mpx-avx512-pku-linux.c): Remove. - (aarch64-ipa.o: aarch64.c): Remove. - (s390-linux32-ipa.o: s390-linux32.c): Remove. - (s390-linux32v1-ipa.o: s390-linux32v1.c): Remove. - (s390-linux32v2-ipa.o: s390-linux32v2.c): Remove. - (s390-linux64-ipa.o: s390-linux64.c): Remove. - (s390-linux64v1-ipa.o: s390-linux64v1.c): Remove. - (s390-linux64v2-ipa.o: s390-linux64v2.c): Remove. - (s390-te-linux64-ipa.o: s390-te-linux64.c): Remove. - (s390-vx-linux64-ipa.o: s390-vx-linux64.c): Remove. - (s390-tevx-linux64-ipa.o: s390-tevx-linux64.c): Remove. - (s390x-linux64-ipa.o: s390x-linux64.c): Remove. - (s390x-linux64v1-ipa.o: s390x-linux64v1.c): Remove. - (s390x-linux64v2-ipa.o: s390x-linux64v2.c): Remove. - (s390x-te-linux64-ipa.o: s390x-te-linux64.c): Remove. - (s390x-vx-linux64-ipa.o: s390x-vx-linux64.c): Remove. - (s390x-tevx-linux64-ipa.o: s390x-tevx-linux64.c): Remove. - (powerpc-32l-ipa.o: powerpc-32l.c): Remove. - (powerpc-altivec32l-ipa.o: powerpc-altivec32l.c): Remove. - (powerpc-cell32l-ipa.o: powerpc-cell32l.c): Remove. - (powerpc-vsx32l-ipa.o: powerpc-vsx32l.c): Remove. - (powerpc-isa205-32l-ipa.o: powerpc-isa205-32l.c): Remove. - (powerpc-isa205-altivec32l-ipa.o: powerpc-isa205-altivec32l.c): Remove. - (powerpc-isa205-vsx32l-ipa.o: powerpc-isa205-vsx32l.c): Remove. - (powerpc-e500l-ipa.o: powerpc-e500l.c): Remove. - (powerpc-64l-ipa.o: powerpc-64l.c): Remove. - (powerpc-altivec64l-ipa.o: powerpc-altivec64l.c): Remove. - (powerpc-cell64l-ipa.o: powerpc-cell64l.c): Remove. - (powerpc-vsx64l-ipa.o: powerpc-vsx64l.c): Remove. - (powerpc-isa205-64l-ipa.o: powerpc-isa205-64l.c): Remove. - (powerpc-isa205-altivec64l-ipa.o: powerpc-isa205-altivec64l.c): Remove. - (powerpc-isa205-vsx64l-ipa.o: powerpc-isa205-vsx64l.c): Remove. - (tdesc-ipa.o: tdesc.c): Remove. - (x32-linux-ipa.o: x32-linux.c): Remove. - (x32-avx-linux-ipa.o: x32-avx-linux.c): Remove. - (x32-avx512-linux-ipa.o: x32-avx512-linux.c): Remove. - -2017-03-13 Simon Marchi - - * Makefile.in (%.o: ../arch/%.c): New rule. - (arm.o: ../arch/arm.c): Remove. - (arm-linux.o: ../arch/arm-linux.c): Remove. - (arm-get-next-pcs.o: ../arch/arm-get-next-pcs.c): Remove. - (aarch64-insn.o: ../arch/aarch64-insn.c): Remove. - -2017-03-13 Simon Marchi - - * Makefile.in (%.o: ../nat/%.c): New rule. - (x86-dregs.o: ../nat/x86-dregs.c): Remove. - (amd64-linux-siginfo.o: ../nat/amd64-linux-siginfo.c): Remove. - (linux-btrace.o: ../nat/linux-btrace.c): Remove. - (linux-osdata.o: ../nat/linux-osdata.c): Remove. - (linux-procfs.o: ../nat/linux-procfs.c): Remove. - (linux-ptrace.o: ../nat/linux-ptrace.c): Remove. - (linux-waitpid.o: ../nat/linux-waitpid.c): Remove. - (mips-linux-watch.o: ../nat/mips-linux-watch.c): Remove. - (ppc-linux.o: ../nat/ppc-linux.c): Remove. - (linux-personality.o: ../nat/linux-personality.c): Remove. - (aarch64-linux-hw-point.o: ../nat/aarch64-linux-hw-point.c): Remove. - (aarch64-linux.o: ../nat/aarch64-linux.c): Remove. - (x86-linux.o: ../nat/x86-linux.c): Remove. - (x86-linux-dregs.o: ../nat/x86-linux-dregs.c): Remove. - (linux-namespaces.o: ../nat/linux-namespaces.c): Remove. - -2017-03-13 Simon Marchi - - * Makefile.in (%.o: ../common/%.c): New rule. - (signals.o: ../common/signals.c): Remove. - (print-utils.o: ../common/print-utils.c): Remove. - (rsp-low.o: ../common/rsp-low.c): Remove. - (common-utils.o: ../common/common-utils.c): Remove. - (posix-strerror.o: ../common/posix-strerror.c): Remove. - (mingw-strerror.o: ../common/mingw-strerror.c): Remove. - (vec.o: ../common/vec.c): Remove. - (gdb_vecs.o: ../common/gdb_vecs.c): Remove. - (xml-utils.o: ../common/xml-utils.c): Remove. - (ptid.o: ../common/ptid.c): Remove. - (buffer.o: ../common/buffer.c): Remove. - (format.o: ../common/format.c): Remove. - (filestuff.o: ../common/filestuff.c): Remove. - (agent.o: ../common/agent.c): Remove. - (errors.o: ../common/errors.c): Remove. - (environ.o: ../common/environ.c): Remove. - (common-debug.o: ../common/common-debug.c): Remove. - (cleanups.o: ../common/cleanups.c): Remove. - (common-exceptions.o: ../common/common-exceptions.c): Remove. - (fileio.o: ../common/fileio.c): Remove. - (common-regcache.o: ../common/common-regcache.c): Remove. - (signals-state-save-restore.o: ../common/signals-state-save-restore.c): Remove. - (new-op.o: ../common/new-op.c): Remove. - (btrace-common.o: ../common/btrace-common.c): Remove. - -2017-03-13 Simon Marchi - - * Makefile.in (%.o: ../target/%.c): New rule. - (waitstatus.o: ../target/waitstatus.c): Remove. - -2017-03-13 Simon Marchi - - * Makefile.in - (%.c: ../regformats/%.dat, - (%.c: ../regformats/arm/%.dat, - (%.c: ../regformats/i386/%.dat, - (%.c: ../regformats/rs6000/%.dat): New rules. - (aarch64.c): Remove. - (reg-arm.c): Remove. - (arm-with-iwmmxt.c): Remove. - (arm-with-vfpv2.c): Remove. - (arm-with-vfpv3.c): Remove. - (arm-with-neon.c): Remove. - (reg-bfin.c): Remove. - (reg-cris.c): Remove. - (reg-crisv32.c): Remove. - (i386.c): Remove. - (i386-linux.c): Remove. - (i386-avx.c): Remove. - (i386-avx-linux.c): Remove. - (i386-avx-avx512.c): Remove. - (i386-avx-avx512-linux.c): Remove. - (i386-mpx.c): Remove. - (i386-mpx-linux.c): Remove. - (i386-avx-mpx-avx512-pku.c): Remove. - (i386-avx-mpx-avx512-pku-linux.c): Remove. - (i386-avx-mpx.c): Remove. - (i386-avx-mpx-linux.c): Remove. - (i386-mmx.c): Remove. - (i386-mmx-linux.c): Remove. - (reg-ia64.c): Remove. - (reg-m32r.c): Remove. - (reg-m68k.c): Remove. - (reg-cf.c): Remove. - (mips-linux.c): Remove. - (mips-dsp-linux.c): Remove. - (mips64-linux.c): Remove. - (mips64-dsp-linux.c): Remove. - (nios2-linux.c): Remove. - (powerpc-32.c): Remove. - (powerpc-32l.c): Remove. - (powerpc-altivec32l.c): Remove. - (powerpc-cell32l.c): Remove. - (powerpc-vsx32l.c): Remove. - (powerpc-isa205-32l.c): Remove. - (powerpc-isa205-altivec32l.c): Remove. - (powerpc-isa205-vsx32l.c): Remove. - (powerpc-e500l.c): Remove. - (powerpc-64l.c): Remove. - (powerpc-altivec64l.c): Remove. - (powerpc-cell64l.c): Remove. - (powerpc-vsx64l.c): Remove. - (powerpc-isa205-64l.c): Remove. - (powerpc-isa205-altivec64l.c): Remove. - (powerpc-isa205-vsx64l.c): Remove. - (s390-linux32.c): Remove. - (s390-linux32v1.c): Remove. - (s390-linux32v2.c): Remove. - (s390-linux64.c): Remove. - (s390-linux64v1.c): Remove. - (s390-linux64v2.c): Remove. - (s390-te-linux64.c): Remove. - (s390-vx-linux64.c): Remove. - (s390-tevx-linux64.c): Remove. - (s390x-linux64.c): Remove. - (s390x-linux64v1.c): Remove. - (s390x-linux64v2.c): Remove. - (s390x-te-linux64.c): Remove. - (s390x-vx-linux64.c): Remove. - (s390x-tevx-linux64.c): Remove. - (tic6x-c64xp-linux.c): Remove. - (tic6x-c64x-linux.c): Remove. - (tic6x-c62x-linux.c): Remove. - (reg-sh.c): Remove. - (reg-sparc64.c): Remove. - (reg-spu.c): Remove. - (amd64.c): Remove. - (amd64-linux.c): Remove. - (amd64-avx.c): Remove. - (amd64-avx-linux.c): Remove. - (amd64-avx-avx512.c): Remove. - (amd64-avx-avx512-linux.c): Remove. - (amd64-mpx.c): Remove. - (amd64-mpx-linux.c): Remove. - (amd64-avx-mpx-avx512-pku.c): Remove. - (amd64-avx-mpx-avx512-pku-linux.c): Remove. - (amd64-avx-mpx.c): Remove. - (amd64-avx-mpx-linux.c): Remove. - (x32.c): Remove. - (x32-linux.c): Remove. - (x32-avx.c): Remove. - (x32-avx-linux.c): Remove. - (x32-avx-avx512.c): Remove. - (x32-avx-avx512-linux.c): Remove. - (reg-xtensa.c): Remove. - (reg-tilegx.c): Remove. - (reg-tilegx32.c): Remove. - -2017-03-07 Sergio Durigan Junior - - * Makefile.in (SFILES): Add "common/environ.c". - (OBJS): Add "common/environ.h". - -2017-01-27 Walfred Tedeschi - - * configure.ac: Check if the fs_base and gs_base members of - `struct user_regs_struct' exist. - * config.in: Regenerated. - * configure: Likewise. - -2017-01-09 Antoine Tremblay - - * linux-aarch32-low.c (arm_breakpoint_kind_from_pc): Use - target_read_memory. - * linux-arm-low.c (get_next_pcs_read_memory_unsigned_integer): Likewise. - (get_next_pcs_syscall_next_pc): Likewise. - -2016-12-23 Luis Machado - - * win32-i386-low.c: Fix incorrect reference to a couple source files. - * nto-x86-low.c: Likewise. - -2016-11-30 Simon Marchi - - * Makefile.in: Include disable-implicit-rules.mk. - -2016-11-23 Pedro Alves - - * debug.c: Include instead of "gdb_sys_time.h". - (debug_vprintf): Use std::chrono::steady_clock instead of - gettimeofday. Use '.' instead of ':'. - * tracepoint.c: Include instead of "gdb_sys_time.h". - (get_timestamp): Use std::chrono::steady_clock instead of - gettimeofday. - -2016-11-22 Simon Marchi - - * Makefile.in: Fix whitespace formatting. - -2016-11-22 Simon Marchi - - * Makefile.in (SFILES, OBS): Flatten list and order - alphabetically. - -2016-11-23 Pedro Alves - - * event-loop.c (handle_file_event): Use warning. - * linux-low.c (linux_resume_one_lwp_throw): Use warning. - * mem-break.c (add_breakpoint_condition, add_breakpoint_commands): - Use warning. - -2016-11-23 Pedro Alves - - * linux-low.c (check_zombie_leaders): Use debug_printf for debug - output. - * notif.c (handle_notif_ack, notif_event_enque): Likewise. - * remote-utils.c (putpkt_binary_1, readchar, getpkt): Use - debug_printf and debug_flush for debug output. - * server.c (handle_general_set): Likewise. - * thread-db.c (try_thread_db_load): Use debug_printf for debug - output. - -2016-11-17 Simon Marchi - - * Makefile.in (.c.o): Replace rule with ... - (%.o: %.c): ... this one. - -2016-11-17 Simon Marchi - - * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines - prefixed with @GMAKE_FALSE@. Update comment related to non-GNU - make. - * configure.ac: Remove checks for the make program. - * configure: Re-generate. - -2016-10-28 Pedro Alves - - * Makefile.in (CXX_DIALECT): Get from configure. - (COMPILE.pre, CC_LD): Append $(CXX_DIALECT). - * acinclude.m4: Include ../ax_cxx_compile_stdcxx.m4. - * configure.ac: Call AX_CXX_COMPILE_STDCXX. - * config.in: Regenerate. - * configure: Regenerate. - -2016-10-27 Yao Qi - - * linux-low.c (linux_supports_range_stepping): Return true if - can_software_single_step return true. - -2016-10-27 Yao Qi - - * inferiors.c (find_inferior_in_random): New function. - * inferiors.h (find_inferior_in_random): Declare. - * linux-low.c (linux_wait_for_event_filtered): Call - find_inferior_in_random instead of find_inferior. - -2016-10-27 Yao Qi - - * linux-low.c (linux_wait_1): If single-step breakpoints are - inserted, remove them. - -2016-10-26 Pedro Alves - - * linux-low.c (handle_extended_wait): Link parent/child fork - threads. - (linux_wait_1): Unlink them. - (linux_set_resume_request): Ignore resume requests for - already-resumed and unhandled fork child threads. - * linux-low.h (struct lwp_info) : New field. - * server.c (in_queued_stop_replies_ptid, in_queued_stop_replies): - New functions. - (handle_v_requests) : Don't call require_running. - * server.h (in_queued_stop_replies): New declaration. - -2016-10-24 Yao Qi - - PR server/20733 - * linux-aarch64-low.c (append_insns): Cast the return value to - 'uint32_t *'. - -2016-10-10 Yao Qi - - * linux-aarch32-low.c (enum arm_breakpoint_kinds): Remove. - -2016-10-06 Sergio Durigan Junior - - * target.c (target_supports_multi_process): New function, moved - from... - * target.h (target_supports_multi_process): ... here. Remove - macro. - -2016-10-05 Tom Tromey - - PR remote/20655: - * tracepoint.c (handle_tracepoint_bkpts): Check - ipa_error_tracepoint, not ipa_stopping_tracepoint. - -2016-10-05 Yao Qi - - * configure.srv: Update the path of arm-*.xml files. - -2016-10-05 Terry Guo - Yao Qi - - * Makefile.in: Adjust the path of rules. - * configure.srv: Update the path of xml files. - * regformats/arm-with-iwmmxt.dat: Regenerated. - * regformats/arm-with-neon.dat: Likewise. - * regformats/arm-with-vfpv2.dat: Likewise. - * regformats/arm-with-vfpv3.dat Likewise. - -2016-09-30 Yao Qi - - PR gdbserver/20627 - * target.c (target_stop_and_wait): Don't call - target_continue_no_signal, use resume_stop instead. - -2016-09-26 Yao Qi - - * linux-low.c (linux_wait_1): Call debug_exit. - -2016-09-23 Pedro Alves - - * Makefile.in (SFILES): Add common/new-op.c. - (OBS): Add common/new-op.o. - (new-op.o): New rule. - -2016-09-21 Simon Marchi - - * .gitinore: Ignore more files. - -2016-09-21 Yao Qi - - * linux-aarch32-low.c (arm_fill_gregset): Keep bits 20 to - 23. - -2016-09-19 Sergio Durigan Junior - - * server.c (start_inferior): Call target_mourn_inferior instead of - mourn_inferior; pass ptid_t argument to it. - (resume): Likewise. - (handle_target_event): Likewise. - * target.c (target_mourn_inferior): New function. - * target.h (mourn_inferior): Delete macro. - -2016-09-16 Andreas Arnez - - * linux-low.c (lwp_is_stepping): New function. - -2016-09-06 Carl Love - - * server.c (start_inferior): Fixed comment, requested comment change - didn't get updated correctly. Removed reference to ptrace () call as - it is only true on Linux systems. - -2016-09-06 Carl Love - - * server.c (start_inferior): Do not call - function target_post_create_inferior () if the - inferior process has already exited. - -2016-09-05 Pedro Alves - - * Makefile.in (COMPILER, COMPILER_CFLAGS): Remove. - (COMPILE.pre, CC_LD): Use CXX directly. - (INTERNAL_CFLAGS_BASE): Use CXXFLAGS directly. - * acinclude.m4: Don't include build-with-cxx.m4. - * configure.ac: Remove GDB_AC_BUILD_WITH_CXX call. - * configure: Regenerate. - -2016-09-02 Akash Trehan - - PR gdb/19495 - * remote-utils.c (relocate_instruction): Remove redundant strcpy() - call writing data to own_buf. - -2016-09-01 Sergio Durigan Junior - - * target.c (mywait): Call target_wait instead of - the_target->wait. - (target_wait): New function. - -2016-09-01 Sergio Durigan Junior - - * server.c (start_inferior): New variable 'ptid'. Replace calls - to the_target->resume by target_continue{,_no_signal}, depending - on the case. - * target.c (target_stop_and_wait): Call target_continue_no_signal - instead of the_target->resume. - (target_continue): New function. - -2016-08-31 Antoine Tremblay - - * linux-low.c (linux_wait_1): Move event switch after unsuspend_lwps. - -2016-08-25 Adhemerval Zanella - - PR server/20491 - * gdb_proc_service.h (ps_get_thread_area): Remove const from struct - ps_prochandle. - * linux-aarch64-low.c (ps_get_thread_area): Likewise. - * linux-arm-low.c (ps_get_thread_area): Likewise. - * linux-crisv32-low.c (ps_get_thread_area): Likewise. - * linux-m68k-low.c (ps_get_thread_area): Likewise. - * linux-mips-low.c (ps_get_thread_area): Likewise. - * linux-nios2-low.c (ps_get_thread_area): Likewise. - * linux-tic6x-low.c (ps_get_thread_area): Likewise. - * linux-x86-low.c (ps_get_thread_area): Likewise. - * linux-xtensa-low.c (ps_get_thread_area): Likewise. - -2016-08-19 Pedro Alves - - * linux-x86-low.c (amd64_emit_call): Emit missing call opcode. - -2016-08-19 Pedro Alves - - * linux-x86-low.c (amd64_install_fast_tracepoint_jump_pad): Fix - comment. Use memcpy instead of casting through unsigned long. - -2016-08-19 Pedro Alves - - * linux-amd64-ipa.c (alloc_jump_pad_buffer) [__ILP32__]: Try - allocating around 0x80000000. - -2016-08-19 Pedro Alves - - PR gdb/20415 - * Makefile.in (x32-linux-ipa.o, x32-avx-linux-ipa.o) - (x32-avx512-linux-ipa.o): New rules. - * configure.ac (x86_64-*-linux*): New x32 check. - * configure.srv (ipa_x32_linux_regobj): New. - (x86_64-*-linux*): Use $ipa_x32_linux_regobj if building for x32. - * linux-amd64-ipa.c (get_ipa_tdesc) [__ILP32__]: Return x32 - descriptions. - (initialize_low_tracepoint) [__ILP32__]: Initialize x32 - descriptions. - * configure: Regenerate. - -2016-08-09 Pedro Alves - - PR gdb/18653 - * Makefile.in (OBS): Add signals-state-save-restore.o. - (signals-state-save-restore.o): New rule. - * config.in: Regenerate. - * configure: Regenerate. - * linux-low.c: Include "signals-state-save-restore.h". - (linux_create_inferior): Call - restore_original_signals_state. - * server.c: Include "dispositions-save-restore.h". - (captured_main): Call save_original_signals_state. - -2016-08-05 Pedro Alves - - * configure: Regenerate. - -2016-08-04 Yao Qi - - * linux-low.c (regsets_fetch_inferior_registers): Check - errno is ESRCH or not. - -2016-08-02 Yao Qi - - * thread-db.c (struct thread_db) : Remove. - : Remove. - (thread_db_load_search): Update. - (try_thread_db_load_1): Don't look for td_ta_event_addr, - td_ta_set_event and td_ta_event_getmsg. - -2016-07-26 Pedro Alves - - PR server/20414 - * linux-x86-low.c (x86_get_pc, x86_set_pc): Use uint64_t instead - of unsigned long for 64-bit registers and use uint32_t instead of - unsigned int for 32-bit registers. - -2016-07-26 Pedro Alves - - * linux-x86-low.c (x86_siginfo_fixup): Rename 'native' parameter - to 'ptrace'. - -2016-07-21 Tom Tromey - - * configure: Rebuild. - -2016-07-21 Yao Qi - - * mem-break.c (find_gdb_breakpoint): Cast bp to - 'struct gdb_breakpoint *' rather than 'gdb_breakpoint *'. - -2016-07-21 Yao Qi - - * server.c (handle_v_requests): Support s and S actions - if target_supports_software_single_step return true. - -2016-07-21 Yao Qi - - * linux-low.c (resume_stopped_resumed_lwps): If resume request - is resume_step, call maybe_hw_step. - (linux_wait_1): Stop all threads, remove reinsert breakpoints, - and unstop them. - (linux_resume_one_lwp_throw): Don't assert the thread has reinsert - breakpoints or not. - (proceed_one_lwp): If resume request is resume_step, install - reinsert breakpoints and call maybe_hw_step. - -2016-07-21 Yao Qi - - * linux-low.c (proceed_one_lwp): Declare. - (linux_resume_one_thread): Remove local variable 'step'. - Lift code enqueue signal. Call proceed_one_lwp instead of - linux_resume_one_lwp. - -2016-07-21 Yao Qi - - * linux-low.c (linux_resume_one_thread): Call - enqueue_pending_signal. - -2016-07-21 Yao Qi - - * gdbthread.h (make_cleanup_restore_current_thread): Declare. - * inferiors.c (do_restore_current_thread_cleanup): New function. - (make_cleanup_restore_current_thread): Likewise. - * linux-low.c (install_software_single_step_breakpoints): Call - make_cleanup_restore_current_thread. Switch current_thread to - thread. - -2016-07-21 Yao Qi - - * mem-break.c (struct reinsert_breakpoint) : New field. - (set_reinsert_breakpoint): New parameter ptid. Callers updated. - (clone_one_breakpoint): Likewise. - (delete_reinsert_breakpoints): Change parameter to thread. - Callers updated. - (has_reinsert_breakpoints): Likewise. - (uninsert_reinsert_breakpoints): Likewise. - (reinsert_reinsert_breakpoints): Likewise. - * mem-break.h (set_reinsert_breakpoint): Update declaration. - (delete_reinsert_breakpoints): Likewise. - (reinsert_reinsert_breakpoints): Likewise. - (uninsert_reinsert_breakpoints): Likewise. - (has_reinsert_breakpoints): Likewise. - -2016-07-21 Yao Qi - - * inferiors.c (get_thread_process): Make parameter const. - * inferiors.h (get_thread_process): Update declaration. - * mem-break.c (clone_all_breakpoints): Remove all parameters. - Add new parameters child_thread and parent_thread. Callers - updated. - * mem-break.h (clone_all_breakpoints): Update declaration. - -2016-07-21 Yao Qi - - * mem-break.c (struct breakpoint) : Remove. - : Remove. - (struct gdb_breakpoint): New. - (struct other_breakpoint): New. - (struct reinsert_breakpoint): New. - (is_gdb_breakpoint): New function. - (any_persistent_commands): Update command_list if - is_gdb_breakpoint returns true. - (set_breakpoint): Create breakpoints according to their types. - (find_gdb_breakpoint): Return 'struct gdb_breakpoint *'. - (set_gdb_breakpoint_1): Likewise. - (set_gdb_breakpoint): Likewise. - (clear_breakpoint_conditions): Change parameter type to - 'struct gdb_breakpoint *'. - (clear_breakpoint_commands): Likewise. - (clear_breakpoint_conditions_and_commands): Likewise. - (add_condition_to_breakpoint): Likewise. - (add_breakpoint_condition): Likewise. - (add_commands_to_breakpoint): Likewise. - (check_breakpoints): Check other_breakpoint. - (clone_one_breakpoint): Clone breakpopint according to its type. - * mem-break.h (struct gdb_breakpoint): Declare. - (set_gdb_breakpoint): Update declaration. - (clear_breakpoint_conditions_and_commands): Likewise. - (add_breakpoint_condition): Likewise. - (add_breakpoint_commands): Likewise. - * server.c (process_point_options): Change parameter type to - 'struct gdb_breakpoint *'. - -2016-07-21 Yao Qi - - * mem-break.c (set_breakpoint_at): Rename it to ... - (set_breakpoint_type_at): ... it. - (set_breakpoint_at): Call set_breakpoint_type_at. - (set_reinsert_breakpoint): Call set_breakpoint_type_at. - * mem-break.h (set_breakpoint_at): Update comments. - -2016-07-12 Chung-Lin Tang - - * linux-nios2-low.c (nios2_fill_gregset): Add type cast - to buf parameter. - (nios2_store_gregset): Likewise. - -2016-07-01 Pedro Alves - Antoine Tremblay - - * linux-low.c: Change interface to take the target lwp_info - pointer directly and return void. Handle detaching from a zombie - thread. - (linux_detach_lwp_callback): New function. - (linux_detach): Detach from the leader thread after detaching from - the clone threads. - -2016-06-28 Yao Qi - - * linux-aarch64-low.c (aarch64_ftrace_insn_reloc_b): Use int64_t - for variable new_offset. - (aarch64_ftrace_insn_reloc_b_cond): Likewise. - (aarch64_ftrace_insn_reloc_cb): Likewise. - (aarch64_ftrace_insn_reloc_tb): Likewise. - (aarch64_install_fast_tracepoint_jump_pad): Likewise. Use - PRIx64 instead of PRIx32. - -2016-06-28 Yao Qi - - * linux-arm-low.c (arm_get_syscall_trapinfo): New function. - (the_low_target): Install arm_get_syscall_trapinfo. - -2016-06-28 Yao Qi - - * linux-aarch64-low.c (aarch64_get_syscall_trapinfo): New - function. - (the_low_target): Install aarch64_get_syscall_trapinfo. - -2016-06-28 Yao Qi - - * linux-low.c (get_syscall_trapinfo): Remove parameter sysret. - Callers updated. - * linux-low.h (struct linux_target_ops) : - Remove parameter sysno. - * linux-x86-low.c (x86_get_syscall_trapinfo): Remove parameter - sysret. - -2016-06-21 Andreas Arnez - - * linux-s390-low.c (s390_emit_eq_goto): Mark function static. - (s390_emit_ne_goto): Likewise. - (s390_emit_lt_goto): Likewise. - (s390_emit_le_goto): Likewise. - (s390_emit_gt_goto): Likewise. - (s390_emit_ge_goto): Likewise. - (s390x_emit_eq_goto): Likewise. - (s390x_emit_ne_goto): Likewise. - (s390x_emit_lt_goto): Likewise. - (s390x_emit_le_goto): Likewise. - (s390x_emit_gt_goto): Likewise. - (s390x_emit_ge_goto): Likewise. - (s390_emit_ops_impl): Mark variable static. - (s390x_emit_ops): Likewise. - -2016-06-17 Yao Qi - - * linux-low.c (handle_extended_wait): Call - uninsert_reinsert_breakpoints for the parent process. Remove - reinsert breakpoints from the child process. Reinsert them to - the parent process when vfork is done. - * mem-break.c (uninsert_reinsert_breakpoints): New function. - (reinsert_reinsert_breakpoints): New function. - * mem-break.h (uninsert_reinsert_breakpoints): Declare - (reinsert_reinsert_breakpoints): Declare. - -2016-06-17 Yao Qi - - * linux-low.c (handle_extended_wait): If the parent is doing - step-over, remove the reinsert breakpoints from the forked child. - -2016-06-17 Yao Qi - - * linux-low.c (unsuspend_all_lwps): Declare. - (linux_low_filter_event): If thread exited, call finish_step_over. - If step-over is finished, unsuspend other threads. - -2016-06-17 Yao Qi - - * linux-low.c (linux_resume_one_lwp_throw): Assert - has_reinsert_breakpoints returns false. - * mem-break.c (delete_disabled_breakpoints): Assert - bp type isn't reinsert_breakpoint. - -2016-06-17 Yao Qi - - * linux-low.c (maybe_hw_step): New function. - (linux_resume_one_lwp_throw): Call maybe_hw_step. - (finish_step_over): Switch current_thread to lwp temporarily, - and assert has_reinsert_breakpoints returns true. - (proceed_one_lwp): Call maybe_hw_step. - * mem-break.c (has_reinsert_breakpoints): New function. - * mem-break.h (has_reinsert_breakpoints): Declare. - -2016-06-02 Jon Turney - - * win32-low.c (win32_create_inferior): Add pointer casts for C++. - -2016-05-17 Yao Qi - - * linux-low.c (linux_stabilize_threads): Call unsuspend_all_lwps - instead of find_inferior. - -2016-05-05 Yao Qi - - * linux-arm-low.c (get_next_pcs_read_memory_unsigned_integer): - Initialize res to zero. - -2016-05-05 Yao Qi - - * linux-arm-low.c (arm_sigreturn_next_pc): Change type of cpsr - to uint32_t. - -2016-05-04 Ulrich Weigand - - * spu-low.c (fetch_ppc_register): Cast PowerPC-Linux-specific value - used as first ptrace argument to PTRACE_TYPE_ARG1 for C++. - (fetch_ppc_memory_1, store_ppc_memory_1): Likewise. - -2016-04-28 Par Olsson - Simon Marchi - - * tracepoint.c (write_inferior_int8): New function. - (cmd_qtenable_disable): Write enable flag using - write_inferior_int8. - -2016-04-25 Yao Qi - - * linux-low.c (lwp_signal_can_be_delivered): Adjust. - (need_step_over_p): Return zero if the LWP has pending signals - can be delivered on software single step target. - -2016-04-25 Yao Qi - - * linux-low.c (reinsert_raw_breakpoint): If bp->inserted is true - return instead of error. - -2016-04-22 Yao Qi - - * linux-aarch32-low.c (arm_store_gregset): Clear CPSR bits 20 - to 23. - -2016-04-22 Yao Qi - - * linux-low.c (lwp_signal_can_be_delivered): Don't deliver - signal when stepping over breakpoint with software single - step. - -2016-04-21 Pedro Alves - - * linux-s390-low.c (s390_collect_ptrace_register) - (s390_supply_ptrace_register, s390_get_hwcap): Use gdb_byte * and - add casts. - (s390_check_regset): Use void * instead of gdb_byte *. - -2016-04-20 Pedro Alves - - * configure: Renegerate. - -2016-04-20 Yao Qi - - * linux-aarch32-low.c: Include "arch/arm-linux.h". - (arm_fill_gregset): Use ARM_CPSR_GREGNUM rather than magic - number 16. - (arm_store_gregset): Likewise. - -2016-04-16 Walfred Tedeschi - - * Makefile.in (clean): Add removal for i386-avx-mpx.c, - i386-avx-mpx-linux.c, amd64-avx-mpx.c and amd64-avx-mpx-linux.c. - (i386-avx-mpx.c, i386-avx-mpx-linux.c, amd64-avx-mpx.c) - (amd64-avx-mpx-linux.c): New rules. - (amd64-avx-mpx-linux-ipa.o, i386-avx-mpx-linux-ipa.o): New rule. - * configure.srv (srv_i386_regobj): Add i386-avx-mpx.o. - (srv_i386_linux_regobj): Add i386-avx-mpx-linux.o. - (srv_amd64_regobj): Add amd64-avx-mpx.o. - (srv_amd64_linux_regobj): Add amd64-avx-mpx-linux.o. - (srv_i386_xmlfiles): Add i386/i386-avx-mpx.xml. - (srv_amd64_xmlfiles): Add i386/amd64-avx-mpx.xml. - (srv_i386_linux_xmlfiles): Add i386/i386-avx-mpx-linux.xml. - (srv_amd64_linux_xmlfiles): Add i386/amd64-avx-mpx-linux.xml. - (ipa_i386_linux_regobj): Add i386-avx-mpx-linux-ipa.o. - (ipa_amd64_linux_regobj): Add amd64-avx-mpx-linux-ipa.o. - * linux-x86-low.c (x86_linux_read_description): Add case for - X86_XSTATE_AVX_MPX_MASK. - (x86_get_ipa_tdesc_idx): Add cases for avx_mpx. - (initialize_low_arch): Call init_registers_amd64_avx_mpx_linux and - init_registers_i386_avx_mpx_linux. - * linux-i386-ipa.c (get_ipa_tdesc): Add case for avx_mpx. - (initialize_low_tracepoint): Call - init_registers_i386_avx_mpx_linux. - * linux-amd64-ipa.c (get_ipa_tdesc): Add case for avx_mpx. - (initialize_low_tracepoint): Call - init_registers_amd64_avx_mpx_linux. - * linux-x86-tdesc.h (X86_TDESC_AVX_MPX): New enum value. - (init_registers_amd64_avx_mpx_linux, tdesc_amd64_avx_mpx_linux) - (init_registers_i386_avx_mpx_linux, tdesc_i386_avx_mpx_linux): New - declarations. - -2016-04-18 Pedro Alves - - * configure: Regenerate. - -2016-04-13 Antoine Tremblay - - * linux-aarch64-low.c (aarch64_emit_add): Switch x1 and x0. - (aarch64_emit_sub): Likewise. - -2016-04-12 Pedro Alves - - * utils.c (prepare_to_throw_exception): Delete. - -2016-04-05 Simon Marchi - - * Makefile.in ($(IPA_LIB)): Set SONAME of the IPA lib. - -2016-04-05 Marcin Kościelnicki - - * tracepoint.c (getauxval): Move to #ifdef IN_PROCESS_AGENT. - -2016-04-03 Marcin Kościelnicki - - * linux-aarch64-ipa.c: Add include. - * linux-ppc-ipa.c: Add include. - * linux-s390-ipa.c: Add include. - -2016-03-31 Marcin Kościelnicki - - * tracepoint.c (gdb_collect_ptr): Remove const qualifier. - (get_raw_reg_ptr): Likewise. - (get_trace_state_variable_value_ptr): Likewise. - (set_trace_state_variable_value_ptr): Likewise. - (initialize_tracepoint): Cast alloc_jump_pad_buffer result to - char *. - -2016-03-31 Wei-cheng Wang - Marcin Kościelnicki - - PR/17221 - * linux-ppc-low.c (emit_insns): New function. - (__EMIT_ASM, _EMIT_ASM, EMIT_ASM): New macros. - (ppc_emit_prologue): New function. - (ppc_emit_epilogue): New function. - (ppc_emit_add): New function. - (ppc_emit_sub): New function. - (ppc_emit_mul): New function. - (ppc_emit_lsh): New function. - (ppc_emit_rsh_signed): New function. - (ppc_emit_rsh_unsigned): New function. - (ppc_emit_ext): New function. - (ppc_emit_zero_ext): New function. - (ppc_emit_log_not): New function. - (ppc_emit_bit_and): New function. - (ppc_emit_bit_or): New function. - (ppc_emit_bit_xor): New function. - (ppc_emit_bit_not): New function. - (ppc_emit_equal): New function. - (ppc_emit_less_signed): New function. - (ppc_emit_less_unsigned): New function. - (ppc_emit_ref): New function. - (ppc_emit_const): New function. - (ppc_emit_reg): New function. - (ppc_emit_pop): New function. - (ppc_emit_stack_flush): New function. - (ppc_emit_swap): New function. - (ppc_emit_stack_adjust): New function. - (ppc_emit_call): New function. - (ppc_emit_int_call_1): New function. - (ppc_emit_void_call_2): New function. - (ppc_emit_if_goto): New function. - (ppc_emit_goto): New function. - (ppc_emit_eq_goto): New function. - (ppc_emit_ne_goto): New function. - (ppc_emit_lt_goto): New function. - (ppc_emit_le_goto): New function. - (ppc_emit_gt_goto): New function. - (ppc_emit_ge_goto): New function. - (ppc_write_goto_address): New function. - (ppc_emit_ops_impl): New static variable. - (ppc64v1_emit_prologue): New function. - (ppc64v2_emit_prologue): New function. - (ppc64_emit_epilogue): New function. - (ppc64_emit_add): New function. - (ppc64_emit_sub): New function. - (ppc64_emit_mul): New function. - (ppc64_emit_lsh): New function. - (ppc64_emit_rsh_signed): New function. - (ppc64_emit_rsh_unsigned): New function. - (ppc64_emit_ext): New function. - (ppc64_emit_zero_ext): New function. - (ppc64_emit_log_not): New function. - (ppc64_emit_bit_and): New function. - (ppc64_emit_bit_or): New function. - (ppc64_emit_bit_xor): New function. - (ppc64_emit_bit_not): New function. - (ppc64_emit_equal): New function. - (ppc64_emit_less_signed): New function. - (ppc64_emit_less_unsigned): New function. - (ppc64_emit_ref): New function. - (ppc64_emit_const): New function. - (ppc64v1_emit_reg): New function. - (ppc64v2_emit_reg): New function. - (ppc64_emit_pop): New function. - (ppc64_emit_stack_flush): New function. - (ppc64_emit_swap): New function. - (ppc64v1_emit_call): New function. - (ppc64v2_emit_call): New function. - (ppc64v1_emit_int_call_1): New function. - (ppc64v2_emit_int_call_1): New function. - (ppc64v1_emit_void_call_2): New function. - (ppc64v2_emit_void_call_2): New function. - (ppc64_emit_if_goto): New function. - (ppc64_emit_eq_goto): New function. - (ppc64_emit_ne_goto): New function. - (ppc64_emit_lt_goto): New function. - (ppc64_emit_le_goto): New function. - (ppc64_emit_gt_goto): New function. - (ppc64_emit_ge_goto): New function. - (ppc64v1_emit_ops_impl): New static variable. - (ppc64v2_emit_ops_impl): New static variable. - (ppc_emit_ops): New function. - (linux_low_target): Wire in ppc_emit_ops. - -2016-03-31 Wei-cheng Wang - Marcin Kościelnicki - - PR/17221 - * Makefile.in: Add powerpc-*-ipa.o - * configure.srv: Add ipa_obj for powerpc*-linux. - * linux-ppc-ipa.c: New file. - * linux-ppc-low.c: Added linux-ppc-tdesc.h, ax.h, tracepoint.h - includes. - (PPC_FIELD): New macro. - (PPC_SEXT): New macro. - (PPC_OP6): New macro. - (PPC_BO): New macro. - (PPC_LI): New macro. - (PPC_BD): New macro. - (init_registers_*): Move prototype to linux-ppc-tdesc.h. - (tdesc_*): Move declaration to linux-ppc-tdesc.h. - (ppc_get_hwcap): Rename to ppc_get_auxv and add type parameter. - (ppc_get_thread_area): New function. - (is_elfv2_inferior): New function. - (gen_ds_form): New function. - (GEN_STD): New macro. - (GEN_STDU): New macro. - (GEN_LD): New macro. - (GEN_LDU): New macro. - (gen_d_form): New function. - (GEN_ADDI): New macro. - (GEN_ADDIS): New macro. - (GEN_LI): New macro. - (GEN_LIS): New macro. - (GEN_ORI): New macro. - (GEN_ORIS): New macro. - (GEN_LWZ): New macro. - (GEN_STW): New macro. - (GEN_STWU): New macro. - (gen_xfx_form): New function. - (GEN_MFSPR): New macro. - (GEN_MTSPR): New macro. - (GEN_MFCR): New macro. - (GEN_MTCR): New macro. - (GEN_SYNC): New macro. - (GEN_LWSYNC): New macro. - (gen_x_form): New function. - (GEN_OR): New macro. - (GEN_MR): New macro. - (GEN_LWARX): New macro. - (GEN_STWCX): New macro. - (GEN_CMPW): New macro. - (gen_md_form): New function. - (GEN_RLDICL): New macro. - (GEN_RLDICR): New macro. - (gen_i_form): New function. - (GEN_B): New macro. - (GEN_BL): New macro. - (gen_b_form): New function. - (GEN_BNE): New macro. - (GEN_LOAD): New macro. - (GEN_STORE): New macro. - (gen_limm): New function. - (gen_atomic_xchg): New function. - (gen_call): New function. - (ppc_relocate_instruction): New function. - (ppc_install_fast_tracepoint_jump_pad): New function. - (ppc_get_min_fast_tracepoint_insn_len): New function. - (ppc_get_ipa_tdesc_idx): New function. - (the_low_target): Wire in the new functions. - (initialize_low_arch) [!__powerpc64__]: Don'it initialize 64-bit - tdescs. - * linux-ppc-tdesc.h: New file. - -2016-03-31 Marcin Kościelnicki - - * linux-aarch64-ipa.c: Add and includes. - (alloc_jump_pad_buffer): New function. - * linux-amd64-ipa.c: Add include. - (alloc_jump_pad_buffer): New function. - * linux-i386-ipa.c (alloc_jump_pad_buffer): New function. - * linux-s390-ipa.c: Add and includes. - (alloc_jump_pad_buffer): New function. - * tracepoint.c (getauxval) [!HAVE_GETAUXVAL]: New function. - (initialize_tracepoint): Delegate to alloc_jump_pad_buffer. - * tracepoint.h (alloc_jump_pad_buffer): New prototype. - (getauxval) [!HAVE_GETAUXVAL]: New prototype. - -2016-03-30 Marcin Kościelnicki - - * linux-aarch64-ipa.c: Rename gdb_agent_get_raw_reg to get_raw_reg. - * linux-amd64-ipa.c: Likewise. - * linux-i386-ipa.c: Likewise. - * linux-s390-ipa.c: Likewise. - * tracepoint.c: IPA-export gdb_collect_ptr instead of gdb_collect, - ditto for get_raw_reg_ptr, get_trace_state_variable_value_ptr, - set_trace_state_variable_value_ptr. - (struct ipa_sym_addresses): Likewise. - (symbol_list): Likewise. - (install_fast_tracepoint): Dereference gdb_collect_ptr instead of - accessing gdb_collect directly. - (gdb_collect_ptr_type): New typedef. - (get_raw_reg_ptr_type): New typedef. - (get_trace_state_variable_value_ptr_type): New typedef. - (set_trace_state_variable_value_ptr_type): New typedef. - (gdb_collect_ptr): New global. - (get_raw_reg_ptr): New global. - (get_trace_state_variable_value_ptr): New global. - (set_trace_state_variable_value_ptr): New global. - (get_raw_reg_func_addr): Dereference get_raw_reg_ptr instead of - accessing get_raw_reg directly. - (get_get_tsv_func_addr): Likewise for - get_trace_state_variable_value_ptr. - (get_set_tsv_func_addr): Likewise for - set_trace_state_variable_value_ptr. - * tracepoint.h: Rename gdb_agent_get_raw_reg to get_raw_reg. - -2016-03-30 Simon Marchi - - * tracepoint.c (cmd_qtenable_disable): Remove whitespace. - -2016-03-30 Marcin Kościelnicki - - * remote-utils.c (look_up_one_symbol): Remove own_buf, handle 'v' - packets. - (relocate_instruction): Remove own_buf. - * server.c (own_buf): Make global. - (handle_v_requests): Make global. - * server.h (own_buf): New declaration. - (handle_v_requests): New prototype. - -2016-03-29 Marcin Kościelnicki - - PR 18377 - * linux-s390-low.c (add_insns): New function. - (s390_emit_prologue): New function. - (s390_emit_epilogue): New function. - (s390_emit_add): New function. - (s390_emit_sub): New function. - (s390_emit_mul): New function. - (s390_emit_lsh): New function. - (s390_emit_rsh_signed): New function. - (s390_emit_rsh_unsigned): New function. - (s390_emit_ext): New function. - (s390_emit_log_not): New function. - (s390_emit_bit_and): New function. - (s390_emit_bit_or): New function. - (s390_emit_bit_xor): New function. - (s390_emit_bit_not): New function. - (s390_emit_equal): New function. - (s390_emit_less_signed): New function. - (s390_emit_less_unsigned): New function. - (s390_emit_ref): New function. - (s390_emit_if_goto): New function. - (s390_emit_goto): New function. - (s390_write_goto_address): New function. - (s390_emit_litpool): New function. - (s390_emit_const): New function. - (s390_emit_call): New function. - (s390_emit_reg): New function. - (s390_emit_pop): New function. - (s390_emit_stack_flush): New function. - (s390_emit_zero_ext): New function. - (s390_emit_swap): New function. - (s390_emit_stack_adjust): New function. - (s390_emit_set_r2): New function. - (s390_emit_int_call_1): New function. - (s390_emit_void_call_2): New function. - (s390_emit_eq_goto): New function. - (s390_emit_ne_goto): New function. - (s390_emit_lt_goto): New function. - (s390_emit_le_goto): New function. - (s390_emit_gt_goto): New function. - (s390_emit_ge_goto): New function. - (s390x_emit_prologue): New function. - (s390x_emit_epilogue): New function. - (s390x_emit_add): New function. - (s390x_emit_sub): New function. - (s390x_emit_mul): New function. - (s390x_emit_lsh): New function. - (s390x_emit_rsh_signed): New function. - (s390x_emit_rsh_unsigned): New function. - (s390x_emit_ext): New function. - (s390x_emit_log_not): New function. - (s390x_emit_bit_and): New function. - (s390x_emit_bit_or): New function. - (s390x_emit_bit_xor): New function. - (s390x_emit_bit_not): New function. - (s390x_emit_equal): New function. - (s390x_emit_less_signed): New function. - (s390x_emit_less_unsigned): New function. - (s390x_emit_ref): New function. - (s390x_emit_if_goto): New function. - (s390x_emit_const): New function. - (s390x_emit_call): New function. - (s390x_emit_reg): New function. - (s390x_emit_pop): New function. - (s390x_emit_stack_flush): New function. - (s390x_emit_zero_ext): New function. - (s390x_emit_swap): New function. - (s390x_emit_stack_adjust): New function. - (s390x_emit_int_call_1): New function. - (s390x_emit_void_call_2): New function. - (s390x_emit_eq_goto): New function. - (s390x_emit_ne_goto): New function. - (s390x_emit_lt_goto): New function. - (s390x_emit_le_goto): New function. - (s390x_emit_gt_goto): New function. - (s390x_emit_ge_goto): New function. - (s390_emit_ops): New function. - (struct linux_target_ops): Fill in emit_ops hook. - -2016-03-29 Marcin Kościelnicki - - PR 18377 - * Makefile.in: Add s390 IPA files. - * configure.srv: Build IPA for s390. - * linux-s390-ipa.c: New file. - * linux-s390-low.c: New includes - inttypes.h and linux-s390-tdesc.h. - (init_registers_s390_linux32): Move declaration to linux-s390-tdesc.h. - (tdesc_s390_linux32): Likewise. - (init_registers_s390_linux32v1): Likewise. - (tdesc_s390_linux32v1): Likewise. - (init_registers_s390_linux32v2): Likewise. - (tdesc_s390_linux32v2): Likewise. - (init_registers_s390_linux64): Likewise. - (tdesc_s390_linux64): Likewise. - (init_registers_s390_linux64v1): Likewise. - (tdesc_s390_linux64v1): Likewise. - (init_registers_s390_linux64v2): Likewise. - (tdesc_s390_linux64v2): Likewise. - (init_registers_s390_te_linux64): Likewise. - (tdesc_s390_te_linux64): Likewise. - (init_registers_s390_vx_linux64): Likewise. - (tdesc_s390_vx_linux64): Likewise. - (init_registers_s390_tevx_linux64): Likewise. - (tdesc_s390_tevx_linux64): Likewise. - (init_registers_s390x_linux64): Likewise. - (tdesc_s390x_linux64): Likewise. - (init_registers_s390x_linux64v1): Likewise. - (tdesc_s390x_linux64v1): Likewise. - (init_registers_s390x_linux64v2): Likewise. - (tdesc_s390x_linux64v2): Likewise. - (init_registers_s390x_te_linux64): Likewise. - (tdesc_s390x_te_linux64): Likewise. - (init_registers_s390x_vx_linux64): Likewise. - (tdesc_s390x_vx_linux64): Likewise. - (init_registers_s390x_tevx_linux64): Likewise. - (tdesc_s390x_tevx_linux64): Likewise. - (have_hwcap_s390_vx): New static variable. - (s390_arch_setup): Fill have_hwcap_s390_vx. - (s390_get_thread_area): New function. - (s390_ft_entry_gpr_esa): New const. - (s390_ft_entry_gpr_zarch): New const. - (s390_ft_entry_misc): New const. - (s390_ft_entry_fr): New const. - (s390_ft_entry_vr): New const. - (s390_ft_main_31): New const. - (s390_ft_main_64): New const. - (s390_ft_exit_fr): New const. - (s390_ft_exit_vr): New const. - (s390_ft_exit_misc): New const. - (s390_ft_exit_gpr_esa): New const. - (s390_ft_exit_gpr_zarch): New const. - (append_insns): New function. - (s390_relocate_instruction): New function. - (s390_install_fast_tracepoint_jump_pad): New function. - (s390_get_min_fast_tracepoint_insn_len): New function. - (s390_get_ipa_tdesc_idx): New function. - (struct linux_target_ops): Wire in the above functions. - (initialize_low_arch) [!__s390x__]: Don't initialize s390x tdescs. - * linux-s390-tdesc.h: New file. - -2016-03-29 Marcin Kościelnicki - - * linux-s390-low.c (s390_supports_tracepoints): New function. - (struct linux_target_ops): Fill supports_tracepoints hook. - -2016-03-18 Yao Qi - - * linux-low.c (lwp_signal_can_be_delivered): New function. - (linux_resume_one_lwp_throw): Use lwp_signal_can_be_delivered. - -2016-03-18 Yao Qi - - * linux-low.c (linux_resume_one_lwp_throw): Set 'signal' to - 0 if signal is enqueued. Remove 'signal' from one debugging - message. Move one debugging message to some lines below. - Remove code setting 'signal' to 0. - -2016-03-18 Yao Qi - - * linux-low.c (linux_low_filter_event): Remove redundant - WIFSTOPPED check together with linux_wstatus_maybe_breakpoint. - -2016-03-09 Marcin Kościelnicki - - * linux-ppc-low.c (ppc_supports_tracepoints): New function. - (struct linux_target_ops): Wire in the above. - -2016-03-03 Yao Qi - - * linux-low.c: Update comments to start_step_over. - -2016-03-03 Yao Qi - - PR server/19736 - * linux-low.c (handle_extended_wait): Set child suspended - if event_lwp->bp_reinsert isn't zero. - -2016-03-02 Yao Qi - - * linux-low.c (linux_resume_one_lwp_throw): Replace code with - enqueue_pending_signal. - -2016-03-02 Marcin Kościelnicki - - * tracepoint.c (cmd_qtstart): Only set ipa_tdesc_idx if agent - is actually loaded. - -2016-02-25 Marcin Kościelnicki - - * linux-s390-low.c (s390_num_regs_3264): Define on 31-bit too. - (s390_regmap_3264) [!__s390x__]: New global. - (s390_collect_ptrace_register): Skip map entries containing -1. - (s390_supply_ptrace_register): Ditto. - (s390_fill_gprs_high): New function. - (s390_store_gprs_high): New function. - (s390_regsets): Add NT_S390_HIGH_GPRS. - (s390_get_hwcap): Enable on 31-bit. - (have_hwcap_s390_high_gprs): Enable on 31-bit. - (s390_arch_setup): Enable detection of high GPRs, TDB, VX on 31-bit. - Detect NT_S390_HIGH_GPRS. - (s390_usrregs_info_3264): Enable on 31-bit. - (s390_regs_info): Enable regs_info_3264 on 31-bit. - (initialize_low_arch): Initialize s390_regsets_info_3264 on 31-bit. - -2016-02-25 Marcin Kościelnicki - - PR gdb/13808 - * Makefile.in: Add i386-*-linux-ipa.o and amd64-*-linux-ipa.o. - * configure.srv: Ditto. - * linux-aarch64-ipa.c (get_ipa_tdesc): New function. - (initialize_low_tracepoint): Remove ipa_tdesc assignment. - * linux-amd64-ipa.c: Add "linux-x86-tdesc.h" include. - (init_registers_amd64_linux): Remove prototype. - (tdesc_amd64_linux): Remove declaration. - (get_ipa_tdesc): New function. - (initialize_low_tracepoint): Remove ipa_tdesc assignment, - initialize remaining tdescs. - * linux-i386-ipa.c: Add "linux-x86-tdesc.h" include. - (init_registers_i386_linux): Remove prototype. - (tdesc_i386_linux): Remove declaration. - (get_ipa_tdesc): New function. - (initialize_low_tracepoint): Remove ipa_tdesc assignment, - initialize remaining tdescs. - * linux-low.c (linux_get_ipa_tdesc_idx): New function. - (linux_target_ops): wire in linux_get_ipa_tdesc_idx. - * linux-low.h (struct linux_target_ops): Add get_ipa_tdesc_idx. - * linux-x86-low.c: Move tdesc declarations to linux-x86-tdesc.h. - (x86_get_ipa_tdesc_idx): New function. - (the_low_target): Wire in x86_get_ipa_tdesc_idx. - * linux-x86-tdesc.h: New file. - * target.h (struct target_ops): Add get_ipa_tdesc_idx. - (target_get_ipa_tdesc_idx): New macro. - * tracepoint.c (ipa_tdesc_idx): New macro. - (struct ipa_sym_addresses): Add addr_ipa_tdesc_idx. - (symbol_list): Add ipa_tdesc_idx. - (cmd_qtstart): Write ipa_tdesc_idx in the target. - (ipa_tdesc): Remove. - (ipa_tdesc_idx): New variable. - (get_context_regcache): Use get_ipa_tdesc. - (gdb_collect): Ditto. - (gdb_probe): Ditto. - * tracepoint.h (get_ipa_tdesc): New prototype. - (ipa_tdesc): Remove. - -2016-02-24 Pedro Alves - - * linux-low.c (check_stopped_by_breakpoint): Rename to ... - (save_stop_reason): ... this. Use GDB_ARCH_IS_TRAP_HWBKPT and - handle ambiguous GDB_ARCH_IS_TRAP_BRKPT / GDB_ARCH_IS_TRAP_HWBKPT. - Factor out common code between the USE_SIGTRAP_SIGINFO and - !USE_SIGTRAP_SIGINFO blocks. - (linux_low_filter_event): Call save_stop_reason instead of - check_stopped_by_breakpoint and check_stopped_by_watchpoint. - Update comments. - (linux_wait_1): Update comments. - -2016-02-24 Wei-cheng Wang - - * linux-ppc-low.c (ppc_supports_z_point_type): New function: - (ppc_insert_point, ppc_remove_point): Insert/remove z-packet breakpoints. - (ppc64_emit_ops_vector): Add target ops - ppc_supports_z_point_type, - ppc_insert_point, ppc_remove_point. - -2016-02-17 Marcin Kościelnicki - - * linux-s390-low.c (s390_supports_z_point_type): New function. - (struct linux_target_ops): Wire s390_supports_z_point_type in. - -2016-02-16 Yao Qi - - * linux-arm-low.c (get_next_pcs_syscall_next_pc): Remove argument - PC. Get pc from regcache_read_pc. - -2016-02-12 Yao Qi - - * linux-aarch64-low.c (aarch64_get_pc): Call linux_get_pc_64bit - or linux_get_pc_32bit. - (aarch64_set_pc): Call linux_set_pc_64bit or linux_set_pc_32bit. - -2016-02-12 Yao Qi - - * linux-arm-low.c (get_next_pcs_ops): Initialize it with - arm_linux_get_next_pcs_fixup. - -2016-02-12 Marcin Kościelnicki - - * tracepoint.c (x_tracepoint_action_download): Change - write_inferior_data_ptr to write_inferior_data_pointer. - (cmd_qtstart): Likewise. - (write_inferior_data_ptr): Remove. - (download_agent_expr): Change write_inferior_data_ptr to - write_inferior_data_pointer. - (download_tracepoint_1): Likewise. - (download_tracepoint): Likewise. - (download_trace_state_variables): Likewise. - -2016-02-11 Wei-cheng Wang - Marcin Kościelnicki - - * tracepoint.c (struct tracepoint_action_ops): Remove. - (struct tracepoint_action): Remove ops. - (m_tracepoint_action_download, r_tracepoint_action_download) - (x_tracepoint_action_download, l_tracepoint_action_download): Adjust - size and offset accordingly. - (m_tracepoint_action_ops, r_tracepoint_action_ops) - (x_tracepoint_action_ops, l_tracepoint_action_ops): Remove. - (tracepoint_action_send, tracepoint_action_download): New functions. - Helpers for trace action handlers. - (add_tracepoint_action): Remove setup actions ops. - (download_tracepoint_1, tracepoint_send_agent): Call helper functions. - -2016-02-10 Yao Qi - - * regcache.c (regcache_raw_read_unsigned): Clear *VAL. - -2016-02-09 Simon Marchi - - * configure.ac: Use AC_CONFIG_FILES instead of passing arguments - to AC_OUTPUT. - * configure: Regenerate. - -2016-02-09 Simon Marchi - - * linux-aarch64-low.c (aarch64_linux_siginfo_fixup): Change - void * to gdb_byte *. - * linux-low.c (siginfo_fixup): Likewise. - (linux_xfer_siginfo): Likewise. - * linux-low.h (struct linux_target_ops) : - Likewise. - * linux-x86-low.c (x86_siginfo_fixup): Likewise. - -2016-02-02 Walfred Tedeschi - - * configure.srv (x86_64-*-linux*): Add amd64-linux-siginfo.o - to srv_tgtobj. - (i[34567]86-*-linux*): Add amd64-linux-siginfo.o - to srv_tgtobj. - * linux-x86-low.c [__x86_64__]: Include - "nat/amd64-linux-siginfo.h". - (compat_siginfo_from_siginfo, siginfo_from_compat_siginfo) - (compat_x32_siginfo_from_siginfo, siginfo_from_compat_x32_siginfo) - (compat_timeval, compat_sigval, compat_x32_clock, cpt_si_pid) - (cpt_si_uid, cpt_si_timerid, cpt_si_overrun, cpt_si_status) - (cpt_si_utime, cpt_si_stime, cpt_si_ptr, cpt_si_addr, cpt_si_band) - (cpt_si_fd, si_timerid, si_overrun): Move from - nat/amd64-linux-siginfo.c. - * Makefile.in (amd64-linux-siginfo.o:): New rule. - -2016-01-28 Simon Marchi - - * server.c (skip_to_semicolon): Remove. - (process_point_options): Use strchrnul instead of - skip_to_semicolon. - -2016-01-26 Yao Qi - - * linux-arm-low.c (arm_gdbserver_get_next_pcs): Remove argument pc. - * linux-low.c (install_software_single_step_breakpoints): Don't - call regcache_read_pc. - * linux-low.h (struct linux_target_ops) : Remove - argument pc. - -2016-01-26 Yao Qi - - * linux-low.c (install_software_single_step_breakpoints): Call - regcache_read_pc instead of get_pc. - -2016-01-26 Yao Qi - - * remote-utils.c (remote_close) [!USE_WIN32API]: Ignore SIGIO. - (unblock_async_io): Rename to ... - (block_unblock_async_io): ... it. New function. - (enable_async_io): Don't install SIGIO handler. Unblock it - instead. - (disable_async_io): Don't ignore SIGIO. Block it instead. - (initialize_async_io): Install SIGIO handler. Don't call - unblock_async_io. - -2016-01-26 Yao Qi - - * remote-utils.c (getpkt): If the buffer isn't empty, and the - first character is '\003', call *the_target->request_interrupt. - -2016-01-25 Yao Qi - - * remote-utils.c (new_thread_notify): Remove. - (dead_thread_notify): Likewise. - * remote-utils.h (new_thread_notify): Remove declaration. - (dead_thread_notify): Likewise. - -2016-01-23 Marcin Kościelnicki - - * gdb.trace/pending.exp: Fix expected message on continue. - -2016-01-22 Marcin Kościelnicki - - * tracepoint.c (write_inferior_data_ptr): Cast to uintptr_t, so that - it works properly on big-endian machines where sizeof (CORE_ADDR) - != sizeof (void *). - -2016-01-21 Pedro Alves - - * Makefile.in (COMPILER_CFLAGS, CXXFLAGS): New. - (INTERNAL_CFLAGS_BASE): Use COMPILER_CFLAGS instead of CFLAGS. - * configure: Regenerate. - -2016-01-21 Yao Qi - - * linux-arm-low.c (arm_sigreturn_next_pc): Add parameter - is_thumb and set it according to CPSR saved on the stack. - (get_next_pcs_syscall_next_pc): Pass is_thumb to - arm_sigreturn_next_pc. - -2016-01-18 Yao Qi - - * linux-low.c (linux_set_pc_64bit): New function. - (linux_get_pc_64bit): New function. - * linux-low.h (linux_set_pc_64bit, linux_get_pc_64bit): - Declare. - * linux-sparc-low.c (debug_threads): Remove declaration. - (sparc_get_pc): Remove. - (the_low_target): Use linux_get_pc_64bit instead of - sparc_get_pc. - * linux-tile-low.c (tile_get_pc, tile_set_pc): Remove. - (the_low_target): Use linux_get_pc_64bit and - linux_set_pc_64bit. - -2016-01-18 Yao Qi - - * linux-arm-low.c (debug_threads): Remove declaration. - (arm_get_pc, arm_set_pc): Remove. - (the_low_target): Use linux_get_pc_32bit and - linux_set_pc_32bit. - * linux-bfin-low.c (bfin_get_pc, bfin_set_pc): Remove. - (the_low_target): Use linux_get_pc_32bit and - linux_set_pc_32bit. - * linux-cris-low.c (debug_threads): Remove declaration. - (cris_get_pc, cris_set_pc,): Remove. - (the_low_target): Use linux_get_pc_32bit and - linux_set_pc_32bit. - * linux-crisv32-low.c (debug_threads): Remove declaration. - (cris_get_pc, cris_set_pc): Remove. - (the_low_target): Use linux_get_pc_32bit and - linux_set_pc_32bit. - * linux-low.c: Include inttypes.h. - (linux_get_pc_32bit, linux_set_pc_32bit): New functions. - * linux-low.h (linux_get_pc_32bit, linux_set_pc_32bit): Declare. - * linux-m32r-low.c (m32r_get_pc, m32r_set_pc): Remove. - (the_low_target): Use linux_get_pc_32bit and - linux_set_pc_32bit. - * linux-m68k-low.c (m68k_get_pc, m68k_set_pc): Remove. - (the_low_target): Use linux_get_pc_32bit and - linux_set_pc_32bit. - * linux-nios2-low.c (nios2_get_pc, nios2_set_pc): Remove. - (the_low_target): Use linux_get_pc_32bit and - linux_set_pc_32bit. - * linux-sh-low.c (sh_get_pc, sh_set_pc): Remove. - (the_low_target): Use linux_get_pc_32bit and - linux_set_pc_32bit. - * linux-xtensa-low.c (xtensa_get_pc, xtensa_set_pc): Remove. - (the_low_target): Use linux_get_pc_32bit and - linux_set_pc_32bit. - -2016-01-18 Gary Benson - - * configure.ac (AC_FUNC_FORK): New check. - * config.in: Regenerate. - * configure: Likewise. - -2016-01-14 Yao Qi - - * linux-aarch32-low.c (thumb2_breakpoint): Make it static. - * linux-aarch32-low.h (thumb2_breakpoint): Remove declaration. - * linux-arm-low.c (arm_gdbserver_get_next_pcs): Pass 1 to - arm_get_next_pcs_ctor. - -2016-01-12 Josh Stone - Philippe Waroquiers - - * inferiors.h: Include "gdb_vecs.h". - (struct process_info): Add syscalls_to_catch. - * inferiors.c (remove_process): Free syscalls_to_catch. - * remote-utils.c (prepare_resume_reply): Report syscall_entry and - syscall_return stops. - * server.h (UNKNOWN_SYSCALL, ANY_SYSCALL): Define. - * server.c (handle_general_set): Handle QCatchSyscalls. - (handle_query): Report support for QCatchSyscalls. - * target.h (struct target_ops): Add supports_catch_syscall. - (target_supports_catch_syscall): New macro. - * linux-low.h (struct linux_target_ops): Add get_syscall_trapinfo. - (struct lwp_info): Add syscall_state. - * linux-low.c (handle_extended_wait): Mark syscall_state as an entry. - Maintain syscall_state and syscalls_to_catch across exec. - (get_syscall_trapinfo): New function, proxy to the_low_target. - (linux_low_ptrace_options): Enable PTRACE_O_TRACESYSGOOD. - (linux_low_filter_event): Toggle syscall_state entry/return for - syscall traps, and set it ignored for all others. - (gdb_catching_syscalls_p): New function. - (gdb_catch_this_syscall_p): New function. - (linux_wait_1): Handle SYSCALL_SIGTRAP. - (linux_resume_one_lwp_throw): Add PTRACE_SYSCALL possibility. - (linux_supports_catch_syscall): New function. - (linux_target_ops): Install it. - * linux-x86-low.c (x86_get_syscall_trapinfo): New function. - (the_low_target): Install it. - -2016-01-12 Mike Frysinger - - * acinclude.m4: Include new ../warning.m4 file. - * configure: Regenerated. - * configure.ac: Replace all warning logic with AM_GDB_WARNINGS. - -2016-01-12 Mike Frysinger - - * ax.c (is_goto_target): Mark static. - * linux-low.c (register_addr): Likewise. - (linux_fetch_registers, linux_store_registers): Likewise. - * mem-break.c (any_persistent_commands): Fix old prototype. - (add_commands_to_breakpoint): Mark static. - * regcache.c (find_register_by_name): Delete unused func. - * remote-utils.c (hex_or_minus_one): Mark static. - * server.c (monitor_show_help): Mark static. - (handle_query, handle_v_cont, handle_v_attach, handle_v_kill, - handle_v_requests): Likewise. - -2016-01-12 Pedro Alves - - Remove use of the registered trademark symbol throughout. - -2016-01-08 Yao Qi - - * remote-utils.c (getpkt): If c is '\003', call target hook - request_interrupt. - -2016-01-06 Yao Qi - - * linux-aarch32-low.h (arm_abi_breakpoint): Move to - linux-aarch32-low.c. - (arm_eabi_breakpoint, arm_breakpoint): Likewise. - (arm_breakpoint_len, thumb_breakpoint_len): Likewise. - (thumb2_breakpoint, thumb2_breakpoint_len): Likewise. - (thumb2_breakpoint): Declare. - * linux-aarch32-low.c (arm_abi_breakpoint): Moved from - linux-aarch32-low.h. - (arm_eabi_breakpoint, arm_breakpoint): Likewise. - (arm_breakpoint_len, thumb_breakpoint_len): Likewise. - (thumb2_breakpoint, thumb2_breakpoint_len): Likewise. - -2016-01-01 Joel Brobecker - - * gdbreplay.c (gdbreplay_version): Change copyright year in - version message. - * server.c (gdbserver_version): Likewise. - -2015-12-28 Patrick Palka - - * server.c (crc32_table): Delete. - (crc32): Use libiberty's xcrc32 function. - -2015-12-22 Joel Brobecker - - * lynx-low.c (lynx_delete_thread_callback): New function. - (lynx_mourn): Properly delete our process and all of its - threads. Remove call to clear_inferiors. - -2015-12-22 Joel Brobecker - - * target.c (thread_search_callback): Add check that - the thread_stopped target callback is not NULL before - calling it. - -2015-12-21 Yao Qi - - * linux-aarch32-low.h [__aarch64__]: Use arm_abi_breakpoint - arm breakpoint. - -2015-12-18 Antoine Tremblay - - * server.c (handle_query): Call target_supports_software_single_step. - -2015-12-18 Antoine Tremblay - - * linux-low.c (single_step): New function. - (linux_resume_one_lwp_throw): Call single_step. - (start_step_over): Likewise. - -2015-12-18 Antoine Tremblay - - * Makefile.in (SFILES): Append arch/arm-linux.c, - arch/arm-get-next-pcs.c. - (arm-linux.o): New rule. - (arm-get-next-pcs.o): New rule. - * configure.srv (arm*-*-linux*): Add arm-get-next-pcs.o, - arm-linux.o. - * linux-aarch32-low.c (arm_abi_breakpoint): Remove macro. Moved - to linux-aarch32-low.c. - (arm_eabi_breakpoint, arm_breakpoint): Likewise. - (arm_breakpoint_len, thumb_breakpoint): Likewise. - (thumb_breakpoint_len, thumb2_breakpoint): Likewise. - (thumb2_breakpoint_len): Likewise. - (arm_is_thumb_mode): Make non-static. - * linux-aarch32-low.h (arm_abi_breakpoint): New macro. Moved - from linux-aarch32-low.c. - (arm_eabi_breakpoint, arm_breakpoint): Likewise. - (arm_breakpoint_len, thumb_breakpoint): Likewise. - (thumb_breakpoint_len, thumb2_breakpoint): Likewise. - (thumb2_breakpoint_len): Likewise. - (arm_is_thumb_mode): New declaration. - * linux-arm-low.c: Include arch/arm-linux.h - aarch/arm-get-next-pcs.h, sys/syscall.h. - (get_next_pcs_ops): New struct. - (get_next_pcs_addr_bits_remove): New function. - (get_next_pcs_is_thumb): New function. - (get_next_pcs_read_memory_unsigned_integer): Likewise. - (arm_sigreturn_next_pc): Likewise. - (get_next_pcs_syscall_next_pc): Likewise. - (arm_gdbserver_get_next_pcs): Likewise. - (struct linux_target_ops) : - Initialize. - * linux-low.h: Move CORE_ADDR vector definition to gdb_vecs.h. - * server.h: Include gdb_vecs.h. - -2015-12-18 Antoine Tremblay - - * Makefile.in (SFILES): Append common/common-regcache.c. - (OBS): Append common-regcache.o. - (common-regcache.o): New rule. - * regcache.c (init_register_cache): Initialize cache to - REG_UNAVAILABLE. - (regcache_raw_read_unsigned): New function. - * regcache.h (REG_UNAVAILABLE, REG_VALID): Replaced by shared - register_status enum. - -2015-12-18 Antoine Tremblay - - * linux-aarch64-low.c (the_low_targets): Rename - breakpoint_reinsert_addr to get_next_pcs. - * linux-arm-low.c (the_low_targets): Likewise. - * linux-bfin-low.c (the_low_targets): Likewise. - * linux-cris-low.c (the_low_targets): Likewise. - * linux-crisv32-low.c (the_low_targets): Likewise. - * linux-low.c (can_software_single_step): Likewise. - (install_software_single_step_breakpoints): New function. - (start_step_over): Use install_software_single_step_breakpoints. - * linux-low.h: New CORE_ADDR vector. - (struct linux_target_ops) Rename breakpoint_reinsert_addr to - get_next_pcs. - * linux-mips-low.c (the_low_targets): Likewise. - * linux-nios2-low.c (the_low_targets): Likewise. - * linux-sparc-low.c (the_low_targets): Likewise. - -2015-12-17 Pedro Alves - - * linux-low.c (linux_kill_one_lwp): Remove references to - LinuxThreads. - (kill_lwp): Remove HAVE_TKILL_SYSCALL check. No longer fall back - to 'kill'. - (linux_init_signals): Delete. - (initialize_low): Adjust. - * thread-db.c (thread_db_init): Remove LinuxThreads reference. - -2015-12-16 Pedro Alves - - * configure.ac (compiler warning flags): When testing a - -Wno-foo option, check whether -Wfoo works instead. - * configure: Regenerate. - -2015-12-11 Don Breazeal - - * server.c (process_serial_event): Don't exit from gdbserver - in remote mode if there are still active inferiors. - -2015-12-11 Yao Qi - - * linux-aarch64-low.c (aarch64_breakpoint_at): Call - arm_breakpoint_at if the process is 32-bit. - -2015-12-11 Yao Qi - - * linux-aarch32-low.c [__aarch64__]: Use arm_abi_breakpoint - arm breakpoint. - -2015-12-07 Yao Qi - - * configure.srv: Append arm.o to srv_tgtobj for - aarch64*-*-linux* target. - * linux-aarch32-low.c (arm_abi_breakpoint): New macro. Moved - from linux-arm-low.c. - (arm_eabi_breakpoint, arm_breakpoint): Likewise. - (arm_breakpoint_len, thumb_breakpoint): Likewise. - (thumb_breakpoint_len, thumb2_breakpoint): Likewise. - (thumb2_breakpoint_len): Likewise. - (arm_is_thumb_mode, arm_breakpoint_at): Likewise. - (arm_breakpoint_kinds): Likewise. - (arm_breakpoint_kind_from_pc): Likewise. - (arm_sw_breakpoint_from_kind): Likewise. - (arm_breakpoint_kind_from_current_state): Likewise. - * linux-aarch32-low.h (arm_breakpoint_kind_from_pc): Declare. - (arm_sw_breakpoint_from_kind): Declare. - (arm_breakpoint_kind_from_current_state): Declare. - (arm_breakpoint_at): Declare. - * linux-aarch64-low.c (aarch64_sw_breakpoint_from_kind): Call - arm_sw_breakpoint_from_kind if process is 32-bit. - (aarch64_breakpoint_kind_from_pc): New function. - (aarch64_breakpoint_kind_from_current_state): New function. - (the_low_target): Initialize fields breakpoint_kind_from_pc - and breakpoint_kind_from_current_state. - * linux-arm-low.c (arm_breakpoint_kinds): Move to - linux-aarch32-low.c. - (arm_abi_breakpoint, arm_eabi_breakpoint): Likewise. - (arm_breakpoint, arm_breakpoint_len): Likewise. - (thumb_breakpoint, thumb_breakpoint_len): Likewise. - (thumb2_breakpoint, thumb2_breakpoint_len): Likewise. - (arm_is_thumb_mode): Likewise. - (arm_breakpoint_at): Likewise. - (arm_breakpoint_kind_from_pc): Likewise. - (arm_sw_breakpoint_from_kind): Likewise. - (arm_breakpoint_kind_from_current_state): Likewise. - - Revert: - 2015-08-04 Yao Qi - - * linux-aarch64-low.c (aarch64_supports_z_point_type): Return - 0 for Z_PACKET_SW_BP if it may be used in multi-arch debugging. - * server.c (extended_protocol): Remove "static". - * server.h (extended_protocol): Declare it. - -2015-12-04 Josh Stone - - * target.h (struct target_ops) : Rename to ... - (struct target_ops) : ... this. - (target_arch_setup): Rename to ... - (target_post_create_inferior): ... this, calling post_create_inferior. - * server.c (start_inferior): Update target_arch_setup calls to - target_post_create_inferior. - * linux-low.c (linux_low_ptrace_options): Forward declare. - (linux_arch_setup): Update its comment for general use. - (linux_post_create_inferior): New, run arch_setup and setup ptrace. - (struct linux_target_ops): Use linux_post_create_inferior. - * lynx-low.c (struct lynx_target_ops): Update arch_setup stub comment - to post_create_inferior. - * nto-low.c (struct nto_target_ops): Likewise. - * spu-low.c (struct spu_target_ops): Likewise. - * win32-low.c (struct win32_target_ops): Likewise. - -2015-12-03 Antoine Tremblay - - * linux-arm-low.c: Remove duplicate arch/arm.h include. - -2015-11-30 Antoine Tremblay - - * linux-arm-low.c (arm_reinsert_addr): Remove function. - (struct linux_target_ops : Set to NULL. - * linux-cris-low.c (cris_reinsert_addr> Remove function. - (struct linux_target_ops) : Set to NULL. - * linux-crisv32-low.c (cris_reinsert_addr): Remove function. - (struct linux_target_ops) : Set to NULL. - * linux-mips-low.c (mips_reinsert_addr): Remove function. - (struct linux_target_ops) : Set to NULL. - * linux-nios2-low.c (nios2_reinsert_addr): Remove function. - (struct linux_target_ops) : Set to NULL. - * linux-sparc-low.c (sparc_reinsert_addr): Remove function. - (struct linux_target_ops) : Set to NULL. - -2015-11-30 Antoine Tremblay - - * linux-low.c (linux_look_up_symbols): Don't call - linux_supports_traceclone. - * linux-low.h (thread_db_init): Remove use_events argument. - * thread-db.c (thread_db_use_event): Remove global variable. - (struct thread_db) : Remove field. - (struct thread_db) : Remove field. - (thread_db_create_event): Remove function. - (thread_db_enable_reporting): Likewise. - (find_one_thread): Don't check for thread_db_use_events. - (attach_thread): Likewise. - (thread_db_load_search): Remove td_thr_event_enable_p initialization. - (try_thread_db_load_1): Don't check for thread_db_use_events. - (thread_db_init): Remove use_events argument and thread events - handling. - (remove_thread_event_breakpoints): Remove function. - (thread_db_detach): Remove call to remove_thred_event_breakpoints. - -2015-11-30 Antoine Tremblay - - * linux-aarch64-low.c (aarch64_supports_hardware_single_step): - New function. - (struct linux_target_ops) : Initialize. - * linux-arm-low.c (arm_supports_hardware_single_step): New function. - (struct linux_target_ops) : Initialize. - * linux-bfin-low.c (bfin_supports_hardware_single_step): New function. - (struct linux_target_ops) : - Initialize. - * linux-crisv32-low.c (cris_supports_hardware_single_step): - New function. - (struct linux_target_ops) : Initialize. - * linux-low.c (can_hardware_single_step): Use - supports_hardware_single_step. - (can_software_single_step): New function. - (start_step_over): Call can_software_single_step. - (linux_supports_hardware_single_step): New function. - (struct target_ops) : Initialize. - * linux-low.h (struct linux_target_ops) - : Initialize. - * linux-m32r-low.c (m32r_supports_hardware_single_step): New function. - (struct linux_target_ops) : Initialize. - * linux-ppc-low.c (ppc_supports_hardware_single_step): New function. - (struct linux_target_ops) Initialize. - * linux-s390-low.c (s390_supports_hardware_single_step): New function. - (struct linux_target_ops) : Initialize. - * linux-sh-low.c (sh_supports_hardware_single_step): New function. - (struct linux_target_ops) : Initialize. - * linux-tic6x-low.c (tic6x_supports_hardware_single_step): New function. - (struct linux_target_ops) : - Initialize. - * linux-tile-low.c (tile_supports_hardware_single_step): New function. - (struct linux_target_ops) : - Initialize. - * linux-x86-low.c (x86_supports_hardware_single_step) New function. - (struct linux_target_ops) : Initialize. - * linux-xtensa-low.c (xtensa_supports_hardware_single_step): - New function. - (struct linux_target_ops) : Initialize. - * target.h (struct target_ops): : - New field. - (target_supports_software_single_step): New macro. - -2015-11-30 Antoine Tremblay - - * linux-low.c (linux_wait_1): Fix pc advance condition. - * mem-break.c (reinsert_breakpoint_inserted_here): New function. - * mem-break.h (reinsert_breakpoint_inserted_here): New declaration. - -2015-11-30 Antoine Tremblay - - * linux-arm-low.c (arm_is_thumb_mode): New function. - (arm_breakpoint_at): Use arm_is_thumb_mode. - (arm_breakpoint_kind_from_current_state): New function. - (struct linux_target_ops) : - Initialize. - * linux-low.c (linux_wait_1): Call breakpoint_kind_from_current_state. - (linux_breakpoint_kind_from_current_state): New function. - (struct target_ops : Initialize. - * linux-low.h (struct linux_target_ops) - : New field. - * target.h (struct target_ops): Likewise. - (target_breakpoint_kind_from_current_state): New macro. - -2015-11-30 Pedro Alves - - * linux-low.c (linux_resume): Wake up the event loop before - returning. - -2015-11-30 Pedro Alves - - * mem-break.c (check_gdb_bp_preconditions): Remove current_thread - check. - (set_gdb_breakpoint): If prepare_to_access_memory fails, set *ERR - to -1. - * target.c (struct thread_search): New structure. - (thread_search_callback): New function. - (prev_general_thread): New global. - (prepare_to_access_memory, done_accessing_memory): New functions. - * target.h (prepare_to_access_memory, done_accessing_memory): - Replace macros with function declarations. - -2015-11-30 Pedro Alves - - PR 14618 - * linux-low.c (linux_wait_1): If the last resumed thread is gone, - report TARGET_WAITKIND_NO_RESUMED. - * remote-utils.c (prepare_resume_reply): Handle - TARGET_WAITKIND_NO_RESUMED. - * server.c (report_no_resumed): New global. - (handle_query) : Handle "no-resumed+". Report - "no-resumed+" support. - (resume): When the target reports TARGET_WAITKIND_NO_RESUMED, only - return error if the client doesn't support no-resumed events. - (push_stop_notification): New function. - (handle_target_event): Use it. Report TARGET_WAITKIND_NO_RESUMED - events if the client supports them. - -2015-11-30 Pedro Alves - - * linux-low.c (thread_still_has_status_pending_p): Don't check - vCont;t here. - (lwp_resumed): New function. - (status_pending_p_callback): Return early if the LWP is not - supposed to be resumed. - -2015-11-30 Pedro Alves - - * linux-low.c (handle_extended_wait): Assert that the LWP's - waitstatus is TARGET_WAITKIND_IGNORE. If GDB wants to hear about - thread create events, leave the new child's status pending. - (linux_low_filter_event): If GDB wants to hear about thread exit - events, leave the LWP marked dead and don't delete it. - (linux_wait_for_event_filtered): Don't check for thread exit. - (filter_exit_event): New function. - (linux_wait_1): Use it, when returning an exit event. - (linux_resume_one_lwp_throw): Assert that the LWP's - waitstatus is TARGET_WAITKIND_IGNORE. - * remote-utils.c (prepare_resume_reply): Handle - TARGET_WAITKIND_THREAD_CREATED and TARGET_WAITKIND_THREAD_EXITED. - * server.c (report_thread_events): New global. - (handle_general_set): Handle QThreadEvents. - (handle_query) : Handle and report QThreadEvents+; - (handle_target_event): Handle TARGET_WAITKIND_THREAD_CREATED and - TARGET_WAITKIND_THREAD_EXITED. - * server.h (report_thread_events): Declare. - -2015-11-30 Pedro Alves - - * linux-low.c (resume_stopped_resumed_lwps): Don't check whether - the thread's last_resume_kind was resume_stop. - -2015-11-30 Pedro Alves - - * linux-low.c (linux_attach): In non-stop mode, wait for one stop - before returning. - -2015-11-30 Pedro Alves - - * server.c (handle_v_requests): Handle vCtrlC. - -2015-11-30 Pedro Alves - - * gdbthread.h (find_any_thread_of_pid): Declare. - * inferiors.c (thread_of_pid, find_any_thread_of_pid): New - functions. - * server.c (handle_query): If current_thread is NULL, look for - another thread of the selected process. - -2015-11-26 Daniel Colascione - Simon Marchi - - * linux-low.c (linux_target_ops): Use linux_proc_tid_get_name. - * server.c (handle_qxfer_threads_worker): Refactor to include thread - name in reply. - * target.h (struct target_ops) : New field. - (target_thread_name): New macro. - -2015-11-23 Joel Brobecker - - * regcache.h (regcache_invalidate_pid): Add declaration. - * regcache.c (regcache_invalidate_pid): New function, extracted - from regcache_invalidate. - (regcache_invalidate): Reimplement using regcache_invalidate_pid. - Add trivial documentation comment. - * lynx-low.c: Use regcache_invalidate_pid instead of - regcache_invalidate. - -2015-11-23 Joel Brobecker - - * configure.ac: Do not call AC_CHECK_TYPES for Elf32_auxv_t - and Elf64_auxv_t if the target is Android. - -2015-11-22 Doug Evans - - * target.h: #include . - -2015-11-19 Pedro Alves - - * linux-low.c (linux_process_qsupported): Change prototype. - Adjust. - * linux-low.h (struct linux_target_ops) : - Change prototype. - * linux-x86-low.c (x86_linux_process_qsupported): Change prototype - and adjust to loop over all features. - * server.c (handle_query) : Adjust to call - target_process_qsupported once, passing it a vector of unprocessed - features. - * target.h (struct target_ops) : Change - prototype. - (target_process_qsupported): Adjust. - -2015-11-19 Pedro Alves - - * configure.ac (ERROR_ON_WARNING): Don't check whether in C++ - mode. - * configure: Regenerate. - -2015-11-19 Pedro Alves - - * configure: Regenerate. - -2015-11-19 Yao Qi - - * linux-aarch64-low.c (emit_data_processing_reg): Change opcode - type to uint32_t. - -2015-11-19 Yao Qi - - * linux-aarch64-low.c (enum aarch64_operand_type): New. - (struct aarch64_operand): Move enum out. - -2015-11-19 Yao Qi - - * linux-aarch64-low.c (aarch64_fill_fpregset): Cast buf to - struct user_fpsimd_state *. - (aarch64_store_fpregset): Likewise. - -2015-11-19 Yao Qi - - * linux-aarch64-low.c (aarch64_fill_gregset): Cast buf to - struct user_pt_regs *. - (aarch64_store_gregset): Likewise. - -2015-11-18 Pedro Alves - - * Makefile.in (all_object_files): Add $IPA_OBJS. - -2015-11-17 Pedro Alves - - * win32-low.c (win32_resume): Use gdb_signal_from_host, - GDB_SIGNAL_0 and gdb_signal_to_string. - -2015-11-17 Pedro Alves - - * win32-low.c (handle_output_debug_string): Remove parameter. - (win32_kill): Remove our_status local and adjust call to - handle_output_debug_string. - (get_child_debug_event): Adjust call to - handle_output_debug_string. - -2015-11-03 Simon Marchi - - * linux-mips-low.c (mips_fill_gregset): Add cast. - (mips_store_gregset): Likewise. - (mips_fill_fpregset): Likewise. - (mips_store_fpregset): Likewise. - -2015-11-03 Simon Marchi - - * linux-mips-low.c (mips_add_watchpoint): Rename private to - priv. - -2015-11-03 Simon Marchi - - * linux-mips-low.c (mips_linux_new_thread): Change type of - watch_type to enum target_hw_bp_type. - -2015-11-03 Simon Marchi - - * linux-arm-low.c (raw_bkpt_type_to_arm_hwbp_type): - Change return type to arm_hwbp_type. - -2015-11-03 Simon Marchi - - * linux-aarch32-low.c (arm_fill_gregset): Add cast. - (arm_store_gregset): Likewise. - * linux-arm-low.c (arm_get_hwcap): Likewise. - (arm_read_description): Likewise. - -2015-11-03 Simon Marchi - - * linux-aarch32-low.c (aarch32_regsets): Use NULL_REGSET. - -2015-11-03 Simon Marchi - - * linux-ppc-low.c (ppc_get_hwcap): Add cast. - (ppc_fill_vsxregset): Likewise. - (ppc_store_vsxregset): Likewise. - (ppc_fill_vrregset): Likewise. - (ppc_store_vrregset): Likewise. - (ppc_fill_evrregset): Likewise. - (ppc_store_evrregset): Likewise. - -2015-11-03 Simon Marchi - - * linux-ppc-low.c (ppc_usrregs_info): Remove - forward-declaration. - (ppc_arch_setup): Move lower in file. - -2015-10-30 Simon Marchi - - * proc-service.c (ps_pdread): Change CORE_ADDR cast to uintptr_t. - (ps_pdwrite): Likewise. - -2015-10-29 Henrik Wallin - - * linux-arm-low.c (arm_new_thread): Move pointer dereference - to after assert checks. - -2015-10-29 Simon Marchi - - * proc-service.c (ps_pdread): Add/adjust casts. - (ps_pdwrite): Add/adjust casts. - -2015-10-29 Simon Marchi - - * server.c (handle_search_memory_1): Cast return value of - memmem. - -2015-10-29 Simon Marchi - - * server.c (write_qxfer_response): Change type of data to - gdb_byte *. - -2015-10-29 Pedro Alves - - * mem-break.c (Z_packet_to_bkpt_type): Add cast. - -2015-10-29 Pedro Alves - - * tracepoint.c (clear_installed_tracepoints): Add casts. - -2015-10-29 Pedro Alves - - * server.c (handle_v_cont, process_serial_event): Add enum - gdb_signal casts to signal parsing code. - -2015-10-29 Pedro Alves - - * linux-low.h (NULL_REGSET): Define. - * linux-aarch64-low.c (aarch64_regsets): Use NULL_REGSET. - * linux-arm-low.c (arm_regsets): Likewise. - * linux-crisv32-low.c (cris_regsets): Likewise. - * linux-m68k-low.c (m68k_regsets): Likewise. - * linux-mips-low.c (mips_regsets): Likewise. - * linux-nios2-low.c (nios2_regsets): Likewise. - * linux-ppc-low.c (ppc_regsets): Likewise. - * linux-s390-low.c (s390_regsets): Likewise. - * linux-sh-low.c (sh_regsets): Likewise. - * linux-sparc-low.c (sparc_regsets): Likewise. - * linux-tic6x-low.c (tic6x_regsets): Likewise. - * linux-tile-low.c (tile_regsets): Likewise. - * linux-x86-low.c (x86_regsets): Likewise. - * linux-xtensa-low.c (xtensa_regsets): Likewise. - -2015-10-29 Pedro Alves - - * linux-low.h (NULL_REGSET): Define. - * linux-aarch64-low.c (aarch64_regsets): Use NULL_REGSET. - * linux-arm-low.c (arm_regsets): Likewise. - * linux-crisv32-low.c (cris_regsets): Likewise. - * linux-m68k-low.c (m68k_regsets): Likewise. - * linux-mips-low.c (mips_regsets): Likewise. - * linux-nios2-low.c (nios2_regsets): Likewise. - * linux-ppc-low.c (ppc_regsets): Likewise. - * linux-s390-low.c (s390_regsets): Likewise. - * linux-sh-low.c (sh_regsets): Likewise. - * linux-sparc-low.c (sparc_regsets): Likewise. - * linux-tic6x-low.c (tic6x_regsets): Likewise. - * linux-tile-low.c (tile_regsets): Likewise. - * linux-x86-low.c (x86_regsets): Likewise. - * linux-xtensa-low.c (xtensa_regsets): Likewise. - -2015-10-26 Doug Evans - - * linux-low.c (__SIGRTMIN): Move to nat/linux-nat.h. - -2015-10-26 Doug Evans - - * linux-low.c (W_STOPCODE): Moved to common/gdb_wait.h. - -2015-10-26 Doug Evans - - * thread-db.c (find_one_thread): Cast ti.ti_tid to unsigned long - for debug_printf. - (attach_thread, find_new_threads_callback): Ditto. - -2015-10-23 Antoine Tremblay - - * mem-break.h (set_breakpoint_data): Remove. - -2015-10-23 Antoine Tremblay - - * nto-low.c (nto_sw_breakpoint_from_kind): New function. - (struct target_ops) : Initialize. - (initialize_low): Remove set_breakpoint_data call. - * spu-low.c (spu_sw_breakpoint_from_kind): New function. - (struct target_ops) : Iniitalize. - (initialize_low): Remove set_breakpoint_data call. - * win32-low.c (win32_sw_breakpoint_from_kind): New function. - (struct target_ops) : Initialize. - (initialize_low): Remove set_breakpoint_data call. - -2015-10-23 Antoine Tremblay - - * linux-low.c (default_breakpoint_kind_from_pc): Move to target.c. - * mem-break.c (set_breakpoint_at): Use target_breakpoint_kind_from_pc. - * target.c (default_breakpoint_kind_from_pc): Moved from linux-low.c - * target.h (target_breakpoint_kind_from_pc): New macro. - -2015-10-22 Antoine Tremblay - - * linux-low.c (default_breakpoint_kind_from_pc): New function. - (linux_breakpoint_kind_from_pc): Use default_breakpoint_kind_from_pc for - the default breakpoint kind. - -2015-10-21 Antoine Tremblay - - * linux-arm-low.c (arm_supports_z_point_type): Add software - breakpoint support. - -2015-10-21 Antoine Tremblay - - * linux-arm-low.c: Refactor breakpoint definitions. - (arm_breakpoint_at): Adjust for arm_abi_breakpoint. - (arm_sw_breakpoint_from_kind): Adjust for arm_breakpoint. - -2015-10-21 Antoine Tremblay - - * Makefile.in: Add arm.c/o. - * configure.srv: Likewise. - * linux-arm-low.c (arm_breakpoint_kinds): New enum. - (arm_breakpoint_kind_from_pc): New function. - (arm_sw_breakpoint_from_kind): Return proper kind. - (struct linux_target_ops) : Initialize. - -2015-10-21 Antoine Tremblay - - * linux-low.c (initialize_low): Ajdust for breakpoint global variables - removal. - * mem-break.c : Remove breakpoint_data/breakpoint_len global variables. - (struct raw_breakpoint) : Remove. - (struct raw_breakpoint) : Add. - (bp_size): New function. - (bp_opcode): Likewise. - (find_raw_breakpoint_at): Adjust for kind. - (insert_memory_breakpoint): Adjust for kind call bp_size,bp_opcode. - (remove_memory_breakpoint): Adjust for kind call bp_size. - (set_raw_breakpoint_at): Adjust for kind. - (set_breakpoint): Likewise. - (set_breakpoint_at): Call breakpoint_kind_from_pc. - (delete_raw_breakpoint): Adjust for kind. - (delete_breakpoint): Likewise. - (find_gdb_breakpoint): Likewise. - (set_gdb_breakpoint_1): Likewise. - (set_gdb_breakpoint): Likewise. - (delete_gdb_breakpoint_1): Likewise. - (delete_gdb_breakpoint): Likewise. - (uninsert_raw_breakpoint): Likewise. - (reinsert_raw_breakpoint): Likewise. - (set_breakpoint_data): Remove. - (validate_inserted_breakpoint): Adjust for kind call bp_size,bp_opcode. - (check_mem_read): Adjust for kind call bp_size. - (check_mem_write): Adjust for kind call bp_size,bp_opcode. - (clone_one_breakpoint): Adjust for kind. - * mem-break.h (set_gdb_breakpoint): Likewise. - (delete_gdb_breakpoint): Likewise. - * server.c (process_serial_event): Likewise. - -2015-10-21 Antoine Tremblay - - * linux-aarch64-low.c (aarch64_sw_breakpoint_from_kind): New function. - (struct linux_target_ops) : Remove. - (struct linux_target_ops) : Remove. - (struct linux_target_ops) : Initialize field. - (struct linux_target_ops) : Initialize field. - * linux-arm-low.c (arm_breakpoint_kind_from_pc): New function. - (arm_sw_breakpoint_from_kind): New function. - * linux-bfin-low.c (bfin_sw_breakpoint_from_kind): New function. - (struct linux_target_ops) : Remove. - (struct linux_target_ops) : Remove. - (struct linux_target_ops) : Initialize field. - (struct linux_target_ops) : Initialize field. - * linux-cris-low.c (cris_sw_breakpoint_from_kind): New function. - (struct linux_target_ops) : Remove. - (struct linux_target_ops) : Remove. - (struct linux_target_ops) : Initialize field. - (struct linux_target_ops) : Initialize field. - * linux-crisv32-low.c (cris_sw_breakpoint_from_kind): New function. - (struct linux_target_ops) : Remove. - (struct linux_target_ops) : Remove. - (struct linux_target_ops) : Initialize field. - (struct linux_target_ops) : Initialize field. - * linux-low.c (linux_wait_1): Call breakpoint_kind_from_pc - and sw_breakpoint_from_kind to increment the pc. - (linux_breakpoint_kind_from_pc): New function. - (linux_sw_breakpoint_from_kind): New function. - (struct target_ops) : Initialize field. - (initialize_low): Call breakpoint_kind_from_pc and - sw_breakpoint_from_kind to replace breakpoint_data/len. - * linux-low.h (struct linux_target_ops) : - New field. - (struct linux_target_ops) : Likewise. - * linux-m32r-low.c (m32r_sw_breakpoint_from_kind): New function. - (struct linux_target_ops) : Remove. - (struct linux_target_ops) : Remove. - (struct linux_target_ops) : Initialize field. - (struct linux_target_ops) : Initialize field. - * linux-m68k-low.c (m68k_sw_breakpoint_from_kind): New function. - (struct linux_target_ops) : Remove. - (struct linux_target_ops) : Remove. - (struct linux_target_ops) : Initialize field. - (struct linux_target_ops) : Initialize field. - * linux-mips-low.c (mips_sw_breakpoint_from_kind): New function. - (struct linux_target_ops) : Remove. - (struct linux_target_ops) : Remove. - (struct linux_target_ops) : Initialize field. - (struct linux_target_ops) : Initialize field. - * linux-nios2-low.c (nios2_sw_breakpoint_from_kind): New function. - (struct linux_target_ops) : Remove. - (struct linux_target_ops) : Remove. - (struct linux_target_ops) : Initialize field. - (struct linux_target_ops) : Initialize field. - * linux-ppc-low.c (ppc_sw_breakpoint_from_kind): New function. - (struct linux_target_ops) : Remove. - (struct linux_target_ops) : Remove. - (struct linux_target_ops) : Initialize field. - (struct linux_target_ops) : Initialize field. - * linux-s390-low.c (s390_sw_breakpoint_from_kind): New function. - (struct linux_target_ops) : Remove. - (struct linux_target_ops) : Remove. - (struct linux_target_ops) : Initialize field. - (struct linux_target_ops) : Initialize field. - * linux-sh-low.c (sh_sw_breakpoint_from_kind): New function. - (struct linux_target_ops) : Remove. - (struct linux_target_ops) : Remove. - (struct linux_target_ops) : Initialize field. - (struct linux_target_ops) : Initialize field. - * linux-sparc-low.c (sparc_sw_breakpoint_from_kind): New function. - (struct linux_target_ops) : Remove. - (struct linux_target_ops) : Remove. - (struct linux_target_ops) : Initialize field. - (struct linux_target_ops) : Initialize field. - * linux-tic6x-low.c (tic6x_sw_breakpoint_from_kind): New function. - (struct linux_target_ops) : Remove. - (struct linux_target_ops) : Remove. - (struct linux_target_ops) : Initialize field. - (struct linux_target_ops) : Initialize field. - * linux-tile-low.c (tile_sw_breakpoint_from_kind): New function. - * linux-x86-low.c (x86_sw_breakpoint_from_kind): New function. - (struct linux_target_ops) : Remove. - (struct linux_target_ops) : Remove. - (struct linux_target_ops) : Initialize field. - (struct linux_target_ops) : Initialize field. - * linux-xtensa-low.c (xtensa_sw_breakpoint_from_kind) New function. - (struct linux_target_ops) : Remove. - (struct linux_target_ops) : Remove. - (struct linux_target_ops) : Initialize field. - (struct linux_target_ops) : Initialize field. - -2015-10-21 Antoine Tremblay - - * linux-cris-low.c (cris_get_pc): Remove void arg. - -2015-10-16 Aleksandar Ristovski - - * gdbserver/nto-low.c (nto_insert_point, nto_remove_point): Fix - variable name. - -2015-10-16 Aleksandar Ristovski - - * inferiors.c (thread_pid_matches_callback): New function. - (find_thread_process): New function. - (remove_thread): Reset current_thread. - (remove_process): Assert threads have been removed first. - -2015-10-15 Yao Qi - - * linux-aarch64-low.c (aarch64_insert_point): Set len to 2 - if it is 3. - (aarch64_remove_point): Likewise. - * regcache.c (regcache_register_size): New function. - -2015-10-12 Yao Qi - - * linux-aarch64-low.c: Update all callers as emit_load_store - is renamed to aarch64_emit_load_store. - -2015-10-12 Yao Qi - - * linux-aarch64-low.c: Update all callers of function renaming - from emit_insn to aarch64_emit_insn. - -2015-10-12 Yao Qi - - * linux-aarch64-low.c (enum aarch64_opcodes): Move to - arch/aarch64-insn.h. - (struct aarch64_memory_operand): Likewise. - (ENCODE): Likewise. - (emit_insn): Move to arch/aarch64-insn.c. - (emit_b, emit_bcond, emit_cb, emit_tb): Remove. - (emit_load_store): Move to arch/aarch64-insn.c. - (emit_ldr, emit_ldrb, emit_ldrsw, emit_nop): Remove. - (can_encode_int32): Remove. - -2015-10-12 Yao Qi - - * linux-aarch64-low.c (extract_signed_bitfield): Remove. - (aarch64_decode_ldr_literal): Move to gdb/arch/aarch64-insn.c. - (aarch64_relocate_instruction): Likewise. - (struct aarch64_insn_data): Move to gdb/arch/aarch64-insn.h. - (struct aarch64_insn_visitor): Likewise. - -2015-10-12 Yao Qi - - * linux-aarch64-low.c (struct aarch64_insn_data): New. - (struct aarch64_insn_visitor): New. - (struct aarch64_insn_relocation_data): New. - (aarch64_ftrace_insn_reloc_b): New function. - (aarch64_ftrace_insn_reloc_b_cond): Likewise. - (aarch64_ftrace_insn_reloc_cb): Likewise. - (aarch64_ftrace_insn_reloc_tb): Likewise. - (aarch64_ftrace_insn_reloc_adr): Likewise. - (aarch64_ftrace_insn_reloc_ldr_literal): Likewise. - (aarch64_ftrace_insn_reloc_others): Likewise. - (visitor): New. - (aarch64_relocate_instruction): Use visitor. - -2015-10-12 Yao Qi - - * linux-aarch64-low.c (aarch64_relocate_instruction): Return - int. Add argument buf. - (aarch64_install_fast_tracepoint_jump_pad): Pass buf to - aarch64_relocate_instruction. - -2015-10-12 Yao Qi - - * linux-aarch64-low.c (aarch64_relocate_instruction): Add - argument insn. Remove local variable insn. Don't call - target_read_uint32. - (aarch64_install_fast_tracepoint_jump_pad): Call - target_read_uint32. - -2015-09-30 Yao Qi - - * linux-aarch64-low.c (emit_movk): Shorten a long line. - (emit_load_store_pair): Likewise. - -2015-09-25 Simon Marchi - - * dll.c (match_dll): Add cast(s). - (unloaded_dll): Likewise. - * linux-low.c (second_thread_of_pid_p): Likewise. - (delete_lwp_callback): Likewise. - (count_events_callback): Likewise. - (select_event_lwp_callback): Likewise. - (linux_set_resume_request): Likewise. - * server.c (accumulate_file_name_length): Likewise. - (emit_dll_description): Likewise. - (handle_qxfer_threads_worker): Likewise. - (visit_actioned_threads): Likewise. - * thread-db.c (any_thread_of): Likewise. - * tracepoint.c (same_process_p): Likewise. - (match_blocktype): Likewise. - (build_traceframe_info_xml): Likewise. - -2015-09-25 Simon Marchi - - * ax.c (gdb_parse_agent_expr): Add cast to allocation result - assignment. - (gdb_unparse_agent_expr): Likewise. - * hostio.c (require_data): Likewise. - (handle_pread): Likewise. - * linux-low.c (disable_regset): Likewise. - (fetch_register): Likewise. - (store_register): Likewise. - (get_dynamic): Likewise. - (linux_qxfer_libraries_svr4): Likewise. - * mem-break.c (delete_fast_tracepoint_jump): Likewise. - (set_fast_tracepoint_jump): Likewise. - (uninsert_fast_tracepoint_jumps_at): Likewise. - (reinsert_fast_tracepoint_jumps_at): Likewise. - (validate_inserted_breakpoint): Likewise. - (clone_agent_expr): Likewise. - * regcache.c (init_register_cache): Likewise. - * remote-utils.c (putpkt_binary_1): Likewise. - (decode_M_packet): Likewise. - (decode_X_packet): Likewise. - (look_up_one_symbol): Likewise. - (relocate_instruction): Likewise. - (monitor_output): Likewise. - * server.c (handle_search_memory): Likewise. - (handle_qxfer_exec_file): Likewise. - (handle_qxfer_libraries): Likewise. - (handle_qxfer): Likewise. - (handle_query): Likewise. - (handle_v_cont): Likewise. - (handle_v_run): Likewise. - (captured_main): Likewise. - * target.c (write_inferior_memory): Likewise. - * thread-db.c (try_thread_db_load_from_dir): Likewise. - * tracepoint.c (init_trace_buffer): Likewise. - (add_tracepoint_action): Likewise. - (add_traceframe): Likewise. - (add_traceframe_block): Likewise. - (cmd_qtdpsrc): Likewise. - (cmd_qtdv): Likewise. - (cmd_qtstatus): Likewise. - (response_source): Likewise. - (response_tsv): Likewise. - (cmd_qtnotes): Likewise. - (gdb_collect): Likewise. - (initialize_tracepoint): Likewise. - -2015-09-21 Pierre Langlois - - * linux-aarch64-low-.c: Include ax.h and tracepoint.h. - (enum aarch64_opcodes) , , , , , - , , , , , , , , - : New. - (enum aarch64_condition_codes): New enum. - (w0): New static global. - (fp): Likewise. - (lr): Likewise. - (struct aarch64_memory_operand) : New - MEMORY_OPERAND_POSTINDEX type. - (postindex_memory_operand): New helper function. - (emit_ret): New function. - (emit_load_store_pair): New function, factored out of emit_stp - with support for MEMORY_OPERAND_POSTINDEX. - (emit_stp): Rewrite using emit_load_store_pair. - (emit_ldp): New function. - (emit_load_store): Likewise. - (emit_ldr): Mention post-index instruction in comment. - (emit_ldrh): New function. - (emit_ldrb): New function. - (emit_ldrsw): Mention post-index instruction in comment. - (emit_str): Likewise. - (emit_subs): New function. - (emit_cmp): Likewise. - (emit_and): Likewise. - (emit_orr): Likewise. - (emit_orn): Likewise. - (emit_eor): Likewise. - (emit_mvn): Likewise. - (emit_lslv): Likewise. - (emit_lsrv): Likewise. - (emit_asrv): Likewise. - (emit_mul): Likewise. - (emit_sbfm): Likewise. - (emit_sbfx): Likewise. - (emit_ubfm): Likewise. - (emit_ubfx): Likewise. - (emit_csinc): Likewise. - (emit_cset): Likewise. - (emit_nop): Likewise. - (emit_ops_insns): New helper function. - (emit_pop): Likewise. - (emit_push): Likewise. - (aarch64_emit_prologue): New function. - (aarch64_emit_epilogue): Likewise. - (aarch64_emit_add): Likewise. - (aarch64_emit_sub): Likewise. - (aarch64_emit_mul): Likewise. - (aarch64_emit_lsh): Likewise. - (aarch64_emit_rsh_signed): Likewise. - (aarch64_emit_rsh_unsigned): Likewise. - (aarch64_emit_ext): Likewise. - (aarch64_emit_log_not): Likewise. - (aarch64_emit_bit_and): Likewise. - (aarch64_emit_bit_or): Likewise. - (aarch64_emit_bit_xor): Likewise. - (aarch64_emit_bit_not): Likewise. - (aarch64_emit_equal): Likewise. - (aarch64_emit_less_signed): Likewise. - (aarch64_emit_less_unsigned): Likewise. - (aarch64_emit_ref): Likewise. - (aarch64_emit_if_goto): Likewise. - (aarch64_emit_goto): Likewise. - (aarch64_write_goto_address): Likewise. - (aarch64_emit_const): Likewise. - (aarch64_emit_call): Likewise. - (aarch64_emit_reg): Likewise. - (aarch64_emit_pop): Likewise. - (aarch64_emit_stack_flush): Likewise. - (aarch64_emit_zero_ext): Likewise. - (aarch64_emit_swap): Likewise. - (aarch64_emit_stack_adjust): Likewise. - (aarch64_emit_int_call_1): Likewise. - (aarch64_emit_void_call_2): Likewise. - (aarch64_emit_eq_goto): Likewise. - (aarch64_emit_ne_goto): Likewise. - (aarch64_emit_lt_goto): Likewise. - (aarch64_emit_le_goto): Likewise. - (aarch64_emit_gt_goto): Likewise. - (aarch64_emit_ge_got): Likewise. - (aarch64_emit_ops_impl): New static global variable. - (aarch64_emit_ops): New target function, return - &aarch64_emit_ops_impl. - (struct linux_target_ops): Install it. - -2015-09-21 Pierre Langlois - - * Makefile.in (linux-aarch64-ipa.o, aarch64-ipa.o): New rules. - * configure.srv (aarch64*-*-linux*): Add linux-aarch64-ipa.o and - aarch64-ipa.o. - * linux-aarch64-ipa.c: New file. - * linux-aarch64-low.c: Include arch/aarch64-insn.h, inttypes.h - and endian.h. - (aarch64_get_thread_area): New target method. - (extract_signed_bitfield): New helper function. - (aarch64_decode_ldr_literal): New function. - (enum aarch64_opcodes): New enum. - (struct aarch64_register): New struct. - (struct aarch64_operand): New struct. - (x0): New static global. - (x1): Likewise. - (x2): Likewise. - (x3): Likewise. - (x4): Likewise. - (w2): Likewise. - (ip0): Likewise. - (sp): Likewise. - (xzr): Likewise. - (aarch64_register): New helper function. - (register_operand): Likewise. - (immediate_operand): Likewise. - (struct aarch64_memory_operand): New struct. - (offset_memory_operand): New helper function. - (preindex_memory_operand): Likewise. - (enum aarch64_system_control_registers): New enum. - (ENCODE): New macro. - (emit_insn): New helper function. - (emit_b): New function. - (emit_bcond): Likewise. - (emit_cb): Likewise. - (emit_tb): Likewise. - (emit_blr): Likewise. - (emit_stp): Likewise. - (emit_ldp_q_offset): Likewise. - (emit_stp_q_offset): Likewise. - (emit_load_store): Likewise. - (emit_ldr): Likewise. - (emit_ldrsw): Likewise. - (emit_str): Likewise. - (emit_ldaxr): Likewise. - (emit_stxr): Likewise. - (emit_stlr): Likewise. - (emit_data_processing_reg): Likewise. - (emit_data_processing): Likewise. - (emit_add): Likewise. - (emit_sub): Likewise. - (emit_mov): Likewise. - (emit_movk): Likewise. - (emit_mov_addr): Likewise. - (emit_mrs): Likewise. - (emit_msr): Likewise. - (emit_sevl): Likewise. - (emit_wfe): Likewise. - (append_insns): Likewise. - (can_encode_int32_in): New helper function. - (aarch64_relocate_instruction): New function. - (aarch64_install_fast_tracepoint_jump_pad): Likewise. - (aarch64_get_min_fast_tracepoint_insn_len): Likewise. - (struct linux_target_ops): Install aarch64_get_thread_area, - aarch64_install_fast_tracepoint_jump_pad and - aarch64_get_min_fast_tracepoint_insn_len. - -2015-09-21 Pierre Langlois - - * Makefile.in (aarch64-insn.o): New rule. - * configure.srv (aarch64*-*-linux*): Add aarch64-insn.o. - -2015-09-21 Yao Qi - - * ax.c [!IN_PROCESS_AGENT] (gdb_agent_op_sizes): Define it. - -2015-09-21 Yao Qi - - * tracepoint.c (max_jump_pad_size): Remove. - -2015-09-18 Yao Qi - - * linux-aarch64-low.c: Don't include sys/uio.h. - (ps_get_thread_area): Call aarch64_ps_get_thread_area. - -2015-09-16 Wei-cheng Wang - - * tracepoint.c (eval_result_type): Change prototype. - (condition_true_at_tracepoint): Fix argument to compiled_cond. - -2015-09-15 Pedro Alves - - * remote-utils.c (prepare_resume_reply) : - Check whether to report exec events instead of checking whether - multiprocess is enabled. - -2015-09-15 Pedro Alves - - PR remote/18965 - * remote-utils.c (prepare_resume_reply): Merge - TARGET_WAITKIND_VFORK_DONE switch case with the - TARGET_WAITKIND_FORKED case. - -2015-09-15 Yao Qi - - * server.c (handle_query): Check string comparison using - "else if" instead of "if". - -2015-09-15 Yao Qi - - * server.c (vCont_supported): New global variable. - (handle_query): Set vCont_supported to 1 if "vContSupported+" - matches. Append ";vContSupported+" to own_buf. - (handle_v_requests): Append ";s;S" to own_buf if target supports - hardware single step or vCont_supported is false. - (capture_main): Set vCont_supported to zero. - -2015-09-15 Yao Qi - - * linux-low.c (linux_supports_conditional_breakpoints): Rename - it to ... - (linux_supports_hardware_single_step): ... New function. - (linux_target_ops): Update. - * lynx-low.c (lynx_target_ops): Set field - supports_hardware_single_step to target_can_do_hardware_single_step. - * nto-low.c (nto_target_ops): Likewise. - * spu-low.c (spu_target_ops): Likewise. - * win32-low.c (win32_target_ops): Likewise. - * target.c (target_can_do_hardware_single_step): New function. - * target.h (struct target_ops) : - Remove. : New field. - (target_supports_conditional_breakpoints): Remove. - (target_supports_hardware_single_step): New macro. - (target_can_do_hardware_single_step): Declare. - * server.c (handle_query): Use target_supports_hardware_single_step - instead of target_supports_conditional_breakpoints. - -2015-09-15 Yao Qi - - * linux-aarch64-low.c (aarch64_linux_siginfo_fixup): New - function. - (struct linux_target_ops the_low_target): Install - aarch64_linux_siginfo_fixup. - -2015-09-11 Don Breazeal - Luis Machado - - * linux-low.c (linux_mourn): Static declaration. - (linux_arch_setup): Move in front of - handle_extended_wait. - (linux_arch_setup_thread): New function. - (handle_extended_wait): Handle exec events. Call - linux_arch_setup_thread. Make event_lwp argument a - pointer-to-a-pointer. - (check_zombie_leaders): Do not check stopped threads. - (linux_low_ptrace_options): Add PTRACE_O_TRACEEXEC. - (linux_low_filter_event): Add lwp and thread for exec'ing - non-leader thread if leader thread has been deleted. - Refactor code into linux_arch_setup_thread and call it. - Pass child lwp pointer by reference to handle_extended_wait. - (linux_wait_for_event_filtered): Update comment. - (linux_wait_1): Prevent clobbering exec event status. - (linux_supports_exec_events): New function. - (linux_target_ops) : Initialize new member. - * lynx-low.c (lynx_target_ops) : Initialize - new member. - * remote-utils.c (prepare_resume_reply): New stop reason 'exec'. - * server.c (report_exec_events): New global variable. - (handle_query): Handle qSupported query for exec-events feature. - (captured_main): Initialize report_exec_events. - * server.h (report_exec_events): Declare new global variable. - * target.h (struct target_ops) : New - member. - (target_supports_exec_events): New macro. - * win32-low.c (win32_target_ops) : - Initialize new member. - -2015-09-09 Markus Metzger - - * linux-low.c (linux_low_enable_btrace): Remove. - (linux_target_ops): Replace linux_low_enable_btrace with - linux_enable_btrace. - -2015-09-03 Yao Qi - - * linux-aarch64-low.c (aarch64_insert_point): Call - aarch64_handle_watchpoint if aarch64_linux_region_ok_for_watchpoint - returns true. - -2015-08-27 Ulrich Weigand - - * linux-low.c (check_stopped_by_breakpoint): Use - GDB_ARCH_IS_TRAP_BRKPT instead of GDB_ARCH_TRAP_BRKPT. - -2015-08-27 Pedro Alves - - * proc-service.c (ps_pdwrite): Return PS_ERR/PS_OK explicily. - -2015-08-26 Simon Marchi - - * ax.c (gdb_parse_agent_expr): Replace xmalloc-family function with - the XNEW-family equivalent. - (compile_bytecodes): Likewise. - * dll.c (loaded_dll): Likewise. - * event-loop.c (append_callback_event): Likewise. - (create_file_handler): Likewise. - (create_file_event): Likewise. - * hostio.c (handle_open): Likewise. - * inferiors.c (add_thread): Likewise. - (add_process): Likewise. - * linux-aarch64-low.c (aarch64_linux_new_process): Likewise. - * linux-arm-low.c (arm_new_process): Likewise. - (arm_new_thread): Likewise. - * linux-low.c (add_to_pid_list): Likewise. - (linux_add_process): Likewise. - (handle_extended_wait): Likewise. - (add_lwp): Likewise. - (enqueue_one_deferred_signal): Likewise. - (enqueue_pending_signal): Likewise. - (linux_resume_one_lwp_throw): Likewise. - (linux_resume_one_thread): Likewise. - (linux_read_memory): Likewise. - (linux_write_memory): Likewise. - * linux-mips-low.c (mips_linux_new_process): Likewise. - (mips_linux_new_thread): Likewise. - (mips_add_watchpoint): Likewise. - * linux-x86-low.c (initialize_low_arch): Likewise. - * lynx-low.c (lynx_add_process): Likewise. - * mem-break.c (set_raw_breakpoint_at): Likewise. - (set_breakpoint): Likewise. - (add_condition_to_breakpoint): Likewise. - (add_commands_to_breakpoint): Likewise. - (clone_agent_expr): Likewise. - (clone_one_breakpoint): Likewise. - * regcache.c (new_register_cache): Likewise. - * remote-utils.c (look_up_one_symbol): Likewise. - * server.c (queue_stop_reply): Likewise. - (start_inferior): Likewise. - (queue_stop_reply_callback): Likewise. - (handle_target_event): Likewise. - * spu-low.c (fetch_ppc_memory): Likewise. - (store_ppc_memory): Likewise. - * target.c (set_target_ops): Likewise. - * thread-db.c (thread_db_load_search): Likewise. - (try_thread_db_load_1): Likewise. - * tracepoint.c (add_tracepoint): Likewise. - (add_tracepoint_action): Likewise. - (create_trace_state_variable): Likewise. - (cmd_qtdpsrc): Likewise. - (cmd_qtro): Likewise. - (add_while_stepping_state): Likewise. - * win32-low.c (child_add_thread): Likewise. - (get_image_name): Likewise. - -2015-08-25 Yao Qi - - * linux-aarch64-low.c (aarch64_linux_new_thread): Remove. - -2015-08-25 Yao Qi - - * Makefile.in (aarch64-linux.o): New rule. - * configure.srv (aarch64*-*-linux*): Append aarch64-linux.o to - srv_tgtobj. - * linux-aarch64-low.c: Include nat/aarch64-linux.h. - (aarch64_init_debug_reg_state): Make it extern. - (aarch64_linux_prepare_to_resume): Remove. - -2015-08-25 Yao Qi - - * linux-aarch64-low.c (aarch64_linux_prepare_to_resume): Use - lwp_arch_private_info and ptid_of_lwp. - -2015-08-25 Yao Qi - - * linux-aarch64-low.c (aarch64_get_debug_reg_state): Add argument pid. - Find proc_info by find_process_pid. All callers updated. - -2015-08-25 Yao Qi - - * linux-aarch64-low.c (struct arch64_dr_update_callback_param): - Remove. - (debug_reg_change_callback): Remove. - (aarch64_notify_debug_reg_change): Remove. - -2015-08-25 Yao Qi - - * linux-aarch64-low.c (aarch64_notify_debug_reg_change): - Call current_lwp_ptid. - -2015-08-25 Yao Qi - - * linux-aarch64-low.c (debug_reg_change_callback): Use - debug_printf. - -2015-08-25 Yao Qi - - * linux-aarch64-low.c (debug_reg_change_callback): Use phex. - -2015-08-25 Yao Qi - - * linux-aarch64-low.c (debug_reg_change_callback): Remove comments. - -2015-08-25 Yao Qi - - * linux-aarch64-low.c (debug_reg_change_callback): Re-indent - the code. - -2015-08-25 Yao Qi - - * linux-aarch64-low.c (aarch64_dr_update_callback_param) : - Remove. - (debug_reg_change_callback): Remove argument entry and add argument - lwp. Remove local variable thread. Don't print thread id in the - debugging output. Don't check whether pid of thread equals to pid. - (aarch64_notify_debug_reg_change): Don't set param.pid. Call - iterate_over_lwps instead find_inferior. - -2015-08-24 Pedro Alves - - * inferiors.c (get_first_process): New function. - * inferiors.h (get_first_process): New declaration. - * remote-utils.c (read_ptid): Default to the first process in the - list, instead of to the current thread's process. - -2015-08-24 Pedro Alves - - * debug.c: Include gdb_sys_time.h instead of sys/time.h. - * event-loop.c: Likewise. - * remote-utils.c: Likewise. - * tracepoint.c: Likewise. - -2015-08-24 Pedro Alves - - * spu-low.c (spu_request_interrupt): Use lwpid_of instead of - ptid_get_lwp. - -2015-08-21 Pedro Alves - - * ax.c (gdb_eval_agent_expr): Return expr_eval_unhandled_opcode - instead of literal 1. - -2015-08-21 Pedro Alves - - * tdesc.c (default_description): Explicitly zero-initialize. - -2015-08-21 Pedro Alves - - PR gdb/18749 - * inferiors.c (remove_thread): Discard any pending stop reply for - this thread. - * server.c (remove_all_on_match_pid): Rename to ... - (remove_all_on_match_ptid): ... this. Work with a filter ptid - instead of a pid. - (discard_queued_stop_replies): Change parameter to a ptid. Now - extern. - (handle_v_kill, kill_inferior_callback, captured_main) - (process_serial_event): Adjust. - * server.h (discard_queued_stop_replies): Declare. - -2015-08-21 Pedro Alves - - * linux-low.c (wait_for_sigstop): Always switch to no thread - selected if the previously current thread dies. - * lynx-low.c (lynx_request_interrupt): Use the first thread's - process instead of the current thread's. - * remote-utils.c (input_interrupt): Don't check if there's no - current thread. - * server.c (gdb_read_memory, gdb_write_memory): If setting the - current thread to the general thread fails, error out. - (handle_qxfer_auxv, handle_qxfer_libraries) - (handle_qxfer_libraries_svr4, handle_qxfer_siginfo) - (handle_qxfer_spu, handle_qxfer_statictrace, handle_qxfer_fdpic) - (handle_query): Check if there's a thread selected instead of - checking whether there's any thread in the thread list. - (handle_qxfer_threads, handle_qxfer_btrace) - (handle_qxfer_btrace_conf): Don't error out early if there's no - thread in the thread list. - (handle_v_cont, myresume): Don't set the current thread to the - continue thread. - (process_serial_event) : Also set thread_id if the - previous general thread is still alive. - (process_serial_event) : If setting the current - thread to the general thread fails, error out. - * spu-low.c (spu_resume, spu_request_interrupt): Use the first - thread's lwp instead of the current thread's. - * target.c (set_desired_thread): If the desired thread was not - found, leave the current thread pointing to NULL. Return an int - (boolean) indicating success. - * target.h (set_desired_thread): Change return type to int. - -2015-08-20 Max Filippov - - * configure.srv (xtensa*-*-linux*): Add srv_linux_thread_db=yes. - * linux-xtensa-low.c (arch/xtensa.h gdb_proc_service.h): New - #includes. - (ps_get_thread_area): New function. - -2015-08-19 Gary Benson - - * hostio.c (handle_pread): Do not attempt to read more data - than hostio_reply_with_data can fit in a packet. - -2015-08-18 Joel Brobecker - - * linux-aarch32-low.c (NT_ARM_VFP): Define if not already defined. - -2015-08-14 Matthew Fortune - - * linux-low.c (get_r_debug): Handle DT_MIPS_RLD_MAP_REL. - -2015-08-06 Pedro Alves - - * tracepoint.c (expr_eval_result): Now an int. - -2015-08-06 Pedro Alves - - * gdbthread.h (struct regcache): Forward declare. - (struct thread_info) : Now a struct regcache - pointer. - * inferiors.c (inferior_regcache_data) - (set_inferior_regcache_data): Now work with struct regcache - pointers. - * inferiors.h (struct regcache): Forward declare. - (inferior_regcache_data, set_inferior_regcache_data): Now work - with struct regcache pointers. - * regcache.c (get_thread_regcache, regcache_invalidate_thread) - (free_register_cache_thread): Remove struct regcache pointer - casts. - -2015-08-06 Pedro Alves - - * server.c (captured_main): On error, print the exception message - to stderr, and if run_once is set, throw a quit. - -2015-08-06 Pedro Alves - - * linux-low.c (move_out_of_jump_pad_callback): Temporarily switch - the current thread. - -2015-08-06 Pedro Alves - - * linux-low.c (linux_write_memory): Rewrite debug output to avoid - reading beyond the passed in buffer length. - -2015-08-06 Pierre Langlois - - * tracepoint.c (symbol_list) : Remove. - -2015-08-06 Pedro Alves - - * linux-low.c (handle_extended_wait): Set the fork child's suspend - count if stopping and suspending threads. - (check_stopped_by_breakpoint): If stopped by trace, set the LWP's - stop reason to TARGET_STOPPED_BY_SINGLE_STEP. - (linux_detach): Complete an ongoing step-over. - (lwp_suspended_inc, lwp_suspended_decr): New functions. Use - throughout. - (resume_stopped_resumed_lwps): Don't resume a suspended thread. - (linux_wait_1): If passing a signal to the inferior after - finishing a step-over, unsuspend and re-resume all lwps. If we - see a single-step event but the thread should be continuing, don't - pass the trap to gdb. - (stuck_in_jump_pad_callback, move_out_of_jump_pad_callback): Use - internal_error instead of gdb_assert. - (enqueue_pending_signal): New function. - (check_ptrace_stopped_lwp_gone): Add debug output. - (start_step_over): Use internal_error instead of gdb_assert. - (complete_ongoing_step_over): New function. - (linux_resume_one_thread): Don't resume a suspended thread. - (proceed_one_lwp): If the LWP is stepping over a breakpoint, reset - it stepping. - -2015-08-06 Pedro Alves - - * linux-low.c (add_lwp): Set waitstatus to TARGET_WAITKIND_IGNORE. - (linux_thread_alive): Use lwp_is_marked_dead. - (extended_event_reported): Delete. - (linux_wait_1): Check if waitstatus is TARGET_WAITKIND_IGNORE - instead of extended_event_reported. - (mark_lwp_dead): Don't set the 'dead' flag. Store the waitstatus - as well. - (lwp_is_marked_dead): New function. - (lwp_running): Use lwp_is_marked_dead. - * linux-low.h: Delete 'dead' field, and update 'waitstatus's - comment. - -2015-08-06 Pedro Alves - - * linux-low.c (linux_wait_1): Move fork event output out of the - !report_to_gdb check. Pass event_child->waitstatus to - target_waitstatus_to_string instead of ourstatus. - -2015-08-04 Yao Qi - - * linux-aarch64-low.c (aarch64_supports_tracepoints): Return 0 - if current_thread is 32 bit. - -2015-08-04 Yao Qi - - * linux-aarch64-low.c (aarch64_supports_z_point_type): Return - 0 for Z_PACKET_SW_BP if it may be used in multi-arch debugging. - * server.c (extended_protocol): Remove "static". - * server.h (extended_protocol): Declare it. - -2015-08-04 Yao Qi - - * linux-aarch64-low.c (aarch64_get_pc): Get PC register on - both aarch64 and aarch32. - (aarch64_set_pc): Likewise. - -2015-08-04 Yao Qi - - * configure.srv (case aarch64*-*-linux*): Append arm-with-neon.o - to srv_regobj and append arm-core.xml arm-vfpv3.xml and - arm-with-neon.xml to srv_xmlfiles. - * linux-aarch64-low.c: Include linux-aarch32-low.h. - (is_64bit_tdesc): New function. - (aarch64_linux_read_description): New function. - (aarch64_arch_setup): Call aarch64_linux_read_description. - (regs_info): Rename to regs_info_aarch64. - (aarch64_regs_info): Return right regs_info. - (initialize_low_arch): Call initialize_low_arch_aarch32. - -2015-08-04 Yao Qi - - * configure.srv (srv_tgtobj): Add linux-aarch32-low.o. - * linux-aarch32-low.c: New file. - * linux-aarch32-low.h: New file. - * linux-arm-low.c (arm_fill_gregset): Move it to - linux-aarch32-low.c. - (arm_store_gregset): Likewise. - (arm_fill_vfpregset): Call arm_fill_vfpregset_num - (arm_store_vfpregset): Call arm_store_vfpregset_num. - (arm_arch_setup): Check if PTRACE_GETREGSET works. - (regs_info): Rename to regs_info_arm. - (arm_regs_info): Return regs_info_aarch32 if - have_ptrace_getregset is 1 and target description is - arm_with_neon or arm_with_vfpv3. - (initialize_low_arch): Don't call init_registers_arm_with_neon. - Call initialize_low_arch_aarch32 instead. - -2015-08-04 Yao Qi - - * linux-x86-low.c (have_ptrace_getregset): Move it to ... - * linux-low.c: ... here. - * linux-low.h (have_ptrace_getregset): Declare it. - -2015-08-04 Pedro Alves - - * thread-db.c (struct thread_db): Use new typedefs. - (try_thread_db_load_1): Define local TDB_DLSYM macro and use it in - CHK calls. - (disable_thread_event_reporting): Cast result of dlsym to - destination function pointer type. - (thread_db_mourn): Use td_ta_delete_ftype. - -2015-08-03 Sandra Loosemore - - * linux-nios2-low.c (NIOS2_BREAKPOINT): Conditionalize for - arch variant. - (CDX_BREAKPOINT): Define for R2. - (nios2_breakpoint_at): Check for CDX_BREAKPOINT when R2. - (the_low_target): Add comments. - -2015-07-30 Yao Qi - - * linux-arm-low.c (arm_hwcap): Remove it. - (arm_read_description): New local variable arm_hwcap. Don't - set arm_hwcap to zero. - -2015-07-30 Yao Qi - - * linux-arm-low.c (arm_fill_wmmxregset): Don't use arm_hwcap. - Use regcache->tdesc instead. - (arm_store_wmmxregset): Likewise. - (arm_fill_vfpregset): Likewise. - (arm_store_vfpregset): Likewise. - -2015-07-30 Yao Qi - - * linux-arm-low.c: Include arch/arm.h. - (arm_fill_gregset): Don't use arm_num_regs and arm_regmap. - (arm_store_gregset): Likewise. - -2015-07-29 Simon Marchi - - * linux-mips-low.c (mips_linux_prepare_to_resume): Add NULL as - ptrace's 4th parameter. - -2015-07-27 Yao Qi - - * configure.srv (case aarch64*-*-linux*): Don't set - srv_linux_usrregs. - -2015-07-24 Pedro Alves - - * linux-aarch64-low.c: Include nat/gdb_ptrace.h instead of - sys/ptrace.h. - * linux-arm-low.c: Likewise. - * linux-cris-low.c: Likewise. - * linux-crisv32-low.c: Likewise. - * linux-low.c: Likewise. - * linux-m68k-low.c: Likewise. - * linux-mips-low.c: Likewise. - * linux-nios2-low.c: Likewise. - * linux-s390-low.c: Likewise. - * linux-sparc-low.c: Likewise. - * linux-tic6x-low.c: Likewise. - * linux-tile-low.c: Likewise. - * linux-x86-low.c: Likewise. - -2015-07-24 Pedro Alves - - * config.in: Regenerate. - * configure: Regenerate. - -2015-07-24 Pedro Alves - - * acinclude.m4: Include ../ptrace.m4. - * configure.ac: Call GDB_AC_PTRACE. - * config.in, configure: Regenerate. - -2015-07-24 Yao Qi - - * linux-low.c (linux_create_inferior): Remove setting to - proc->priv->new_inferior. - (linux_attach): Likewise. - (linux_low_filter_event): Likewise. - * linux-low.h (struct process_info_private) : Remove. - -2015-07-24 Yao Qi - - * linux-low.c (linux_arch_setup): New function. - (linux_low_filter_event): If proc->tdesc is NULL and - proc->attached is true, call the_low_target.arch_setup. - Otherwise, keep status pending, and return. - (linux_resume_one_lwp_throw): Don't call get_pc if - thread->while_stepping isn't NULL. Don't call - get_thread_regcache if proc->tdesc is NULL. - (need_step_over_p): Return 0 if proc->tdesc is NULL. - (linux_target_ops): Install arch_setup. - * server.c (start_inferior): Call the_target->arch_setup. - * target.h (struct target_ops) : New field. - (target_arch_setup): New marco. - * lynx-low.c (lynx_target_ops): Update. - * nto-low.c (nto_target_ops): Update. - * spu-low.c (spu_target_ops): Update. - * win32-low.c (win32_target_ops): Update. - -2015-07-24 Yao Qi - - * linux-low.c (linux_add_process): Don't set - proc->priv->new_inferior. - (linux_create_inferior): Set proc->priv->new_inferior to 1. - (linux_attach): Likewise. - -2015-07-24 Yao Qi - - * server.c (start_inferior): Code refactor. - -2015-07-24 Yao Qi - - * server.c (process_serial_event): Set general_thread. - -2015-07-21 Yao Qi - - * linux-aarch64-low.c (aarch64_arch_setup): Remove code and call - aarch64_linux_get_debug_reg_capacity. - -2015-07-17 Yao Qi - - * Makefile.in (aarch64-linux-hw-point.o): New rule. - * configure.srv (srv_tgtobj): Append aarch64-linux-hw-point.o. - * linux-aarch64-low.c: Include nat/aarch64-linux-hw-point.h. - (AARCH64_HBP_MAX_NUM): Move to nat/aarch64-linux-hw-point.h. - (AARCH64_HWP_MAX_NUM, AARCH64_HBP_ALIGNMENT): Likewise. - (AARCH64_HWP_ALIGNMENT): Likewise. - (AARCH64_HWP_MAX_LEN_PER_REG): Likewise. - (AARCH64_DEBUG_NUM_SLOTS, AARCH64_DEBUG_ARCH): Likewise. - (aarch64_num_bp_regs, aarch64_num_wp_regs): Likewise. - (AARCH64_DEBUG_ARCH_V8, DR_MARK_ALL_CHANGED): Likewise. - (DR_MARK_N_CHANGED, DR_CLEAR_CHANGED): Likewise. - (DR_HAS_CHANGED, DR_N_HAS_CHANGE): Likewise. - (struct aarch64_debug_reg_state): Likewise. - (struct arch_lwp_info): Likewise. - (aarch64_align_watchpoint): Likewise. - (DR_CONTROL_ENABLED, DR_CONTROL_LENGTH): Likewise. - (aarch64_watchpoint_length): Likewise. - (aarch64_point_encode_ctrl_reg): Likewise - (aarch64_point_is_aligned): Likewise. - (aarch64_align_watchpoint): Likewise. - (aarch64_linux_set_debug_regs): - (aarch64_dr_state_insert_one_point): Likewise. - (aarch64_dr_state_remove_one_point): Likewise. - (aarch64_handle_breakpoint): Likewise. - (aarch64_handle_aligned_watchpoint): Likewise. - (aarch64_handle_unaligned_watchpoint): Likewise. - (aarch64_handle_watchpoint): Likewise. - -2015-07-17 Yao Qi - - * linux-aarch64-low.c (aarch64_handle_breakpoint): Add argument state - and don't aarch64_get_debug_reg_state. All callers update. - (aarch64_handle_aligned_watchpoint): Likewise. - (aarch64_handle_unaligned_watchpoint): Likewise. - (aarch64_handle_watchpoint): Likewise. - (aarch64_insert_point): Call aarch64_get_debug_reg_state earlier. - (aarch64_remove_point): Likewise. - -2015-07-17 Yao Qi - - * linux-aarch64-low.c (aarch64_show_debug_reg_state): Use - debug_printf. - (aarch64_handle_unaligned_watchpoint): Likewise. - -2015-07-15 Jan Kratochvil - - Revert the previous 3 commits: - Move gdb_regex* to common/ - Move linux_find_memory_regions_full & co. - gdbserver build-id attribute generator - -2015-07-15 Aleksandar Ristovski - - gdbserver build-id attribute generator. - * linux-low.c (nat/linux-maps.h, search.h, rsp-low.h): Include. - (ElfXX_Ehdr, ElfXX_Phdr, ElfXX_Nhdr): New. - (ELFXX_FLD, ELFXX_SIZEOF, ELFXX_ROUNDUP, BUILD_ID_INVALID): New. - (find_phdr): New. - (get_dynamic): Use find_pdhr to traverse program headers. - (struct mapping_entry, mapping_entry_s, free_mapping_entry_vec) - (compare_mapping_entry_range, struct find_memory_region_callback_data) - (read_build_id, find_memory_region_callback, lrfind_mapping_entry) - (get_hex_build_id): New. - (linux_qxfer_libraries_svr4): Add optional build-id attribute - to reply XML document. - -2015-07-15 Aleksandar Ristovski - - * target.c: Include target/target-utils.h and fcntl.h. - (target_fileio_read_stralloc_1_pread, target_fileio_read_stralloc_1) - (target_fileio_read_stralloc): New functions. - -2015-07-15 Jan Kratochvil - - * Makefile.in (OBS): Add gdb_regex.o. - (gdb_regex.o): New. - * config.in: Rebuilt. - * configure: Rebuilt. - -2015-07-15 Aleksandar Ristovski - - Create empty nat/linux-maps.[ch] and common/target-utils.[ch]. - * Makefile.in (OBS): Add target-utils.o. - (linux-maps.o, target-utils.o): New. - * configure.srv (srv_linux_obj): Add linux-maps.o. - -2015-07-15 Pierre Langlois - - * linux-aarch64-low.c (aarch64_supports_range_stepping): New - function, return 1. - (the_low_target): Install it. - -2015-07-14 Pedro Alves - - * linux-low.c (kill_wait_lwp): Don't assert if waitpid fails. - Instead, ignore ECHILD, and throw an error for other errnos. - -2015-07-10 Pedro Alves - - * event-loop.c (struct callback_event) : Change type to - gdb_client_data instance instead of gdb_client_data pointer. - (append_callback_event): Adjust. - -2015-07-10 Pierre Langlois - - * linux-aarch64-low.c: Add comments for each linux_target_ops - method. Remove comments already covered in target_ops and - linux_target_ops definitions. - (the_low_target): Add comments for each unimplemented method. - -2015-07-09 Yao Qi - - * linux-aarch64-low.c (aarch64_regmap): Remove. - (aarch64_usrregs_info): Remove. - (regs_info): Set field usrregs to NULL. - -2015-07-02 Markus Metzger - - * linux-low.c: Include "rsp-low.h" - (linux_low_encode_pt_config, linux_low_encode_raw): New. - (linux_low_read_btrace): Support BTRACE_FORMAT_PT. - (linux_low_btrace_conf): Support BTRACE_FORMAT_PT. - (handle_btrace_enable_pt): New. - (handle_btrace_general_set): Support "pt". - (handle_btrace_conf_general_set): Support "pt:size". - -2015-06-29 Pierre Langlois - - * linux-aarch64-low.c (aarch64_supports_z_point_type): Enable for - Z_PACKET_SW_BP. - -2015-06-29 Pierre Langlois - - * linux-aarch64-low.c: Remove comment about endianness. - (aarch64_breakpoint): Change type to gdb_byte[]. Set to "brk #0". - (aarch64_breakpoint_at): Change type of insn to gdb_byte[]. Use - memcmp. - -2015-06-24 Gary Benson - - * linux-i386-ipa.c (stdint.h): Do not include. - * lynx-i386-low.c (stdint.h): Likewise. - * lynx-ppc-low.c (stdint.h): Likewise. - * mem-break.c (stdint.h): Likewise. - * thread-db.c (stdint.h): Likewise. - * tracepoint.c (stdint.h): Likewise. - * win32-low.c (stdint.h): Likewise. - -2015-06-18 Simon Marchi - - * server.c (write_qxfer_response): Update call to - remote_escape_output. - -2015-06-15 Aleksandar Ristovski - - Merge multiple hex conversions. - * gdbreplay.c (tohex): Rename to 'fromhex'. - (logchar): Use fromhex. - -2015-06-10 Jan Kratochvil - - * server.c (handle_qxfer_libraries): Set `version' attribute for - . - -2015-06-10 Gary Benson - - * target.h (struct target_ops) : New field. - : Likewise. - : Likewise. - * linux-low.c (nat/linux-namespaces.h): New include. - (linux_target_ops): Initialize the_target->multifs_open, - the_target->multifs_unlink and the_target->multifs_readlink. - * hostio.h (hostio_handle_new_gdb_connection): New declaration. - * hostio.c (hostio_fs_pid): New static variable. - (hostio_handle_new_gdb_connection): New function. - (handle_setfs): Likewise. - (handle_open): Use the_target->multifs_open as appropriate. - (handle_unlink): Use the_target->multifs_unlink as appropriate. - (handle_readlink): Use the_target->multifs_readlink as - appropriate. - (handle_vFile): Handle vFile:setfs packets. - * server.c (handle_query): Call hostio_handle_new_gdb_connection - after target_handle_new_gdb_connection. - -2015-06-10 Gary Benson - - * configure.ac (AC_CHECK_FUNCS): Add setns. - * config.in: Regenerate. - * configure: Likewise. - * Makefile.in (SFILES): Add nat/linux-namespaces.c. - (linux-namespaces.o): New rule. - * configure.srv (srv_linux_obj): Add linux-namespaces.o. - -2015-06-09 Gary Benson - - * hostio.c (handle_open): Process mode argument with - fileio_to_host_mode. - -2015-06-01 Yao Qi - - * linux-s390-low.c (PTRACE_GETREGSET, PTRACE_SETREGSET): Remove. - * linux-x86-low.c: Likewise. - -2015-05-28 Don Breazeal - - * linux-low.c (handle_extended_wait): Initialize - thread_info.last_resume_kind for new fork children. - -2015-05-15 Pedro Alves - - * target.h (target_handle_new_gdb_connection): Rewrite using if - wrapped in do/while. - -2015-05-14 Joel Brobecker - - * configure.ac: Add prfpregset_t BFD_HAVE_SYS_PROCFS_TYPE check. - * configure, config.in: Regenerate. - * gdb_proc_service.h [HAVE_PRFPREGSET_T] (prfpregset_t): - Declare typedef. - -2015-05-12 Don Breazeal - - * linux-low.c (handle_extended_wait): Handle PTRACE_EVENT_FORK and - PTRACE_EVENT_VFORK_DONE. - (linux_low_ptrace_options, extended_event_reported): Add vfork - events. - * remote-utils.c (prepare_resume_reply): New stop reasons "vfork" - and "vforkdone" for RSP 'T' Stop Reply Packet. - * server.h (report_vfork_events): Declare - global variable. - -2015-05-12 Don Breazeal - - * linux-aarch64-low.c (aarch64_linux_new_fork): New function. - (the_low_target) : Initialize new member. - * linux-arm-low.c (arm_new_fork): New function. - (the_low_target) : Initialize new member. - * linux-low.c (handle_extended_wait): Call new target function - new_fork. - * linux-low.h (struct linux_target_ops) : New member. - * linux-mips-low.c (mips_add_watchpoint): New function - extracted from mips_insert_point. - (the_low_target) : Initialize new member. - (mips_linux_new_fork): New function. - (mips_insert_point): Call mips_add_watchpoint. - * linux-x86-low.c (x86_linux_new_fork): New function. - (the_low_target) : Initialize new member. - -2015-05-12 Don Breazeal - - * linux-low.c (handle_extended_wait): Implement return value, - rename argument 'event_child' to 'event_lwp', handle - PTRACE_EVENT_FORK, call internal_error for unrecognized event. - (linux_low_ptrace_options): New function. - (linux_low_filter_event): Call linux_low_ptrace_options, - use different argument fo linux_enable_event_reporting, - use return value from handle_extended_wait. - (extended_event_reported): New function. - (linux_wait_1): Call extended_event_reported and set - status to report fork events. - (linux_write_memory): Add pid to debug message. - (reset_lwp_ptrace_options_callback): New function. - (linux_handle_new_gdb_connection): New function. - (linux_target_ops): Initialize new structure member. - * linux-low.h (struct lwp_info) : New member. - * lynx-low.c: Initialize new structure member. - * remote-utils.c (prepare_resume_reply): Implement stop reason - "fork" for "T" stop message. - * server.c (handle_query): Call handle_new_gdb_connection. - * server.h (report_fork_events): Declare global flag. - * target.h (struct target_ops) : - New member. - (target_handle_new_gdb_connection): New macro. - * win32-low.c: Initialize new structure member. - -2015-05-12 Don Breazeal - - * mem-break.c (APPEND_TO_LIST): Define macro. - (clone_agent_expr): New function. - (clone_one_breakpoint): New function. - (clone_all_breakpoints): New function. - * mem-break.h: Declare new functions. - -2015-05-12 Don Breazeal - - * linux-low.c (linux_supports_fork_events): New function. - (linux_supports_vfork_events): New function. - (linux_target_ops): Initialize new structure members. - (initialize_low): Call linux_check_ptrace_features. - * lynx-low.c (lynx_target_ops): Initialize new structure - members. - * server.c (report_fork_events, report_vfork_events): - New global flags. - (handle_query): Add new features to qSupported packet and - response. - (captured_main): Initialize new global variables. - * target.h (struct target_ops) : - New member. - : New member. - (target_supports_fork_events): New macro. - (target_supports_vfork_events): New macro. - * win32-low.c (win32_target_ops): Initialize new structure - members. - -2015-05-12 Gary Benson - - * server.c (handle_qxfer_exec_file): Use current process - if annex is empty. - -2015-05-08 Sandra Loosemore - - * linux-nios2-low.c: Include elf/common.h. Adjust comments. - Remove HAVE_PTRACE_GETREGS conditionals. - (nios2_regsets): Use PTRACE_GETREGSET and PTRACE_SETREGSET - instead of PTRACE_GETREGS and PTRACE_SETREGS. - -2015-05-08 Yao Qi - - * linux-low.c (linux_supports_conditional_breakpoints): New - function. - (linux_target_ops): Install new target method. - * lynx-low.c (lynx_target_ops): Install NULL hook for - supports_conditional_breakpoints. - * nto-low.c (nto_target_ops): Likewise. - * spu-low.c (spu_target_ops): Likewise. - * win32-low.c (win32_target_ops): Likewise. - * server.c (handle_query): Check - target_supports_conditional_breakpoints. - * target.h (struct target_ops) : - New field. - (target_supports_conditional_breakpoints): New macro. - -2015-05-06 Pedro Alves - - PR server/18081 - * server.c (start_inferior): If the process exits, mourn it. - -2015-04-21 Gary Benson - - * hostio.c (fileio_open_flags_to_host): Factored out to - fileio_to_host_openflags in common/fileio.c. Single use - updated. - -2015-04-17 Max Filippov - - * linux-xtensa-low.c (xtensa_fill_gregset) - (xtensa_store_gregset): Check XCHAL_HAVE_LOOPS instead of - XCHAL_HAVE_LOOP. - -2015-04-17 Max Filippov - - * linux-xtensa-low.c (xtensa_usrregs_info): Remove. - (regs_info): Replace usrregs pointer with NULL. - -2015-04-17 Gary Benson - - * target.h (struct target_ops) : New field. - * linux-low.c (linux_target_ops): Initialize pid_to_exec_file. - * server.c (handle_qxfer_exec_file): New function. - (qxfer_packets): Add exec-file entry. - (handle_query): Report qXfer:exec-file:read as supported packet. - -2015-04-14 Romain Naour (tiny change) - - * linux-low.c (linux_read_offsets): Remove get_thread_lwp. - -2015-04-09 Gary Benson - - * hostio-errno.c (errno_to_fileio_error): Remove function. - Update caller to use remote_fileio_to_fio_error. - -2015-04-09 Yao Qi - - * linux-low.c (linux_insert_point): Call - insert_memory_breakpoint if TYPE is raw_bkpt_type_sw. - (linux_remove_point): Call remove_memory_breakpoint if type is - raw_bkpt_type_sw. - * linux-x86-low.c (x86_insert_point): Don't call - insert_memory_breakpoint. - (x86_remove_point): Don't call remove_memory_breakpoint. - -2015-04-01 Pedro Alves - Cleber Rosa - - * server.c (gdbserver_usage): Reorganize and extend the usage - message. - -2015-03-24 Pedro Alves - - * linux-low.c (check_stopped_by_breakpoint): Tweak debug log - output. Also dump TRAP_TRACE. - (linux_low_filter_event): In debug output, distinguish a - resume_stop SIGSTOP from a delayed SIGSTOP. - -2015-03-24 Gary Benson - - * linux-x86-low.c (x86_linux_new_thread): Moved to - nat/x86-linux.c. - (x86_linux_prepare_to_resume): Likewise. - -2015-03-24 Gary Benson - - * Makefile.in (x86-linux-dregs.o): New rule. - * configure.srv: Add x86-linux-dregs.o to relevant targets. - * linux-x86-low.c: Include nat/x86-linux-dregs.h. - (u_debugreg_offset): Moved to nat/x86-linux-dregs.c. - (x86_linux_dr_get): Likewise. - (x86_linux_dr_set): Likewise. - (update_debug_registers_callback): Likewise. - (x86_linux_dr_set_addr): Likewise. - (x86_linux_dr_get_addr): Likewise. - (x86_linux_dr_set_control): Likewise. - (x86_linux_dr_get_control): Likewise. - (x86_linux_dr_get_status): Likewise. - (x86_linux_update_debug_registers): Likewise. - -2015-03-24 Gary Benson - - * linux-x86-low.c (x86_linux_update_debug_registers): - New function, factored out from... - (x86_linux_prepare_to_resume): ...this. - -2015-03-24 Gary Benson - - * linux-x86-low.c (x86_linux_dr_get): Update comments. - (x86_linux_dr_set): Likewise. - (update_debug_registers_callback): Likewise. - (x86_linux_dr_set_addr): Likewise. - (x86_linux_dr_get_addr): Likewise. - (x86_linux_dr_set_control): Likewise. - (x86_linux_dr_get_control): Likewise. - (x86_linux_dr_get_status): Likewise. - (x86_linux_prepare_to_resume): Likewise. - -2015-03-24 Gary Benson - - * linux-x86-low.c (x86_linux_dr_get): Add assertion. - Use perror_with_name. Pass string through gettext. - (x86_linux_dr_set): Likewise. - -2015-03-24 Gary Benson - - * linux-x86-low.c (x86_dr_low_set_addr): Rename to... - (x86_linux_dr_set_addr): ...this. - (x86_dr_low_get_addr): Rename to... - (x86_linux_dr_get_addr): ...this. - (x86_dr_low_set_control): Rename to... - (x86_linux_dr_set_control): ...this. - (x86_dr_low_get_control): Rename to... - (x86_linux_dr_get_control): ...this. - (x86_dr_low_get_status): Rename to... - (x86_linux_dr_get_status): ...this. - (x86_dr_low): Update with new function names. - -2015-03-24 Gary Benson - - * Makefile.in (x86-linux.o): New rule. - * configure.srv: Add x86-linux.o to relevant targets. - * linux-low.c (lwp_set_arch_private_info): New function. - (lwp_arch_private_info): Likewise. - * linux-x86-low.c: Include nat/x86-linux.h. - (arch_lwp_info): Removed structure. - (update_debug_registers_callback): - Use lwp_set_debug_registers_changed. - (x86_linux_prepare_to_resume): Use lwp_debug_registers_changed - and lwp_set_debug_registers_changed. - (x86_linux_new_thread): Use lwp_set_debug_registers_changed. - -2015-03-24 Gary Benson - - * linux-low.h (linux_target_ops) : Changed signature. - * linux-arm-low.c (arm_new_thread): Likewise. - * linux-aarch64-low.c (aarch64_linux_new_thread): Likewise. - * linux-mips-low.c (mips_linux_new_thread): Likewise. - * linux-x86-low.c (x86_linux_new_thread): Likewise. - * linux-low.c (add_lwp): Update the_low_target.new_thread call. - -2015-03-24 Gary Benson - - * linux-low.c (ptid_of_lwp): New function. - (lwp_is_stopped): Likewise. - (lwp_stop_reason): Likewise. - * linux-x86-low.c (update_debug_registers_callback): - Use lwp_is_stopped. - (x86_linux_prepare_to_resume): Use ptid_of_lwp and - lwp_stop_reason. - -2015-03-24 Gary Benson - - * linux-low.h (linux_stop_lwp): Remove declaration. - -2015-03-24 Gary Benson - - * linux-low.h: Include nat/linux-nat.h. - * linux-low.c (iterate_over_lwps_args): New structure. - (iterate_over_lwps_filter): New function. - (iterate_over_lwps): Likewise. - * linux-x86-low.c (update_debug_registers_callback): - Update signature to what iterate_over_lwps expects. - Remove PID check that iterate_over_lwps now performs. - (x86_dr_low_set_addr): Use iterate_over_lwps. - (x86_dr_low_set_control): Likewise. - -2015-03-24 Gary Benson - - * linux-x86-low.c (x86_debug_reg_state): New function. - (x86_linux_prepare_to_resume): Use the above. - -2015-03-24 Gary Benson - - * linux-low.c (current_lwp_ptid): New function. - * linux-x86-low.c: Include nat/linux-nat.h. - (x86_dr_low_get_addr): Use current_lwp_ptid. - (x86_dr_low_get_control): Likewise. - (x86_dr_low_get_status): Likewise. - -2015-03-20 Pedro Alves - - * tracepoint.c (cmd_qtstatus): Make "str" const. - -2015-03-20 Pedro Alves - - * server.c (handle_general_set): Make "req_str" const. - -2015-03-19 Pedro Alves - - * linux-low.c (linux_resume_one_lwp): Rename to ... - (linux_resume_one_lwp_throw): ... this. Don't handle ESRCH here, - instead call perror_with_name. - (check_ptrace_stopped_lwp_gone): New function. - (linux_resume_one_lwp): Reimplement as wrapper around - linux_resume_one_lwp_throw that swallows errors if the LWP is - gone. - -2015-03-19 Pedro Alves - - * linux-low.c (count_events_callback, select_event_lwp_callback): - No longer check whether the thread has resume_stop as last resume - kind. - -2015-03-19 Pedro Alves - - * linux-low.c (count_events_callback, select_event_lwp_callback): - Use the lwp's status_pending_p field, not the thread's. - -2015-03-19 Pedro Alves - - * linux-low.c (select_event_lwp_callback): Update comments to - no longer mention SIGTRAP. - -2015-03-18 Gary Benson - - * server.c (handle_query): Do not report vFile:fstat as supported. - -2015-03-11 Gary Benson - - * hostio.c (sys/types.h): New include. - (sys/stat.h): Likewise. - (common-remote-fileio.h): Likewise. - (handle_fstat): New function. - (handle_vFile): Handle vFile:fstat packets. - -2015-03-11 Gary Benson - - * configure.ac (AC_CHECK_MEMBERS): Add checks for - struct stat.st_blocks and struct stat.st_blksize. - * configure: Regenerate. - * config.in: Likewise. - * Makefile.in (SFILES): Add common/common-remote-fileio.c. - (OBS): Add common-remote-fileio.o. - (common-remote-fileio.o): New rule. - -2015-03-09 Pedro Alves - - * tracepoint.c (gdb_agent_helper_thread): Cast '&sockaddr' to - 'struct sockaddr' pointer in 'accept' call. - -2015-03-09 Pedro Alves - - Revert: - 2015-03-07 Pedro Alves - * gdbreplay.c: No longer include , , - or here. Instead include "gdb_socket.h". - (remote_open): Use union gdb_sockaddr_u. - * remote-utils.c: No longer include , - or here. Instead include "gdb_socket.h". - (handle_accept_event, remote_prepare): Use union gdb_sockaddr_u. - * tracepoint.c: Include "gdb_socket.h" instead of - or . - (init_named_socket, gdb_agent_helper_thread): Use union - gdb_sockaddr_u. - -2015-03-07 Pedro Alves - - * configure.ac (build_warnings): Move - -Wdeclaration-after-statement to the C-specific set. - * configure: Regenerate. - -2015-03-07 Pedro Alves - - * gdbreplay.c: No longer include , , - or here. Instead include "gdb_socket.h". - (remote_open): Use union gdb_sockaddr_u. - * remote-utils.c: No longer include , - or here. Instead include "gdb_socket.h". - (handle_accept_event, remote_prepare): Use union gdb_sockaddr_u. - * tracepoint.c: Include "gdb_socket.h" instead of - or . - (init_named_socket, gdb_agent_helper_thread): Use union - gdb_sockaddr_u. - -2015-03-07 Pedro Alves - - Adjust all callers of TRY_CATCH to use TRY/CATCH/END_CATCH - instead. - -2015-03-06 Yao Qi - - * linux-aarch64-low.c (aarch64_insert_point): Use - show_debug_regs as a boolean. - (aarch64_remove_point): Likewise. - -2015-03-05 Pedro Alves - - * lynx-low.c (lynx_target_ops): Install NULL hooks for - stopped_by_sw_breakpoint, supports_stopped_by_sw_breakpoint, - stopped_by_hw_breakpoint, supports_stopped_by_hw_breakpoint. - * nto-low.c (nto_target_ops): Likewise. - * spu-low.c (spu_target_ops): Likewise. - * win32-low.c (win32_target_ops): Likewise. - -2015-03-04 Pedro Alves - - * linux-low.c (check_stopped_by_breakpoint) [USE_SIGTRAP_SIGINFO]: - Decide whether a breakpoint triggered based on the SIGTRAP's - siginfo.si_code. - (thread_still_has_status_pending_p) [USE_SIGTRAP_SIGINFO]: Don't check whether a - breakpoint is inserted if relying on SIGTRAP's siginfo.si_code. - (linux_low_filter_event): Check for breakpoints before checking - watchpoints. - (linux_wait_1): Don't re-increment the PC if relying on SIGTRAP's - siginfo.si_code. - (linux_stopped_by_sw_breakpoint) - (linux_supports_stopped_by_sw_breakpoint) - (linux_stopped_by_hw_breakpoint) - (linux_supports_stopped_by_hw_breakpoint): New functions. - (linux_target_ops): Install new target methods. - -2015-03-04 Pedro Alves - - * remote-utils.c (prepare_resume_reply): Report swbreak/hbreak. - * server.c (swbreak_feature, hwbreak_feature): New globals. - (handle_query) : Handle "swbreak+" and "hwbreak+". - (captured_main): Clear swbreak_feature and hwbreak_feature. - * server.h (swbreak_feature, hwbreak_feature): Declare. - * target.h (struct target_ops) : New fields. - (target_supports_stopped_by_sw_breakpoint) - (target_stopped_by_sw_breakpoint) - (target_supports_stopped_by_hw_breakpoint) - (target_stopped_by_hw_breakpoint): Declare. - -2015-03-04 Pedro Alves - - enum lwp_stop_reason -> enum target_stop_reason - * linux-low.c (check_stopped_by_breakpoint): Adjust. - (thread_still_has_status_pending_p, check_stopped_by_watchpoint) - (linux_wait_1, stuck_in_jump_pad_callback) - (move_out_of_jump_pad_callback, linux_resume_one_lwp) - (linux_stopped_by_watchpoint): - * linux-low.h (enum lwp_stop_reason): Delete. - (struct lwp_info) : Now an enum target_stop_reason. - * linux-x86-low.c (x86_linux_prepare_to_resume): Adjust. - -2015-03-04 Yao Qi - - * Makefile.in (SFILES): Add linux-aarch64-low.c. - -2015-03-03 Gary Benson - - * hostio.c (handle_vFile): Fix prefix lengths. - -2015-03-03 Markus Metzger - - * linux-low.c (linux_low_enable_btrace): Do not overwrite non-zero - ptr_bits. - -2015-03-02 Andreas Arnez - - * Makefile.in (s390-vx-linux64.c, s390-tevx-linux64.c) - (s390x-vx-linux64.c, s390x-tevx-linux64.c): New rules. - (clean): Add "rm -f" for above C files. - * configure.srv (srv_regobj): Add s390-vx-linux64.o, - s390-tevx-linux64.o, s390x-vx-linux64.o, and s390x-tevx-linux64.o. - (srv_xmlfiles): Add s390-vx-linux64.xml, s390-tevx-linux64.xml, - s390x-vx-linux64.xml, s390x-tevx-linux64.xml, and s390-vx.xml. - * linux-s390-low.c (HWCAP_S390_VX): New macro. - (init_registers_s390_vx_linux64, init_registers_s390_tevx_linux64) - (init_registers_s390x_vx_linux64) - (init_registers_s390x_tevx_linux64) - (tdesc_s390_vx_linux64, tdesc_s390_tevx_linux64) - (tdesc_s390x_vx_linux64, tdesc_s390x_tevx_linux64): New extern - declarations. - (s390_fill_vxrs_low, s390_store_vxrs_low, s390_fill_vxrs_high) - (s390_store_vxrs_high): New functions. - (s390_regsets): Add entries for NT_S390_VXRS_LOW and - NT_S390_VXRS_HIGH. - (s390_arch_setup): Add logic for selecting one of the new target - descriptions. Activate the new vector regsets if applicable. - (initialize_low_arch): Also invoke init_registers_s390_vx_linux64, - init_registers_s390_tevx_linux64, init_registers_s390x_vx_linux64, - and init_registers_s390x_tevx_linux64. - -2015-03-01 Pedro Alves - - * linux-i386-ipa.c (gdb_agent_get_raw_reg): Constify 'raw_regs' - parameter. - -2015-02-27 Pedro Alves - - * linux-x86-low.c (u_debugreg_offset): New function. - (x86_linux_dr_get, x86_linux_dr_set): Use it. - -2015-02-27 Pedro Alves - - * gdb_proc_service.h: Wrap with EXTERN_C_PUSH/EXTERN_C_POP. - [!HAVE_PROC_SERVICE_H] (struct ps_prochandle): Forward declare. - [!HAVE_PROC_SERVICE_H] (ps_pdread, ps_pdwrite, ps_ptread) - ps_ptwrite, ps_lgetregs, ps_lsetregs, ps_lgetfpregs) - (ps_lsetfpregs, ps_getpid) - (ps_get_thread_area, ps_pglobal_lookup, ps_pstop, ps_pcontinue) - (ps_lstop, ps_lcontinue, ps_lgetxregsize, ps_lgetxregs) - (ps_lsetxregs, ps_plog): Declare. - -2015-02-27 Pedro Alves - - * linux-amd64-ipa.c (gdb_agent_get_raw_reg): Use - IP_AGENT_EXPORT_FUNC. - * linux-i386-ipa.c (gdb_agent_get_raw_reg): Use - IP_AGENT_EXPORT_FUNC. - * tracepoint.c (ATTR_USED, ATTR_NOINLINE, ATTR_CONSTRUCTOR) - (IP_AGENT_EXPORT): Delete. - (gdb_tp_heap_buffer, gdb_jump_pad_buffer, gdb_jump_pad_buffer_end) - (gdb_trampoline_buffer, gdb_trampoline_buffer_end) - (gdb_trampoline_buffer_error, collecting, gdb_collect) - (stop_tracing, flush_trace_buffer, about_to_request_buffer_space) - (trace_buffer_is_full, stopping_tracepoint, expr_eval_result) - (error_tracepoint, tracepoints, tracing, trace_buffer_ctrl) - (trace_buffer_ctrl_curr, trace_buffer_lo, trace_buffer_hi) - (traceframe_read_count, traceframe_write_count) - (traceframes_created, trace_state_variables, get_raw_reg) - (get_trace_state_variable_value, set_trace_state_variable_value) - (ust_loaded, helper_thread_id, cmd_buf): Use - IPA_SYM_EXPORTED_NAME. - (stop_tracing, flush_trace_buffer): Use IP_AGENT_EXPORT_FUNC. - (tracepoints) Use IP_AGENT_EXPORT_VAR. - (stopping_tracepoint, trace_buffer_is_full, expr_eval_result): Use - IP_AGENT_EXPORT_VAR and wrap in EXTERN_C_PUSH/EXTERN_C_POP. - (last_tracepoint): Move into !IN_PROCESS_AGENT block. - (error_tracepoint): Use IP_AGENT_EXPORT_VAR and wrap in - EXTERN_C_PUSH/EXTERN_C_POP. - (trace_state_variables): Use IP_AGENT_EXPORT_VAR. - (trace_buffer_lo, trace_buffer_hi): Use IP_AGENT_EXPORT_VAR and - wrap in EXTERN_C_PUSH/EXTERN_C_POP. - (trace_buffer_ctrl, trace_buffer_ctrl_curr) - (traceframe_write_count, traceframe_read_count) - (traceframes_created, tracing): Use IP_AGENT_EXPORT_VAR. - (about_to_request_buffer_space, get_trace_state_variable_value) - (set_trace_state_variable_value): Use IP_AGENT_EXPORT_FUNC. - (collecting): Use IP_AGENT_EXPORT_VAR and wrap in - EXTERN_C_PUSH/EXTERN_C_POP. - (gdb_collect): Use IP_AGENT_EXPORT_FUNC. - (ust_loaded, cmd_buf): Use IP_AGENT_EXPORT_VAR. - (helper_thread_id, gdb_agent_capability): Use IP_AGENT_EXPORT_VAR - and wrap in EXTERN_C_PUSH/EXTERN_C_POP. - (gdb_tp_heap_buffer, gdb_jump_pad_buffer, gdb_jump_pad_buffer_end) - (gdb_trampoline_buffer, gdb_trampoline_buffer_end) - (gdb_trampoline_buffer_error): Use IP_AGENT_EXPORT_VAR. - * tracepoint.h (ATTR_USED, ATTR_NOINLINE, EXPORTED_SYMBOL): - Define. - (IP_AGENT_EXPORT_FUNC, IP_AGENT_EXPORT_VAR) - (IP_AGENT_EXPORT_VAR_DECL): Define. - (tracing): Declare. - (gdb_agent_get_raw_reg): Declare. - -2015-02-27 Tom Tromey - Pedro Alves - - Rename symbols whose names are reserved C++ keywords throughout. - -2015-02-27 Pedro Alves - - * Makefile.in (COMPILER): New, get it from autoconf. - (CXX): Get from autoconf instead. - (COMPILE.pre): Use COMPILER. - (CC-LD): Rename to ... - (CC_LD): ... this. Use COMPILER. - (gdbserver$(EXEEXT), gdbreplay$(EXEEXT), $(IPA_LIB)): Adjust. - (CXX_FOR_TARGET): Default to g++ instead of gcc. - * acinclude.m4: Include build-with-cxx.m4. - * configure.ac: Call AC_PROG_CXX and GDB_AC_BUILD_WITH_CXX. - Disable -Werror by default if building in C++ mode. - (build_warnings): Add -Wno-sign-compare, -Wno-write-strings and - -Wno-narrowing in C++ mode. Run supported-warning-flags tests with - the C++ compiler. Save/restore CXXFLAGS too. - * configure: Regenerate. - -2015-02-27 Pedro Alves - - * acinclude.m4: Include libiberty.m4. - * configure.ac: Call libiberty_INIT. - * config.in, configure: Regenerate. - -2015-02-26 Pedro Alves - - * linux-low.c (linux_wait_1): When incrementing the PC past a - program breakpoint always use the_low_target.breakpoint_len as - increment, rather than the maximum between that and - the_low_target.decr_pc_after_break. - -2015-02-23 Pedro Alves - - * linux-low.c (check_stopped_by_breakpoint): Don't check if the - thread was doing a step-over; always adjust the PC if - we stepped over a permanent breakpoint. - (linux_wait_1): If we stepped over breakpoint that was on top of a - permanent breakpoint, manually advance the PC past it. - -2015-02-23 Pedro Alves - - * linux-x86-low.c (REGSIZE): Define in both 32-bit and 64-bit - modes. - (x86_fill_gregset, x86_store_gregset): Use it when handling - $orig_eax. - -2015-02-20 Pedro Alves - - * thread-db.c: Include "nat/linux-procfs.h". - (thread_db_init): Skip listing new threads if the kernel supports - PTRACE_EVENT_CLONE and /proc/PID/task/ is accessible. - -2015-02-20 Pedro Alves - - * linux-low.c (status_pending_p_callback): Use ptid_match. - -2015-02-19 Antoine Tremblay - - PR breakpoints/16812 - * linux-low.c (wstatus_maybe_breakpoint): Remove. - (linux_low_filter_event): Update wstatus_maybe_breakpoint name. - (linux_wait_1): Report SIGTRAP,SIGILL,SIGSEGV. - -2015-02-10 Antoine Tremblay - - PR breakpoints/15956 - * tracepoint.c (cmd_qtinit): Add check for current_thread. - -2015-02-09 Markus Metzger - - * linux-low.c (linux_low_btrace_conf): Print size. - * server.c (handle_btrace_conf_general_set): New. - (hanle_general_set): Call handle_btrace_conf_general_set. - (handle_query): Report Qbtrace-conf:bts:size as supported. - -2015-02-09 Markus Metzger - - * linux-low.c (linux_low_enable_btrace): Update parameters. - (linux_low_btrace_conf): New. - (linux_target_ops): Initialize. - * server.c (current_btrace_conf): New. - (handle_btrace_enable): Rename to ... - (handle_btrace_enable_bts): ... this. Pass ¤t_btrace_conf - to target_enable_btrace. Update comment. Update users. - (handle_qxfer_btrace_conf): New. - (qxfer_packets): Add btrace-conf entry. - (handle_query): Report qXfer:btrace-conf:read as supported packet. - * target.h (target_ops): Update parameters and comment. - (target_ops): New. - (target_enable_btrace): Update parameters. - (target_read_btrace_conf): New. - -2015-02-09 Markus Metzger - - * server.c (handle_btrace_general_set): Remove call to - target_supports_btrace. - (supported_btrace_packets): New. - (handle_query): Call supported_btrace_packets. - * target.h: include btrace-common.h. - (btrace_target_info): Removed. - (supports_btrace, target_supports_btrace): Update parameters. - -2015-02-09 Markus Metzger - - * Makefile.in (SFILES): Add common/btrace-common.c. - (OBS): Add common/btrace-common.o. - (btrace-common.o): Add build rules. - * linux-low: Include btrace-common.h. - (linux_low_read_btrace): Use struct btrace_data. Call - btrace_data_init and btrace_data_fini. - -2015-02-06 Pedro Alves - - * thread-db.c (find_new_threads_callback): Add debug output. - -2015-02-04 Pedro Alves - - * linux-low.c (handle_extended_wait): Don't resume LWPs here. - (resume_stopped_resumed_lwps): New function. - (linux_wait_for_event_filtered): Use it. - -2015-01-15 Sergio Durigan Junior - - * Makefile.in (SFILES): Add linux-personality.c. - (linux-personality.o): New rule. - * configure.srv (srv_linux_obj): Add linux-personality.o to the - list of objects to be built. - * linux-low.c: Include nat/linux-personality.h. - (linux_create_inferior): Remove code to disable address space - randomization (moved to ../nat/linux-personality.c). Create - cleanup to disable address space randomization. - -2015-01-15 Sergio Durigan Junior - - * Makefile.in (posix-strerror.o): New rule. - (mingw-strerror.o): Likewise. - * configure: Regenerated. - * configure.ac: Source file ../common/common.host. Initialize new - variable srv_host_obs. Add srv_host_obs to GDBSERVER_DEPFILES. - -2015-01-14 Yao Qi - - * Makefile.in (SFILES): Add nat/ppc-linux.c. - (ppc-linux.o): New rule. - * configure.srv (powerpc*-*-linux*): Add ppc-linux.o. - * configure.ac: AC_CHECK_FUNCS(getauxval). - * config.in: Re-generated. - * configure: Re-generated. - * linux-ppc-low.c (ppc_arch_setup) [__powerpc64__]: Call - ppc64_64bit_inferior_p - -2015-01-14 Yao Qi - - * linux-ppc-low.c: Include "nat/ppc-linux.h". - (PPC_FEATURE_HAS_VSX): Move to nat/ppc-linux.h. - (PPC_FEATURE_HAS_ALTIVEC, PPC_FEATURE_HAS_SPE): Likewise. - (PT_ORIG_R3, PT_TRAP): Likewise. - (PTRACE_GETVSXREGS, PTRACE_SETVSXREGS): Likewise. - (PTRACE_GETVRREGS, PTRACE_SETVRREGS): Likewise. - (PTRACE_GETEVRREGS, PTRACE_SETEVRREGS): Likewise. - -2015-01-10 Joel Brobecker - - * i387-fp.c (i387_cache_to_xsave): In look over - num_avx512_zmmh_high_registers, replace use of struct i387_xsave - zmmh_low_space field by use of zmmh_high_space. - -2015-01-09 Pedro Alves - - * linux-low.c (step_over_bkpt): Move higher up in the file. - (handle_extended_wait): Don't store the stop_pc here. - (get_stop_pc): Adjust comments and rename to ... - (check_stopped_by_breakpoint): ... this. Record whether the LWP - stopped for a software breakpoint or hardware breakpoint. - (thread_still_has_status_pending_p): New function. - (status_pending_p_callback): Use - thread_still_has_status_pending_p. If the event is no longer - interesting, resume the LWP. - (handle_tracepoints): Add assert. - (maybe_move_out_of_jump_pad): Remove cancel_breakpoints call. - (wstatus_maybe_breakpoint): New function. - (cancel_breakpoint): Delete function. - (check_stopped_by_watchpoint): New function, factored out from - linux_low_filter_event. - (lp_status_maybe_breakpoint): Delete function. - (linux_low_filter_event): Remove filter_ptid argument. - Leave thread group exits pending here. Store the LWP's stop PC. - Always leave events pending. - (linux_wait_for_event_filtered): Pull all events out of the - kernel, and leave them all pending. - (count_events_callback, select_event_lwp_callback): Consider all - events. - (cancel_breakpoints_callback, linux_cancel_breakpoints): Delete. - (select_event_lwp): Only give preference to the stepping LWP in - all-stop mode. Adjust comments. - (ignore_event): New function. - (linux_wait_1): Delete 'retry' label. Use ignore_event. Remove - references to cancel_breakpoints. Adjust to renames. Also give - equal priority to all LWPs that have had events in non-stop mode. - If reporting a software breakpoint event, unadjust the LWP's PC. - (linux_wait): If linux_wait_1 returned an ignored event, retry. - (stuck_in_jump_pad_callback, move_out_of_jump_pad_callback): - Adjust. - (linux_resume_one_lwp): Store the LWP's PC. Adjust. - (resume_status_pending_p): Use thread_still_has_status_pending_p. - (linux_stopped_by_watchpoint): Adjust. - (linux_target_ops): Remove reference to linux_cancel_breakpoints. - * linux-low.h (enum lwp_stop_reason): New. - (struct lwp_info) : Adjust comment. - : Delete field. - : New field. - * linux-x86-low.c (x86_linux_prepare_to_resume): Adjust. - * mem-break.c (software_breakpoint_inserted_here) - (hardware_breakpoint_inserted_here): New function. - * mem-break.h (software_breakpoint_inserted_here) - (hardware_breakpoint_inserted_here): Declare. - * target.h (struct target_ops) : Remove field. - (cancel_breakpoints): Delete. - * tracepoint.c (clear_installed_tracepoints, stop_tracing) - (upload_fast_traceframes): Remove references to - cancel_breakpoints. - -2015-01-09 Pedro Alves - - * thread-db.c (find_new_threads_callback): Ignore thread if the - kernel thread ID is -1. - -2015-01-09 Pedro Alves - - * linux-low.c (linux_attach_fail_reason_string): Move to - nat/linux-ptrace.c, and rename. - (linux_attach_lwp): Update comment. - (attach_proc_task_lwp_callback): New function. - (linux_attach): Adjust to rename and use - linux_proc_attach_tgid_threads. - (linux_attach_fail_reason_string): Delete declaration. - -2015-01-01 Joel Brobecker - - * gdbreplay.c (gdbreplay_version): Update copyright year to 2015. - * server.c (gdbserver_version): Likewise. - -2014-12-29 Sergio Durigan Junior - - * remote-utils.c: Include ctype.h. - (input_interrupt): Explicitly handle the case when the char - received is the NUL byte. Improve the printing of non-ASCII - characters. - -2014-12-16 Joel Brobecker - - * linux-low.c (linux_low_filter_event): Update call to - linux_enable_event_reporting following the addition of - a new parameter to that function. - -2014-12-16 Catalin Udma - - PR server/17457 - * linux-aarch64-low.c (AARCH64_FPSR_REGNO): New define. - (AARCH64_FPCR_REGNO): Likewise. - (AARCH64_NUM_REGS): Update to include fpsr/fpcr registers. - (aarch64_fill_fpregset): Add missing fpsr/fpcr registers. - (aarch64_store_fpregset): Likewise. - -2014-12-15 Joel Brobecker - - * lynx-low.c (lynx_resume): Use PTRACE_SINGLESTEP_ONE if N == 1. - Remove FIXME comment about assumption about N. - -2014-12-13 Joel Brobecker - - * configure.ac: If large-file support is disabled in GDBserver, - pass --disable-largefile to ACX_CONFIGURE_DIR call for "gnulib". - * configure: Regenerate. - -2014-12-12 Andreas Arnez - - * linux-low.c (regsets_fetch_inferior_registers): Suppress the - warning upon ENODATA from ptrace. - * linux-s390-low.c (s390_store_tdb): New. - (s390_regsets): Add regset for NT_S390_TDB. - -2014-12-12 Andreas Arnez - - * linux-low.c (regsets_store_inferior_registers): Skip regsets - without a fill_function. - * linux-s390-low.c (s390_fill_last_break): Remove. - (s390_regsets): Set fill_function to NULL for NT_S390_LAST_BREAK. - (s390_arch_setup): Use regset's size instead of fill_function for - loop end condition. - -2014-12-12 Andreas Arnez - - * linux-low.c (regsets_fetch_inferior_registers): Do not invoke - the regset's store function when ptrace returned an error. - * regcache.c (get_thread_regcache): Invalidate register cache - before fetching inferior's registers. - -2014-12-12 Andreas Arnez - - * linux-low.c (regsets_fetch_inferior_registers): Rephrase - while-loop as for-loop. - (regsets_store_inferior_registers): Likewise. - -2014-11-28 Yao Qi - - * configure.ac(AC_CHECK_FUNCS): Remove readlink. - * config.in, configure: Re-generate. - * hostio.c (handle_unlink): Remove code checking HAVE_READLINK - is defined. - -2014-11-21 Yao Qi - - * configure.ac: Don't invoke AC_FUNC_ALLOCA. - (AC_CHECK_HEADERS): Remove malloc.h. - * configure: Re-generated. - * config.in: Re-generated. - * server.h: Don't include alloca.h and malloc.h. - * gdbreplay.c: Don't check HAVE_ALLOCA_H is defined. - Don't include malloc.h. - -2014-11-17 Joel Brobecker - - * lynx-low.c (lynx_write_memory): Put lynx_read_memory and - corresponding ERRNO check in same block. - -2014-11-12 Pedro Alves - - * server.c (cont_thread): Update comment. - (start_inferior, attach_inferior): No longer clear cont_thread. - (handle_v_cont): No longer set cont_thread. - (captured_main): Clear cont_thread each time a GDB connects. - -2014-11-12 Pedro Alves - - * linux-low.c (linux_wait_1): Don't force a wait for the Hc - thread, and don't resume all threads if the Hc thread has exited. - -2014-11-12 Pedro Alves - - * linux-low.c (linux_request_interrupt): Always send a SIGINT to - the process group instead of to a specific LWP. - -2014-10-15 Pedro Alves - - PR server/17487 - * win32-arm-low.c (arm_set_thread_context): Remove current_event - parameter. - (arm_set_thread_context): Delete. - (the_low_target): Adjust. - * win32-i386-low.c (debug_registers_changed) - (debug_registers_used): Delete. - (update_debug_registers_callback): New function. - (x86_dr_low_set_addr, x86_dr_low_set_control): Mark all threads as - needing to update their debug registers. - (win32_get_current_dr): New function. - (x86_dr_low_get_addr, x86_dr_low_get_control) - (x86_dr_low_get_status): Fetch the debug register from the thread - record's context. - (i386_initial_stuff): Adjust. - (i386_get_thread_context): Remove current_event parameter. Don't - clear debug_registers_changed nor copy DR values to - debug_reg_state. - (i386_set_thread_context): Delete. - (i386_prepare_to_resume): New function. - (i386_thread_added): Mark the thread as needing to update irs - debug registers. - (the_low_target): Remove i386_set_thread_context and install - i386_prepare_to_resume. - * win32-low.c (win32_get_thread_context): Adjust. - (win32_set_thread_context): Use SetThreadContext - directly. - (win32_prepare_to_resume): New function. - (win32_require_context): New function, factored out from ... - (thread_rec): ... this. - (continue_one_thread): Call win32_prepare_to_resume on each thread - we're about to continue. - (win32_resume): Call win32_prepare_to_resume on the event thread. - * win32-low.h (struct win32_thread_info) - : New field. - (struct win32_target_ops): Change prototype of set_thread_context, - delete set_thread_context and add prepare_to_resume. - (win32_require_context): New declaration. - -2014-10-08 Gary Benson - - * server.h: Do not include common-exceptions.h. - -2014-10-08 Gary Benson - - * server.h: Do not include cleanups.h. - -2014-09-30 James Hogan - - * Makefile.in (clean): Add rm -f commands for mips-dsp-linux.c and - mips64-dsp-linux.c. - -2014-09-23 Yao Qi - - * linux-low.c (lp_status_maybe_breakpoint): New function. - (linux_low_filter_event): Call lp_status_maybe_breakpoint. - (count_events_callback): Likewise. - (select_event_lwp_callback): Likewise. - (cancel_breakpoints_callback): Likewise. - -2014-09-19 Don Breazeal - - * linux-low.c (handle_extended_wait): Call - linux_ptrace_get_extended_event. - (get_stop_pc, get_detach_signal, linux_low_filter_event): Call - linux_is_extended_waitstatus. - -2014-09-16 Joel Brobecker - - * Makefile.in (CPPFLAGS): Define. - (INTERNAL_CFLAGS_BASE): Add ${CPPFLAGS}. - (IPAGENT_CFLAGS): Remove ${CPPFLAGS}. - -2014-09-16 Gary Benson - - * inferiors.h (current_inferior): Renamed as... - (current_thread): New variable. All uses updated. - * linux-low.c (get_pc): Renamed saved_inferior as saved_thread. - (maybe_move_out_of_jump_pad): Likewise. - (cancel_breakpoint): Likewise. - (linux_low_filter_event): Likewise. - (wait_for_sigstop): Likewise. - (linux_resume_one_lwp): Likewise. - (need_step_over_p): Likewise. - (start_step_over): Likewise. - (linux_stabilize_threads): Renamed save_inferior as saved_thread. - * linux-x86-low.c (x86_linux_update_xmltarget): Likewise. - * proc-service.c (ps_lgetregs): Renamed reg_inferior as reg_thread - and save_inferior as saved_thread. - * regcache.c (get_thread_regcache): Renamed saved_inferior as - saved_thread. - (regcache_invalidate_thread): Likewise. - * remote-utils.c (prepare_resume_reply): Likewise. - * thread-db.c (thread_db_get_tls_address): Likewise. - (disable_thread_event_reporting): Likewise. - (remove_thread_event_breakpoints): Likewise. - * tracepoint.c (gdb_agent_about_to_close): Renamed save_inferior - as saved_thread. - * target.h (set_desired_inferior): Renamed as... - (set_desired_thread): New declaration. All uses updated. - * server.c (myresume): Updated comment to reference thread instead - of inferior. - (handle_serial_event): Likewise. - (handle_target_event): Likewise. - -2014-09-12 Tom Tromey - Gary Benson - - * regcache.h: Include common-regcache.h. - (regcache_read_pc): Don't declare. - * regcache.c (get_thread_regcache_for_ptid): New function. - -2014-09-11 Tom Tromey - Gary Benson - - * symbol.c: New file. - * Makefile.in (SFILES): Add symbol.c. - (OBS): Add symbol.o. - -2014-09-11 Gary Benson - - * target.c (target_stop_ptid, target_continue_ptid): New - functions. - -2014-09-11 Tom Tromey - Gary Benson - - * target.h: Include target/target.h. - * target.c (target_read_memory, target_read_uint32) - (target_write_memory): New functions. - -2014-09-11 Gary Benson - - * server.h (debug_hw_points): Don't declare. - * server.c (debug_hw_points): Don't define. Replace all uses - with show_debug_regs. - * linux-aarch64-low.c (debug_hw_points): Don't define. Replace - all uses with show_debug_regs. - -2014-09-08 Edjunior Barbosa Machado - - * linux-ppc-low.c (ppc_collect_ptrace_register): Adjust routine to take - endianness into account. - (ppc_supply_ptrace_register): Likewise. - -2014-09-03 James Hogan - - * linux-mips-low.c (mips_read_description): Reset errno to 0 prior - to reading DSP_CONTROL with PTRACE_PEEKUSER ptrace call. - -2014-09-03 Gary Benson - - * linux-x86-low.c (x86_linux_prepare_to_resume): Use - ALL_DEBUG_ADDRESS_REGISTERS. - -2014-09-02 Gary Benson - - * i386-low.h: Renamed as... - * x86-low.h: New file. All type, function and variable name - prefixes changed from "i386_" to "x86_". All references updated. - * i386-low.c: Renamed as... - * x86-low.c: New file. All type, function and variable name - prefixes changed from "i386_" to "x86_". All references updated. - -2014-09-02 Gary Benson - - * linux-x86-low.c (x86_linux_new_process): Use XCNEW. - (x86_linux_new_thread): Likewise. - -2014-08-29 Gary Benson - - * server.h (setjmp.h): Do not include. - (toplevel): Do not declare. - (common-exceptions.h): Include. - (cleanups.h): Likewise. - * server.c (toplevel): Do not define. - (exit_code): New static global. - (detach_or_kill_for_exit_cleanup): New function. - (main): New function. Original main renamed to... - (captured_main): New function. - * utils.c (verror) [!IN_PROCESS_AGENT]: Use throw_verror. - -2014-08-29 Gary Benson - - * Makefile.in (SFILES): Add common/common-exceptions.c. - (OBS): Add common-exceptions.o. - (common-exceptions.o): New rule. - * utils.c (prepare_to_throw_exception): New function. - -2014-08-29 Gary Benson - - * config.in: Regenerate. - * configure: Likewise. - -2014-08-29 Gary Benson - - * Makefile.in (SFILES): Add common/cleanups.c. - (OBS): cleanups.o. - (cleanups.o): New rule. - -2014-08-29 Gary Benson - - * utils.c (internal_vwarning): New function. - -2014-08-28 Gary Benson - - * utils.h (fatal): Remove declaration. - * utils.c (fatal): Remove function. - -2014-08-28 Gary Benson - - * tracepoint.c (gdb_agent_init): Replace fatal with - perror_with_name. - (initialize_tracepoint): Likewise. - -2014-08-28 Gary Benson - - * remote-utils.c (remote_prepare): Replace fatal with error. - -2014-08-28 Gary Benson - - * linux-low.c (linux_async): Replace fatal with warning. - Tidy up and return. - (linux_start_non_stop): Return -1 if linux_async failed. - -2014-08-28 Gary Benson - - * linux-x86-low.c (i386_dr_low_set_addr): Replace check with - gdb_assert. - (i386_dr_low_get_addr): Remove vague comment. - * win32-i386-low.c (i386_dr_low_set_addr): Replace check with - gdb_assert. - -2014-08-28 Gary Benson - - * inferiors.c (get_thread_process): Replace check with gdb_assert. - * linux-low.c (linux_wait_for_event_filtered): Replace fatal with - internal_error. - (linux_resume_one_lwp): Likewise. - * linux-x86-low.c (x86_siginfo_fixup): Replace checks with - gdb_assert. - * mem-break.c (raw_bkpt_type_to_target_hw_bp_type): Replace fatal - with internal_error. - * regcache.c (get_thread_regcache): Replace check with gdb_assert. - (init_register_cache): Replace fatal with gdb_assert_not_reached. - (find_register_by_name): Replace fatal with internal_error. - (find_regno): Likewise. - * tdesc.c (init_target_desc): Replace check with gdb_assert. - * thread-db.c (thread_db_create_event): Likewise. - (thread_db_load_search): Likewise. - (try_thread_db_load_1): Likewise. - * tracepoint.c (get_jump_space_head): Replace fatal with - internal_error. - (claim_trampoline_space): Likewise. - (have_fast_tracepoint_trampoline_buffer): Likewise. - (cmd_qtstart): Likewise. - (stop_tracing): Likewise. - (fast_tracepoint_collecting): Likewise. - (target_malloc): Likewise. - (download_tracepoint): Likewise. - (download_trace_state_variables): Replace check with gdb_assert. - (upload_fast_traceframes): Replace fatal with internal_error. - -2014-08-19 Tom Tromey - Gary Benson - - * Makefile.in (SFILES): Add common/common-debug.c. - (OBS): Add common-debug.o. - (common-debug.o): New rule. - * debug.h (debug_printf): Don't declare. - * debug.c (debug_printf): Renamed and rewritten as... - (debug_vprintf): New function. - -2014-08-19 Gary Benson - - * utils.h: Do not include print-utils.h. - -2014-08-19 Tom Tromey - Gary Benson - - * server.h: Add static assertion. - (gdb_byte, CORE_ADDR, LONGEST, ULONGEST): Remove. - -2014-08-19 Tom Tromey - Gary Benson - - * Makefile.in (SFILES): Add common/errors.c. - (OBS): Add errors.o. - (IPA_OBS): Add errors-ipa.o. - (errors.o): New rule. - (errors-ipa.o): Likewise. - * utils.h (perror_with_name, error, warning): Don't declare. - * utils.c (warning): Renamed and rewritten as... - (vwarning): New function. - (error): Renamed and rewritten as... - (verror): New function. - (internal_error): Renamed and rewritten as... - (internal_verror): New function. - -2014-08-07 Gary Benson - - * configure.ac (AC_CHECK_HEADERS): Remove errno.h. - * configure: Regenerate. - * config.in: Likewise. - * server.h: Do not include errno.h. - * event-loop.c: Likewise. - * hostio-errno.c: Likewise. - * linux-low.c: Likewise. - * remote-utils.c: Likewise. - * spu-low.c: Likewise. - * utils.c: Likewise. - * gdbreplay.c: Unconditionally include errno.h. - -2014-08-07 Gary Benson - - * server.h: Do not include string.h. - * event-loop.c: Likewise. - * linux-low.c: Likewise. - * regcache.c: Likewise. - * remote-utils.c: Likewise. - * spu-low.c: Likewise. - * utils.c: Likewise. - -2014-08-07 Gary Benson - - * server.h: Do not include gdb_assert.h. - -2014-08-07 Gary Benson - - * server.h: Do not include common-utils.h. - -2014-08-07 Gary Benson - - * server.h: Do not include ptid.h. - * notif.h: Likewise. - -2014-08-07 Gary Benson - - * server.h: Do not include gdb_locale.h. - -2014-08-07 Gary Benson - - * server.h: Do not include gdb/signals.h. - * win32-low.c: Likewise. - -2014-08-07 Gary Benson - - * server.h: Do not include pathmax.h. - -2014-08-07 Gary Benson - - * server.h: Do not include libiberty.h. - * linux-bfin-low.c: Likewise. - -2014-08-07 Gary Benson - - * server.h: Do not include ansidecl.h. - -2014-08-07 Gary Benson - - * linux-x86-low.c: Do not include stddef.h. - * lynx-ppc-low.c: Likewise. - * tracepoint.c: Likewise. - -2014-08-07 Gary Benson - - * server.h: Do not include stdarg.h. - * nto-low.c: Likewise. - -2014-08-07 Gary Benson - - * server.h: Do not include stdlib.h. - * inferiors.c: Likewise. - * linux-low.c: Likewise. - * regcache.c: Likewise. - * spu-low.c: Likewise. - * tracepoint.c: Likewise. - * utils.c: Likewise. - -2014-08-07 Gary Benson - - * server.h: Do not include stdio.h. - * linux-low.c: Likewise. - * remote-utils.c: Likewise. - * spu-low.c: Likewise. - * utils.c: Likewise. - * wincecompat.c: Likewise. - -2014-08-06 Gary Benson - - * regcache.c (init_register_cache): Move conditionals inside if. - -2014-08-06 Gary Benson - - * linux-low.c (linux_supports_non_stop): Use target_is_async_p. - -2014-07-31 Gary Benson - - * ax.h: Do not include server.h. - * gdbthread.h: Likewise. - * lynx-low.h: Likewise. - * notif.h: Likewise. - -2014-07-30 Gary Benson - - * server.h: Include common-defs.h. - Do not include config.h or build-gnulib-gdbserver/config.h. - -2014-07-30 Gary Benson - - * hostio-errno.c: Move server.h to top of includes list. - * inferiors.c: Likewise. - * linux-x86-low.c: Likewise. - * notif.c: Include server.h. - -2014-07-24 Tom Tromey - Gary Benson - - * server.h (CORE_ADDR): Now unsigned. - -2014-07-16 Pedro Alves - - * linux-low.c (linux_kill_one_lwp): Use kill_lwp, not kill. - -2014-07-15 Pedro Alves - - * linux-low.c (linux_kill_one_lwp): Save errno and work with saved - copy. - -2014-07-11 Pedro Alves - - * linux-low.c (kill_wait_lwp): New function, based on - kill_one_lwp_callback, but use my_waitpid directly. - (kill_one_lwp_callback, linux_kill): Use it. - -2014-06-23 Pedro Alves - - * linux-x86-low.c (x86_linux_prepare_to_resume): Clear DR_CONTROL - before setting DR0..DR3. - -2014-06-20 Gary Benson - - * configure.ac (AC_REPLACE_FUNCS) : Removed. - * configure: Regenerated. - * config.in: Likewise. - -2014-06-20 Gary Benson - - * Makefile.in (SFILES): Update locations for files moved - from common to nat. - (object file files): Reordered. - -2014-06-20 Gary Benson - - * i386-low.h (i386_dr_low_can_set_addr): Removed. - (i386_dr_low_set_addr): Likewise. - (i386_dr_low_get_addr): Likewise. - (i386_dr_low_can_set_control): Likewise. - (i386_dr_low_set_control): Likewise. - (i386_dr_low_get_control): Likewise. - (i386_dr_low_get_status): Likewise. - (i386_get_debug_register_length): Likewise. - * linux-x86-low.c (i386_dr_low_set_addr): - Changed signature. Made static. - (i386_dr_low_get_addr): Likewise. - (i386_dr_low_set_control): Likewise. - (i386_dr_low_get_control): Likewise. - (i386_dr_low_get_status): Likewise. - (i386_dr_low): New global variable. - * win32-i386-low.c (i386_dr_low_set_addr): - Changed signature. Made static. - (i386_dr_low_get_addr): Likewise. - (i386_dr_low_set_control): Likewise. - (i386_dr_low_get_control): Likewise. - (i386_dr_low_get_status): Likewise. - (i386_dr_low): New global variable. - -2014-06-20 Marcus Shawcroft - - * configure.ac: Invoke. AC_CHECK_TOOL(AR, ar). - * Makefile.in (AR, AR_FLAGS): Define. - * configure: Regenerate. - -2014-06-19 Gary Benson - - * Makefile.in (i386-dregs.o): New rule. - * configure.srv: Add i386-dregs.o to all targets using i386-low.o. - * i386-low.c (target.h): Remove include. - (TARGET_HAS_DR_LEN_8): Now in i386-dregs.c. - (DR_CONTROL_SHIFT): Likewise. - (DR_CONTROL_SIZE): Likewise. - (DR_RW_EXECUTE): Likewise. - (DR_RW_WRITE): Likewise. - (DR_RW_READ): Likewise. - (DR_RW_IORW): Likewise. - (DR_LEN_1): Likewise. - (DR_LEN_2): Likewise. - (DR_LEN_4): Likewise. - (DR_LEN_8): Likewise. - (DR_LOCAL_ENABLE_SHIFT): Likewise. - (DR_GLOBAL_ENABLE_SHIFT): Likewise. - (DR_ENABLE_SIZE): Likewise. - (DR_LOCAL_SLOWDOWN): Likewise. - (DR_GLOBAL_SLOWDOWN): Likewise. - (DR_CONTROL_RESERVED): Likewise. - (I386_DR_CONTROL_MASK): Likewise. - (I386_DR_VACANT): Likewise. - (I386_DR_LOCAL_ENABLE): Likewise. - (I386_DR_GLOBAL_ENABLE): Likewise. - (I386_DR_DISABLE): Likewise. - (I386_DR_SET_RW_LEN): Likewise. - (I386_DR_GET_RW_LEN): Likewise. - (I386_DR_WATCH_HIT): Likewise. - (i386_wp_op_t): Likewise. - (i386_show_dr): Likewise. - (i386_length_and_rw_bits): Likewise. - (i386_insert_aligned_watchpoint): Likewise. - (i386_remove_aligned_watchpoint): Likewise. - (i386_handle_nonaligned_watchpoint): Likewise. - i386_update_inferior_debug_regs(): Likewise. - (i386_dr_insert_watchpoint): Likewise. - (i386_dr_remove_watchpoint): Likewise. - (i386_dr_region_ok_for_watchpoint): Likewise. - (i386_dr_stopped_data_address): Likewise. - (i386_dr_stopped_by_watchpoint): Likewise. - -2014-06-19 Gary Benson - - * i386-low.c (i386_dr_show): Renamed to - i386_show_dr and made static. All uses updated. - (i386_dr_length_and_rw_bits): Renamed to - i386_length_and_rw_bits and made static. - All uses updated. - (i386_dr_insert_aligned_watchpoint): Renamed to - i386_insert_aligned_watchpoint and made static. - All uses updated. - (i386_dr_remove_aligned_watchpoint): Renamed to - i386_remove_aligned_watchpoint and made static. - All uses updated. - (i386_dr_update_inferior_debug_regs): Renamed to - i386_update_inferior_debug_regs and made static. - All uses updated. - -2014-06-18 Gary Benson - - * i386-low.h (i386_dr_low_can_set_addr): New macro. - (i386_dr_low_can_set_control): Likewise. - (i386_get_debug_register_length): Likewise. - * i386-low.c (i386_dr_low_can_set_addr): Now in i386-low.h. - (i386_dr_low_can_set_control): Likewise. - (i386_get_debug_register_length): Likewise. - -2014-06-17 Gary Benson - - * i386-low.h (i386-dregs.h): New include. - (DR_FIRSTADDR): Now in i386-dregs.h. - (DR_LASTADDR): Likewise. - (DR_NADDR): Likewise. - (DR_STATUS): Likewise. - (DR_CONTROL): Likewise. - (i386_debug_reg_state): Likewise. - (i386_dr_insert_watchpoint): Likewise. - (i386_dr_remove_watchpoint): Likewise. - (i386_dr_region_ok_for_watchpoint): Likewise. - (i386_dr_stopped_data_address): Likewise. - (i386_dr_stopped_by_watchpoint): Likewise. - * i386-low.c (ALL_DEBUG_REGISTERS): Likewise. - -2014-06-18 Gary Benson - - * i386-low.h (i386_low_insert_watchpoint): Renamed to - i386_dr_insert_watchpoint. - (i386_low_remove_watchpoint): Renamed to - i386_dr_remove_watchpoint. - (i386_low_region_ok_for_watchpoint): Renamed to - i386_dr_region_ok_for_watchpoint. - (i386_low_stopped_data_address): Renamed to - i386_dr_stopped_data_address. - (i386_low_stopped_by_watchpoint): Renamed to - i386_dr_stopped_by_watchpoint. - * i386-low.c (i386_show_dr): Renamed to - i386_dr_show and made nonstatic. All uses updated. - (i386_length_and_rw_bits): Renamed to - i386_dr_length_and_rw_bits and made nonstatic. - All uses updated. - (i386_insert_aligned_watchpoint): Renamed to - i386_dr_insert_aligned_watchpoint and made nonstatic. - All uses updated. - (i386_remove_aligned_watchpoint): Renamed to - i386_dr_remove_aligned_watchpoint and made nonstatic. - All uses updated. - (i386_update_inferior_debug_regs): Renamed to - i386_dr_update_inferior_debug_regs and made nonstatic. - All uses updated. - (i386_low_insert_watchpoint): Renamed to - i386_dr_insert_watchpoint. All uses updated. - (i386_low_remove_watchpoint): Renamed to - i386_dr_remove_watchpoint. All uses updated. - (i386_low_region_ok_for_watchpoint): Renamed to - i386_dr_region_ok_for_watchpoint. All uses updated. - (i386_low_stopped_data_address): Renamed to - i386_dr_stopped_data_address. All uses updated. - (i386_low_stopped_by_watchpoint): Renamed to - i386_dr_stopped_by_watchpoint. All uses updated. - -2014-06-18 Gary Benson - - * i386-low.c (i386_dr_low_can_set_addr): New macro. - (i386_dr_low_can_set_control): Likewise. - (i386_insert_aligned_watchpoint): New check. - -2014-06-18 Gary Benson - - * i386-low.c (i386_update_inferior_debug_regs) : - Renamed to state. - -2014-06-18 Gary Benson - - * i386-low.c (i386_length_and_rw_bits): Use internal_error - instead of fatal and error. - (i386_handle_nonaligned_watchpoint): Likewise. - -2014-06-18 Gary Benson - - * i386-low.c (i386_get_debug_register_length): New macro. - (TARGET_HAS_DR_LEN_8): Remove conditional. Use above macro. - (i386_show_dr): Use debug_printf instead of fprintf. Use - phex to format values. - -2014-06-18 Gary Benson - - * i386-low.h: Comment changes. - * i386-low.c: Likewise. - -2014-06-18 Gary Benson - - * i386-low.c: Whitespace changes. - -2014-06-12 Tom Tromey - - * utils.c (freeargv): Remove. - -2014-06-12 Tom Tromey - - * debug.c (debug_printf): Remove HAVE_GETTIMEOFDAY checks. - * server.c (monitor_show_help): Remove HAVE_GETTIMEOFDAY check. - (parse_debug_format_options): Likewise. - (gdbserver_usage): Likewise. - * Makefile.in (LIBIBERTY_BUILDDIR, LIBIBERTY): New variables. - (SUBDIRS, REQUIRED_SUBDIRS): Add libiberty. - (gdbserver$(EXEEXT), gdbreplay$(EXEEXT)): Depend on and link - against libiberty. - ($(LIBGNU)): Depend on libiberty. - (all-lib): Recurse into all subdirs. - (install-only): Invoke "install" target in subdirs. - (vasprintf.o, vsnprintf.o, safe-ctype.o, lbasename.o): Remove - targets. - * configure: Rebuild. - * configure.ac: Add ACX_CONFIGURE_DIR for libiberty. Don't check - for vasprintf, vsnprintf, or gettimeofday. - * configure.srv: Don't add safe-ctype.o or lbasename.o to - srv_tgtobj. - -2014-06-05 Joel Brobecker - - * development.sh: Delete. - * Makefile.in (config.status): Adjust dependency on development.sh. - * configure.ac: Adjust development.sh source call. - * configure: Regenerate. - -2014-06-02 Pedro Alves - - * ax.c (gdb_free_agent_expr): New function. - * ax.h (gdb_free_agent_expr): New declaration. - * mem-break.c (delete_gdb_breakpoint_1): Also clear the commands - list. - (clear_breakpoint_conditions, clear_breakpoint_commands): Make - static. - (clear_breakpoint_conditions_and_commands): New function. - * mem-break.h (clear_breakpoint_conditions): Delete declaration. - (clear_breakpoint_conditions_and_commands): New declaration. - -2014-05-23 Ramana Radhakrishnan - - * linux-aarch64-low.c (asm/ptrace.h): Include. - -2014-05-21 Jan Kratochvil - - Fix TLS access for -static -pthread. - * gdbserver/thread-db.c (struct thread_db): Add td_thr_tlsbase_p. - (thread_db_get_tls_address): Call it if LOAD_MODULE is zero. - (thread_db_load_search, try_thread_db_load_1): Initialize it. - -2014-05-20 Pedro Alves - - * linux-aarch64-low.c (aarch64_insert_point) - (aarch64_remove_point): No longer check whether the type is - supported here. Adjust to new interface. - (the_low_target): Install aarch64_supports_z_point_type as - supports_z_point_type method. - * linux-arm-low.c (raw_bkpt_type_to_arm_hwbp_type): New function. - (arm_linux_hw_point_initialize): Take an enum raw_bkpt_type - instead of a Z packet char. Adjust. - (arm_supports_z_point_type): New function. - (arm_insert_point, arm_remove_point): Adjust to new interface. - (the_low_target): Install arm_supports_z_point_type. - * linux-crisv32-low.c (cris_supports_z_point_type): New function. - (cris_insert_point, cris_remove_point): Adjust to new interface. - Don't check whether the type is supported here. - (the_low_target): Install cris_supports_z_point_type. - * linux-low.c (linux_supports_z_point_type): New function. - (linux_insert_point, linux_remove_point): Adjust to new interface. - * linux-low.h (struct linux_target_ops) : Take an enum raw_bkpt_type instead of a char. Add - raw_breakpoint pointer parameter. - : New method. - * linux-mips-low.c (mips_supports_z_point_type): New function. - (mips_insert_point, mips_remove_point): Adjust to new interface. - Use mips_supports_z_point_type. - (the_low_target): Install mips_supports_z_point_type. - * linux-ppc-low.c (the_low_target): Install NULL as - supports_z_point_type method. - * linux-s390-low.c (the_low_target): Install NULL as - supports_z_point_type method. - * linux-sparc-low.c (the_low_target): Install NULL as - supports_z_point_type method. - * linux-x86-low.c (x86_supports_z_point_type): New function. - (x86_insert_point): Adjust to new insert_point interface. Use - insert_memory_breakpoint. Adjust to new - i386_low_insert_watchpoint interface. - (x86_remove_point): Adjust to remove_point interface. Use - remove_memory_breakpoint. Adjust to new - i386_low_remove_watchpoint interface. - (the_low_target): Install x86_supports_z_point_type. - * lynx-low.c (lynx_target_ops): Install NULL as - supports_z_point_type callback. - * nto-low.c (nto_supports_z_point_type): New. - (nto_insert_point, nto_remove_point): Adjust to new interface. - (nto_target_ops): Install nto_supports_z_point_type. - * mem-break.c: Adjust intro comment. - (struct raw_breakpoint) : New fields. - : Update comment. - : Delete field. - (enum bkpt_type) : Delete value. - : New values. - (raw_bkpt_type_to_target_hw_bp_type): New function. - (find_enabled_raw_code_breakpoint_at): New function. - (find_raw_breakpoint_at): New type and size parameters. Use them. - (insert_memory_breakpoint): New function, based off - set_raw_breakpoint_at. - (remove_memory_breakpoint): New function. - (set_raw_breakpoint_at): Reimplement. - (set_breakpoint): New, based on set_breakpoint_at. - (set_breakpoint_at): Reimplement. - (delete_raw_breakpoint): Go through the_target->remove_point - instead of assuming memory breakpoints. - (find_gdb_breakpoint_at): Delete. - (Z_packet_to_bkpt_type, Z_packet_to_raw_bkpt_type): New functions. - (find_gdb_breakpoint): New function. - (set_gdb_breakpoint_at): Delete. - (z_type_supported): New function. - (set_gdb_breakpoint_1): New function, loosely based off - set_gdb_breakpoint_at. - (check_gdb_bp_preconditions, set_gdb_breakpoint): New functions. - (delete_gdb_breakpoint_at): Delete. - (delete_gdb_breakpoint_1): New function, loosely based off - delete_gdb_breakpoint_at. - (delete_gdb_breakpoint): New function. - (clear_gdb_breakpoint_conditions): Rename to ... - (clear_breakpoint_conditions): ... this. Don't handle a NULL - breakpoint. - (add_condition_to_breakpoint): Make static. - (add_breakpoint_condition): Take a struct breakpoint pointer - instead of an address. Adjust. - (gdb_condition_true_at_breakpoint): Rename to ... - (gdb_condition_true_at_breakpoint_z_type): ... this, and add - z_type parameter. - (gdb_condition_true_at_breakpoint): Reimplement. - (add_breakpoint_commands): Take a struct breakpoint pointer - instead of an address. Adjust. - (gdb_no_commands_at_breakpoint): Rename to ... - (gdb_no_commands_at_breakpoint_z_type): ... this. Add z_type - parameter. Return true if no breakpoint was found. Change debug - output. - (gdb_no_commands_at_breakpoint): Reimplement. - (run_breakpoint_commands): Rename to ... - (run_breakpoint_commands_z_type): ... this. Add z_type parameter, - and change return type to boolean. - (run_breakpoint_commands): New function. - (gdb_breakpoint_here): Also check for Z1 breakpoints. - (uninsert_raw_breakpoint): Don't try to reinsert a disabled - breakpoint. Go through the_target->remove_point instead of - assuming memory breakpoint. - (uninsert_breakpoints_at, uninsert_all_breakpoints): Uninsert - software and hardware breakpoints. - (reinsert_raw_breakpoint): Go through the_target->insert_point - instead of assuming memory breakpoint. - (reinsert_breakpoints_at, reinsert_all_breakpoints): Reinsert - software and hardware breakpoints. - (check_breakpoints, breakpoint_here, breakpoint_inserted_here): - Check both software and hardware breakpoints. - (validate_inserted_breakpoint): Assert the breakpoint is a - software breakpoint. Set the inserted flag to -1 instead of - setting shlib_disabled. - (delete_disabled_breakpoints): Adjust. - (validate_breakpoints): Only validate software breakpoints. - Adjust to inserted flag change. - (check_mem_read, check_mem_write): Skip breakpoint types other - than software breakpoints. Adjust to inserted flag change. - * mem-break.h (enum raw_bkpt_type): New enum. - (raw_breakpoint, struct process_info): Forward declare. - (Z_packet_to_target_hw_bp_type): Delete declaration. - (raw_bkpt_type_to_target_hw_bp_type, Z_packet_to_raw_bkpt_type) - (set_gdb_breakpoint, delete_gdb_breakpoint) - (clear_breakpoint_conditions): New declarations. - (set_gdb_breakpoint_at, clear_gdb_breakpoint_conditions): Delete. - (breakpoint_inserted_here): Update comment. - (add_breakpoint_condition, add_breakpoint_commands): Replace - address parameter with a breakpoint pointer parameter. - (gdb_breakpoint_here): Update comment. - (delete_gdb_breakpoint_at): Delete. - (insert_memory_breakpoint, remove_memory_breakpoint): Declare. - * server.c (process_point_options): Take a struct breakpoint - pointer instead of an address. Adjust. - (process_serial_event) : Use set_gdb_breakpoint and - delete_gdb_breakpoint. - * spu-low.c (spu_target_ops): Install NULL as - supports_z_point_type method. - * target.h: Include mem-break.h. - (struct target_ops) : Update comment. - : New field. - : Take an enum raw_bkpt_type argument - instead of a char. Also take a raw breakpoint pointer. - * win32-arm-low.c (the_low_target): Install NULL as - supports_z_point_type. - * win32-i386-low.c (i386_supports_z_point_type): New function. - (i386_insert_point, i386_remove_point): Adjust to new interface. - (the_low_target): Install i386_supports_z_point_type. - * win32-low.c (win32_supports_z_point_type): New function. - (win32_insert_point, win32_remove_point): Adjust to new interface. - (win32_target_ops): Install win32_supports_z_point_type. - * win32-low.h (struct win32_target_ops): - : New method. - : Take an enum raw_bkpt_type argument - instead of a char. Also take a raw breakpoint pointer. - -2014-05-20 Pedro Alves - - * mem-break.h: Include break-common.h. - (Z_PACKET_SW_BP, Z_PACKET_HW_BP, Z_PACKET_WRITE_WP) - (Z_PACKET_READ_WP, Z_PACKET_ACCESS_WP): New defines. - (Z_packet_to_target_hw_bp_type): New declaration. - * mem-break.c (Z_packet_to_target_hw_bp_type): New function. - * i386-low.c (Z_PACKET_HW_BP, Z_PACKET_WRITE_WP, Z_PACKET_READ_WP) - (Z_PACKET_ACCESS_WP): Delete macros. - (Z_packet_to_hw_type): Delete function. - * i386-low.h: Don't include break-common.h here. - (Z_packet_to_hw_type): Delete declaration. - * linux-x86-low.c (x86_insert_point, x86_insert_point): Call - Z_packet_to_target_hw_bp_type instead of Z_packet_to_hw_type. - * win32-i386-low.c (i386_insert_point, i386_remove_point): Call - Z_packet_to_target_hw_bp_type instead of Z_packet_to_hw_type. - * linux-aarch64-low.c: Don't include break-common.h here. - (Z_PACKET_SW_BP, Z_PACKET_HW_BP, Z_PACKET_WRITE_WP) - (Z_PACKET_READ_WP, Z_PACKET_ACCESS_WP): Delete macros. - (Z_packet_to_target_hw_bp_type): Delete function. - * linux-mips-low.c (rsp_bp_type_to_target_hw_bp_type): Delete - function. - (mips_insert_point, mips_remove_point): Use - Z_packet_to_target_hw_bp_type. - -2014-05-20 Pedro Alves - - * linux-aarch64-low.c: Include break-common.h. - (enum target_point_type): Delete. - (Z_packet_to_point_type): Rename to ... - (Z_packet_to_target_hw_bp_type): ... this, and return a - target_hw_bp_type instead. - (aarch64_show_debug_reg_state): Take an enum target_hw_bp_type - instead of an enum target_point_type. - (aarch64_point_encode_ctrl_reg): Likewise. Compute type mask from - breakpoint type. - (aarch64_dr_state_insert_one_point) - (aarch64_dr_state_remove_one_point, aarch64_handle_breakpoint) - (aarch64_handle_aligned_watchpoint) - (aarch64_handle_unaligned_watchpoint, aarch64_handle_watchpoint): - Take an enum target_hw_bp_type instead of an enum - target_point_type. - (aarch64_supports_z_point_type): New function. - (aarch64_insert_point, aarch64_remove_point): Use it. Adjust to - use Z_packet_to_target_hw_bp_type. - -2014-05-20 Joel Brobecker - - * configure.ac: Only use -Werror by default when DEVELOPMENT - is true. - * configure: Regenerate. - -2014-05-19 Jan Kratochvil - - Fix gdbserver qGetTLSAddr for x86_64 -m32. - * linux-x86-low.c (X86_64_USER_REGS): New. - (x86_fill_gregset): Call memset for BUF first in x86_64 -m32 case. - -2014-04-28 Yao Qi - - * Makefile.in (i386-avx512.c): Fix the typo of generated file - name. - -2014-04-25 Pedro Alves - - PR server/16255 - * linux-low.c (linux_attach_fail_reason_string): New function. - (linux_attach_lwp): Delete. - (linux_attach_lwp_1): Rename to ... - (linux_attach_lwp): ... this. Take a ptid instead of a pid as - argument. Remove "initial" parameter. Return int instead of - void. Don't error or warn here. - (linux_attach): Adjust to call linux_attach_lwp. Call error on - failure to attach to the tgid. Call warning when failing to - attach to an lwp. - * linux-low.h (linux_attach_lwp): Take a ptid instead of a pid as - argument. Remove "initial" parameter. Return int instead of - void. Don't error or warn here. - (linux_attach_fail_reason_string): New declaration. - * thread-db.c (attach_thread): Adjust to linux_attach_lwp's - interface change. Use linux_attach_fail_reason_string. - -2014-04-24 Michael Sturm - Walfred Tedeschi - - * Makefile.in: Added rules to handle new files - i386-avx512.c i386-avx512-linux.c amd64-avx512.c - amd64-avx512-linux.c x32-avx512.c x32-avx512-linux.c. - * configure.srv (srv_i386_regobj): Add i386-avx512.o. - (srv_i386_linux_regobj): Add i386-avx512-linux.o. - (srv_amd64_regobj): Add amd64-avx512.o and x32-avx512.o. - (srv_amd64_linux_regobj): Add amd64-avx512-linux.o and - x32-avx512-linux.o. - (srv_i386_32bit_xmlfiles): Add i386/32bit-avx512.xml. - (srv_i386_64bit_xmlfiles): Add i386/64bit-avx512.xml. - (srv_amd64_xmlfiles): Add i386/amd64-avx512.xml and - i386/x32-avx512.xml. - (srv_i386_linux_xmlfiles): Add i386/i386-avx512-linux.xml. - (srv_amd64_linux_xmlfiles): Add i386/amd64-avx512-linux.xml and - i386/x32-avx512-linux.xml. - * i387-fp.c (num_avx512_k_registers): New constant for number - of K registers. - (num_avx512_zmmh_low_registers): New constant for number of - lower ZMM registers (0-15). - (num_avx512_zmmh_high_registers): New constant for number of - higher ZMM registers (16-31). - (num_avx512_ymmh_registers): New contant for number of higher - YMM registers (ymm16-31 added by avx521 on x86_64). - (num_avx512_xmm_registers): New constant for number of higher - XMM registers (xmm16-31 added by AVX512 on x86_64). - (struct i387_xsave): Add space for AVX512 registers. - (i387_cache_to_xsave): Change raw buffer size to 64 characters. - Add code to handle AVX512 registers. - (i387_xsave_to_cache): Add code to handle AVX512 registers. - * linux-x86-low.c (init_registers_amd64_avx512_linux): New - prototypei from generated file. - (tdesc_amd64_avx512_linux): Likewise. - (init_registers_x32_avx512_linux): Likewise. - (tdesc_x32_avx512_linux): Likewise. - (init_registers_i386_avx512_linux): Likewise. - (tdesc_i386_avx512_linux): Likewise. - (x86_64_regmap): Add AVX512 registers. - (x86_linux_read_description): Add code to handle AVX512 XSTATE - mask. - (initialize_low_arch): Add code to initialize AVX512 registers. - -2014-04-23 Pedro Alves - - * mem-break.c (find_gdb_breakpoint_at): Make static. - * mem-break.h (find_gdb_breakpoint_at): Delete declaration. - -2014-04-23 Pedro Alves - - * i386-low.c: Don't include break-common.h here. - (i386_low_insert_watchpoint, i386_low_remove_watchpoint): Change - prototype to take target_hw_bp_type as argument instead of a Z - packet char. - * i386-low.h: Include break-common.h here. - (Z_packet_to_hw_type): Declare. - (i386_low_insert_watchpoint, i386_low_remove_watchpoint): Change - prototypes. - * linux-x86-low.c (x86_insert_point): Convert the packet number to - a target_hw_bp_type before calling i386_low_insert_watchpoint. - (x86_remove_point): Convert the packet number to a - target_hw_bp_type before calling i386_low_remove_watchpoint. - * win32-i386-low.c (i386_insert_point): Convert the packet number - to a target_hw_bp_type before calling i386_low_insert_watchpoint. - (i386_remove_point): Convert the packet number to a - target_hw_bp_type before calling i386_low_remove_watchpoint. - -2014-04-23 Pedro Alves - - * utils.h (perror_with_name): Add ATTRIBUTE_NORETURN. - -2014-04-10 Pedro Alves - - * mem-break.c (add_breakpoint_condition, add_breakpoint_commands): - Check if the condition or command is NULL before checking if the - breakpoint is known. On success, return true. - * mem-break.h (add_breakpoint_condition): Document return. - (add_breakpoint_commands): Add describing comment. - * server.c (skip_to_semicolon): New function. - (process_point_options): Use it. - -2014-04-09 Pedro Alves - - * linux-low.c (linux_read_loadmap): Pass current_inferior directly - to lwpid_of. - -2014-02-27 Pedro Alves - - PR 12702 - * inferiors.h (A_I_NEXT, ALL_INFERIORS_TYPE, ALL_PROCESSES): New - macros. - * linux-low.c (delete_lwp, handle_extended_wait): Add debug - output. - (last_thread_of_process_p): Take a PID argument instead of a - thread pointer. - (linux_wait_for_lwp): Delete. - (num_lwps, check_zombie_leaders, not_stopped_callback): New - functions. - (linux_low_filter_event): New function, party factored out from - linux_wait_for_event. - (linux_wait_for_event): Rename to ... - (linux_wait_for_event_filtered): ... this. Add new filter ptid - argument. Partly rewrite. Always use waitpid(-1, WNOHANG) and - sigsuspend. Check for zombie leaders. - (linux_wait_for_event): Reimplement as wrapper around - linux_wait_for_event_filtered. - (linux_wait_1): Handle TARGET_WAITKIND_NO_RESUMED. Assume that if - a normal or signal exit is seen, it's the whole process exiting. - (wait_for_sigstop): No longer a for_each_inferior callback. - Rewrite on top of linux_wait_for_event_filtered. - (stop_all_lwps): Call wait_for_sigstop directly. - * server.c (resume, handle_target_event): Handle - TARGET_WAITKIND_NO_RESUMED. - -2014-02-26 Joel Brobecker - - * win32-low.c (psapi_get_dll_name, - * win32_CreateToolhelp32Snapshot): Delete. - (win32_CreateToolhelp32Snapshot, win32_Module32First) - (win32_Module32Next, load_toolhelp, toolhelp_get_dll_name): - Delete. - (handle_load_dll): Add function description. - Remove code using psapi_get_dll_name and toolhelp_get_dll_name. - -2014-02-26 Joel Brobecker - - * win32-low.c (win32_add_one_solib): Add 0x1000 to load_addr. - Add comment. - (win32_add_all_dlls): Remove 0x1000 offset applied to DLL - base address when calling win32_add_one_solib. - (handle_load_dll): Delete local variable load_addr. - Remove 0x1000 offset applied to DLL base address when calling - win32_add_one_solib. - (handle_unload_dll): Add comment. - -2014-02-26 Joel Brobecker - - * win32-low.c (win32_add_all_dlls): Renames - win32_ensure_ntdll_loaded. Rewrite function documentation. - Adjust implementation to always load all DLLs. - Add 0x1000 offset to DLL base address when calling - win32_add_one_solib. - (child_initialization_done): New static global. - (do_initial_child_stuff): Set child_initialization_done to - zero during child initialization, and 1 after. Replace call - to win32_ensure_ntdll_loaded by call to win32_add_all_dlls. - Add comment. - (match_dll_by_basename, dll_is_loaded_by_basename): Delete. - (handle_unload_dll): Add function documentation. - (get_child_debug_event): Ignore load and unload DLL events - during child initialization. - -2014-02-20 Doug Evans - - Remove global all_lwps. - * inferiors.h (ptid_of): Move here from linux-low.h. - (pid_of, lwpid_of): Ditto. - * linux-aarch64-low.c (debug_reg_change_callback): Update, "entry" - parameter is a struct thread_info * now. - (aarch64_notify_debug_reg_change): Fetch pid from current_inferior - directly. Pass &all_threads to find_inferior instead of &all_lwps. - (aarch64_stopped_data_address): Fetch lwpid from current_inferior - directly. - (aarch64_linux_prepare_to_resume): Fetch ptid from thread. - (aarch64_arch_setup): Fetch lwpid from current_inferior directly. - * linux-arm-low.c (update_registers_callback): Update, "entry" - parameter is a struct thread_info * now. - Fetch lwpid from current_inferior directly. - (arm_insert_point): Pass &all_threads to find_inferior instead of - &all_lwps. - (arm_remove_point): Ditto. - (arm_stopped_by_watchpoint): Fetch lwp from current_inferior. - (arm_prepare_to_resume): Fetch pid from thread. - (arm_read_description): Fetch lwpid from current_inferior directly. - * linux-low.c (all_lwps): Delete. - (delete_lwp): Delete call to remove_inferior. - (handle_extended_wait): Fetch lwpid from thread. - (add_lwp): Don't set lwp->entry.id. Remove call to - add_inferior_to_list. - (linux_attach_lwp_1): Fetch pid from current_inferior directly. - (linux_kill_one_lwp): Fetch ptid,lwpid from thread. - (kill_one_lwp_callback): Ditto. - (linux_kill): Don't dereference NULL pointer. - Fetch ptid,lwpid from thread. - (get_detach_signal): Fetch ptid from thread. - (linux_detach_one_lwp): Fetch ptid,lwpid from thread. - Simplify call to regcache_invalidate_thread. - (delete_lwp_callback): Update, "entry" parameter is a - struct thread_info * now. Fetch pid from thread. - (linux_mourn): Pass &all_threads to find_inferior instead of &all_lwps. - (status_pending_p_callback): Update, "entry" parameter is a - struct thread_info * now. Fetch ptid from thread. - (find_lwp_pid): Update, "entry" parameter is a - struct thread_info * now. - (linux_wait_for_lwp): Fetch pid from thread. - (linux_fast_tracepoint_collecting): Fetch lwpid from thread. - (maybe_move_out_of_jump_pad): Fetch lwpid from current_inferior. - (enqueue_one_deferred_signal): Fetch lwpid from thread. - (dequeue_one_deferred_signal): Ditto. - (cancel_breakpoint): Fetch ptid from current_inferior. - (linux_wait_for_event): Pass &all_threads to find_inferior, - not &all_lwps. Fetch ptid, lwpid from thread. - (count_events_callback): Update, "entry" parameter is a - struct thread_info * now. - (select_singlestep_lwp_callback): Ditto. - (select_event_lwp_callback): Ditto. - (cancel_breakpoints_callback): Ditto. - (linux_cancel_breakpoints): Pass &all_threads to find_inferior, - not &all_lwps. - (select_event_lwp): Ditto. Fetch ptid from event_thread. - (unsuspend_one_lwp): Update, "entry" parameter is a - struct thread_info * now. - (unsuspend_all_lwps): Pass &all_threads to find_inferior, - not &all_lwps. - (linux_stabilize_threads): Ditto. And for for_each_inferior. - Fetch lwpid from thread, not lwp. - (linux_wait_1): Fetch ptid, lwpid from current_inferior. - Pass &all_threads to find_inferior, not &all_lwps. - (send_sigstop): Fetch lwpid from thread, not lwp. - (send_sigstop_callback): Update, "entry" parameter is a - struct thread_info * now. - (suspend_and_send_sigstop_callback): Ditto. - (wait_for_sigstop): Ditto. Fetch ptid, lwpid from thread, lwp. - (stuck_in_jump_pad_callback): Update, "entry" parameter is a - struct thread_info * now. - (move_out_of_jump_pad_callback): Ditto. Fetch ptid, lwpid - from thread, lwp. - (lwp_running): Update, "entry" parameter is a - struct thread_info * now. - (stop_all_lwps): Fetch ptid from thread. - Pass &all_threads to find_inferior, for_each_inferior, not &all_lwps. - (linux_resume_one_lwp): Fetch lwpid from thread. - (linux_set_resume_request): Update, "entry" parameter is a - struct thread_info * now. Fetch pid, lwpid from thread. - (resume_status_pending_p): Update, "entry" parameter is a - struct thread_info * now. - (need_step_over_p): Ditto. Fetch lwpid from thread. - (start_step_over): Fetch lwpid from thread. - (linux_resume_one_thread): Update, "entry" parameter is a - struct thread_info * now. Fetch lwpid from thread. - (linux_resume): Pass &all_threads to find_inferior, not &all_lwps. - (proceed_one_lwp): Update, "entry" parameter is a - struct thread_info * now. Fetch lwpid from thread. - (unsuspend_and_proceed_one_lwp): Update, "entry" parameter is a - struct thread_info * now. - (proceed_all_lwps): Pass &all_threads to find_inferior, not &all_lwps. - (unstop_all_lwps): Ditto. Fetch lwpid from thread. - (regsets_fetch_inferior_registers): Fetch lwpid from current_inferior - directly. - (regsets_store_inferior_registers): Ditto. - (fetch_register, store_register): Ditto. - (linux_read_memory, linux_write_memory): Ditto. - (linux_request_interrupt): Ditto. - (linux_read_auxv): Ditto. - (linux_xfer_siginfo): Ditto. - (linux_qxfer_spu): Ditto. - (linux_qxfer_libraries_svr4): Ditto. - * linux-low.h (ptid_of, pid_of, lwpid_of): Delete, - moved to inferiors.h. - (get_lwp): Delete. - (get_thread_lwp): Update. - (struct lwp_info): Delete member "entry". Simplify comment for - member "thread". - (all_lwps): Delete. - * linux-mips-low.c (mips_read_description): Fetch lwpid from - current_inferior directly. - (update_watch_registers_callback): Update, "entry" parameter is a - struct thread_info * now. Fetch pid from thread. - (mips_linux_prepare_to_resume): Fetch ptid from thread. - (mips_insert_point): Fetch lwpid from current_inferior. - Pass &all_threads to find_inferior, not &all_lwps. - (mips_remove_point): Pass &all_threads to find_inferior, not &all_lwps. - (mips_stopped_by_watchpoint): Fetch lwpid from current_inferior - directly. - (mips_stopped_data_address): Ditto. - * linux-s390-low.c (s390_arch_setup): Fetch pid from current_inferior - directly. - * linux-tile-low.c (tile_arch_setup): Ditto. - * linux-x86-low.c (x86_get_thread_area): Fetch lwpid from thread. - (update_debug_registers_callback): Update, "entry" parameter is a - struct thread_info * now. Fetch pid from thread. - (i386_dr_low_set_addr): Fetch pid from current_inferior directly. - Pass &all_threads to find_inferior, not &all_lwps. - (i386_dr_low_get_addr): Fetch ptid from current_inferior directly. - (i386_dr_low_set_control): Fetch pid from current_inferior directly. - Pass &all_threads to find_inferior, not &all_lwps. - (i386_dr_low_get_control): Fetch ptid from current_inferior directly. - (i386_dr_low_get_status): Ditto. - (x86_linux_prepare_to_resume): Fetch ptid from thread. - (x86_siginfo_fixup): Fetch lwpid from current_inferior directly. - (x86_linux_read_description): Ditto. - * proc-service.c (ps_getpid): Fetch pid from current_inferior directly. - -2014-02-20 Doug Evans - - * inferiors.c (get_first_inferior): Fix buglet. - -2014-02-19 Doug Evans - - * gdbthread.h (add_thread): Change result type to struct thread_info *. - * inferiors.c (add_thread): Change result type to struct thread_info *. - All callers updated. - (add_lwp): Call add_thread here instead of in callers. - All callers updated. - * linux-low.h (get_lwp_thread): Rewrite. - (struct lwp_info): New member "thread". - -2014-02-19 Doug Evans - - * linux-low.c (add_lwp): Change result to struct lwp_info *. - All callers updated. - -2014-02-19 Doug Evans - - * inferiors.c (add_thread): Fix whitespace. - -2014-02-19 Doug Evans - - * dll.c (clear_dlls): Replace accessing list implemention details - with API function. - * gdbthread.h (get_first_thread): Declare. - * inferiors.c (for_each_inferior_with_data): New function. - (get_first_thread): New function. - (find_thread_ptid): Simplify. - (get_first_inferior): New function. - (clear_list): Delete. - (one_inferior_p): New function. - (clear_inferior_list): New function. - (clear_inferiors): Update. - * inferiors.h (for_each_inferior_with_data): Declare. - (clear_inferior_list): Declare. - (one_inferior_p): Declare. - (get_first_inferior): Declare. - * linux-low.c (linux_wait_for_event): Replace accessing list - implemention details with API function. - * server.c (target_running): Ditto. - (accumulate_file_name_length): New function. - (emit_dll_description): New function. - (handle_qxfer_libraries): Replace accessing list implemention - details with API function. - (handle_qxfer_threads_worker): New function. - (handle_qxfer_threads_proper): Replace accessing list implemention - details with API function. - (handle_query): Ditto. - (visit_actioned_threads_callback_ftype): New typedef. - (visit_actioned_threads_data): New struct. - (visit_actioned_threads): Rewrite to be find_inferior callback. - (resume): Call find_inferior. - (handle_status): Replace accessing list implemention - details with API function. - (process_serial_event): Replace accessing list implemention details - with API function. - * target.c (set_desired_inferior): Replace accessing list implemention - details with API function. - * tracepoint.c (same_process_p): New function. - (gdb_agent_about_to_close): Replace accessing list implemention - details with API function. - * win32-low.c (child_delete_thread): Replace accessing list - implemention details with API function. - (match_dll_by_basename): New function. - (dll_is_loaded_by_basename): New function. - (win32_ensure_ntdll_loaded): Replace accessing list implemention - details call to dll_is_loaded_by_basename. - -2014-02-19 Doug Evans - - * dll.h (struct dll_info): Add comment. - * gdbthread.h (struct thread_info): Add comment. - (current_ptid): Simplify. - * inferiors.c (add_process): Update. - (remove_process): Update. - * inferiors.h (struct process_info): Rename member "head" to "entry". - * linux-low.c (delete_lwp): Update. - (add_lwp): Update. - (last_thread_of_process_p): Update. - (kill_one_lwp_callback, linux_kill): Update. - (status_pending_p_callback): Update. - (wait_for_sigstop): Update. Simplify read of ptid. - (start_step_over): Update. - * linux-low.h (ptid_of, pid_of, lwpid_of): Update. - (get_lwp_thread): Update. - (struct lwp_info): Rename member "head" to "entry". - * regcache.h (inferior_list_entry): Delete. - * server.c (kill_inferior_callback): Update. - (detach_or_kill_inferior_callback): Update. - (print_started_pid): Update. - (print_attached_pid): Update. - (process_serial_event): Simplify read of ptid. - * thread-db.c (thread_db_create_event): Update. - (thread_db_get_tls_address): Update. - * win32-low.c (current_inferior_ptid): Simplify. - -2014-02-19 Tom Tromey - - * target.h (struct target_ops) : Add target_ops - argument. - (target_supports_btrace): Update. - -2014-02-14 Yao Qi - - * Makefile.in (IPA_OBJS): Append rsp-low-ipa.o. - (rsp-low-ipa.o): New target. - -2014-02-12 Tom Tromey - - * ax.c (gdb_parse_agent_expr): Use hex2bin, not - convert_ascii_to_int. - * regcache.c (registers_to_string): Likewise. - * remote-utils.c (decode_M_packet): Likewise. - * server.c (process_serial_event): Likewise. - -2014-02-12 Tom Tromey - - * server.c (handle_query, handle_v_run): Use hex2bin, not - unhexify. - * tracepoint.c (cmd_qtdpsrc, cmd_qtdv, cmd_qtnotes): Likewise. - -2014-02-12 Tom Tromey - - * ax.c (gdb_unparse_agent_expr): Use bin2hex, not - convert_int_to_ascii. - * regcache.c (registers_to_string, collect_register_as_string): - Likewise. - * remote-utils.c (look_up_one_symbol, relocate_instruction): - Likewise. - * server.c (process_serial_event): Likewise. - * tracepoint.c (cmd_qtstatus, response_source, response_tsv) - (cmd_qtbuffer, cstr_to_hexstr): Likewise. - -2014-02-12 Tom Tromey - - * remote-utils.c (look_up_one_symbol, monitor_output): Use - bin2hex, not hexify. - * tracepoint.c (cmd_qtstatus): Likewise. - -2014-02-12 Tom Tromey - - * remote-utils.c (monitor_output): Pass explicit length to - hexify. - -2014-02-12 Tom Tromey - - * tracepoint.c: Include rsp-low.h. - * server.c: Include rsp-low.h. - * remote-utils.h (convert_ascii_to_int, convert_int_to_ascii) - (unhexify, hexify, remote_escape_output, unpack_varlen_hex): Don't - declare. - * remote-utils.c: Include rsp-low.h. - (fromhex, hexchars, ishex, unhexify, tohex, hexify) - (remote_escape_output, remote_unescape_input, unpack_varlen_hex) - (convert_int_to_ascii, convert_ascii_to_int): Move to - common/rsp-low.c. - * regcache.c: Include rsp-low.h. - * ax.c: Include rsp-low.h. - * Makefile.in (SFILES): Add common/rsp-low.c. - (OBS): Add rsp-low.o. - (rsp-low.o): New target. - -2014-02-12 Tom Tromey - - * utils.h (pulongest, plongest, phex_nz): Don't declare. - Include print-utils.h. - * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest) - (plongest, thirty_two, phex_nz): Remove. - * Makefile.in (SFILES): Add common/print-utils.c. - (OBS): Add print-utils.o. - (print-utils-ipa.o): New target. - (print-utils.o): New target. - (IPA_OBJS): Add print-utils-ipa.o. - -2014-02-06 Tom Tromey - - * Makefile.in (SFILES): Fix indentation. - -2014-02-05 Doug Evans - - * linux-low.c (linux_wait_for_event): Improve comment. - (linux_wait_1): Keep current_inferior in sync with event_child. - -2014-01-22 Doug Evans - - * gdbthread.h (gdb_id_to_thread): Delete, unused. - -2014-01-22 Doug Evans - - * configure.ac (AC_CHECK_FUNCS): Add test for gettimeofday. - * configure: Regenerate. - * config.in: Regenerate. - * Makefile.in (SFILES): Add debug.c. - (OBS): Add debug.o. - * debug.c: New file. - * debug.h: New file. - * linux-aarch64-low.c (*): Update all debugging printfs to use - debug_printf instead of fprintf. - * linux-arm-low.c (*): Ditto. - * linux-cris-low.c (*): Ditto. - * linux-crisv32-low.c (*): Ditto. - * linux-m32r-low.c (*): Ditto. - * linux-sparc-low.c (*): Ditto. - * linux-x86.c (*): Ditto. - * linux-low.c (*): Ditto. - (linux_wait_1): Add calls to debug_enter, debug_exit. - (linux_wait): Remove redundant debugging printf. - (stop_all_lwps): Add calls to debug_enter, debug_exit. - (linux_resume, unstop_all_lwps): Ditto. - * mem-break.c (*): Update all debugging printfs to use - debug_printf instead of fprintf. - * remote-utils.c (*): Ditto. - * thread-db.c (*): Ditto. - * server.c #include , "gdb_vecs.h". - (debug_threads): Moved to debug.c. - (*): Update all debugging printfs to use debug_printf instead of - fprintf. - (start_inferior): Replace call to fflush with call to debug_flush. - (monitor_show_help): Mention set debug-format. - (parse_debug_format_options): New function. - (handle_monitor_command): Handle "monitor set debug-format". - (gdbserver_usage): Mention --debug-format. - (main): Parse --debug-format. - * server.h (debug_threads): Declaration moved to debug.h. - #include "debug.h". - * tracepoint.c (trace_debug_1) [!IN_PROCESS_AGENT]: Add version of - trace_debug_1 that uses debug_printf. - (tracepoint_look_up_symbols): Update all debugging printfs to use - debug_printf instead of fprintf. - -2014-01-20 Baruch Siach - - * linux-xtensa-low.c: Include asm/ptrace.h instead of - sys/ptrace.h. - -2014-01-17 Pedro Alves - - PR build/16445 - * linux-x86-low.c: Don't include elf/common.h if ELFMAG0 is - defined after including gdb_proc_service.h. - -2014-01-16 Doug Evans - - * dll.c (UNSPECIFIED_CORE_ADDR): New macro. - (match_dll): Use it. - -2014-01-16 Markus Metzger - - * target.h (target_ops) : Change parameters and - return type to allow error reporting. - * server.c (handle_qxfer_btrace): Support delta reads. Pass - trace reading errors on. - * linux-low.c (linux_low_read_btrace): Pass trace reading - errors on. - (linux_low_disable_btrace): New. - -2014-01-15 Doug Evans - - * inferiors.c (thread_id_to_gdb_id): Delete. - * inferiors.h (thread_id_to_gdb_id): Delete. - -2014-01-13 Eli Zaretskii - - * Makefile.in (INCLUDE_CFLAGS): Remove trailing slash from - "-I$(srcdir)/../". Fixes MinGW compilation errors with old GCC - versions. - -2014-01-08 Pedro Alves - - * server.c (handle_status): Don't discard previous queued stop - replies or thread's pending status here. - (main) : Do it here instead. - -2014-01-08 Pedro Alves - - * gdbthread.h (struct thread_info) : New field. - * server.c (visit_actioned_threads, handle_pending_status): New - function. - (handle_v_cont): Factor out parts to ... - (resume): ... this new function. If in all-stop, and a thread - being resumed has a pending status, report it without actually - resuming. - (myresume): Adjust to use the new 'resume' function. - (clear_pending_status_callback, set_pending_status_callback) - (find_status_pending_thread_callback): New functions. - (handle_status): Handle the case of multiple threads having - interesting statuses to report. Report threads' real last signal - instead of always reporting GDB_SIGNAL_TRAP. Look for a thread - with an interesting thread to report the status for, instead of - always reporting the status of the first thread. - -2014-01-01 Joel Brobecker - - * gdbserver.c (gdbserver_version): Set copyright year to 2014. - * gdbreplay.c (gdbreplay_version): Likewise. - -2013-12-18 Yufeng Zhang - - * linux-aarch64-low.c (aarch64_linux_set_debug_regs): Set - iov.iov_len with the real length in use. - -2013-12-13 Joel Brobecker - - * Makefile.in (safe-ctype.o, lbasename.o): New rules. - * configure.srv: Add safe-ctype.o and lbasename.o to srv_tgtobj - for all targets that use win32-low.c. - * win32-low.c (win32_ensure_ntdll_loaded): New function. - (do_initial_child_stuff): Add call to win32_ensure_ntdll_loaded. - -2013-12-13 Pedro Alves - - * target.c (mywait): Set OURSTATUS->KIND to TARGET_WAITKIND_STOPPED - if equal to TARGET_WAITKIND_LOADED. - * win32-low.c (cached_status): New static global. - (win32_wait): Add declaration. - (do_initial_child_stuff): Flush all initial pending debug events - up to the initial breakpoint. - (win32_wait): If CACHED_STATUS was set, return that instead - of doing a real wait. Remove the code resuming the execution - of the inferior after receiving a TARGET_WAITKIND_LOADED event - during the initial phase. Also remove the code changing - OURSTATUS->KIND from TARGET_WAITKIND_LOADED to - TARGET_WAITKIND_STOPPED. - -2013-12-11 Yao Qi - - * notif.c (handle_notif_ack): Return 0 if no notification - matches. - -2013-11-20 Doug Evans - - * linux-low.c (linux_set_resume_request): Fix comment. - -2013-11-20 Doug Evans - - * linux-low.c (resume_status_pending_p): Tweak comment. - -2013-11-20 Walfred Tedeschi - - * Makefile.in: Add i386-mpx.c, i386-mpx-linux.c, amd64-mpx.c, - amd64-mpx-linux.c, x32-mpx.c and x32-mpx-linux.c generation. - * configure.srv (srv_i386_regobj): Add i386-mpx.o. - (srv_i386_linux_regobj): Add i386-mpx-linux.o. - (srv_amd64_regobj): Add amd64-mpx.o. - (srv_amd64_linux_regobj): Add amd64-mpx-linux.o. - (srv_i386_32bit_xmlfiles): Add i386/32bit-mpx.xml. - (srv_i386_64bit_xmlfiles): Add i386/64bit-mpx.xml. - * i387-fp.c (num_pl_bnd_register) Added constant. - (num_pl_bnd_cfg_registers) Added constant. - (struct i387_xsave) Added reserved area and MPX fields. - (i387_cache_to_xsave, i387_xsave_to_cache) Add MPX. - * linux-x86-low.c (init_registers_i386_mpx_linux): Declare new - function. - (tdesc_i386_mpx_linux): Add MPX amd64 target. - (init_registers_amd64_mpx_linux): Declare new function. - (tdesc_amd64_mpx_linux): Add MPX amd64 target. - (x86_64_regmap): Add MPX registers. - (x86_linux_read_description): Add MPX case. - (initialize_low_arch): Initialize MPX targets. - -2013-11-18 Tom Tromey - - * configure: Rebuild. - * configure.ac: Don't check for stdlib.h. - * gdbreplay.c: Unconditionally include stdlib.h. - -2013-11-18 Tom Tromey - - * config.in: Rebuild. - * configure: Rebuild. - * configure.ac: Don't use AC_HEADER_DIRENT. - -2013-11-18 Tom Tromey - - * server.h: Don't check HAVE_STRING_H. - * gdbreplay.c: Don't check HAVE_STRING_H. - * configure: Rebuild. - -2013-11-18 Tom Tromey - - * Makefile.in (gdbreplay$(EXEEXT)): Depend on and link against - LIBGNU. - -2013-11-08 Tom Tromey - - * configure, config.in: Rebuild. - * configure.ac: Remove unused configury. - -2013-11-08 Tom Tromey - - * acinclude.m4: Include common.m4, codeset.m4. - * configure, config.in: Rebuild. - * configure.ac: Use GDB_AC_COMMON. - -2013-11-06 Andreas Arnez - - * linux-s390-low.c (HWCAP_S390_TE): New define. - (s390_arch_setup): Consider the TE field in the HWCAP for - determining 'have_regset_tdb'. - -2013-10-16 Sergio Durigan Junior - - PR gdb/16014 - * tracepoint.c (download_tracepoint_1): Remove unnecessary double - call to sizeof. - -2013-10-02 Pedro Alves - - * server.c (process_serial_event): Don't output "GDBserver - exiting" if GDB is connected through stdio. - * target.c (mywait): Likewise, be silent if GDB is connected - through stdio. - -2013-10-01 Joel Brobecker - - * lynx-low.c (lynx_add_threads_after_attach): New function. - (lynx_attach): Remove call to add_thread. Add call to - lynx_add_threads_after_attach instead. - -2013-09-28 Mike Frysinger - - * configure.ac (AC_CHECK_HEADERS): Add sys/syscall.h - * config.in, configure: Regenerated. - -2013-09-18 Yao Qi - - PR server/15959 - * server.c (start_inferior): Clear 'resume_info'. - -2013-09-16 Jiong Wang - - * linux-tile-low.c (tile_regsets): Modify the size field to 64-bit - for each register. - -2013-09-16 Jiong Wang - - * configure.srv : Remove linux-osdata.o from and add - linux-tile-low.o to srv_tgtobj. - -2013-09-16 Will Newton - - * linux-aarch64-low.c (aarch64_linux_set_debug_regs): Zero - out regs. - -2013-09-06 Pedro Alves - - * Makefile.in (gdb_proc_service_h, regdef_h, regcache_h) - (signals_def, signals_h, ptid_h, ax_h, agent_h, linux_btrace_h) - (linux_osdata_h, vec_h, gdb_vecs_h, host_defs_h, libiberty_h) - (server_h, gdbthread_h, linux_low_h, linux_ptrace_h) - (gdb_thread_db_h, linux_procfs_h, lynx_low_h, nto_low_h) - (mips_linux_watch_h, i386_low_h, win32_low_h): Delete. - -2013-09-06 Pedro Alves - - * Makefile.in (linux-btrace.o, mips-linux-watch.o): Remove - explicit header dependencies and use $COMPILE/$POSTCOMPILE. - -2013-09-06 Pedro Alves - - * linux-amd64-ipa.c: Include tracepoint.h. - * linux-i386-ipa.c: Include tracepoint.h. - -2013-09-06 Ricard Wanderlof - - * linux-crisv32-low.c (PTRACE_GET_THREAD_AREA): New macro. - (ps_get_thread_area): New function. - -2013-09-06 Ricard Wanderlof - - * linux-crisv32-low.c (elf_gregset_t): Delete typedef. - (initialize_low_arch): Call init_registers_crisv32 rather than - init_register_crisv32. - -2013-09-05 Pedro Alves - - * server.h (handle_vFile, hostio_last_error_from_errno): Move - to ... - * hostio.h: ... this new file. - * hostio.c, server.c, linux-low.c, nto-low.c, spu-low, - win32-low.c: Include hostio.h. - -2013-09-05 Pedro Alves - - * server.h (gdb_client_data, handler_func, callback_handler_func) - (delete_file_handler, add_file_handler, append_callback_event) - (delete_callback_event, start_event_loop, initialize_event_loop): - Move to event-loop.h and include it. - * event-loop.h: New file. - -2013-09-05 Pedro Alves - - * dll.c, inferiors.c, remote-utils.c, server.c: Include "dll.h". - * server.h (struct dll_info, all_dlls, dlls_changed, clear_dlls) - (loaded_dll, unloaded_dll): Move to ... - * dll.h: ... this new file. - * inferiors.c, remote-utils.c, win32-low.c: Include "dll.h". - -2013-09-05 Pedro Alves - - * server.h (current_process, get_thread_process, all_processes) - (add_inferior_to_list, for_each_inferior, current_inferior) - (remove_inferior, add_process, remove_process, find_process_pid) - (have_started_inferiors_p, have_attached_inferiors_p) - (thread_id_to_gdb_id, thread_to_gdb_id, gdb_id_to_thread_id) - (clear_inferiors, find_inferior, find_inferior_id) - (inferior_target_data, set_inferior_target_data) - (inferior_regcache_data, set_inferior_regcache_data): Move to - inferiors.h, and include it. - * inferiors.h: New file. - -2013-09-05 Pedro Alves - - * server.h (struct emit_ops, current_insn_ptr, emit_error): - Move ... - * ax.h: ... here. - -2013-09-05 Pedro Alves - - * ax.c, linux-low.c, linux-x86-low.c, server.c: Include - tracepoint.h. - * server.h (IPA_BUFSIZ, initialize_tracepoint, tracing) - (disconnected_tracing, tracepoint_look_up_symbols, stop_tracing - (handle_tracepoint_general_set, handle_tracepoint_query) - (tracepoint_finished_step, tracepoint_was_hit) - (release_while_stepping_state_list, current_traceframe) - (in_readonly_region, traceframe_read_mem) - (fetch_traceframe_registers, traceframe_read_sdata) - (traceframe_read_info, struct fast_tpoint_collect_status) - (fast_tracepoint_collecting, force_unlock_trace_buffer) - (handle_tracepoit_bkpts, initialize_low_tracepoint) - (supply_fast_tracepoint_registers) - (supply_static_tracepoint_registers, set_trampoline_buffer_space) - (ipa_tdesc, claim_trampoline_space) - (have_fast_tracepoint_trampoline_buffer, gdb_agent_about_to_close) - (agent_mem_read, agent_get_trace_state_variable_value) - (agent_set_trace_state_variable_value, agent_tsv_read) - (agent_mem_read_string, get_raw_reg_func_addr) - (get_get_tsv_func_addr, get_set_tsv_func_addr): Move to ... - * tracepoint.h: ... this new file. - -2013-09-05 Pedro Alves - - * server.h (perror_with_name, error, fatal, warning, paddress) - (pulongest, plongest, phex_nz, pfildes): Move to utils.h, and - include it. - * utils.h: New file. - -2013-09-05 Pedro Alves - - * server.h (remote_debug, noack_mode, transport_is_reliable) - (gdb_connected, STDIO_CONNECTION_NAME, remote_connection_is_stdio) - (read_ptid, write_ptid, putpkt, putpkt_binary, putpkt_notif) - (getpkt, remote_prepare, remote_open, remote_close, write_ok) - (write_enn, initialize_async_io, enable_async_io) - (disable_async_io, check_remote_input_interrupt_request) - (convert_ascii_to_int, convert_int_to_ascii, new_thread_notify) - (dead_thread_notify, prepare_resume_reply) - (decode_address_to_semicolon, decode_address, decode_m_packet) - (decode_M_packet, decode_X_packet, decode_xfer_write) - (decode_search_memory_packet, unhexify, hexify) - (remote_escape_output, unpack_varlen_hex, clear_symbol_cache) - (look_up_one_symbol, relocate_instruction) - (monitor_output): Move to remote-utils.h, and include it. - * remote-utils.h: New file. - -2013-09-05 Pedro Alves - - * server.h (_): Delete. - -2013-09-02 Pedro Alves - - * tracepoint.c (TRACEFRAME_EOB_MARKER_SIZE): New macro. - (init_trace_buffer): Ensure at least TRACEFRAME_EOB_MARKER_SIZE is - allocated. - (trace_buffer_alloc): Use TRACEFRAME_EOB_MARKER_SIZE. - -2013-09-02 Pierre Muller - - * win32-low.c (child_xfer_memory): Check if ReadProcessMemory - or WriteProcessMemory complete successfully and handle - ERROR_PARTIAL_COPY error. - -2013-09-02 Pedro Alves - - * server.c (gdb_read_memory): Return -1 on traceframe memory read - error instead of EIO. - -2013-08-28 Jan Kratochvil - - PR server/15604 - * linux-low.c: Include filestuff.h. - (linux_create_inferior) : Call close_most_fds. - * lynx-low.c: Include filestuff.h. - (lynx_create_inferior) : Call close_most_fds. - * server.c: Include filestuff.h. - (main): Call notice_open_fds. - * spu-low.c: Include filestuff.h. - (spu_create_inferior) : Call close_most_fds. - -2013-08-22 Luis Machado - - * Makefile.in: Explain why ../target and ../nat are not - listed as include file search paths. - (linux-waitpid.o): New object file rule. - * configure.srv (srv_native_linux_obj): New variable. - Replace all occurrences of linux native object files with - $srv_native_linux_obj. - * linux-low.c: Include nat/linux-nat.h and nat/linux-waitpid.h. - (HAS_NOMMU): Move defining logic to common/linux-ptrace.c. - (linux_enable_event_reporting): Remove declaration. - (my_waitpid): Moved to common/linux-waitpid.c. - (linux_wait_for_event): Pass ptid when calling - linux_enable_event_reporting. - (linux_supports_tracefork_flag): Remove. - (linux_enable_event_reporting): Likewise. - (linux_tracefork_grandchild): Remove. - (STACK_SIZE): Moved to common/linux-ptrace.c. - (linux_tracefork_child): Remove. - (linux_test_for_tracefork): Remove. - (linux_look_up_symbols): Call linux_supports_traceclone. - (initialize_low): Remove call to linux_test_for_tracefork. - * linux-low.h (PTRACE_TYPE_ARG3): Move to - common/linux-ptrace.h. - (PTRACE_TYPE_ARG4): Likewise. - Include linux-ptrace.h. - -2013-08-21 Pedro Alves - - * config.in: Renegerate. - -2013-08-19 Luis Machado - - * Makefile.in (INCLUDE_CFLAGS): Include -I$(srcdir)/../. - (SFILES): Remove $(srcdir)/common/target-common.c and - add $(srcdir)/target/waitstatus.c. - (OBS): Remove target-common.o and add waitstatus.o. - (server_h): Remove $(srcdir)/../common/target-common.h and - add $(srcdir)/../target/resume.h, $(srcdir)/../target/wait.h - and $(srcdir)/../target/waitstatus.h. - (target-common.o): Remove. - (waitstatus.o): New target object file. - * target.h: Do not include target-common.h and - include target/resume.h, target/wait.h and - target/waitstatus.h. - -2013-08-13 Luis Machado - - * linux-arm-low.c: Rename all occurrences of PTRACE_ARG3_TYPE - to PTRACE_TYPE_ARG3. - * linux-low.c: Rename all occurrences of PTRACE_ARG3_TYPE - to PTRACE_TYPE_ARG3 and PTRACE_ARG4_TYPE to - PTRACE_TYPE_ARG4. - * linux-low.h (PTRACE_ARG3_TYPE): Rename to PTRACE_TYPE_ARG3. - (PTRACE_ARG4_TYPE): Rename to PTRACE_TYPE_ARG4. - -2013-07-27 Jie Zhang - Daniel Jacobowitz - Yao Qi - - * Makefile.in (SFILES): Add common/mips-linux-watch.c. - (mips-linux-watch.o): New rule. - (mips_linux_watch_h): New variable. - * configure.srv : Add mips-linux-watch.o to - srv_tgtobj. - * linux-mips-low.c: Include mips-linux-watch.h. - (struct arch_process_info, struct arch_lwp_info): New. - (update_watch_registers_callback): New function. - (mips_linux_new_process, mips_linux_new_thread) New functions. - (mips_linux_prepare_to_resume, mips_insert_point): New - functions. - (mips_remove_point, mips_stopped_by_watchpoint): New - functions. - (rsp_bp_type_to_target_hw_bp_type): New function. - (mips_stopped_data_address): New function. - (the_low_target): Add watchpoint support functions. - -2013-07-27 Yao Qi - - * i386-low.c: Include break-common.h. - (enum target_hw_bp_type): Remove. - -2013-07-24 Luis Machado - - * Makefile.in (SFILES): /common/target-common.c. - (OBS): Add target-common.o. - (server_h): Add $(srcdir)/../common/target-common.h. - (target-common.o): New target. - * server.c (queue_stop_reply_callback): Free - status string after use. - * target.c (target_waitstatus_to_string): Remove. - * target.h: Include target-common.h. - (resume_kind): Likewise. - (target_waitkind): Likewise. - (target_waitstatus): Likewise. - (TARGET_WNOHANG): Likewise. - -2013-07-04 Yao Qi - - * Makefile.in (host_alias): Use @host_noncanonical@. - (target_alias): Use @target_noncanonical@. - * configure.ac: Use ACX_NONCANONICAL_TARGET and - ACX_NONCANONICAL_HOST. - * configure: Regenerated. - - Revert: - 2013-06-28 Mircea Gherzan - - * configure.ac (version_host, version_target): Set and AC_SUBST them. - * configure: Rebuild. - * Makefile.in (version_host, version_target): Get from configure. - (version.c): Use $(version_host) and $(version_target). - -2013-07-03 Pedro Alves - - * Makefile.in (config.status): Depend on development.sh. - * acinclude.m4: Include libmcheck.m4. - * configure: Regenerate. - -2013-07-02 Mircea Gherzan - - * win32-low.c (winapi_DebugActiveProcessStop): Move the WINAPI - attribute inside the parentheses. - (winapi_DebugSetProcessKillOnExit): Ditto. - (winapi_DebugBreakProcess): Ditto. - (winapi_GenerateConsoleCtrlEvent): Ditto. - -2013-07-02 Mircea Gherzan - - * notif.h (notif_event): Add a dummy member to avoid compiler - errors. - -2013-07-01 Pedro Alves - - * hostio.c (HOSTIO_PATH_MAX): Define. - (require_filename, handle_open, handle_unlink, handle_readlink): - Use it. - -2013-07-01 Pedro Alves - - * server.h: Include "pathmax.h". - * linux-low.c: Don't include sys/param.h. - (linux_pid_exe_is_elf_64_file): Use PATH_MAX instead of - MAXPATHLEN. - * win32-low.c: Don't include sys/param.h. - (win32_create_inferior): Use PATH_MAX instead of MAXPATHLEN. - -2013-07-01 Pedro Alves - - * event-loop.c: Don't check HAVE_UNISTD_H before including - . - * gdbreplay.c: Likewise. - * remote-utils.c: Likewise. - * server.c: Likewise. - * configure.ac: Don't check for unistd.h. - * configure: Regenerate. - -2013-06-28 Tom Tromey - - * Makefile.in (version.c): Use version.in, not - common/version.in. - -2013-06-28 Mircea Gherzan - - * configure.ac (version_host, version_target): Set and AC_SUBST them. - * configure: Rebuild. - * Makefile.in (version_host, version_target): Get from configure. - (version.c): Use $(version_host) and $(version_target). - -2013-06-10 Dmitry Kozlov - - Fix trace-status to output user name without trailing colon. - * tracepoint.c (cmd_qtstatus): Remove unnecessary colon from user name. - -2013-06-10 Dmitry Kozlov - - Fix trace-status to output proper start-time and stop-time. - * tracepoint.c (cmd_qtstatus): Modify trace-status output to - output start time and stop time in hex as gdb expects. - -2013-06-26 Pedro Alves - - * tracepoint.c (build_traceframe_info_xml): Output trace state - variables present in the trace buffer. - -2013-06-24 Tom Tromey - - * Makefile.in (version.c): Use bfd/version.h, common/version.in, - create-version.sh. - (version.o): Remove. - * gdbreplay.c: Include version.h. - (version, host_name): Don't declare. - * server.h: Include version.h. - (version, host_name): Don't declare. - -2013-06-12 Pedro Alves - - * linux-x86-low.c (linux_is_elf64): Delete global. - (x86_siginfo_fixup): Replace reference to `linux_is_elf64' global - with local linux_pid_exe_is_elf_64_file use. - -2013-06-11 Pedro Alves - - * linux-low.c (regset_disabled, disable_regset): New functions. - (regsets_fetch_inferior_registers) - (regsets_store_inferior_registers): Use them. - (initialize_regsets_info); Don't allocate the disabled_regsets - array here. - * linux-low.h (struct regsets_info) : Extend - comment. - -2013-06-11 Pedro Alves - - * linux-low.c (initialize_regsets_info): Use xcalloc instead of - xmalloc. - -2013-06-11 Pedro Alves - - * linux-x86-low.c (initialize_low_arch): Call - init_registers_x32_avx_linux. - -2013-06-09 Jan Kratochvil - - Fix compatibility with Android Bionic. - * linux-low.c (linux_qxfer_libraries_svr4): Ignore first entry even if - it is not empty. - -2013-06-07 Pedro Alves - - PR server/14823 - * Makefile.in (OBS): Add tdesc.o. - (IPA_OBJS): Add tdesc-ipa.o. - (tdesc-ipa.o): New rule. - * ax.c (gdb_eval_agent_expr): Adjust register_size call to new - interface. - * linux-low.c (new_inferior): Delete. - (disabled_regsets, num_regsets): Delete. - (linux_add_process): Adjust to set the new per-process - new_inferior flag. - (linux_detach_one_lwp): Adjust to call regcache_invalidate_thread. - (linux_wait_for_lwp): Adjust. Only call arch_setup if the event - was a stop. When calling arch_setup, switch the current inferior - to the thread that got an event. - (linux_resume_one_lwp): Adjust to call regcache_invalidate_thread. - (regsets_fetch_inferior_registers) - (regsets_store_inferior_registers): New regsets_info parameter. - Adjust to use it. - (linux_register_in_regsets): New regs_info parameter. Adjust to - use it. - (register_addr, fetch_register, store_register): New usrregs_info - parameter. Adjust to use it. - (usr_fetch_inferior_registers, usr_store_inferior_registers): New - parameter regs_info. Adjust to use it. - (linux_fetch_registers): Get the current inferior's regs_info, and - adjust to use it. - (linux_store_registers): Ditto. - [HAVE_LINUX_REGSETS] (initialize_regsets_info): New. - (initialize_low): Don't initialize the target_regsets here. Call - initialize_low_arch. - * linux-low.h (target_regsets): Delete declaration. - (struct regsets_info): New. - (struct usrregs_info): New. - (struct regs_info): New. - (struct process_info_private) : New field. - (struct linux_target_ops): Delete the num_regs, regmap, and - regset_bitmap fields. New field regs_info. - [HAVE_LINUX_REGSETS] (initialize_regsets_info): Declare. - * i387-fp.c (num_xmm_registers): Delete. - (i387_cache_to_fsave, i387_fsave_to_cache): Adjust find_regno - calls to new interface. - (i387_cache_to_fxsave, i387_cache_to_xsave, i387_fxsave_to_cache) - (i387_xsave_to_cache): Adjust find_regno calls to new interface. - Infer the number of xmm registers from the regcache's target - description. - * i387-fp.h (num_xmm_registers): Delete. - * inferiors.c (add_thread): Don't install the thread's regcache - here. - * proc-service.c (gregset_info): Fetch the current inferior's - regs_info. Adjust to use it. - * regcache.c: Include tdesc.h. - (register_bytes, reg_defs, num_registers) - (gdbserver_expedite_regs): Delete. - (get_thread_regcache): If the thread doesn't have a regcache yet, - create one, instead of aborting gdbserver. - (regcache_invalidate_one): Rename to ... - (regcache_invalidate_thread): ... this. - (regcache_invalidate_one): New. - (regcache_invalidate): Only invalidate registers of the current - process. - (init_register_cache): Add target_desc parameter, and use it. - (new_register_cache): Ditto. Assert the target description has a - non zero registers_size. - (regcache_cpy): Add assertions. Adjust. - (realloc_register_cache, set_register_cache): Delete. - (registers_to_string, registers_from_string): Adjust. - (find_register_by_name, find_regno, find_register_by_number) - (register_cache_size): Add target_desc parameter, and use it. - (free_register_cache_thread, free_register_cache_thread_one) - (regcache_release, register_cache_size): New. - (register_size): Add target_desc parameter, and use it. - (register_data, supply_register, supply_register_zeroed) - (supply_regblock, supply_register_by_name, collect_register) - (collect_register_as_string, collect_register_by_name): Adjust. - * regcache.h (struct target_desc): Forward declare. - (struct regcache) : New field. - (init_register_cache, new_register_cache): Add target_desc - parameter. - (regcache_invalidate_thread): Declare. - (regcache_invalidate_one): Delete declaration. - (regcache_release): Declare. - (find_register_by_number, register_cache_size, register_size) - (find_regno): Add target_desc parameter. - (gdbserver_expedite_regs, gdbserver_xmltarget): Delete - declarations. - * remote-utils.c: Include tdesc.h. - (outreg, prepare_resume_reply): Adjust. - * server.c: Include tdesc.h. - (gdbserver_xmltarget): Delete declaration. - (get_features_xml, process_serial_event): Adjust. - * server.h [IN_PROCESS_AGENT] (struct target_desc): Forward - declare. - (struct process_info) : New field. - (ipa_tdesc): Declare. - * tdesc.c: New file. - * tdesc.h: New file. - * tracepoint.c: Include tdesc.h. - [IN_PROCESS_AGENT] (ipa_tdesc): Define. - (get_context_regcache): Adjust to pass ipa_tdesc down. - (do_action_at_tracepoint): Adjust to get the register cache size - from the context regcache's description. - (traceframe_walk_blocks): Adjust to get the register cache size - from the current trace frame's description. - (traceframe_get_pc): Adjust to get current trace frame's - description and pass it down. - (gdb_collect): Adjust to get the register cache size from the - IPA's description. - * linux-amd64-ipa.c (tdesc_amd64_linux): Declare. - (gdbserver_xmltarget): Delete. - (initialize_low_tracepoint): Set the ipa's target description. - * linux-i386-ipa.c (tdesc_i386_linux): Declare. - (initialize_low_tracepoint): Set the ipa's target description. - * linux-x86-low.c: Include tdesc.h. - [__x86_64__] (is_64bit_tdesc): New. - (ps_get_thread_area, x86_get_thread_area): Use it. - (i386_cannot_store_register): Rename to ... - (x86_cannot_store_register): ... this. Use is_64bit_tdesc. - (i386_cannot_fetch_register): Rename to ... - (x86_cannot_fetch_register): ... this. Use is_64bit_tdesc. - (x86_fill_gregset, x86_store_gregset): Adjust register_size calls - to new interface. - (target_regsets): Rename to ... - (x86_regsets): ... this. - (x86_get_pc, x86_set_pc): Adjust register_size calls to new - interface. - (x86_siginfo_fixup): Use is_64bit_tdesc. - [__x86_64__] (tdesc_amd64_linux, tdesc_amd64_avx_linux) - (tdesc_x32_avx_linux, tdesc_x32_linux) - (tdesc_i386_linux, tdesc_i386_mmx_linux, tdesc_i386_avx_linux): - Declare. - (x86_linux_update_xmltarget): Delete. - (I386_LINUX_XSAVE_XCR0_OFFSET): Define. - (have_ptrace_getfpxregs, have_ptrace_getregset): New. - (AMD64_LINUX_USER64_CS): New. - (x86_linux_read_description): New, based on - x86_linux_update_xmltarget. - (same_process_callback): New. - (x86_arch_setup_process_callback): New. - (x86_linux_update_xmltarget): New. - (x86_regsets_info): New. - (amd64_linux_regs_info): New. - (i386_linux_usrregs_info): New. - (i386_linux_regs_info): New. - (x86_linux_regs_info): New. - (x86_arch_setup): Reimplement. - (x86_install_fast_tracepoint_jump_pad): Use is_64bit_tdesc. - (x86_emit_ops): Ditto. - (the_low_target): Adjust. Install x86_linux_regs_info, - x86_cannot_fetch_register, and x86_cannot_store_register. - (initialize_low_arch): New. - * linux-ia64-low.c (tdesc_ia64): Declare. - (ia64_fetch_register): Adjust. - (ia64_usrregs_info, regs_info): New globals. - (ia64_regs_info): New function. - (the_low_target): Adjust. - (initialize_low_arch): New function. - * linux-sparc-low.c (tdesc_sparc64): Declare. - (sparc_fill_gregset_to_stack, sparc_store_gregset_from_stack): - Adjust. - (sparc_arch_setup): New function. - (sparc_regsets_info, sparc_usrregs_info, regs_info): New globals. - (the_low_target): Adjust. - (initialize_low_arch): New function. - * linux-ppc-low.c (tdesc_powerpc_32l, tdesc_powerpc_altivec32l) - (tdesc_powerpc_cell32l, tdesc_powerpc_vsx32l) - (tdesc_powerpc_isa205_32l, tdesc_powerpc_isa205_altivec32l) - (tdesc_powerpc_isa205_vsx32l, tdesc_powerpc_e500l) - (tdesc_powerpc_64l, tdesc_powerpc_altivec64l) - (tdesc_powerpc_cell64l, tdesc_powerpc_vsx64l) - (tdesc_powerpc_isa205_64l, tdesc_powerpc_isa205_altivec64l) - (tdesc_powerpc_isa205_vsx64l): Declare. - (ppc_cannot_store_register, ppc_collect_ptrace_register) - (ppc_supply_ptrace_register, parse_spufs_run, ppc_get_pc) - (ppc_set_pc, ppc_get_hwcap): Adjust. - (ppc_usrregs_info): Forward declare. - (!__powerpc64__) ppc_regmap_adjusted: New global. - (ppc_arch_setup): Adjust to the current process'es target - description. - (ppc_fill_vsxregset, ppc_store_vsxregset, ppc_fill_vrregset) - (ppc_store_vrregset, ppc_fill_evrregset, ppc_store_evrregse) - (ppc_store_evrregset): Adjust. - (target_regsets): Rename to ... - (ppc_regsets): ... this, and make static. - (ppc_usrregs_info, ppc_regsets_info, regs_info): New globals. - (ppc_regs_info): New function. - (the_low_target): Adjust. - (initialize_low_arch): New function. - * linux-s390-low.c (tdesc_s390_linux32, tdesc_s390_linux32v1) - (tdesc_s390_linux32v2, tdesc_s390_linux64, tdesc_s390_linux64v1) - (tdesc_s390_linux64v2, tdesc_s390x_linux64, tdesc_s390x_linux64v1) - (tdesc_s390x_linux64v2): Declare. - (s390_collect_ptrace_register, s390_supply_ptrace_register) - (s390_fill_gregset, s390_store_last_break): Adjust. - (target_regsets): Rename to ... - (s390_regsets): ... this, and make static. - (s390_get_pc, s390_set_pc): Adjust. - (s390_get_hwcap): New target_desc parameter, and use it. - [__s390x__] (have_hwcap_s390_high_gprs): New global. - (s390_arch_setup): Adjust to set the current process'es target - description. Don't adjust the regmap. - (s390_usrregs_info, s390_regsets_info, regs_info): New globals. - [__s390x__] (s390_usrregs_info_3264, s390_regsets_info_3264) - (regs_info_3264): New globals. - (s390_regs_info): New function. - (the_low_target): Adjust. - (initialize_low_arch): New function. - * linux-mips-low.c (tdesc_mips_linux, tdesc_mips_dsp_linux) - (tdesc_mips64_linux, tdesc_mips64_dsp_linux): Declare. - [__mips64] (init_registers_mips_linux) - (init_registers_mips_dsp_linux): Delete defines. - [__mips64] (tdesc_mips_linux, tdesc_mips_dsp_linux): New defines. - (have_dsp): New global. - (mips_read_description): New, based on mips_arch_setup. - (mips_arch_setup): Reimplement. - (get_usrregs_info): New function. - (mips_cannot_fetch_register, mips_cannot_store_register) - (mips_get_pc, mips_set_pc, mips_fill_gregset, mips_store_gregset) - (mips_fill_fpregset, mips_store_fpregset): Adjust. - (target_regsets): Rename to ... - (mips_regsets): ... this, and make static. - (mips_regsets_info, mips_dsp_usrregs_info, mips_usrregs_info) - (dsp_regs_info, regs_info): New globals. - (mips_regs_info): New function. - (the_low_target): Adjust. - (initialize_low_arch): New function. - * linux-arm-low.c (tdesc_arm, tdesc_arm_with_iwmmxt) - (tdesc_arm_with_vfpv2, tdesc_arm_with_vfpv3, tdesc_arm_with_neon): - Declare. - (arm_fill_vfpregset, arm_store_vfpregset): Adjust. - (arm_read_description): New, with bits factored from - arm_arch_setup. - (arm_arch_setup): Reimplement. - (target_regsets): Rename to ... - (arm_regsets): ... this, and make static. - (arm_regsets_info, arm_usrregs_info, regs_info): New globals. - (arm_regs_info): New function. - (the_low_target): Adjust. - (initialize_low_arch): New function. - * linux-m68k-low.c (tdesc_m68k): Declare. - (target_regsets): Rename to ... - (m68k_regsets): ... this, and make static. - (m68k_regsets_info, m68k_usrregs_info, regs_info): New globals. - (m68k_regs_info): New function. - (m68k_arch_setup): New function. - (the_low_target): Adjust. - (initialize_low_arch): New function. - * linux-sh-low.c (tdesc_sharch): Declare. - (target_regsets): Rename to ... - (sh_regsets): ... this, and make static. - (sh_regsets_info, sh_usrregs_info, regs_info): New globals. - (sh_regs_info, sh_arch_setup): New functions. - (the_low_target): Adjust. - (initialize_low_arch): New function. - * linux-bfin-low.c (tdesc_bfin): Declare. - (bfin_arch_setup): New function. - (bfin_usrregs_info, regs_info): New globals. - (bfin_regs_info): New function. - (the_low_target): Adjust. - (initialize_low_arch): New function. - * linux-cris-low.c (tdesc_cris): Declare. - (cris_arch_setup): New function. - (cris_usrregs_info, regs_info): New globals. - (cris_regs_info): New function. - (the_low_target): Adjust. - (initialize_low_arch): New function. - * linux-cris-low.c (tdesc_crisv32): Declare. - (cris_arch_setup): New function. - (cris_regsets_info, cris_usrregs_info, regs_info): New globals. - (cris_regs_info): New function. - (the_low_target): Adjust. - (initialize_low_arch): New function. - * linux-m32r-low.c (tdesc_m32r): Declare. - (m32r_arch_setup): New function. - (m32r_usrregs_info, regs_info): New globals. - (m32r_regs_info): Adjust. - (initialize_low_arch): New function. - * linux-tic6x-low.c (tdesc_tic6x_c64xp_linux) - (tdesc_tic6x_c64x_linux, tdesc_tic6x_c62x_linux): Declare. - (tic6x_usrregs_info): Forward declare. - (tic6x_read_description): New function, based on ... - (tic6x_arch_setup): ... this. Reimplement. - (target_regsets): Rename to ... - (tic6x_regsets): ... this, and make static. - (tic6x_regsets_info, tic6x_usrregs_info, regs_info): New globals. - (tic6x_regs_info): New function. - (the_low_target): Adjust. - (initialize_low_arch): New function. - * linux-xtensa-low.c (tdesc_xtensa): Declare. - (xtensa_fill_gregset, xtensa_store_gregset): Adjust. - (target_regsets): Rename to ... - (xtensa_regsets): ... this, and make static. - (xtensa_regsets_info, xtensa_usrregs_info, regs_info): New - globals. - (xtensa_arch_setup, xtensa_regs_info): New functions. - (the_low_target): Adjust. - (initialize_low_arch): New function. - * linux-nios2-low.c (tdesc_nios2_linux): Declare. - (nios2_arch_setup): Set the current process'es tdesc. - (target_regsets): Rename to ... - (nios2_regsets): ... this. - (nios2_regsets_info, nios2_usrregs_info, regs_info): New globals. - (nios2_regs_info): New function. - (the_low_target): Adjust. - (initialize_low_arch): New function. - * linux-aarch64-low.c (tdesc_aarch64): Declare. - (aarch64_arch_setup): Set the current process'es tdesc. - (target_regsets): Rename to ... - (aarch64_regsets): ... this. - (aarch64_regsets_info, aarch64_usrregs_info, regs_info): New globals. - (aarch64_regs_info): New function. - (the_low_target): Adjust. - (initialize_low_arch): New function. - * linux-tile-low.c (tdesc_tilegx, tdesc_tilegx32): Declare - globals. - (target_regsets): Rename to ... - (tile_regsets): ... this. - (tile_regsets_info, tile_usrregs_info, regs_info): New globals. - (tile_regs_info): New function. - (tile_arch_setup): Set the current process'es tdesc. - (the_low_target): Adjust. - (initialize_low_arch): New function. - * spu-low.c (tdesc_spu): Declare. - (spu_create_inferior, spu_attach): Set the new process'es tdesc. - * win32-arm-low.c (tdesc_arm): Declare. - (arm_arch_setup): New function. - (the_low_target): Install arm_arch_setup instead of - init_registers_arm. - * win32-i386-low.c (tdesc_i386, tdesc_amd64): Declare. - (init_windows_x86): Rename to ... - (i386_arch_setup): ... this. Set `win32_tdesc'. - (the_low_target): Adjust. - * win32-low.c (win32_tdesc): New global. - (child_add_thread): Don't create the thread cache here. - (do_initial_child_stuff): Set the new process'es tdesc. - * win32-low.h (struct target_desc): Forward declare. - (win32_tdesc): Declare. - * lynx-i386-low.c (tdesc_i386): Declare global. - (lynx_i386_arch_setup): Set `lynx_tdesc'. - * lynx-low.c (lynx_tdesc): New global. - (lynx_add_process): Set the new process'es tdesc. - * lynx-low.h (struct target_desc): Forward declare. - (lynx_tdesc): Declare global. - * lynx-ppc-low.c (tdesc_powerpc_32): Declare global. - (lynx_ppc_arch_setup): Set `lynx_tdesc'. - * nto-low.c (nto_tdesc): New global. - (do_attach): Set the new process'es tdesc. - * nto-low.h (struct target_desc): Forward declare. - (nto_tdesc): Declare. - * nto-x86-low.c (tdesc_i386): Declare. - (nto_x86_arch_setup): Set `nto_tdesc'. - -2013-06-04 Gary Benson - - * server.c (handle_query): Add "augmented-libraries-svr4-read+" - to qSupported response when appropriate. - (handle_qxfer_libraries_svr4): Allow qXfer:libraries-svr4:read - with nonzero-length annex. - * linux-low.c (linux_qxfer_libraries_svr4): Parse and handle - arguments supplied in annex. - -2013-05-31 Doug Evans - - PR server/15594 - * linux-x86-low.c (ps_get_thread_area): Properly extend address to - 64 bits in 64-cross-32 environment. - -2013-05-28 Pedro Alves - - * Makefile.in (clean): Remove reference to aarch64-without-fpu.c. - (aarch64-without-fpu.c): Delete rule. - * configure.srv (aarch64*-*-linux*): Remove references to - aarch64-without-fpu.o and aarch64-without-fpu.xml. - * linux-aarch64-low.c (init_registers_aarch64_without_fpu): Remove - declaration. - -2013-05-24 Pedro Alves - - * server.c (handle_v_cont) : Use unpack_varlen_hex - instead of strchr/decode_address. Error if the range isn't split - with a ','. Don't assume there's be a ':' in the action. - -2013-05-23 Yao Qi - Pedro Alves - - * linux-low.c (lwp_in_step_range): New function. - (linux_wait_1): If the thread was range stepping and stopped - outside the stepping range, report the stop to GDB. Otherwise, - continue stepping. Add range stepping debug output. - (linux_set_resume_request): Copy the step range from the resume - request to the lwp. - (linux_supports_range_stepping): New. - (linux_target_ops) : Set to - linux_supports_range_stepping. - * linux-low.h (struct linux_target_ops) - : New field. - (struct lwp_info) : New fields. - * linux-x86-low.c (x86_supports_range_stepping): New. - (the_low_target) : Set to - x86_supports_range_stepping. - * server.c (handle_v_cont): Handle 'r' action. - (handle_v_requests): Append ";r" if the target supports range - stepping. - * target.h (struct thread_resume) : New fields. - (struct target_ops) : - New field. - (target_supports_range_stepping): New macro. - -2013-05-17 Joel Brobecker - - * lynx-low.c (lynx_resume): Fix null_ptid/minus_one_ptid - confusion in comment. - -2013-05-17 Joel Brobecker - - * lynx-low.c (struct process_info_private): New type. - (lynx_add_process): New function. - (lynx_create_inferior, lynx_attach): Replace calls to - add_process by calls to lynx_add_process. - (lynx_resume): If PTID is null, then try using - current_process()->private->last_wait_event_ptid. - Add comments. - (lynx_clear_inferiors): Delete. The contents of that function - has been inlined in lynx_mourn; - (lynx_wait_1): Save the ptid in the process's private data. - (lynx_mourn): Free the process' private data. Replace call - to lynx_clear_inferiors by call to clear_inferiors. - -2013-05-17 Yao Qi - - * i386-low.c (i386_length_and_rw_bits): Move the comment to - the right place. - -2013-05-16 Luis Machado - - * linux-low.c: Move definition checks upwards for PT_TEXT_ADDR, - PT_DATA_ADDR and PT_TEXT_END_ADDR. Update comments. - (linux_read_offsets): Remove PT_TEXT_ADDR, PT_DATA_ADDR and - PT_TEXT_END_ADDR guards. Update comments. - (linux_target_op) : Conditionally define to - linux_read_offsets if the target is UCLIBC and if it defines - PT_TEXT_ADDR, PT_DATA_ADDR and PT_TEXT_END_ADDR. - -2013-05-06 Sandra Loosemore - Andrew Jenner - - * Makefile.in (SFILES): Add linux-nios2-low.c. - (clean): Add action to delete nios2-linux.c. - (nios2-linux.c): New rule. - * configure.srv: Add nios2*-*-linux*. - * linux-nios2-low.c: New. - -2013-05-03 Hafiz Abid Qadeer - - * tracepoint.c (cmd_qtinit): Call 'stop_tracing'. - -2013-04-25 Hui Zhu - - PR gdb/15186 - * ax.c (ax_printf): Add fflush. - -2013-04-22 Tom Tromey - - * Makefile.in (SFILES): Add filestuff.c. - (OBS): Add filestuff.o. - (filestuff.o): New target. - * config.in, configure: Rebuild. - * configure.ac: Check for fdwalk, pipe2. - -2013-04-17 Pedro Alves - - * configure.ac (USE_THREAD_DB): Delete variable. - (if test "$srv_linux_thread_db" = "yes"): AC_DEFINE USE_THREAD_DB. - Don't AC_SUBST USE_THREAD_DB. - * Makefile.in (INTERNAL_CFLAGS): Remove @USE_THREAD_DB@. - * config.in, configure: Regenerate. - -2013-04-16 Pedro Alves - - * linux-low.h (struct lwp_info) : Move under - the USE_THREAD_DB #ifdef. - -2013-04-16 Pedro Alves - - * Makefile.in (INTERNAL_CFLAGS): Add @USE_THREAD_DB@. - (linux-low.o): Delete rule. - * linux-low.h: Always include "gdb_thread_db.h" instead of - conditionally including thread_db.h. - (struct lwp_info) : Guard with #ifdef USE_THREAD_DB instead of - HAVE_THREAD_DB_H. - -2013-04-07 Jan Kratochvil - - * Makefile.in (install-only): Fix make install regression. - -2013-04-05 Jan Kratochvil - - Convert man pages to texinfo, new gdbinit.5 texinfo page. - * Makefile.in (install-only): Remove $(man1dir) and gdbserver.1 - installation. - * gdbserver.1: Remove. - -2013-03-22 Pedro Alves - - * linux-low.c (handle_extended_wait): Don't call - linux_enable_event_reporting. - -2013-03-15 Tony Theodore - - PR build/9098: - * Makefile.in (SHELL): Use @SHELL@. - -2013-03-14 Sergio Durigan Junior - - * tracepoint.c (cmd_qtv): Initialize `val' with zero, silencing - compiler warning. - -2013-03-13 Joel Brobecker - - * linux-low.c (linux_target_ops) [!HAVE_LINUX_BTRACE]: - Remove extraneous NULL element. - -2013-03-13 Yao Qi - - * tracepoint.c (traceframe_read_tsv): Look for the last matched - 'V' block in trace frame. - -2013-03-11 Markus Metzger - - * target.h (struct target_ops): Add btrace ops. - (target_supports_btrace): New macro. - (target_enable_btrace): New macro. - (target_disable_btrace): New macro. - (target_read_btrace): New macro. - * gdbthread.h (struct thread_info): Add btrace field. - * server.c: Include btrace-common.h. - (handle_btrace_general_set): New function. - (handle_btrace_enable): New function. - (handle_btrace_disable): New function. - (handle_general_set): Call handle_btrace_general_set. - (handle_qxfer_btrace): New function. - (struct qxfer qxfer_packets[]): Add btrace entry. - * inferiors.c (remove_thread): Disable btrace. - * linux-low: Include linux-btrace.h. - (linux_low_enable_btrace): New function. - (linux_low_read_btrace): New function. - (linux_target_ops): Add btrace ops. - * configure.srv (i[34567]86-*-linux*): Add linux-btrace.o. - Add srv_linux_btrace=yes. - (x86_64-*-linux*): Add linux-btrace.o. - Add srv_linux_btrace=yes. - * configure.ac: Define HAVE_LINUX_BTRACE. - * config.in: Regenerated. - * configure: Regenerated. - -2013-03-11 Markus Metzger - - * server.c (handle_qxfer): Preserve error message if -3 is - returned. - (qxfer): Document the -3 return value. - -2013-03-11 Markus Metzger - - * Makefile.in (SFILES): Add $(srcdir)/common/linux-btrace.c. - (linux_btrace_h): New variable. - (linux-btrace.o): New rule. - -2013-03-08 Stan Shebs - Hafiz Abid Qadeer - - * tracepoint.c (trace_buffer_size): New global. - (DEFAULT_TRACE_BUFFER_SIZE): New define. - (init_trace_buffer): Change to one-argument function. Allocate - trace buffer memory. - (handle_tracepoint_general_set): Call cmd_bigqtbuffer_size to - handle QTBuffer:size packet. - (cmd_bigqtbuffer_size): New function. - (initialize_tracepoint): Call init_trace_buffer with - DEFAULT_TRACE_BUFFER_SIZE. - * server.c (handle_query): Add QTBuffer:size in the - supported packets. - -2013-03-07 Yao Qi - - * tracepoint.c (cur_action, cur_step_action): Make them unsigned. - (cmd_qtfp): Initialize cur_action and cur_step_action 0 instead - of -1. - (cmd_qtsp): Adjust condition. Do post increment. - Set cur_action and cur_step_action back to 0. - -2013-03-07 Jeremy Bennett - - PR server/15236 - * linux-low.c (linux_write_memory): Return early success if LEN is - zero. - -2013-03-05 Corinna Vinschen - - * configure.srv: Add x86_64-*-cygwin* as target. - -2013-02-28 Tom Tromey - - * configure.ac: Invoke AC_SYS_LARGEFILE. - * configure, config.in: Rebuild. - -2013-02-28 Corinna Vinschen - - * win32-low.c: Throughout, fix format strings and casts of - printf-like functions to avoid type related warnings on all - platforms. - (get_child_debug_event): Print dwDebugEventCode as hex since - that's how it's usually documented. - -2013-02-28 Yao Qi - - * tracepoint.c (cmd_qtbuffer): Call phex_nz instead of - pulongest. - -2013-02-27 Jiong Wang - - * Makefile.in (clean): Remove reg-tilegx.c, reg-tilegx32.c. - (reg-tilegx32.c): New rule. - * configure.srv (tilegx-*-linux*): Add reg-tilegx32.o to srv_regobj. - * linux-tile-low.c (tile_arch_setup): New function. Invoke - different register info initializer according to elf class. - (init_registers_tilgx32): New function. The tilegx32 register info - initializer. - (tile_fill_gregset): Use "uint_reg_t" to represent register size. - (tile_store_gregset): Likewise. - -2013-02-27 Yao Qi - - * server.c (process_point_options): Print debug message when - debug_threads is true. - -2013-02-26 Yao Qi - - * tracepoint.c (cmd_qtbuffer): Don't set '\0' in OWN_BUF. - -2013-02-19 Pedro Alves - Kai Tietz - - PR gdb/15161 - - * server.c (handle_query) : Use unpack_varlen_hex - instead of strtoul to extract address from packet. - (process_serial_event) <'z'>: Likewise. - -2013-02-18 Yao Qi - - * linux-bfin-low.c (the_low_target): Use NULL instead of 0. - -2013-02-14 Pedro Alves - - Plug memory leak. - - * tracepoint.c (cmd_qtnotes): Free TRACING_USER_NAME, - TRACING_NOTES and TRACING_STOP_NOTE before clobbering. - -2013-02-14 Pedro Alves - - * tracepoint.c (cmd_qtdpsrc): Use savestring. - -2013-02-14 Pedro Alves - - * tracepoint.c (save_string): Delete. - (add_tracepoint_action): Use savestring instead of save_string. - -2013-02-12 Pedro Alves - - * linux-xtensa-low.c: Ditto. - * xtensa-xtregs.c: Ditto. - -2013-02-12 Sanimir Agovic - - * thread-db.c (thread_db_get_tls_address): NULL pointer check - thread_db. - -2013-02-07 Marcus Shawcroft - - * linux-aarch64-low.c (aarch64_arch_setup): Clamp - aarch64_num_wp_regs and aarch64_num_bp_regs to - AARCH64_HWP_MAX_NUM and AARCH64_HBP_MAX_NUM respectively. - -2013-02-07 Marcus Shawcroft - - * linux-aarch64-low.c (ps_get_thread_area): Replace - PTRACE_GET_THREAD_AREA with PTRACE_GETREGSET. - -2013-02-04 Jim MacArthur - Marcus Shawcroft - Nigel Stephens - Yufeng Zhang - - * Makefile.in (clean): Remove aarch64.c and aarch64-without-fpu.c. - (aarch64.c, aarch64-without-fpu.c): New targets. - * configure.srv (aarch64*-*-linux*): New. - * linux-aarch64-low.c: New file. - -2013-02-04 Marcus Shawcroft - - * linux-low.c (handle_extended_wait, linux_create_inferior) - (linux_attach_lwp_1, linux_kill_one_lwp, linux_attach_one_lwp) - (dequeue_one_deferred_signal, linux_resume_one_thread) - (fetch_register, linux_write_memory, linux_enable_event_reporting) - (linux_tracefork_grandchild, linux_test_for_tracefork) - (linux_read_offsets, linux_xfer_siginfo, linux_xfer_siginfo): Add - PTRACE_ARG3_TYPE and PTRACE_ARG4_TYPE cast to ptrace arguments - where the argument is 0. - -2013-01-25 Yao Qi - - * event-loop.c: Include "queue.h". - (gdb_event_p): New typedef. - (struct gdb_event) : Remove. - (event_queue): Change to QUEUE(gdb_event_p). - (async_queue_event): Remove. - (gdb_event_xfree): New. - (initialize_event_loop): New. - (process_event): Use API from QUEUE. - (wait_for_event): Likewise. - * server.c (main): Call initialize_event_loop. - * server.h (initialize_event_loop): Declare. - -2013-01-18 Yao Qi - - * ax.h (struct eval_agent_expr_context): New. - (gdb_eval_agent_expr): Update declaration. - * ax.c (gdb_eval_agent_expr): Remove argument REGCACHE and - TFRAME. Add new argument CTX. - * server.h (struct eval_agent_expr_context): Declare. - (agent_mem_read, agent_tsv_read): Update declaration. - (agent_mem_read_string): Likewise. - * tracepoint.c (eval_tracepoint_agent_expr): Remove. - (add_traceframe_block): Add new argument TPOINT. - Increase TPOINT->traceframe_usage. - (do_action_at_tracepoint): Call gdb_eval_agent_expr instead of - eval_tracepoint_agent_expr. - (condition_true_at_tracepoint): Likewise. - (agent_mem_read): Remove argument TFRAME. Add argument CTX. - (agent_mem_read_string, agent_tsv_read): Likewise. - -2013-01-16 Yao Qi - - * linux-low.c (linux_resume_one_lwp): Don't check - 'lwp->bp_reinsert != 0'. - -2013-01-07 Joel Brobecker - Pedro Alves - - * lynx-low.c (ptrace_request_to_str): Define a temporary - macro and use it to simplify this function's implementation. - -2013-01-07 Joel Brobecker - - * lynx-low.c (lynx_resume): Call perror_with_name if lynx_ptrace - sets errno. - -2013-01-07 Joel Brobecker - - * configure.srv (i[34567]86-*-lynxos*): Set srv_xmlfiles. - -2013-01-07 Joel Brobecker - - * configure.srv (powerpc-*-lynxos*): Set srv_xmlfiles. - -2013-01-07 Joel Brobecker - - * lynx-low.c (lynx_resume): Use the resume_info parameter - to determine the ptid for the lynx_ptrace call, unless - it is equal to minus_one_ptid, in which case we use the - ptid of the current_inferior. - (lynx_wait_1): After having received a thread create/exit - event, resume the inferior's execution using the signaling - thread's ptid, rather than the old ptid. - -2013-01-07 Joel Brobecker - - * lynx-low.c (lynx_resume): Delete variable ret. - -2013-01-01 Joel Brobecker - - * gdbreplay.c (gdbreplay_version): Update copyright year. - * server.c (gdbserver_version): Likewise. - -2012-12-17 Joel Brobecker - - * lynx-low.c (lynx_wait_1): Add debug trace before adding - new thread. - -2012-12-17 Joel Brobecker - - * lynx-low.c (ptrace_request_to_str): Add handling for - PTRACE_GETTRACESIG. - -2012-12-17 Joel Brobecker - - * lynx-low.c (lynx_attach): Delete variable new_process. - -2012-12-17 Joel Brobecker - - * lynx-low.c (lynx_create_inferior): Delete variable - new_process. - -2012-12-17 Joel Brobecker - - * lynx-low.c (ptrace_request_to_str): Do not handle - PTRACE_GETTHREADLIST if this macro does not exist. - -2012-12-15 Yao Qi - - * Makefile.in (OBS): Add notif.o. - * notif.c, notif.h: New. - * server.c: Include "notif.h". - (struct vstop_notif) : Remove. - : New field. - (queue_stop_reply): Update. - (push_event, send_next_stop_reply): Remove. - (discard_queued_stop_replies): Update. - (notif_stop): New variable. - (handle_v_stopped): Remove. - (handle_v_requests): Don't call handle_v_stopped. Call - handle_ack_notif instead. - (queue_stop_reply_callback): Call notif_event_enque instead - of queue_stop_reply. - (handle_status): Don't call send_next_stop_reply, call - notif_write_event instead. - (kill_inferior_callback): Likewise. - (detach_or_kill_inferior_callback): Likewise. - (main): Call initialize_notif. - (process_serial_event): Call QUEUE_is_empty. - (handle_target_event): Call notif_push instead of push event. - * server.h (push_event): Remove declaration. - -2012-12-10 Tom Tromey - - * Makefile.in (DEPMODE, DEPDIR, depcomp, COMPILE.pre) - (COMPILE.post, COMPILE, POSTCOMPILE, IPAGENT_COMPILE): New - macros. - (.c.o): Rewrite. - (ax-ipa.o, tracepoint-ipa.o, utils-ipa.o, format-ipa.o) - (common-utils-ipa.o, remote-utils-ipa.o, regcache-ipa.o) - (i386-linux-ipa.o, linux-i386-ipa.o, linux-amd64-ipa.o) - (amd64-linux-ipa.o, ax.o): Rewrite. - (event-loop.o, hostio.o, hostio-errno.o, inferiors.o, mem-break.o) - (proc-service.o, regcache.o, remote-utils.o, server.o, target.o) - (thread-db.o, tracepoint.o, utils.o, gdbreplay.o, dll.o): Remove. - (signals.o, linux-procfs.o, linux-ptrace.o, common-utils.o, vec.o) - (gdb_vecs.o, xml-utils.o, linux-osdata.o, ptid.o, buffer.o) - (format.o, agent.o, vasprintf.o, vsnprintf.o): Rewrite. - (i386-low.o, i387-fp.o, linux-low.o, linux-arm-low.o) - (linux-bfin-low.o, linux-cris-low.o, linux-crisv32-low.o) - (linux-ia64-low.o, linux-m32r-low.o, linux-mips-low.o) - (linux-ppc-low.o, linux-s390-low.o, linux-sh-low.o) - (linux-tic6x-low.o, linux-x86-low.o, linux-xtensa-low.o) - (linux-tile-low.o, lynx-low.o, lynx-ppc-low.o, nto-low.o) - (nto-x86-low.o, linux-low.o, win32-low.o, win32-arm-low.o) - (win32-i386-low.o, spu-low.o, reg-arm.o, arm-with-iwmmxt.o) - (arm-with-vfpv2.o, arm-with-vfpv3.o, arm-with-neon.o, reg-bfin.o) - (reg-cris.o, reg-crisv32.o, i386.o, i386-linux.o, i386-avx.o) - (i386-avx-linux.o, i386-mmx.o, i386-mmx-linux.o, reg-ia64.o) - (reg-m32r.o, reg-m68k.o, reg-cf.o, mips-linux.o, mips-dsp-linux.o) - (mips64-linux.o, mips64-dsp-linux.o, powerpc-32.o, powerpc-32l.o) - (powerpc-altivec32l.o, powerpc-cell32l.o, powerpc-vsx32l.o) - (powerpc-isa205-32l.o, powerpc-isa205-altivec32l.o) - (powerpc-isa205-vsx32l.o, powerpc-e500l.o, powerpc-64l.o) - (powerpc-altivec64l.o, powerpc-cell64l.o, powerpc-vsx64l.o) - (powerpc-isa205-64l.o, powerpc-isa205-altivec64l.o) - (powerpc-isa205-vsx64l.o, s390-linux32.o, s390-linux32v1.o) - (s390-linux32v2.o, s390-linux64.o, s390-linux64v1.o) - (s390-linux64v2.o, s390x-linux64.o, s390x-linux64v1.o) - (s390x-linux64v2.o, tic6x-c64xp-linux.o, tic6x-c64x-linux.o) - (tic6x-c62x-linux.o, reg-sh.o, reg-sparc64.o, reg-spu.o, amd64.o) - (amd64-linux.o, amd64-avx.o, amd64-avx-linux.o, x32.o) - (x32-linux.o, x32-avx.o, x32-avx-linux.o, reg-xtensa.o) - (reg-tilegx.o): Remove. - (all_object_files): New macro. - Include .deps files. - * aclocal.m4, configure: Rebuild. - * acinclude.m4: Include depstand.m4, lead-dot.m4. - * configure.ac: Invoke ZW_CREATE_DEPDIR, - ZW_PROG_COMPILER_DEPENDENCIES. Compute GMAKE condition. - -2012-12-05 Tom Tromey - - PR gdb/14917: - * server.h (current_insn_ptr, emit_error): Declare 'extern'. - -2012-11-28 Markus Metzger - - * configure.ac: Check for linux/perf_event.h. - * config.in: Regenerated. - * configure: Regenerated. - -2012-11-26 Maxime Villard - - * hostio.c (handle_readlink): Decrease buffer size - parameter passed to readlink by one byte. - -2012-11-26 Yao Qi - - * configure.ac (build_warnings): Append '-Wempty-body'. - * configure: Regenerated. - * linux-low.c (linux_create_inferior): Use braces for empty 'if' - body. - -2012-11-15 Pierre Muller - - * configure.ac (AC_CHECK_HEADERS): Add wait.h header. - * config.in: Regenerate. - * configure: Regenerate. - * linux-low.c: Use "gdb_stat.h" header instead of header. - Use "gdb_wait.h" header instead of header. - * lynx-low.c: Use "gdb_wait.h" header instead of header. - * remote-utils.c: Use "gdb_stat.h" header instead of - header. - * server.c: Remove HAVE_WAIT_H conditional. Use "gdb_wait.h" header - instead of header. - * spu-low.c: Use "gdb_wait.h" header instead of header. - -2012-11-13 Markus Metzger - - * Makefile.in: (INTERNAL_CFLAGS): Add -DGDBSERVER - (various make rules): Remove -DGDBSERVER - -2012-11-09 Yao Qi - - * spu-low.c (current_ptid): Move it to .. - * gdbthread.h: ... here. New. - * remote-utils.c (read_ptid): Use macro 'current_ptid'. - * server.c (myresume, process_serial_event): Likewise. - * thread-db.c (thread_db_find_new_threads): Likewise. - * tracepoint.c (run_inferior_command): Likewise. - -2012-10-01 Andrew Burgess - - * server.c (handle_search_memory_1): Include access length in - warning message. - -2012-09-05 Michael Brandt - - * linux-crisv32-low.c: Fix compile errors. - -2012-09-04 Yao Qi - - * tracepoint.c (cmd_qtsv): Adjust debug message. - Don't check CUR_TPOINT. - -2012-08-28 Yao Qi - - * ax.c, tracepoint.c: Replace ATTR_FORMAT with ATTRIBUTE_PRINTF. - * server.h: Include 'libiberty.h' and 'ansidecl.h'. - (ATTR_NORETURN, ATTR_FORMAT, ATTR_MALLOC): Remove. - Remove declarations of xmalloc, xreallloc, xstrdup and - freeargv. - * Makefile.in (libiberty_h): New. - (server_h): Append dependencies 'libiberty.h' and 'ansidecl.h'. - (linux-bfin-low.o): Append dependency 'libiberty.h'. - -2012-08-23 Yao Qi - - * server.h: Remove declaration of 'xsnprintf'. - -2012-08-22 Keith Seitz - - * server.h: Include build-gnulib-gbserver/config.h. - * gdbreplay.c: Likewise. - -2012-08-08 Doug Evans - - * Makefile.in (SFILES): Add gdb_vecs.c. - (OBS): Add gdb_vecs.o. - (gdb_vecs_h, host_defs_h): New variables. - (thread-db.o): Add $(gdb_vecs_h) dependency. - (gdb_vecs.o): New rule. - * thread-db.c: #include "gdb_vecs.h". - (thread_db_load_search): Use a vector to iterate over path elements. - Handle text appearing after "$pdir". - - * configure.ac: Add check for strstr. - * config.in: Regenerate. - * configure: Regenerate. - -2012-08-02 Ulrich Weigand - - * hostio.c (handle_pread): If pread fails, fall back to attempting - lseek/read. - (handle_pwrite): Likewise for pwrite. - -2012-08-01 Ulrich Weigand - - * linux-arm-low.c (arm_linux_hw_point_initialize): Distinguish - between unsupported TYPE and unimplementable ADDR/LEN combination. - (arm_insert_point): Act on new return value. - -2012-07-31 Pedro Alves - - * server.c (process_point_options): Only skip tokens if we find - one that is unrecognized. Don't treat 'X' specially while - skipping unrecognized tokens. - -2012-07-30 Ulrich Weigand - - * linux-arm-low.c (arm_linux_hw_point_initialize): Do not attempt - to 4-byte-align HW breakpoint addresses for Thumb. - -2012-07-27 Yao Qi - - PR remote/14161. - - * server.h: Declare gdb_agent_about_to_close. - * target.c (kill_inferior): Include "agent.h". - New. Send command 'kill'. - * target.h (kill_inferior): Removed macro. - * tracepoint.c (gdb_agent_about_to_close): New. - (gdb_agent_helper_thread): Handle command 'close'. - Wait endlessly until the inferior stops. - Install gdb_agent_remove_socket to atexit hook. - (agent_socket_name): New static variable. - (gdb_agent_socket_init): Replace local variable 'name' with - 'agent_socket_name'. - (gdb_agent_remove_socket): New. - -2012-07-27 Yao Qi - - * server.c (process_point_options): Stop at 'X' when parsing. - -2012-07-19 Michael Eager - - * i386-low.c (Z_packet_to_hw_type): Add Z_PACKET_HW_BP, translate - to hw_execute. - * linux-x86-low.c (x86_insert_point, x86_remove_point): - Call i386_low_insert_watchpoint, i386_low_remove_watchpoint to add/del - hardware breakpoint. - -2012-07-07 Jan Kratochvil - - * gdbserver/linux-low.c (initialize_low): Call - linux_ptrace_init_warnings. - -2012-07-02 Doug Evans - - * mem-break.c (gdb_no_commands_at_breakpoint): Fix cast from - pointer to int. - -2012-07-02 Stan Shebs - - * Makefile.in (WARN_CFLAGS_NO_FORMAT): Define. - (ax.o): Add it to build rule. - (ax-ipa.o): Ditto. - (OBS): Add format.o. - (IPA_OBS): Add format.o. - * server.c (handle_query): Claim support for breakpoint commands. - (process_point_options): Add command case. - (process_serial_event): Leave running if there are printfs in - effect. - * mem-break.h (any_persistent_commands): Declare. - (add_breakpoint_commands): Declare. - (gdb_no_commands_at_breakpoint): Declare. - (run_breakpoint_commands): Declare. - * mem-break.c (struct point_command_list): New struct. - (struct breakpoint): New field command_list. - (any_persistent_commands): New function. - (add_commands_to_breakpoint): New function. - (add_breakpoint_commands): New function. - (gdb_no_commands_at_breakpoint): New function. - (run_breakpoint_commands): New function. - * linux-low.c (linux_wait_1): Test for and run breakpoint commands - locally. - * ax.c: Include format.h. - (ax_printf): New function. - (gdb_eval_agent_expr): Add printf opcode. - -2012-06-13 Yao Qi - - * server.c (start_inferior): Remove duplicated writes to fields - 'last_resume_kind' and 'last_status' of 'current_inferior'. - -2012-06-12 Yao Qi - Pedro Alves - - * linux-low.c (linux_set_resume_request): Simplify predicate. Add - comment. - * server.c (handle_v_cont): Extend comment. - -2012-06-11 Yao Qi - - * linux-low.c (linux_attach): Add 'static'. - -2012-06-06 Yao Qi - - * ax.c (gdb_eval_agent_expr): Print `top' in hex. - -2012-06-01 Jan Kratochvil - - Fix gcc -flto compilation warning. - * server.c (main): Make variable multi_mode and attach volatile. - -2012-05-30 Thiago Jung Bauermann - - * linux-low.c (get_r_debug): Disable code using DT_MIPS_RLD_MAP - if the platform doesn't know about it. - -2012-05-30 Jeff Kenton - - * Makefile.in (SFILES): Add linux-tile-low.c. - (linux-tile-low.o, reg-tilegx.o, reg-tilegx.c): New rules. - * configure.srv: Handle tilegx-*-linux*. - * linux-tile-low.c: New file. - -2012-05-28 Jan Kratochvil - - * linux-low.c (linux_qxfer_libraries_svr4): Return -1 if R_DEBUG is -1. - -2012-05-24 Pedro Alves - - PR gdb/7205 - - Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout. - -2012-05-24 Pedro Alves - - PR gdb/7205 - - Replace target_signal with gdb_signal throughout. - -2012-05-22 Maciej W. Rozycki - - * linux-low.c (linux_store_registers): Avoid the copying sequence - when no data has been retrieved by ptrace. - -2012-05-22 Will Deacon - - * linux-low (__UCLIBC__ && !(__UCLIBC_HAS_MMU__ || __ARCH_HAS_MMU__)): - Include asm/ptrace.h. - (PT_TEXT_ADDR, PT_DATA_ADDR, PT_TEXT_END_ADDR): Define only if not - already defined. - -2012-05-21 Maciej W. Rozycki - - * linux-low.c (linux_store_registers): Don't re-retrieve data - with ptrace that has already been obtained from /proc. Always - copy any data retrieved with ptrace to the buffer supplied. - -2012-05-11 Yao Qi - Pedro Alves - - * linux-low.c (enum stopping_threads_kind): New. - (stopping_threads): Change type to `enum stopping_threads_kind'. - (handle_extended_wait): If stopping and suspending threads, leave - the new_lwp suspended too. - (linux_wait_for_event): Adjust. - (stop_all_lwps): Set `stopping_threads' to - STOPPING_AND_SUSPENDING_THREADS or STOPPING_THREADS depending on - whether we're suspending threads or just stopping them. Assert no - recursion happens. - -2012-04-29 Yao Qi - - * server.h: Move some code to ... - * gdbthread.h: ... here. New. - * Makefile.in (inferiors.o, regcache.o): Depends on gdbthread.h - (remote-utils.o, server.o, target.o tracepoint.o): Likewise. - (nto-low.o, win32-low.o): Likewise. - * inferiors.c, linux-low.h, nto-low.c: Include gdbthread.h. - * regcache.c, remote-utils.c, server.c: Likewise. - * target.c, tracepoint.c, win32-low.c: Likewise. - -2012-04-24 Thiago Jung Bauermann - - * linux-low.h (PTRACE_ARG3_TYPE): Move macro from linux-low.c. - (PTRACE_ARG4_TYPE): Likewise. - (PTRACE_XFER_TYPE): Likewise. - * linux-arm-low.c (arm_prepare_to_resume): Cast third argument of - ptrace to PTRACE_ARG3_TYPE. - * linux-low.c (PTRACE_ARG3_TYPE): Move macro to linux-low.h. - (PTRACE_ARG4_TYPE): Likewise. - (PTRACE_XFER_TYPE): Likewise. - (linux_detach_one_lwp): Cast fourth argument of - ptrace to long then PTRACE_ARG4_TYPE. - (regsets_fetch_inferior_registers): Cast third argument of - ptrace to long then PTRACE_ARG3_TYPE. - (regsets_store_inferior_registers): Likewise. - -2012-04-20 Pedro Alves - - * configure: Regenerate. - -2012-04-19 Pedro Alves - - * Makefile.in (GNULIB_BUILDDIR): New. - (LIBGNU, INCGNU, GNULIB_H): Adjust. - (SUBDIRS, CLEANDIRS, REQUIRED_SUBDIRS): New. - (all, install-only, uninstall, clean-info, all-lib, clean): No - longer pass GNULIB_FLAGS_TO_PASS. Use subdir_do. - (maintainer-clean realclean distclean): Use subdir_do. - (subdir_do): New. - (gnulib/import/Makefile): Adjust. Replace gnulib/import with - $(GNULIB_BUILDDIR). Don't pass argument to config.status. - * acinclude.m4: Include acx_configure_dir.m4. - * configure.ac: Remove gl_EARLY, gl_INIT, and AM_INIT_AUTOMAKE - calls. Call AC_PROG_RANLIB. Configure gnulib using - ACX_CONFIGURE_DIR. - (GNULIB): New. - (GNULIB_STDINT_H): Adjust. - (AC_OUTPUT): Don't output gnulib/Makefile anymore. - * gdbreplay.c: Include build-gnulib/config.h. - * server.h: Likewise. - * aclocal.m4: Regenerate. - * config.in: Regenerate. - * configure: Regenerate. - -2012-04-19 Pedro Alves - - * Makefile.in (LIBGNU, INCGNU): Adjust. - (GNULIB_FLAGS_TO_PASS, GNULIB_H): Adjust. - (all, install-only, uninstall, clean-info, all-lib, clean) - (maintainer-clean, Makefile, gnulib/Makefile): Adjust. - * configure.ac: Adjust AC_OUTPUT output. - * aclocal.m4: Regenerate. - * configure: Regenerate. - -2012-04-19 Pedro Alves - - * Makefile.in (generated_files): New. - (server_h): Remove the explicit dependency on config.h, and depend - on $generated_files. - -2012-04-19 Pedro Alves - - * Makefile.in (INCGNU): Add -Ignulib. - -2012-04-19 Pedro Alves - - * Makefile.in (GNULIB_INCLUDE_DIR): Rename to ... - (INCGNU): ... this, and spell out -I here. - (GNULIB_LIB): Rename to ... - (LIBGNU): ... this. - (INCLUDE_CFLAGS, gdbserver$(EXEEXT), $(GNULIB_LIB) rule): Adjust. - -2012-04-19 Pedro Alves - - * config.in: Regenerate. - -2012-04-19 Pedro Alves - - * configure.ac: Remove AC_CHECK_DECLS check for memmem. - * server.h (memmem): Remove declaration. - * config.in: Regenerate. - * configure: Regenerate. - -2012-04-19 Yao Qi - - * Makefile.in (SFILES): Add common/vec.c. - (OBS): Add vec.o. - (vec.o): New rule. - -2012-04-19 Yao Qi - - * remote-utils.c (prepare_resume_reply): Replace with macro - target_core_of_thread. - * server.c (handle_qxfer_threads_proper): Likewise. - * target.h (traget_core_of_thread): New macro. - -2012-04-18 Pedro Alves - - * aclocal.m4: Regenerate. - * configure: Regenerate. - -2012-04-16 Yao Qi - - * tracepoint.c (cmd_qtstart): Download tracepoints even when they are - duplicated on address. - -2012-04-16 Yao Qi - - * tracepoint.c (COPY_FIELD_TO_BUF): New macro. - (struct tracepoint_action_ops) : New field. - (m_tracepoint_action_send, r_tracepoint_action_send): New. - (agent_expr_send, x_tracepoint_action_send): New. - (l_tracepoint_action_send): New. - (cmd_qtdp): Download and install tracepoint - according to `use_agent'. - (run_inferior_command): Add one more parameter `len'. - Update callers. - (tracepoint_send_agent): New. - (cmd_qtdp, cmd_qtstart): Call tracepoint_send_agent. - -2012-04-16 Yao Qi - - * tracepoint.c (download_tracepoints): Moved to ... - (cmd_qtstart): ... here. - -2012-04-14 Yao Qi - - * tracepoint.c: Include inttypes.h. - (struct collect_memory_action): Use sized types. - (struct tracepoint): Likewise. - (cmd_qtdp, stop_tracing): Update print specifiers. - (cmd_qtp, response_tracepoint): Likewise. - (collect_data_at_tracepoint): Likewise. - (collect_data_at_step): Likewise. - -2012-04-14 Yao Qi - - Import gnulib module inttypes. - * aclocal.m4, config.in, configure: Regenerated. - -2012-04-14 Yao Qi - - * Makefile.in (maintainer-clean, realclean, distclean): Remove - Makefile and config.status at last. - -2012-04-13 Yao Qi - - * tracepoint.c: Include stdint.h unconditionally. - -2012-04-13 Thiago Jung Bauermann - - * acinclude.m4 (GDBSERVER_HAVE_THREAD_DB_TYPE): New macro based - on BFD_HAVE_SYS_PROCFS_TYPE. - * configure.ac: Look for lwpid_t and psaddr_t in libthread_db.h. - * configure: Regenerate. - * config.in: Likewise. - -2012-04-13 H.J. Lu - - * Makefile.in (clean): Also remove x32.c x32-linux.c - x32-avx.c x32-avx-linux.c. - (x32.o): New target. - (x32.c): Likewise. - (x32-linux.o): Likewise. - (x32-linux.c): Likewise. - (x32-avx.o): Likewise. - (x32-avx.c): Likewise. - (x32-avx-linux.o): Likewise. - (x32-avx-linux.c): Likewise. - - * configure.srv (srv_amd64_regobj): Add x32.o x32-avx.o. - (srv_amd64_linux_regobj): Add x32-linux.o x32-avx-linux.o. - (srv_i386_64bit_xmlfiles): Add i386/x32-core.xml. - (srv_amd64_xmlfiles): Add i386/x32.xml i386/x32-avx.xml. - (srv_amd64_linux_xmlfiles): Add i386/x32-linux.xml - i386/x32-avx-linux.xml. - - * linux-x86-low.c (init_registers_x32_linux): New prototype. - (init_registers_x32_avx_linux): Likwise. - (x86_linux_update_xmltarget): Call init_registers_x32_linux - or init_registers_x32_avx_linux if linux_is_elf64 is false. - -2012-04-13 Pedro Alves - - * Makefile.in (GNULIB_FLAGS_TO_PASS): New. - (FLAGS_TO_PASS): Don't change or set $top_srcdir, $srcdir and VPATH. - (all, uninstall, clean-info, all-lib, clean, maintainer-clean) - (realclean, distclean): Explicitly pass $GNULIB_FLAGS_TO_PASS to - the sub-make. - -2012-04-12 H.J. Lu - - * linux-x86-low.c (compat_x32_clock_t): New. - (compat_x32_siginfo_t): Likewise. - (compat_x32_siginfo_from_siginfo): Likewise. - (siginfo_from_compat_x32_siginfo): Likewise. - (linux_is_elf64): Likewise. - (x86_siginfo_fixup): Call compat_x32_siginfo_from_siginfo - and siginfo_from_compat_x32_siginfo for x32. - (x86_arch_setup): Set linux_is_elf64. - -2012-04-12 H.J. Lu - - PR gdb/13969 - * linux-low.c (linux_pid_exe_is_elf_64_file): Also return the - e_machine field. - (linux_qxfer_libraries_svr4): Update call to elf_64_file_p. - * linux-low.h (linux_pid_exe_is_elf_64_file): Updated. - * linux-x86-low.c (x86_arch_setup): Check if GDBserver is - compatible with process. - -2012-04-12 Yao Qi - - * Makefile.in: Define abs_top_srcdir and abs_srcdir. - (INCLUDE_CFLAGS): Append GNULIB_INCLUDE_DIR. - (install-only, install-info, clean): Handle sub dir gnulib. - (all-lib, am--refresh): New targets. - (memmem.o): Remove target. - * configure.ac: Remove AC_CONFIG_LIBOBJ_DIR. - Invoke gl_EARLY. Invoke AC_CHECK_PROGS for make. - (AC_REPLACE_FUNCS): Remove memmem. - Invoke gl_INIT and AM_INIT_AUTOMAKE. - (AC_OUTPUT): Generate Makefile in gnulib/. - * aclocal.m4, config.in, configure: Regenerated. - -2012-04-10 Maciej W. Rozycki - - * linux-low.c (get_r_debug): Handle DT_MIPS_RLD_MAP. - -2012-04-05 Pedro Alves - - -Werror=strict-aliasing - - * spu-low.c (parse_spufs_run): Avoid dereferencing type-punned - pointer. - -2012-04-04 Pedro Alves - - * linux-sparc-low.c (sparc_fill_gregset_to_stack) - (sparc_store_gregset_from_stack, sparc_store_gregset) - (sparc_breakpoint_at): Fix formatting. - -2012-03-30 Thiago Jung Bauermann - - * configure.ac: Check whether Elf32_auxv_t and Elf64_auxv_t - are available. - * linux-low.c [HAVE_ELF32_AUXV_T] (Elf32_auxv_t): Add typedef. - [HAVE_ELF64_AUXV_T] (Elf64_auxv_t): Likewise. - * config.in: Regenerate. - * configure: Likewise. - -2012-03-29 Pedro Alves - - * linux-low.c (regsets_store_inferior_registers) [__sparc__]: - Correct ptrace arguments. - -2012-03-28 Pedro Alves - - * linux-ia64-low.c (ia64_regmap): Map IA64_EC_REGNUM to PT_AR_EC. - (IA64_GR0_REGNUM, IA64_FR0_REGNUM) - (IA64_FR1_REGNUM): New defines. - (ia64_fetch_register): New. - (the_low_target): Install it. - * linux-low.h (struct linux_target_ops) : New - field. - * linux-low.c (linux_fetch_registers): Try the - the_low_target.fetch_register hook first. - - * linux-arm-low.c (the_low_target): Adjust. - * linux-bfin-low.c (the_low_target): Adjust. - * linux-cris-low.c (the_low_target): Adjust. - * linux-crisv32-low.c (the_low_target): Adjust. - * linux-m32r-low.c (the_low_target): Adjust. - * linux-m68k-low.c (the_low_target): Adjust. - * linux-mips-low.c (the_low_target): Adjust. - * linux-ppc-low.c (the_low_target): Adjust. - * linux-s390-low.c (the_low_target): Adjust. - * linux-sh-low.c (the_low_target): Adjust. - * linux-sparc-low.c (the_low_target): Adjust. - * linux-tic6x-low.c (the_low_target): Adjust. - * linux-x86-low.c (the_low_target): Adjust. - * linux-xtensa-low.c (the_low_target): Adjust. - -2012-03-26 Pedro Alves - - * server.c (handle_qxfer_libraries): Don't bail early if - the_target->qxfer_libraries_svr4 is not NULL. - -2012-03-26 Pedro Alves - - * linux-low.c (linux_qxfer_libraries_svr4): Fix pasto in comment. - -2012-03-23 Pedro Alves - - * linux-low.c (linux_qxfer_libraries_svr4): Terminate the - "library-list-svr4" element's start tag when the the DSO list is - empty. - -2012-03-23 Pedro Alves - - * linux-low.c (read_one_ptr): Read the inferior's pointer through - a variable whose type size is the same as the inferior's pointer - size. - -2012-03-21 Thomas Schwinge - - * linux-arm-low.c (arm_stopped_by_watchpoint): Use siginfo_t instead of - struct siginfo. - * linux-low.c (siginfo_fixup, linux_xfer_siginfo): Likewise. - * linux-x86-low.c (x86_siginfo_fixup): Likewise. - * linux-low.h: Include . - (struct siginfo): Remove forward declaration. - (struct linux_target_ops) : Use siginfo_t instead of - struct siginfo. - -2012-03-21 Mike Frysinger - - * .gitignore: Ignore more files. - -2012-03-19 Pedro Alves - Jan Kratochvil - - * server.c (cont_thread, general_thread): Add describing comments. - (start_inferior): Clear `cont_thread'. - (handle_v_cont): Don't set `cont_thread' if resuming all threads - of a process. - -2012-03-15 Yao Qi - - * tracepoint.c (install_tracepoint): Move duplicated tracepoint - handling to ... - (cmd_qtdp): ... here. - -2012-03-15 Yao Qi - - * tracepoint.c (struct tracepoint_action_ops): New. - (struct tracepoint_action) [!IN_PROCESS_AGENT] : New field. - (m_tracepoint_action_download): New. - (r_tracepoint_action_download): New. - (x_tracepoint_action_download): New. - (l_tracepoint_action_download): New. - (add_tracepoint_action): Install `action->ops' according type. - (download_tracepoint_1): Move code `download' function pointer - of various tracepoint_action_ops. - -2012-03-13 Jan Kratochvil - - * linux-low.c (linux_attach_lwp_1): New variable buffer. Call - linux_ptrace_attach_warnings. - -2012-03-13 Jan Kratochvil - - * Makefile.in (linux-ptrace.o): New. - * configure.srv (arm*-*-linux*, bfin-*-*linux*, crisv32-*-linux*) - (cris-*-linux*, i[34567]86-*-linux*, ia64-*-linux*, m32r*-*-linux*) - (m68*-*-linux*, m68*-*-uclinux*, mips*-*-linux*, powerpc*-*-linux*) - (s390*-*-linux*, sh*-*-linux*, sparc*-*-linux*, tic6x-*-uclinux) - (x86_64-*-linux*, xtensa*-*-linux*): Add linux-ptrace.o to SRV_TGTOBJ - of these targets. - * linux-low.c (linux_attach_lwp_1): Remove redundent else clause. - -2012-03-08 Yao Qi - Pedro Alves - - Fix PR server/13392. - * linux-x86-low.c (amd64_install_fast_tracepoint_jump_pad): Check - offset of JMP insn. - * tracepoint.c (remove_tracepoint): New. - (cmd_qtdp): Call remove_tracepoint when failed to install. - -2012-03-07 Pedro Alves - - * linux-low.c (get_detach_signal): New. - (linux_detach_one_lwp): Get rid of a pending SIGSTOP with SIGCONT. - Pass on pending signals to PTRACE_DETACH. Check the result of the - ptrace call. - * server.c (program_signals, program_signals_p): New. - (handle_general_set): Handle QProgramSignals. - * server.h (program_signals, program_signals_p): Declare. - -2012-03-05 Pedro Alves - Jan Kratochvil - - * linux-low.c (get_dynamic): Don't warn when PT_PHDR isn't found. - New comment why. - -2012-03-03 Yao Qi - - * tracepoint.c (tracepoint_look_up_symbols): Update call to - agent_look_up_symbols. - -2012-03-03 Yao Qi - - * Makefile.in (linux-low.o): Keep dependence on agent.h. - (linux-x86-low.o): Likewise. - * server.h: Remove in_process_agent_loaded. - * tracepoint.c (in_process_agent_loaded): Removed. Moved it - common/agent.c. - Update callers. - -2012-03-03 Yao Qi - - * tracepoint.c (gdb_agent_capability): New global. - (in_process_agent_loaded_ust): Renamed to - `in_process_agent_supports_ust'. - Update callers. - (in_process_agent_supports_ust): Call agent_capability_check. - (clear_installed_tracepoints): Assert that agent supports - agent. - -2012-03-03 Yao Qi - - * linux-low.c (linux_supports_agent): New. - (linux_target_ops): Initialize field `supports_agent' with - linux_supports_agent. - * target.h (struct target_ops) : New. - (target_supports_agent): New macro. - * server.c (handle_general_set): Handle packet 'QAgent'. - (handle_query): Send `QAgent+'. - * Makefile.in (server.o): Depends on agent.h. - -2012-03-03 Yao Qi - - * Makefile.in (OBS): Add agent.o. - Add new rule for agent.o. - Track dependence of tracepoint.c on agent.h. - * tracepoint.c (run_inferior_command_1): - (run_inferior_command): Call agent_run_command. - (gdb_ust_connect_sync_socket): Deleted. Move it to - common/agent.c. - (resume_thread, stop_thread): Likewise. - (gdb_ust_socket_init): Renamed to ... - (gdb_agent_socket_init): ... New. - (gdb_ust_thread): Renamed to ... - (gdb_agent_helper_thread): ... New. - (gdb_ust_init): Move some code to ... - (gdb_agent_init): ... here. New. - [HAVE_UST]: Call gdb_ust_init. - (initialize_tracepoint_ftlib): Call gdb_agent_init. - * configure.ac: Add `sys/un.h' to AC_CHECK_HEADERS. - * config.in, configure: Regenerated. - -2012-03-02 Pedro Alves - - * inferiors.c (add_pid_to_list, pull_pid_from_list): Delete. - * linux-low.c (struct simple_pid_list): New. - (stopped_pids): New a struct simple_pid_list pointer. - (add_to_pid_list, pull_pid_from_list): New. - (handle_extended_wait): Don't assume the first signal new children - report is SIGSTOP. Adjust call to pull_pid_from_list. - (linux_wait_for_lwp): Adjust. - -2012-03-02 Yao Qi - - * tracepoint.c (do_action_at_tracepoint): Write `stop_pc' in - debug log. - -2012-03-02 Yao Qi - - * tracepoint.c (collect_ust_data_at_tracepoint): Remove parameters - `stop_pc' and `tpoint'. Update caller. - -2012-03-01 Maciej W. Rozycki - - * linux-low.h (linux_target_ops): Add regset_bitmap member. - * linux-low.c (use_linux_regsets): New macro. - [!HAVE_LINUX_REGSETS] (regsets_fetch_inferior_registers): Likewise. - [!HAVE_LINUX_REGSETS] (regsets_store_inferior_registers): Likewise. - (linux_register_in_regsets): New function. - (usr_fetch_inferior_registers): Skip registers covered by - regsets. - (usr_store_inferior_registers): Likewise. - (usr_fetch_inferior_registers): New macro. - (usr_store_inferior_registers): Likewise. - (linux_fetch_registers): Handle mixed regset/non-regset targets. - (linux_store_registers): Likewise. - * linux-mips-low.c (init_registers_mips_dsp_linux): New - prototype. - (init_registers_mips64_dsp_linux): Likewise. - (init_registers_mips_linux): New macro. - (init_registers_mips_dsp_linux): Likewise. - (mips_dsp_num_regs): Likewise. - (DSP_BASE, DSP_CONTROL): New fallback macros. - (mips_base_regs): New macro. - (mips_regmap): Use it. Fix the size. - (mips_dsp_regmap): New variable. - (mips_dsp_regset_bitmap): Likewise. - (mips_arch_setup): New function. - (mips_cannot_fetch_register): Use the_low_target.regmap rather - than mips_regmap. - (mips_cannot_store_register): Likewise. - (the_low_target): Update .arch_setup, .num_regs and .regmap - initializers. Add .regset_bitmap initializer. - * linux-arm-low.c (the_low_target): Add .regset_bitmap - initializer. - * linux-bfin-low.c (the_low_target): Likewise. - * linux-cris-low.c (the_low_target): Likewise. - * linux-crisv32-low.c (the_low_target): Likewise. - * linux-ia64-low.c (the_low_target): Likewise. - * linux-m32r-low.c (the_low_target): Likewise. - * linux-m68k-low.c (the_low_target): Likewise. - * linux-ppc-low.c (the_low_target): Likewise. - * linux-s390-low.c (the_low_target): Likewise. - * linux-sh-low.c (the_low_target): Likewise. - * linux-sparc-low.c (the_low_target): Likewise. - * linux-tic6x-low.c (the_low_target): Likewise. - * linux-x86-low.c (the_low_target): Likewise. - * linux-xtensa-low.c (the_low_target): Likewise. - * configure.srv : Add mips-dsp-linux.o and - mips64-dsp-linux.o to srv_regobj. Add mips-dsp-linux.xml, - mips64-dsp-linux.xml, mips-dsp.xml and mips64-dsp.xml to - srv_xmlfiles. - * Makefile.in (mips-dsp-linux.o, mips-dsp-linux.c): New targets. - (mips64-dsp-linux.o, mips64-dsp-linux.c): Likewise. - -2012-02-29 Yao Qi - Pedro Alves - - * linux-low.c: (linux_wait_1): Call unsuspend_all_lwps when - `step_over_finished' is true. - -2012-02-27 Pedro Alves - - * linux-low.c (pid_is_stopped): Delete, moved to common/. - (linux_attach_lwp_1): Adjust to use linux_proc_pid_is_stopped. - -2012-02-27 Pedro Alves - - PR server/9684 - * linux-low.c (pid_is_stopped): New. - (linux_attach_lwp_1): Handle attaching to 'T (stopped)' processes. - -2012-02-25 Luis Machado - - * mem-break.c (clear_gdb_breakpoint_conditions): Fix de-allocation - of conditions. - -2012-02-24 Maciej W. Rozycki - - * linux-mips-low.c (mips_regmap): Correct the index of $f9. - -2012-02-24 Luis Machado - - * server.c (handle_query): Advertise support for target-side - breakpoint condition evaluation. - (process_point_options): New function. - (process_serial_event): When inserting a breakpoint, check for - a target-side condition that should be evaluated. - - * mem-break.c: Include regcache.h and ax.h. - (point_cond_list_t): New data structure. - (breakpoint) : New field. - (find_gdb_breakpoint_at): Make non-static. - (delete_gdb_breakpoint_at): Clear any target-side - conditions. - (clear_gdb_breakpoint_conditions): New function. - (add_condition_to_breakpoint): Likewise. - (add_breakpoint_condition): Likewise. - (gdb_condition_true_at_breakpoint): Likewise. - (gdb_breakpoint_here): Return result directly instead - of going through a local variable. - - * mem-break.h (find_gdb_breakpoint_at): New prototype. - (clear_gdb_breakpoint_conditions): Likewise. - (add_breakpoint_condition): Likewise. - (gdb_condition_true_at_breakpoint): Likewise. - - * linux-low.c (linux_wait_1): Evaluate target-side breakpoint condition. - (need_step_over_p): Take target-side breakpoint condition into - consideration. - -2012-02-24 Luis Machado - - * server.h: Include tracepoint.h. - (agent_mem_read, agent_get_trace_state_variable_value, - agent_set_trace_state_variable_value, - agent_tsv_read, agent_mem_read_string, get_get_tsv_func_addr, - get_set_tsv_func_addr): New prototypes. - - * ax.h: New include file. - * ax.c: New source file. - - * tracepoint.c: Include ax.h. - (gdb_agent_op, gdb_agent_op_names, gdb_agent_op_sizes, - agent_expr, eval_result_type): Move to ax.h. - (parse_agent_expr): Rename to ... - (gdb_parse_agent_expr): ... this, make it non-static and move - to ax.h. - (unparse_agent_expr) Rename to ... - (gdb_unparse_agent_expr): ... this, make it non-static and move - to ax.h. - (eval_agent_expr): Rename to ... - (eval_tracepoint_agent_expr): ... this. - (agent_mem_read, agent_mem_read_string, agent_tsv_read): Remove - forward declarations. - (add_tracepoint_action): Call gdb_parse_agent_expr (...). - (agent_get_trace_state_variable_value): New function. - (agent_set_trace_state_variable_value): New function. - (cmd_qtdp): Call gdb_parse_agent_expr (...). - (response_tracepoint): Call gdb_unparse_agent_expr (...). - (do_action_at_tracepoint): Call eval_tracepoint_agent_expr (...). - (condition_true_at_tracepoint): Likewise. - (parse_agent_expr): Rename to ... - (gdb_parse_agent_expr): ... this and move to ax.c. - (unparse_agent_expr): Rename to ... - (gdb_unparse_agent_expr): ... this and move to ax.c. - (gdb_agent_op_name): Move to ax.c. - (eval_agent_expr): Rename to ... - (gdb_eval_agent_expr): ... this, use regcache passed as parameter - and move to ax.c. - (eval_tracepoint_agent_expr): New function. - (agent_mem_read, agent_mem_read_string, agent_tsv_read): Make - non-static. - (current_insn_ptr, emit_error, struct bytecode_address): Move to - ax.c. - (emit_prologue, emit_epilogue, emit_add, emit_sub, emit_mul, emit_lsh, - emit_rsh_signed, emit_rsh_unsigned, emit_ext, emit_log_not, - emit_bit_and, emit_bit_or, emit_bit_xor, emit_bit_not, emit_equal, - emit_less_signed, emit_less_unsigned, emit_ref, emit_if_goto, - emit_goto, write_goto_address, emit_const, emit_reg, emit_pop, - emit_stack, emit_zero_ext, emit_swap, emit_stack_adjust, - emit_int_call_1, emit_void_call_2, emit_eq_goto, emit_ne_goto, - emit_lt_goto, emit_ge_goto, emit_gt_goto, emit_le_goto): Move to ax.c. - (get_get_tsv_func_addr, get_set_tsv_func_addr): New functions. - (compile_bytecodes): Remove forward declaration. - (is_goto_target): Move to ax.c. - (compile_bytecodes): Move to ax.c and call - agent_get_trace_state_variable_value (...) and - agent_set_trace_state_variable_value (...). - - * Makefile.in: Update ax.c and IPA dependencies. - -2012-02-24 Pedro Alves - - * tracepoint.c (cmd_bigqtbuffer): Rename as ... - (cmd_bigqtbuffer_circular): ... this. Only handle - 'QTBuffer:circular:'. - (handle_tracepoint_general_set): Adjust. - -2012-02-16 Yao Qi - - * inferiors.c: Move code to ... - * dll.c: .... here. New. - * server.h: Declare clear_dlls. - * Makefile.in (SFILES): Add dll.c. - (OBS): Add dll.o - (dll.o): New rule. - -2012-02-11 Yao Qi - - * server.c: (handle_monitor_command): Add a new parameter - `own_buf'. - (handle_query): Update caller. - -2012-02-09 Joel Brobecker - - * configure.ac: Add readlink to AC_CHECK_FUNCS list. - * configure, config.in: Regenerate. - * hostio.c: Provide an alternate implementation if HAVE_READLINK - is not defined. - -2012-02-02 Pedro Alves - - Try SIGKILL first, then PTRACE_KILL. - * linux-low.c (linux_kill_one_lwp): New. - (linux_kill_one_lwp): Rename to ... - (kill_one_lwp_callback): ... this. Use the new - linux_kill_one_lwp. - -2012-02-02 Pedro Alves - - * tracepoint.c (cmd_qtminftpilen): Return 0 if there's no current - inferior. - -2012-01-27 Pedro Alves - - * linux-low.c (linux_child_pid_to_exec_file): Delete. - (elf_64_file_p): Make static. - (linux_pid_exe_is_elf_64_file): New. - * linux-low.h (linux_child_pid_to_exec_file, elf_64_file_p): - Delete declarations. - (linux_pid_exe_is_elf_64_file): Declare. - * linux-x86-low.c (x86_arch_setup): Use - linux_pid_exe_is_elf_64_file. - -2012-01-25 Jan Kratochvil - - * linux-low.c (linux_wait_for_event_1): Rename to ... - (linux_wait_for_event): ... here and merge it with former - linux_wait_for_event - new variable wait_ptid, use it. - (linux_wait_for_event): Remove - merge it to linux_wait_for_event_1. - -2012-01-23 Pedro Alves - - * server.c (main): Avoid yet another case of infinite loop while - detaching/killing after a longjmp. - -2012-01-20 Jan Kratochvil - - Code cleanup. - * linux-low.c (linux_wait_for_event_1): Use ptid_is_pid. - -2012-01-20 Ulrich Weigand - - * hostio.c (handle_readlink): New function. - (handle_vFile): Call it to handle "vFile:readlink" packets. - -2012-01-20 Pedro Alves - Ulrich Weigand - - * server.c (handle_v_requests): Only support vAttach and vRun to - start multiple processes when in extended protocol mode. - -2012-01-17 Pedro Alves - - * tracepoint.c (initialize_tracepoint): Use mmap instead of - memalign plus mprotect to allocate the scratch buffer. - -2012-01-13 Pedro Alves - - * server.c (attach_inferior): Clear `cont_thread'. - -2012-01-13 Pedro Alves - - * server.c (main): Avoid infinite loop while detaching/killing - after a longjmp. - -2012-01-09 Doug Evans - - * server.c (start_inferior): Set last_ptid in --wrapper case. - -2012-01-06 Yao Qi - - * tracepoint.c [IN_PROCESS_AGENT] (debug_threads): Macro - defined. - [IN_PROCESS_AGENT] (debug_agent): New global variable. - -2012-01-04 Yao Qi - - * tracepoint.c (cmd_qtdp): Print debug message - for static tracepoint. - -2012-01-04 Yao Qi - - * tracepoint.c (trace_vdebug): Differentiate debug message - between gdbserver and IPA. - -2012-01-03 Yao Qi - - * tracepoint.c (tracepoint_was_hit): Don't collect for - static tracepoint. - -2012-01-02 Joel Brobecker - - * terminal.h: Reformat copyright header. - -2012-01-02 Joel Brobecker - - * server.c (gdbserver_version): Update copyright year. - * gdbreplay.c (gdbreplay_version): Likewise. - -2011-12-18 Jan Kratochvil - - * linux-low.c (linux_create_inferior): Put empty if clause for write. - - Revert: - 2011-12-18 Hui Zhu - * linux-low.c (linux_create_inferior): Save return value to ret. - -2011-12-18 Hui Zhu - - * linux-low.c (linux_create_inferior): Save return value to ret. - -2011-12-16 Doug Evans - - * linux-low.c (linux_create_inferior): If stdio connection, - redirect stdin from /dev/null, stdout to stderr. - * remote-utils.c (remote_is_stdio): New static global. - (remote_connection_is_stdio): New function. - (remote_prepare): Handle stdio connection. - (remote_open): Ditto. - (remote_close): Don't close stdin for stdio connections. - (read_prim,write_prim): New functions. Replace all calls to - read/write to these. - * server.c (main): Watch for "-" argument. Move call to - remote_prepare before start_inferior. - * server.h (STDIO_CONNECTION_NAME): New macro. - (remote_connection_is_stdio): Declare. - - * remote-utils.c (prepare_resume_reply): Remove extraneous \n - in debugging output. - -2011-12-15 Yao Qi - - * tracepoint.c: Include sys/syscall.h. - (gdb_ust_thread): Remove preprocessor conditional. - -2011-12-14 Pedro Alves - - * linux-low.c (linux_detach_one_lwp): Call - the_low_target.prepare_to_resume before detaching. - -2011-12-14 Yao Qi - - * tracepoint.c (gdb_ust_thread): Don't ignore return value - of write. - -2011-12-14 Yao Qi - - * i386-low.c (i386_low_stopped_data_address): Initialize local - variable `control'. - -2011-12-13 Pedro Alves - - PR remote/13492 - - * i386-low.c (i386_low_stopped_data_address): Avoid fetching - DR_CONTROL unless necessary. Extend comments. - * linux-x86-low.c (x86_linux_prepare_to_resume): Don't write to - DR0-3 if not used. If any watchpoint was set, clear DR_STATUS. - -2011-12-13 Yao Qi - - * tracepoint.c (trace_buffer_alloc): Replace magic numbers with - macros. - (upload_fast_traceframes, upload_fast_traceframes): Likewise. - -2011-12-08 Jan Kratochvil - - * linux-low.c (linux_kill): Skip PTRACE_KILL if LWP does not exist. - Print new debug message for such case. - -2011-12-06 Jan Kratochvil - - Fix overlapping memcpy. - * mem-break.c (set_raw_breakpoint_at): New variable buf. Use it for - the read_inferior_memory transfer. - (delete_fast_tracepoint_jump): New variable buf. Use it for the - write_inferior_memory transfer. - (set_fast_tracepoint_jump): New variable buf. Use it for the - read_inferior_memory and write_inferior_memory transfers. - (uninsert_fast_tracepoint_jumps_at, reinsert_fast_tracepoint_jumps_at) - (delete_raw_breakpoint, uninsert_raw_breakpoint): New variable buf. - Use it for the write_inferior_memory transfer. - (check_mem_read, check_mem_write): New gdb_asserts for overlapping - buffers. - -2011-12-06 Maciej W. Rozycki - - * linux-low.c (fetch_register, store_register): Make code - consistent, fix formatting. - -2011-12-06 Maciej W. Rozycki - - * linux-low.c (usr_store_inferior_registers): Factor out code - to handle individual registers into... - (store_register): ... this new function. - -2011-12-06 Ulrich Weigand - - * Makefile.in (s390-linux32v1.o, s390-linux32v1.c): New rules. - (s390-linux32v2.o, s390-linux32v2.c): Likewise. - (s390-linux64v1.o, s390-linux64v1.c): Likewise. - (s390-linux64v2.o, s390-linux64v2.c): Likewise. - (s390x-linux64v1.o, s390x-linux64v1.c): Likewise. - (s390x-linux64v2.o, s390x-linux64v2.c): Likewise. - * configure.srv [s390*-*-linux*] (srv_regobj): Add new objects. - (srv_xmlfiles): Add new XML files. - - * linux-s390-low.c: Include "elf/common.h", , - and . - (PTRACE_GETREGSET, PTRACE_SETREGSET): Define if undefined. - (init_registers_s390_linux32v1): Add prototype. - (init_registers_s390_linux32v2): Likewise. - (init_registers_s390_linux64v1): Likewise. - (init_registers_s390_linux64v2): Likewise. - (init_registers_s390x_linux64v1): Likewise. - (init_registers_s390x_linux64v2): Likewise. - (s390_num_regs): Increment to 52. - (s390_regmap): Add orig_r2 register. - (s390_num_regs_3264): Increment to 68. - (s390_regmap_3264): Add orig_r2 register. - (s390_collect_ptrace_register): Handle orig_r2 register. - (s390_supply_ptrace_register): Likewise. - (s390_fill_last_break): New function. - (s390_store_last_break): Likewise. - (s390_fill_system_call): New function. - (s390_store_system_call): Likewise. - (target_regsets): Handle NT_S390_LAST_BREAK and NT_S390_SYSTEM_CALL - register sets. - (s390_check_regset): New function. - (s390_arch_setup): Check for presence of NT_S390_LAST_BREAK and - NT_S390_SYSTEM_CALL regsets and use appropriate description. - Update target_regsets for available register sets. - -2011-12-02 Paul Pluzhnikov - Jan Kratochvil - - * linux-low.c (get_phdr_phnum_from_proc_auxv, get_dynamic, get_r_debug) - (read_one_ptr, struct link_map_offsets, linux_qxfer_libraries_svr4): - New. - (struct linux_target_ops): Install linux_qxfer_libraries_svr4. - * linux-low.h (struct process_info_private): New member r_debug. - * server.c (handle_qxfer_libraries): Call - the_target->qxfer_libraries_svr4. - (handle_qxfer_libraries_svr4): New function. - (qxfer_packets): New entry "libraries-svr4". - (handle_query): Check QXFER_LIBRARIES_SVR4 and report libraries-svr4. - * target.h (struct target_ops): New member qxfer_libraries_svr4. - * remote.c (remote_xfer_partial): Call add_packet_config_cmd for - PACKET_qXfer_libraries_svr4. - -2011-11-30 Ulrich Weigand - - * linux-s390-low.c (s390_collect_ptrace_register): Fully convert - PSW address/mask between 8-byte and 16-byte formats. - (s390_supply_ptrace_register): Likewise. - (s390_get_pc, s390_set_pc): 4-byte PSW address always includes - basic addressing mode bit. - -2011-11-24 Stan Shebs - - * tracepoint.c (cmd_qtstatus): Use plongest instead of %llx. - -2011-11-17 Stan Shebs - - * tracepoint.c (struct tracepoint): New field traceframe_usage. - (tracing_start_time): New global. - (tracing_stop_time): New global. - (tracing_user_name): New global. - (tracing_notes): New global. - (tracing_stop_note): New global. - (cmd_qtstart): Set traceframe_usage, start_time. - (stop_tracing): Set stop_time. - (cmd_qtstatus): Report additional status. - (cmd_qtp): New function. - (handle_tracepoint_query): Call it. - (cmd_qtnotes): New function. - (handle_tracepoint_general_set): Call it. - (get_timestamp): Rename from tsv_get_timestamp. - -2011-11-14 Stan Shebs - Kwok Cheung Yeung - - * linux-x86-low.c (small_jump_insn): New. - (i386_install_fast_tracepoint_jump_pad): Add arguments for - trampoline and error message, build a trampoline and issue a small - jump instruction to it. - (x86_install_fast_tracepoint_jump_pad): Add arguments for - trampoline and error message. - (x86_get_min_fast_tracepoint_insn_len): New. - (the_low_target): Add call to x86_get_min_fast_tracepoint_insn_len. - * linux-low.h (struct linux_target_ops): Add arguments to - install_fast_tracepoint_jump_pad operation, add new operation. - * linux-low.c (linux_install_fast_tracepoint_jump_pad): Add - arguments. - (linux_get_min_fast_tracepoint_insn_len): New function. - (linux_target_op): Add new operation. - * tracepoint.c (gdb_trampoline_buffer): New IPA variable. - (gdb_trampoline_buffer_end): Ditto. - (gdb_trampoline_buffer_error): Ditto. - (struct ipa_sym_addresses): Add fields for new IPA variables. - (symbol_list): Add entries for new IPA variables. - (struct tracepoint): Add fields to hold the address range of the - trampoline used by the tracepoint. - (trampoline_buffer_head): New static variable. - (trampoline_buffer_tail): Ditto. - (claim_trampoline_space): New function. - (have_fast_tracepoint_trampoline_buffer): New function. - (clone_fast_tracepoint): Fill in trampoline fields of tracepoint - structure. - (install_fast_tracepoint): Ditto, also add error buffer argument. - (cmd_qtminftpilen): New function. - (handle_tracepoint_query): Add response to qTMinFTPILen packet. - (fast_tracepoint_from_trampoline_address): New function. - (fast_tracepoint_collecting): Handle trampoline as part of jump - pad space. - (set_trampoline_buffer_space): New function. - (initialize_tracepoint): Initialize new IPA variables. - * target.h (struct target_ops): Add arguments to - install_fast_tracepoint_jump_pad operation, add new - get_min_fast_tracepoint_insn_len operation. - (target_get_min_fast_tracepoint_insn_len): New. - (install_fast_tracepoint_jump_pad): Add arguments. - * server.h (IPA_BUFSIZ): Define. - * linux-i386-ipa.c: Include extra header files. - (initialize_fast_tracepoint_trampoline_buffer): New function. - (initialize_low_tracepoint): Call it. - * server.h (set_trampoline_buffer_space): Declare. - (claim_trampoline_space): Ditto. - (have_fast_tracepoint_trampoline_buffer): Ditto. - -2011-11-14 Yao Qi - - * server.c (handle_query): Handle InstallInTrace for qSupported. - * tracepoint.c (add_tracepoint): Sort list. - (install_tracepoint, download_tracepoint): New. - (cmd_qtdp): Call them to install and download tracepoints. - (sort_tracepoints): Removed. - (cmd_qtstart): Update. - -2011-11-14 Yao Qi - - * mem-break.c (inc_ref_fast_tracepoint_jump): New. - * mem-break.h: Declare. - * tracepoint.c (cmd_qtstart): Move some code to ... - (clone_fast_tracepoint, install_fast_tracepoint): ... here. - New. - (download_tracepoints): Move some code to ... - (download_tracepoint_1): ... here. New. - -2011-11-08 Yao Qi - - * remote-utils.c (relocate_instruction): A comment fix. - -2011-11-07 Joel Brobecker - - * win32-i386-low.c (dr_status_mirror, dr_control_mirror): Delete. - (i386_dr_low_get_control, i386_dr_low_get_status): Use - dr_status_mirror and dr_control_mirror from debug_reg_state. - (i386_dr_low_get_status): Use debug_reg_state.dr_status_mirror - (i386_initial_stuff): Remove use of deleted globals. - (i386_get_thread_context, i386_set_thread_context, - i386_thread_added): Use dr_status_mirror and dr_control_mirror - from debug_reg_state. - -2011-11-05 Yao Qi - - * tracepoint.c (gdb_collect): Loop over tracepoints of same - address as TPOINT's. - -2011-11-02 Stan Shebs - - * tracepoint.c (agent_mem_read_string): New function. - (eval_agent_expr): Call it for tracenz. - * server.c (handle_query): Report support for tracenz. - -2011-11-02 Yao Qi - - * tracepoint.c (cmd_qtstart): Remove unused local variables. - -2011-11-02 Yao Qi - - * target.h: Fix a typo in comment. - -2011-10-31 Pedro Alves - - * mem-break.c (check_mem_write): Add `myaddr' parameter. Don't - clobber the breakpoints' shadows with fast tracepoint jumps. - * mem-break.h (check_mem_write): Add `myaddr' parameter. - * target.c (write_inferior_memory): Also pass MYADDR down to - check_mem_write. - -2011-10-07 Ulrich Weigand - - * configure.ac: Check support for personality routine. - * configure: Regenerate. - * config.in: Likewise. - * linux-low.c: Include . - Define ADDR_NO_RANDOMIZE if necessary. - (linux_create_inferior): Disable address space randomization when - forking inferior, if requested. - (linux_supports_disable_randomization): New function. - (linux_target_ops): Install it. - * server.h (disable_randomization): Declare. - * server.c (disable_randomization): New global variable. - (handle_general_set): Handle QDisableRandomization. - (handle_query): Likewise for qSupported. - (main): Support --disable-randomization and --no-disable-randomization - command line arguments. - * target.h (struct target_ops): Add supports_disable_randomization. - (target_supports_disable_randomization): New macro. - -2011-09-29 Mike Frysinger - - * linux-low.c (target_loadseg): Add defined PTRACE_GETFDPIC to the - ifdef check. - [PT_GETDSBT] (target_loadmap): Wrap in a defined PT_GETDSBT check. - [!PT_GETDSBT] (target_loadmap): New definition. - (LINUX_LOADMAP, LINUX_LOADMAP_EXEC, LINUX_LOADMAP_INTERP): Define. - (linux_read_loadmap): Change PTRACE_GETDSBT_EXEC to - LINUX_LOADMAP_EXEC, PTRACE_GETDSBT_INTERP to LINUX_LOADMAP_INTERP, - and PT_GETDSBT to LINUX_LOADMAP. - [!PT_GETDSBT] (linux_read_loadmap): Define to NULL. - (linux_target_ops): Delete unnecessary ifdef PT_GETDSBT check. - -2011-09-21 Ulrich Weigand - - * linux-arm-low.c (struct arm_linux_hwbp_cap): Remove. - (arm_linux_hwbp_cap): New static variable. - (arm_linux_get_hwbp_cap): Replace by ... - (arm_linux_init_hwbp_cap): ... this new function. - (arm_linux_get_hw_breakpoint_count): Use arm_linux_hwbp_cap. - (arm_linux_get_hw_watchpoint_count): Likewise. - (arm_linux_get_hw_watchpoint_max_length): Likewise. - (arm_arch_setup): Call arm_linux_init_hwbp_cap. - (arm_prepare_to_resume): Use perror_with_name instead of error. - -2011-09-21 Ulrich Weigand - - * linux-arm-low.c: Include . - (PTRACE_GETHBPREGS, PTRACE_SETHBPREGS): Define if necessary. - (struct arm_linux_hwbp_cap): New data type. - (arm_hwbp_type, arm_hwbp_control_t): New typedefs. - (struct arm_linux_hw_breakpoint): New data type. - (MAX_BPTS, MAX_WPTS): Define. - (struct arch_process_info, struct arch_lwp_info): New data types. - (arm_linux_get_hwbp_cap): New function. - (arm_linux_get_hw_breakpoint_count): Likewise. - (arm_linux_get_hw_watchpoint_count): Likewise. - (arm_linux_get_hw_watchpoint_max_length): Likewise. - (arm_hwbp_control_initialize): Likewise. - (arm_hwbp_control_is_enabled): Likewise. - (arm_hwbp_control_is_initialized): Likewise. - (arm_hwbp_control_disable): Likewise. - (arm_linux_hw_breakpoint_equal): Likewise. - (arm_linux_hw_point_initialize): Likewise. - (struct update_registers_data): New data structure. - (update_registers_callback: New function. - (arm_insert_point): Likewise. - (arm_remove_point): Likewise. - (arm_stopped_by_watchpoint): Likewise. - (arm_stopped_data_address): Likewise. - (arm_new_process): Likewise. - (arm_new_thread): Likewise. - (arm_prepare_to_resume): Likewise. - (the_low_target): Register arm_insert_point, arm_remove_point, - arm_stopped_by_watchpoint, arm_stopped_data_address, arm_new_process, - arm_new_thread, and arm_prepare_to_resume. - -2011-09-15 Stan Shebs - - * server.h (struct emit_ops): Add compare-goto fields. - * tracepoint.c (gdb_agent_op_sizes): New table. - (emit_eq_goto): New function. - (emit_ne_goto): New function. - (emit_lt_goto): New function. - (emit_le_goto): New function. - (emit_gt_goto): New function. - (emit_ge_goto): New function. - (is_goto_target): New function. - (compile_bytecodes): Recognize special cases of compare-goto - combinations and call specialized emitters for them. - * linux-x86-low.c (amd64_emit_eq_goto): New function. - (amd64_emit_ne_goto): New function. - (amd64_emit_lt_goto): New function. - (amd64_emit_le_goto): New function. - (amd64_emit_gt_goto): New function. - (amd64_emit_ge_goto): New function. - (amd64_emit_ops): Add the new functions. - (i386_emit_eq_goto): New function. - (i386_emit_ne_goto): New function. - (i386_emit_lt_goto): New function. - (i386_emit_le_goto): New function. - (i386_emit_gt_goto): New function. - (i386_emit_ge_goto): New function. - (i386_emit_ops): Add the new functions. - -2011-09-08 Stan Shebs - - * linux-x86-low.c (i386_emit_prologue): Save %ebx. - (i386_emit_epilogue): Restore %ebx. - -2011-08-31 Jie Zhang - - * server.c (step_thread): Remove definition. - (process_serial_event): Don't handle Hs. - * server.h (step_thread): Remove declaration. - * target.c (set_desired_inferior): Remove use of step_thread. - -2011-08-24 Luis Machado - - * linux-low.c: Include linux-procfs.h. - (linux_attach_lwp_1): Update comments. - (linux_attach): Scan for existing threads when attaching to a - process that is the tgid. - * Makefile.in: Update dependencies. - -2011-08-24 Luis Machado - - * configure.srv: Add linux-procfs.o dependencies. - -2011-08-14 Yao Qi - - * target.h (struct target_ops): Fix indent. - * win32-low.c (win32_target_ops): Fix comment. - -2011-08-14 Andrew Jenner - Yao Qi - - * Makefile.in (clean): Remove tic6x-*.c files. - (linux-tic6x-low.o, tic6x-c62x-linux.o, tic6x-c64x-linux.o): New rules. - (tic6x-c64xp-linux.o, tic6x-c62x-linux.c, tic6x-c64x-linux.c): Likewise. - (tic6x-c64xp-linux.c): Likewise. - * configure.srv: Add support for tic6x-*-uclinux. - * linux-tic6x-low.c: New. - * linux-low.c (PT_TEXT_ADDR, PT_DATA_ADDR, PT_TEXT_END_ADDR): Define. - -2011-08-14 Andrew Stubbs - Yao Qi - - * target.h (struct target_ops): Add read_loadmap. - * linux-low.c (struct target_loadseg): New type. - (struct target_loadmap): New type. - (linux_read_loadmap): New function. - (linux_target_ops): Add linux_read_loadmap. - * server.c (handle_query): Support qXfer:fdpic:read packet. - * win32-low.c (win32_target_ops): Initialize field `read_loadmap' - to NULL. - -2011-08-05 Eli Zaretskii - - * win32-low.c: Include . - -2011-07-22 Pedro Alves - - * i386-low.c (i386_insert_aligned_watchpoint): Don't pass the info - to the inferior here. - (i386_remove_aligned_watchpoint): Ditto. - (i386_handle_nonaligned_watchpoint): Return immediate on fail to - fit part of the watchpoint in the debug registers. - (i386_update_inferior_debug_regs): New. - (i386_low_insert_watchpoint): Work on a local mirror of the debug - registers, and only update the inferior on success. - (i386_low_remove_watchpoint): Ditto. - -2011-07-22 Kwok Cheung Yeung - - * linux-low.c (compare_ints, unique, list_threads, show_process, - linux_core_of_thread): Delete. - (linux_target_ops): Change linux_core_of_thread to - linux_common_core_of_thread. - (linux_qxfer_osdata): Defer to linux_common_xfer_osdata. - * utils.c (malloc_failure): Change type of argument. - (xmalloc, xrealloc, xcalloc, xsnprintf): Delete. - * Makefile.in (SFILES): Add common/common-utils.c, common/xml-utils.c, - common/linux-osdata.c, common/ptid.c and common/buffer.c. - (OBS): Add xml-utils.o, common-utils.o, ptid.o and buffer.o. - (IPA_OBJS): Add common-utils-ipa.o. - (ptid_h, linux_osdata_h): New macros. - (server_h): Add common/common-utils.h, common/xml-utils.h, - common/buffer.h, common/gdb_assert.h, common/gdb_locale.h and - common/ptid.h. - (common-utils-ipa.o, common-utils.o, xml-utils.o, linux-osdata.o, - ptid.o, buffer.o): New rules. - (linux-low.o): Add common/linux-osdata.h as a dependency. - * configure.srv (srv_tgtobj): Add linux-osdata.o to Linux targets. - * configure.ac: Add AC_HEADER_DIRENT check. - * config.in: Regenerate. - * configure: Regenerate. - * remote-utils.c (xml_escape_text): Delete. - (buffer_grow, buffer_free, buffer_init, buffer_finish, - buffer_xml_printf): Move to common/buffer.c. - * server.c (main): Remove call to initialize_inferiors. - * server.h (struct ptid, ptid_t, minus_one_ptid, null_ptid, - ptid_build, pid_to_ptid, ptid_get_pid, ptid_get_lwp, ptid_get_tid, - ptid_equal, ptid_is_pid, initialize_inferiors, xml_escape_text, - internal_error, gdb_assert, gdb_assert_fail): Delete. - (struct buffer, buffer_grow, buffer_free, buffer_init, buffer_finish, - buffer_xml_printf, buffer_grow_str, buffer_grow_str0): Move to - common/buffer.h. - * inferiors.c (null_ptid, minus_one_ptid, ptid_build, pid_to_ptid, - ptid_get_pid, ptid_get_lwp, ptid_get_tid, ptid_equal, ptid_is_pid, - initialize_inferiors): Delete. - -2011-07-20 Pedro Alves - - * tracepoint.c (tracepoint_look_up_symbols): Return upon the first - symbol error. - -2011-05-31 Pedro Alves - - * linux-x86-low.c (i386_dr_low_get_addr): Fix off by one in - assertion. - * win32-i386-low.c (i386_dr_low_get_addr): Ditto. - -2011-05-26 Yao Qi - - * Makefile.in (thread-db.o): Track dependence to - common/gdb_thread_db.h. - * thread-db.c: include gdb_thread_db.h from right place. - -2011-05-16 Adrian Cornish - - * linux-i386-ipa.c (supply_static_tracepoint_registers): Pass - __FILE__ and __LINE__ to internal_error. - -2011-05-13 Doug Evans - - * thread-db.c (try_thread_db_load_from_sdir): New function. - (try_thread_db_load_from_dir): New function. - (thread_db_load_search): Handle $sdir, ignore $pdir. - Remove trying of system directories if search of - libthread-db-search-path fails, that is now done via $sdir. - -2011-05-12 Kwok Cheung Yeung - - * server.c (handle_query): Add EnableDisableTracepoints to the list - of supported features. - * tracepoint.c (clear_installed_tracepoints): Uninstall disabled - tracepoints. - (cmd_qtenable_disable): New. - (cmd_qtstart): Install tracepoints even if disabled. - (handle_tracepoint_general_set): Add call to cmd_qtenable_disable on - receiving a QTEnable or QTDisable packet. - (gdb_collect): Skip data collection if fast tracepoint is disabled. - (ust_marker_to_static_tracepoint): Do not ignore disabled static - tracepoints. - (gdb_probe): Skip data collection if static tracepoint is disabled. - -2011-05-10 Doug Evans - - * thread-db.c (thread_db_handle_monitor_command): Handle elided path. - -2011-05-04 Doug Evans - - * linux-low.c (linux_join): Skip process lookup. - * spu-low.c (spu_join): Ditto. - * server.c (join_inferiors_callback): Delete. - (process_serial_event): For 'D' packet (detach) call join_inferior - directly. - -2011-05-04 Joseph Myers - - * README: Don't mention xscale*-*-linux*. - * configure.srv (xscale*-*-linux*): Don't handle target. - -2011-04-27 Nathan Froyd - - * linux-x86-low.c (amd64_emit_const): Call memcpy instead of - casting pointers. - (amd64_emit_reg, amd64_emit_int_call_1, amd64_emit_void_call_2): - (i386_emit_const, i386_emit_reg, i386_emit_int_call_1): - (i386_emit_void_call_2): Likewise. - -2011-04-26 Yao Qi - - * linux-low.c: Move common macros to linux-ptrace.h. - Include linux-ptrace.h. - * Makefile.in (linux_ptrace_h): New. - (linux-low.o): Depends on linux-ptrace.h. - -2011-04-24 Jan Kratochvil - - * remote-utils.c (handle_accept_event): Close LISTEN_DESC only if - RUN_ONCE. Comment for the LISTEN_DESC delete_file_handler call. - (remote_prepare): New function with most of the TCP code from ... - (remote_open): ... here. Detect PORT here unconditionally. Move also - setting transport_is_reliable. - * server.c (run_once): New variable. - (gdbserver_usage): Document it. - (main): Set run_once for `--once'. Call remote_prepare. Exit after - the first run if RUN_ONCE. - * server.h (run_once, remote_prepare): New declarations. - -2011-04-19 Tom Tromey - - * win32-low.c (handle_load_dll): Remove duplicate "the". - -2011-04-07 Pierre Muller - - Remove support for old Cygwin 1.5 versions. - * win32-low.c (win32_create_inferior): Use new cygwin_path_list - function to avoid warning. - (win32_add_one_solib): Use cygwin_conv_path function to avoid - warning. - -2011-03-18 Pierre Muller - - * gdbserver/server.h (Macro _): Define it if not available. - -2011-03-14 Michael Snyder - - * hostio.c (handle_close): Remove unnecessary null test. - -2011-03-10 Joel Brobecker - - * Makefile.in (maintainer-clean realclean distclean): Remove - "make ... subdir_do" command. - -2011-03-10 Michael Snyder - - * tracepoint.c (tracepoint_finish_step): Fix loop variable. - - * server.c (handle_v_run): Free alloced buffer on early return. - -2011-03-09 Yao Qi - - Revert: - 2011-03-04 Yao Qi - - * Makefile.in: Remove GNU make feature --directory. - - 2011-03-05 Yao Qi - - * 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-02-11 Yao Qi - - * configure.ac: Call AC_PROG_RANLIB. - * Makefile.in: Remove signals.o from OBS. Link libcommon.a. - * configure: Regenerate. - -2011-03-07 Jan Kratochvil - - * remote-utils.c (putpkt_binary_1): Calculate BUF2 size dynamically. - -2011-03-06 Yao Qi - - * Makefile.in (REQUIRED_SUBDIRS): Remove $(LIBCOMMON_DIR). - -2011-03-05 Yao Qi - - * 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-04 Yao Qi - - * Makefile.in: Remove GNU make feature --directory. - -2011-03-04 Michael Snyder - - * server.c (queue_stop_reply): Call xmalloc not malloc. - -2011-03-02 Michael Snyder - - * linux-arm-low.c (arm_arch_setup): Replace malloc with xmalloc. - -2011-02-28 Michael Snyder - - * tracepoint.c (cmd_qtv): Discard unused value 'packet'. - (cmd_qtframe): Ditto. - (cmd_qtbuffer): Ditto. - (cmd_bigqtbuffer): Ditto. - - * utils.c (decimal2str): Initialize 'width' to nine, then - don't mess with it. - -2011-02-28 Ulrich Weigand - - * hostio.c (require_data): Free *data, not data. - -2011-02-28 Jan Kratochvil - - * hostio.c (require_data): Use free, not xfree. - -2011-02-27 Michael Snyder - - * server.c (handle_query): Discard unused value. - - * hostio.c (require_data): Free malloc memory before returning - error. - -2011-02-26 Michael Snyder - - * linux-low.c (list_threads): Call closedir for dirent. - -2011-02-27 Michael Snyder - - * i386-low.c (i386-length_and_rw_bits): Comment the fact that - a case statement falls through. - - * linux-low.c (linux_xfer_siginfo): Fix fencepost error. - - * linux-amd64-ipa.c (gdb_agent_get_raw_reg): Fix fencepost error - in comparison. - -2011-02-26 Michael Snyder - - * utils.c (decimal2str): Eliminate dead code and dead param. - (pulongest): Drop dead param from call to decimal2str. - (plongest): Ditto. - -2011-02-24 Joel Brobecker - - Revert the following patch (not approved yet): - 2011-02-21 Hui Zhu - * tracepoint.c (tp_printf): New function. - (eval_agent_expr): Handle gdb_agent_op_printf. - -2011-02-21 Hui Zhu - - * tracepoint.c (tp_printf): New function. - (eval_agent_expr): Handle gdb_agent_op_printf. - -2011-02-18 Tom Tromey - - * Makefile.in (tracepoint-ipa.o): Depend on ax.def. - (tracepoint.o): Likewise. - * tracepoint.c (enum gdb_agent_op): Use ax.def. - (gdb_agent_op_names): Likewise. - -2011-02-18 Tom Tromey - - * tracepoint.c (enum gdb_agent_op) : New constants. - (gdb_agent_op_names): Add pick and roll. - (eval_agent_expr) : New - cases. - -2011-02-15 Jan Kratochvil - - * aclocal.m4: Regenerated with aclocal-1.11.1. - -2011-02-14 Pedro Alves - - * server.c (handle_qxfer_traceframe_info): New. - (qxfer_packets): Register "traceframe-info". - (handle_query): Report support for qXfer:traceframe-info:read+. - * tracepoint.c (match_blocktype): New. - (traceframe_find_block_type): Rename to ... - (traceframe_walk_blocks): ... this. Add callback filter argument, - and use it. - (traceframe_find_block_type): New, reimplemented on top of - traceframe_walk_blocks. - (build_traceframe_info_xml): New. - (traceframe_read_info): New. - * server.h (traceframe_read_info): Declare. - -2011-02-11 Yao Qi - - * configure.ac: Call AC_PROG_RANLIB. - * Makefile.in: Remove signals.o from OBS. Link libcommon.a. - * configure: Regenerate. - -2011-02-07 Pedro Alves - - * server.c (gdb_read_memory): Change return semantics to allow - partial transfers. - (handle_search_memory_1): Adjust. - (process_serial_event) <'m' packet>: Handle partial transfers. - * tracepoint.c (traceframe_read_mem): Handle partial transfers. - -2011-01-28 Pedro Alves - - * regcache.c (init_register_cache): Initialize - regcache->register_status. - (free_register_cache): Release regcache->register_status. - (regcache_cpy): Copy register_status. - (registers_to_string): Print 'x's for unavailable registers. - (supply_register): Mark the register's status valid or - unavailable, depending on whether a buffer was passed in or not. - (supply_register_zeroed): New. - (supply_regblock): Mark the registers' status valid or - unavailable, depending on whether a buffer was passed in or not. - * regcache.h (REG_UNAVAILABLE, REG_VALID): New defines. - (struct regcache): New `register_status' field. - (supply_register_zeroed): Declare. - * i387-fp.c (i387_xsave_to_cache): Zero out registers using - supply_register_zeroed, rather than passing a NULL buffer to - supply_register. - * tracepoint.c (fetch_traceframe_registers): Update comment. - -2011-01-28 Pedro Alves - - * i387-fp.c (i387_xsave_to_cache): Make passing NULL as register - buffer explicit. - -2011-01-25 Pedro Alves - - * server.h (decode_xfer_write): Change prototype. - * remote-utils.c (decode_xfer_write): Remove `annex' parameter, - and don't extract the annex here. - * server.c (decode_xfer_read): Remove `annex' parameter, - and don't extract the annex here. - (decode_xfer): New. - (struct qxfer): New. - (handle_qxfer_auxv, handle_qxfer_features, handle_qxfer_libraries) - (handle_qxfer_osdata, handle_qxfer_siginfo, handle_qxfer_spu) - (handle_qxfer_statictrace): New functions, abstracted out from - handle_query, and made to use the struct qxfer interface. - (handle_threads_qxfer_proper): Rename to ... - (handle_qxfer_threads_proper): ... this. - (handle_threads_qxfer): Rename to ... - (handle_qxfer_threads): ... this. Adjust. - (qxfer_packets): New array. - (handle_qxfer): New function. - (handle_query): Use handle_qxfer. - -2011-01-05 Michael Snyder - - * gdbreplay.c: Shorten lines of >= 80 columns. - * linux-low.c: Ditto. - * linux-ppc-low.c: Ditto. - * linux-s390-low.c: Ditto. - * linux-sparc-low.c: Ditto. - * linux-x86-low.c: Ditto. - * linux-xtensa-low.c: Ditto. - * mem-break.c: Ditto. - * nto-low.c: Ditto. - * regcache.h: Ditto. - * remote-utils.c: Ditto. - * server.c: Ditto. - * server.h: Ditto. - * thread-db.c: Ditto. - * tracepoint.c: Ditto. - * utils.c: Ditto. - * win32-low.h: Ditto. - -2011-01-05 Joel Brobecker - - * gdbserver/configure.ac, gdbserver/gdbserver.1: Copyright year - update. - -2011-01-01 Joel Brobecker - - * server.c (gdbserver_version): Update copyright year in version - output. - * gdbreplay.c (gdbreplay_version): Ditto. - -2010-12-29 Jie Zhang - - * configure.srv (bfin-*-*linux*): Handle Blackfin/Linux targets. - * linux-bfin-low.c: New file. - * linux-low.c: Define PT_TEXT_ADDR, PT_TEXT_END_ADDR, and - PT_DATA_ADDR for BFIN targets. - * Makefile.in (SFILES): Add linux-bfin-low.c. - (clean): Remove reg-bfin.c. - (linux-bfin-low.o, reg-bfin.o, reg-bfin.c): New targets. - * README: Mention supported Blackfin targets. - -2010-12-23 Mike Frysinger - - * .gitignore: New file. - -2010-11-16 Mike Frysinger - - * linux-low.c (linux_tracefork_child): Add char* cast to arg. - -2010-10-22 Jie Zhang - - * Makefile.in: Add FLAGS_TO_PASS variable. - (install): Remove dependency of install-only and recursively - invoke make for install-only. - -2010-10-04 Doug Evans - - * Makefile.in (uninstall): Use $(DESTDIR). - -2010-09-24 Pedro Alves - - PR gdb/11842 - - * linux-x86-low.c (compat_siginfo_from_siginfo) - (siginfo_from_compat_siginfo): Also copy si_pid and si_uid when - si_code is < 0. Check for si_code == SI_TIMER before checking for - si_code < 0. - -2010-09-13 Joel Brobecker - - * lynx-i386-low.c: New file. - * configure.srv: Add handling of i[34567]86-*-lynxos* targets. - -2010-09-13 Joel Brobecker - - * lynx-low.c (ptrace_request_to_str): Remove handling for - request values that have been removed in LynxOS 5.x. - -2010-09-13 Joel Brobecker - - * lynx-low.c, lynx-ppc-loc.c: Include instead of - - -2010-09-09 Nathan Sidwell - - * configure.ac: Add --enable-inprocess-agent option. - * configure: Rebuilt. - -2010-09-06 Yao Qi - - * 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. - -2010-09-06 Yao Qi - - * linux-low.c (maybe_move_out_of_jump_pad): Restore current_inferior - on return. - -2010-09-06 Jan Kratochvil - - * target.c (mywait) : Fix to use INTEGER. - -2010-09-06 Pedro Alves - - * Makefile.in (install-only): Replace $IPA_DEPFILES with - "$(IPA_DEPFILES)". - -2010-09-01 Joel Brobecker - - * 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. - -2010-09-01 Joel Brobecker - - * 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. - -2010-09-01 Joel Brobecker - - * 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. - -2010-09-01 Joel Brobecker - - * Makefile.in (memmem.o): Build with -Wno-error. - -2010-09-01 Joel Brobecker - - * 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. - -2010-09-01 Joel Brobecker - - * 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. - -2010-08-28 Pedro Alves - - * linux-low.c (__SIGRTMIN): Define if not already defined. - (linux_create_inferior): Check for __ANDROID__ rather than - __SIGRTMIN. - (enqueue_one_deferred_signal): Don't requeue non-RT signals that - are already deferred. - (linux_wait_1): Check for __ANDROID__ rather than __SIGRTMIN. - (linux_resume_one_thread): Don't queue a SIGSTOP if the lwp is - stopped and already has a pending signal to report. - (proceed_one_lwp): : Don't queue a SIGSTOP if the lwp already has - a pending signal to report or is moving out of a jump pad. - (linux_init_signals): Check for __ANDROID__ rather than - __SIGRTMIN. - -2010-08-28 Pedro Alves - - * linux-low.c (linux_stabilize_threads): Wrap debug output in a - debug_threads check. Avoid a linear search when not doing debug - output. - -2010-08-27 Pedro Alves - - * event-loop.c (event_handle_func): Adjust to use gdb_fildes_t. - (struct gdb_event) : Change type to gdb_fildes_t. - (struct file_handler) : Change type to gdb_fildes_t. - (process_event): Change local fd's type to gdb_fildes_t. - (create_file_handler): Adjust prototype. - (delete_file_handler): Adjust prototype. - (handle_file_event): Adjust prototype. Use pfildes. - (create_file_event): Adjsut prototype. - * remote-utils.c (remote_desc, listen_desc): Change type to - gdb_fildes_t. - * server.h: New gdb_fildes_t typedef. - [USE_WIN32API]: Include winsock2.h. - (delete_file_handler, add_file_handler): Adjust prototypes. - (pfildes): Declare. - * utils.c (pfildes): New. - -2010-08-27 Pedro Alves - - * configure.ac (build_warnings): Add -Wno-char-subscripts. - * configure: Regenerate. - -2010-08-27 Pedro Alves - - * linux-low.c (linux_unprepare_to_access_memory): Rename to ... - (linux_done_accessing_memory): ... this. - (linux_target_ops): Adjust. - * linux-x86-low.c (x86_insert_point, x86_remove_point): Adjust. - * nto-low.c (nto_target_ops): Adjust comment. - * server.c (gdb_read_memory, gdb_write_memory): Adjust. - * spu-low.c (spu_target_ops): Adjust comment. - * target.h (target_ops): Rename unprepare_to_access_memory field - to done_accessing_memory. - (unprepare_to_access_memory): Rename to ... - (done_accessing_memory): ... this. - -2010-08-26 Pedro Alves - - * linux-low.c (linux_prepare_to_access_memory): New. - (linux_unprepare_to_access_memory): New. - (linux_target_ops): Install them. - * server.c (read_memory): Rename to ... - (gdb_read_memory): ... this. Use - prepare_to_access_memory/prepare_to_access_memory. - (write_memory): Rename to ... - (gdb_write_memory): ... this. Use - prepare_to_access_memory/prepare_to_access_memory. - (handle_search_memory_1): Adjust. - (process_serial_event): Adjust. - * target.h (struct target_ops): New fields - prepare_to_access_memory and unprepare_to_access_memory. - (prepare_to_access_memory, unprepare_to_access_memory): New. - * linux-x86-low.c (x86_insert_point, x86_remove_point): Use - prepare_to_access_memory/prepare_to_access_memory. - * nto-low.c (nto_target_ops): Adjust. - * spu-low.c (spu_target_ops): Adjust. - * win32-low.c (win32_target_ops): Adjust. - -2010-08-26 Pedro Alves - - * Makefile.in (WARN_CFLAGS): Get it from configure. - (WERROR_CFLAGS): New. - (INTERNAL_CFLAGS): Add WERROR_CFLAGS. - * configure.ac: Introduce --enable-werror, which adds -Werror to - the compiler command line. Enabled by default. Disable with - --disable-werror. Add -Wdeclaration-after-statement - Wpointer-arith and -Wformat-nonliteral to warning flags. - * configure: Regenerate. - -2010-08-26 Pedro Alves - - * mem-break.c [HAVE_MALLOC_H]: Include malloc.h. - -2010-08-26 Pedro Alves - - * gdbreplay.c (remote_error): New. - (gdbchar): New. - (expect): Use gdbchar. Check for error reading from GDB. - Clarify sync error output. - (play): Check for errors writing to GDB. - * linux-low.c (sigchld_handler): Really ignore `write' errors. - * remote-utils.c (getpkt): Check for errors writing to the remote - descriptor. - -2010-08-25 Pedro Alves - - * linux-low.c (linux_wait_1): Move non-debugging code out of - `debug_threads' control. - -2010-08-25 Pedro Alves - - * linux-low.c (linux_wait_1): Don't set last_status here. - * server.c (push_event, queue_stop_reply_callback): Assert we're - not pushing a TARGET_WAITKIND_IGNORE event. - (start_inferior, start_inferior, attach_inferior, handle_v_cont) - (myresume, handle_target_event): Set the thread's last_resume_kind - and last_status from the target returned status. - -2010-08-25 Pedro Alves - - PR threads/10729 - - * linux-x86-low.c (update_debug_registers_callback): New. - (i386_dr_low_set_addr): Use it. - (i386_dr_low_get_addr): New. - (i386_dr_low_set_control): Use update_debug_registers_callback. - (i386_dr_low_get_control): New. - (i386_dr_low_get_status): Adjust. - * linux-low.c (linux_stop_lwp): New. - * linux-low.h (linux_stop_lwp): Declare. - - * i386-low.c (I386_DR_GET_RW_LEN): Take the dr7 contents as - argument instead of a i386_debug_reg_state. - (I386_DR_WATCH_HIT): Take the dr6 contents as argument instead of - a i386_debug_reg_state. - (i386_insert_aligned_watchpoint): Adjust. - (i386_remove_aligned_watchpoint): Adjust. - (i386_low_stopped_data_address): Read the debug registers from the - inferior instead of from the mirrors. - * i386-low.h (struct i386_debug_reg_state): Extend comment. - (i386_dr_low_get_addr): Declare. - (i386_dr_low_get_control): Declare. - (i386_dr_low_get_status): Change prototype. - - * win32-i386-low.c (dr_status_mirror, dr_control_mirror): New globals. - (i386_dr_low_get_addr): New. - (i386_dr_low_get_control): New. - (i386_dr_low_get_status): Adjust prototype. Return - dr_status_mirror. - (i386_initial_stuff): Clear dr_status_mirror and - dr_control_mirror. - (i386_get_thread_context): Adjust. - (i386_set_thread_context): Adjust. - (i386_thread_added): Adjust. - -2010-08-24 Pedro Alves - - * linux-low.h (linux_thread_area): Delete declaration. - -2010-08-11 Thomas Schwinge - - * linux-low.c (linux_wait_1): Correctly return the ptid of the child - after its termination. - -2010-08-09 Pedro Alves - - * linux-low.c (gdb_wants_lwp_stopped): Delete. - (gdb_wants_all_stopped): Delete. - (linux_wait_1): Don't call them. - * server.c (handle_v_cont): Tag all threads as want-stopped. - (gdb_wants_thread_stopped): Fix comments. Tag the thread that - stopped as "client-wants-stopped". - -2010-07-31 Pedro Alves - - * Makefile.in (signals_h): New. - (server_h): Depend on it. - (server.o): Don't depend on $(signals_def). - (signals.o): Depend on $(signals_def). - -2010-07-31 Jan Kratochvil - - * Makefile.in (signals_def): New. - (server_h): Append include/gdb/signals.h and signals_def. - (server.o): Append signals_def. - -2010-07-25 Jan Kratochvil - - * server.c (handle_target_event): Use target_signal_to_host for - resume_info.sig initialization. - * target.h (struct thread_resume) : New comment. - -2010-07-20 Ozkan Sezer - - * server.c (handle_query): strcpy() the returned string from paddress() - instead of sprintf(). - * utils.c (paddress): Return phex_nz(). - -2010-07-07 Joel Brobecker - - * server.c (handle_v_cont): Call mourn_inferior if process - just exited. - (myresume): Likewise. - -2010-07-01 Pedro Alves - - Static tracepoints, and integration with UST. - - * configure.ac: Handle --with-ust. substitute ustlibs and ustinc. - * mem-break.c (uninsert_all_breakpoints) - (reinsert_all_breakpoints): New. - * mem-break.h (reinsert_all_breakpoints, uninsert_all_breakpoints): - * tracepoint.c (ust_loaded, helper_thread_id, cmd_buf): New. - (gdb_agent_ust_loaded, helper_thread_id) - (gdb_agent_helper_thread_id): New macros. - (struct ipa_sym_addresses): Add addr_ust_loaded, - addr_helper_thread_id, addr_cmd_buf. - (symbol_list): Add ust_loaded, helper_thread_id, cmd_buf. - (in_process_agent_loaded_ust): New. - (write_e_ust_not_loaded): New. - (maybe_write_ipa_ust_not_loaded): New. - (struct collect_static_trace_data_action): New. - (enum tracepoint_type) : New. - (struct tracepoint) : Mention static tracepoints. - (struct static_tracepoint_ctx): New. - (CMD_BUF_SIZE): New. - (add_tracepoint_action): Handle static tracepoint actions. - (unprobe_marker_at): New. - (clear_installed_tracepoints): Handle static tracepoints. - (cmd_qtdp): Handle static tracepoints. - (probe_marker_at): New. - (cmd_qtstart): Handle static tracepoints. - (response_tracepoint): Handle static tracepoints. - (cmd_qtfstm, cmd_qtsstm, cmd_qtstmat): New. - (handle_tracepoint_query): Handle qTfSTM, qTsSTM and qTSTMat. - (get_context_regcache): Handle static tracepoints. - (do_action_at_tracepoint): Handle static tracepoint actions. - (traceframe_find_block_type): Handle static trace data blocks. - (traceframe_read_sdata): New. - (download_tracepoints): Download static tracepoint actions. - [HAVE_UST] Include ust/ust.h, dlfcn.h, sys/socket.h, and sys/un.h. - (GDB_PROBE_NAME): New. - (ust_ops): New. - (GET_UST_SYM): New. - (USTF): New. - (dlsym_ust): New. - (ust_marker_to_static_tracepoint): New. - (gdb_probe): New. - (collect_ust_data_at_tracepoint): New. - (gdb_ust_probe): New. - (UNIX_PATH_MAX, SOCK_DIR): New. - (gdb_ust_connect_sync_socket): New. - (resume_thread, stop_thread): New. - (run_inferior_command): New. - (init_named_socket): New. - (gdb_ust_socket_init): New. - (cstr_to_hexstr): New. - (next_st): New. - (first_marker, next_marker): New. - (response_ust_marker): New. - (cmd_qtfstm, cmd_qtsstm): New. - (unprobe_marker_at, probe_marker_at): New. - (cmd_qtstmat, gdb_ust_thread): New. - (gdb_ust_init): New. - (initialize_tracepoint_ftlib): Call gdb_ust_init. - * linux-amd64-ipa.c [HAVE_UST]: Include ust/processor.h - (ST_REGENTRY): New. - (x86_64_st_collect_regmap): New. - (X86_64_NUM_ST_COLLECT_GREGS): New. - (AMD64_RIP_REGNUM): New. - (supply_static_tracepoint_registers): New. - * linux-i386-ipa.c [HAVE_UST]: Include ust/processor.h - (ST_REGENTRY): New. - (i386_st_collect_regmap): New. - (i386_NUM_ST_COLLECT_GREGS): New. - (supply_static_tracepoint_registers): New. - * server.c (handle_query): Handle qXfer:statictrace:read. - : Report support for StaticTracepoints, and - qXfer:statictrace:read features. - * server.h (traceframe_read_sdata) - (supply_static_tracepoint_registers): Declare. - * remote-utils.c (convert_int_to_ascii, hexchars, ishex, tohex) - (unpack_varlen_hex): Include in IPA build. - * Makefile.in (ustlibs, ustinc): New. - (IPA_OBJS): Add remote-utils-ipa.o. - ($(IPA_LIB)): Link -ldl and -lpthread. - (UST_CFLAGS): New. - (IPAGENT_CFLAGS): Add UST_CFLAGS. - * config.in, configure: Regenerate. - -2010-06-20 Ian Lance Taylor - Pedro Alves - - * linux-x86-low.c (always_true): Delete. - (EMIT_ASM, EMIT_ASM32): Use an uncondition asm jmp instead of - trying to fool the compiler with always_true. - -2010-06-20 Pedro Alves - - * tracepoint.c (condition_true_at_tracepoint): Don't run compiled - conditions in gdbserver. - -2010-06-19 Ulrich Weigand - - * spu-low.c (spu_read_memory): Wrap around local store limit. - (spu_write_memory): Likewise. - -2010-06-15 Pedro Alves - - * linux-x86-low.c (amd64_emit_const, amd64_emit_void_call_2) - (i386_emit_const, i386_emit_void_call_2): Replace int64_t uses with - LONGEST uses. - * server.h (struct emit_ops): Replace int64_t uses with LONGEST - uses. - * tracepoint.c (emit_const, emit_void_call_2): Replace int64_t - uses with LONGEST uses. - -2010-06-14 Stan Shebs - Pedro Alves - - Bytecode compiler. - - * linux-x86-low.c: Include limits.h. - (add_insns): New. - (always_true): New. - (EMIT_ASM): New. - (EMIT_ASM32): New. - (amd64_emit_prologue, amd64_emit_epilogue, amd64_emit_add) - (amd64_emit_sub, amd64_emit_mul, amd64_emit_lsh) - (amd64_emit_rsh_signed, amd64_emit_rsh_unsigned, amd64_emit_ext, - (amd64_emit_log_not, amd64_emit_bit_and, amd64_emit_bit_or) - (amd64_emit_bit_xor, amd64_emit_bit_not, amd64_emit_equal, - (amd64_emit_less_signed, amd64_emit_less_unsigned, amd64_emit_ref, - (amd64_emit_if_goto, amd64_emit_goto, amd64_write_goto_address) - (amd64_emit_const, amd64_emit_call, amd64_emit_reg) - (amd64_emit_pop, amd64_emit_stack_flush, amd64_emit_zero_ext) - (amd64_emit_swap, amd64_emit_stack_adjust, amd64_emit_int_call_1) - (amd64_emit_void_call_2): New. - (amd64_emit_ops): New. - (i386_emit_prologue, i386_emit_epilogue, i386_emit_add) - (i386_emit_sub,i386_emit_mul, i386_emit_lsh, i386_emit_rsh_signed) - (i386_emit_rsh_unsigned, i386_emit_ext, i386_emit_log_not) - (i386_emit_bit_and, i386_emit_bit_or, i386_emit_bit_xor) - (i386_emit_bit_not, i386_emit_equal, i386_emit_less_signed) - (i386_emit_less_unsigned, i386_emit_ref, i386_emit_if_goto) - (i386_emit_goto, i386_write_goto_address, i386_emit_const) - (i386_emit_call, i386_emit_reg, i386_emit_pop) - (i386_emit_stack_flush, i386_emit_zero_ext, i386_emit_swap) - (i386_emit_stack_adjust, i386_emit_int_call_1) - (i386_emit_void_call_2): New. - (i386_emit_ops): New. - (x86_emit_ops): New. - (the_low_target): Install x86_emit_ops. - * server.h (struct emit_ops): New. - (get_raw_reg_func_addr): Declare. - (current_insn_ptr, emit_error): Declare. - * tracepoint.c (get_raw_reg, get_trace_state_variable_value) - (set_trace_state_variable_value): New defines. - (struct ipa_sym_addresses): New fields addr_get_raw_reg, - addr_get_trace_state_variable_value and - addr_set_trace_state_variable_value. - (symbol_list): New fields for get_raw_reg, - get_trace_state_variable_value and set_trace_state_variable_value. - (condfn): New typedef. - (struct tracepoint): New field `compiled_cond'. - (do_action_at_tracepoint): Clear compiled_cond. - (get_trace_state_variable_value, set_trace_state_variable_value): - Export in the IPA. - (condition_true_at_tracepoint): If there's a compiled condition, - run that. - (current_insn_ptr, emit_error): New globals. - (struct bytecode_address): New. - (get_raw_reg_func_addr): New. - (emit_prologue, emit_epilogue, emit_add, emit_sub, emit_mul) - (emit_lsh, emit_rsh_signed, emit_rsh_unsigned, emit_ext) - (emit_log_not, emit_bit_and, emit_bit_or, emit_bit_xor) - (emit_bit_not, emit_equal, emit_less_signed, emit_less_unsigned) - (emit_ref, emit_if_goto, emit_goto, write_goto_address, emit_const) - (emit_reg, emit_pop, emit_stack_flush, emit_zero_ext, emit_swap) - (emit_stack_adjust, emit_int_call_1, emit_void_call_2): New. - (compile_tracepoint_condition, compile_bytecodes): New. - * target.h (emit_ops): Forward declare. - (struct target_ops): New field emit_ops. - (target_emit_ops): New. - * linux-amd64-ipa.c (gdb_agent_get_raw_reg): New. - * linux-i386-ipa.c (gdb_agent_get_raw_reg): New. - * linux-low.c (linux_emit_ops): New. - (linux_target_ops): Install it. - * linux-low.h (struct linux_target_ops): New field emit_ops. - -2010-06-14 Ulrich Weigand - - * linux-ppc-low.c (ppc_arch_setup): Use private regcache to test MSR. - * linux-s390-low.c (ppc_arch_setup): Use private regcache to test PSW. - -2010-06-01 Pedro Alves - Stan Shebs - - * Makefile.in (IPA_DEPFILES, extra_libraries): New. - (all): Depend on $(extra_libraries). - (install-only): Install the IPA. - (IPA_OBJS, IPA_LIB): New. - (clean): Remove the IPA lib. - (IPAGENT_CFLAGS): New. - (tracepoint-ipa.o, utils-ipa.o, remote-utils-ipa.o) - (regcache-ipa.o, i386-linux-ipa.o, linux-i386-ipa.o) - (linux-amd64-ipa.o, amd64-linux-ipa.o): New rules. - * linux-amd64-ipa.c, linux-i386-ipa.c: New files. - * configure.ac: Check for atomic builtins support in the compiler. - (IPA_DEPFILES, extra_libraries): Define. - * configure.srv (ipa_obj): Add description. - (ipa_i386_linux_regobj, ipa_amd64_linux_regobj): Define. - (i[34567]86-*-linux*): Set ipa_obj. - (x86_64-*-linux*): Set ipa_obj. - * linux-low.c (stabilizing_threads): New. - (supports_fast_tracepoints): New. - (linux_detach): Stabilize threads before detaching. - (handle_tracepoints): Handle internal tracing breakpoints. Assert - the lwp is either not stabilizing, or is moving out of a jump pad. - (linux_fast_tracepoint_collecting): New. - (maybe_move_out_of_jump_pad): New. - (enqueue_one_deferred_signal): New. - (dequeue_one_deferred_signal): New. - (linux_wait_for_event_1): If moving out of a jump pad, defer - pending signals to later. - (linux_stabilize_threads): New. - (linux_wait_1): Check if threads need moving out of jump pads, and - do it if so. - (stuck_in_jump_pad_callback): New. - (move_out_of_jump_pad_callback): New. - (lwp_running): New. - (linux_resume_one_lwp): Handle moving out of jump pads. - (linux_set_resume_request): Dequeue deferred signals. - (need_step_over_p): Also step over fast tracepoint jumps. - (start_step_over): Also uninsert fast tracepoint jumps. - (finish_step_over): Also reinsert fast tracepoint jumps. - (linux_install_fast_tracepoint_jump): New. - (linux_target_ops): Install linux_stabilize_threads and - linux_install_fast_tracepoint_jump_pad. - * linux-low.h (linux_target_ops) : New fields. - (struct lwp_info) : New fields. - (linux_get_thread_area): Declare. - * linux-x86-low.c (jump_insn): New. - (x86_get_thread_area): New. - (append_insns): New. - (push_opcode): New. - (amd64_install_fast_tracepoint_jump_pad): New. - (i386_install_fast_tracepoint_jump_pad): New. - (x86_install_fast_tracepoint_jump_pad): New. - (the_low_target): Install x86_get_thread_area and - x86_install_fast_tracepoint_jump_pad. - * mem-break.c (set_raw_breakpoint_at): Use read_inferior_memory. - (struct fast_tracepoint_jump): New. - (fast_tracepoint_jump_insn): New. - (fast_tracepoint_jump_shadow): New. - (find_fast_tracepoint_jump_at): New. - (fast_tracepoint_jump_here): New. - (delete_fast_tracepoint_jump): New. - (set_fast_tracepoint_jump): New. - (uninsert_fast_tracepoint_jumps_at): New. - (reinsert_fast_tracepoint_jumps_at): New. - (set_breakpoint_at): Use write_inferior_memory. - (uninsert_raw_breakpoint): Use write_inferior_memory. - (check_mem_read): Mask out fast tracepoint jumps. - (check_mem_write): Mask out fast tracepoint jumps. - * mem-break.h (struct fast_tracepoint_jump): Forward declare. - (set_fast_tracepoint_jump): Declare. - (delete_fast_tracepoint_jump) - (fast_tracepoint_jump_here, uninsert_fast_tracepoint_jumps_at) - (reinsert_fast_tracepoint_jumps_at): Declare. - * regcache.c: Don't compile many functions when building the - in-process agent library. - (init_register_cache) [IN_PROCESS_AGENT]: Don't allow allocating - the register buffer in the heap. - (free_register_cache): If the register buffer isn't owned by the - regcache, don't free it. - (set_register_cache) [IN_PROCESS_AGENT]: Don't re-alocate - pre-existing register caches. - * remote-utils.c (convert_int_to_ascii): Constify `from' parameter - type. - (convert_ascii_to_int): : Constify `from' parameter type. - (decode_M_packet, decode_X_packet): Replace the `to' parameter by - a `to_p' pointer to pointer parameter. If TO_P is NULL, malloc - the needed buffer in-place. - (relocate_instruction): New. - * server.c (handle_query) : If the target supports - tracepoints, give it a chance of looking up symbols. Report - support for fast tracepoints. - (handle_status): Stabilize threads. - (process_serial_event): Adjust. - * server.h (struct fast_tracepoint_jump): Forward declare. - (struct process_info) : New field. - (convert_ascii_to_int, convert_int_to_ascii): Adjust. - (decode_X_packet, decode_M_packet): Adjust. - (relocate_instruction): Declare. - (in_process_agent_loaded): Declare. - (tracepoint_look_up_symbols): Declare. - (struct fast_tpoint_collect_status): Declare. - (fast_tracepoint_collecting): Declare. - (force_unlock_trace_buffer): Declare. - (handle_tracepoint_bkpts): Declare. - (initialize_low_tracepoint) - (supply_fast_tracepoint_registers) [IN_PROCESS_AGENT]: Declare. - * target.h (struct target_ops) : New fields. - (stabilize_threads, install_fast_tracepoint_jump_pad): New. - * tracepoint.c [HAVE_MALLOC_H]: Include malloc.h. - [HAVE_STDINT_H]: Include stdint.h. - (trace_debug_1): Rename to ... - (trace_vdebug): ... this. - (trace_debug): Rename to ... - (trace_debug_1): ... this. Add `level' parameter. - (trace_debug): New. - (ATTR_USED, ATTR_NOINLINE): New. - (IP_AGENT_EXPORT): New. - (gdb_tp_heap_buffer, gdb_jump_pad_buffer, gdb_jump_pad_buffer_end) - (collecting, gdb_collect, stop_tracing, flush_trace_buffer) - (about_to_request_buffer_space, trace_buffer_is_full) - (stopping_tracepoint, expr_eval_result, error_tracepoint) - (tracepoints, tracing, trace_buffer_ctrl, trace_buffer_ctrl_curr) - (trace_buffer_lo, trace_buffer_hi, traceframe_read_count) - (traceframe_write_count, traceframes_created) - (trace_state_variables) - New renaming defines. - (struct ipa_sym_addresses): New. - (STRINGIZE_1, STRINGIZE, IPA_SYM): New. - (symbol_list): New. - (ipa_sym_addrs): New. - (all_tracepoint_symbols_looked_up): New. - (in_process_agent_loaded): New. - (write_e_ipa_not_loaded): New. - (maybe_write_ipa_not_loaded): New. - (tracepoint_look_up_symbols): New. - (debug_threads) [IN_PROCESS_AGENT]: New. - (read_inferior_memory) [IN_PROCESS_AGENT]: New. - (UNKNOWN_SIDE_EFFECTS): New. - (stop_tracing): New. - (flush_trace_buffer): New. - (stop_tracing_bkpt): New. - (flush_trace_buffer_bkpt): New. - (read_inferior_integer): New. - (read_inferior_uinteger): New. - (read_inferior_data_pointer): New. - (write_inferior_data_pointer): New. - (write_inferior_integer): New. - (write_inferior_uinteger): New. - (struct collect_static_trace_data_action): Delete. - (enum tracepoint_type): New. - (struct tracepoint) : New field `type'. - : Only include in - GDBserver. - - : New fields. - (tracepoints): Use IP_AGENT_EXPORT. - (last_tracepoint): Don't include in the IPA. - (stopping_tracepoint): Use IP_AGENT_EXPORT. - (trace_buffer_is_full): Use IP_AGENT_EXPORT. - (alloced_trace_state_variables): New. - (trace_state_variables): Use IP_AGENT_EXPORT. - (traceframe_t): Delete unused variable. - (circular_trace_buffer): Don't include in the IPA. - (trace_buffer_start): Delete. - (struct trace_buffer_control): New. - (trace_buffer_free): Delete. - (struct ipa_trace_buffer_control): New. - (GDBSERVER_FLUSH_COUNT_MASK, GDBSERVER_FLUSH_COUNT_MASK_PREV) - (GDBSERVER_FLUSH_COUNT_MASK_CURR, GDBSERVER_UPDATED_FLUSH_COUNT_BIT): - New. - (trace_buffer_ctrl): New. - (TRACE_BUFFER_CTRL_CURR): New. - (trace_buffer_start, trace_buffer_free, trace_buffer_end_free): - Reimplement as macros. - (trace_buffer_wrap): Delete. - (traceframe_write_count, traceframe_read_count) - (traceframes_created, tracing): Use IP_AGENT_EXPORT. - (struct tracepoint_hit_ctx) : New field. - (struct fast_tracepoint_ctx): New. - (memory_barrier): New. - (cmpxchg): New. - (record_tracepoint_error): Update atomically in the IPA. - (clear_inferior_trace_buffer): New. - (about_to_request_buffer_space): New. - (trace_buffer_alloc): Handle GDBserver and inferior simulatenous - updating the same buffer. - (add_tracepoint): Default the tracepoint's type to trap - tracepoint, and orig_size to -1. - (get_trace_state_variable) [IN_PROCESS_AGENT]: Handle allocated - internal variables. - (create_trace_state_variable): New parameter `gdb'. Handle it. - (clear_installed_tracepoints): Clear fast tracepoint jumps. - (cmd_qtdp): Handle fast tracepoints. - (cmd_qtdv): Adjust. - (max_jump_pad_size): New. - (gdb_jump_pad_head): New. - (get_jump_space_head): New. - (claim_jump_space): New. - (sort_tracepoints): New. - (MAX_JUMP_SIZE): New. - (cmd_qtstart): Handle fast tracepoints. Sync tracepoints with the - IPA. - (stop_tracing) [IN_PROCESS_AGENT]: Don't include the tdisconnected - support. Upload fast traceframes, and delete internal IPA - breakpoints. - (stop_tracing_handler): New. - (flush_trace_buffer_handler): New. - (cmd_qtstop): Upload fast tracepoints. - (response_tracepoint): Handle fast tracepoints. - (tracepoint_finished_step): Upload fast traceframes. Set the - tracepoint hit context's tracepoint type. - (handle_tracepoint_bkpts): New. - (tracepoint_was_hit): Set the tracepoint hit context's tracepoint - type. Add comment about fast tracepoints. - (collect_data_at_tracepoint) [IN_PROCESS_AGENT]: Don't access the - non-existing action_str field. - (get_context_regcache): Handle fast tracepoints. - (do_action_at_tracepoint) [!IN_PROCESS_AGENT]: Don't write the PC - to the regcache. - (fast_tracepoint_from_jump_pad_address): New. - (fast_tracepoint_from_ipa_tpoint_address): New. - (collecting_t): New. - (force_unlock_trace_buffer): New. - (fast_tracepoint_collecting): New. - (collecting): New. - (gdb_collect): New. - (write_inferior_data_ptr): New. - (target_tp_heap): New. - (target_malloc): New. - (download_agent_expr): New. - (UALIGN): New. - (download_tracepoints): New. - (download_trace_state_variables): New. - (upload_fast_traceframes): New. - (IPA_FIRST_TRACEFRAME): New. - (IPA_NEXT_TRACEFRAME_1): New. - (IPA_NEXT_TRACEFRAME): New. - [IN_PROCESS_AGENT]: Include sys/mman.h and fcntl.h. - [IN_PROCESS_AGENT] (gdb_tp_heap_buffer, gdb_jump_pad_buffer) - (gdb_jump_pad_buffer_end): New. - [IN_PROCESS_AGENT] (initialize_tracepoint_ftlib): New. - (initialize_tracepoint): Adjust. - [IN_PROCESS_AGENT]: Allocate the IPA heap, and jump pad scratch - buffer. Initialize the low module. - * utils.c (PREFIX, TOOLNAME): New. - (malloc_failure): Use PREFIX. - (error): In the IPA, an error causes an exit. - (fatal, warning): Use PREFIX. - (internal_error): Use TOOLNAME. - (NUMCELLS): Increase to 10. - * configure, config.in: Regenerate. - -2010-06-01 Pedro Alves - - * server.c (handle_query) : Do two passes over the - qSupported string to avoid nesting strtok. - -2010-05-28 Jan Kratochvil - - * Makefile.in (SFILES): Add $(srcdir)/proc-service.list. - (CDEPS): New. - * configure.ac (RDYNAMIC): New AC_MSG_CHECKING wrapping. Test also - -Wl,--dynamic-list. - * configure: Regenerate. - * proc-service.list: New. - -2010-05-28 Jan Kratochvil - - * linux-low.c (linux_core_of_thread): Fix crash on invalid CONTENT. - New comment. - -2010-05-26 Ozkan Sezer - - * gdbreplay.c (remote_open): Check error return from socket() call by - its equality to -1 not by it being negative. - * remote-utils.c (remote_open): Likewise. - -2010-05-23 Pedro Alves - - * config.h: Regenerate. - -2010-05-19 Maxim Kuvyrkov - - * linux-m68k-low.c (ps_get_thread_area): Don't define if kernel - doesn't provide PTRACE_GET_THREAD_AREA. - -2010-05-19 Maxim Kuvyrkov - - * linux-m68k-low.c: Include - (ps_get_thread_area): Implement. - -2010-05-03 Doug Evans - - * event-loop.c (struct callback_event): New struct. - (callback_list): New global. - (append_callback_event, delete_callback_event): New functions. - (process_callback): New function. - (start_event_loop): Call it. - * remote-utils.c (NOT_SCHEDULED): Define. - (readchar_buf, readchar_bufcnt, readchar_bufp): New static globals, - moved out of readchar. - (readchar): Rewrite. Call reschedule before returning. - (reset_readchar): New function. - (remote_close): Call it. - (process_remaining, reschedule): New functions. - * server.h (callback_handler_func): New typedef. - (append_callback_event, delete_callback_event): Declare. - -2010-05-03 Pedro Alves - - * proc-service.c (ps_pglobal_lookup): Use - thread_db_look_up_one_symbol. - * remote-utils.c (look_up_one_symbol): Add new `may_ask_gdb' - parameter. Use it instead of all_symbols_looked_up. - * server.h (struct process_info) : Delete - field. - (all_symbols_looked_up): Don't declare. - (look_up_one_symbol): Add new `may_ask_gdb' parameter. - * thread-db.c (struct thread_db) : New - field. - (thread_db_look_up_symbols): Adjust call to look_up_one_symbol. - Set all_symbols_looked_up here. - (thread_db_look_up_one_symbol): New. - (thread_db_get_tls_address): Adjust. - (thread_db_load_search, try_thread_db_load_1): Always allocate the - thread_db object on the heap, and tentatively set it in the - process structure. - (thread_db_init): Don't set all_symbols_looked_up here. - * linux-low.h (thread_db_look_up_one_symbol): Declare. - -2010-05-03 Pedro Alves - - * linux-low.c (linux_kill, linux_detach): Adjust. - (status_pending_p_callback): Remove redundant statement. Check - for !TARGET_WAITIKIND_IGNORE, instead of - TARGET_WAITKIND_STOPPED. - (handle_tracepoints): Make sure LWP is locked. Adjust. - (linux_wait_for_event_1): Adjust. - (linux_cancel_breakpoints): New. - (unsuspend_one_lwp): New. - (unsuspend_all_lwps): New. - (linux_wait_1): If finishing a step-over, unsuspend all lwps. - (send_sigstop_callback): Change return type to int, add new - `except' parameter and handle it. - (suspend_and_send_sigstop_callback): New. - (stop_all_lwps): Add new `suspend' and `expect' parameters, and - pass them down. If SUSPEND, also increment the lwp's suspend - count. - (linux_resume_one_lwp): Add notice about resuming a suspended LWP. - (need_step_over_p): Don't consider suspended LWPs. - (start_step_over): Adjust. - (proceed_one_lwp): Change return type to int, add new `except' - parameter and handle it. - (unsuspend_and_proceed_one_lwp): New. - (proceed_all_lwps): Use find_inferior instead of - for_each_inferior. - (unstop_all_lwps): Add `unsuspend' parameter. If UNSUSPEND, them - also decrement the suspend count of LWPs. Pass `except' down, - instead of hacking its suspend count. - (linux_pause_all): Add `freeze' parameter. Adjust. - (linux_unpause_all): New. - (linux_target_ops): Install linux_unpause_all. - * server.c (handle_status): Adjust. - * target.h (struct target_ops): New fields `unpause_all' and - `cancel_breakpoints'. Add new parameter to `pause_all'. - (pause_all): Add new `freeze' parameter. - (unpause_all): New. - (cancel_breakpoints): New. - * tracepoint.c (clear_installed_tracepoints): Pause threads, and - cancel breakpoints. - (cmd_qtstart): Pause threads. - (stop_tracing): Pause threads, and cancel breakpoints. - * win32-low.c (win32_target_ops): Adjust. - -2010-05-03 Pedro Alves - - * linux-low.c (linux_wait_for_event_1): Move passing the signal to - the inferior right away from here... - (linux_wait_1): ... to here, and adjust to check the thread's - last_resume_kind instead of the lwp's step or stop_expected flags. - -2010-05-02 Pedro Alves - - * README: Use consistent `GDB' and `GDBserver' spellings. - -2010-05-02 Pedro Alves - - * linux-low.c (linux_kill_one_lwp): Assume the lwp is stopped. - (linux_kill): Stop all lwps here. Don't delete the main lwp here. - (linux_detach_one_lwp): Assume the lwp is stopped. - (any_thread_of): Delete. - (linux_detach): Stop all lwps here. Don't blindly delete all - breakpoints. - (delete_lwp_callback): New. - (linux_mourn): Delete all lwps of the process that is gone. - (linux_wait_1): Don't delete the last lwp of the process here. - * mem-break.h (mark_breakpoints_out): Declare. - * mem-break.c (mark_breakpoints_out): New. - (free_all_breakpoints): Use it. - * server.c (handle_target_event): If the process is gone, mark - breakpoints out. - * thread-db.c (struct thread_db) : New field. - (thread_db_enable_reporting): Fix prototype. Store a thread event - breakpoint reference in the thread_db struct. - (thread_db_load_search): Clear the thread_db object. - (try_thread_db_load_1): Ditto. - (switch_to_process): New. - (disable_thread_event_reporting): Use it. - (remove_thread_event_breakpoints): New. - (thread_db_detach, thread_db_mourn): Use it. - -2010-05-01 Pedro Alves - - * linux-low.c (linux_enable_event_reporting): New. - (linux_wait_for_event_1, handle_extended_wait): Use it. - -2010-04-30 Pedro Alves - - * linux-low.c (linux_kill_one_lwp, linux_kill) - (linux_detach_one_lwp): Adjust to send_sigstop interface change. - (send_sigstop): Take an lwp_info as parameter instead. Queue a - SIGSTOP even if the LWP is stopped. - (send_sigstop_callback): New. - (stop_all_lwps): Use send_sigstop_callback instead. - (linux_resume_one_thread): Adjust. - (proceed_one_lwp): Still proceed an LWP that the client has - requested to stop, if we haven't reported it as stopped yet. Make - sure that LWPs the client want stopped, have a pending SIGSTOP. - -2010-04-26 Doug Evans - - * server.c (handle_general_set): Make static. - - * remote-utils.c (putpkt_binary_1): Call readchar instead of read. - Print received char after testing for error/eof instead of before. - (input_interrupt): Tweak comment. - -2010-04-23 Doug Evans - - * server.c (start_inferior): Print inferior argv if --debug. - -2010-04-21 Aleksandar Ristovski - - * Makefile.in (nto_low_h nto-low.o nto-x86-low.o): New dependency lists. - * nto-x86-low.c: Include server.h - -2010-04-20 Pierre Muller - - * win32-i386-low.c: Use __x86_64__ macro instead of __x86_64 to - be consistent with other sources of this directory. - (init_registers_amd64): Correct name of source file of this function - in the comment. - -2010-04-19 Pierre Muller - - * configure.srv (x86_64-*-mingw*): New configuration for Windows - 64-bit executables. - -2010-04-19 Pierre Muller - - * win32-i386-low.c: Add 64-bit support. - (CONTEXT_EXTENDED_REGISTERS): Set macro to zero if not exisiting. - (init_registers_amd64): Declare. - (mappings): Add 64-bit version of array. - (init_windows_x86): New function. - (the_low_target): Change init_arch field to init_windows_x86. - -2010-04-19 Pierre Muller - - * win32-low.c: Adapt to support also 64-bit architecture. - (child_xfer_memory): Use uintptr_t type for local variable `addr'. - (get_image_name): Use SIZE_T type for local variable `done'. - (psapi_get_dll_name): Use LPVOID type for parameter `BaseAddress'. - (toolhelp_get_dll_name): Idem. - (handle_load_dll): Use CORE_ADDR type for local variable `load_addr'. - Use uintptr_t typecast to avoid warning. - (handle_unload_dll): Use uintptr_t typecast to avoid warning. - (handle_exception): Use phex_nz to avoid warning. - (win32_wait): Remove unused local variable `process'. - -2010-04-19 Pierre Muller - - * configure.srv (srv_amd64_regobj): Replace `x86-64-avx.o' by - `amd64-avx.o'. - -2010-04-17 Pierre Muller - - * configure.ac: Use `ws2_32' library for srv_mingw. - * configure: Regenerate. - * gdbreplay.c: Include winsock2.h instead of winsock.h. - * remote-utils.c: Likewise. - -2010-04-17 H.J. Lu - - * linux-x86-low.c (xmltarget_amd64_linux_no_xml): Define only - if __x86_64__ is defined. - -2010-04-16 Pierre Muller - - * configure: Regenerate. - -2010-04-16 Pierre Muller - - * server.c (handle_query): Handle 'qGetTIBAddr' query. - * target.h (target_ops): New get_tib_address field. - * win32-low.h (win32_thread_info): Add thread_local_base field. - * win32-low.c (child_add_thread): Add tlb argument. - Set thread_local_base field to TLB. - (get_child_debug_event): Adapt to child_add_thread change. - (win32_get_tib_address): New function. - (win32_target_ops): Set get_tib_address field to - win32_get_tib_address. - * linux-low.c (linux_target_ops): Set get_tib_address field to NULL. - -2010-04-12 Pedro Alves - - * linux-low.c (linux_mourn): Also remove the process. - * server.c (handle_target_event): Don't remove the process here. - * nto-low.c (nto_mourn): New. - (nto_target_ops): Install it. - * spu-low.c (spu_mourn): New. - (spu_target_ops): Install it. - * win32-low.c (win32_mourn): New. - (win32_target_ops): Install it. - -2010-04-12 Pedro Alves - - * server.h (buffer_xml_printf): Remove redundant `;'. - -2010-04-12 Pedro Alves - - * regcache.c (set_register_cache): Invalidate regcaches before - changing the register cache layout. - (regcache_invalidate_one): Allow a NULL regcache. - * linux-x86-low.c (x86_linux_update_xmltarget): Invalidate - regcaches before changing the register cache layout or the target - regsets. - -2010-04-12 H.J. Lu - - * linux-x86-low.c (x86_linux_update_xmltarget): Avoid unused - variable warning on Linux/x86-64. - -2010-04-11 Pedro Alves - - GDBserver disconnected tracing support. - - * linux-low.c (linux_remove_process): Delete. - (add_lwp): Don't set last_resume_kind here. - (linux_kill): Use `mourn'. - (linux_detach): Use `thread_db_detach', and `mourn'. - (linux_mourn): New. - (linux_attach_lwp_1): Adjust comment. - (linux_attach): last_resume_kind moved the thread_info; adjust. - (status_pending_p_callback): Adjust. - (linux_wait_for_event_1): Adjust. - (count_events_callback, select_singlestep_lwp_callback) - (select_event_lwp_callback, cancel_breakpoints_callback) - (db_wants_lwp_stopped, linux_wait_1, need_step_over_p) - (proceed_one_lwp): Adjust. - (linux_async): Add debug output. - (linux_thread_stopped): New. - (linux_pause_all): New. - (linux_target_ops): Install linux_mourn, linux_thread_stopped and - linux_pause_all. - * linux-low.h (struct lwp_info): Delete last_resume_kind field. - (thread_db_free): Delete declaration. - (thread_db_detach, thread_db_mourn): Declare. - * thread-db.c (thread_db_init): Use thread_db_mourn. - (thread_db_free): Delete, split in two. - (disable_thread_event_reporting): New. - (thread_db_detach): New. - (thread_db_mourn): New. - - * server.h (struct thread_info) : New field. - : Add comment. - : New field. - (handler_func): Change return type to int. - (handle_serial_event, handle_target_event): Ditto. - (gdb_connected): Declare. - (tracing): Delete. - (disconnected_tracing): Declare. - (stop_tracing): Declare. - - * server.c (handle_query) : Report support for - disconnected tracing. - (queue_stop_reply_callback): Account for running threads. - (gdb_wants_thread_stopped): New. - (gdb_wants_all_threads_stopped): New. - (gdb_reattached_process): New. - (handle_status): Clear the `gdb_detached' flag of all processes. - In all-stop, stop all threads. - (main): Be sure to leave tfind mode. Handle disconnected tracing. - (process_serial_event): If the remote connection breaks, or if an - exit was forced with "monitor exit", force an event loop exit. - Handle disconnected tracing on detach. - (handle_serial_event): Adjust. - (handle_target_event): If GDB isn't connected, forward events back - to the inferior, unless the last process exited, in which case, - exit gdbserver. Adjust interface. - - * remote-utils.c (remote_open): Don't block in accept. Instead - register an event loop source on the listen socket file - descriptor. Refactor bits into ... - (listen_desc): ... this new global. - (gdb_connected): ... this new function. - (enable_async_notification): ... this new function. - (handle_accept_event): ... this new function. - (remote_close): Clear remote_desc. - - * inferiors.c (add_thread): Set the new thread's last_resume_kind. - - * target.h (struct target_ops) : - New fields. - (mourn_inferior): Define. - (target_process_qsupported): Avoid the dangling else problem. - (thread_stopped): Define. - (pause_all): Define. - (target_waitstatus_to_string): Declare. - * target.c (target_waitstatus_to_string): New. - - * tracepoint.c (tracing): Make extern. - (disconnected_tracing): New. - (stop_tracing): Make extern. Handle tracing stops due to GDB - disconnecting. - (cmd_qtdisconnected): New. - (cmd_qtstatus): Report disconnected tracing status in trace reply. - (handle_tracepoint_general_set): Handle QTDisconnected. - - * event-loop.c (event_handler_func): Change return type to int. - (process_event): Bail out if the event handler wants the event - loop to stop. - (handle_file_event): Ditto. - (start_event_loop): Bail out if the event handler wants the event - loop to stop. - - * nto-low.c (nto_target_ops): Adjust. - * spu-low.c (spu_wait): Don't remove the process here. - (spu_target_ops): Adjust. - * win32-low.c (win32_wait): Don't remove the process here. - (win32_target_ops): Adjust. - -2010-04-11 Pedro Alves - - * regcache.c (realloc_register_cache): Invalidate inferior's - regcache before recreating it. - -2010-04-09 Pedro Alves - - * tracepoint.c (cmd_qtstatus): Report trace buffer circularity. - -2010-04-09 Stan Shebs - Pedro Alves - - * server.h (LONGEST): New. - (struct thread_info) : New field. - (unpack_varlen_hex, xrealloc, pulongest, plongest, phex_nz): - Declare. - (initialize_tracepoint, handle_tracepoint_general_set) - (handle_tracepoint_query, tracepoint_finished_step) - (tracepoint_was_hit, release_while_stepping_state_list): - (current_traceframe): Declare. - * server.c (handle_general_set): Handle tracepoint packets. - (read_memory): New. - (write_memory): New. - (handle_search_memory_1): Use read_memory. - (handle_query): Report support for conditional tracepoints, trace - state variables, and tracepoint sources. Handle tracepoint - queries. - (main): Initialize the tracepoints module. - (process_serial_event): Handle traceframe reads/writes. - - * linux-low.c (handle_tracepoints): New. - (linux_wait_1): Call it. - (linux_resume_one_lwp): Handle while-stepping. - (linux_supports_tracepoints, linux_read_pc, linux_write_pc): New. - (linux_target_ops): Install them. - * linux-low.h (struct linux_target_ops) : - New field. - * linux-x86-low.c (x86_supports_tracepoints): New. - (the_low_target). Install it. - - * mem-break.h (delete_breakpoint): Declare. - * mem-break.c (delete_breakpoint): Make external. - - * target.h (struct target_ops): Add `supports_tracepoints', - `read_pc', and `write_pc' fields. - (target_supports_tracepoints): Define. - * utils.c (xrealloc, decimal2str, pulongest, plongest, thirty_two) - (phex_nz): New. - - * regcache.h (struct regcache) : New field. - (init_register_cache, regcache_cpy): Declare. - (regcache_read_pc, regcache_write_pc): Declare. - (register_cache_size): Declare. - (supply_regblock): Declare. - * regcache.c (init_register_cache): New. - (new_register_cache): Use it. - (regcache_cpy): New. - (register_cache_size): New. - (supply_regblock): New. - (regcache_read_pc, regcache_write_pc): New. - - * tracepoint.c: New. - - * Makefile.in (OBS): Add tracepoint.o. - (tracepoint.o): New rule. - -2010-04-08 H.J. Lu - - * Makefile.in (clean): Also remove i386-mmx.c i386-mmx-linux.c. - (i386-mmx.o): New. - (i386-mmx.c): Likewise. - (i386-mmx-linux.o): Likewise. - (i386-mmx-linux.c): Likewise. - - * configure.srv (srv_i386_regobj): Add i386-mmx.o. - (srv_i386_linux_regobj): Add i386-mmx-linux.o. - (srv_i386_xmlfiles): Add i386/i386-mmx.xml. - (srv_i386_linux_xmlfiles): Add i386/i386-mmx-linux.xml. - - * linux-x86-low.c (init_registers_i386_mmx_linux): New. - (x86_linux_update_xmltarget): Call init_registers_i386_mmx_linux - and return if ptrace PTRACE_GETFPXREGS failed in 32bit. - -2010-04-07 H.J. Lu - - * Makefile.in (clean): Updated. - (i386-avx.o): New. - (i386-avx.c): Likewise. - (i386-avx-linux.o): Likewise. - (i386-avx-linux.c): Likewise. - (amd64-avx.o): Likewise. - (amd64-avx.c): Likewise. - (amd64-avx-linux.o): Likewise. - (amd64-avx-linux.c): Likewise. - - * configure.srv (srv_i386_regobj): Add i386-avx.o. - (srv_i386_linux_regobj): Add i386-avx-linux.o. - (srv_amd64_regobj): Add amd64-avx.o. - (srv_amd64_linux_regobj): Add amd64-avx-linux.o. - (srv_i386_32bit_xmlfiles): Add i386/32bit-avx.xml. - (srv_i386_64bit_xmlfiles): Add i386/64bit-avx.xml. - (srv_i386_xmlfiles): Add i386/i386-avx.xml. - (srv_amd64_xmlfiles): Add i386/amd64-avx.xml. - (srv_i386_linux_xmlfiles): Add i386/i386-avx-linux.xml. - (srv_amd64_linux_xmlfiles): Add i386/amd64-avx-linux.xml. - - * i387-fp.c: Include "i386-xstate.h". - (i387_xsave): New. - (i387_cache_to_xsave): Likewise. - (i387_xsave_to_cache): Likewise. - (x86_xcr0): Likewise. - - * i387-fp.h (i387_cache_to_xsave): Likewise. - (i387_xsave_to_cache): Likewise. - (x86_xcr0): Likewise. - - * linux-arm-low.c (target_regsets): Initialize nt_type to 0. - * linux-crisv32-low.c (target_regsets): Likewise. - * linux-m68k-low.c (target_regsets): Likewise. - * linux-mips-low.c (target_regsets): Likewise. - * linux-ppc-low.c (target_regsets): Likewise. - * linux-s390-low.c (target_regsets): Likewise. - * linux-sh-low.c (target_regsets): Likewise. - * linux-sparc-low.c (target_regsets): Likewise. - * linux-xtensa-low.c (target_regsets): Likewise. - - * linux-low.c: Include . - (regsets_fetch_inferior_registers): Support nt_type. - (regsets_store_inferior_registers): Likewise. - (linux_process_qsupported): New. - (linux_target_ops): Add linux_process_qsupported. - - * linux-low.h (regset_info): Add nt_type. - (linux_target_ops): Add process_qsupported. - - * linux-x86-low.c: Include "i386-xstate.h", "elf/common.h" - and . - (init_registers_i386_avx_linux): New. - (init_registers_amd64_avx_linux): Likewise. - (xmltarget_i386_linux_no_xml): Likewise. - (xmltarget_amd64_linux_no_xml): Likewise. - (PTRACE_GETREGSET): Likewise. - (PTRACE_SETREGSET): Likewise. - (x86_fill_xstateregset): Likewise. - (x86_store_xstateregset): Likewise. - (use_xml): Likewise. - (x86_linux_update_xmltarget): Likewise. - (x86_linux_process_qsupported): Likewise. - (target_regsets): Add NT_X86_XSTATE entry and Initialize nt_type. - (x86_arch_setup): Don't call init_registers_amd64_linux nor - init_registers_i386_linux here. Call - x86_linux_update_xmltarget. - (the_low_target): Add x86_linux_process_qsupported. - - * server.c (handle_query): Call target_process_qsupported. - - * target.h (target_ops): Add process_qsupported. - (target_process_qsupported): New. - -2010-04-03 Pedro Alves - - * inferiors.c (add_thread): Set last_status kind to - TARGET_WAITKIND_IGNORE. - * linux-low.c (cancel_breakpoint): Remove unnecessary regcache - fetch. Use ptid_of. Avoid unnecessary get_lwp_thread calls. - (linux_wait_1): Move `thread' local definition to block that uses - it. Don't NULL initialize `event_child'. - (linux_resume_one_thread): Avoid unnecessary get_lwp_thread calls. - Alway set the thread's last_status to TARGET_WAITKIND_IGNORE. - * linux-x86-low.c (x86_breakpoint_at): Read raw memory. - -2010-04-01 Pedro Alves - - * linux-low.c (get_stop_pc): Don't adjust the PC if stopped with - an extended waitstatus, or by a watchpoint. - (cancel_breakpoints_callback): Don't cancel a breakpoint if the - thread was stepping or has been stopped by a watchpoint. - -2010-04-01 Pedro Alves - - * mem-break.c (struct raw_breakpoint): New field shlib_disabled. - (set_gdb_breakpoint_at): If GDB is inserting a breakpoint on top - of another, then delete the previous, and validate all - breakpoints. - (validate_inserted_breakpoint): New. - (delete_disabled_breakpoints): New. - (validate_breakpoints): New. - (check_mem_read): Validate breakpoints before trusting their - shadow. Delete disabled breakpoints. - (check_mem_write): Validate breakpoints before trusting they - should be inserted. Delete disabled breakpoints. - * mem-break.h (validate_breakpoints): - * server.c (handle_query): Validate breakpoints when we see a - qSymbol query. - -2010-04-01 Pedro Alves - - * linux-low.c (linux_wait_1): Avoid setting need_step_over is - there's a GDB breakpoint at stop_pc. Always report a trap to GDB - if we could tell there's a GDB breakpoint at stop_pc. - (need_step_over_p): Don't do a step over if we find a GDB - breakpoint at the resume PC. - - * mem-break.c (struct raw_breakpoint): New. - (enum bkpt_type): New type `gdb_breakpoint'. - (struct breakpoint): Delete the `PC', `old_data' and `inserted' - fields. New field `raw'. - (find_raw_breakpoint_at): New. - (set_raw_breakpoint_at): Handle refcounting. Create a raw - breakpoint instead. - (set_breakpoint_at): Adjust. - (delete_raw_breakpoint): New. - (release_breakpoint): New. - (delete_breakpoint): Rename to... - (delete_breakpoint_1): ... this. Add proc parameter. Use - release_breakpoint. Return ENOENT. - (delete_breakpoint): Reimplement. - (find_breakpoint_at): Delete. - (find_gdb_breakpoint_at): New. - (delete_breakpoint_at): Delete. - (set_gdb_breakpoint_at): New. - (delete_gdb_breakpoint_at): New. - (gdb_breakpoint_here): New. - (set_reinsert_breakpoint): Use release_breakpoint. - (uninsert_breakpoint): Rename to ... - (uninsert_raw_breakpoint): ... this. - (uninsert_breakpoints_at): Adjust to handle raw breakpoints. - (reinsert_raw_breakpoint): Change parameter type to - raw_breakpoint. - (reinsert_breakpoints_at): Adjust to handle raw breakpoints - instead. - (check_breakpoints): Adjust. Use release_breakpoint. - (breakpoint_here): Rewrite using find_raw_breakpoint_at. - (breakpoint_inserted_here): Ditto. - (check_mem_read): Adjust to iterate over raw breakpoints instead. - Don't trust the breakpoint's shadow if it is not inserted. - (check_mem_write): Adjust to iterate over raw breakpoints instead. - (delete_all_breakpoints): Adjust. - (free_all_breakpoints): Mark all breakpoints as uninserted, and - use delete_breakpoint_1. - - * mem-break.h (breakpoints_supported): Delete declaration. - (set_gdb_breakpoint_at): Declare. - (gdb_breakpoint_here): Declare. - (delete_breakpoint_at): Delete. - (delete_gdb_breakpoint_at): Declare. - - * server.h (struct raw_breakpoint): Forward declare. - (struct process_info): New field `raw_breakpoints'. - - * linux-x86-low.c (x86_insert_point, x86_remote_point): Handle Z0 - breakpoints. - -2010-03-24 Pedro Alves - - * linux-low.c (status_pending_p_callback): Fix comment. - (linux_wait_for_event_1): Move most of the internal breakpoint - handling from here... - (linux_wait_1): ... to here. - (count_events_callback): New. - (select_singlestep_lwp_callback): New. - (select_event_lwp_callback): New. - (cancel_breakpoints_callback): New. - (select_event_lwp): New. - (linux_wait_1): Simplify internal breakpoint handling. Give equal - priority to all LWPs that have had events that should be reported - to the client. Cancel breakpoints when about to reporting the - event to the client, not while stopping lwps. No longer cancel - finished single-steps here. - (cancel_finished_single_step): Delete. - (cancel_finished_single_steps): Delete. - -2010-03-24 Pedro Alves - - * mem-break.c (enum bkpt_type): New. - (struct breakpoint): New field `type'. - (set_breakpoint_at): Change return type to struct breakpoint - pointer. Set type to `other_breakpoint' by default. - (delete_breakpoint): Rewrite, supporting more than one breakpoint - in the breakpoint list. - (delete_reinsert_breakpoints): Only delete reinsert breakpoints. - (reinsert_breakpoint): Rename to ... - (reinsert_raw_breakpoint): ... this. - (reinsert_breakpoints_at): Adjust. - * mem-break.h (struct breakpoint): Declare. - (set_breakpoint_at): Change return type to struct breakpoint - pointer. - -2010-03-24 Pedro Alves - - * server.c (handle_query): Assign, not compare. - -2010-03-24 Pedro Alves - - Teach linux gdbserver to step-over-breakpoints. - - * linux-low.c (can_hardware_single_step): New. - (supports_breakpoints): New. - (handle_extended_wait): If stopping threads, read the stop pc of - the new cloned LWP. - (get_pc): New. - (get_stop_pc): Add `lwp' parameter. Handle it. Bail out if the - low target doesn't support retrieving the PC. - (add_lwp): Set last_resume_kind to resume_continue. - (linux_attach_lwp_1): Adjust comments. Always set stop_expected. - (linux_attach): Don't clear stop_expected. Set the lwp's - last_resume_kind to resume_stop. - (linux_detach_one_lwp): Don't check for removed breakpoints. - (check_removed_breakpoint): Delete. - (status_pending_p): Rename to ... - (status_pending_p_callback): ... this. Don't check for removed - breakpoints. Don't consider threads that are stopped from GDB's - perspective. - (linux_wait_for_lwp): Always read the stop_pc here. - (cancel_breakpoint): New. - (step_over_bkpt): New global. - (linux_wait_for_event_1): Implement stepping over breakpoints. - (gdb_wants_lwp_stopped): New. - (gdb_wants_all_stopped): New. - (linux_wait_1): Tag threads as gdb-wants-stopped. Cancel finished - single-step traps here. Store the thread's last reported target - wait status. - (send_sigstop): Don't clear stop_expected. Always set it, - instead. - (mark_lwp_dead): Remove reference to pending_is_breakpoint. - (cancel_finished_single_step): New. - (cancel_finished_single_steps): New. - (wait_for_sigstop): Don't cancel finished single-step traps here. - (linux_resume_one_lwp): Don't check for removed breakpoints. - Don't set `step' on non-hardware step archs. - (linux_set_resume_request): Ignore resume_stop requests if already - stopping or stopped. Set the lwp's last_resume_kind. - (resume_status_pending_p): Don't check for removed breakpoints. - (need_step_over_p): New. - (start_step_over): New. - (finish_step_over): New. - (linux_resume_one_thread): Always queue a sigstop for resume_stop - requests. Clear the thread's last reported target waitstatus. - Don't use the `suspended' flag. Don't consider pending breakpoints. - (linux_resume): Start a step-over if necessary. - (proceed_one_lwp): New. - (proceed_all_lwps): New. - (unstop_all_lwps): New. - * linux-low.h (struct lwp_info): Rewrite comment for the - `suspended' flag. Add the `stop_pc' field. Delete the - `pending_stop_pc' field. Tweak the `stepping' flag's comment. - Add `'last_resume_kind' and `need_step_over' fields. - * inferiors.c (struct thread_info): Delete, moved elsewhere. - * mem-break.c (struct breakpoint): Delete `reinserting' flag. - Delete `breakpoint_to_reinsert' field. New flag `inserted'. - (set_raw_breakpoint_at): New. - (set_breakpoint_at): Rewrite to use it. - (reinsert_breakpoint_handler): Delete. - (set_reinsert_breakpoint): New. - (reinsert_breakpoint_by_bp): Delete. - (delete_reinsert_breakpoints): New. - (uninsert_breakpoint): Rewrite. - (uninsert_breakpoints_at): New. - (reinsert_breakpoint): Rewrite. - (reinsert_breakpoints_at): New. - (check_breakpoints): Rewrite. - (breakpoint_here): New. - (breakpoint_inserted_here): New. - (check_mem_read): Adjust. - * mem-break.h (breakpoints_supported, breakpoint_here) - (breakpoint_inserted_here, set_reinsert_breakpoint): Declare. - (reinsert_breakpoint_by_bp): Delete declaration. - (delete_reinsert_breakpoints): Declare. - (reinsert_breakpoint): Delete declaration. - (reinsert_breakpoints_at): Declare. - (uninsert_breakpoint): Delete declaration. - (uninsert_breakpoints_at): Declare. - (check_breakpoints): Adjust prototype. - * server.h: Adjust include order. - (struct thread_info): Declare here. Add a `last_status' field. - -2010-03-23 Michael Snyder - - * server.c (crc32): New function. - (handle_query): Add handling for 'qCRC:' request. - -2010-03-23 Pedro Alves - - * linux-x86-low.c (x86_linux_prepare_to_resume): Clear DR6 if the - lwp had been stopped by a watchpoint. - -2010-03-16 Pedro Alves - - * server.h (internal_error): Declare. - (gdb_assert, ASSERT_FUNCTION, gdb_assert_fail): Define. - * utils.c (internal_error): New function. - -2010-03-15 Andreas Schwab - - * configure.srv: Fix typo setting srv_regobj. - -2010-03-15 Pedro Alves - - * linux-low.c (fetch_register): Avoid passing a non string literal - format to `error'. - (usr_store_inferior_registers): Ditto. - -2010-03-14 Pedro Alves - - * linux-low.c (linux_write_memory): Bail out early if peeking - memory failed. - -2010-03-14 Pedro Alves - - * linux-low.h (struct lwp_info): New fields - `stopped_by_watchpoint' and `stopped_data_address'. - * linux-low.c (linux_wait_for_lwp): Check for watchpoint triggers - here, and cache them in the lwp object. - (wait_for_sigstop): Check stopped_by_watchpoint lwp field - directly. - (linux_resume_one_lwp): Clear the lwp's stopped_by_watchpoint - field. - (linux_stopped_by_watchpoint): Rewrite. - (linux_stopped_data_address): Rewrite. - -2010-03-06 Simo Melenius - - * linux-low.c (linux_wait_for_lwp): Fetch the regcache after - switching the current inferior, not before. - -2010-03-01 H.J. Lu - - * Makefile.in (clean): Replace reg-i386.c, reg-x86-64.c, - reg-i386-linux.c and reg-x86-64-linux.c with i386.c, amd64.c, - i386-linux.c and amd64-linux.c. - (reg-i386.o): Removed. - (reg-i386.c): Likewise. - (reg-i386-linux.o): Likewise. - (reg-i386-linux.c): Likewise. - (reg-x86-64.o): Likewise. - (reg-x86-64.c): Likewise. - (reg-x86-64-linux.o): Likewise. - (reg-x86-64-linux.c): Likewise. - (i386.o): New. - (i386.c): Likewise. - (i386-linux.o): Likewise. - (i386-linux.c): Likewise. - (amd64.o): Likewise. - (amd64.c): Likewise. - (amd64-linux.o): Likewise. - (amd64-linux.c): Likewise. - - * configure.srv (srv_i386_regobj): New. - (srv_i386_linux_regobj): Likewise. - (srv_amd64_regobj): Likewise. - (srv_amd64_linux_regobj): Likewise. - (srv_i386_32bit_xmlfiles): Likewise. - (srv_i386_64bit_xmlfiles): Likewise. - (srv_i386_xmlfiles): Likewise. - (srv_amd64_xmlfiles): Likewise. - (srv_i386_linux_xmlfiles): Likewise. - (srv_amd64_linux_xmlfiles): Likewise. - (i[34567]86-*-cygwin*): Set srv_regobj to $srv_i386_regobj. Set - srv_xmlfiles to $srv_i386_xmlfiles. - (i[34567]86-*-mingw32ce*): Likewise. - (i[34567]86-*-mingw*): Likewise. - (i[34567]86-*-nto*): Likewise. - (i[34567]86-*-linux*): Set srv_regobj to $srv_i386_linux_regobj - and $srv_amd64_linux_regobj. Set srv_xmlfiles to - $srv_i386_linux_xmlfiles and $srv_amd64_linux_xmlfiles. - (x86_64-*-linux*): Likewise. - - * linux-x86-low.c (init_registers_x86_64_linux): Removed. - (init_registers_amd64_linux): New. - (x86_arch_setup): Replace init_registers_x86_64_linux with - init_registers_amd64_linux. - -2010-02-23 Maxim Kuvyrkov - - * configure.ac: Check for libdl. If it is not available link against - static libthread_db. - * configure: Regenerate. - -2010-02-22 Pedro Alves - - PR9605 - - * i386-low.c (i386_length_and_rw_bits): Throw a fatal error if - handing a read watchpoint. - (i386_low_insert_watchpoint): Read watchpoints aren't supported. - -2010-02-12 Doug Evans - - * linux-low.c (linux_supports_tracefork_flag): Document. - (linux_look_up_symbols): Add comment. - -2010-02-03 H.J. Lu - - * regcache.c (supply_register): Clear regcache if buf is NULL. - -2010-02-02 Nicolas Roche - Joel Brobecker - - * inferiors.c (find_inferior): Add function documentation. - (unloaded_dll): Handle the case where the unloaded dll has not - been previously registered in the dll list. - -2010-02-01 Daniel Jacobowitz - - * linux-arm-low.c (thumb_breakpoint_len): Delete. - (thumb2_breakpoint): New. - (arm_breakpoint_at): Check for Thumb-2 breakpoints. - -2010-01-29 Daniel Jacobowitz - - * linux-low.c (get_stop_pc): Check for SIGTRAP. - (linux_wait_for_event_1): Handle SIGILL and SIGSEGV as possible - breakpoints. - -2010-01-21 Pedro Alves - - * linux-ppc-low.c (ppc_arch_setup): Adjust to regcache changes. - -2010-01-21 Jan Kratochvil - - * linux-s390-low.c (s390_collect_ptrace_register) - (s390_supply_ptrace_register): Adjust it for the new regcache parameter. - -2010-01-21 Doug Evans - - * linux-low.c (PTRACE_ARG3_TYPE): Change from long to void*. - (PTRACE_ARG4_TYPE): New macro. - (handle_extended_wait): Cast ptrace arg4 to PTRACE_ARG4_TYPE. - (linux_wait_for_event_1, linux_resume_one_lwp): Ditto. - (fetch_register): Cast to uintptr_t before casting to PTRACE_ARG3_TYPE. - (usr_store_inferior_registers): Ditto. - (linux_read_memory, linux_write_memory): Ditto. - (linux_test_for_tracefork): Ditto. - - * linux-arm-low.c: Remove redundant include of gdb_proc_service.h. - Only include elf.h if gdb_proc_service.h didn't include linux/elf.h. - -2010-01-21 Pedro Alves - - * proc-service.c (ps_lgetregs): Don't refetch registers from the - target. - -2010-01-21 Pedro Alves - - * spu-low.c (spu_fetch_registers, spu_store_registers): Change - prototype to take a regcache. Adjust. - -2010-01-20 Pedro Alves - - * regcache.h (struct thread_info): Forward declare. - (struct regcache): New. - (new_register_cache): Adjust prototype. - (get_thread_regcache): Declare. - (free_register_cache): Adjust prototype. - (registers_to_string, registers_from_string): Ditto. - (supply_register, supply_register_by_name, collect_register) - (collect_register_as_string, collect_register_by_name): Ditto. - * regcache.c (struct inferior_regcache_data): Delete. - (get_regcache): Rename to ... - (get_thread_regcache): ... this. Adjust. Switch inferior before - fetching registers. - (regcache_invalidate_one): Adjust. - (regcache_invalidate): Fix prototype. - (new_register_cache): Return the new register cache. - (free_register_cache): Change prototype. - (realloc_register_cache): Adjust. - (registers_to_string): Change prototype to take a regcache. Adjust. - (registers_from_string): Ditto. - (register_data): Ditto. - (supply_register): Ditto. - (supply_register_by_name): Ditto. - (collect_register): Ditto. - (collect_register_as_string): Ditto. - (collect_register_by_name): Ditto. - * server.c (process_serial_event): Adjust. - * linux-low.h (regset_fill_func, regset_store_func): Change - prototype. - (get_pc, set_pc, collect_ptrace_register, supply_ptrace_register): - Change prototype. - * linux-low.c (get_stop_pc): Adjust. - (check_removed_breakpoint): Adjust. - (linux_wait_for_event): Adjust. - (linux_resume_one_lwp): Adjust. - (fetch_register): Add regcache parameter. Adjust. - (usr_store_inferior_registers): Ditto. - (regsets_fetch_inferior_registers): Ditto. - (regsets_store_inferior_registers): Ditto. - (linux_fetch_registers, linux_store_registers): Ditto. - * i387-fp.c (i387_cache_to_fsave): Change prototype to take a - regcache. Adjust. - (i387_fsave_to_cache, i387_cache_to_fxsave, i387_fxsave_to_cache): - Ditto. - * i387-fp.h (i387_cache_to_fsave, i387_fsave_to_cache): Change - prototype to take a regcache. - (i387_cache_to_fxsave, i387_fxsave_to_cache): Ditto. - * remote-utils.c (convert_ascii_to_int, outreg) - (prepare_resume_reply): Change prototype to take a regcache. - Adjust. - * target.h (struct target_ops) : - Change prototype to take a regcache. - (fetch_inferior_registers, store_inferior_registers): Change - prototype to take a regcache. Adjust. - * proc-service.c (ps_lgetregs): Adjust. - * linux-x86-low.c (x86_fill_gregset, x86_store_gregset) - (x86_fill_fpregset, x86_store_fpregset, x86_fill_fpxregset) - (x86_store_fpxregset, x86_get_pc, x86_set_pc): Change prototype to - take a regcache. Adjust. - * linux-arm-low.c (arm_fill_gregset, arm_store_gregset) - (arm_fill_wmmxregset, arm_store_wmmxregset, arm_fill_vfpregset) - (arm_store_vfpregset, arm_get_pc, arm_set_pc): - (arm_breakpoint_at): Change prototype to take a regcache. Adjust. - * linux-cris-low.c (cris_get_pc, cris_set_pc) - (cris_cannot_fetch_register): - (cris_breakpoint_at): Change prototype to take a regcache. - Adjust. - * linux-crisv32-low.c (cris_get_pc, cris_set_pc, - cris_reinsert_addr, cris_write_data_breakpoint): Change prototype - to take a regcache. Adjust. - (cris_breakpoint_at, cris_insert_point, cris_remove_point): - Adjust. - * linux-m32r-low.c (m32r_get_pc, m32r_set_pc): Change prototype to - take a regcache. Adjust. - * linux-m68k-low.c (m68k_fill_gregset, m68k_store_gregset) - (m68k_fill_fpregset, m68k_store_fpregset, m68k_get_pc, - (m68k_set_pc): Change prototype to take a regcache. Adjust. - * linux-mips-low.c (mips_get_pc): - (mips_set_pc): Change prototype to take a regcache. Adjust. - (mips_reinsert_addr): Adjust. - (mips_collect_register): Change prototype to take a regcache. - Adjust. - (mips_supply_register): - (mips_collect_register_32bit, mips_supply_register_32bit) - (mips_fill_gregset, mips_store_gregset, mips_fill_fpregset) - (mips_store_fpregset): Ditto. - * linux-ppc-low.c (ppc_supply_ptrace_register) - (ppc_supply_ptrace_register): Ditto. - (parse_spufs_run): Adjust. - (ppc_get_pc, ppc_set_pc, ppc_fill_gregset, ppc_fill_vsxregset) - (ppc_store_vsxregset, ppc_fill_vrregset, ppc_store_vrregset) - (ppc_fill_evrregset, ppc_store_evrregset): Change prototype to - take a regcache. Adjust. - * linux-s390-low.c (s390_collect_ptrace_register) - (s390_supply_ptrace_register, s390_fill_gregset, s390_get_pc) - (s390_set_pc): Change prototype to take a regcache. Adjust. - (s390_arch_setup): Adjust. - * linux-sh-low.c (sh_get_pc, sh_breakpoint_at) - (sh_fill_gregset): Change prototype to take a regcache. Adjust. - * linux-sparc-low.c (sparc_fill_gregset_to_stack) - (sparc_fill_gregset, sparc_store_gregset_from_stack) - (sparc_store_gregset, sparc_get_pc): Change prototype to take a - regcache. Adjust. - (sparc_breakpoint_at): Adjust. - * linux-xtensa-low.c (xtensa_fill_gregset): - (xtensa_store_gregset): - (xtensa_fill_xtregset, xtensa_store_xtregset, xtensa_get_pc) - (xtensa_set_pc): Change prototype to take a regcache. Adjust. - * nto-low.c (nto_fetch_registers, nto_store_registers): Change - prototype to take a regcache. Adjust. - * win32-arm-low.c (arm_fetch_inferior_register) - (arm_store_inferior_register): Change prototype to take a - regcache. Adjust. - * win32-i386-low.c (i386_fetch_inferior_register) - (i386_store_inferior_register): Change prototype to take a - regcache. Adjust. - * win32-low.c (child_fetch_inferior_registers) - (child_store_inferior_registers): Change prototype to take a - regcache. Adjust. - (win32_wait): Adjust. - (win32_fetch_inferior_registers): Change prototype to take a - regcache. Adjust. - (win32_store_inferior_registers): Adjust. - * win32-low.h (struct win32_target_ops) : Change prototype to take a regcache. - -2010-01-20 Doug Evans - - * linux-low.c (linux_create_inferior): Wrap use of __SIGRTMIN in - #ifdef. - (linux_wait_for_event1, linux_init_signals): Ditto. - (W_STOPCODE): Provide definition if missing. - -2010-01-13 Vladimir Prus - - * linux-low.c (linux_core_of_thread): New. - (compare_ints, show_process, list_threads): New. - (linux_qxfer_osdata): Report threads and cores. - (linux_target_op): Register linux_core_of_thread. - * remote-utils.c (prepare_resume_reply): Report the core. - (buffer_xml_printf): Support %d specifier. - * server.c (handle_threads_qxfer_proper, handle_threads_qxfer): - New. - (handle_query): Handle qXfer:threads. Announce availability - thereof. - * target.h (struct target_ops): New field core_of_thread. - -2010-01-04 Ulrich Weigand - - * Makefile.in (clean): Remove new generated files. - (reg-s390.o, reg-s390.c): Remove rules. - (reg-s390x.o, reg-s390x.c): Likewise. - (s390-linux32.o, s390-linux32.c): Add rules. - (s390-linux64.o, s390-linux64.c): Likewise. - (s390x-linux64.o, s390x-linux64.c): Likewise. - * configure.srv (s390*-*-linux*): Update srv_regobj and srv_xmlfiles. - * linux-s390-low.c: Include . - (HWCAP_S390_HIGH_GPRS): Define if undefined. - (init_registers_s390): Remove prototype. - (init_registers_s390x): Likewise. - (init_registers_s390_linux32): Add prototype. - (init_registers_s390_linux64): Likewise. - (init_registers_s390x_linux64): Likewise. - (s390_num_regs_3264): New define. - (s390_regmap_3264): New global variable. - (s390_cannot_fetch_register): Remove obsolete check. - (s390_cannot_store_register): Likewise. - (s390_collect_ptrace_register): Handle upper/lower register halves. - (s390_supply_ptrace_register): Likewise. - (s390_fill_gregset): Update to register number changes. - (s390_get_hwcap): New routine. - (s390_arch_setup): Detect 32-bit process running on 64-bit system. - Install appropriate regmap and register set. - -2010-01-01 Joel Brobecker - - * server.c (gdbserver_version): Update copyright year to 2010. - * gdbreplay.c (gdbreplay_version): Likewise. - -2009-12-28 Doug Evans - - * linux-low.c: Delete inclusion of ansidecl.h, elf/common.h, - elf/external.h. Include instead but only if necessary. - -2009-12-28 Pedro Alves - - * linux-low.c (linux_remove_process): Remove `detaching' - parameter. Don't release/detach from thread_db here. - (linux_kill): Release/detach from thread_db here, ... - (linux_detach): ... and here, before actually detaching. - (linux_wait_1): ... and here, when a process exits. - * thread-db.c (any_thread_of): New. - (thread_db_free): Switch the current inferior to a thread of the - passed in process. - -2009-12-21 Doug Evans - - * linux-x86-low.c: Delete outdated comment about Elf32_Phdr. - - * linux-low.c (kill_lwp): Use __NR_tkill instead of SYS_tkill. - Move definition of tkill_failed to ifdef __NR_tkill to avoid gcc - warning ifndef __NR_tkill. Move setting of errno there too. - Delete unnecessary resetting of errno after syscall. - Minor comment changes to match gdb/linux-nat.c:kill_lwp. - - * configure.ac: Check for dladdr. - * config.in: Regenerate. - * configure: Regenerate. - * thread-db.c (dladdr_to_soname): Only define ifdef HAVE_DLADDR. - (try_thread_db_load): Update. - - * linux-low.c (my_waitpid): Delete unnecessary prototype. - -2009-12-18 Doug Evans - - * event-loop.c: Include unistd.h if it exists. - - * linux-low.c (my_waitpid): Move definition away from being in - between linux_tracefork_child/linux_test_for_tracefork. - - * gdb_proc_service.h (psaddr_t): Fix type. - * thread-db.c (thread_db_info.td_thr_tls_get_addr_p): Fix - signature to match glibc. - -2009-12-16 Doug Evans - - * linux-low.c (linux_read_memory): Fix argument to read. - -2009-11-26 Pedro Alves - - * win32-low.c (get_child_debug_event): On EXIT_THREAD_DEBUG_EVENT - events, don't leave current_inferior pointing at null. - -2009-11-26 Pedro Alves - - * win32-low.c (LOG): Delete. - (OUTMSG): Output to stderr. - (OUTMSG2): Conditionalize on `debug_threads' variable, instead of - on compile time LOG macro. - (win32_wait): Fix debug output. - -2009-11-26 Pedro Alves - - * win32-low.c (win32_add_one_solib): If the dll name is - "ntdll.dll", prepend the system directory to the dll path. - -2009-11-17 Daniel Jacobowitz - - * m68k-tdep.c (m68k_gdbarch_init): Reuse previous initialization. - -2009-11-17 Nathan Sidwell - Vladimir Prus - - * Makefile.in (reg-cf.o, reg-cf.c): New targets. - * configure.ac: Check for __mcoldfire__ and set - gdb_cv_m68k_is_coldfire. - * configure.srv: Use gdb_cv_m68k_is_coldfire to select between - reg-cf.o and reg-m68k.o. - * configure: Regenerated. - -2009-11-16 Pedro Alves - - * linux-low.c (linux_remove_process): Add `detaching' parameter. - Pass it to thread_db_free. - (linux_kill, linux_detach, linux_wait_1): Adjust to pass the - proper `detaching' argument to linux_remove_process. - * linux-low.h (thread_db_free): Add `detaching' parameter. - * thread-db.c (thread_db_init): Pass false as `detaching' argument - to thread_db_free. - (thread_db_free): Add `detaching' parameter. Only - call td_ta_clear_event if detaching from process. - -2009-11-12 Maxim Kuvyrkov - - * thread-db.c (thread_db_free): Fix typo. - -2009-11-11 Paul Pluzhnikov - - PR gdb/10838 - * thread-db.c (thread_db_free): Call td_ta_clear_event. - -2009-11-03 Nathan Sidwell - - * configure.ac (i[34567]86-*): Check if we're targetting x86-64 - with an i686 compiler. - * configure.srv (i[34567]86-*-linux*): Pull in x86-64 handling if - needed. - * configure: Rebuilt. - -2009-10-29 Sandra Loosemore - - PR gdb/10783 - - * server.c (handle_search_memory_1): Correct read_addr initialization - in loop for searching subsequent chunks. - -2009-10-29 Paul Pluzhnikov - - * configure.ac: New --with-libthread-db option. - * thread-db.c: Allow direct dependence on libthread_db. - (thread_db_free): Adjust. - * config.in: Regenerate. - * configure: Likewise. - -2009-10-28 Paul Pluzhnikov - - PR gdb/10757 - * thread-db.c (attach_thread): New function. - (maybe_attach_thread): Return success/failure. - (find_new_threads_callback): Adjust. - (thread_db_find_new_threads): Loop until no new threads. - -2009-10-13 Pedro Alves - - * proc-service.c (ps_lgetregs): Formatting. - -2009-10-08 Paul Pluzhnikov - - * acinclude.m4: (SRV_CHECK_THREAD_DB, SRV_CHECK_TLS_GET_ADDR): Remove. - * configure.ac: Adjust. - * linux-low.h (struct process_info_private): Move members to struct - thread_db. - (thread_db_free, thread_db_handle_monitor_command): New prototype. - * linux-low.c (linux_remove_process): Adjust. - (linux_wait_for_event_1, linux_look_up_symbols): Likewise. - * server.c (handle_query): Move code ... - (handle_monitor_command): ... here. New function. - * target.h (struct target_ops): New member. - * thread-db.c (struct thread_db): New. - (libthread_db_search_path): New variable. - (thread_db_create_event, thread_db_enable_reporting) - (find_one_thread, maybe_attach_thread, find_new_threads_callback) - (thread_db_find_new_threads, (thread_db_get_tls_address): Adjust. - (try_thread_db_load_1, dladdr_to_soname): New functions. - (try_thread_db_load, thread_db_load_search): New functions. - (thread_db_init): Search for libthread_db. - (thread_db_free): New function. - (thread_db_handle_monitor_command): Likewise. - * config.in: Regenerate. - * configure: Regenerate. - -2009-09-27 Ulrich Weigand - - * spu-low.c (spu_kill): Wait for inferior to terminate. - Call clear_inferiors. - (spu_detach): Call clear_inferiors. - -2009-08-22 Ralf Wildenhues - - * aclocal.m4: Regenerate. - * config.in: Likewise. - * configure: Likewise. - -2009-07-31 Ulrich Weigand - - * linux-ppc-low.c (INSTR_SC, NR_spu_run): Define. - (parse_spufs_run): New function. - (ppc_get_pc, ppc_set_pc): Detect and handle SPU PC. - (ppc_breakpoint_at): Handle SPU breakpoints. - -2009-07-31 Ulrich Weigand - - * linux-low.c: Include and . - (SPUFS_MAGIC): Define. - (spu_enumerate_spu_ids): New function. - (linux_qxfer_spu): New function. - (linux_target_ops): Install linux_qxfer_spu. - -2009-07-31 Ulrich Weigand - - * configure.srv (powerpc*-*-linux*): Add powerpc-cell32l.o - and powerpc-cell64l.o to srv_regobj. Add rs6000/powerpc-cell32l.xml - and rs6000/powerpc-cell64l.xml to srv_xmlfiles. - * Makefile.in (powerpc-cell32l.o, powerpc-cell32l.c): New rules. - (powerpc-cell64l.o, powerpc-cell64l.c): Likewise. - (clean): Handle powerpc-cell32l.c and powerpc-cell64l.c. - * linux-ppc-low.c (PPC_FEATURE_CELL): Define. - (init_registers_powerpc_cell32l): Add prototype. - (init_registers_powerpc_cell64l): Likewise. - (ppc_arch_setup): Detect Cell/B.E. architecture. - -2009-07-30 Ralf Wildenhues - - * Makefile.in (datarootdir): New variable. - -2009-07-28 Daniel Jacobowitz - - * linux-low.c (linux_write_memory): Update debugging output. - * Makefile.in (clean): Add new descriptions. - (arm-with-vfpv2.o, arm-with-vfpv2.c, arm-with-vfpv3.o) - (arm-with-vfpv3.c, arm-with-neon.o, arm-with-neon.c): New rules. - * configure.srv: Add new files for arm*-*-linux*. - * linux-arm-low.c: Add new declarations. - (PTRACE_GETVFPREGS, PTRACE_SETVFPREGS): Define if undefined. - (arm_hwcap, HWCAP_VFP, HWCAP_IWMMXT, HWCAP_NEON, HWCAP_VFPv3) - (HWCAP_VFPv3D16): New. - (arm_fill_wmmxregset, arm_store_wmmxregset): Check HWCAP_IWMMXT - instead of __IWMMXT__. - (arm_fill_vfpregset, arm_store_vfpregset, arm_get_hwcap) - (arm_arch_setup): New. - (target_regsets): Remove #ifdef. Add VFP regset. - (the_low_target): Use arm_arch_setup. - -2009-07-28 Daniel Jacobowitz - - * linux-low.c (linux_kill_one_lwp): Adjust kernel workaround to skip - the main thread again. - -2009-07-06 Aleksandar Ristovski - - Adding Neutrino gdbserver. - * configure: Regenerated. - * configure.ac: Add case for srv_qnx and set LIBS accordingly. - * configure.srv (i[34567]86-*-nto*): New target. - * nto-low.c, nto-low.h, nto-x86-low.c: New files. - * remote-utils.c [__QNX__]: Include sys/iomgr.h - (nto_comctrl) [__QNX__]: New function. - (enable_async_io, disable_async_io) [__QNX__]: Call nto_comctrl. - -2009-07-05 Danny Backx - - * configure.srv (i[34567]86-*-mingw32ce*): Add i386-low.o to - srv_tgtobj. - -2009-07-04 Danny Backx - Pedro Alves - - * win32-i386-low.c (i386_get_thread_context): Handle systems that - don't support CONTEXT_EXTENDED_REGISTERS. - (i386_win32_breakpoint, i386_win32_breakpoint_len): New. - (the_low_target): Install them. - * win32-low.c (get_child_debug_event): Handle WaitForDebugEvent - failing with ERROR_PIPE_NOT_CONNECTED. - -2009-06-30 Doug Evans - Pierre Muller - - Add h/w watchpoint support to x86-linux, win32-i386. - * Makefile.in (SFILES): Add i386-low.c - (i386_low_h): Define. - (i386-low.o): Add dependencies. - (linux-x86-low.o): Add i386-low.h dependency. - (win32-i386-low.o): Ditto. - * i386-low.c: New file. - * i386-low.h: New file. - * configure.srv (i[34567]86-*-cygwin*): Add i386-low.o to srv_tgtobj. - (i[34567]86-*-linux*, i[34567]86-*-mingw*, x86_64-*-linux*): Ditto. - * linux-low.c (linux_add_process): Initialize arch_private. - (linux_remove_process): Free arch_private. - (add_lwp): Initialize arch_private. - (delete_lwp): Free arch_private. - (linux_resume_one_lwp): Call the_low_target.prepare_to_resume if - provided. - * linux-low.h (process_info_private): New member arch_private. - (lwp_info): New member arch_private. - (linux_target_ops): New members new_process, new_thread, - prepare_to_resume. - (ptid_of): New macro. - * linux-x86-low.c: Include stddef.h, i386-low.h. - (arch_process_info): New struct. - (arch_lwp_info): New struct. - (x86_linux_dr_get, x86_linux_dr_set): New functions. - (i386_dr_low_set_addr, i386_dr_low_set_control): New functions. - (i386_dr_low_get_status): New function. - (x86_insert_point, x86_remove_point): New functions. - (x86_stopped_by_watchpoint): New function. - (x86_stopped_data_address): New function. - (x86_linux_new_process, x86_linux_new_thread): New functions. - (x86_linux_prepare_to_resume): New function. - (the_low_target): Add entries for insert_point, remove_point, - stopped_by_watchpoint, stopped_data_address, new_process, new_thread, - prepare_to_resume. - * server.c (debug_hw_points): New global. - (monitor_show_help): Document set debug-hw-points. - (handle_query): Process "set debug-hw-points". - * server.h (debug_hw_points): Declare. - (paddress): Declare. - * utils.c (NUMCELLS, CELLSIZE): New macros. - (get_sell, xsnprintf, paddress): New functions. - * win32-arm-low.c (the_low_target): Add entries for insert_point, - remove_point, stopped_by_watchpoint, stopped_data_address. - * win32-i386-low.c: Include i386-low.h. - (debug_reg_state): Replaces dr. - (i386_dr_low_set_addr, i386_dr_low_set_control): New functions. - (i386_dr_low_get_status): New function. - (i386_insert_point, i386_remove_point): New functions. - (i386_stopped_by_watchpoint): New function. - (i386_stopped_data_address): New function. - (i386_initial_stuff): Update. - (get_thread_context,set_thread_context,i386_thread_added): Update. - (the_low_target): Add entries for insert_point, - remove_point, stopped_by_watchpoint, stopped_data_address. - * win32-low.c (win32_insert_watchpoint): New function. - (win32_remove_watchpoint): New function. - (win32_stopped_by_watchpoint): New function. - (win32_stopped_data_address): New function. - (win32_target_ops): Add entries for insert_watchpoint, - remove_watchpoint, stopped_by_watchpoint, stopped_data_address. - * win32-low.h (win32_target_ops): New members insert_point, - remove_point, stopped_by_watchpoint, stopped_data_address. - -2009-06-25 Pedro Alves - - * server.c (process_serial_event): Re-return unsupported, not - error, if the type isn't recognized. Re-allow supporting only - insert or remove packets. Also call require_running for - breakpoints. Add missing break statement to default case. Tidy. - * target.h (struct target_ops): Rename insert_watchpoint to - insert_point, and remove_watchpoint to remove_point. - - * linux-low.h (struct linux_target_ops): Likewise. - * linux-low.c (linux_insert_watchpoint): Rename to ... - (linux_insert_point): ... this. Adjust. - (linux_remove_watchpoint): Rename to ... - (linux_remove_point): ... this. Adjust. - (linux_target_ops): Adjust. - * linux-crisv32-low.c (cris_insert_watchpoint): Rename to ... - (cris_insert_point): ... this. - (cris_remove_watchpoint): Rename to ... - (cris_remove_point): ... this. - (the_low_target): Adjust. - -2009-06-24 Pierre Muller - - * server.c (handle_v_kill): Pass signal_pid to - kill_inferior if multi_process is zero. - -2009-06-23 Aleksandar Ristovski - - * server.c (process_serial_event): Add support for Z0 and Z1 packet. - * target.h (target_ops): Comment for *_watchpoint to make it clear - the functions can get types '0' and '1'. - -2009-06-22 Aleksandar Ristovski - - * linux-low.c (usr_fetch_inferior_registers): Remove check for regno 0. - * proc-service.c (ps_lgetregs): Pass -1 to fetch all registers. - * regcache.c (get_regcache): Likewise. - * spu-low.c (spu_fetch_registers): Remove 0 to -1 conversion. - * win32-low.c (child_fetch_inferior_registers): Remove check for - regno 0. - -2009-06-19 Aleksandar Ristovski - Pedro Alves - - * target.h (struct target_ops) : New - callback. - (target_supports_multi_process): New. - * server.c (handle_query): Even if GDB reports support, only - enable multi-process if the target also supports it. Report - multi-process support only if the target backend supports it. - * linux-low.c (linux_supports_multi_process): New function. - (linux_target_ops): Install it as target_supports_multi_process - callback. - -2009-05-24 Doug Evans - - Global renaming of find_thread_pid to find_thread_ptid. - * server.h (find_thread_ptid): Renamed from find_thread_pid. - * inferiors.c (find_thread_ptid): Renamed from find_thread_pid. - All callers updated. - - * linux-low.c (handle_extended_wait): Use linux_resume_one_lwp - to resume the newly created thread, don't call ptrace (PTRACE_CONT) - directly. - - * linux-low.c (get_stop_pc): Print pc if debug_threads. - (check_removed_breakpoint, linux_wait_for_lwp): Ditto. - (linux_resume_one_lwp): Ditto. - -2009-05-23 Doug Evans - - * linux-low.c (linux_resume_one_lwp): Change type of first arg - from struct inferior_list_entry * to struct lwp_info *. - All callers updated. - -2009-05-13 Doug Evans - - * linux-x86-low.c: Don't include assert.h. - (x86_siginfo_fixup): Use fatal, not assert. - (x86_arch_setup): Fix comment. - -2009-05-12 Doug Evans - - Biarch support for i386/amd64 gdbserver. - * Makefile.in (SFILES): Remove linux-i386-low.c, linux-x86-64-low.c. - Add linux-x86-low.c. - (linux-i386-low.o, linux-x86-64-low.o): Delete. - (linux-x86-low.o): Add. - * linux-x86-64-low.c: Delete. - * linux-i386-low.c: Delete. - * linux-x86-low.c: New file. - * configure.srv (i?86-linux srv_tgtobj): Replace linux-i386-low.o with - linux-x86-low.o. - (x86_64-linux srv_tgtobj): Replace linux-x86-64-low.o with - linux-x86-low.o. - (x86_64-linux srv_regobj): Add reg-i386-linux.o. - * linux-low.c: Include ansidecl.h, elf/common.h, elf/external.h. - (linux_child_pid_to_exec_file): New function. - (elf_64_header_p, elf_64_file_p): New functions. - (siginfo_fixup): New function. - (linux_xfer_siginfo): New local inf_siginfo. Call siginfo_fixup to - give target a chance to convert layout. - * linux-low.h (linux_target_ops): New member siginfo_fixup. - (linux_child_pid_to_exec_file, elf_64_file_p): Declare. - -2009-05-07 Doug Evans - - * linux-low.c (regsets_fetch_inferior_registers): Fix memory leak. - (regsets_store_inferior_registers): Ditto. - -2009-05-06 Pedro Alves - - PR server/10048 - - * linux-low.c (must_set_ptrace_flags): Delete. - (linux_create_inferior): Set `lwp->must_set_ptrace_flags' instead - of the global. - (linux_attach_lwp_1): Don't set PTRACE_SETOPTIONS here. Set - `lwp->must_set_ptrace_flags' instead. - (linux_wait_for_event_1): Set ptrace options here. - (linux_wait_1): ... not here. - -2009-04-30 Doug Evans - - * inferiors.c (started_inferior_callback): New function. - (attached_inferior_callback): New function. - (have_started_inferiors_p, have_attached_inferiors_p): New functions. - * server.c (print_started_pid, print_attached_pid): New functions. - (detach_or_kill_for_exit): New function. - (main): Call it instead of for_each_inferior (kill_inferior_callback). - * server.h (have_started_inferiors_p): Declare. - (have_attached_inferiors_p): Declare. - - * inferiors.c (remove_process): Fix memory leak, free process. - * linux-low.c (linux_remove_process): New function. - (linux_kill): Call it instead of remove_process. - (linux_detach, linux_wait_1): Ditto. - -2009-04-19 Danny Backx - - * configure.srv: Add x86 Windows CE target. - -2009-04-03 Ulrich Weigand - - * inferiors.c (get_thread_process): Make global. - * server.h (get_thread_process): Add prototype. - * thread-db.c (find_one_thread): Use get_thread_process - instead of current_process. - (thread_db_get_tls_address): Do not crash if called when - thread layer is not yet initialized. - -2009-04-03 Ulrich Weigand - - * remote-utils.c (prepare_resume_reply): Null-terminate packet. - * spu-low.c (current_tid): Rename to ... - (current_ptid): ... this. - (fetch_ppc_register, fetch_ppc_memory, store_ppc_memory, - spu_proc_xfer_spu, spu_resume, spu_request_interrupt): Use - ptid_get_lwp (current_ptid) instead of current_tid. - (spu_kill, spu_detach, spu_join, spu_wait): Use pid argument - instead of current_tid. Use find_process_pid to verify pid - argument is valid. Pass proper argument to remove_process. - (spu_thread_alive): Compare current_ptid instead of current_tid. - (spu_resume): Likewise. - -2009-04-02 Pedro Alves - - * linux-low.c (usr_store_inferior_registers): Declare local `pid' - variable. - -2009-04-01 Pedro Alves - - Implement the multiprocess extensions, and add linux multiprocess - support. - - * server.h (ULONGEST): Declare. - (struct ptid, ptid_t): New. - (minus_one_ptid, null_ptid): Declare. - (ptid_build, pid_to_ptid, ptid_get_pid, ptid_get_lwp) - (ptid_get_tid, ptid_equal, ptid_is_pid): Declare. - (struct inferior_list_entry): Change `id' type from unsigned from - to ptid_t. - (struct sym_cache, struct breakpoint, struct - process_info_private): Forward declare. - (struct process_info): Declare. - (current_process): Declare. - (all_processes): Declare. - (initialize_inferiors): Declare. - (add_thread): Adjust to use ptid_t. - (thread_id_to_gdb_id, thread_to_gdb_id, gdb_id_to_thread_id): Ditto. - (add_process, remove_process, find_thread_pid): Declare. - (find_inferior_id): Adjust to use ptid_t. - (cont_thread, general_thread, step_thread): Change type to ptid_t. - (multi_process): Declare. - (push_event): Adjust to use ptid_t. - (read_ptid, write_ptid): Declare. - (prepare_resume_reply): Adjust to use ptid_t. - (clear_symbol_cache): Declare. - * inferiors.c (all_processes): New. - (null_ptid, minus_one_ptid): New. - (ptid_build, pid_to_ptid, ptid_get_pid, ptid_get_lwp) - (ptid_get_tid, ptid_equal, ptid_is_pid): New. - (add_thread): Change unsigned long to ptid. Remove gdb_id - parameter. Adjust. - (thread_id_to_gdb_id, thread_to_gdb_id): Change unsigned long to ptid. - (gdb_id_to_thread): Rename to ... - (find_thread_pid): ... this. Change unsigned long to ptid. - (gdb_id_to_thread_id, find_inferior_id): Change unsigned long to ptid. - (loaded_dll, pull_pid_from_list): Adjust. - (add_process, remove_process, find_process_pid) - (get_thread_process, current_process, initialize_inferiors): New. - * target.h (struct thread_resume) : Change type to ptid_t. - (struct target_waitstatus) : Ditto. - (struct target_ops) : Add `pid' argument. Change - return type to int. - (struct target_ops) : Add `pid' argument. - (struct target_ops) : Change pid's type to ptid_t. - (struct target_ops) : Add `ptid' field. Change return type - to ptid. - (kill_inferior, detach_inferior, join_inferior): Add `pid' argument. - (mywait): Add `ptid' argument. Change return type to ptid_t. - (target_pid_to_str): Declare. - * target.c (set_desired_inferior): Adjust to use ptids. - (mywait): Add new `ptid' argument. Adjust. - (target_pid_to_str): New. - * mem-break.h (free_all_breakpoints): Declare. - * mem-break.c (breakpoints): Delelete. - (set_breakpoint_at, delete_breakpoint, find_breakpoint_at) - (check_mem_read, check_mem_write, delete_all_breakpoints): Adjust - to use per-process breakpoint list. - (free_all_breakpoints): New. - * remote-utils.c (struct sym_cache) : Drop `const'. - (symbol_cache, all_symbols_looked_up): Delete. - (hexchars): New. - (ishex, unpack_varlen_hex, write_ptid, hex_or_minus_one, - read_ptid): New. - (prepare_resume_reply): Change ptid argument's type from unsigned - long to ptid_t. Adjust. Implement W;process and X;process. - (free_sym_cache, clear_symbol_cache): New. - (look_up_one_symbol): Adjust to per-process symbol cache. * - * server.c (cont_thread, general_thread, step_thread): Change type - to ptid_t. - (attached): Delete. - (multi_process): New. - (last_ptid): Change type to ptid_t. - (struct vstop_notif) : Change type to ptid_t. - (queue_stop_reply, push_event): Change `ptid' argument's type to - ptid_t. - (discard_queued_stop_replies): Add `pid' argument. - (start_inferior): Adjust to use ptids. Adjust to mywait interface - changes. Don't reference the `attached' global. - (attach_inferior): Adjust to mywait interface changes. - (handle_query): Adjust to use ptids. Parse GDB's qSupported - features. Handle and report "multiprocess+". Handle - "qAttached:PID". - (handle_v_cont): Adjust to use ptids. Adjust to mywait interface - changes. - (handle_v_kill): New. - (handle_v_stopped): Adjust to use target_pid_to_str. - (handle_v_requests): Allow multiple attaches and runs when - multiprocess extensions are in effect. Handle "vKill". - (myresume): Adjust to use ptids. - (queue_stop_reply_callback): Add `arg' parameter. Handle it. - (handle_status): Adjust to discard_queued_stop_replies interface - change. - (first_thread_of, kill_inferior_callback) - (detach_or_kill_inferior_callback, join_inferiors_callback): New. - (main): Call initialize_inferiors. Adjust to use ptids, killing - and detaching from all inferiors. Handle multiprocess packet - variants. - * linux-low.h: Include gdb_proc_service.h. - (struct process_info_private): New. - (struct linux_target_ops) : Use ptid_get_pid. - : Use ptid_get_lwp. - (get_lwp_thread): Adjust. - (struct lwp_info): Add `dead' member. - (find_lwp_pid): Declare. - * linux-low.c (thread_db_active): Delete. - (new_inferior): Adjust comment. - (inferior_pid): Delete. - (linux_add_process): New. - (handle_extended_wait): Adjust. - (add_lwp): Change unsigned long to ptid. - (linux_create_inferior): Add process to processes table. Adjust - to use ptids. Don't set new_inferior here. - (linux_attach_lwp): Rename to ... - (linux_attach_lwp_1): ... this. Add `initial' argument. Handle - it. Adjust to use ptids. - (linux_attach_lwp): New. - (linux_attach): Add process to processes table. Don't set - new_inferior here. - (struct counter): New. - (second_thread_of_pid_p, last_thread_of_process_p): New. - (linux_kill_one_lwp): Add `args' parameter. Handle it. Adjust to - multiple processes. - (linux_kill): Add `pid' argument. Handle it. Adjust to multiple - processes. Remove process from process table. - (linux_detach_one_lwp): Add `args' parameter. Handle it. Adjust - to multiple processes. - (any_thread_of): New. - (linux_detach): Add `pid' argument, and handle it. Remove process - from processes table. - (linux_join): Add `pid' argument. Handle it. - (linux_thread_alive): Change unsighed long argument to ptid_t. - Consider dead lwps as not being alive. - (status_pending_p): Rename `dummy' argument to `arg'. Filter out - threads we're not interested in. - (same_lwp, find_lwp_pid): New. - (linux_wait_for_lwp): Change `pid' argument's type from int to - ptid_t. Adjust. - (linux_wait_for_event): Rename to ... - (linux_wait_for_event_1): ... this. Change `pid' argument's type - from int to ptid_t. Adjust. - (linux_wait_for_event): New. - (linux_wait_1): Add `ptid' argument. Change return type to - ptid_t. Adjust. Use last_thread_of_process_p. Remove processes - that exit from the process table. - (linux_wait): Add `ptid' argument. Change return type to ptid_t. - Adjust. - (mark_lwp_dead): New. - (wait_for_sigstop): Adjust to use ptids. If a process exits while - stopping all threads, mark its main lwp as dead. - (linux_set_resume_request, linux_resume_one_thread): Adjust to use - ptids. - (fetch_register, usr_store_inferior_registers) - (regsets_fetch_inferior_registers) - (regsets_store_inferior_registers, linux_read_memory) - (linux_write_memory): Inline `inferior_pid'. - (linux_look_up_symbols): Adjust to use per-process - `thread_db_active'. - (linux_request_interrupt): Adjust to use ptids. - (linux_read_auxv): Inline `inferior_pid'. - (initialize_low): Don't reference thread_db_active. - * gdb_proc_service.h (struct ps_prochandle) : Remove. - * proc-service.c (ps_lgetregs): Use find_lwp_pid. - (ps_getpid): Return the pid of the current inferior. - * thread-db.c (proc_handle, thread_agent): Delete. - (thread_db_create_event, thread_db_enable_reporting): Adjust to - per-process data. - (find_one_thread): Change argument type to ptid_t. Adjust to - per-process data. - (maybe_attach_thread): Adjust to per-process data and ptids. - (thread_db_find_new_threads): Ditto. - (thread_db_init): Ditto. - * spu-low.c (spu_create_inferior, spu_attach): Add process to - processes table. Adjust to use ptids. - (spu_kill, spu_detach): Adjust interface. Remove process from - processes table. - (spu_join, spu_thread_alive): Adjust interface. - (spu_wait): Adjust interface. Remove process from processes - table. Adjust to use ptids. - * win32-low.c (current_inferior_tid): Delete. - (current_inferior_ptid): New. - (debug_event_ptid): New. - (thread_rec): Take a ptid. Adjust. - (child_add_thread): Add `pid' argument. Adjust to use ptids. - (child_delete_thread): Ditto. - (do_initial_child_stuff): Add `attached' argument. Add process to - processes table. - (child_fetch_inferior_registers, child_store_inferior_registers): - Adjust. - (win32_create_inferior): Pass 0 to do_initial_child_stuff. - (win32_attach): Pass 1 to do_initial_child_stuff. - (win32_kill): Adjust interface. Remove process from processes - table. - (win32_detach): Ditto. - (win32_join): Adjust interface. - (win32_thread_alive): Take a ptid. - (win32_resume): Adjust to use ptids. - (get_child_debug_event): Ditto. - (win32_wait): Adjust interface. Remove exiting process from - processes table. - -2009-04-01 Pedro Alves - - Non-stop mode support. - - * server.h (non_stop): Declare. - (gdb_client_data, handler_func): Declare. - (delete_file_handler, add_file_handler, start_event_loop): - Declare. - (handle_serial_event, handle_target_event, push_event) - (putpkt_notif): Declare. - * target.h (enum resume_kind): New. - (struct thread_resume): Replace `step' field by `kind' field. - (TARGET_WNOHANG): Define. - (struct target_ops) : Add `options' argument. - : New fields. - (target_supports_non_stop, target_async): New. - (start_non_stop): Declare. - (mywait): Add `options' argument. - * target.c (mywait): Add `options' argument. Print child exit - notifications here. - (start_non_stop): New. - * server.c (non_stop, own_buf, mem_buf): New globals. - (struct vstop_notif): New. - (notif_queue): New global. - (queue_stop_reply, push_event, discard_queued_stop_replies) - (send_next_stop_reply): New. - (start_inferior): Adjust to use resume_kind. Adjust to mywait - interface changes. - (attach_inferior): In non-stop mode, don't wait for the target - here. - (handle_general_set): Handle QNonStop. - (handle_query): When handling qC, return the current general - thread, instead of the first thread of the list. - (handle_query): If the backend supports non-stop mode, include - QNonStop+ in the qSupported query response. - (handle_v_cont): Adjust to use resume_kind. Handle resume_stop - and non-stop mode. - (handle_v_attach, handle_v_run): Handle non-stop mode. - (handle_v_stopped): New. - (handle_v_requests): Report support for vCont;t. Handle vStopped. - (myresume): Adjust to use resume_kind. Handle non-stop. - (queue_stop_reply_callback): New. - (handle_status): Handle non-stop mode. - (main): Clear non_stop flag on reconnection. Use the event-loop. - Refactor serial protocol handling from here ... - (process_serial_event): ... to this new function. When GDB - selects any thread, select one here. In non-stop mode, wait until - GDB acks all pending events before exiting. - (handle_serial_event, handle_target_event): New. - * remote-utils.c (remote_open): Install remote_desc in the event - loop. - (remote_close): Remove remote_desc from the event loop. - (putpkt_binary): Rename to... - (putpkt_binary_1): ... this. Add `is_notic' argument. Handle it. - (putpkt_binary): New as wrapper around putpkt_binary_1. - (putpkt_notif): New. - (prepare_resume_reply): In non-stop mode, don't change the - general_thread. - * event-loop.c: New. - * Makefile.in (OBJ): Add event-loop.o. - (event-loop.o): New rule. - - * linux-low.h (pid_of): Moved here. - (lwpid_of): New. - (get_lwp_thread): Use lwpid_of. - (struct lwp_info): Delete `lwpid' field. Add `suspended' field. - * linux-low.c (pid_of): Delete. - (inferior_pid): Use lwpid_of. - (linux_event_pipe): New. - (target_is_async_p): New. - (delete_lwp): New. - (handle_extended_wait): Use lwpid_of. - (add_lwp): Don't set lwpid field. - (linux_attach_lwp): Adjust debug output. Use lwpid_of. - (linux_kill_one_lwp): If killing a running lwp, stop it first. - Use lwpid_of. Adjust to linux_wait_for_event interface changes. - (linux_detach_one_lwp): If detaching from a running lwp, stop it - first. Adjust to linux_wait_for_event interface changes. Use - lwpid_of. - (linux_detach): Don't delete the main lwp here. - (linux_join): Use my_waitpid. Avoid signal_pid. Use lwpid_of. - (status_pending_p): Don't consider explicitly suspended lwps. - (linux_wait_for_lwp): Take an integer pid instead of a lwp_info - pointer. Add OPTIONS argument. Change return type to int. Use - my_waitpid instead of sleeping. Handle WNOHANG. Use lwpid_of. - (linux_wait_for_event): Take an integer pid instead of a lwp_info - pointer. Add status pointer argument. Return a pid instead of a - status. Use lwpid_of. Adjust to linux_wait_for_lwp interface - changes. In non-stop mode, don't switch to a random thread. - (linux_wait): Rename to... - (linux_wait_1): ... this. Add target_options argument, and handle - it. Adjust to use resume_kind. Use lwpid_of. In non-stop mode, - don't handle the continue thread. Handle TARGET_WNOHANG. Merge - clean exit and signal exit code. Don't stop all threads in - non-stop mode. In all-stop mode, only stop all threads when - reporting a stop to GDB. Handle explicit thread stop requests. - (async_file_flush, async_file_mark): New. - (linux_wait): New. - (send_sigstop): Use lwpid_of. - (wait_for_sigstop): Use lwpid_of. Adjust to linux_wait_for_event - interface changes. In non-stop mode, don't switch to a random - thread. - (linux_resume_one_lwp): Use lwpid_of. - (linux_continue_one_thread, linux_queue_one_thread): Merge into ... - (linux_resume_one_thread): ... this. Handle resume_stop. In - non-stop mode, don't look for pending flag in all threads. - (resume_status_pending_p): Don't consider explicitly suspended - threads. - (my_waitpid): Reimplement. Emulate __WALL. - (linux_request_interrupt, linux_read_offsets, linux_xfer_siginfo): - Use lwpid_of. - (sigchld_handler, linux_supports_non_stop, linux_async) - (linux_start_non_stop): New. - (linux_target_ops): Register linux_supports_non_stop, linux_async - and linux_start_non_stop. - (initialize_low): Install SIGCHLD handler. - * thread-db.c (thread_db_create_event, find_one_thread) - (thread_db_get_tls_address): Use lwpid_of. - * win32-low.c (win32_detach): Adjust to use resume_kind. - (win32_wait): Add `options' argument. - * spu-low.c (spu_resume): Adjust to use resume_kind. - (spu_wait): Add `options' argument. - -2009-04-01 Pedro Alves - - Decouple target code from remote protocol. - - * target.h (enum target_waitkind): New. - (struct target_waitstatus): New. - (struct target_ops) : Return an unsigned long. Take a - target_waitstatus pointer instead of a char pointer. - (mywait): Likewise. - * target.c (mywait): Change prototype to return an unsigned long. - Take a target_waitstatus pointer instead of a char pointer. Adjust. - * server.h (thread_from_wait, old_thread_from_wait): Delete - declarations. - (prepare_resume_reply): Change prototype to take a - target_waitstatus. - * server.c (thread_from_wait, old_thread_from_wait): Delete. - (last_status, last_ptid): New. - (start_inferior): Remove "statusptr" argument. Adjust. Return a - pid instead of a signal. - (attach_inferior): Remove "status" and "signal" parameters. - Adjust. - (handle_query): For qGetTLSAddr, parse the thread id with strtol, - not as an address. - (handle_v_cont, handle_v_attach, handle_v_run, handle_v_kill) - (handle_v_requests, myresume): Remove "status" and "signal" - parameters. Adjust. - (handle_status): New. - (main): Delete local `status'. Adjust. - * remote-utils.c: Include target.h. - (prepare_resume_reply): Change prototype to take a - target_waitstatus. Adjust. - - * linux-low.c (linux_wait): Adjust to new target_ops->wait - interface. - * spu-low.c (spu_wait): Adjust. - * win32-low.c (enum target_waitkind, struct target_waitstatus): - Delete. - (win32_wait): Adjust. - -2009-04-01 Pedro Alves - - * target.h (struct thread_resume): Delete leave_stopped member. - (struct target_ops): Add a `n' argument to the `resume' callback. - * server.c (start_inferior): Adjust. - (handle_v_cont, myresume): Adjust. - * linux-low.c (check_removed_breakpoint): Adjust to resume - interface change, and to removed leave_stopped field. - (resume_ptr): Delete. - (struct thread_resume_array): New. - (linux_set_resume_request): Add new `arg' parameter. Adjust to - resume interface change. - (linux_continue_one_thread, linux_queue_one_thread) - (resume_status_pending_p): Check if the resume field is NULL - instead of checking the leave_stopped member. - (linux_resume): Adjust to the target resume interface change. - * spu-low.c (spu_resume): Adjust to the target resume interface - change. - * win32-low.c (win32_detach, win32_resume): Ditto. - -2009-04-01 Pedro Alves - - * linux-low.c (linux_wait_for_event): Don't clear the `stepping' - flag. - (wait_for_sigstop): Don't leave a finished single-step SIGTRAP - pending. - (linux_continue_one_thread): Only preserve the stepping flag if - there's a pending breakpoint. - -2009-03-31 Pedro Alves - - * server.c (main): After the inferior having exited, call - remote_close before exiting gdbserver. - -2009-03-25 Thiago Jung Bauermann - - Fix size of FPSCR in Power 7 processors. - * linux-ppc-low.c (PPC_FEATURE_ARCH_2_05): Remove #define. - (PPC_FEATURE_HAS_DFP): New #define. - (ppc_arch_setup): Check for DFP feature instead of ISA 2.05 to decide on - size of the FPSCR. - -2009-03-23 Pedro Alves - - * server.c (handle_query) Whitespace and formatting. - -2009-03-22 Pedro Alves - - * i387-fp.c, linux-arm-low.c, linux-cris-low.c, - linux-crisv32-low.c, linux-i386-low.c, linux-low.c, - linux-mips-low.c, linux-s390-low.c, linux-sparc-low.c, - linux-x86-64-low.c, linux-xtensa-low.c, proc-service.c, - regcache.c, remote-utils.c, server.c, spu-low.c, target.h, - thread-db.c, win32-low.c, xtensa-xtregs.c, gdbreplay.c, - Makefile.in, configure.ac: Fix whitespace throughout. - * configure: Regenerate. - -2009-03-22 Pedro Alves - - * inferiors.c (find_inferior): Make it safe for the callback - function to delete the currently iterated inferior. - -2009-03-22 Pedro Alves - - * Makefile.in (linuw_low_h): Move higher. - (thread-db.o): Depend on $(linux_low_h). - -2009-03-17 Pedro Alves - - Rename "process" to "lwp" throughout. - - * linux-low.c (all_processes): Rename to... - (all_lwps): ... this. - (inferior_pid, handle_extended_wait, get_stop_pc): Adjust. - (add_process): Rename to ... - (add_lwp): ... this. Adjust. - (linux_create_inferior): Adjust. - (linux_attach_lwp): Adjust. - (linux_attach): Adjust. - (linux_kill_one_process): Rename to ... - (linux_kill_one_lwp): ... this. Adjust. - (linux_kill): Adjust. - (linux_detach_one_process): Rename to ... - (linux_detach_one_lwp): ... this. Adjust. - (linux_detach): Adjust. - (check_removed_breakpoint): Adjust. - (status_pending_p): Adjust. - (linux_wait_for_process): Rename to ... - (linux_wait_for_lwp): ... this. Adjust. - (linux_wait_for_event): Adjust. - (send_sigstop): Adjust. - (wait_for_sigstop): Adjust. - (stop_all_processes): Rename to ... - (stop_all_lwps): ... this. - (linux_resume_one_process): Rename to ... - (linux_resume_one_lwp): ... this. Adjust. - (linux_set_resume_request, linux_continue_one_thread) - (linux_queue_one_thread, resume_status_pending_p) - (usr_store_inferior_registers, regsets_store_inferior_registers) - (linux_request_interrupt, linux_read_offsets, linux_xfer_siginfo): - Adjust. - * linux-low.h (get_process): Rename to ... - (get_lwp): ... this. Adjust. - (get_thread_process): Rename to ... - (get_thread_lwp): ... this. Adjust. - (get_process_thread): Rename to ... - (get_lwp_thread): ... this. Adjust. - (struct process_info): Rename to ... - (struct lwp_info): ... this. - (all_processes): Rename to ... - (all_lwps): ... this. - * proc-service.c (ps_lgetregs): Adjust. - * thread-db.c (thread_db_create_event, find_one_thread) - (maybe_attach_thread, thread_db_get_tls_address): Adjust. - -2009-03-14 Pedro Alves - - * server.c (handle_query): Handle "qAttached". - -2009-03-13 Nathan Sidwell - - * Makefile.in, hostio-errno.c, errno.c, xtensa-xtregs.c: Change to - GPLv3, update license URL. - -2009-03-01 Doug Evans - - * Makefile.in (INCLUDE_CFLAGS): Add -I$(srcdir)/../common. - (server_h): Add gdb_signals.h. - (signals.o): Update. - * server.h (target_signal_from_host,target_signal_to_host_p) - (target_signal_to_host,target_signal_to_name): Moved to gdb_signals.h. - -2009-02-14 Pierre Muller - - * remote-utils.c (getpkt): Also generate remote-debug - information if noack_mode is set. - -2009-02-06 Pedro Alves - - * server.c (handle_query): Report qXfer:siginfo:read and - qXfer:siginfo:write as supported and handle them. - * target.h (struct target_ops) : New field. - * linux-low.c (linux_xfer_siginfo): New. - (linux_target_ops): Set it. - -2009-01-26 Pedro Alves - - * server.c (gdbserver_usage): Mention --remote-debug. - (main): Accept '--remote-debug' switch. - -2009-01-18 Doug Evans - - * regcache.c (new_register_cache): No need to check result of xcalloc. - * server.c (handle_search_memory): Back out calls to xmalloc, - result is checked and error is returned to user upon failure. - (handle_query): Ditto. Add more checks for result of malloc. - (handle_v_cont): Check result of malloc, report error back to - user upon failure. - (handle_v_run): Ditto. Call freeargv. - * server.h (freeargv): Declare. - * utils.c (freeargv): New fn. - -2009-01-15 Doug Evans - - * gdbreplay.c (perror_with_name): Make arg const char *. - * server.h (target_signal_to_name): Make return type const char *. - * thread-db.c (thread_db_err_str): Make return type const char *. - * utils.c (perror_with_name): Make arg const char *. - -2009-01-14 Pedro Alves - - * win32-low.c (get_child_debug_event): Issue a final DBG_CONTINUE - when handling a EXIT_PROCESS_DEBUG_EVENT. - -2009-01-06 Joel Brobecker - - * gdbreplay.c (gdbreplay_version): Update copyright year. - * server.c (gdbserver_version): Likewise. - -2009-01-05 Doug Evans - - * linux-low.c (linux_attach_lwp): Add some comments/fixmes. - (handle_extended_wait): Improve comment. - -2008-12-13 Doug Evans - - * utils.c (xmalloc,xcalloc,xstrdup): New fns. - * server.h (ATTR_MALLOC): New macro. - (xmalloc,xcalloc,xstrdup): Declare. - * hostio.c: Replace malloc,calloc,strdup with xmalloc,xcalloc,xstrdup. - * inferiors.c: Ditto. - * linux-low.c: Ditto. - * mem-break.c: Ditto. - * regcache.c: Ditto. - * remote-utils.c: Ditto. - * server.c: Ditto. - * target.c: Ditto. - * win32-low.c: Ditto. - -2008-12-12 Doug Evans - - * linux-low.c (linux_wait_for_process): Don't clobber current_inferior - in debugging printf. - - * linux-low.c (handle_extended_wait): Simplify, use my_waitpid. - -2008-12-09 Doug Evans - - * linux-low.h (struct process_info): Delete member tid, unused. - * thread-db.c (find_one_thread): Update. - (maybe_attach_thread): Update. - -2008-12-02 Pedro Alves - - * target.h (struct target_ops): Add qxfer_osdata member. - * linux-low.c: Include ctype.h and pwd.h and sys/types.h - and dirent.h. - (linux_qxfer_osdata): New functions. - (linux_target_ops): Register linux_qxfer_osdata as qxfer_osdata - callback. - * server.c (handle_query): Handle "qXfer:osdata:read:". - * remote-utils.c (buffer_grow, buffer_free, buffer_init, buffer_finish) - (buffer_xml_printf): New functions. - * server.h (struct buffer): New. - (buffer_grow_str, buffer_grow_str0): New macros. - (buffer_grow, buffer_free, buffer_init, buffer_finish) - (buffer_xml_printf): Declare. - -2008-11-24 Doug Evans - - * Makefile.in (VERSION,DIST,LINT,LINTFLAGS): Delete, unused. - -2008-11-24 Daniel Jacobowitz - - * server.c (handle_v_run): Always use the supplied argument list. - -2008-11-19 Bob Wilson - - * xtensa-xtregs.c (XTENSA_ELF_XTREG_SIZE): Change to 4. - (xtensa_regmap_table): Add entry for scompare1. - -2008-11-18 Thiago Jung Bauermann - - * Makefile.in (powerpc-isa205-32l.o, powerpc-isa205-32l.c, - powerpc-isa205-altivec32l.o, powerpc-isa205-altivec32l.c, - powerpc-isa205-vsx32l.o, powerpc-isa205-vsx32l.c, - powerpc-isa205-64l.o, powerpc-isa205-64l.c, - powerpc-isa205-altivec64l.o, powerpc-isa205-altivec64l.c, - powerpc-isa205-vsx64l.o, powerpc-isa205-vsx64l.c): New targets. - * configure.srv (powerpc*-*-linux*): Add ISA 2.05 object files and - XML target descriptions. - * linux-ppc-low.c (ppc_arch_setup): Init registers with 64-bit FPSCR - when inferior is running on an ISA 2.05 or later processor. Add - special case to return offset for full 64-bit slot of FPSCR when - in 32-bits. - -2008-11-14 Daniel Gutson - - * 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. - -2008-10-21 Doug Evans - - * Makefile.in (BFD_DIR,BFD,BFD_SRC,BFD_CFLAGS): Delete. - (READLINE_DIR,READLINE_DEP): Delete. - (INTERNAL_CFLAGS): Update. - (LINTFLAGS): Update. - -2008-10-10 Pedro Alves - - * server.c (handle_v_run): If GDB didn't specify an argv, use the - whole argv from the last run, not just argv[0]. - -2008-09-08 Pedro Alves - - * regcache.c (new_register_cache): Return NULL if the register - cache size isn't known yet. - (free_register_cache): Avoid dereferencing a NULL regcache. - -2008-09-04 Daniel Jacobowitz - - * configure.srv: Merge MIPS and MIPS64. - -2008-08-24 Maciej W. Rozycki - - * Makefile.in (uninstall): Apply $(EXEEXT) too. - -2008-08-18 Luis Machado - - * Makefile.in: Add required vsx dependencies. - - * linux-ppc-low: Define PPC_FEATURE_HAS_VSX. - Declare init_registers_powerpc_vsx32l. - Declare init_registers_powerpc_vsx64l. - Define PTRACE_GETVSXREGS and PTRACE_SETVSXREGS. - (ppc_arch_setup): Check for VSX in hwcap. - (ppc_fill_vsxregset): New function. - (ppc_store_vsxregset): New function. - Add new VSX entry in regset_info target_regsets. - - * configure.srv: Add new VSX dependencies. - -2008-08-12 Pedro Alves - - * remote-utils.c (noack_mode, transport_is_reliable): New globals. - (remote_open): Set or clear transport_is_reliable. - (putpkt_binary): Don't expect acks in noack mode. - (getpkt): Don't send ack/nac in noack mode. - * server.c (handle_general_set): Handle QStartNoAckMode. - (handle_query): If connected by tcp pass QStartNoAckMode+ in - qSupported. - (main): Reset noack_mode on every connection. - * server.h (noack_mode): Declare. - -2008-08-07 Ralf Wildenhues - - * Makefile.in (GDBREPLAY_OBS): New variable. - (gdbreplay$(EXEEXT)): Use it to avoid unportable $^. - -2008-08-05 Ulrich Weigand - Daniel Jacobowitz - - * linux-low.c (linux_resume_one_process): Ignore ESRCH. - (usr_store_inferior_registers): Likewise. - (regsets_store_inferior_registers): Likewise. - -2008-07-31 Rolf Jansen - Pedro Alves - - * configure.ac: Check for memmem declaration. - * server.c [HAVE_MALLOC_H]: Include malloc.h. - (disable_packet_vCont, disable_packet_Tthread, disable_packet_qC) - (disable_packet_qfThreadInfo): Unconditionally compile. - * server.h [!HAVE_DECL_MEMMEM]: Declare memmem. - * configure, config.in: Regenerate. - -2008-07-28 Doug Kwan - - * linux-low.c (sys/dir.h, sys/user.h): Remove includes. - (linux_write_memory): Remove declaration of errno. - -2008-07-12 Ulrich Weigand - - * linux-low.c (handle_extended_wait): Do not use "status" - variable uninitialized. - -2008-07-07 Pedro Alves - - * server.c (handle_v_attach): Inhibit reporting dll changes. - -2008-06-27 Pedro Alves - - * remote-utils.c (prepare_resume_reply): If requested, don't - output "thread:TID" in the T stop reply. - - * server.c (disable_packet_vCont, disable_packet_Tthread) - (disable_packet_qC, disable_packet_qfThreadInfo): New globals. - (handle_query): If requested, disable support for qC, qfThreadInfo - and qsThreadInfo. - (handle_v_requests): If requested, disable support for vCont. - (gdbserver_show_disableable): New. - (main): Handle --disable-packet and --disable-packet=LIST. - - * server.h (disable_packet_vCont, disable_packet_Tthread) - (disable_packet_qC, disable_packet_qfThreadInfo): Declare. - -2008-06-20 Carlos O'Donell - - * server.c (gdbserver_usage): Mention --version. - -2008-06-06 Daniel Jacobowitz - - * Makefile.in (gdbreplay.o): New rule. - -2008-06-06 Joseph Myers - - * gdbreplay.c (gdbreplay_version): Say gdbreplay in version - message, not gdbserver. - -2008-06-05 Vladimir Prus - Nathan Sidwell - Joseph Myers - - * acinclude.m4: Include ../../config/acx.m4. - * configure.ac: Use ACX_PKGVERSION and ACX_BUGURL. - * configure, config.in: Regenerate. - * Makefile.in (gdbreplay$(EXEEXT)): Add version.o. - * server.c (gdbserver_version): Print PKGVERSION. - (gdbsrever_usage): Add stream parameter. Print REPORT_BUGS_TO. - (main): Adjust gdbserver_usage calls. - * gdbreplay.c (version, host_name): Add declarations. - (gdbreplay_version, gdbreplay_usage): New. - (main): Accept --version and --help options. - -2008-06-04 Daniel Jacobowitz - - * linux-arm-low.c (thumb_breakpoint, thumb_breakpoint_len): New. - (arm_breakpoint_at): Handle Thumb. - (the_low_target): Add comment. - -2008-05-29 Ulrich Weigand - - * linux-ppc-low.c (ppc_collect_ptrace_register): Clear buffer. - -2008-05-09 Doug Evans - - * server.h (decode_search_memory_packet): Declare. - * remote-utils.c (decode_search_memory_packet): New fn. - * server.c (handle_search_memory_1): New fn. - (handle_search_memory): New fn. - (handle_query): Process qSearch:memory packets. - -2008-05-08 Ulrich Weigand - - * regcache.c (registers_length): Remove. - (set_register_cache): Verify that PBUFSIZ is large enough to hold a - full register packet. - * regcache.h (registers_length): Remove prototype. - * server.h (PBUFSIZ): Define to 16384. - -2008-05-03 Ulrich Weigand - - * configure.srv (powerpc*-*-linux*): Set srv_regobj to - powerpc-32l.o, powerpc-altivec32l.o, powerpc-e500l.o, - powerpc-64l.o, and powerpc-altivec64l.o. - Remove rs6000/powerpc-32.xml, rs6000/powerpc-64.xml, and - rs6000/powerpc-e500.xml; add rs6000/powerpc-32l.xml, - rs6000/powerpc-altivec32l.xml, rs6000/powerpc-e500l.xml, - rs6000/powerpc-64l.xml, rs6000/powerpc-altivec64l.xml, - rs6000/power-linux.xml, and rs6000/power64-linux.xml - to srv_xmlfiles. - - * Makefile.in (reg-ppc.o, reg-ppc.c): Remove, replace by ... - (powerpc-32l.o, powerpc-32l.c): ... these new rules. - (powerpc-32.o, powerpc-32.c): Remove, replace by ... - (powerpc-altivec32l.o, powerpc-altivec32l.c): ... these new rules. - (powerpc-e500.o, powerpc-e500.c): Remove, replace by ... - (powerpc-e500l.o, powerpc-e500l.c): ... these new rules. - (reg-ppc64.o, reg-ppc64.c): Remove, replace by ... - (powerpc-64l.o, powerpc-64l.c): ... these new rules. - (powerpc-64.o, powerpc-64.c): Remove, replace by ... - (powerpc-altivec64l.o, powerpc-altivec64l.c): ... these new rules. - (clean): Update. - - * linux-ppc-low.c (init_registers_ppc): Remove, replace by ... - (init_registers_powerpc_32l): ... this new prototype. - (init_registers_powerpc_32): Remove, replace by ... - (init_registers_powerpc_altivec32l): ... this new prototype. - (init_registers_powerpc_e500): Remove, replace by ... - (init_registers_powerpc_e500l): ... this new prototype. - (init_registers_ppc64): Remove, replace by ... - (init_registers_powerpc_64l): ... this new prototype. - (init_registers_powerpc_64): Remove, replace by ... - (init_registers_powerpc_altivec64l): ... this new prototype. - (ppc_num_regs): Set to 73. - (PT_ORIG_R3, PT_TRAP): Define if necessary. - (ppc_regmap, ppc_regmap_e500): Add values for orig_r3 and trap. - (ppc_cannot_store_register): Handle orig_r3 and trap. - (ppc_arch_setup): Update init_registers_... calls. - (ppc_fill_gregset): Handle orig_r3 and trap. - - * inferiors.c (clear_inferiors): Reset current_inferior. - -2008-04-23 Paolo Bonzini - - * acinclude.m4: Add override.m4. - * configure: Regenerate. - -2008-04-21 Ulrich Weigand - - * linux-ppc-low.c (ppc_arch_setup): Reset ppc_hwcap after the - initial call to init_register_ppc64. - -2008-04-21 Ulrich Weigand - - * configure.srv (powerpc64-*-linux*, powerpc-*-linux*): Merge into - single powerpc*-*-linux* case. - (s390-*-linux*, s390x-*-linux*): Merge into single s390*-*-linux* case. - -2008-04-17 Ulrich Weigand - - * configure.srv [powerpc64-*-linux*]: Remove powerpc-e500.o from - srv_regobj. Remove rs6000/powerpc-e500.xml and rs6000/power-spe.xml - from reg_xmlfiles. - * linux-ppc-low.c: Include . - (PPC_FEATURE_HAS_ALTIVEC, PPC_FEATURE_HAS_SPE): Define. - (ppc_hwcap): New global variable. - (ppc_regmap): Remove __SPE__ #ifdef sections. - (ppc_regmap_e500): New global variable. - (ppc_cannot_store_register): Update __SPE__ special case. - (ppc_get_hwcap): New function. - (ppc_arch_setup): Use it to determine whether inferior supports - AltiVec or SPE registers. Set the_low_target.regmap if appropriate. - (ppc_fill_vrregset, ppc_store_vrregset): Define unconditionally. - Do not access registers if target does not support AltiVec. - (ppc_fill_evrregset, ppc_store_evrregset): Define unconditionally. - Do not access registers if target does not support SPE. - (target_regsets): Unconditionally include AltiVec and SPE regsets. - -2008-04-17 Daniel Jacobowitz - - * linux-low.c (disabled_regsets, num_regsets): New. - (use_regsets_p): Delete. - (linux_wait_for_process): Clear disabled_regsets. - (regsets_fetch_inferior_registers): Check and set it. - (regsets_store_inferior_registers): Likewise. - (linux_fetch_registers, linux_store_registers): Do not use - use_regsets_p. - (initialize_low): Allocate disabled_regsets. - -2008-04-14 Daniel Jacobowitz - - * Makefile.in (LIBOBJS): New. - (OBS): Use LIBOBJS. - (memmem.o): New rule. - * configure.ac: Use AC_CONFIG_LIBOBJ_DIR and check for memmem. - * configure: Regenerated. - -2008-04-04 Ulrich Weigand - - * server.c (handle_query): Never return "unsupported" for - qXfer:features:read queries. - -2008-03-27 Ulrich Weigand - - * server.c (get_features_xml): Fix inverted condition. - (handle_query): Always support qXfer:feature:read. - -2008-03-10 Daniel Jacobowitz - - * server.c (wrapper_argv): New. - (start_inferior): Handle wrapper_argv. If set, expect an extra - trap. - (gdbserver_usage): Document --wrapper. - (main): Parse --wrapper. - -2008-02-28 Ulrich Weigand - - * configure.srv [powerpc64-*-linux*]: Add all files mentioned for - powerpc-*-linux* to srv_regobj and reg_xmlfiles. - * linux-ppc-low.c (ppc_get_pc): Support bi-arch operation. - (ppc_set_pc): Likewise. - (ppc_arch_setup): New function. - (ppc_fill_gregset): Call ppc_collect_ptrace_register instead - of collect_register. - (the_low_target): Use ppc_arch_setup as arch_setup initializer. - -2008-02-28 Ulrich Weigand - - * configure.srv [powerpc64-*-linux*]: Use linux-ppc-low.o - instead of linux-ppc64-low.o. - * linux-ppc64-low.c: Remove file. - * Makefile.in (SFILES): Remove linux-ppc64-low.c. - (linux-ppc64-low.o): Remove rule. - - * linux-ppc-low.c (init_registers_ppc64): Add prototype. - (init_registers_powerpc_64): Likewise. - (ppc_regmap): Conditionally define depending on __powerpc64__. - (ppc_cannot_store_register): Do not special-case "fpscr" when - compiled on __powerpc64__. - (ppc_collect_ptrace_register): New function. - (ppc_supply_ptrace_register): New function. - (ppc_breakpoint): Change type to "unsigned int". - (ppc_breakpoint_at): Change type of "insn" to "unsigned int". - (the_low_target): Conditionally provide initializers for the - arch_setup member depending on __powerpc64__. Install - collect_ptrace_register and supply_ptrace_register members. - -2008-02-28 Ulrich Weigand - - * regcache.h (gdbserver_xmltarget): Add extern declaration. - * server.c (gdbserver_xmltarget): Define. - (get_features_xml): Use it to replace "target.xml" and arch_string. - - * configure.srv: Remove srv_xmltarget. Add XML files that were - mentioned there to srv_xmlfiles instead. Remove conditional tests - on gdb_cv_arm_iwmmxt, gdb_cv_ppc_altivec, gdb_cv_ppc_spe; set - srv_xmlfiles and srv_regobj to include all possible choices. - * configure.ac (srv_xmltarget): Remove. - (srv_xmlfiles): Do not add "target.xml". - (gdb_cv_arm_iwmmxt, gdb_cv_ppc_altivec, gdb_cv_ppc_spe): Remove - checks for supplementary target information. - * configure: Regenerate. - * Makefile.in (XML_TARGET): Remove. - (target.xml): Remove rule. - (clean): Do not clean up target.xml. - (.PRECIOUS): Do not mention target.xml. - - * target.h (struct target_ops): Remove arch_string member. - * linux-low.c (linux_arch_string): Remove. - (linux_target_ops): Remove arch_string initializer. - * linux-low.h (struct linux_target_ops): Remove arch_string member. - * linux-i386-low.c (the_low_target): Remove arch_string initializer. - * linux-x86-64-low.c (the_low_target): Remove arch_string initializer. - * spu-low.c (spu_arch_string): Remove. - (spu_target_ops): Remove arch_string initializer. - * win32-low.c (win32_arch_string): Remove. - (win32_target_ops): Remove arch_string initializer. - * win32-low.h (struct win32_target_ops): Remove arch_string member. - * win32-arm-low.c (the_low_target): Remove arch_string initializer. - * win32-i368-low.c (the_low_target): Remove arch_string initializer. - -2008-02-27 Ulrich Weigand - - * linux-low.h (struct linux_target_ops): Replace left_pad_xfer field - by collect_ptrace_register and supply_ptrace_register hooks. - * linux-low.c (fetch_register): Use supply_ptrace_register callback - instead of checking for the_low_target.left_pad_xfer. - (usr_store_inferior_registers): Use collect_ptrace_register callback - instead of checking for the_low_target.left_pad_xfer. - - * linux-s390-low.c (s390_collect_ptrace_register): New function. - (s390_supply_ptrace_register): Likewise. - (s390_fill_gregset): Call s390_collect_ptrace_register. - (the_low_target): Update. - - * linux-ppc64-low.c (ppc_collect_ptrace_register): New function. - (ppc_supply_ptrace_register): Likewise. - (the_low_target): Update. - - * linux-i386-low.c (the_low_target): Update. - * linux-x86-64-low.c (the_low_target): Update. - -2008-02-27 Ulrich Weigand - - * configure.srv [s390x-*-linux*]: Set srv_regobj to include both - reg-s390.o and reg-s390x.o. - - * linux-low.c (new_inferior): New global variable. - (linux_create_inferior, linux_attach): Set it. - (linux_wait_for_process): Call the_low_target.arch_setup after the - target has stopped for the first time. - (initialize_low): Do not call the_low_target.arch_setup. - - * linux-s390-low.c (s390_get_pc): Support bi-arch operation. - (s390_set_pc): Likewise. - (s390_arch_setup): New function. - (the_low_target): Use s390_arch_setup as arch_setup routine. - - * regcache.c (realloc_register_cache): New function. - (set_register_cache): Call it for each existing regcache. - -2008-02-27 Ulrich Weigand - - * server.h (init_registers): Remove prototype. - - * linux-low.h (struct linux_target_ops): Add arch_setup field. - * linux-low.c (initialize_low): Call the_low_target.arch_setup () - instead of init_registers (). - * linux-arm-low.c (init_registers_arm): Add prototype. - (init_registers_arm_with_iwmmxt): Likewise. - (the_low_target): Add initializer for arch_setup field. - * linux-cris-low.c (init_registers_cris): Add prototype. - (the_low_target): Add initializer for arch_setup field. - * linux-crisv32-low.c (init_registers_crisv32): Add prototype. - (the_low_target): Add initializer for arch_setup field. - * linux-i386-low.c (init_registers_i386_linux): Add prototype. - (the_low_target): Add initializer for arch_setup field. - * linux-ia64-low.c (init_registers_ia64): Add prototype. - (the_low_target): Add initializer for arch_setup field. - * linux-m32r-low.c (init_registers_m32r): Add prototype. - (the_low_target): Add initializer for arch_setup field. - * linux-m68k-low.c (init_registers_m68k): Add prototype. - (the_low_target): Add initializer for arch_setup field. - * linux-mips-low.c (init_registers_mips_linux): Add prototype. - (init_registers_mips64_linux): Likewise. - (the_low_target): Add initializer for arch_setup field. - * linux-ppc-low.c (init_registers_ppc): Add prototype. - (init_registers_powerpc_32, init_registers_powerpc_e500): Likewise. - (the_low_target): Add initializer for arch_setup field. - * linux-ppc64-low.c (init_registers_ppc64): Add prototype. - (init_registers_powerpc_64): Likewise. - (the_low_target): Add initializer for arch_setup field. - * linux-s390-low.c (init_registers_s390): Add prototype. - (init_registers_s390x): Likewise. - (the_low_target): Add initializer for arch_setup field. - * linux-sh-low.c (init_registers_sh): Add prototype. - (the_low_target): Add initializer for arch_setup field. - * linux-x86-64-low.c (init_registers_x86_64_linux): Add prototype. - (the_low_target): Add initializer for arch_setup field. - * linux-xtensa-low.c (init_registers_xtensa): Add prototype. - (the_low_target): Add initializer for arch_setup field. - - * win32-low.h (struct win32_target_ops): Add arch_setup field. - * win32-low.c (initialize_low): Call the_low_target.arch_setup () - instead of init_registers (). - * win32-arm-low.c (init_registers_arm): Add prototype. - (the_low_target): Add initializer for arch_setup field. - * win32-i386-low.c (init_registers_i386): Add prototype. - (the_low_target): Add initializer for arch_setup field. - - * spu-low.c (init_registers_spu): Add prototype. - (initialize_low): Call initialie_registers_spu () instead of - initialize_registers (). - -2008-02-19 Pedro Alves - - * server.c (handle_v_requests): When handling the vRun and vAttach - packets, if already debugging a process, don't kill it. Return an - error instead. - -2008-02-17 Daniel Jacobowitz - - * server.c (handle_query): Correct length check. - -2008-02-14 Pedro Alves - - * win32-low.c (do_initial_child_stuff): Add process handle - parameter. Set current_process_handle and current_process_id from the - parameters. Clear globals. - (win32_create_inferior): Don't set current_process_handle and - current_process_id here. Instead pass them on the call to - do_initial_child_stuff. - (win32_attach): Likewise. - (win32_clear_inferiors): New. - (win32_kill): Don't close the current process handle or the - current thread handle here. Instead call win32_clear_inferiors. - (win32_detach): Don't open a new handle to the process. Call - win32_clear_inferiors. - (win32_join): Don't rely on current_process_handle; open a new - handle using the process id. - (win32_wait): Call win32_clear_inferiors when the inferior process - has exited. - -2008-02-14 Daniel Jacobowitz - - * server.c (monitor_show_help): Add "exit". - -2008-02-11 Maxim Grigoriev - - * Makefile.in (SFILES): Add linux-xtensa-low.c. - (clean): Add reg-xtensa.c. - (linux-xtensa-low.o, reg-xtensa.o, reg-xtensa.c): New dependencies. - * configure.srv (xtensa*-*-linux*) New target. - * linux-xtensa-low.c: New. - * xtensa-xtregs.c: New. - -2008-02-01 Pedro Alves - - * hostio.c: Don't include errno.h. - (errno_to_fileio_errno): Move to hostio-errno. - * hostio.c: (hostio_error): Remove the error parameter. Defer the - error number outputting to the target->hostio_last_error callback. - (hostio_packet_error): Use FILEIO_EINVAL directly. - (handle_open, handle_pread, hostio_error, handle_unlink): Update - calls to hostio_error. - * hostio-errno.c: New. - * server.h (hostio_last_error_from_errno): Declare. - * target.h (target_ops): Add hostio_last_error member. - * linux-low.c (linux_target_op): Register hostio_last_error_from_errno - as hostio_last_error handler. - * spu-low.c (spu_target_ops): Likewise. - * win32-low.c [_WIN32_WCE] (win32_error_to_fileio_error) - (wince_hostio_last_error): New functions. - (win32_target_ops) [_WIN32_WCE]: Register wince_hostio_last_error - as hostio_last_error handler. - (win32_target_ops) [!_WIN32_WCE]: Register - hostio_last_error_from_errno as hostio_last_error handler. - * Makefile.in (SFILES): Add hostio.c and hostio-errno.c. - (hostio-errno.o): New rule. - * configure.ac (GDBSERVER_DEPFILES): Add $srv_hostio_err_objs. - * configure.srv (srv_hostio_err_objs): New variable. Default to - hostio-errno.o. - (arm*-*-mingw32ce*): Set srv_hostio_err_objs to "". - * configure: Regenerate. - -2008-01-29 Daniel Jacobowitz - - * linux-low.c (linux_attach_lwp): Do not _exit after errors. - (linux_kill, linux_detach): Clean up the process list. - * remote-utils.c (remote_open): Improve port number parsing. - (putpkt_binary, input_interrupt): Only send interrupts if the target - is running. - * server.c (extended_protocol): Make static. - (attached): Define earlier. - (exit_requested, response_needed, program_argv): New variables. - (target_running): New. - (start_inferior): Clear attached here. - (attach_inferior): Set attached here. - (require_running): Define. - (handle_query): Use require_running and target_running. Implement - "monitor exit". - (handle_v_attach, handle_v_run): New. - (handle_v_requests): Use require_running. Handle vAttach and vRun. - (gdbserver_usage): Update. - (main): Redo argument parsing. Handle --debug and --multi. Handle - --attach along with other options or after the port. Save - program_argv. Support no initial program. Resynchronize - communication with GDB after an error. Handle "monitor exit". - Use require_running and target_running. Always allow the extended - protocol. Do not error out for Hc0 or Hc-1. Do not automatically - restart in extended mode. - * README: Refer to the GDB manual. Update --attach usage. - -2007-12-20 Andreas Schwab - - * linux-low.c (STACK_SIZE): Define. - (linux_tracefork_child): Use it. Use __clone2 on ia64. - (linux_test_for_tracefork): Likewise. - -2007-12-18 Daniel Jacobowitz - - * linux-low.c (linux_wait_for_event): Update messages. Do not - reinsert auto-delete breakpoints. - * mem-break.c (struct breakpoint): Change return type of handler to - int. - (set_breakpoint_at): Update handler type. - (reinsert_breakpoint_handler): Return 1 instead of calling - delete_breakpoint. - (reinsert_breakpoint_by_bp): Check for the original breakpoint before - setting a new one. - (check_breakpoints): Delete auto-delete breakpoints and return 2. - * mem-break.h (set_breakpoint_at): Update handler type. - * thread-db.c (thread_db_create_event, thread_db_create_event): Update. - * win32-low.c (auto_delete_breakpoint): New. - (get_child_debug_event): Use it. - -2007-12-16 Daniel Jacobowitz - - * configure.ac: Check for pread and pwrite. - * hostio.c (handle_pread): Fall back to lseek and read. - (handle_pwrite): Fall back to lseek and write. - * config.in, configure: Regenerated. - -2007-12-07 Daniel Jacobowitz - - * server.c (myresume): Add own_buf argument. - (main): Update calls. - -2007-12-06 Daniel Jacobowitz - - * linux-low.c (linux_wait, linux_resume): Do not handle async I/O. - * remote-utils.c (remote_open): Do not call disable_async_io. - (block_async_io): Delete. - (unblock_async_io): Make static. - (initialize_async_io): New. - * server.c (handle_v_cont): Handle async I/O here. - (myresume): Likewise. Move other common resume tasks here... - (main): ... from here. Call initialize_async_io. Disable async - I/O before the main loop. - * server.h (initialize_async_io): Declare. - (block_async_io, unblock_async_io): Delete prototypes. - * spu-low.c (spu_resume, spu_wait): Do not handle async I/O here. - -2007-12-06 Mick Davis - - * remote-utils.c (readchar): Allow binary data in received messages. - -2007-12-03 Pedro Alves - - * win32-low.c (attaching): New global. - (win32_create_inferior): Clear the `attaching' global. - (win32_attach): Set the `attaching' global. - (get_child_debug_event) [_WIN32_WCE]: Stop the inferior when - attaching. Only set a breakpoint at the entry point if not - attaching. - -2007-12-03 Pedro Alves - - * server.c (main): Don't report dll events on the initial - connection on attaches. - -2007-12-03 Pedro Alves - - * server.c (main): Relax numerical bases supported for the pid of - the --attach command line argument. - -2007-12-03 Pedro Alves - - * win32-low.c (win32_attach): Call OpenProcess before - DebugActiveProcess, not after. Add last error output to error - call. - -2007-12-03 Pedro Alves - - * win32-low.c (win32_get_thread_context) - (win32_set_thread_context): New functions. - (thread_rec): Use win32_get_thread_context. - (continue_one_thread, win32_resume): Use win32_set_thread_context. - * win32-low.h (win32_thread_info) [_WIN32_WCE]: Add `base_context' - field. - -2007-12-03 Leo Zayas - Pedro Alves - - * win32-low.c (soft_interrupt_requested, faked_breakpoint): New - global variables. - (child_add_thread): Minor cleanup. - (child_continue): Resume artificially suspended threads before - calling ContinueDebugEvent. - (suspend_one_thread): New. - (fake_breakpoint_event): New. - (get_child_debug_event): Change return type to int. Check here if - gdb sent an interrupt request. If a soft interrupt was requested, - fake a breakpoint event. Return 0 if there is no event to handle, - and 1 otherwise. - (win32_wait): Don't check here if gdb sent an interrupt request. - Ensure there is a valid event to handle. - (win32_request_interrupt): Add soft interruption method as last - resort. - -2007-12-03 Leo Zayas - Pedro Alves - - * win32-low.h (win32_thread_info): Add descriptions to the - structure members. Replace `suspend_count' counter by a - `suspended' flag. - * win32-low.c (thread_rec): Update condition of when to get the - context from the inferior. Rely on ContextFlags being set if it - has already been retrieved. Only suspend the inferior thread if - we haven't already. Warn if that fails. - (continue_one_thread): s/suspend_count/suspended/. Only call - ResumeThread once. Warn if that fails. - -2007-12-02 Pedro Alves - - * win32-low.c (win32_wait): Don't read from the inferior when it - has already exited. - -2007-12-02 Pedro Alves - - * Makefile.in (win32_low_h): New variable. - (win32-low.o): Add dependency on $(win32_low_h). - (win32-arm-low.o, win32-i386-low.o): New rules. - -2007-11-30 Daniel Jacobowitz - - * hostio.c: Correct copyright year. - -2007-11-30 Daniel Jacobowitz - - * Makefile.in (OBS): Add hostio.o. - (hostio.o): New rule. - * server.h (handle_vFile): Declare. - * hostio.c: New file. - * server.c (handle_v_requests): Take packet_len and new_packet_len - for binary packets. Call handle_vFile. - (main): Update call to handle_v_requests. - -2007-11-05 Daniel Jacobowitz - - * linux-low.c: Include . - -2007-11-01 Daniel Jacobowitz - - * linux-low.c (linux_tracefork_grandchild): New. - (linux_tracefork_child): Use clone. - (linux_test_for_tracefork): Use clone; allocate and free a stack. - -2007-10-31 Joel Brobecker - - * Makefile.in: Use $(SHELL) instead of "sh" to call regdat.sh. - -2007-10-24 Daniel Jacobowitz - - * linux-low.c (handle_extended_wait): Handle unexpected signals. - -2007-10-23 Daniel Jacobowitz - - * inferiors.c (change_inferior_id): Delete. - (add_pid_to_list, pull_pid_from_list): New. - * linux-low.c (PTRACE_SETOPTIONS, PTRACE_GETEVENTMSG) - (PTRACE_O_TRACESYSGOOD, PTRACE_O_TRACEFORK, PTRACE_O_TRACEVFORK) - (PTRACE_O_TRACECLONE, PTRACE_O_TRACEEXEC, PTRACE_O_TRACEVFORKDONE) - (PTRACE_O_TRACEEXIT, PTRACE_EVENT_FORK, PTRACE_EVENT_VFORK) - (PTRACE_EVENT_CLONE, PTRACE_EVENT_EXEC, PTRACE_EVENT_VFORK_DONE) - (PTRACE_EVENT_EXIT, __WALL): Provide default definitions. - (stopped_pids, thread_db_active, must_set_ptrace_flags): New variables. - (using_threads): Always set to 1. - (handle_extended_wait): New. - (add_process): Do not set TID. - (linux_create_inferior): Set must_set_ptrace_flags. - (linux_attach_lwp): Remove TID argument. Do not check using_threads. - Use PTRACE_SETOPTIONS. Call new_thread_notify. Update all callers. - (linux_thread_alive): Rename TID argument to LWPID. - (linux_wait_for_process): Handle unknown processes. Do not use TID. - (linux_wait_for_event): Do not use TID or check using_threads. Update - call to dead_thread_notify. Call handle_extended_wait. - (linux_create_inferior): Use PTRACE_SETOPTIONS. - (send_sigstop): Delete sigstop_sent. - (wait_for_sigstop): Avoid TID. - (linux_supports_tracefork_flag, linux_tracefork_child, my_waitpid) - (linux_test_for_tracefork): New. - (linux_lookup_signals): Use thread_db_active and - linux_supports_tracefork_flag. - (initialize_low): Use thread_db_active and linux_test_for_tracefork. - * linux-low.h (get_process_thread): Avoid TID. - (struct process_ifo): Move thread_known and tid to the end. Remove - sigstop_sent. - (linux_attach_lwp, thread_db_init): Update prototypes. - * server.h (change_inferior_id): Delete prototype. - (add_pid_to_list, pull_pid_from_list): New prototypes. - * thread-db.c (thread_db_use_events): New. - (find_first_thread): Rename to... - (find_one_thread): ...this. Update callers and messages. Do not - call fatal. Check thread_db_use_events. Do not call - change_inferior_id or new_thread_notify. - (maybe_attach_thread): Update. Do not call new_thread_notify. - (thread_db_init): Set thread_db_use_events. Check use_events. - * utils.c (fatal, warning): Correct message prefix. - -2007-10-15 Daniel Jacobowitz - - * Makefile.in (clean): Remove new files. - (powerpc-32.o, powerpc-32.c, powerpc-e500.o, powerpc-e500.c) - (powerpc-64.o, powerpc-64.c): New rules. - * configure.srv: Use alternate register sets for powerpc64-*-linux* - with AltiVec, powerpc-*-linux* with AltiVec, and powerpc-*-linux* - with SPE. - * linux-ppc-low.c (ppc_regmap): Do not fetch the FP registers for - SPE targets. - (ppc_cannot_store_register): Do not check for FPSCR for SPE targets. - (PTRACE_GETVRREGS, PTRACE_SETVRREGS, SIZEOF_VRREGS, ppc_fill_vrregset) - (ppc_store_vrregset, PTRACE_GETEVRREGS, PTRACE_SETEVRREGS) - (struct gdb_evrregset_t, ppc_fill_evrregset, ppc_store_evrregset): New. - (target_regsets): Add AltiVec and SPE register sets. - * configure.ac: Check for AltiVec and SPE. - * linux-ppc64-low.c (PTRACE_GETVRREGS, PTRACE_SETVRREGS, SIZEOF_VRREGS) - (ppc_fill_vrregset, ppc_store_vrregset): New. - (target_regsets): Add AltiVec register set. - * configure: Regenerated. - -2007-09-19 Daniel Jacobowitz - - * linux-low.c (O_LARGEFILE): Define. - (linux_read_memory): Use /proc/PID/mem. - * configure.ac: Use AC_GNU_SOURCE. Check for pread64. - * configure, config.in: Regenerated. - -2007-09-04 Daniel Jacobowitz - - * linux-low.c (linux_wait_for_event): Do not pass signals while - single-stepping. - -2007-09-03 Pedro Alves - - * win32-low.c (create_process): New. - (win32_create_inferior): Use create_process instead of - CreateProcess. If create_process failed retry appending an ".exe" - suffix. Store the GetLastError result immediatelly after - create_process calls and use it on the call to error. - -2007-09-03 Pedro Alves - - * win32-low.c (handle_load_dll): Don't use toolhelp when waiting. - -2007-08-23 Joel Brobecker - - * configure.ac: Switch license to GPLv3. - -2007-08-01 Michael Snyder - - * remote-utils.c (putpkt_binary): Memory leak, free buf2. - -2007-07-31 Pedro Alves - - * win32-low.c (winapi_CloseToolhelp32Snapshot) [_WIN32_WCE]: New - typedef. - (win32_CloseToolhelp32Snapshot) [_WIN32_WCE]: New global var. - (load_toolhelp) [_WIN32_WCE]: Load TOOLHELP.DLL. Get - CloseToolhelp32Snapshot. - (toolhelp_get_dll_name) [_WIN32_WCE]: Close the snapshot with - CloseToolhelp32Snapshot. - -2007-07-27 Michael Snyder - - * server.c (main): Check for inferior exit before main loop. - -2007-07-18 Pedro Alves - - * remote-utils.c (remote_open): Set SO_KEEPALIVE on remote_desc - instead of on tmp_desc. - -2007-07-17 Pedro Alves - Daniel Jacobowitz - - * inferiors.c (all_dlls, dlls_changed, get_dll): New. - (add_thread): Minor cleanups. - (clear_inferiors): Move lower in the file. Clear the DLL - list. - (free_one_dll, match_dll, loaded_dll, unloaded_dll, clear_list): New. - * remote-utils.c (prepare_resume_reply): Check dlls_changed. - (xml_escape_text): New. - * server.c (handle_query): Handle qXfer:libraries:read. Report it - for qSupported. - (handle_v_cont): Report errors. - (gdbserver_version): Update. - (main): Correct size of own_buf. Do not report initial DLL events. - * server.h (struct dll_info, all_dlls, dlls_changed, loaded_dll) - (unloaded_dll, xml_escape_text): New. - * win32-low.c (enum target_waitkind): Update comments. - (win32_add_one_solib, get_image_name, winapi_EnumProcessModules) - (winapi_GetModuleInformation, winapi_GetModuleFileNameExA) - (win32_EnumProcessModules, win32_GetModuleInformation) - (win32_GetModuleFileNameExA, load_psapi, psapi_get_dll_name) - (winapi_CreateToolhelp32Snapshot, winapi_Module32First) - (winapi_Module32Next, win32_CreateToolhelp32Snapshot) - (win32_Module32First, win32_Module32Next, load_toolhelp) - (toolhelp_get_dll_name, handle_load_dll, handle_unload_dll): New. - (get_child_debug_event): Handle DLL events. - (win32_wait): Likewise. - -2007-07-12 Daniel Jacobowitz - - * configure.srv: Set srv_linux_regsets for sh*-*-linux*. - * linux-sh-low.c (sh_fill_gregset, target_regsets): New. - -2007-07-08 Pedro Alves - - * win32-low.c (handle_output_debug_string): Ignore event if not - waiting. - -2007-07-08 Pedro Alves - - * win32-arm-low.c (arm_wince_breakpoint): Fix typo. - -2007-07-03 Daniel Jacobowitz - - * remote-utils.c (look_up_one_symbol): Handle 'm' packets. - -2007-07-02 Daniel Jacobowitz - - * inferiors.c (change_inferior_id): Add comment. - * linux-low.c (check_removed_breakpoint): Add an early - prototype. Improve debug output. - (linux_attach): Doc update. - (linux_detach_one_process, linux_detach): Clean up before releasing - each process. - (send_sigstop, wait_for_sigstop): Improve comments and debug output. - * linux-low.h (struct process_info): Doc improvement. - * mem-break.c (delete_all_breakpoints): New. - * mem-break.h (delete_all_breakpoints): New prototype. - * thread-db.c (find_first_thread): New. - (thread_db_create_event): Call it instead of - thread_db_find_new_threads. Clean up unused variables. - (maybe_attach_thread): Remove first thread handling. - (thread_db_find_new_threads): Use find_first_thread. - (thread_db_get_tls_address): Likewise. - -2007-06-27 Daniel Jacobowitz - - * thread-db.c (thread_db_find_new_threads): Add prototype. - (thread_db_create_event): Check for the main thread before adding - a new thread. - (maybe_attach_thread): Only enable event reporting if TID == 0. - (thread_db_get_tls_address): Check for new threads. - -2007-06-20 Daniel Jacobowitz - - * linux-low.c (linux_create_inferior): Try execv before execvp. - * spu-low.c (spu_create_inferior): Likewise. - -2007-06-13 Mike Frysinger - - * linux-low.c (linux_create_inferior): Change execv to execvp. - * spu-low.c (spu_create_inferior): Likewies. - -2007-06-13 Daniel Jacobowitz - - * Makefile.in (clean): Clean new files instead of deleted ones. - (reg-mips.o, reg-mips.c, reg-mips64.o, reg-mips64.c): Delete. - (mips-linux.o, mips-linux.c, mips64-linux.o, mips64-linux.c): New - rules. - * configure.srv: Specify XML files and new regformats for MIPS and - MIPS64 GNU/Linux. - * linux-mips-low.c (mips_num_regs): Set to only used registers. - (mips_regmap): Do not fetch $0. Remove unused registers. Add - an entry for the restart register. - (mips_cannot_fetch_register, mips_cannot_store_register) - (mips_reinsert_addr, mips_fill_fpregset, mips_store_fpregset): Update - register names to match the XML descriptions. - (mips_fill_gregset, mips_store_gregset): Likewise. Handle the - restart register instead of $0. - -2007-06-12 Ulrich Weigand - Markus Deuling - - * remote-utils.c (decode_xfer_write): New function. - * server.h (decode_xfer_write): Add prototype. - * server.c (handle_query): Add PACKET_LEN argument. Support - qXfer:spu:read and qXfer:spu:write packets. - (main): Pass packet_len to handle_query. - * spu-low.c (spu_target_ops): Add spu_proc_xfer_spu. - * target.h (target_ops): Add qxfer_spu. - -2007-06-12 Ulrich Weigand - - * spu-low.c (spu_proc_xfer_spu): Do not return failure when - accessing non-seekable spufs files. - -2007-05-16 Markus Deuling - - * server.c (handle_query): Add reply for qC packet. - -2007-05-10 Pedro Alves - Leo Zayas - - * server.h (check_remote_input_interrupt_request): New function. - * remote_utils.c (INVALID_DESCRIPTOR): New define. - (remote_desc): Initialize with INVALID_DESCRIPTOR. - (input_interrupt): Expose on USE_WIN32API too. Fix whitespace. - (check_remote_input_interrupt_request): New function. - * server.h (check_remote_input_interrupt_request): Declare. - * win32-low.c (winapi_DebugBreakProcess, - winapi_GenerateConsoleCtrlEvent): New typedefs. - (get_child_debug_event): Lower Win32 debug event polling from 1 sec - to 250 ms. - (win32_wait): Check for remote interrupt request - with check_remote_input_interrupt_request. - (win32_request_interrupt): New function. - (win32_target_op): Set request_interrupt to win32_request_interrupt. - -2007-05-10 Pedro Alves - - * win32-low.c (debug_registers_changed, - debug_registers_used, CONTEXT_EXTENDED_REGISTERS, - CONTEXT_FLOATING_POINT, CONTEXT_DEBUG_REGISTERS, - CONTEXT_DEBUGGER, CONTEXT_DEBUGGER_DR): Delete. - (thread_rec): Get context using the low target. - (child_add_thread): Call thread_added on the low target, - which does the same thing. - (regptr): Delete. - (do_initial_child_stuff): Remove debug registers references. - Set context using the low target. Resume threads after - setting the contexts. - (child_continue): Remove dead variable. Remove debug - registers references. - (child_fetch_inferior_registers): Go through the low target. - (do_child_store_inferior_registers): Remove. - (child_store_inferior_registers): Go through the low target. - (win32_resume): Remove debug registers references. - Set context using the low target. - (handle_exception): Change return type to void. Don't record - context here. Set status to TARGET_WAITKIND_SPURIOUS on a - first chance exception. - (get_child_debug_event): Change return type to void. Remove - goto loop. Always return after waiting for debug event. - (win32_wait): Convert to switch statement. Handle spurious - events. - - * win32-i386-low.c (debug_registers_changed, - debug_registers_used): New. - (initial_stuff): Rename to ... - (i386_initial_stuff): ... this. Clear debug registers - state variables. - (store_debug_registers): Delete. - (i386_get_thread_context): New. - (load_debug_registers): Delete. - (i386_set_thread_context): New. - (i386_thread_added): New. - (single_step): Rename to ... - (i386_single_step): ... this. - (do_fetch_inferior_registers): Rename to ... - (i386_fetch_inferior_register): ... this. - (i386_store_inferior_register): New. - (the_low_target): Adapt to new interface. - - * win32-arm-low.c (CONTEXT_FLOATING_POINT): Define. - (arm_get_thread_context): New. - (arm_set_thread_context): New. - (regptr): New. - (do_fetch_inferior_registers): Rename to ... - (arm_fetch_inferior_register): ... this. - (arm_store_inferior_register): New. - (arm_wince_breakpoint): Reimplement as unsigned long. - (arm_wince_breakpoint_len): Define. - (the_low_target): Adapt to new interface. - - * win32-low.h (target_ops): Remove regmap, store_debug_registers and - load_debug_registers. Add get_thread_context, set_thread_context, - thread_added and store_inferior_register. Rename - fetch_inferior_registers to fetch_inferior_register. - (regptr): Remove declaration. - -2007-05-10 Pedro Alves - - * linux-low.c (linux_detach): Change return type to int. Return 0. - * spu-low.c (spu_detach): Likewise. - -2007-05-10 Pedro Alves - - * target.h (target_ops): Change return type of detach to int. - Add join. - (join_inferior): New. - * server.c (main): Don't skip detach support on mingw32. - If the inferior doesn't support detaching return error. - Call join_inferior instead of using waitpid. - * linux-low.c (linux_join): New. - (linux_target_op): Add linux_join. - * spu-low.c (spu_join): New. - (spu_target_ops): Add spu_join. - * win32-low.c (win32_detach): Adapt to new interface. - Reopen current_process_handle before detaching. Issue a child - resume before detaching. - (win32_join): New. - (win32_target_op): Add win32_join. - -2007-05-10 Pedro Alves - - * win32-low.c (win32-attach): Fix return value. - * target.h (target_ops): Describe ATTACH return values. - -2007-05-10 Pedro Alves - - * win32-low.c (GETPROCADDRESS): Define. - (winapi_DebugActiveProcessStop): Add WINAPI. typedef as pointer. - (winapi_DebugSetProcessKillOnExit): Likewise. - (win32_create_inferior): Force usage of ansi CreateProcessA. - (win32_attach): Use GETPROCADDRESS. - (win32_detach): Likewise. - -2007-05-10 Pedro Alves - - * win32-low.c (win32_wait): Don't use WSTOPSIG. - -2007-03-30 Pedro Alves - - * win32-low.c: Commit leftover changes from 2007-03-29. - -2007-03-30 Daniel Jacobowitz - - * i387-fp.c (struct i387_fsave, struct i387_fxsave): Make 16-bit - fields short instead of int. Add explicit padding. - (i387_cache_to_fsave): Remove unnecessary casts. - (i387_fsave_to_cache): Doc fix. - (i387_cache_to_fxsave): Remove unnecessary casts and masking. - -2007-03-30 Daniel Jacobowitz - - * i387-fp.c (i387_cache_to_fxsave): Reinitialize val2 before use. - (i387_fxsave_to_cache): Check fp->ftag while building ftag value. - -2007-03-29 Pedro Alves - - * configure.srv (arm*-*-mingw32ce*): Move near the other - arm targets. - -2007-03-29 Pedro Alves - - * configure.ac: Add errno checking. - (AC_CHECK_HEADERS): Add errno.h, fcntl.h, signal.h, - sys/file.h and malloc.h. - (AC_CHECK_DECLS): Add perror. - (srv_mingwce): Handle. - * configure.srv (i[34567]86-*-cygwin*): Add - win32-i386-low.o to srv_tgtobj. - (i[34567]86-*-mingw*): Likewise. - (arm*-*-mingw32ce*): Add case. - * gdbreplay.c [HAVE_SYS_FILE_H, HAVE_SIGNAL_H, - HAVE_FCNTL_H, HAVE_ERRNO_H, HAVE_MALLOC_H]: Check. - [__MINGW32CE__] (strerror): New function. - [__MINGW32CE__] (errno): Define to GetLastError. - [__MINGW32CE__] (COUNTOF): New macro. - (remote_open): Remove extra close call. - * mem-break.c (delete_breakpoint_at): New function. - * mem-break.h (delete_breakpoint_at): Declare. - * remote-utils.c [HAVE_SYS_FILE_H, HAVE_SIGNAL_H, - HAVE_FCNTL_H, HAVE_UNISTD_H, HAVE_ERRNO_H]: Check. - [USE_WIN32API] (read, write): Add char* casts. - * server.c [HAVE_UNISTD_H, HAVE_SIGNAL_H]: Check. - * server.h: Include wincecompat.h on Windows CE. - [HAVE_ERRNO_H]: Check. - (perror): Declare if not declared. - * utils.c: Add stdlib.h, errno.h and malloc.h includes. - (perror_with_name): Remove errno declaration. - * wincecompat.h: New. - * wincecompat.c: New. - * win32-low.h: New. - * win32-arm-low.c: New. - * win32-i386-low.c: New. - (win32-low.c): Include mem-break.h and win32-low.h, and winnt.h. - (OUTMSG2): Make it safe. - (_T): New macro. - (COUNTOF): New macro. - (NUM_REGS): Get it from the low target. - (CONTEXT_EXTENDED_REGISTERS, CONTEXT_FLOATING_POINT, - CONTEXT_DEBUG_REGISTERS): Add fallbacks to 0. - (thread_rec): Let low target handle debug registers. - (child_add_thread): Likewise. - (child_init_thread_list): Likewise. - (continue_one_thread): Likewise. - (regptr): New. - (do_child_fetch_inferior_registers): Move to ... - * win32-i386-low.c: ... here, and rename to ... - (do_fetch_inferior_registers): ... this. - * win32-low.c (child_fetch_inferior_registers): - Go through the low target. - (do_child_store_inferior_registers): Use regptr. - (strwinerror): New function. - (win32_create_inferior): Handle Windows CE. - Use strwinerror instead of strerror on Windows error - codes. Add program to the error output. - Don't close the main thread handle on Windows CE. - (win32_attach): Use coredll.dll on Windows CE. - (win32_kill): Close current process and current - thread handles. - (win32_detach): Use coredll.dll on Windows CE. - (win32_resume): Let low target handle debug registers, and - step request. - (handle_exception): Add/Remove initial breakpoint. Avoid - non-existant WSTOPSIG on Windows CE. - (win32_read_inferior_memory): Cast to remove warning. - (win32_arch_string): Go through the low target. - (initialize_low): Call set_breakpoint_data with the low - target's breakpoint. - * win32-low.c (dr, FLAG_TRACE_BIT, FCS_REGNUM, - FOP_REGNUM, mappings): Move to ... - * win32-i386-low.c: ... here. - * win32-low.c (win32_thread_info): Move to ... - * win32-low.h: ... here. - * Makefile.in (SFILES): Add win32-low.c, win32-i386-low.c, - win32-arm-low.c and wincecompat.c. - (all:): Add $EXEEXT. - (install-only:): Likewise. - (gdbserver:): Likewise. - (gdbreplay:): Likewise. - * config.in: Regenerate. - * configure: Regenerate. - -2007-03-28 Pedro Alves - - * win32-low.c: Rename typedef thread_info to - win32_thread_info throughout. - -2007-03-28 Pedro Alves - - * win32-i386-low.c: Rename to ... - * win32-low.c: ... this. - * configure.srv: Replace win32-i386-low.o with win32-low.o. - * Makefile.in: Likewise. - -2007-03-27 Pedro Alves - - * remote-utils.c (monitor_output): Constify msg parameter. - * server.h (monitor_output): Likewise. - * win32-i386-low.c (handle_output_debug_string): New. - (win32_kill): Handle OUTPUT_DEBUG_STRING_EVENT events using - handle_output_debug_string. - (get_child_debug_event): Likewise. - -2007-03-27 Mat Hostetter - - * server.c (main): Correct strtoul check. - -2007-03-27 Jon Ringle - - * linux-low.c: Check __ARCH_HAS_MMU__ also. - -2007-03-27 Brooks Moses - - * Makefile.in: Add dummy "pdf" and "install-pdf" targets. - -2007-02-27 Daniel Jacobowitz - - * terminal.h: Check HAVE_SGTTY_H. - -2007-02-27 Mat Hostetter - - * remote-utils.c (remote_open): Print out the assigned port number. - -2007-02-26 Daniel Jacobowitz - - * remote-utils.c (monitor_output): New function. - * server.c (debug_threads): Define here. - (monitor_show_help): New function. - (handle_query): Handle qRcmd. - (main): Do not handle 'd' packet. - * server.h (debug_threads, remote_debug, monitor_output): Declare. - * linux-low.c, spu-low.c, win32-i386-low.c: Remove definitions - of debug_threads. - -2007-02-25 Pedro Alves - - * Makefile.in (EXEEXT): New. - (clean): Use $(EXEEXT). - -2007-02-25 Pedro Alves - - * target.h (target_ops): Rename send_signal to request_interrupt, - and remove enum target_signal parameter. - * linux-low.c (linux_request_interrupt): Rename from - linux_send_signal, and always send SIGINT. - * spu-low.c (spu_request_interrupt): Rename from spu_send_signal, - and always send SIGINT. - * remote-utils.c (putpkt_binary): Call request_interrupt, instead - of send_signal. - (input_interrupt): Likewise. - -2007-02-25 Pedro Alves - - * server.c (get_features_xml): Check if target implemented - arch_string. - * win32-i386-low.c (win32_arch_string): New. - (win32_target_ops): Add win32_arch_string as arch_string member. - -2007-02-22 Markus Deuling - - * spu-low.c (spu_arch_string): New. - (spu_target_ops): Add spu_arch_string. - -2007-02-16 Daniel Jacobowitz - - * remote-utils.c: Remove HAVE_TERMINAL_H check. - * configure.ac: Do not check for terminal.h. - * configure, config.in: Regenerated. - -2007-02-08 Daniel Jacobowitz - - * Makefile.in (OBS): Add $(XML_BUILTIN). - (XML_DIR, XML_TARGET, XML_FILES, XML_BUILTIN): New. - (clean): Update. - (target.xml, xml-builtin.c, stamp-xml, arm-with-iwmmxt.o) - (arm-with-iwmmxt.c): New. - * config.in, configure: Regenerate. - * configure.ac: Check for iWMMXt. Handle srv_xmltarget, - srv_xmlbuiltin, and srv_xmlfiles. Define USE_XML. - * configure.srv: Mention srv_xmltarget and srv_xmlfiles. - (arm*-*-linux*): Add iWMMXt and regset support. - * linux-arm-low.c (PTRACE_GETWMMXREGS, PTRACE_SETWMMXREGS): Define. - (arm_fill_gregset, arm_store_gregset, arm_fill_wmmxregset) - (arm_store_wmmxregset, target_regsets): New. - * server.c (get_features_xml): Take annex argument. Check builtin - XML documents. - (handle_query): Handle multiple annexes. - -2007-01-29 Daniel Jacobowitz - - * remote-utils.c [USE_WIN32API] (read, write): Define. - (putpkt_binary, input_interrupt, readchar, getpkt): Use read and - write. - -2007-01-09 Daniel Jacobowitz - - * linux-i386-low.c (the_low_target): Set arch_string. - * linux-x86-64-low.c (the_low_target): Likewise. - * linux-low.c (linux_arch_string): New. - (linux_target_ops): Add it. - * linux-low.h (struct linux_target_ops): Add arch_string. - * server.c (write_qxfer_response): Use const void * for DATA. - (get_features_xml): New. - (handle_query): Handle qXfer:features:read. Report it for qSupported. - * target.h (struct target_ops): Add arch_string method. - -2007-01-03 Denis Pilat - Daniel Jacobowitz - - * linux-low.c (linux_kill): Handle being called with no threads. - * win32-i386-low.c (win32_kill): Likewise. - (get_child_debug_event): Clear current_process_handle. - -2006-12-30 Denis PILAT - Daniel Jacobowitz - - * remote-utils.c (remote_open): Check the type of specified - serial port devices before opening them. - * server.c (main): Kill the inferior if an error occurs during - the first remote_open. - -2006-12-05 Markus Deuling - - * README: Update supported targets. - -2006-11-28 Daniel Jacobowitz - - * Makefile.in (clean): Remove reg-mips64.c. - (reg-mips64.c, reg-mips64.o): New rules. - * configure.srv: Handle mips64. Include regset support for mips. - * linux-mips-low.c (union mips_register): New. - (mips_get_pc, mips_set_pc, mips_reinsert_addr): Use it. - (mips_breakpoint, mips_breakpoint_at): Use int. - (mips_collect_register, mips_supply_register) - (mips_collect_register_32bit, mips_supply_register_32bit) - (mips_fill_gregset, mips_store_gregset, mips_fill_fpregset) - (mips_store_fpregset, target_regsets): New. - * thread-db.c (thread_db_get_tls_address): Use uintptr_t. - -2006-11-22 Ulrich Weigand - - * configure.srv: Add target "spu*-*-*". - * Makefile.in (clean): Remove reg-spu.c. - (reg-spu.c, reg-spu.o, spu-low.o): Add dependencies. - * spu-low.c: New file. - -2006-11-16 Daniel Jacobowitz - - * configure.ac: Correct td_thr_tls_get_addr test. - * configure: Regenerated. - -2006-11-16 Daniel Jacobowitz - - * linux-low.c (linux_wait_for_event): Reformat. Use the - pass_signals array. - * remote-utils.c (decode_address_to_semicolon): New. - * server.c (pass_signals, handle_general_set): New. - (handle_query): Mention QPassSignals for qSupported. - (main): Call handle_general_set. - * server.h (pass_signals, decode_address_to_semicolon): New. - -2006-11-06 Daniel Jacobowitz - - * server.c (handle_query): Correct error handling for read_auxv. - -2005-10-19 Ulrich Weigand - - * configure.srv [s390-*-linux*, s390x-*-linux*]: Set srv_linux_regsets - and srv_linux_thread_db to yes. - * linux-s390-low.c (s390_fill_gregset): New function. - (target_regsets): Define data structure. - -2006-10-17 Daniel Jacobowitz - - * acinclude.m4 (SRV_CHECK_TLS_GET_ADDR): New. - * configure.ac: Use it. Define HAVE_TD_THR_TLS_GET_ADDR. - * config.in, configure: Regenerated. - * inferiors.c (gdb_id_to_thread): New function. - (gdb_id_to_thread_id): Use it. - * linux-low.c (linux_target_ops): Use thread_db_get_tls_address. - * linux-low.h (struct process_info): Add th member. - (thread_db_get_tls_address): New prototype. - * remote-utils.c (decode_address): Make non-static. - * server.c (handle_query): Handle qGetTLSAddr. - * server.h (gdb_id_to_thread, decode_address): New prototypes. - * target.h (struct target_ops): Add get_tls_address. - * thread-db.c (maybe_attach_thread): Save the thread handle. - (thread_db_get_tls_address): New. - -2006-09-28 Daniel Jacobowitz - - * linux-low.c (PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Define. - (linux_resume_one_process): Take a siginfo_t *. Update all - callers. Queue it if necessary. Use PTRACE_SETSIGINFO. - (struct pending_signals): Add a siginfo_t. - (linux_wait_for_process): Always set last_status. - (linux_wait_for_event): Use PTRACE_GETSIGINFO. - (linux_queue_one_thread): Use PTRACE_GETSIGINFO. - * linux-low.h (struct process_info): Add last_status. - -2006-09-21 Daniel Jacobowitz - - * remote-utils.c (try_rle): New function. - (putpkt_binary): Use it. - -2006-08-19 Daniel Jacobowitz - - * Makefile.in (clean): Clean reg-x86-64-linux.c. - (reg-x86-64-linux.o, reg-x86-64-linux.c): New. - * configure.srv (x86_64-*-linux*): Use reg-x86-64-linux.o. - * linux-x86-64-low.c (x86_64_regmap): Include ORIG_RAX. - (x86_64_fill_gregset, x86_64_store_gregset): Skip floating - point registers. - -2006-08-08 Richard Sandiford - - * server.c (terminal_fd): New variable. - (old_foreground_pgrp): Likewise. - (restore_old_foreground_pgrp): New function. - (start_inferior): Record the terminal file descriptor in terminal_fd - and its original foreground group in old_foreground_pgrp. Register - restore_old_foreground_pgrp with atexit(). - -2006-07-26 Daniel Jacobowitz - - * server.c (handle_query): Correct qPart to qXfer. - -2006-07-22 Daniel Jacobowitz - - * configure.ac: Check for more headers which are missing on - Windows. Automatically supply -lwsock32 and USE_WIN32API. - * configure.srv: Add Cygwin and mingw32. - * remote-utils.c: Don't include headers unconditionally which - are missing on mingw32. Include for mingw32. - (remote_open): Adjust for mingw32 support. Flush - standard error after writing to it. - (remote_close, putpkt_binary, input_interrupt, block_async_io) - (unblock_async_io, enable_async_io, disable_async_io) - (readchar, getpkt): Update for Winsock support. - (prepare_resume_reply): Expect a protocol signal number. - * server.c: Disable on mingw32. - (start_inferior): Adjust for mingw32 support. Flush - standard error after writing to it. - (attach_inferior): Likewise. Use protocol signal - numbers. - (main): Skip 'D' packet on mingw32. Use protocol signal numbers - and names. - * win32-i386-low.c: New file. - * Makefile.in (XM_CLIBS): Set. - (gdbserver, gdbreplay): Use $(INTERNAL_CFLAGS). - (win32-i386-low.o): New dependency rule. - * linux-low.c (linux_wait): Use target signal numbers. - * target.h (struct target_ops): Doc fix. - * server.h (target_signal_to_name): New prototype. - * gdbreplay.c: Don't include headers unconditionally which - are missing on mingw32. Include for mingw32. - (remote_close, remote_open): Adjust for Winsock support. - * configure, config.in: Regenerated. - -2006-07-12 Daniel Jacobowitz - - * server.c (decode_xfer_read, write_qxfer_response): New. - (handle_query): Take a packet length argument. Handle - qXfer:auxv:read instead of qPart:auxv:read. Mention it in - the qSupported response. - (main): Update call to handle_query. - -2006-06-22 Daniel Jacobowitz - - * remote-utils.c (remote_escape_output, remote_unescape_input): New. - (putpkt_binary): Renamed from putpkt and adjusted for binary - data. - (putpkt): New wrapper for putpkt_binary. - (readchar): Don't mask off the high bit. - (decode_X_packet): New function. - * server.c (main): Call putpkt_binary if a handler sets the packet - length. Save the length of the incoming packet. Handle 'X'. - * server.h (gdb_byte, remote_escape_output, decode_X_packet): New. - -2006-06-21 Daniel Jacobowitz - - * server.c (handle_query): Handle qSupported. - -2006-05-30 Daniel Jacobowitz - - * remote-utils.c (all_symbols_looked_up): New variable. - (look_up_one_symbol): Check it. - * server.h (look_up_one_symbol): New declaration. - * thread-db.c (thread_db_init): Set all_symbols_looked_up. - -2006-05-30 Daniel Jacobowitz - - * Makefile.in (linux-arm-low.o): Update dependencies. - * linux-arm-low.c: Include "gdb_proc_service.h". - (PTRACE_GET_THREAD_AREA): Define. - (ps_get_thread_area): New function. - -2006-05-09 Nathan Sidwell - - * configure.srv (m68k*-*-uclinux*): New target. - * linux-low.c (linux_create_inferior): Use vfork on mmuless systems. - (linux_resume_one_process): Remove extraneous cast. - (linux_read_offsets): New. - (linux_target_op): Add linux_read_offsets on mmuless systems. - * server.c (handle_query): Add qOffsets logic. - * target.h (struct target_ops): Add read_offsets. - -2006-03-15 Daniel Jacobowitz - - * linux-mips-low.c: Include and "gdb_proc_service.h". - (PTRACE_GET_THREAD_AREA): Define. - (ps_get_thread_area): New function. - * Makefile.in (linux-i386-low.o, linux-mips-low.o) - (linux-x86-64-low.o): Update. - -2006-03-15 Daniel Jacobowitz - - * configure.ac: Remove checks for prfpregset_t. - * gdb_proc_service.h: New file. - * linux-i386-low.c, linux-x86-64-low.c, thread-db.c: Use the - new "gdb_proc_service.h". - * proc-service.c: Likewise. - (ps_pglobal_lookup, ps_pdread, ps_pdwrite): Use psaddr_t. - (ps_lgetfpregs, ps_lsetfpregs): Use a void* argument. - * Makefile.in (gdb_proc_service_h): Updated. - * configure, config.in: Regenerated. - -2006-03-03 Daniel Jacobowitz - - * remote-utils.c (prepare_resume_reply): Move declaration - of gdb_id_from_wait to the top of the block. - -2006-02-15 Daniel Jacobowitz - - * linux-low.c (regsets_store_inferior_registers): Read the regset - from the target before filling it. - -2006-02-08 Daniel Jacobowitz - - * server.c (attach_inferior): Return SIGTRAP for a successful - attach. - -2006-02-01 Daniel Jacobowitz - - * Makefile.in (OBS): Add version.o. - (STAGESTUFF): Delete. - (version.o): Add dependencies. - (version.c): Replace rule. - (clean): Remove version.c. - * server.c (gdbserver_version): New. - (gdbserver_usage): Use printf. - (main): Handle --version and --help. - * server.h (version, host_name): Add declarations. - -2005-12-23 Eli Zaretskii - - * linux-arm-low.c: - * linux-arm-low.c: - * inferiors.c: - * i387-fp.h: - * i387-fp.c: - * gdbreplay.c: - * regcache.c: - * proc-service.c: - * mem-break.h: - * mem-break.c: - * linux-x86-64-low.c: - * linux-sh-low.c: - * linux-s390-low.c: - * linux-ppc64-low.c: - * linux-ppc-low.c: - * linux-mips-low.c: - * linux-m68k-low.c: - * linux-m32r-low.c: - * linux-low.h: - * linux-low.c: - * linux-ia64-low.c: - * linux-i386-low.c: - * linux-crisv32-low.c: - * thread-db.c: - * terminal.h: - * target.h: - * target.c: - * server.h: - * server.c: - * remote-utils.c: - * regcache.h: - * utils.c: - * Makefile.in: - * configure.ac: - * gdbserver.1: Add (C) after Copyright. Update the FSF - address. - -2005-11-13 Daniel Jacobowitz - - * linux-arm-low.c (arm_eabi_breakpoint): New variable. - (arm_breakpoint_at): Recognize both breakpoints. - (the_low_target): Use the correct breakpoint instruction. - -2005-11-02 Daniel Jacobowitz - - * configure.srv (x86_64-*-linux*): Turn on thread_db support. - * linux-x86-64-low.c (x86_64_breakpoint, x86_64_breakpoint_len) - (x86_64_get_pc, x86_64_set_pc, x86_64_breakpoint_at): New. - (the_low_target): Update. - -2005-10-25 Andreas Schwab - - * server.c (main): Allocate mem_buf with PBUFSIZ bytes. - - * linux-ia64-low.c (ia64_regmap): Remove NAT registers. - (ia64_num_regs): Reduce to 462. - -2005-09-17 Daniel Jacobowitz - - * acinclude.m4: Correct quoting. - * aclocal.m4: Regenerated. - - Suggested by SZOKOVACS Robert : - * thread-db.c (thread_db_err_str): Handle TD_VERSION. - (thread_db_init): Call thread_db_err_str. - * configure.ac: Check for TD_VERSION. - * config.in, configure: Regenerated. - -2005-07-31 Kaveh R. Ghazi - - * server.h (error, fatal, warning): Add ATTR_FORMAT. - -2005-07-13 Daniel Jacobowitz - - * configure.ac: Define HAVE_LINUX_REGSETS even if PTRACE_GETREGS - is not available. Define HAVE_PTRACE_GETREGS if it is. - * config.in, configure: Regenerated. - * configure.srv: Set srv_linux_regsets for PowerPC and PowerPC64. - * linux-i386-low.c, linux-m68k-low.c: Update to use - HAVE_PTRACE_GETREGS. - * linux-low.c (regsets_fetch_inferior_registers) - (regsets_store_inferior_registers): Only return 0 if we processed - GENERAL_REGS. - * linux-ppc-low.c (ppc_fill_gregset, target_regsets): New. - * linux-ppc64-low.c (ppc_fill_gregset, target_regsets): New. - -2005-07-13 Daniel Jacobowitz - - * inferiors.c (struct thread_info): Add gdb_id. - (add_thread): Add gdb_id argument. - (thread_id_to_gdb_id, thread_to_gdb_id, gdb_id_to_thread_id): New. - * linux-low.c (linux_create_inferior, linux_attach_lwp): Update - calls to add_thread. - * remote-utils.c (prepare_resume_reply: Use thread_to_gdb_id. - * server.c (handle_query): Use thread_to_gdb_id. - (handle_v_cont, main): Use gdb_id_to_thread_id. - * server.h (add_thread): Update prototype. - (thread_id_to_gdb_id, thread_to_gdb_id, gdb_id_to_thread_id): New - prototypes. - -2005-07-13 Daniel Jacobowitz - - * linux-low.c (fetch_register, usr_store_inferior_registers): Handle - left-padded registers. - * linux-low.h (struct linux_target_ops): Add left_pad_xfer. - * linux-ppc64-low.c (the_low_target): Set left_pad_xfer. - -2005-07-01 Steve Ellcey - - * configure.ac (BFD_NEED_DECLARATION): Replace with AC_CHECK_DECLS. - * configure: Regenerate. - * config.in: Regenerate. - * server.h (NEED_DECLARATION_STRERROR): - Replace with !HAVE_DECL_STRERROR. - -2005-06-16 Daniel Jacobowitz - - * linux-low.c (linux_wait, linux_send_signal): Don't test - an unsigned long variable for > 0 if it could be MAX_ULONG. - * server.c (myresume): Likewise. - * target.c (set_desired_inferior): Likewise. - -2005-06-13 Mark Kettenis - - * configure.ac: Simplify and improve check for socklen_t. - * configure, config.in: Regenerate. - -2005-06-12 Daniel Jacobowitz - - * acconfig.h: Remove. - * configure.ac: Add a test for socklen_t. Use three-argument - AC_DEFINE throughout. - * config.in: Regenerated using autoheader 2.59. - * configure: Regenerated. - - * gdbreplay.c (socklen_t): Provide a default. - (remote_open): Use socklen_t. - * remote-utils.c (socklen_t): Provide a default. - (remote_open): Use socklen_t. - (convert_int_to_ascii, convert_ascii_to_int, decode_M_packet): Use - unsigned char. - - * i387-fp.c (struct i387_fsave, struct i387_fxsave): Use unsigned - char for buffers. - * linux-low.c (linux_read_memory, linux_write_memory) - (linux_read_auxv): Likewise. - * mem-break.c (breakpoint_data, set_breakpoint_data, check_mem_read) - (check_mem_write): Likewise. - * mem-break.h (set_breakpoint_data, check_mem_read, check_mem_write): - Likewise. - * regcache.c (struct inferior_rgcache_data, registers_to_string) - (registers_from_string, register_data): Likewise. - * server.c (handle_query, main): Likewise. - * server.h (convert_ascii_to_int, convert_int_to_ascii) - (decode_M_packet): Likewise. - * target.c (read_inferior_memory, write_inferior_memory): Likewise. - * target.h (struct target_ops): Update read_memory, write_memory, - and read_auxv. - (read_inferior_memory, write_inferior_memory): Update. - * linux-low.h (struct linux_target_ops): Change type of breakpoint - to unsigned char *. - * linux-arm-low.c, linux-cris-low.c, linux-crisv32-low.c, - linux-i386-low.c, linux-m32r-low.c, linux-m68k-low.c, - linux-mips-low.c, linux-ppc-low.c, linux-ppc64-low.c, - linux-s390-low.c, linux-sh-low.c: Update for changes in - read_inferior_memory and the_low_target->breakpoint. - -2005-05-28 Daniel Jacobowitz - - * Makefile.in (SFILES): Add linux-ppc64-low.c. - (linux-ppc64-low.o, reg-ppc64.c, reg-ppc64.o): New targets. - * configure.srv: Add powerpc64-*-linux*. - * linux-ppc64-low.c: New file. - -2005-05-23 Orjan Friberg - - * linux-cris-low.c: New file with support for CRIS. - * linux-crisv32-low.c: Ditto for CRISv32. - * Makefile.in (SFILES): Add linux-cris-low.c, linux-crisv32-low.c. - (clean): Add reg-cris.c and reg-crisv32.c. - Add linux-cris-low.o, linux-crisv32-low.o, reg-cris.o, reg-cris.c, - reg-crisv32.o, and reg-crisv32.c to make rules. - * configure.srv: Add cris-*-linux* and crisv32-*-linux* to list of - recognized targets. - -2005-05-16 Ulrich Weigand - - * linux-low.c (fetch_register): Ensure buffer size is a multiple - of sizeof (PTRACE_XFER_TYPE). - (usr_store_inferior_registers): Likewise. Zero out excess bytes. - -2005-05-12 Orjan Friberg - - * target.h (struct target_ops): Add insert_watchpoint, - remove_watchpoint, stopped_by_watchpoint, stopped_data_address function - pointers for hardware watchpoint support. - * linux-low.h (struct linux_target_ops): Ditto. - * linux-low.c (linux_insert_watchpoint, linux_remove_watchpoint) - (linux_stopped_by_watchpoint, linux_stopped_data_address): New. Add - to linux_target_ops. - * remote-utils.c (prepare_resume_reply): Add watchpoint information to - reply packet. - * server.c (main): Recognize 'Z' and 'z' packets. - -2005-05-10 Ulrich Weigand - - * linux-s390-low.c (s390_breakpoint, s390_breakpoint_len): Define. - (s390_get_pc, s390_set_pc, s390_breakpoint_at): New functions. - (the_low_target): Add new members. - -2005-05-04 Daniel Jacobowitz - - * proc-service.c (ps_lgetregs): Search all_processes instead of - all_threads. - -2005-05-04 Daniel Jacobowitz - - * server.c (start_inferior): Change return type to int. - (attach_inferior): Change sigptr to int *. - (handle_v_cont, handle_v_requests): Change signal to int *. - (main): Change signal to int. - -2005-04-15 Kei Sakamoto - - * Makefile.in: Add linux-m32r-low.o, reg-m32r.c and reg-m32r.o. - * configure.srv: Add m32r*-*-linux*. - * linux-m32r-low.c: New file. - -2005-03-04 Daniel Jacobowitz - - * Makefile.in (stamp-h): Set CONFIG_HEADERS explicitly. - -2005-03-03 Daniel Jacobowitz - - * inferiors.c (change_inferior_id, add_thread, find_inferior_id): - Take unsigned long arguments for PIDs. - * linux-low.c (add_process, linux_attach_lwp, linux_attach) - (linux_thread_alive, linux_wait_for_event, kill_lwp, send_sigstop) - (wait_for_sigstop, linux_resume_one_process) - (regsets_fetch_inferior_registers, linux_send_signal) - (linux_read_auxv): Likewise. Update the types of variables holding - PIDs. Update format string specifiers. - * linux-low.h (struct process_info, linux_attach_lwp): Likewise. - * remote-utils.c (prepare_resume_reply): Likewise. - * server.c (cont_thread, general_thread, step_thread) - (thread_from_wait, old_thread_from_wait, signal_pid): Change type to - unsigned long. - (handle_query): Update format specifiers. - (handle_v_cont, main): Use strtoul for thread IDs. - * server.h (struct inferior_list_entry): Use unsigned long for ID. - (add_thread, find_inferior_id, change_inferior_id, cont_thread) - (general_thread, step_thread, thread_from_wait) - (old_thread_from_wait): Update. - * target.h (struct thread_resume): Use unsigned long for THREAD. - (struct target_ops): Use unsigned long for arguments to attach and - thread_alive. - -2005-02-24 Daniel Jacobowitz - - * acinclude.m4: Include bfd/bfd.m4 directly. - * configure.ac: Use AC_ARG_PROGRAM. Suggested by Aron Griffis - . - * aclocal.m4, configure: Regenerated. - -2005-01-07 Andrew Cagney - - * configure.ac: Rename configure.in, require autoconf 2.59. - * configure: Re-generate. - -2004-12-08 Daniel Jacobowitz - - * acinclude.m4 (SRV_CHECK_THREAD_DB): Add ps_get_thread_area. Reset - LIBS when finished. - * aclocal.m4: Regenerated. - * configure: Regenerated. - -2004-11-21 Andreas Schwab - - * linux-m68k-low.c (m68k_num_gregs): Define. - (m68k_fill_gregset, m68k_store_gregset, m68k_fill_fpregset) - (m68k_store_fpregset, target_regsets) [HAVE_LINUX_REGSETS]: New. - (m68k_breakpoint, m68k_breakpoint_len, m68k_get_pc, m68k_set_pc) - (m68k_breakpoint_at): New. Add to the_low_target. - - * configure.srv (m68*-*-linux*): Set srv_linux_regsets and - srv_linux_thread_db to yes. - -2004-10-20 Joel Brobecker - - * linux-x86-64-low.c (ARCH_SET_GS): Add definition if missing. - (ARCH_SET_FS): Likewise. - (ARCH_GET_FS): Likewise. - (ARCH_GET_GS): Likewise. - -2004-10-16 Daniel Jacobowitz - - * linux-i386-low.c (ps_get_thread_area): New. - * linux-x86-64-low.c (ps_get_thread_area): New. - * linux-low.c: Include . - (linux_kill_one_process): Don't kill the first thread here. - (linux_kill): Kill the first thread here. - (kill_lwp): New function. - (send_sigstop, linux_send_signal): Use it. - * proc-service.c: Clean up #ifdefs. - (fpregset_info): Delete. - (ps_lgetregs): Update and enable implementation. - (ps_lsetregs, ps_lgetfpregs, ps_lsetfpregs): Remove disabled - implementations. - * remote-utils.c (struct sym_cache, symbol_cache): New. - (input_interrupt): Print a clearer message. - (async_io_enabled): New variable. - (enable_async_io, disable_async_io): Use it. Update comments. - (look_up_one_symbol): Use the symbol cache. - * thread-db.c (thread_db_look_up_symbols): New function. - (thread_db_init): Update comments. Call thread_db_look_up_symbols. - -2004-10-16 Daniel Jacobowitz - - * configure.in: Test for -rdynamic. - * configure: Regenerated. - * Makefile (INTERNAL_LDFLAGS): New. - (gdbserver, gdbreplay): Use it. - -2004-09-02 Andrew Cagney - - * Makefile.in (TAGS): Replace TM_FILE with DEPRECATED_TM_FILE. - -2004-03-23 Daniel Jacobowitz - - * linux-low.c (linux_wait): Clear all_processes list also. - -2004-03-12 Daniel Jacobowitz - - * linux-low.c: Include . Remove extern declaration of - errno. - -2004-03-12 Daniel Jacobowitz - - * gdbreplay.c, server.h, utils.c: Update copyright years. - -2004-03-04 Nathan J. Williams - - * server.c (main): Print child status or termination signal from - variable 'signal', not 'sig'. - -2004-03-04 Nathan J. Williams - - * linux-low.c (linux_read_memory): Change return type to - int. Check for and return error from ptrace(). - * target.c (read_inferior_memory): Change return type to int. Pass - back return status from the_target->read_memory(). - * target.h (struct target_ops): Adapt *read_memory() prototype. - Update comment. - (read_inferior_memory): Adapt prototype. - * server.c (main): Return an error packet if - read_inferior_memory() returns an error. - -2004-03-04 Daniel Jacobowitz - - * Makefile.in (distclean): Remove config.h, stamp-h, and config.log. - Unify with other clean targets. - -2004-02-29 Daniel Jacobowitz - - * server.c (handle_v_cont): Call set_desired_inferior. - -2004-02-29 Daniel Jacobowitz - - * remote-utils.c (prepare_resume_reply): Always supply "thread:". - -2004-02-29 Daniel Jacobowitz - - * linux-low.c (linux_wait): Unblock async I/O. - (linux_resume): Block and enable async I/O. - * remote-utils.c (block_async_io, unblock_async_io): New functions. - * server.h (block_async_io, unblock_async_io): Add prototypes. - -2004-02-29 Daniel Jacobowitz - - * remote-utils.c (remote_open): Print a status notice after - opening a TCP port. - * server.c (attach_inferior): Print a status notice after - attaching. - -2004-02-29 Daniel Jacobowitz - - * linux-arm-low.c (arm_get_pc): Print out stop PC in debug mode. - -2004-02-26 Daniel Jacobowitz - - * remote-utils.c (write_enn): Use "E01" instead of "ENN" for the - error packet. - * server.c, target.h: Update copyright years. - -2004-02-25 Roland McGrath - - * target.h (struct target_ops): New member `read_auxv'. - * server.c (handle_query): Handle qPart:auxv:read: query using that. - * linux-low.c (linux_read_auxv): New function. - (linux_target_ops): Initialize `read_auxv' member to that. - -2004-02-17 Ulrich Weigand - - Committed by Jim Blandy . - - * linux-s390-low.c (s390_num_regs): Update. - (s390_regmap): Remove control registers. Use __s390x__ predefine - instead of GPR_SIZE to distiguish s390 and s390x targets. - -2004-01-31 Daniel Jacobowitz - - * linux-low.c: Update copyright year. - (check_removed_breakpoint): Clear pending_is_breakpoint. - (linux_set_resume_request, linux_queue_one_thread) - (resume_status_pending_p): New functions. - (linux_continue_one_thread): Use process->resume. - (linux_resume): Only resume threads if there are no pending events. - * linux-low.h (struct process_info): Add resume request - pointer. - -2004-01-30 Daniel Jacobowitz - - * regcache.c (new_register_cache): Clear the allocated register - buffer. Suggested by Atsushi Nemoto . - -2003-10-13 Daniel Jacobowitz - - * linux-low.c (linux_resume): Take a struct thread_resume * - argument. - (linux_wait): Update call. - (resume_ptr): New static variable. - (linux_continue_one_thread): Renamed from - linux_continue_one_process. Use resume_ptr. - (linux_resume): Use linux_continue_one_thread. - * server.c (handle_v_cont, handle_v_requests): New functions. - (myresume): New function. - (main): Handle 'v' case. - * target.h (struct thread_resume): New type. - (struct target_ops): Change argument of "resume" to struct - thread_resume *. - (myresume): Delete macro. - -2003-08-08 H.J. Lu - - * Makefile.in (install-only): Create dest dir. Support DESTDIR. - (uninstall): Support DESTDIR. - -Mon Jul 21 20:09:34 UTC 2003 Brendan Conoboy - - * configure.srv: Add xscale*linux copy of arm*linux entry. - -2003-07-24 Daniel Jacobowitz - - * linux-arm-low.c (arm_reinsert_addr): New function. - (the_low_target): Add arm_reinsert_addr. - -2003-07-08 Mark Kettenis - - * mem-break.c: Remove whitespace at end of file. - -2003-06-28 Daniel Jacobowitz - - * configure.in: Check whether we need to prototype strerror. - * server.h: Optionally prototype strerror. - * gdbreplay.c (perror_with_name): Use strerror. - * linux-low.c (linux_attach_lwp): Use strerror. - * utils.c (perror_with_name): Use strerror. - * config.in, configure: Regenerated. - -2003-06-28 Daniel Jacobowitz - - * linux-sh-low.c (sh_regmap): Fix FP register offsets, reported by - SUGIOKA Toshinobu . - -2003-06-20 Daniel Jacobowitz - - * Makefile.in (SFILES): Update. - * low-hppabsd.c, low-lynx.c, low-nbsd.c, low-sim.c, low-sparc.c, - low-sun3.c: Remove files. - -2003-06-17 Daniel Jacobowitz - - * linux-low.c: Move comment to linux_thread_alive where it belonged. - (linux_detach_one_process, linux_detach): New functions. - (linux_target_ops): Add linux_detach. - * server.c (main): Handle 'D' packet. - * target.h (struct target_ops): Add "detach" member. - (detach_inferior): Define. - -2003-06-13 Mark Kettenis - - From Kelley Cook : - * configure.srv: Accept i[34567]86 variants. - -2003-06-05 Daniel Jacobowitz - - * linux-low.c (linux_wait_for_event): Correct comment typos. - (linux_resume_one_process): Call check_removed_breakpoint. - (linux_send_signal): New function. - (linux_target_ops): Add linux_send_signal. - * remote-utils.c (putpkt, input_interrupt): Use send_signal instead - of kill. - * target.h (struct target_ops): Add send_signal. - -2003-05-29 Jim Blandy - - * linux-low.c (usr_store_inferior_registers): Transfer buf in - PTRACE_XFER_TYPE-sized chunks, not int-sized chunks. Otherwise, - if 'int' is smaller than PTRACE_XFER_TYPE, you end up throwing - away part of the register's value. - -2003-03-26 Daniel Jacobowitz - - * linux-low.c (linux_create_inferior): Use __SIGRTMIN. - (linux_wait_for_event, linux_init_signals): Likewise. - -2003-03-17 Daniel Jacobowitz - - * configure.in: Check for stdlib.h. - * configure: Regenerated. - * config.in: Regenerated. - -2003-01-04 Andreas Schwab - - * linux-m68k-low.c (m68k_num_regs): Define to 29 instead of 31. - -2003-01-02 Andrew Cagney - - * Makefile.in: Remove obsolete code. - -2002-11-20 Daniel Jacobowitz - - * linux-s390-low.c (s390_regmap): Check GPR_SIZE instead of - defined(PT_FPR0_HI). - -2002-11-17 Stuart Hughes - - * linux-arm-low.c (arm_num_regs): Increase. - (arm_regmap): Include status register. - -2002-11-17 Daniel Jacobowitz - - * linux-low.c (register_addr): Remove incorrect -1 check. - -2002-08-29 Daniel Jacobowitz - - * linux-low.c (linux_create_inferior): Call setpgid. Return - the new PID. - (unstopped_p, linux_signal_pid): Remove. - (linux_target_ops): Remove linux_signal_pid. - * remote-utils.c (putpkt, input_interrupt): Use signal_pid - global instead of target method. - * target.h (struct target_ops): Remove signal_pid. Update comment - for create_inferior. - * server.c (signal_pid): New variable. - (create_inferior): Set signal_pid. Block SIGTTOU and SIGTTIN in - gdbserver. Set the child to be the foreground process group. - (attach_inferior): Set signal_pid. - -2002-08-23 Daniel Jacobowitz - - * ChangeLog: New file, with entries from gdb/ChangeLog after GDB 5.2. - -2002-08-20 Jim Blandy - - * Makefile.in (LDFLAGS): Allow the configure script to establish a - default for this. - -2002-08-01 Andrew Cagney - - * Makefile.in: Make chill references obsolete. - -2002-07-24 Kevin Buettner - - * configure.in (unistd.h): Add to AC_CHECK_HEADERS list. - * configure: Regenerate. - * config.in: Regenerate. - -2002-07-09 David O'Brien - - * gdbreplay.c (stdlib.h, unistd.h): Conditionaly include. - (perror_with_name, remote_close, remote_open, expect, play): Static. - -2002-07-04 Michal Ludvig - - * linux-x86-64-low.c (x86_64_regmap): Make it an array of - byte offsets instead of an array of indexes. - (x86_64_store_gregset, x86_64_store_fpregset): Parameter made const. - -2002-06-13 Daniel Jacobowitz - - * regcache.c: Add comment. - -2002-06-11 Daniel Jacobowitz - - * thread-db.c: New file. - * proc-service.c: New file. - * acinclude.m4: New file. - * Makefile.in: Add GDBSERVER_LIBS, gdb_proc_service_h, - proc-service.o, and thread-db.o. - (linux-low.o): Add USE_THREAD_DB. - * acconfig.h: Add HAVE_PRGREGSET_T, HAVE_PRFPREGSET_T, - HAVE_LWPID_T, HAVE_PSADDR_T, and PRFPREGSET_T_BROKEN. - * aclocal.m4: Regenerated. - * config.in: Regenerated. - * configure: Regenerated. - * configure.in: Check for proc_service.h, sys/procfs.h, - thread_db.h, and linux/elf.h headrs. - Check for lwpid_t, psaddr_t, prgregset_t, prfpregset_t, and - PRFPREGSET_T_BROKEN. Introduce srv_thread_depfiles and USE_THREAD_DB. - Check for -lthread_db and thread support. - * configure.srv: Enable thread_db support for ARM, i386, MIPS, - PowerPC, and SuperH. - * i387-fp.c: Constify arguments. - * i387-fp.h: Likewise. - * inferiors.c: (struct thread_info): Renamed from - `struct inferior_info'. Remove PID member. Use generic inferior - list header. All uses updated. - (inferiors, signal_pid): Removed. - (all_threads): New variable. - (get_thread): Define. - (add_inferior_to_list): New function. - (for_each_inferior): New function. - (change_inferior_id): New function. - (add_inferior): Removed. - (remove_inferior): New function. - (add_thread): New function. - (free_one_thread): New function. - (remove_thread): New function. - (clear_inferiors): Use for_each_inferior and free_one_thread. - (find_inferior): New function. - (find_inferior_id): New function. - (inferior_target_data): Update argument type. - (set_inferior_target_data): Likewise. - (inferior_regcache_data): Likewise. - (set_inferior_regcache_data): Likewise. - * linux-low.c (linux_bp_reinsert): Remove. - (all_processes, stopping_threads, using_thrads) - (struct pending_signals, debug_threads, pid_of): New. - (inferior_pid): Replace with macro. - (struct inferior_linux_data): Remove. - (get_stop_pc, add_process): New functions. - (linux_create_inferior): Restore SIGRTMIN+1 before calling exec. - Use add_process and add_thread. - (linux_attach_lwp): New function, based on old linux_attach. Use - add_process and add_thread. Set stop_expected for new threads. - (linux_attach): New function. - (linux_kill_one_process): New function. - (linux_kill): Kill all LWPs. - (linux_thread_alive): Use find_inferior_id. - (check_removed_breakpoints, status_pending_p): New functions. - (linux_wait_for_process): Renamed from linux_wait_for_one_inferior. - Update. Use WNOHANG. Wait for cloned processes also. Update process - struct for the found process. - (linux_wait_for_event): New function. - (linux_wait): Use it. Support LWPs. - (send_sigstop, wait_for_sigstop, stop_all_processes) - (linux_resume_one_process, linux_continue_one_process): New functions. - (linux_resume): Support LWPs. - (REGISTER_RAW_SIZE): Remove. - (fetch_register): Use register_size instead. Call supply_register. - (usr_store_inferior_registers): Likewise. Call collect_register. - Fix recursive case. - (regsets_fetch_inferior_registers): Improve error message. - (regsets_store_inferior_registers): Add debugging. - (linux_look_up_symbols): Call thread_db_init if USE_THREAD_DB. - (unstopped_p, linux_signal_pid): New functions. - (linux_target_ops): Add linux_signal_pid. - (linux_init_signals): New function. - (initialize_low): Call it. Initialize using_threads. - * regcache.c (inferior_regcache_data): Add valid - flag. - (get_regcache): Fetch registers lazily. Add fetch argument - and update all callers. - (regcache_invalidate_one, regcache_invalidate): New - functions. - (new_register_cache): Renamed from create_register_cache. - Return the new regcache. - (free_register_cache): Change argument to a void *. - (registers_to_string, registers_from_string): Call get_regcache - with fetch flag set. - (register_data): Make static. Pass fetch flag to get_regcache. - (supply_register): Call get_regcache with fetch flag clear. - (collect_register): Call get_regcache with fetch flag set. - (collect_register_as_string): New function. - * regcache.h: Update. - * remote-utils.c (putpkt): Flush after debug output and use - stderr. - Handle input interrupts while waiting for an ACK. - (input_interrupt): Use signal_pid method. - (getpkt): Flush after debug output and use stderr. - (outreg): Use collect_register_as_string. - (new_thread_notify, dead_thread_notify): New functions. - (prepare_resume_reply): Check using_threads. Set thread_from_wait - and general_thread. - (look_up_one_symbol): Flush after debug output. - * server.c (step_thread, server_waiting): New variables. - (start_inferior): Don't use signal_pid. Update call to mywait. - (attach_inferior): Update call to mywait. - (handle_query): Handle qfThreadInfo and qsThreadInfo. - (main): Don't fetch/store registers explicitly. Use - set_desired_inferior. Support proposed ``Hs'' packet. Update - calls to mywait. - * server.h: Update. - (struct inferior_list, struct_inferior_list_entry): New. - * target.c (set_desired_inferior): New. - (write_inferior_memory): Constify. - (mywait): New function. - * target.h: Update. - (struct target_ops): New signal_pid method. - (mywait): Removed macro, added prototype. - - * linux-low.h (regset_func): Removed. - (regset_fill_func, regset_store_func): New. - (enum regset_type): New. - (struct regset_info): Add type field. Use new operation types. - (struct linux_target_ops): stop_pc renamed to get_pc. - Add decr_pc_after_break and breakpoint_at. - (get_process, get_thread_proess, get_process_thread) - (strut process_info, all_processes, linux_attach_lwp) - (thread_db_init): New. - - * linux-arm-low.c (arm_get_pc, arm_set_pc, - arm_breakpoint, arm_breakpoint_len, arm_breakpoint_at): New. - (the_low_target): Add new members. - * linux-i386-low.c (i386_store_gregset, i386_store_fpregset) - (i386_store_fpxregset): Constify. - (target_regsets): Add new kind identifier. - (i386_get_pc): Renamed from i386_stop_pc. Simplify. - (i386_set_pc): Add debugging. - (i386_breakpoint_at): New function. - (the_low_target): Add new members. - * linux-mips-low.c (mips_get_pc, mips_set_pc) - (mips_breakpoint, mips_breakpoint_len, mips_reinsert_addr) - (mips_breakpoint_at): New. - (the_low_target): Add new members. - * linux-ppc-low.c (ppc_get_pc, ppc_set_pc) - (ppc_breakpoint, ppc_breakpoint_len, ppc_breakpoint_at): New. - (the_low_target): Add new members. - * linux-sh-low.c (sh_get_pc, sh_set_pc) - (sh_breakpoint, sh_breakpoint_len, sh_breakpoint_at): New. - (the_low_target): Add new members. - * linux-x86-64-low.c (target_regsets): Add new kind - identifier. - -2002-05-15 Daniel Jacobowitz - - From Martin Pool : - * server.c (gdbserver_usage): New function. - (main): Call it. - -2002-05-14 Daniel Jacobowitz - - * mem-break.c (reinsert_breakpoint_by_bp): Correct typo - stop_at -> stop_pc. - -2002-05-04 Andrew Cagney - - * Makefile.in: Remove obsolete code. - -2002-04-24 Michal Ludvig - - * linux-low.c (regsets_fetch_inferior_registers), - (regsets_store_inferior_registers): Removed cast to int from - ptrace() calls. - * regcache.h: Added declaration of struct inferior_info. - -2002-04-20 Daniel Jacobowitz - - * inferiors.c (struct inferior_info): Add regcache_data. - (add_inferior): Call create_register_cache. - (clear_inferiors): Call free_register_cache. - (inferior_regcache_data, set_inferior_regcache_data): New functions. - * regcache.c (struct inferior_regcache_data): New. - (registers): Remove. - (get_regcache): New function. - (create_register_cache, free_register_cache): New functions. - (set_register_cache): Don't initialize the register cache here. - (registers_to_string, registers_from_string, register_data): Call - get_regcache. - * regcache.h: Add prototypes. - * server.h: Likewise. - -2002-04-20 Daniel Jacobowitz - - * mem-break.c: New file. - * mem-break.h: New file. - * Makefile.in: Add mem-break.o rule; update server.h - dependencies. - * inferiors.c (struct inferior_info): Add target_data - member. - (clear_inferiors): Free target_data member if set. - (inferior_target_data, set_inferior_target_data): New functions. - * linux-i386-low.c (i386_breakpoint, i386_breakpoint_len) - (i386_stop_pc, i386_set_pc): New. Add to the_low_target. - * linux-low.c (linux_bp_reinsert): New variable. - (struct inferior_linux_data): New. - (linux_create_inferior): Use set_inferior_target_data. - (linux_attach): Likewise. Call add_inferior. - (linux_wait_for_one_inferior): New function. - (linux_wait): Call it. - (linux_write_memory): Add const. - (initialize_low): Call set_breakpoint_data. - * linux-low.h (struct linux_target_ops): Add breakpoint - handling members. - * server.c (attach_inferior): Remove extra add_inferior - call. - * server.h: Include mem-break.h. Update inferior.c - prototypes. - * target.c (read_inferior_memory) - (write_inferior_memory): New functions. - * target.h (read_inferior_memory) - (write_inferior_memory): Change macros to prototypes. - (struct target_ops): Update comments. Add const to write_memory - definition. - -2002-04-11 Daniel Jacobowitz - - * linux-low.c (usr_store_inferior_registers): Support - registers which are allowed to fail to store. - * linux-low.h (linux_target_ops): Likewise. - * linux-ppc-low.c (ppc_regmap): Support FPSCR. - (ppc_cannot_store_register): FPSCR may not be storable. - -2002-04-09 Daniel Jacobowitz - - * server.h: Include if HAVE_STRING_H. - * ChangeLog: Correct paths in last ChangeLog entry. - -2002-04-09 Daniel Jacobowitz - - * linux-low.h: Remove obsolete prototypes. - (struct linux_target_ops): New. - (extern the_low_target): New. - * linux-low.c (num_regs, regmap): Remove declarations. - (register_addr): Use the_low_target explicitly. - (fetch_register): Likewise. - (usr_fetch_inferior_registers): Likewise. - (usr_store_inferior_registers): Likewise. - * linux-arm-low.c (num_regs): Remove. - (arm_num_regs): Define. - (arm_regmap): Renamed from regmap, made static. - (arm_cannot_fetch_register): Renamed from cannot_fetch_register, - made static. - (arm_cannot_store_register): Renamed from cannot_store_register, - made static. - (the_low_target): New. - * linux-i386-low.c (num_regs): Remove. - (i386_num_regs): Define. - (i386_regmap): Renamed from regmap, made static. - (i386_cannot_fetch_register): Renamed from cannot_fetch_register, - made static. - (i386_cannot_store_register): Renamed from cannot_store_register, - made static. - (the_low_target): New. - * linux-ia64-low.c (num_regs): Remove. - (ia64_num_regs): Define. - (ia64_regmap): Renamed from regmap, made static. - (ia64_cannot_fetch_register): Renamed from cannot_fetch_register, - made static. - (ia64_cannot_store_register): Renamed from cannot_store_register, - made static. - (the_low_target): New. - * linux-m68k-low.c (num_regs): Remove. - (m68k_num_regs): Define. - (m68k_regmap): Renamed from regmap, made static. - (m68k_cannot_fetch_register): Renamed from cannot_fetch_register, - made static. - (m68k_cannot_store_register): Renamed from cannot_store_register, - made static. - (the_low_target): New. - * linux-mips-low.c (num_regs): Remove. - (mips_num_regs): Define. - (mips_regmap): Renamed from regmap, made static. - (mips_cannot_fetch_register): Renamed from cannot_fetch_register, - made static. - (mips_cannot_store_register): Renamed from cannot_store_register, - made static. - (the_low_target): New. - * linux-ppc-low.c (num_regs): Remove. - (ppc_num_regs): Define. - (ppc_regmap): Renamed from regmap, made static. - (ppc_cannot_fetch_register): Renamed from cannot_fetch_register, - made static. - (ppc_cannot_store_register): Renamed from cannot_store_register, - made static. - (the_low_target): New. - * linux-s390-low.c (num_regs): Remove. - (s390_num_regs): Define. - (s390_regmap): Renamed from regmap, made static. - (s390_cannot_fetch_register): Renamed from cannot_fetch_register, - made static. - (s390_cannot_store_register): Renamed from cannot_store_register, - made static. - (the_low_target): New. - * linux-sh-low.c (num_regs): Remove. - (sh_num_regs): Define. - (sh_regmap): Renamed from regmap, made static. - (sh_cannot_fetch_register): Renamed from cannot_fetch_register, - made static. - (sh_cannot_store_register): Renamed from cannot_store_register, - made static. - (the_low_target): New. - * linux-x86-64-low.c (x86_64_regmap): Renamed from regmap. - (the_low_target): New. - -2002-04-09 Daniel Jacobowitz - - * Makefile.in: Add stamp-h target. - * configure.in: Create stamp-h. - * configure: Regenerated. - -2002-04-09 Daniel Jacobowitz - - * inferiors.c: New file. - * target.c: New file. - * target.h: New file. - * Makefile.in: Add target.o and inferiors.o. Update - dependencies. - * linux-low.c (inferior_pid): New static variable, - moved from server.c. - (linux_create_inferior): Renamed from create_inferior. - Call add_inferior. Return 0 on success instead of a PID. - (linux_attach): Renamed from myattach. - (linux_kill): Renamed from kill_inferior. Call clear_inferiors (). - (linux_thread_alive): Renamed from mythread_alive. - (linux_wait): Renamed from mywait. Call clear_inferiors () if the - child dies. - (linux_resume): Renamed from myresume. Add missing ``return 0''. - (regsets_store_inferior_registers): Correct error message. - Add missing ``return 0''. - (linux_fetch_registers): Renamed from fetch_inferior_registers. - (linux_store_registers): Renamed from store_inferior_registers. - (linux_read_memory): Renamed from read_inferior_memory. - (linux_write_memory): Renamed from write_inferior_memory. - (linux_target_ops): New structure. - (initialize_low): Call set_target_ops (). - * remote-utils.c (unhexify): New function. - (hexify): New function. - (input_interrupt): Send signals to ``signal_pid''. - * server.c (inferior_pid): Remove. - (start_inferior): Update create_inferior call. - (attach_inferior): Call add_inferior. - (handle_query): New function. - (main): Call handle_query for `q' packets. - * server.h: Include "target.h". Remove obsolete prototypes. - Add prototypes for "inferiors.c", "target.c", hexify, and unhexify. - -2002-04-09 Daniel Jacobowitz - - * Makefile.in: Add WARN_CFLAGS. Update configury - dependencies. - * configure.in: Check for - * configure: Regenerate. - * config.in: Regenerate. - * gdbreplay.c: Include needed system headers. - (remote_open): Remove strchr prototype. - * linux-low.h: Correct #ifdef to HAVE_LINUX_USRREGS. - * regcache.c (supply_register): Change buf argument to const void *. - (supply_register_by_name): Likewise. - (collect_register): Change buf argument to void *. - (collect_register_by_name): Likewise. - * regcache.h: Add missing prototypes. - * remote-utils.c: Include for inet_ntoa. - * server.c (handle_query): New function. - (attached): New static variable, moved out of main. - (main): Quiet longjmp clobber warnings. - * server.h: Add ATTR_NORETURN and ATTR_FORMAT. Update prototypes. - * utils.c (error): Remove NORETURN. - (fatal): Likewise. diff --git a/gdbserver/ChangeLog-2002-2021 b/gdbserver/ChangeLog-2002-2021 new file mode 100644 index 00000000000..c2ff85ed553 --- /dev/null +++ b/gdbserver/ChangeLog-2002-2021 @@ -0,0 +1,22864 @@ +2021-06-19 Mike Frysinger + + * acinclude.m4: Delete most m4_include's of ../config files. + * configure.ac: Delete m4_include call and call AC_CONFIG_MACRO_DIR. + * aclocal.m4: Regenerate. + * configure: Regenerate. + +2021-06-14 Mike Frysinger + + * Makefile.in (GNULIB_BUILDDIR): Rename to ... + (GNULIB_PARENT_DIR): ... this. Remove "gnulib" from value. + +2021-05-27 Simon Marchi + + * Fix some indentation mistakes throughout. + +2021-05-17 Andrew Burgess + + * .dir-locals.el: Set sentence-end-double-space for all modes, and + set brace-list-open to 0 for C and C++ modes. + +2021-05-08 Simon Marchi + + * linux-low.cc (linux_process_target::wait_for_event_filtered): + Adjust to status_to_str returning std::string. + +2021-05-08 Pedro Alves + + * linux-low.cc: + (linux_process_target::supports_disable_randomization): Remove + reference to HAVE_PERSONALITY. + * config.in, configure: Regenerate. + +2021-05-08 Pedro Alves + + * linux-low.cc: Don't include sys/personality.h or define + ADDR_NO_RANDOMIZE. + +2021-05-06 Tankut Baris Aktemur + + * server.cc (handle_v_attach) + (handle_v_run) + (handle_v_kill): Make void. + +2021-05-03 Tom Tromey + + PR build/27807: + * win32-i386-low.cc (i386_get_thread_context): Call + Wow64GetThreadContext, not win32_Wow64GetThreadContext. + +2021-04-30 Tom Tromey + + * win32-low.cc (do_initial_child_stuff): Update. + (windows_nat::handle_load_dll): Rename from win32_add_one_solib. + Change parameter type. + (win32_add_dll, win32_add_all_dlls) + (windows_nat::handle_load_dll): Remove. + (get_child_debug_event): Call dll_loaded_event. + +2021-04-30 Tom Tromey + + * win32-low.cc (GETPROCADDRESS): Remove. + (winapi_DebugActiveProcessStop, winapi_DebugSetProcessKillOnExit) + (winapi_DebugBreakProcess, winapi_GenerateConsoleCtrlEvent) + (winapi_Wow64SetThreadContext, win32_Wow64GetThreadContext) + (win32_Wow64SetThreadContext): Remove. + (win32_set_thread_context, do_initial_child_stuff) + (win32_process_target::attach, win32_process_target::detach): + Update. + (winapi_EnumProcessModules, winapi_EnumProcessModulesEx) + (winapi_GetModuleInformation, winapi_GetModuleInformationA): + Remove. + (win32_EnumProcessModules, win32_EnumProcessModulesEx) + (win32_GetModuleInformation, win32_GetModuleInformationA): + Remove. + (load_psapi): Remove. + (win32_add_dll, win32_process_target::request_interrupt): Update. + (initialize_low): Call initialize_loadable. + +2021-04-14 Tom Tromey + + * win32-low.cc (windows_nat::handle_load_dll): Don't check + _WIN32_WCE. + +2021-04-13 Pedro Alves + + * gdbreplay.c [__MINGW32CE__] (COUNTOF, errno, strerror): Remove. + +2021-04-13 Tom Tromey + + * win32-low.cc (winapi_CreateToolhelp32Snapshot) + (winapi_Module32First, winapi_Module32Next): Remove typedefs. + +2021-04-13 Pedro Alves + + * Makefile.in (SFILES): Remove hostio-errno.cc. + * configure: Regenerate. + * configure.ac (GDBSERVER_DEPFILES): No longer add + $srv_hostio_err_objs. + * configure.srv (srv_hostio_err_objs): Delete. + * hostio-errno.cc: Delete. + * hostio.cc (hostio_error): Inline hostio_last_error_from_errno + here. + * hostio.h (hostio_last_error_from_errno): Delete. + * target.cc (process_stratum_target::hostio_last_error): Delete. + * target.h (class process_stratum_target) : + Delete. + +2021-04-12 Simon Marchi + + * win32-low.cc: Remove all code guarded by _WIN32_WCE. + * win32-low.h: Likewise. + +2021-04-12 Tankut Baris Aktemur + + * target.h (class process_stratum_target) : + Constify the return type. Update the definition/references below. + * target.cc (process_stratum_target::pid_to_exec_file) + * linux-low.h (class linux_process_target) + * linux-low.cc (linux_process_target::pid_to_exec_file) + * netbsd-low.h (class netbsd_process_target) + * netbsd-low.cc (netbsd_process_target::pid_to_exec_file) + * server.cc (handle_qxfer_exec_file) + +2021-04-11 Eli Zaretskii + + * win32-low.cc (win32_add_dll): New function, with body almost + identical to what win32_add_all_dlls did. Accepts one argument; + if that is non-NULL, returns the file name of the DLL that is + loaded at the base address equal to that argument, or NULL if not + found. If the argument is NULL, add all the DLLs loaded by the + inferior to the list of solibs and return NULL. + (win32_add_all_dlls): Now a thin wrapper around win32_add_dll. + (windows_nat::handle_load_dll) [!_WIN32_WCE]: If get_image_name + failed to glean the file name of the DLL, call win32_add_dll to + try harder using the lpBaseOfDll member of the load-DLL event. + +2021-03-30 Luis Machado + + * server.cc (handle_general_set, handle_query): Update variable + to bool and fix verification logic. + +2021-03-24 Luis Machado + + * Makefile.in (SFILES): Add /../gdb/nat/aarch64-mte-linux-ptrace.c. + * configure.srv (aarch64*-*-linux*): Add arch/aarch64-mte-linux.o and + nat/aarch64-mte-linux-ptrace.o. + * linux-aarch64-low.cc: Include nat/aarch64-mte-linux-ptrace.h. + (class aarch64_target) + : New method overrides. + (aarch64_target::supports_memory_tagging) + (aarch64_target::fetch_memtags) + (aarch64_target::store_memtags): New methods. + +2021-03-24 Luis Machado + + * linux-aarch64-low.cc (aarch64_fill_mteregset): New function. + (aarch64_store_mteregset): New function. + (aarch64_regsets): Add MTE register set entry. + (aarch64_sve_regsets): Add MTE register set entry. + +2021-03-24 Luis Machado + + * linux-aarch64-ipa.cc (get_ipa_tdesc): Update call to + aarch64_linux_read_description. + (initialize_low_tracepoint): Likewise. + * linux-aarch64-low.cc (aarch64_target::low_arch_setup): Take MTE flag + into account. + * linux-aarch64-tdesc.cc (tdesc_aarch64_list): Add one more dimension + for MTE. + (aarch64_linux_read_description): Add mte_p parameter and update to + use it. + * linux-aarch64-tdesc.h (aarch64_linux_read_description): Add mte_p + parameter. + +2021-03-24 Luis Machado + + * linux-aarch64-low.cc: Include arch/aarch64-mte-linux.h. + +2021-03-24 Luis Machado + + * server.cc (test_memory_tagging_functions): New function. + (captured_main): Register test_memory_tagging_functions. + +2021-03-24 Luis Machado + + * remote-utils.cc (decode_m_packet_params): Renamed from ... + (decode_m_packet): ... this, which now calls decode_m_packet_params. + Make char * param/return const char *. + (decode_M_packet): Use decode_m_packet_params and make char * param + const char *. + * remote-utils.h (decode_m_packet_params): New prototype. + (decode_m_packet): Constify char pointers. + (decode_M_packet): Likewise. + * server.cc (create_fetch_memtags_reply) + (parse_store_memtags_request): New + functions. + (handle_general_set): Handle the QMemTags packet. + (parse_fetch_memtags_request): New function. + (handle_query): Handle the qMemTags packet and advertise memory + tagging support. + (captured_main): Initialize memory tagging flag. + * server.h (struct client_state): Initialize memory tagging flag. + * target.cc (process_stratum_target::supports_memory_tagging) + (process_stratum_target::fetch_memtags) + (process_stratum_target::store_memtags): New methods. + * target.h: Include gdbsupport/byte-vector.h. + (class process_stratum_target) + : New class virtual methods. + (target_supports_memory_tagging): Define. + +2021-03-22 Tankut Baris Aktemur + + * inferiors.h (struct process_info) : New + fields. + * dll.h (loaded_dll) + (unloaded_dll): Declare an overloaded version that takes a proc + parameter. + * dll.cc (loaded_dll) + (unloaded_dll): Implement the overloaded versions. + (clear_dlls): Clear all process' dll lists. + (all_dlls, dlls_changed): Remove the global variables. + * remote-utils.cc (prepare_resume_reply): Update to consider a dll + list per proc. + * server.cc (handle_qxfer_libraries): Ditto. + (handle_v_attach): Ditto. + (captured_main): Ditto. + +2021-02-23 Simon Marchi + + * linux-low.cc (linux_process_target::filter_event): Return + void. + * linux-low.h (class linux_process_target) : + Return void. + +2021-02-12 Tom Tromey + + * gdbreplay.cc (remote_desc): Remove. + (remote_desc_in, remote_desc_out): New globals. + (remote_close): Update. + (remote_open): Handle "-". + (remote_open): Update. + (logchar): Log to stderr. + (expect, play): Update. + +2021-02-12 Tom Tromey + + * gdbreplay.cc (remote_open): Constify. + +2021-02-05 Paul E. Murphy + + * Makefile.in (UNDO_GNULIB_CFLAGS): Disable + gnulib free replacement too. + * common-defs.h [USE_WIN32API](read, write): Undefine + gnulib versions before defining these macros. + +2021-02-03 Pedro Alves + + * linux-low.cc (linux_process_target::complete_ongoing_step_over): + Discard step SIGTRAP, unless GDB wanted the thread to step. + +2021-02-03 Pedro Alves + + * server.cc (discard_queued_stop_replies): Don't ever discard the + notification at the head of the list. + +2021-01-20 Simon Marchi + + * ax.cc (bytecode_address_table): Make static. + * debug.cc (debug_file): Make static. + * linux-low.cc (stopping_threads): Make static. + (step_over_bkpt): Make static. + * linux-x86-low.cc (amd64_emit_ops, i386_emit_ops): Make static. + * tracepoint.cc (stop_tracing_bkpt, flush_trace_buffer_bkpt, + alloced_trace_state_variables, trace_buffer_ctrl, + tracing_start_time, tracing_stop_time, tracing_user_name, + tracing_notes, tracing_stop_note): Make static. + +2021-01-20 Tom de Vries + + * linux-x86-low.cc (collect_register_i386): New function. + (x86_fill_gregset): Remove memset. Use collect_register_i386. + +2021-01-07 Tom de Vries + + * Makefile.in (LIBIBERTY_NORMAL, LIBIBERTY_NOASAN, LIBIBERTY_PIC): + (LIBIBERTY_FOR_SHLIB): New var. + (LIBIBERTY): Set using $(LIBIBERTY_NORMAL). + (IPA_LIB): Use LIBIBERTY_FOR_SHLIB instead of LIBIBERTY in target rule. + +2021-01-04 Simon Marchi + + * debug.cc (debug_print_depth): New. + +2021-01-01 Joel Brobecker + + * server.cc (gdbserver_version): Update copyright year. + * gdbreplay.cc (gdbreplay_version): Likewise. + +2020-12-16 Luis Machado + + * linux-aarch64-low.cc (address_significant): New function. + (aarch64_target::low_stopped_data_address): Handle the TBI. + +2020-12-11 Andrew Burgess + + * Makefile.in (IPA_LIB): Include libiberty library. + +2020-11-11 Andrew Burgess + + * server.cc (gdbserver_usage): Add missing option to usage text. + (gdbserver_show_disableable): Likewise. + +2020-11-02 Simon Marchi + + * ax.cc: Fix indentation. + * dll.cc: Fix indentation. + * inferiors.h: Fix indentation. + * linux-low.cc: Fix indentation. + * linux-nios2-low.cc: Fix indentation. + * linux-ppc-ipa.cc: Fix indentation. + * linux-ppc-low.cc: Fix indentation. + * linux-x86-low.cc: Fix indentation. + * linux-xtensa-low.cc: Fix indentation. + * regcache.cc: Fix indentation. + * server.cc: Fix indentation. + * tracepoint.cc: Fix indentation. + +2020-10-31 Simon Marchi + + * acinclude.m4: Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE + + AC_LANG_PROGRAM. + * configure: Re-generate. + +2020-10-31 Simon Marchi + + * configure: Re-generate. + +2020-10-31 Simon Marchi + + * configure: Re-generate. + +2020-10-31 Simon Marchi + + * configure: Re-generate. + +2020-10-31 Simon Marchi + + * configure: Re-generate. + +2020-10-31 Simon Marchi + + * configure.ac: Modernize. + * configure: Re-generate. + +2020-10-31 Simon Marchi + + * configure.ac: Use AC_CANONICAL_{BUILD,HOST,TARGET} instead of + AC_CANONICAL_SYSTEM. + * configure: Re-generate. + +2020-10-26 Pedro Alves + + * netbsd-low.cc (netbsd_waitpid, netbsd_process_target::kill) + (netbsd_qxfer_libraries_svr4): Use gdb::handle_eintr without + explicit type. + +2020-10-25 Simon Marchi + + * acinclude.m4: Update ptrace.m4 path. + +2020-10-24 Simon Marchi + + * config.in: Re-generate. + * configure: Re-generate. + +2020-10-21 Simon Marchi + + * server.cc (handle_general_set): Don't use sprintf with + argument overlapping buffer. + +2020-10-20 Tom Tromey + + PR gdb/26742: + * inferiors.cc (remove_thread): Clear current_thread before + freeing the thread. + +2020-10-13 Kamil Rytarowski x + + * netbsd-low.cc (netbsd_tdesc): Remove. + (netbsd_add_process): Likewise. + (netbsd_process_target::create_inferior): Update. + +2020-10-09 Andrew Burgess + + * linux-arc-low.cc (arc_linux_read_description): Release the + unique_ptr returned from arc_create_target_description. + +2020-10-09 Andrew Burgess + + * Makefile.in: Include Makefile.gnulib.inc. Don't define LIBGNU + or INCGNU. Make use of LIBGNU_EXTRA_LIBS when linking. + +2020-10-08 Andrew Burgess + + * linux-low.cc (linux_process_target::handle_extended_wait): + Release the unique_ptr returned from allocate_target_description. + * linux-riscv-low.cc (riscv_target::low_arch_setup): Likewise. + * linux-x86-low.cc (tdesc_amd64_linux_no_xml): Change type. + (tdesc_i386_linux_no_xml): Change type. + (x86_linux_read_description): Borrow pointer from unique_ptr + object. + (x86_target::get_ipa_tdesc_idx): Likewise. + (initialize_low_arch): Likewise. + * tdesc.cc (allocate_target_description): Update return type. + +2020-10-07 Tom Tromey + + * server.cc (handle_search_memory): Remove dead code. + +2020-10-07 Tom Tromey + + * server.cc (handle_search_memory_1): Remove. + (handle_search_memory): Use simple_search_memory. + +2020-10-07 Simon Marchi + + * Makefile.in (COMPILE): Add CXXFLAGS. + (INTERNAL_CFLAGS_BASE): Remove CXXFLAGS. + (gdbserver$(EXEEXT)): Add CXXFLAGS. + (gdbreplay$(EXEEXT)): Add CXXFLAGS. + ($(IPA_LIB)): Add CXXFLAGS. + (IPAGENT_COMPILE): Add CXXFLAGS. + +2020-10-07 Anton Kolesov + + * configure.srv: Support ARC architecture. + * Makefile.in: Add linux-arc-low.cc and arch/arc.o. + * linux-arc-low.cc: New file. + +2020-10-07 Kamil Rytarowski + + * netbsd-low.cc (get_dynamic, get_r_debug, read_one_ptr) + (netbsd_qxfer_libraries_svr4): Remove "target" argument and update. + (netbsd_process_target::qxfer_libraries_svr4): Update. + +2020-10-07 Kamil Rytarowski + + * netbsd-low.cc: Fix whitespace formatting. + * netbsd-amd64-low.cc: Likewise. + +2020-10-07 Kamil Rytarowski + + * netbsd-low.cc (netbsd_process_target::read_memory) + (netbsd_process_target::write_memory): Update. + +2020-10-07 Kamil Rytarowski + + * netbsd-aarch64-low.cc: Add. + * Makefile.in (SFILES): Register "netbsd-aarch64-low.c". + * configure.srv: Add aarch64*-*-netbsd*. + +2020-10-06 Shahab Vahedi + + * regcache.cc (register_data): Remove unused "fetch" argument. + +2020-10-02 Simon Marchi + + * server.cc (handle_monitor_command): Handle "set + debug-event-loop". + (captured_main): Handle "--debug-event-loop". + (monitor_show_help): Mention new setting. + (gdbserver_usage): Mention new flag. + +2020-10-02 Simon Marchi + + * linux-low.cc (linux_process_target::async): Pass name to + add_file_handler. + * remote-utils.cc (handle_accept_event): Likewise. + (remote_open): Likewise. + +2020-10-01 Kamil Rytarowski + + * netbsd-i386-low.cc: Add. + * Makefile.in (SFILES): Register "netbsd-i386-low.c". + * configure.srv: Add i[34567]86-*-netbsd*. + +2020-10-01 Kamil Rytarowski + + * netbsd-amd64-low.cc (netbsd_x86_64_arch_setup): Remove. + (netbsd_target_regsets): Now const. + (the_low_target): Remove. + (class netbsd_amd64_target, the_netbsd_amd64_target) + (the_netbsd_target): Add. + * netbsd-low.cc (netbsd_process_target::post_create_inferior): Call + low_arch_setup (). + (netbsd_process_target::fetch_registers) + (netbsd_process_target::store_registers, initialize_low): Update. + (the_netbsd_target): Remove. + * netbsd-low.h (netbsd_target_regsets, netbsd_target_ops) + (the_low_target, netbsd_tdesc): Remove. + (netbsd_process_target::get_regs_info) + (netbsd_process_target::low_arch_setup): Add. + +2020-09-23 Hannes Domani + + * win32-low.cc: Remove local wow64_process variable. + * win32-low.h: Remove local wow64_process variable. + +2020-09-18 Tom Tromey + + * netbsd-low.h (class netbsd_process_target) : Update. + * netbsd-low.cc (netbsd_waitpid, netbsd_wait) + (netbsd_process_target::wait): Change type of target_options. + * win32-low.h (class win32_process_target) : Update. + * win32-low.cc (win32_process_target::wait): Update. + * target.h (class process_stratum_target) : Update. + (mywait): Update. + * target.cc (mywait, target_wait): Change type of "options". + * linux-low.h (class linux_process_target) : + Update. + * linux-low.cc (linux_process_target::wait) + (linux_process_target::wait_1): Update. + +2020-09-15 Tom Tromey + + * linux-x86-low.cc (xmltarget_i386_linux_no_xml) + (xmltarget_amd64_linux_no_xml): Now arrays. + +2020-09-14 Tom Tromey + + * tracepoint.cc (eval_result_names): Now const. + * ax.cc (gdb_agent_op_names): Now const. + +2020-09-10 Kamil Rytarowski + + * netbsd-low.cc: Add. + * netbsd-low.h: Likewise. + * netbsd-amd64-low.cc: Likewise. + * Makefile.in (SFILES): Register "netbsd-low.cc", "netbsd-low.h", + "netbsd-amd64-low.cc". + * configure.srv: Add x86_64-*-netbsd*. + +2020-08-13 Simon Marchi + + * server.cc (captured_main): Accept multiple `--selftest=` + options. Pass all `--selftest=` arguments to run_tests. + +2020-07-30 Rainer Orth + + * configure, config.in: Regenerate. + +2020-07-26 Eli Zaretskii + + * configure.ac (AC_CHECK_HEADERS): Add ws2tcpip.h. + When checking whether socklen_t type is defined, use ws2tcpip.h if + it is available and sys/socket.h isn't. + * configure: Regenerate. + * config.in: Regenerate. + +2020-07-22 Pedro Alves + + * inferiors.cc (switch_to_process): New, moved here from + thread-db.cc, and made extern. + * inferiors.h (switch_to_process): Declare. + * server.cc: Include "gdbsupport/scoped_restore.h". + (handle_qxfer_threads_proper): Now returns bool. Prepare to + access memory around target calls. + (handle_qxfer_threads): Handle errors. + * thread-db.cc (switch_to_process): Moved to inferiors.cc. + +2020-07-21 Simon Marchi + + * linux-low.cc (stopped_pids): Make static. + +2020-07-17 Andrew Burgess + + * tdesc.cc (allocate_target_description): Add header comment. + (target_desc_deleter::operator()): New function. + * tdesc.h (struct target_desc): Declare as final. + +2020-07-13 Simon Marchi + + * server.cc (handle_query): Use std::vector of + std::string for `qsupported` vector. Use separate + vector for unknowns. + * target.h (class process_stratum_target) : + Change parameters to array_view of const char *. + (target_process_qsupported): Remove `count` parameter. + * target.cc (process_stratum_target::process_qsupported): Change + parameters to array_view of const char *. + * linux-x86-low.cc (class x86_target) : + Likewise. + +2020-06-29 Tom de Vries + + * ax.h: Include gdbsupport/debug_agent.h. + +2020-06-23 Andrew Burgess + + * tdesc.cc (struct tdesc_compatible_info): New struct. + (tdesc_compatible_info_list): New function. + (tdesc_compatible_info_arch_name): New function. + +2020-06-22 Tankut Baris Aktemur + + Use std::list to stop pending signal instead of manually-created + linked list. + * linux-low.h: Include . + (struct pending_signal): Move here from linux-low.cc. + (struct lwp_info) + : Update the type. + * linux-low.cc (struct pending_signals): Remove. + (linux_process_target::delete_lwp) + (linux_process_target::add_lwp) + (enqueue_one_deferred_signal) + (dequeue_one_deferred_signal) + (enqueue_pending_signal) + (linux_process_target::resume_one_lwp_throw) + (linux_process_target::thread_needs_step_over) + (linux_process_target::resume_one_thread) + (linux_process_target::proceed_one_lwp): Update the use of pending + signal list. + +2020-06-17 Simon Marchi + + * Makefile.in (%-generated.cc: ../gdb/regformats/arm/%.dat): + Remove. + +2020-06-12 Simon Marchi + + * Makefile.in (SFILES): Remove win32-arm-low.cc, wincecompat.cc. + * configure.srv: Remove mingw32ce cases. + * server.h, win32-low.cc: Remove __MINGW32CE__-guarded code. + * win32-low.h (to_back_slashes): Remove. + * win32-arm-low.cc, wincecompat.cc, wincecompat.h: Remove. + +2020-06-12 Simon Marchi + + * Makefile.in (SFILES): linux-tile-low.cc. + * configure.srv: Remove tilegx case. + * linux-tile-low.cc: Remove. + +2020-06-12 Simon Marchi + + * Makefile.in (SFILES): Remove linux-m32r-low.cc. + * configure.srv: Remove m32r case. + * linux-m32r-low.cc: Remove. + +2020-06-12 Simon Marchi + + * Makefile.in (SFILES): Remove linux-cris-low.c. + * configure.srv: Remove cris cases. + * linux-cris-low.cc, linux-crisv32-low.cc: Remove. + +2020-06-12 Simon Marchi + + * Makefile.in (SFILES): Remove linux-bfin-low.c. + * configure.srv: Remove bfin case. + * linux-bfin-low.cc: Remove. + * linux-low.cc: Remove BFIN-conditional code. + +2020-06-12 Simon Marchi + + * configure: Re-generate. + * configure.ac: Remove srv_qnx test. + * configure.srv: Remove nto case. + * nto-low.cc, nto-low.h, nto-x86-low.cc: Remove. + * remote-utils.c: Remove __QNX__-guarded code. + +2020-06-12 Simon Marchi + + * configure: Re-generate. + * configure.ac: Remove srv_lynxos test. + * configure.srv: Remove lynxos cases. + * lynx-i386-low.cc, lynx-low.cc, lynx-low.h, lynx-ppc-low.c: + Remove. + +2020-06-12 Simon Marchi + + * README: Fix a few outdated or incoherent things. + +2020-05-27 Hannes Domani + + * win32-low.cc (do_initial_child_stuff): Set open_process_used. + (win32_clear_inferiors): Use open_process_used. + (get_child_debug_event): Likewise. + +2020-05-25 Michael Weghorn + + PR gdbserver/25893 + * linux-low.cc (linux_process_target::create_inferior), + lynx-low.cc (lynx_process_target::create_inferior), + win32-low.cc (win32_process_target::create_inferior): Use + construct_inferior_arguments instead of stringify_argv + to get string representation which properly escapes + special characters. + * server.cc (handle_v_run): Just pass empty program arg + as such, since any further processing is now handled via + construct_inferior_arguments. + +2020-05-25 Michael Weghorn + + * nto-low.cc (nto_process_target::create_inferior): Pass + argv to spawnp function as char **. + +2020-05-25 Michael Weghorn + + * server.cc (captured_main), (handle_v_run): No longer + insert extra NULL element to args vector. + +2020-05-23 Pedro Alves + + * gdb-safe-ctype.h: New. + +2020-05-16 Tankut Baris Aktemur + + * linux-ia64-low.cc (ia64_target::sw_breakpoint_from_kind): + Fix incorrect 'gdb_assert_no_reached' to 'gdb_assert_not_reached'. + (ia64_target::low_breakpoint_at): Ditto. + +2020-05-15 Hannes Domani + + * win32-i386-low.cc (i386_supports_z_point_type): Handle + Z_PACKET_HW_BP z_type. + (i386_insert_point): Handle raw_bkpt_type type. + (i386_remove_point): Likewise. + +2020-04-30 Hannes Domani + + * configure.srv (srv_tgtobj): + Add arch/i386.o. + * win32-arm-low.cc (arm_num_regs): New function. + (struct win32_target_ops): Use arm_num_regs. + * win32-i386-low.cc (win32_get_current_dr): Adapt for WOW64 + processes. + (i386_get_thread_context): Likewise. + (i386_prepare_to_resume): Likewise. + (i386_thread_added): Likewise. + (i386_single_step): Likewise. + (i386_fetch_inferior_register): Likewise. + (i386_store_inferior_register): Likewise. + (i386_arch_setup): Likewise. + (i386_win32_num_regs): New function. + (struct win32_target_ops): Use i386_win32_num_regs. + * win32-low.cc (win32_get_thread_context): Adapt for WOW64 + processes. + (win32_require_context): Likewise. + (child_add_thread): Likewise. + (do_initial_child_stuff): Likewise. + (continue_one_thread): Likewise. + (win32_process_target::resume): Likewise. + (load_psapi): Likewise. + (win32_add_all_dlls): Likewise. + (maybe_adjust_pc): Likewise. + (win32_process_target::qxfer_siginfo): Likewise. + (initialize_low): Likewise. + * win32-low.h (struct win32_target_ops): Change num_regs to + callback function. + +2020-04-27 Simon Marchi + + * configure.ac: Remove check for fs_base/gs_base in + user_regs_struct. + * configure: Re-generate. + * config.in: Re-generate. + * linux-x86-low.cc (x86_64_regmap, x86_fill_gregset, + x86_store_gregset): Adjust. + +2020-04-22 Hannes Domani + + * server.cc (handle_search_memory_1): Fix gdb_read_memory return value + comparison. + +2020-04-16 Tom Tromey + + * win32-low.cc (windows_nat::handle_access_violation): New + function. + +2020-04-15 Simon Marchi + + * win32-low.cc (get_child_debug_event): Fix format string warning. + +2020-04-13 Tom Tromey + + * server.h (gdb_fildes_t): Remove typedef. + * remote-utils.c (remote_desc, list_desc): Now int. + (INVALID_DESCRIPTOR): Remove. + (gdb_connected, remote_close) + (check_remote_input_interrupt_request): Update. + * utils.h (pfildes): Don't declare. + * utils.c (pfildes): Remove. + +2020-04-13 Tom Tromey + + * server.h (handle_serial_event, handle_target_event): Update. + * server.c: Don't call initialize_event_loop. + (keep_processing_events): New global. + (handle_serial_event): Return void. Set keep_processing_events. + (handle_target_event): Return void. + (start_event_loop): Move from event-loop.c. Rewrite. + * remote-utils.c (handle_accept_event): Return void. + (reset_readchar): Use delete_timer. + (process_remaining): Return void. + (reschedule): Use create_timer. + * event-loop.h: Remove. + * event-loop.cc: Remove. + * Makefile.in (OBS): Use gdbsupport/event-loop.o, not event-loop.o. + +2020-04-13 Tom Tromey + + * server.c (invoke_async_signal_handlers) + (check_async_event_handlers, flush_streams, gdb_select): New + functions. + +2020-04-13 Tom Tromey + + * configure: Rebuild. + * config.in: Rebuild. + +2020-04-08 Tom Tromey + + PR gdb/22992 + * win32-low.c (child_continue): Call matching_pending_stop. + (get_child_debug_event): Call fetch_pending_stop. Push pending + stop when needed. + +2020-04-08 Tom Tromey + + * win32-low.h (win32_process_target::stopped_by_sw_breakpoint) + (win32_process_target::supports_stopped_by_sw_breakpoint): + Declare. + * win32-low.c (win32_supports_z_point_type): Always handle + Z_PACKET_SW_BP. + (win32_insert_point): Call insert_memory_breakpoint when needed. + (win32_remove_point): Call remove_memory_breakpoint when needed. + (win32_process_target::stopped_by_sw_breakpoint) + (win32_process_target::supports_stopped_by_sw_breakpoint): New + methods. + (win32_target_ops): Update. + (maybe_adjust_pc): New function. + (win32_wait): Call maybe_adjust_pc. + +2020-04-08 Tom Tromey + + * win32-low.h (struct win32_target_ops) : New + field. + * win32-i386-low.c (the_low_target): Update. + * win32-arm-low.c (the_low_target): Update. + +2020-04-08 Tom Tromey + + * win32-low.h (win32_process_target::read_pc) + (win32_process_target::write_pc): Declare. + * win32-low.c (win32_process_target::read_pc) + (win32_process_target::write_pc): New methods. + * win32-i386-low.c (i386_win32_get_pc, i386_win32_set_pc): New + functions. + (the_low_target): Update. + * win32-arm-low.c (arm_win32_get_pc, arm_win32_set_pc): New + functions. + (the_low_target): Update. + +2020-04-08 Tom Tromey + + * win32-low.c (win32_kill, get_child_debug_event): Use + wait_for_debug_event. + +2020-04-08 Tom Tromey + + * win32-low.c (child_continue): Call continue_last_debug_event. + +2020-04-08 Tom Tromey + + * win32-low.c (handle_exception): Remove. + (windows_nat::handle_ms_vc_exception): New function. + (get_child_debug_event): Add "continue_status" parameter. + Update. + (win32_wait): Update. + +2020-04-08 Tom Tromey + + * win32-low.c (windows_nat::handle_load_dll): Rename from + handle_load_dll. No longer static. + (windows_nat::handle_unload_dll): Rename from handle_unload_dll. + No longer static. + +2020-04-08 Tom Tromey + + * win32-low.c (handle_output_debug_string): Add parameter. Change + return type. + (win32_kill, get_child_debug_event): Update. + +2020-04-08 Tom Tromey + + * win32-low.c (current_process_handle, current_process_id) + (main_thread_id, last_sig, current_event, siginfo_er): Move to + nat/windows-nat.c. + +2020-04-08 Tom Tromey + + * win32-low.c (get_image_name): Remove. + (handle_load_dll): Update. + +2020-04-08 Tom Tromey + + * win32-low.c (windows_nat::thread_rec): Rename from thread_rec. + No longer static. Change parameters. + (child_add_thread, child_fetch_inferior_registers) + (child_store_inferior_registers, win32_resume) + (win32_get_tib_address): Update. + +2020-04-08 Tom Tromey + + * win32-low.h (struct win32_target_ops): Use qualified names where + needed. + * win32-i386-low.c: Add "using namespace". + * win32-low.c: Add "using namespace". + * win32-arm-low.c: Add "using namespace". + +2020-04-08 Tom Tromey + + * win32-low.c (delete_thread_info): Don't call CloseHandle. + +2020-04-08 Tom Tromey + + * win32-low.c (win32_require_context, suspend_one_thread): Use + windows_thread_info::suspend. + (continue_one_thread): Use windows_thread_info::resume. + * configure.srv (srv_tgtobj): Add windows-nat.o when needed. + +2020-04-08 Tom Tromey + + * win32-i386-low.c (update_debug_registers) + (i386_prepare_to_resume, i386_thread_added): Update. + +2020-04-08 Tom Tromey + + * win32-low.c (child_add_thread): Use new. + (delete_thread_info): Use delete. + +2020-04-08 Tom Tromey + + * win32-low.h (struct windows_thread_info): Remove. + +2020-04-08 Tom Tromey + + * win32-low.h (struct windows_thread_info): Rename from + win32_thread_info. Remove typedef. + (struct win32_target_ops, win32_require_context): Update. + * win32-low.c (win32_get_thread_context) + (win32_set_thread_context, win32_prepare_to_resume) + (win32_require_context, thread_rec, child_add_thread) + (delete_thread_info, continue_one_thread) + (child_fetch_inferior_registers, child_store_inferior_registers) + (win32_resume, suspend_one_thread, win32_get_tib_address): + Update. + * win32-i386-low.c (update_debug_registers) + (win32_get_current_dr, i386_get_thread_context) + (i386_prepare_to_resume, i386_thread_added, i386_single_step) + (i386_fetch_inferior_register, i386_store_inferior_register): + Update. + * win32-arm-low.c (arm_get_thread_context) + (arm_fetch_inferior_register, arm_store_inferior_register): + Update. + +2020-04-02 Tankut Baris Aktemur + + * linux-low.h (struct linux_target_ops): Remove. + (the_low_target): Remove. + * linux-x86-low.cc (the_low_target): Remove. + * linux-aarch64-low.cc (the_low_target): Ditto. + * linux-arm-low.cc (the_low_target): Ditto. + * linux-bfin-low.cc (the_low_target): Ditto. + * linux-cris-low.cc (the_low_target): Ditto. + * linux-crisv32-low.cc (the_low_target): Ditto. + * linux-ia64-low.cc (the_low_target): Ditto. + * linux-m32r-low.cc (the_low_target): Ditto. + * linux-m68k-low.cc (the_low_target): Ditto. + * linux-mips-low.cc (the_low_target): Ditto. + * linux-nios2-low.cc (the_low_target): Ditto. + * linux-ppc-low.cc (the_low_target): Ditto. + * linux-riscv-low.cc (the_low_target): Ditto. + * linux-s390-low.cc (the_low_target): Ditto. + * linux-sh-low.cc (the_low_target): Ditto. + * linux-sparc-low.cc (the_low_target): Ditto. + * linux-tic6x-low.cc (the_low_target): Ditto. + * linux-tile-low.cc (the_low_target): Ditto. + * linux-xtensa-low.cc (the_low_target): Ditto. + +2020-04-02 Tankut Baris Aktemur + + Remove the 'get_ipa_tdesc_idx' linux target op and let a concrete + linux target define the op by overriding the declaration in + process_stratum_target. + + * linux-low.h (struct linux_target_ops): Remove the op. + (class linux_process_target) : Remove. + * linux-low.cc (linux_process_target::get_ipa_tdesc_idx): Remove. + * linux-x86-low.cc (class x86_target) : Declare. + (x86_get_ipa_tdesc_idx): Turn into... + (x86_target::get_ipa_tdesc_idx): ...this. + (the_low_target): Remove the op field. + * linux-ppc-low.cc (class ppc_target) : Declare. + (ppc_get_ipa_tdesc_idx): Turn into... + (ppc_target::get_ipa_tdesc_idx): ...this. + (the_low_target): Remove the op field. + * linux-s390-low.cc (class s390_target) : Declare. + (s390_get_ipa_tdesc_idx): Turn into... + (s390_target::get_ipa_tdesc_idx): ...this. + (the_low_target): Remove the op field. + +2020-04-02 Tankut Baris Aktemur + + Turn the 'get_syscall_trapinfo' linux target op into a method + of process_stratum_target. + + * linux-low.h (struct linux_target_ops): Remove the op. + (class linux_process_target) + + + : Declare. + * linux-low.cc (get_syscall_trapinfo): Turn into... + (linux_process_target::get_syscall_trapinfo): ...this. + (linux_process_target::low_get_syscall_trapinfo): Define. + (gdb_catch_this_syscall_p): Turn into... + (linux_process_target::gdb_catch_this_syscall): ...this. + (linux_process_target::low_supports_catch_syscall): Define. + + Update the callers below. + + (linux_process_target::wait_1) + (linux_process_target::supports_catch_syscall) + + * linux-x86-low.cc (class x86_target) + : Declare. + (x86_target::low_supports_catch_syscall): Define. + (x86_get_syscall_trapinfo): Turn into... + (x86_target::low_get_syscall_trapinfo): ...this. + (the_low_target): Remove the op field. + * linux-aarch64-low.cc (class aarch64_target) + + : Declare. + (aarch64_target::low_supports_catch_syscall): Define. + (aarch64_get_syscall_trapinfo): Turn into... + (aarch64_target::low_get_syscall_trapinfo): ...this. + (the_low_target): Remove the op field. + * linux-arm-low.cc (class arm_target) + : Declare. + (arm_target::low_supports_catch_syscall): Define. + (arm_get_syscall_trapinfo): Turn into... + (arm_target::low_get_syscall_trapinfo): ...this. + (the_low_target): Remove the op field. + * linux-ppc-low.cc (the_low_target): Remove the op field. + * linux-s390-low.cc (the_low_target): Remove the op field. + +2020-04-02 Tankut Baris Aktemur + + Remove the 'supports_hardware_single_step' linux target op and + override the process_stratum_target's op definition in + linux_process_target to return true. + + * linux-low.h (struct linux_target_ops): Remove the op. + (class linux_process_target) + : Declare. + * linux-low.cc (can_hardware_single_step): Remove. + (maybe_hw_step): Turn into... + (linux_process_target::maybe_hw_step): ...this. + (finish_step_over): Turn into... + (linux_process_target::finish_step_over): ...this. + (linux_process_target::supports_hardware_single_step): Update + to return true. + + Update the callers below. + + (linux_process_target::single_step) + (linux_process_target::resume_one_lwp_throw) + + * linux-arm-low.cc (class arm_target) + : Declare. + (arm_supports_hardware_single_step): Turn into... + (arm_target::supports_hardware_single_step): ...this. + (the_low_target): Remove the op field. + * linux-x86-low.cc (x86_supports_hardware_single_step): Remove. + (the_low_target): Remove the op field. + * linux-aarch64-low.cc (aarch64_supports_hardware_single_step): + Remove. + (the_low_target): Remove the op field. + * linux-bfin-low.cc (bfin_supports_hardware_single_step): Remove. + (the_low_target): Remove the op field. + * linux-crisv32-low.cc (cris_supports_hardware_single_step): Remove. + (the_low_target): Remove the op field. + * linux-m32r-low.cc (m32r_supports_hardware_single_step): Remove. + (the_low_target): Remove the op field. + * linux-m68k-low.cc (m68k_supports_hardware_single_step): Remove. + (the_low_target): Remove the op field. + * linux-ppc-low.cc (ppc_supports_hardware_single_step): Remove. + (the_low_target): Remove the op field. + * linux-s390-low.cc (s390_supports_hardware_single_step): Remove. + (the_low_target): Remove the op field. + * linux-sh-low.cc (sh_supports_hardware_single_step): Remove. + (the_low_target): Remove the op field. + * linux-tic6x-low.cc (tic6x_supports_hardware_single_step): Remove. + (the_low_target): Remove the op field. + * linux-tile-low.cc (tile_supports_hardware_single_step): Remove. + (the_low_target): Remove the op field. + * linux-xtensa-low.cc (xtensa_supports_hardware_single_step): + Remove. + (the_low_target): Remove the op field. + +2020-04-02 Tankut Baris Aktemur + + Turn the 'supports_range_stepping' linux target op into a method + of linux_process_target. + + * linux-low.h (struct linux_target_ops): Remove the op. + (class linux_process_target) : Declare. + * linux-low.cc (linux_process_target::low_supports_range_stepping): + Define. + (linux_process_target::supports_range_stepping): Update the call + site. + * linux-x86-low.cc (class x86_target) + : Declare. + (x86_supports_range_stepping): Turn into... + (x86_target::low_supports_range_stepping): ...this. + (the_low_target): Remove the op field. + * linux-aarch64-low.cc (class aarch64_target) + : Declare. + (aarch64_supports_range_stepping): Turn into... + (aarch64_target::low_supports_range_stepping): ...this. + (the_low_target): Remove the op field. + * linux-arm-low.cc (the_low_target): Remove the op field. + * linux-bfin-low.cc (the_low_target): Ditto. + * linux-crisv32-low.cc (the_low_target): Ditto. + * linux-m32r-low.cc (the_low_target): Ditto. + * linux-m68k-low.cc (the_low_target): Ditto. + * linux-ppc-low.cc (the_low_target): Ditto. + * linux-s390-low.cc (the_low_target): Ditto. + * linux-sh-low.cc (the_low_target): Ditto. + * linux-tic6x-low.cc (the_low_target): Ditto. + * linux-tile-low.cc (the_low_target): Ditto. + * linux-xtensa-low.cc (the_low_target): Ditto. + +2020-04-02 Tankut Baris Aktemur + + Remove the 'emit_ops' linux target ops and let the concrete + linux target define the op by overriding the declaration of + process_stratum_target. + + * linux-low.h (struct linux_target_ops): Remove the op. + (class linux_process_target) : Remove. + * linux-low.cc (linux_process_target::emit_ops): Remove. + * linux-x86-low.cc (class x86_target) : Declare. + (x86_emit_ops): Turn into... + (x86_target::emit_ops): ...this. + (the_low_target): Remove the op field. + * linux-aarch64-low.cc (class aarch64_target) : Declare. + (aarch64_emit_ops): Turn into... + (aarch64_target::emit_ops): ...this. + (the_low_target): Remove the op field. + * linux-ppc-low.cc (class ppc_target) : Declare. + (ppc_emit_ops): Turn into... + (ppc_target::emit_ops): ...this. + (the_low_target): Remove the op field. + * linux-s390-low.cc (class s390_target) : Declare. + (s390_emit_ops): Turn into... + (s390_target::emit_ops): ...this. + (the_low_target): Remove the op field. + * linux-arm-low.cc (the_low_target): Remove the op field. + * linux-bfin-low.cc (the_low_target): Ditto. + * linux-crisv32-low.cc (the_low_target): Ditto. + * linux-m32r-low.cc (the_low_target): Ditto. + * linux-m68k-low.cc (the_low_target): Ditto. + * linux-sh-low.cc (the_low_target): Ditto. + * linux-tic6x-low.cc (the_low_target): Ditto. + * linux-tile-low.cc (the_low_target): Ditto. + * linux-xtensa-low.cc (the_low_target): Ditto. + +2020-04-02 Tankut Baris Aktemur + + Remove the 'install_fast_tracepoint_jump_pad' and + 'get_min_fast_tracepoint_insn_len' linux target ops to let the + concrete linux target define the ops by overriding the declarations + of process_stratum_target. + + * linux-low.h (struct linux_target_ops): Remove the ops. + (class linux_process_target) + + : Remove. + * linux-low.cc (linux_process_target::supports_fast_tracepoints) + (linux_process_target::install_fast_tracepoint_jump_pad) + (linux_process_target::get_min_fast_tracepoint_insn_len): Remove. + * linux-x86-low.cc (class x86_target) + + : Declare. + (x86_target::supports_fast_tracepoints): Define. + (x86_install_fast_tracepoint_jump_pad): Turn into... + (x86_target::install_fast_tracepoint_jump_pad): ...this. + (x86_get_min_fast_tracepoint_insn_len): Turn into... + (x86_target::get_min_fast_tracepoint_insn_len): ...this. + (the_low_target): Remove the op fields. + * linux-aarch64-low.cc (class aarch64_target) + + + : Declare. + (aarch64_target::supports_fast_tracepoints): Define. + (aarch64_install_fast_tracepoint_jump_pad): Turn into... + (aarch64_target::install_fast_tracepoint_jump_pad): ...this. + (aarch64_get_min_fast_tracepoint_insn_len): Turn into... + (aarch64_target::get_min_fast_tracepoint_insn_len): ...this. + (the_low_target): Remove the op fields. + * linux-ppc-low.cc (class ppc_target) + + : Declare. + (ppc_target::supports_fast_tracepoints): Define. + (ppc_install_fast_tracepoint_jump_pad): Turn into... + (ppc_target::install_fast_tracepoint_jump_pad): ...this. + (ppc_get_min_fast_tracepoint_insn_len): Turn into... + (ppc_target::get_min_fast_tracepoint_insn_len): ...this. + (the_low_target): Remove the op fields. + * linux-s390-low.cc (class s390_target) + + : Declare. + (s390_target::supports_fast_tracepoints): Define. + (s390_install_fast_tracepoint_jump_pad): Turn into... + (s390_target::install_fast_tracepoint_jump_pad): ...this. + (s390_get_min_fast_tracepoint_insn_len): Turn into... + (s390_target::get_min_fast_tracepoint_insn_len): ...this. + (the_low_target): Remove the op fields. + * linux-arm-low.cc (the_low_target): Remove the op fields. + * linux-bfin-low.cc (the_low_target): Ditto. + * linux-crisv32-low.cc (the_low_target): Ditto. + * linux-m32r-low.cc (the_low_target): Ditto. + * linux-m68k-low.cc (the_low_target): Ditto. + * linux-sh-low.cc (the_low_target): Ditto. + * linux-tic6x-low.cc (the_low_target): Ditto. + * linux-tile-low.cc (the_low_target): Ditto. + * linux-xtensa-low.cc (the_low_target): Ditto. + +2020-04-02 Tankut Baris Aktemur + + Turn the 'get_thread_area' linux target op into a method of + process_stratum_target. + + * linux-low.h (struct linux_target_ops): Remove the op. + (class linux_process_target) + + : Declare. + * linux-low.cc (supports_fast_tracepoints): Remove. + (linux_fast_tracepoint_collecting): Turn into... + (linux_process_target::linux_fast_tracepoint_collecting): ...this. + (linux_process_target::low_get_thread_area): Define. + (stuck_in_jump_pad_callback): Turn into... + (linux_process_target::stuck_in_jump_pad): ...this. + + Update the caller below. + + (linux_process_target::stabilize_threads) + + * linux-x86-low.cc (class x86_target) : + Declare. + (x86_get_thread_area): Turn into... + (x86_target::low_get_thread_area): ...this. + (the_low_target): Remove the op field. + * linux-aarch64-low.cc (class aarch64_target) : + Declare. + (aarch64_get_thread_area): Turn into... + (aarch64_target::low_get_thread_area): ...this. + (the_low_target): Remove the op field. + * linux-ppc-low.cc (class ppc_target) : + Declare. + (ppc_get_thread_area): Turn into... + (ppc_target::low_get_thread_area): ...this. + (the_low_target): Remove the op field. + * linux-s390-low.cc (class s390_target) : + Declare. + (s390_get_thread_area): Turn into... + (s390_target::low_get_thread_area): ...this. + (the_low_target): Remove the op field. + * linux-arm-low.cc (the_low_target): Remove the op field. + * linux-bfin-low.cc (the_low_target): Ditto. + * linux-crisv32-low.cc (the_low_target): Ditto. + * linux-m32r-low.cc (the_low_target): Ditto. + * linux-m68k-low.cc (the_low_target): Ditto. + * linux-sh-low.cc (the_low_target): Ditto. + * linux-tic6x-low.cc (the_low_target): Ditto. + * linux-tile-low.cc (the_low_target): Ditto. + * linux-xtensa-low.cc (the_low_target): Ditto. + +2020-04-02 Tankut Baris Aktemur + + Remote the 'supports_tracepoints' linux target op and let the + concrete linux target define it by overriding the op declared in + process_stratum_target. + + * linux-low.h (struct linux_target_ops): Remove the op. + (class linux_process_target) : Remove. + * linux-low.cc (linux_process_target::supports_tracepoints): Remove. + * linux-x86-low.cc (class x86_target) : + Declare. + (x86_supports_tracepoints): Turn into... + (x86_target::supports_tracepoints): ...this. + (the_low_target): Remove the op field. + * linux-aarch64-low.cc (class aarch64_target) + : Declare. + (aarch64_supports_tracepoints): Turn into... + (aarch64_target::supports_tracepoints): ...this. + (the_low_target): Remove the op field. + * linux-ppc-low.cc (class ppc_target) : + Declare. + (ppc_supports_tracepoints): Turn into... + (ppc_target::supports_tracepoints): ...this. + (the_low_target): Remove the op field. + * linux-s390-low.cc (class s390_target) : + Declare. + (s390_supports_tracepoints): Turn into... + (s390_target::supports_tracepoints): ...this. + (the_low_target): Remove the op field. + * linux-arm-low.cc (the_low_target): Remove the op field. + * linux-bfin-low.cc (the_low_target): Ditto. + * linux-crisv32-low.cc (the_low_target): Ditto. + * linux-m32r-low.cc (the_low_target): Ditto. + * linux-m68k-low.cc (the_low_target): Ditto. + * linux-sh-low.cc (the_low_target): Ditto. + * linux-tic6x-low.cc (the_low_target): Ditto. + * linux-tile-low.cc (the_low_target): Ditto. + * linux-xtensa-low.cc (the_low_target): Ditto. + +2020-04-02 Tankut Baris Aktemur + + Remove the 'process_qsupported' linux target op and let a concrete + linux target define the op by overriding the op declaration in + process_stratum_target. + + * linux-low.h (struct linux_target_ops): Remove the op. + (class linux_process_target) : Remove. + * linux-low.cc (linux_process_target::process_qsupported): Remove. + * linux-x86-low.cc (class x86_target) : Declare. + (x86_linux_process_qsupported): Turn into... + (x86_target::process_qsupported): ...this. + (the_low_target): Remove the op field. + * linux-aarch64-low.cc (the_low_target): Remove the op + field. + * linux-arm-low.cc (the_low_target): Ditto. + * linux-bfin-low.cc (the_low_target): Ditto. + * linux-crisv32-low.cc (the_low_target): Ditto. + * linux-m32r-low.cc (the_low_target): Ditto. + * linux-m68k-low.cc (the_low_target): Ditto. + * linux-ppc-low.cc (the_low_target): Ditto. + * linux-s390-low.cc (the_low_target): Ditto. + * linux-sh-low.cc (the_low_target): Ditto. + * linux-tic6x-low.cc (the_low_target): Ditto. + * linux-tile-low.cc (the_low_target): Ditto. + * linux-xtensa-low.cc (the_low_target): Ditto. + +2020-04-02 Tankut Baris Aktemur + + Turn the 'prepare_to_resume' linux target op into a method of + linux_process_target. + + * linux-low.h (struct linux_target_ops): Remove the op. + (class linux_process_target) : Declare. + * linux-low.cc (linux_process_target::low_prepare_to_resume): + Define. + + Update the callers below: + + (linux_process_target::resume_one_lwp_throw) + (linux_process_target::low_prepare_to_resume) + + * linux-x86-low.cc (class x86_target) : + Declare. + (x86_target::low_prepare_to_resume): Define. + (the_low_target): Remove the op field. + * linux-aarch64-low.cc (class aarch64_target) + : Declare. + (aarch64_target::low_prepare_to_resume): Define. + (the_low_target): Remove the op field. + * linux-arm-low.cc (class arm_target) : + Declare. + (arm_prepare_to_resume): Turn into... + (arm_target::low_prepare_to_resume): ...this. + (the_low_target): Remove the op field. + * linux-mips-low.cc (class mips_target) : + Declare. + (mips_linux_prepare_to_resume): Turn into... + (mips_target::low_prepare_to_resume): ...this. + (the_low_target): Remove the op field. + * linux-bfin-low.cc (the_low_target): Remove the op field. + * linux-crisv32-low.cc (the_low_target): Ditto. + * linux-m32r-low.cc (the_low_target): Ditto. + * linux-m68k-low.cc (the_low_target): Ditto. + * linux-ppc-low.cc (the_low_target): Ditto. + * linux-s390-low.cc (the_low_target): Ditto. + * linux-sh-low.cc (the_low_target): Ditto. + * linux-tic6x-low.cc (the_low_target): Ditto. + * linux-tile-low.cc (the_low_target): Ditto. + * linux-xtensa-low.cc (the_low_target): Ditto. + +2020-04-02 Tankut Baris Aktemur + + Turn the 'new_process', 'delete_process', 'new_thread', + 'delete_thread', and 'new_fork' linux target ops into methods + of linux_process_target. + + * linux-low.h (struct linux_target_ops): Remove the ops. + (class linux_process_target) + + + + + + + + + + + : Declare. + * linux-low.cc (delete_lwp): Turn into... + (linux_process_target::delete_lwp): ...this. + (linux_process_target::low_delete_thread): Define. + (linux_add_process): Turn into... + (linux_process_target::add_linux_process): ...this. + (linux_process_target::low_new_process): Define. + (linux_process_target::low_delete_process): Define. + (linux_process_target::low_new_fork): Define. + (add_lwp): Turn into... + (linux_process_target::add_lwp): ...this. + (linux_process_target::low_new_thread): Define. + (linux_attach_lwp): Turn into... + (linux_process_target::attach_lwp): ...this. + (linux_detach_one_lwp): Turn into... + (linux_process_target::detach_one_lwp): ...this. + (linux_detach_lwp_callback): Remove and inline... + (linux_process_target::detach): ...here. + (check_zombie_leaders): Turn into... + (linux_process_target::check_zombie_leaders): ...this. + (filter_exit_event): Turn into... + (linux_process_target::filter_exit_event): ...this. + + Update the callers below. + + (linux_process_target::handle_extended_wait) + (linux_process_target::create_inferior) + (attach_proc_task_lwp_callback) + (linux_process_target::attach) + (linux_process_target::detach) + (linux_process_target::mourn) + * thread-db.cc (attach_thread) + + * linux-x86-low.cc (class x86_target) + + + + : Declare. + (x86_linux_new_process): Turn into... + (x86_target::low_new_process): ...this. + (x86_linux_delete_process): Turn into... + (x86_target::low_delete_process): ...this. + (x86_target::low_new_thread): Define. + (x86_target::low_delete_thread): Define. + (x86_linux_new_fork): Turn into... + (x86_target::low_new_fork): ...this. + (the_low_target): Remove the op fields. + * linux-aarch64-low.cc (class aarch64_target) + + + + : Declare. + (aarch64_linux_new_process): Turn into... + (aarch64_target::low_new_process): ...this. + (aarch64_linux_delete_process): Turn into... + (aarch64_target::low_delete_process): ...this. + (aarch64_target::low_new_thread): Define. + (aarch64_target::low_delete_thread): Define. + (aarch64_linux_new_fork): Turn into... + (aarch64_target::low_new_fork): ...this. + (the_low_target): Remove the op fields. + * linux-arm-low.cc (class arm_target) + + + + : Declare. + (arm_new_process): Turn into... + (arm_target::low_new_process): ...this. + (arm_delete_process): Turn into... + (arm_target::low_delete_process): ...this. + (arm_new_thread): Turn into... + (arm_target::low_new_thread): ...this. + (arm_delete_thread): Turn into... + (arm_target::low_delete_thread): ...this. + (arm_new_fork): Turn into... + (arm_target::low_new_fork): ...this. + (the_low_target): Remove the op fields. + * linux-mips-low.cc (class mips_target) + + + + : Declare. + (mips_linux_new_process): Turn into... + (mips_target::low_new_process): ...this. + (mips_linux_delete_process): Turn into... + (mips_target::low_delete_process): ...this. + (mips_linux_new_thread): Turn into... + (mips_target::low_new_thread): ...this. + (mips_linux_delete_thread): Turn into... + (mips_target::low_delete_thread): ...this. + (mips_linux_new_fork): Turn into... + (mips_target::low_new_fork): ...this. + (the_low_target): Remove the op fields. + * linux-bfin-low.cc (the_low_target): Remove the op fields. + * linux-crisv32-low.cc (the_low_target): Ditto. + * linux-m32r-low.cc (the_low_target): Ditto. + * linux-m68k-low.cc (the_low_target): Ditto. + * linux-ppc-low.cc (the_low_target): Ditto. + * linux-s390-low.cc (the_low_target): Ditto. + * linux-sh-low.cc (the_low_target): Ditto. + * linux-tic6x-low.cc (the_low_target): Ditto. + * linux-tile-low.cc (the_low_target): Ditto. + * linux-xtensa-low.cc (the_low_target): Ditto. + +2020-04-02 Tankut Baris Aktemur + + Turn the 'siginfo_fixup' linux target op into a method of + linux_process_target. + + * linux-low.h (struct linux_target_ops): Remove the op. + (class linux_process_target) + : Declare. + * linux-low.cc (siginfo_fixup): Turn into... + (linux_process_target::siginfo_fixup): ...this. + (linux_process_target::low_siginfo_fixup): Define. + * linux-x86-low.cc (class x86_target) : Declare. + (x86_siginfo_fixup): Turn into... + (x86_target::low_siginfo_fixup): ...this. + (the_low_target): Remove the op field. + * linux-aarch64-low.cc (class aarch64_target): + : Declare. + (aarch64_linux_siginfo_fixup): Turn into... + (aarch64_target::low_siginfo_fixup): ...this. + (the_low_target): Remove the op field. + * linux-arm-low.cc (the_low_target): Remove the op field. + * linux-bfin-low.cc (the_low_target): Ditto. + * linux-crisv32-low.cc (the_low_target): Ditto. + * linux-m32r-low.cc (the_low_target): Ditto. + * linux-m68k-low.cc (the_low_target): Ditto. + * linux-mips-low.cc (the_low_target): Ditto. + * linux-ppc-low.cc (the_low_target): Ditto. + * linux-s390-low.cc (the_low_target): Ditto. + * linux-sh-low.cc (the_low_target): Ditto. + * linux-tic6x-low.cc (the_low_target): Ditto. + * linux-tile-low.cc (the_low_target): Ditto. + * linux-xtensa-low.cc (the_low_target): Ditto. + +2020-04-02 Tankut Baris Aktemur + + Turn the 'collect_ptrace_register' and 'supply_ptrace_register' + linux target ops into methods of linux_process_target. + + * linux-low.h (struct linux_target_ops): Remove the ops. + (class linux_process_target) + : Declare. + * linux-low.cc (linux_process_target::low_collect_ptrace_register) + (linux_process_target::low_supply_ptrace_register): Define. + + Update the callers below. + + (linux_process_target::fetch_register) + (linux_process_target::store_register) + + * linux-x86-low.cc (the_low_target): Remove the op fields. + * linux-aarch64-low.cc (the_low_target): Ditto. + * linux-arm-low.cc (the_low_target): Ditto. + * linux-bfin-low.cc (the_low_target): Ditto. + * linux-crisv32-low.cc (the_low_target): Ditto. + * linux-m32r-low.cc (the_low_target): Ditto. + * linux-m68k-low.cc (the_low_target): Ditto. + * linux-sh-low.cc (the_low_target): Ditto. + * linux-sparc-low.cc (the_low_target): Ditto. + * linux-tic6x-low.cc (the_low_target): Ditto. + * linux-tile-low.cc (the_low_target): Ditto. + * linux-xtensa-low.cc (the_low_target): Ditto. + * linux-mips-low.cc (class mips_target) + + : Declare. + (mips_collect_ptrace_register): Turn into ... + (mips_target::low_collect_ptrace_register): ...this. + (mips_supply_ptrace_register): Turn into... + (mips_target::low_supply_ptrace_register): ...this. + (the_low_target): Remove the op fields. + * linux-ppc-low.cc (class ppc_target) + + : Declare. + (ppc_collect_ptrace_register): Turn into ... + (ppc_target::low_collect_ptrace_register): ...this. + (ppc_supply_ptrace_register): Turn into ... + (ppc_target::low_supply_ptrace_register): ...this. + (ppc_fill_gregset): Update for the calls to + low_collect_ptrace_register. + (the_low_target): Remove the op fields. + * linux-s390-low.cc (class s390_target) + + : Declare. + (s390_collect_ptrace_register): Turn into ... + (s390_target::low_collect_ptrace_register): ...this. + (s390_supply_ptrace_register): Turn into ... + (s390_target::low_supply_ptrace_register): ...this. + (s390_fill_gregset): Update for the calls to + low_collect_ptrace_register. + (the_low_target): Remove the op fields. + +2020-04-02 Tankut Baris Aktemur + + Turn the 'stopped_by_watchpoint' and 'stopped_data_address' linux + target ops into methods of linux_process_target. + + * linux-low.h (struct linux_target_ops): Remove the ops. + (class linux_process_target) + + : Declare. + * linux-low.cc (check_stopped_by_watchpoint): Turn into... + (linux_process_target::check_stopped_by_watchpoint): ...this. + (linux_process_target::low_stopped_by_watchpoint): Define. + (linux_process_target::low_stopped_data_address): Define. + * linux-x86-low.cc (class x86_target) + : Declare. + (x86_stopped_by_watchpoint): Turn into... + (x86_target::low_stopped_by_watchpoint): ...this. + (x86_stopped_data_address): Turn into... + (x86_target::low_stopped_data_address): ...this. + (the_low_target): Remove the op fields. + * linux-aarch64-low.cc (class aarch64_target) + + : Declare. + (aarch64_stopped_by_watchpoint): Turn into... + (aarch64_target::low_stopped_by_watchpoint): ...this. + (aarch64_stopped_data_address): Turn into... + (aarch64_target::low_stopped_data_address): ...this. + (the_low_target): Remove the op fields. + * linux-arm-low.cc (class arm_target) + : Declare. + (arm_stopped_by_watchpoint): Turn into... + (arm_target::low_stopped_by_watchpoint): ...this. + (arm_stopped_data_address): Turn into... + (arm_target::low_stopped_data_address): ...this. + (the_low_target): Remove the op fields. + * linux-crisv32-low.cc (class crisv32_target) + + : Declare. + (cris_stopped_by_watchpoint): Turn into... + (crisv32_target::low_stopped_by_watchpoint): ...this. + (cris_stopped_data_address): Turn into... + (crisv32_target::low_stopped_data_address): ...this. + (the_low_target): Remove the op fields. + * linux-mips-low.cc (class mips_target) + : Declare. + (mips_stopped_by_watchpoint): Turn into... + (mips_target::low_stopped_by_watchpoint): ...this. + (mips_stopped_data_address): Turn into... + (mips_target::low_stopped_data_address): ...this. + (the_low_target): Remove the op fields. + * linux-bfin-low.cc (the_low_target): Remove the op fields. + * linux-m32r-low.cc (the_low_target): Ditto. + * linux-m68k-low.cc (the_low_target): Ditto. + * linux-ppc-low.cc (the_low_target): Ditto. + * linux-s390-low.cc (the_low_target): Ditto. + * linux-sh-low.cc (the_low_target): Ditto. + * linux-sparc-low.cc (the_low_target): Ditto. + * linux-tic6x-low.cc (the_low_target): Ditto. + * linux-tile-low.cc (the_low_target): Ditto. + * linux-xtensa-low.cc (the_low_target): Ditto. + +2020-04-02 Tankut Baris Aktemur + + Turn the 'insert_point' and 'remove_point' linux target ops into + methods of linux_process_target. + + * linux-low.h (struct linux_target_ops): Remove the ops. + (class linux_process_target) + : Declare. + * linux-low.cc (linux_process_target::low_insert_point) + (linux_process_target::low_remove_point): Define. + (linux_process_target::insert_point) + (linux_process_target::remove_point): Update for calls to + low_insert_point and low_remove_point. + * linux-x86-low.cc (class x86_target) + : Declare. + (x86_insert_point): Turn into... + (x86_target::low_insert_point): ...this. + (x86_remove_point): Turn into... + (x86_target::low_remove_point): ...this. + (the_low_target): Remove the op fields. + * linux-aarch64-low.cc (class aarch64_target) + : Declare. + (aarch64_insert_point): Turn into... + (aarch64_target::low_insert_point): ...this. + (aarch64_remove_point): Turn into... + (aarch64_target::low_remove_point): ...this. + (the_low_target): Remove the op fields. + * linux-arm-low.cc (class arm_target) + : Declare. + (arm_insert_point): Turn into... + (arm_target::low_insert_point): ...this. + (arm_remove_point): Turn into... + (arm_target::low_remove_point): ...this. + (the_low_target): Remove the op fields. + * linux-crisv32-low.cc (class crisv32_target) + : Declare. + (crisv32_insert_point): Turn into... + (crisv32_target::low_insert_point): ...this. + (crisv32_remove_point): Turn into... + (crisv32_target::low_remove_point): ...this. + (the_low_target): Remove the op fields. + * linux-mips-low.cc (class mips_target) + : Declare. + (mips_insert_point): Turn into... + (mips_target::low_insert_point): ...this. + (mips_remove_point): Turn into... + (mips_target::low_remove_point): ...this. + (the_low_target): Remove the op fields. + * linux-ppc-low.cc (class ppc_target) + : Declare. + (ppc_insert_point): Turn into... + (ppc_target::low_insert_point): ...this. + (ppc_remove_point): Turn into... + (ppc_target::low_remove_point): ...this. + (the_low_target): Remove the op fields. + * linux-bfin-low.cc (the_low_target): Remove the op fields. + * linux-m32r-low.cc (the_low_target): Ditto. + * linux-m68k-low.cc (the_low_target): Ditto. + * linux-s390-low.cc (the_low_target): Ditto. + * linux-sh-low.cc (the_low_target): Ditto. + * linux-sparc-low.cc (the_low_target): Ditto. + * linux-tic6x-low.cc (the_low_target): Ditto. + * linux-tile-low.cc (the_low_target): Ditto. + * linux-xtensa-low.cc (the_low_target): Ditto. + +2020-04-02 Tankut Baris Aktemur + + Remove the 'supports_z_point_type' linux target op and let the + concrete linux target define it by overriding the op declared in + process_stratum_target. + + * linux-low.cc (linux_process_target::supports_z_point_type): + Remove. + * linux-low.h (struct linux_target_ops): Remove the op. + (class linux_process_target) : Remove. + * linux-x86-low.cc (class x86_target) : + Declare. + (x86_supports_z_point_type): Turn into... + (x86_target::supports_z_point_type): ...this. + (the_low_target): Remove the op field. + * linux-aarch64-low.cc (class aarch64_target) + : Declare. + (aarch64_supports_z_point_type): Turn into... + (aarch64_target::supports_z_point_type): ...this. + (the_low_target): Remove the op field. + * linux-arm-low.cc (class arm_target) : + Declare. + (arm_supports_z_point_type): Turn into... + (arm_target::supports_z_point_type): ...this. + (the_low_target): Remove the op field. + * linux-crisv32-low.cc (class crisv32_target) + : Declare. + (cris_supports_z_point_type): Turn into... + (crisv32_target::supports_z_point_type): ...this. + (the_low_target): Remove the op field. + * linux-mips-low.cc (class mips_target) : + Declare. + (mips_supports_z_point_type): Turn into... + (mips_target::supports_z_point_type): ...this. + (the_low_target): Remove the op field. + * linux-ppc-low.cc (class ppc_target) : + Declare. + (ppc_supports_z_point_type): Turn into... + (ppc_target::supports_z_point_type): ...this. + (the_low_target): Remove the op field. + * linux-s390-low.cc (class s390_target) : + Declare. + (s390_supports_z_point_type): Turn into... + (s390_target::supports_z_point_type): ...this. + (the_low_target): Remove the op field. + * linux-bfin-low.cc (the_low_target): Remove the op field. + * linux-m32r-low.cc (the_low_target): Ditto. + * linux-m68k-low.cc (the_low_target): Ditto. + * linux-sh-low.cc (the_low_target): Ditto. + * linux-sparc-low.cc (the_low_target): Ditto. + * linux-tic6x-low.cc (the_low_target): Ditto. + * linux-tile-low.cc (the_low_target): Ditto. + * linux-xtensa-low.cc (the_low_target): Ditto. + +2020-04-02 Tankut Baris Aktemur + + Turn the 'breakpoint_at' linux target op into a method of + linux_process_target. + + * linux-low.h (struct linux_target_ops): Remove the op. + (class linux_process_target) : Declare. + + Update the callers below: + + * linux-low.cc (linux_process_target::save_stop_reason) + (linux_process_target::thread_still_has_status_pending) + (linux_process_target::wait_1) + + * linux-x86-low.cc (class x86_target) + : Declare. + (x86_breakpoint_at): Turn into... + (x86_target::low_breakpoint_at): ...this. + (the_low_target): Remove the op field. + * linux-aarch64-low.cc (class aarch64_target) + : Declare. + (aarch64_breakpoint_at): Turn into... + (aarch64_target::low_breakpoint_at): ...this. + (the_low_target): Remove the op field. + * linux-arm-low.cc (class arm_target) + : Declare. + (arm_target::low_breakpoint_at): Define. + (the_low_target): Remove the op field. + * linux-bfin-low.cc (class bfin_target) + : Declare. + (bfin_breakpoint_at): Turn into... + (bfin_target::low_breakpoint_at): ...this. + (the_low_target): Remove the op field. + * linux-cris-low.cc (class cris_target) + : Declare. + (cris_breakpoint_at): Turn into... + (cris_target::low_breakpoint_at): ...this. + (the_low_target): Remove the op field. + * linux-crisv32-low.cc (class crisv32_target) + : Declare. + (crisv32_breakpoint_at): Turn into... + (crisv32_target::low_breakpoint_at): ...this. + (the_low_target): Remove the op field. + * linux-ia64-low.cc (class ia64_target) + : Declare. + (ia64_target::low_breakpoint_at): Define. + * linux-m32r-low.cc (class m32r_target) + : Declare. + (m32r_breakpoint_at): Turn into... + (m32r_target::low_breakpoint_at): ...this. + (the_low_target): Remove the op field. + * linux-m68k-low.cc (class m68k_target) + : Declare. + (m68k_breakpoint_at): Turn into... + (m68k_target::low_breakpoint_at): ...this. + (the_low_target): Remove the op field. + * linux-mips-low.cc (class mips_target) + : Declare. + (mips_breakpoint_at): Turn into... + (mips_target::low_breakpoint_at): ...this. + (the_low_target): Remove the op field. + * linux-nios2-low.cc (class nios2_target) + : Declare. + (nios2_breakpoint_at): Turn into... + (nios2_target::low_breakpoint_at): ...this. + (the_low_target): Remove the op field. + * linux-ppc-low.cc (class ppc_target) + : Declare. + (ppc_breakpoint_at): Turn into... + (ppc_target::low_breakpoint_at): ...this. + (the_low_target): Remove the op field. + * linux-riscv-low.cc (class riscv_target) + : Declare. + (riscv_breakpoint_at): Turn into... + (riscv_target::low_breakpoint_at): ...this. + (the_low_target): Remove the op field. + * linux-s390-low.cc (class s390_target) + : Declare. + (s390_breakpoint_at): Turn into... + (s390_target::low_breakpoint_at): ...this. + (the_low_target): Remove the op field. + * linux-sh-low.cc (class sh_target) + : Declare. + (sh_breakpoint_at): Turn into... + (sh_target::low_breakpoint_at): ...this. + (the_low_target): Remove the op field. + * linux-sparc-low.cc (class sparc_target) + : Declare. + (sparc_breakpoint_at): Turn into... + (sparc_target::low_breakpoint_at): ...this. + (the_low_target): Remove the op field. + * linux-tic6x-low.cc (class tic6x_target) + : Declare. + (tic6x_breakpoint_at): Turn into... + (tic6x_target::low_breakpoint_at): ...this. + (the_low_target): Remove the op field. + * linux-tile-low.cc (class tile_target) + : Declare. + (tile_breakpoint_at): Turn into... + (tile_target::low_breakpoint_at): ...this. + (the_low_target): Remove the op field. + * linux-xtensa-low.cc (class xtensa_target) + : Declare. + (xtensa_breakpoint_at): Turn into... + (xtensa_target::low_breakpoint_at): ...this. + (the_low_target): Remove the op field. + +2020-04-02 Tankut Baris Aktemur + + Turn the 'decr_pc_after_break' linux_target_ops field into + a method of linux_process_target. + + * linux-low.h (struct linux_target_ops) + : Remove. + (class linux_process_target) : New method + declaration. + * linux-low.cc (linux_process_target::low_decr_pc_after_break): + New method implementation. + + Update the users below. + + (linux_process_target::save_stop_reason) + (linux_process_target::wait_1) + * linux-x86-low.cc (class x86_target) : + New declaration. + (x86_target::low_decr_pc_after_break): New method implementation. + (the_low_target): Remove the field. + * linux-bfin-low.cc (class bfin_target) : + New declaration. + (bfin_target::low_decr_pc_after_break): New method implementation. + (the_low_target): Remove the field. + * linux-m68k-low.cc (class m68k_target) : + New declaration. + (m68k_target::low_decr_pc_after_break): New method implementation. + (the_low_target): Remove the field. + * linux-s390-low.cc (class s390_target) : + New declaration. + (s390_target::low_decr_pc_after_break): New method implementation. + (the_low_target): Remove the field. + * linux-aarch64-low.cc (the_low_target): Remove the field. + * linux-arm-low.cc (the_low_target): Remove the field. + * linux-cris-low.cc (the_low_target): Remove the field. + * linux-crisv32-low.cc (the_low_target): Remove the field. + * linux-m32r-low.cc (the_low_target): Remove the field. + * linux-mips-low.cc (the_low_target): Remove the field. + * linux-nios2-low.cc (the_low_target): Remove the field. + * linux-ppc-low.cc (the_low_target): Remove the field. + * linux-riscv-low.cc (the_low_target): Remove the field. + * linux-sh-low.cc (the_low_target): Remove the field. + * linux-sparc-low.cc (the_low_target): Remove the field. + * linux-tic6x-low.cc (the_low_target): Remove the field. + * linux-tile-low.cc (the_low_target): Remove the field. + * linux-xtensa-low.cc (the_low_target): Remove the field. + +2020-04-02 Tankut Baris Aktemur + + Remove the 'supports_software_single_step' linux target op and let + the concrete linux target define it by overriding the op in + process_stratum_target. + Turn the 'get_next_pcs' linux target op into a method of + linux_process_target. + + * linux-low.h (struct linux_target_ops): Remove the ops. + (class linux_process_target) : + Remove. + : Declare. + * linux-low.cc (can_software_single_step): Remove. + (linux_process_target::low_get_next_pcs): Define. + (linux_process_target::supports_software_single_step): Remove. + + Update the callers below. + + (linux_process_target::handle_extended_wait) + (linux_process_target::wait_1) + (linux_process_target::install_software_single_step_breakpoints) + (linux_process_target::single_step) + (linux_process_target::thread_needs_step_over) + (linux_process_target::proceed_one_lwp) + (linux_process_target::supports_range_stepping) + + * linux-x86-low.cc (the_low_target): Remove the op field. + * linux-aarch64-low.cc (the_low_target): Ditto. + * linux-bfin-low.cc (the_low_target): Ditto. + * linux-cris-low.cc (the_low_target): Ditto. + * linux-crisv32-low.cc (the_low_target): Ditto. + * linux-m32r-low.cc (the_low_target): Ditto. + * linux-m68k-low.cc (the_low_target): Ditto. + * linux-mips-low.cc (the_low_target): Ditto. + * linux-nios2-low.cc (the_low_target): Ditto. + * linux-ppc-low.cc (the_low_target): Ditto. + * linux-riscv-low.cc (the_low_target): Ditto. + * linux-s390-low.cc (the_low_target): Ditto. + * linux-sh-low.cc (the_low_target): Ditto. + * linux-sparc-low.cc (the_low_target): Ditto. + * linux-tic6x-low.cc (the_low_target): Ditto. + * linux-tile-low.cc (the_low_target): Ditto. + * linux-xtensa-low.cc (the_low_target): Ditto. + * linux-arm-low.cc (class arm_target) + : Declare. + (arm_target::supports_software_single_step): Define. + (arm_gdbserver_get_next_pcs): Turn into... + (arm_target::low_get_next_pcs): ...this. + (the_low_target): Remove the op field. + +2020-04-02 Tankut Baris Aktemur + + Remove the 'sw_breakpoint_from_kind' linux target op, and let + the concrete linux target define it by overriding the op + in process_stratum_target. + + * linux-low.cc (linux_process_target::sw_breakpoint_from_kind): + Remove. + * linux-low.h (struct linux_target_ops): Remove the op. + (class linux_process_target) : Remove. + * linux-x86-low.cc (class x86_target) : + Declare. + (x86_sw_breakpoint_from_kind): Turn into... + (x86_target::sw_breakpoint_from_kind): ...this. + (the_low_target): Remove the op field. + * linux-aarch64-low.cc (class aarch64_target) + : Declare. + (aarch64_sw_breakpoint_from_kind): Turn into... + (aarch64_target::sw_breakpoint_from_kind): ...this. + (the_low_target): Remove the op field. + * linux-arm-low.cc (class arm_target) : + Declare. + (arm_target::sw_breakpoint_from_kind): Define. + (the_low_target): Remove the op field. + * linux-bfin-low.cc (class bfin_target) : + Declare. + (bfin_sw_breakpoint_from_kind): Turn into... + (bfin_target::sw_breakpoint_from_kind): ...this. + (the_low_target): Remove the op field. + * linux-cris-low.cc (class cris_target) : + Declare. + (cris_sw_breakpoint_from_kind): Turn into... + (cris_target::sw_breakpoint_from_kind): ...this. + (the_low_target): Remove the op field. + * linux-crisv32-low.cc (class crisv32_target) + : Declare. + (cris_sw_breakpoint_from_kind): Turn into... + (crisv32_target::sw_breakpoint_from_kind): ...this. + (the_low_target): Remove the op field. + * linux-ia64-low.cc (class ia64_target) : + Declare. + (ia64_target::sw_breakpoint_from_kind): Define. + * linux-m32r-low.cc (class m32r_target) : + Declare. + (m32r_sw_breakpoint_from_kind): Turn into... + (m32r_target::sw_breakpoint_from_kind): ...this. + (the_low_target): Remove the op field. + * linux-m68k-low.cc (class m68k_target) : + Declare. + (m68k_sw_breakpoint_from_kind): Turn into... + (m68k_target::sw_breakpoint_from_kind): ...this. + (the_low_target): Remove the op field. + * linux-mips-low.cc (class mips_target) : + Declare. + (mips_sw_breakpoint_from_kind): Turn into... + (mips_target::sw_breakpoint_from_kind): ...this. + (the_low_target): Remove the op field. + * linux-nios2-low.cc (class nios2_target) : + Declare. + (nios2_sw_breakpoint_from_kind): Turn into... + (nios2_target::sw_breakpoint_from_kind): ...this. + (the_low_target): Remove the op field. + * linux-ppc-low.cc (class ppc_target) : + Declare. + (ppc_sw_breakpoint_from_kind): Turn into... + (ppc_target::sw_breakpoint_from_kind): ...this. + (the_low_target): Remove the op field. + * linux-riscv-low.cc (class riscv_target) : + Declare. + (riscv_sw_breakpoint_from_kind): Turn into... + (riscv_target::sw_breakpoint_from_kind): ...this. + (the_low_target): Remove the op field. + * linux-s390-low.cc (class s390_target) : + Declare. + (s390_sw_breakpoint_from_kind): Turn into... + (s390_target::sw_breakpoint_from_kind): ...this. + (the_low_target): Remove the op field. + * linux-sh-low.cc (class sh_target) : + Declare. + (sh_sw_breakpoint_from_kind): Turn into... + (sh_target::sw_breakpoint_from_kind): ...this. + (the_low_target): Remove the op field. + * linux-sparc-low.cc (class sparc_target) : + Declare. + (sparc_sw_breakpoint_from_kind): Turn into... + (sparc_target::sw_breakpoint_from_kind): ...this. + (the_low_target): Remove the op field. + * linux-tic6x-low.cc (class tic6x_target) : + Declare. + (tic6x_sw_breakpoint_from_kind): Turn into... + (tic6x_target::sw_breakpoint_from_kind): ...this. + (the_low_target): Remove the op field. + * linux-tile-low.cc (class tile_target) : + Declare. + (tile_sw_breakpoint_from_kind): Turn into... + (tile_target::sw_breakpoint_from_kind): ...this. + (the_low_target): Remove the op field. + * linux-xtensa-low.cc (class xtensa_target) + : Declare. + (xtensa_sw_breakpoint_from_kind): Turn into... + (xtensa_target::sw_breakpoint_from_kind): ...this. + (the_low_target): Remove the op field. + +2020-04-02 Tankut Baris Aktemur + + Remove the 'breakpoint_kind_from_pc' and + 'breakpoint_kind_from_current_state' linux target ops, and let the + concrete linux target define them by overriding the ops of + process_stratum_target. + + * linux-low.cc (linux_process_target::breakpoint_kind_from_pc): + Remove. + (linux_process_target::breakpoint_kind_from_current_state): Remove. + * linux-low.h (struct linux_target_ops): Remove ops. + (class linux_process_target) : Remove. + : Remove. + * linux-x86-low.cc (the_low_target): Remove the op fields. + * linux-bfin-low.cc (the_low_target): Ditto. + * linux-cris-low.cc (the_low_target): Ditto. + * linux-crisv32-low.cc (the_low_target): Ditto. + * linux-m32r-low.cc (the_low_target): Ditto. + * linux-m68k-low.cc (the_low_target): Ditto. + * linux-mips-low.cc (the_low_target): Ditto. + * linux-nios2-low.cc (the_low_target): Ditto. + * linux-ppc-low.cc (the_low_target): Ditto. + * linux-s390-low.cc (the_low_target): Ditto. + * linux-sh-low.cc (the_low_target): Ditto. + * linux-sparc-low.cc (the_low_target): Ditto. + * linux-tic6x-low.cc (the_low_target): Ditto. + * linux-tile-low.cc (the_low_target): Ditto. + * linux-xtensa-low.cc (the_low_target): Ditto. + * linux-aarch64-low.cc (class aarch64_target) + + : Declare. + (aarch64_breakpoint_kind_from_pc): Turn into... + (aarch64_target::breakpoint_kind_from_pc): ...this. + (aarch64_breakpoint_kind_from_current_state): Turn into... + (aarch64_target::breakpoint_kind_from_current_state): ...this. + (the_low_target): Remove the op fields. + * linux-arm-low.cc (class arm_target): + + : Declare. + (arm_target::breakpoint_kind_from_pc): Define. + (arm_target::breakpoint_kind_from_current_state): Define. + (the_low_target): Remove the op fields. + * linux-riscv-low.cc (class riscv_target): + : Declare. + (riscv_breakpoint_kind_from_pc): Turn into... + (riscv_target::breakpoint_kind_from_pc): ...this. + (the_low_target): Remove the op fields. + +2020-04-02 Tankut Baris Aktemur + + Turn the 'get_pc' and 'set_pc' linux target ops into methods + of linux_process_target. + + * linux-low.h (struct linux_target_ops): Remove the ops. + (class linux_process_target) + + : Declare. + * linux-low.cc (supports_breakpoints): Turn into... + (linux_process_target::low_supports_breakpoints): ...this. + (linux_process_target::low_get_pc): Define. + (linux_process_target::low_set_pc): Define. + + Update the callers below. + + (linux_process_target::get_pc) + (linux_process_target::save_stop_reason) + (linux_process_target::maybe_move_out_of_jump_pad) + (linux_process_target::wait_1) + (linux_process_target::resume_one_lwp_throw) + (linux_process_target::resume) + (linux_process_target::proceed_all_lwps) + (linux_process_target::read_pc) + (linux_process_target::write_pc) + + * linux-x86-low.cc (class linux_process_target) + + + : Declare. + (x86_target::low_supports_breakpoints): Define. + (x86_get_pc): Turn into... + (x86_target::low_get_pc): ...this. + (x86_set_pc): Turn into... + (x86_target::low_set_pc): ...this. + (the_low_target): Remove the op fields. + * linux-arm-low.cc (class arm_target) + + + : Declare. + (arm_target::low_supports_breakpoints) + (arm_target::low_get_pc) + (arm_target::low_set_pc): Define. + (the_low_target): Remove the op fields. + * linux-bfin-low.cc (class bfin_target) + + + : Declare. + (bfin_target::low_supports_breakpoints) + (bfin_target::low_get_pc) + (bfin_target::low_set_pc): Define. + (the_low_target): Remove the op fields. + * linux-cris-low.cc (class cris_target) + + + : Declare. + (cris_target::low_supports_breakpoints) + (cris_target::low_get_pc) + (cris_target::low_set_pc): Define. + (the_low_target): Remove the op fields. + * linux-crisv32-low.cc (class crisv32_target) + + + : Declare. + (crisv32_target::low_supports_breakpoints) + (crisv32_target::low_get_pc) + (crisv32_target::low_set_pc): Define. + (the_low_target): Remove the op fields. + * linux-m32r-low.cc (class m32r_target) + + + : Declare. + (m32r_target::low_supports_breakpoints) + (m32r_target::low_get_pc) + (m32r_target::low_set_pc): Define. + (the_low_target): Remove the op fields. + * linux-m68k-low.cc (class m68k_target) + + + : Declare. + (m68k_target::low_supports_breakpoints) + (m68k_target::low_get_pc) + (m68k_target::low_set_pc): Define. + (the_low_target): Remove the op fields. + * linux-nios2-low.cc (class nios2_target) + + + : Declare. + (nios2_target::low_supports_breakpoints) + (nios2_target::low_get_pc) + (nios2_target::low_set_pc): Define. + (the_low_target): Remove the op fields. + * linux-sh-low.cc (class sh_target) + + + : Declare. + (sh_target::low_supports_breakpoints) + (sh_target::low_get_pc) + (sh_target::low_set_pc): Define. + (the_low_target): Remove the op fields. + * linux-xtensa-low.cc (class xtensa_target) + + + : Declare. + (xtensa_target::low_supports_breakpoints) + (xtensa_target::low_get_pc) + (xtensa_target::low_set_pc): Define. + (the_low_target): Remove the op fields. + * linux-sparc-low.cc (class sparc_target) + + : Declare. + (sparc_target::low_supports_breakpoints) + (sparc_target::low_get_pc): Define. + (the_low_target): Remove the op fields. + * linux-tile-low.cc (class tile_target) + + + : Declare. + (tile_target::low_supports_breakpoints) + (tile_target::low_get_pc) + (tile_target::low_set_pc): Define. + (the_low_target): Remove the op fields. + * linux-aarch64-low.cc (class aarch64_target) + + + : Declare. + (aarch64_target::low_supports_breakpoints): Define. + (aarch64_get_pc): Turn into... + (aarch64_target::low_get_pc): ...this. + (aarch64_set_pc): Turn into... + (aarch64_target::low_set_pc): ...this. + (the_low_target): Remove the op fields. + * linux-mips-low.cc (class mips_target) + + + : Declare. + (mips_target::low_supports_breakpoints): Define. + (mips_get_pc): Turn into... + (mips_target::low_get_pc): ...this. + (mips_set_pc): Turn into... + (mips_target::low_set_pc): ...this. + (the_low_target): Remove the op fields. + * linux-ppc-low.cc (class ppc_target) + + + : Declare. + (ppc_target::low_supports_breakpoints): Define. + (ppc_get_pc): Turn into... + (ppc_target::low_get_pc): ...this. + (ppc_set_pc): Turn into... + (ppc_target::low_set_pc): ...this. + (the_low_target): Remove the op fields. + * linux-riscv-low.cc (class riscv_target) + + + : Declare. + (riscv_target::low_supports_breakpoints): Define. + (riscv_get_pc): Turn into... + (riscv_target::low_get_pc): ...this. + (riscv_set_pc): Turn into... + (riscv_target::low_set_pc): ...this. + (the_low_target): Remove the op fields. + * linux-s390-low.cc (class s390_target) + + + : Declare. + (s390_target::low_supports_breakpoints): Define. + (s390_get_pc): Turn into... + (s390_target::low_get_pc): ...this. + (s390_set_pc): Turn into... + (s390_target::low_set_pc): ...this. + (the_low_target): Remove the op fields. + * linux-tic6x-low.cc (class tic6x_target) + + + : Declare. + (tic6x_target::low_supports_breakpoints): Define. + (tic6x_get_pc): Turn into... + (tic6x_target::low_get_pc): ...this. + (tic6x_set_pc): Turn into... + (tic6x_target::low_set_pc): ...this. + (the_low_target): Remove the op fields. + +2020-04-02 Tankut Baris Aktemur + + Turn some more static methods in linux-low into private methods + of linux_process_target. + + * linux-low.cc (get_pc): Turn into... + (linux_process_target::get_pc): ...this. + (save_stop_reason): Turn into... + (linux_process_target::save_stop_reason): ...this. + (thread_still_has_status_pending_p): Turn into... + (linux_process_target::thread_still_has_status_pending): ...this. + (status_pending_p_callback): Turn into... + (linux_process_target::status_pending_p_callback): ...this. + (resume_stopped_resumed_lwps): Turn into... + (linux_process_target::resume_stopped_resumed_lwps): ...this. + (install_software_single_step_breakpoints): Turn into... + (linux_process_target::install_software_single_step_breakpoints): + ...this. + (single_step): Turn into... + (linux_process_target::single_step): ...this. + (linux_resume_one_lwp_throw): Turn into... + (linux_process_target::resume_one_lwp_throw): ...this. + (linux_resume_one_lwp): Turn into... + (linux_process_target::resume_one_lwp): ...this. + (resume_status_pending_p): Turn into... + (linux_process_target::resume_status_pending): ...this. + (need_step_over_p): Turn into... + (linux_process_target::thread_needs_step_over): ...this. + (linux_resume_one_thread): Turn into... + (linux_process_target::resume_one_thread): ...this. + (proceed_one_lwp): Turn into... + (linux_process_target::proceed_one_lwp): ...this. + (unsuspend_and_proceed_one_lwp): Turn into... + (linux_process_target::unsuspend_and_proceed_one_lwp): ...this. + + Update the calls/references to the above functions below. + + (linux_process_target::handle_extended_wait) + (linux_process_target::filter_event) + (linux_process_target::wait_for_event_filtered) + (linux_process_target::wait_1) + (linux_process_target::move_out_of_jump_pad) + (linux_process_target::start_step_over) + (linux_process_target::resume) + (linux_process_target::proceed_all_lwps) + (regsets_store_inferior_registers) + (linux_process_target::store_register) + + * linux-low.h (class linux_process_target) + + + + + + + + + + + + + + : Declare. + +2020-04-02 Tankut Baris Aktemur + + Turn the 'fetch_register' linux target op into a method of + linux_process_target. + + * linux-low.h (struct linux_target_ops) : Remove. + (class linux_process_target) : Declare. + * linux-x86-low.cc (the_low_target) + * linux-aarch64-low.cc (the_low_target) + * linux-arm-low.cc (the_low_target) + * linux-bfin-low.cc (the_low_target) + * linux-cris-low.cc (the_low_target) + * linux-crisv32-low.cc (the_low_target) + * linux-m32r-low.cc (the_low_target) + * linux-m68k-low.cc (the_low_target) + * linux-nios2-low.cc (the_low_target) + * linux-ppc-low.cc (the_low_target) + * linux-s390-low.cc (the_low_target) + * linux-sh-low.cc (the_low_target) + * linux-sparc-low.cc (the_low_target) + * linux-tic6x-low.cc (the_low_target) + * linux-tile-low.cc (the_low_target) + * linux-xtensa-low.cc (the_low_target): Remove the op field. + * linux-ia64-low.cc (class ia64_target) : + Declare. + (ia64_fetch_register): Turn into... + (ia64_target::low_fetch_register): ...this. + (the_low_target): Remove the op field. + * linux-mips-low.cc (class mips_target) : + Declare. + (mips_fetch_register): Turn into... + (mips_target::low_fetch_register): ...this. + (the_low_target): Remove the op field. + * linux-riscv-low.cc (class riscv_target) : + Declare. + (riscv_fetch_register): Turn into... + (riscv_target::low_fetch_register): ...this. + (the_low_target): Remove the op field. + + Update the callers below. + + * linux-low.cc (linux_process_target::fetch_registers) + (linux_process_target::low_fetch_register) + +2020-04-02 Tankut Baris Aktemur + + Turn the 'cannot_fetch_register' and 'cannot_store_register' + linux target ops into methods of linux_process_target. + + * linux-low.h (struct linux_target_ops): Remove the low target ops. + (class linux_process_target) + + + + + Declare. + * linux-low.cc (fetch_register): Turn into... + (linux_process_target::fetch_register): ...this. + (store_register): Turn into ... + (linux_process_target::store_register): ...this. + (usr_fetch_inferior_registers): Turn into... + (linux_process_target::usr_fetch_inferior_registers): ...this. + (usr_store_inferior_registers): Turn into... + (linux_process_target::usr_store_inferior_registers): ...this. + * linux-x86-low.cc (class x86_target) + + : Declare. + (x86_cannot_store_register): Turn into... + (x86_target::low_cannot_store_register): ...this. + (x86_cannot_fetch_register): Turn into... + (x86_target::low_cannot_fetch_register): ...this. + (the_low_target): Remove the target op fields. + * linux-aarch64-low.cc (class aarch64_target) + + : Declare. + (aarch64_target::low_cannot_fetch_register) + (aarch64_target::low_cannot_store_register): Define. + (the_low_target): Remove the op fields. + * linux-arm-low.cc (class arm_target) + + : Declare. + (arm_cannot_fetch_register): Turn into... + (arm_target::low_cannot_fetch_register): ...this. + (arm_cannot_store_register): Turn into... + (arm_target::low_cannot_store_register): ...this. + (the_low_target): Remove the op fields. + * linux-bfin-low.cc (class bfin_target) + + : Declare. + (bfin_cannot_fetch_register): Turn into... + (bfin_target::low_cannot_fetch_register): ...this. + (bfin_cannot_store_register): Turn into... + (bfin_target::low_cannot_store_register): ...this. + (the_low_target): Remove the op fields. + * linux-cris-low.cc (class cris_target) + + : Declare. + (cris_cannot_fetch_register): Turn into... + (cris_target::low_cannot_fetch_register): ...this. + (cris_cannot_store_register): Turn into... + (cris_target::low_cannot_store_register): ...this. + (the_low_target): Remove the op fields. + * linux-crisv32-low.cc (class crisv32_target) + + : Declare. + (crisv32_target::low_cannot_fetch_register) + (crisv32_target::low_cannot_store_register): Define. + (the_low_target): Remove the op fields. + * linux-ia64-low.cc (class ia64_target) + + : Declare. + (ia64_cannot_fetch_register): Turn into... + (ia64_target::low_cannot_fetch_register): ...this. + (ia64_cannot_store_register): Turn into... + (ia64_target::low_cannot_store_register): ...this. + (the_low_target): Remove the op fields. + * linux-m32r-low.cc (class m32r_target) + + : Declare. + (m32r_cannot_fetch_register): Turn into... + (m32r_target::low_cannot_fetch_register): ...this. + (m32r_cannot_store_register): Turn into... + (m32r_target::low_cannot_store_register): ...this. + (the_low_target): Remove the op fields. + * linux-m68k-low.cc (class m68k_target) + + : Declare. + (m68k_cannot_fetch_register): Turn into... + (m68k_target::low_cannot_fetch_register): ...this. + (m68k_cannot_store_register): Turn into... + (m68k_target::low_cannot_store_register): ...this. + (the_low_target): Remove the op fields. + * linux-mips-low.cc (class mips_target) + + : Declare. + (mips_cannot_fetch_register): Turn into... + (mips_target::low_cannot_fetch_register): ...this. + (mips_cannot_store_register): Turn into... + (mips_target::low_cannot_store_register): ...this. + (get_usrregs_info): Inline at the call sites in + low_cannot_fetch_register and low_cannot_store_register, + and remove. + (the_low_target): Remove the op fields. + * linux-nios2-low.cc (class nios2_target) + + : Declare. + (nios2_cannot_fetch_register): Turn into... + (nios2_target::low_cannot_fetch_register): ...this. + (nios2_cannot_store_register): Turn into... + (nios2_target::low_cannot_store_register): ...this. + (the_low_target): Remove the op fields. + * linux-ppc-low.cc (class ppc_target) + + : Declare. + (ppc_cannot_fetch_register): Turn into... + (ppc_target::low_cannot_fetch_register): ...this. + (ppc_cannot_store_register): Turn into... + (ppc_target::low_cannot_store_register): ...this. + (the_low_target): Remove the op fields. + * linux-riscv-low.cc (class riscv_target) + + : Declare. + (riscv_target::low_cannot_fetch_register) + (riscv_target::low_cannot_store_register): Define. + (the_low_target): Remove the op fields. + * linux-s390-low.cc (class s390_target) + + : Declare. + (s390_cannot_fetch_register): Turn into... + (s390_target::low_cannot_fetch_register): ...this. + (s390_cannot_store_register): Turn into... + (s390_target::low_cannot_store_register): ...this. + (the_low_target): Remove the op fields. + * linux-sh-low.cc (class sh_target) + + : Declare. + (sh_cannot_fetch_register): Turn into... + (sh_target::low_cannot_fetch_register): ...this. + (sh_cannot_store_register): Turn into... + (sh_target::low_cannot_store_register): ...this. + (the_low_target): Remove the op fields. + * linux-sparc-low.cc (class sparc_target) + + : Declare. + (sparc_cannot_fetch_register): Turn into... + (sparc_target::low_cannot_fetch_register): ...this. + (sparc_cannot_store_register): Turn into... + (sparc_target::low_cannot_store_register): ...this. + (the_low_target): Remove the op fields. + * linux-tic6x-low.cc (class tic6x_target) + + : Declare. + (tic6x_cannot_fetch_register): Turn into... + (tic6x_target::low_cannot_fetch_register): ...this. + (tic6x_cannot_store_register): Turn into... + (tic6x_target::low_cannot_store_register): ...this. + (the_low_target): Remove the op fields. + * linux-tile-low.cc (class tile_target) + + : Declare. + (tile_cannot_fetch_register): Turn into... + (tile_target::low_cannot_fetch_register): ...this. + (tile_cannot_store_register): Turn into... + (tile_target::low_cannot_store_register): ...this. + (the_low_target): Remove the op fields. + * linux-xtensa-low.cc (class xtensa_target) + + : Declare. + (xtensa_target::low_cannot_fetch_register) + (xtensa_target::low_cannot_store_register): Define. + (the_low_target): Remove the op fields. + +2020-04-02 Tankut Baris Aktemur + + Turn the 'regs_info' linux target op into a method of + linux_process_target. + + * linux-low.h (struct linux_target_ops) : Remove. + (class linux_process_target) : Define. + + Update the callers below. + + * linux-low.cc (linux_process_target::fetch_registers) + (linux_process_target::store_registers) + * proc-service.cc (gregset_info) + + * linux-x86-low.cc (class x86_target) : Declare. + (x86_linux_regs_info): Turn into ... + (x86_target::get_regs_info): ...this. + (the_low_target): Remove the op field. + * linux-aarch64-low.cc (class aarch64_target) : + Declare. + (aarch64_regs_info): Turn into ... + (aarch64_target::get_regs_info): ...this. + (the_low_target): Remove the op field. + * linux-arm-low.cc (class arm_target) : Declare. + (arm_regs_info): Turn into ... + (arm_target::get_regs_info): ...this. + (the_low_target): Remove the op field. + * linux-bfin-low.cc (class bfin_target) : Declare. + (bfin_regs_info): Turn into ... + (bfin_target::get_regs_info): ...this. + (the_low_target): Remove the op field. + * linux-cris-low.cc (class cris_target) : Declare. + (cris_regs_info): Turn into ... + (cris_target::get_regs_info): ...this. + (the_low_target): Remove the op field. + * linux-crisv32-low.cc (class crisv32_target) : + Declare. + (crisv32_regs_info): Turn into ... + (crisv32_target::get_regs_info): ...this. + (the_low_target): Remove the op field. + * linux-ia64-low.cc (class ia64_target) : Declare. + (ia64_regs_info): Turn into ... + (ia64_target::get_regs_info): ...this. + (the_low_target): Remove the op field. + * linux-m32r-low.cc (class m32r_target) : Declare. + (m32r_regs_info): Turn into ... + (m32r_target::get_regs_info): ...this. + (the_low_target): Remove the op field. + * linux-m68k-low.cc (class m68k_target) : Declare. + (m68k_regs_info): Turn into ... + (m68k_target::get_regs_info): ...this. + (the_low_target): Remove the op field. + * linux-mips-low.cc (class mips_target) : Declare. + (mips_regs_info): Turn into ... + (mips_target::get_regs_info): ...this. + (the_low_target): Remove the op field. + (get_usrregs_info): Update the call to the op. + * linux-nios2-low.cc (class nios2_target) : Declare. + (nios2_regs_info): Turn into ... + (nios2_target::get_regs_info): ...this. + (the_low_target): Remove the op field. + * linux-ppc-low.cc (class ppc_target) : Declare. + (ppc_regs_info): Turn into ... + (ppc_target::get_regs_info): ...this. + (the_low_target): Remove the op field. + * linux-riscv-low.cc (class riscv_target) : Declare. + (riscv_regs_info): Turn into ... + (riscv_target::get_regs_info): ...this. + (the_low_target): Remove the op field. + * linux-s390-low.cc (class s390_target) : Declare. + (s390_regs_info): Turn into ... + (s390_target::get_regs_info): ...this. + (the_low_target): Remove the op field. + (s390_collect_ptrace_register) + (s390_supply_ptrace_register) + (s390_fill_gregset): Update the call to the op. + * linux-sh-low.cc (class sh_target) : Declare. + (sh_regs_info): Turn into ... + (sh_target::get_regs_info): ...this. + (the_low_target): Remove the op field. + * linux-sparc-low.cc (class sparc_target) : Declare. + (sparc_regs_info): Turn into ... + (sparc_target::get_regs_info): ...this. + (the_low_target): Remove the op field. + * linux-tic6x-low.cc (class tic6x_target) : Declare. + (tic6x_regs_info): Turn into ... + (tic6x_target::get_regs_info): ...this. + (the_low_target): Remove the op field. + * linux-tile-low.cc (class tile_target) : Declare. + (tile_regs_info): Turn into ... + (tile_target::get_regs_info): ...this. + (the_low_target): Remove the op field. + * linux-xtensa-low.cc (class xtensa_target) : + Declare. + (xtensa_regs_info): Turn into ... + (xtensa_target::get_regs_info): ...this. + (the_low_target): Remove the op field. + +2020-04-02 Tankut Baris Aktemur + + Turn the 'arch_setup' linux target op into a method of + linux_process_target. + + * linux-low.h (struct linux_target_ops) : Delete. + (class linux_process_target) + : New declarations. + * linux-low.cc (linux_arch_setup): Delete. + (linux_arch_setup_thread): Turn into... + (linux_process_target::arch_setup_thread): ... this. + + Update the callers below. + + (linux_process_target::handle_extended_wait) + (linux_process_target::post_create_inferior) + (linux_process_target::filter_event) + + * linux-x86-low.cc (class x86_target) : New + declaration. + (x86_linux_update_xmltarget): Turn into... + (x86_target::update_xmltarget): ...this. + (x86_linux_process_qsupported): Update the call to + x86_linux_update_xmltarget. + (x86_arch_setup): Turn into ... + (x86_target::low_arch_setup): ...this. + (the_low_target): Remove the op field. + * linux-aarch64-low.cc (class aarch64_target) : New + declaration. + (aarch64_arch_setup): Turn into ... + (aarch64_target::low_arch_setup): ...this. + (the_low_target): Remove the op field. + * linux-arm-low.cc (class arm_target) : New + declaration. + (arm_arch_setup): Turn into ... + (arm_target::low_arch_setup): ...this. + (the_low_target): Remove the op field. + * linux-bfin-low.cc (class bfin_target) : New + declaration. + (bfin_arch_setup): Turn into ... + (bfin_target::low_arch_setup): ...this. + (the_low_target): Remove the op field. + * linux-cris-low.cc (class cris_target) : New + declaration. + (cris_arch_setup): Turn into ... + (cris_target::low_arch_setup): ...this. + (the_low_target): Remove the op field. + * linux-crisv32-low.cc (class crisv32_target) : New + declaration. + (crisv32_arch_setup): Turn into ... + (crisv32_target::low_arch_setup): ...this. + (the_low_target): Remove the op field. + * linux-ia64-low.cc (class ia64_target) : New + declaration. + (ia64_arch_setup): Turn into ... + (ia64_target::low_arch_setup): ...this. + (the_low_target): Remove the op field. + * linux-m32r-low.cc (class m32r_target) : New + declaration. + (m32r_arch_setup): Turn into ... + (m32r_target::low_arch_setup): ...this. + (the_low_target): Remove the op field. + * linux-m68k-low.cc (class m68k_target) : New + declaration. + (m68k_arch_setup): Turn into ... + (m68k_target::low_arch_setup): ...this. + (the_low_target): Remove the op field. + * linux-mips-low.cc (class mips_target) : New + declaration. + (mips_arch_setup): Turn into ... + (mips_target::low_arch_setup): ...this. + (the_low_target): Remove the op field. + * linux-nios2-low.cc (class nios2_target) : New + declaration. + (nios2_arch_setup): Turn into ... + (nios2_target::low_arch_setup): ...this. + (the_low_target): Remove the op field. + * linux-ppc-low.cc (class ppc_target) : New + declaration. + (ppc_arch_setup): Turn into ... + (ppc_target::low_arch_setup): ...this. + (the_low_target): Remove the op field. + * linux-riscv-low.cc (class riscv_target) : New + declaration. + (riscv_arch_setup): Turn into ... + (riscv_target::low_arch_setup): ...this. + (the_low_target): Remove the op field. + * linux-s390-low.cc (class s390_target) : New + declaration. + (s390_arch_setup): Turn into ... + (s390_target::low_arch_setup): ...this. + (the_low_target): Remove the op field. + * linux-sh-low.cc (class sh_target) : New + declaration. + (sh_arch_setup): Turn into ... + (sh_target::low_arch_setup): ...this. + (the_low_target): Remove the op field. + * linux-sparc-low.cc (class sparc_target) : New + declaration. + (sparc_arch_setup): Turn into ... + (sparc_target::low_arch_setup): ...this. + (the_low_target): Remove the op field. + * linux-tic6x-low.cc (class tic6x_target) : New + declaration. + (tic6x_arch_setup): Turn into ... + (tic6x_target::low_arch_setup): ...this. + (the_low_target): Remove the op field. + * linux-tile-low.cc (class tile_target) : New + declaration. + (tile_arch_setup): Turn into ... + (tile_target::low_arch_setup): ...this. + (the_low_target): Remove the op field. + * linux-xtensa-low.cc (class xtensa_target) : New + declaration. + (xtensa_arch_setup): Turn into ... + (xtensa_target::low_arch_setup): ...this. + (the_low_target): Remove the op field. + +2020-04-02 Tankut Baris Aktemur + + * linux-low.h (the_linux_target): New extern declaration. + * linux-low.cc (initialize_low): Use 'the_linux_target' to set + 'the_target'. + (the_linux_target): Remove. + * linux-x86-low.cc (class x86_target): New class. + (the_x86_target): New static object. + (the_linux_target): Define as pointer to the_x86_target. + * linux-aarch64-low.cc (class aarch64_target): New class. + (the_aarch64_target): New static object. + (the_linux_target): Define as pointer to the_aarch64_target. + * linux-arm-low.cc (class arm_target): New class. + (the_arm_target): New static object. + (the_linux_target): Define as pointer to the_arm_target. + * linux-bfin-low.cc (class bfin_target): New class. + (the_bfin_target): New static object. + (the_linux_target): Define as pointer to the_bfin_target. + * linux-cris-low.cc (class cris_target): New class. + (the_cris_target): New static object. + (the_linux_target): Define as pointer to the_cris_target. + * linux-crisv32-low.cc (class crisv32_target): New class. + (the_crisv32_target): New static object. + (the_linux_target): Define as pointer to the_crisv32_target. + * linux-ia64-low.cc (class ia64_target): New class. + (the_ia64_target): New static object. + (the_linux_target): Define as pointer to the_ia64_target. + * linux-m32r-low.cc (class m32r_target): New class. + (the_m32r_target): New static object. + (the_linux_target): Define as pointer to the_m32r_target. + * linux-m68k-low.cc (class m68k_target): New class. + (the_m68k_target): New static object. + (the_linux_target): Define as pointer to the_m68k_target. + * linux-mips-low.cc (class mips_target): New class. + (the_mips_target): New static object. + (the_linux_target): Define as pointer to the_mips_target. + * linux-nios2-low.cc (class nios2_target): New class. + (the_nios2_target): New static object. + (the_linux_target): Define as pointer to the_nios2_target. + * linux-ppc-low.cc (class ppc_target): New class. + (the_ppc_target): New static object. + (the_linux_target): Define as pointer to the_ppc_target. + * linux-riscv-low.cc (class riscv_target): New class. + (the_riscv_target): New static object. + (the_linux_target): Define as pointer to the_riscv_target. + * linux-s390-low.cc (class s390_target): New class. + (the_s390_target): New static object. + (the_linux_target): Define as pointer to the_s390_target. + * linux-sh-low.cc (class sh_target): New class. + (the_sh_target): New static object. + (the_linux_target): Define as pointer to the_sh_target. + * linux-sparc-low.cc (class sparc_target): New class. + (the_sparc_target): New static object. + (the_linux_target): Define as pointer to the_sparc_target. + * linux-tic6x-low.cc (class tic6x_target): New class. + (the_tic6x_target): New static object. + (the_linux_target): Define as pointer to the_tic6x_target. + * linux-tile-low.cc (class tile_target): New class. + (the_tile_target): New static object. + (the_linux_target): Define as pointer to the_tile_target. + * linux-xtensa-low.cc (class xtensa_target): New class. + (the_xtensa_target): New static object. + (the_linux_target): Define as pointer to the_xtensa_target. + +2020-04-02 Tankut Baris Aktemur + + Turn some static functions in linux-low.cc into private methods of + linux_process_target. + + * linux-low.cc (handle_extended_wait): Turn into ... + (linux_process_target::handle_extended_wait): ...this. Call + 'mourn' on 'this' object instead of 'the_target'. + (maybe_move_out_of_jump_pad): Turn into... + (linux_process_target::maybe_move_out_of_jump_pad): ...this. + (linux_low_filter_event): Turn into... + (linux_process_target::filter_event): ...this. + (linux_wait_for_event_filtered): Turn into... + (linux_process_target::wait_for_event_filtered): ...this. + (linux_wait_for_event): Turn into... + (linux_process_target::wait_for_event): ...this. + (linux_wait_1): Turn into... + (linux_process_target::wait_1): ...this. + (wait_for_sigstop): Turn into... + (linux_process_target::wait_for_sigstop): ...this. + (move_out_of_jump_pad_callback): Turn into... + (linux_process_target::move_out_of_jump_pad): ...this. + (stop_all_lwps): Turn into... + (linux_process_target::stop_all_lwps): ...this. + (start_step_over): Turn into... + (linux_process_target::start_step_over): ...this. + (complete_ongoing_step_over): Turn into... + (linux_process_target::complete_ongoing_step_over): ...this. + (proceed_all_lwps): Turn into... + (linux_process_target::proceed_all_lwps): ...this. + (unstop_all_lwps): Turn into... + (linux_process_target::unstop_all_lwps): ...this. + + * linux-low.h (class linux_process_target) + + + filter_event> + + + + + + + + + + : Declare. + + Update the callers below. + + * linux-low.cc (linux_process_target::attach): Update. + (linux_process_target::stabilize_threads): Ditto. + (linux_process_target::wait): Ditto. + +2020-04-02 Tankut Baris Aktemur + + * linux-low.h (struct linux_target_ops): Update the comment for + 'cannot_store_register' to return 0 or 1. + * linux-ppc-low.cc (ppc_cannot_store_register): Return 1 instead + of 2. + +2020-03-20 Simon Marchi + + * config.in: Re-generate. + * configure: Re-generate. + +2020-03-17 Kamil Rytarowski + + * regcache.cc (find_register_by_number): Update. + * tdesc.cc (init_target_desc): Likewise. + * tdesc.h (target_desc::reg_defs): Likewise. + +2020-03-12 Tom Tromey + + * configure: Rebuild. + * configure.ac (GDBSERVER_DEPFILES): Remove srv_selftest_objs. + (WIN32APILIBS): New subst. + * Makefile.in (SFILES, OBS, TAGS, GDBREPLAY_OBS): Remove + gdbsupport files. + (gdbsupport/%.o): Remove target. + (GDBSUPPORT_BUILDDIR, GDBSUPPORT): New variables. + (gdbserver$(EXEEXT), gdbreplay$(EXEEXT)): Add GDBSUPPORT. + (WIN32APILIBS): New variable. + (gdbserver$(EXEEXT)): Add WIN32APILIBS. + (gdbreplay$(EXEEXT)): Likewise. + +2020-03-12 Tom Tromey + + * config.in, configure: Rebuild. + * configure.ac: Call ZW_GNU_GETTEXT_SISTER_DIR. + * acinclude.m4: Include gettext-sister.m4. + * Makefile.in (top_builddir, INTL, INTL_DEPS, INTL_CFLAGS): New + variables. + (INCLUDE_CFLAGS): Add INTL_CFLAGS. + (gdbserver$(EXEEXT), gdbreplay$(EXEEXT)): Use INTL_DEPS, INTL. + +2020-03-12 Simon Marchi + + * acinclude.m4: Update path to selftest.m4. + +2020-03-12 Simon Marchi + + * configure.ac: Don't source bfd/development.sh, move + GDB_AC_COMMON higher. + * configure: Re-generate. + +2020-03-12 Simon Marchi + + * configure: Re-generate. + +2020-03-11 Simon Marchi + + * configure: Re-generate. + +2020-03-06 Andrew Burgess + + * .dir-locals.el: New file. + +2020-03-05 Tankut Baris Aktemur + + * .gitattributes: New file. + +2020-03-02 Andrew Burgess + + * remote-utils.cc (prepare_resume_reply): Add ability to convert T + reply into an S reply. + * server.cc (disable_packet_T): New global. + (captured_main): Set new global when appropriate. + * server.h (disable_packet_T): Declare. + +2020-02-21 Tom Tromey + + * Makefile.in (mostlyclean): New target. + +2020-02-20 Tankut Baris Aktemur + + * target.h (struct process_stratum_target): Remove. + (class process_target): Rename to ... + (class process_stratum_target): ... this. + * linux-low.h (class linux_process_target): Derive from + 'process_stratum_target'. + * linux-low.cc (linux_target_ops): Remove. + (initialize_low): Set the_target to the singleton instance of + linux_process_target. + * lynx-low.h (class lynx_process_target): Derive from + 'process_stratum_target'. + * lynx-low.cc (lynx_target_ops): Remove. + (initialize_low): Set the_target to the singleton instance of + lynx_process_target. + * nto-low.h (class nto_process_target): Derive from + 'process_stratum_target'. + * nto-low.cc (nto_target_ops): Remove. + (initialize_low): Set the_target to the singleton instance of + nto_process_target. + * win32-low.h (class win32_process_target): Derive from + 'process_stratum_target'. + * win32-low.cc (win32_target_ops): Remove. + (initialize_low): Set the_target to the singleton instance of + win32_process_target. + + Replace 'the_target->pt' with 'the_target' in the uses below. + + * hostio.cc (hostio_error) + (handle_setfs) + (handle_open) + (handle_unlink) + (handle_readlink) + * linux-aarch32-low.cc (arm_breakpoint_at) + * linux-aarch64-low.cc (aarch64_breakpoint_at) + * linux-arm-low.cc (arm_sigreturn_next_pc) + (arm_get_hwcap) + (arm_get_syscall_trapinfo) + * linux-cris-low.cc (cris_breakpoint_at) + * linux-crisv32-low.cc (cris_breakpoint_at) + * linux-low.cc (handle_extended_wait) + (linux_wait_1) + (linux_read_memory) + (linux_process_target::breakpoint_kind_from_pc) + (linux_get_auxv) + * linux-m32r-low.cc (m32r_breakpoint_at) + * linux-mips-low.cc (mips_breakpoint_at) + * linux-nios2-low.cc (nios2_breakpoint_at) + * linux-ppc-low.cc (ppc_breakpoint_at) + * linux-s390-low.cc (s390_get_hwcap) + * linux-sh-low.cc (sh_breakpoint_at) + * linux-sparc-low.cc (sparc_fill_gregset_to_stack) + (sparc_store_gregset_from_stack) + (sparc_breakpoint_at) + * linux-tic6x-low.cc (tic6x_breakpoint_at) + * linux-tile-low.cc (tile_breakpoint_at) + * linux-x86-low.cc (x86_breakpoint_at) + * linux-xtensa-low.cc (xtensa_breakpoint_at) + * mem-break.cc (bp_size) + (bp_opcode) + (insert_memory_breakpoint) + (set_raw_breakpoint_at) + (delete_raw_breakpoint) + (z_type_supported) + (uninsert_raw_breakpoint) + (reinsert_raw_breakpoint) + (validate_inserted_breakpoint) + * regcache.cc (regcache_read_pc) + (regcache_write_pc) + * remote-utils.cc (putpkt_binary_1) + (input_interrupt) + (getpkt) + (prepare_resume_reply) + * server.cc (handle_general_set) + (handle_detach) + (handle_qxfer_auxv) + (handle_qxfer_exec_file) + (handle_qxfer_libraries_svr4) + (handle_qxfer_osdata) + (handle_qxfer_siginfo) + (handle_qxfer_fdpic) + (handle_query) + (resume) + (handle_v_requests) + (queue_stop_reply_callback) + (captured_main) + * target.cc (prepare_to_access_memory) + (done_accessing_memory) + (read_inferior_memory) + (target_write_memory) + (target_stop_and_wait) + (target_wait) + (target_mourn_inferior) + (target_continue_no_signal) + (target_continue) + (target_supports_multi_process) + (kill_inferior) + * target.h + (target_create_inferior) + (target_post_create_inferior) + (myattach) + (target_supports_fork_events) + (target_supports_vfork_events) + (target_supports_exec_events) + (target_handle_new_gdb_connection) + (detach_inferior) + (mythread_alive) + (fetch_inferior_registers) + (store_inferior_registers) + (join_inferior) + (target_supports_non_stop) + (target_async) + (target_process_qsupported) + (target_supports_catch_syscall) + (target_get_ipa_tdesc_idx) + (target_supports_tracepoints) + (target_supports_fast_tracepoints) + (target_get_min_fast_tracepoint_insn_len) + (target_thread_stopped) + (target_pause_all) + (target_unpause_all) + (target_stabilize_threads) + (target_install_fast_tracepoint_jump_pad) + (target_emit_ops) + (target_supports_disable_randomization) + (target_supports_agent) + (target_enable_btrace) + (target_disable_btrace) + (target_read_btrace) + (target_read_btrace_conf) + (target_supports_range_stepping) + (target_supports_stopped_by_sw_breakpoint) + (target_stopped_by_sw_breakpoint) + (target_supports_stopped_by_hw_breakpoint) + (target_supports_hardware_single_step) + (target_stopped_by_hw_breakpoint) + (target_breakpoint_kind_from_pc) + (target_breakpoint_kind_from_current_state) + (target_supports_software_single_step) + (target_core_of_thread) + (target_thread_name) + (target_thread_handle) + * win32-low.cc (do_initial_child_stuff) + + Rename target op default definitions listed below. + + * target.cc (process_target::post_create_inferior): Rename as ... + (process_stratum_target::post_create_inferior): ... this. + (process_target::prepare_to_access_memory): Rename as ... + (process_stratum_target::prepare_to_access_memory): ... this. + (process_target::done_accessing_memory): Rename as ... + (process_stratum_target::done_accessing_memory): ... this. + (process_target::look_up_symbols): Rename as ... + (process_stratum_target::look_up_symbols): ... this. + (process_target::supports_read_auxv): Rename as ... + (process_stratum_target::supports_read_auxv): ... this. + (process_target::read_auxv): Rename as ... + (process_stratum_target::read_auxv): ... this. + (process_target::supports_z_point_type): Rename as ... + (process_stratum_target::supports_z_point_type): ... this. + (process_target::insert_point): Rename as ... + (process_stratum_target::insert_point): ... this. + (process_target::remove_point): Rename as ... + (process_stratum_target::remove_point): ... this. + (process_target::stopped_by_sw_breakpoint): Rename as ... + (process_stratum_target::stopped_by_sw_breakpoint): ... this. + (process_target::supports_stopped_by_sw_breakpoint): Rename as ... + (process_stratum_target::supports_stopped_by_sw_breakpoint): ... this. + (process_target::stopped_by_hw_breakpoint): Rename as ... + (process_stratum_target::stopped_by_hw_breakpoint): ... this. + (process_target::supports_stopped_by_hw_breakpoint): Rename as ... + (process_stratum_target::supports_stopped_by_hw_breakpoint): ... this. + (process_target::supports_hardware_single_step): Rename as ... + (process_stratum_target::supports_hardware_single_step): ... this. + (process_target::stopped_by_watchpoint): Rename as ... + (process_stratum_target::stopped_by_watchpoint): ... this. + (process_target::stopped_data_address): Rename as ... + (process_stratum_target::stopped_data_address): ... this. + (process_target::supports_read_offsets): Rename as ... + (process_stratum_target::supports_read_offsets): ... this. + (process_target::read_offsets): Rename as ... + (process_stratum_target::read_offsets): ... this. + (process_target::supports_get_tls_address): Rename as ... + (process_stratum_target::supports_get_tls_address): ... this. + (process_target::get_tls_address): Rename as ... + (process_stratum_target::get_tls_address): ... this. + (process_target::hostio_last_error): Rename as ... + (process_stratum_target::hostio_last_error): ... this. + (process_target::supports_qxfer_osdata): Rename as ... + (process_stratum_target::supports_qxfer_osdata): ... this. + (process_target::qxfer_osdata): Rename as ... + (process_stratum_target::qxfer_osdata): ... this. + (process_target::supports_qxfer_siginfo): Rename as ... + (process_stratum_target::supports_qxfer_siginfo): ... this. + (process_target::qxfer_siginfo): Rename as ... + (process_stratum_target::qxfer_siginfo): ... this. + (process_target::supports_non_stop): Rename as ... + (process_stratum_target::supports_non_stop): ... this. + (process_target::async): Rename as ... + (process_stratum_target::async): ... this. + (process_target::start_non_stop): Rename as ... + (process_stratum_target::start_non_stop): ... this. + (process_target::supports_multi_process): Rename as ... + (process_stratum_target::supports_multi_process): ... this. + (process_target::supports_fork_events): Rename as ... + (process_stratum_target::supports_fork_events): ... this. + (process_target::supports_vfork_events): Rename as ... + (process_stratum_target::supports_vfork_events): ... this. + (process_target::supports_exec_events): Rename as ... + (process_stratum_target::supports_exec_events): ... this. + (process_target::handle_new_gdb_connection): Rename as ... + (process_stratum_target::handle_new_gdb_connection): ... this. + (process_target::handle_monitor_command): Rename as ... + (process_stratum_target::handle_monitor_command): ... this. + (process_target::core_of_thread): Rename as ... + (process_stratum_target::core_of_thread): ... this. + (process_target::supports_read_loadmap): Rename as ... + (process_stratum_target::supports_read_loadmap): ... this. + (process_target::read_loadmap): Rename as ... + (process_stratum_target::read_loadmap): ... this. + (process_target::process_qsupported): Rename as ... + (process_stratum_target::process_qsupported): ... this. + (process_target::supports_tracepoints): Rename as ... + (process_stratum_target::supports_tracepoints): ... this. + (process_target::read_pc): Rename as ... + (process_stratum_target::read_pc): ... this. + (process_target::write_pc): Rename as ... + (process_stratum_target::write_pc): ... this. + (process_target::supports_thread_stopped): Rename as ... + (process_stratum_target::supports_thread_stopped): ... this. + (process_target::thread_stopped): Rename as ... + (process_stratum_target::thread_stopped): ... this. + (process_target::supports_get_tib_address): Rename as ... + (process_stratum_target::supports_get_tib_address): ... this. + (process_target::get_tib_address): Rename as ... + (process_stratum_target::get_tib_address): ... this. + (process_target::pause_all): Rename as ... + (process_stratum_target::pause_all): ... this. + (process_target::unpause_all): Rename as ... + (process_stratum_target::unpause_all): ... this. + (process_target::stabilize_threads): Rename as ... + (process_stratum_target::stabilize_threads): ... this. + (process_target::supports_fast_tracepoints): Rename as ... + (process_stratum_target::supports_fast_tracepoints): ... this. + (process_target::get_min_fast_tracepoint_insn_len): Rename as ... + (process_stratum_target::get_min_fast_tracepoint_insn_len): ... this. + (process_target::emit_ops): Rename as ... + (process_stratum_target::emit_ops): ... this. + (process_target::supports_disable_randomization): Rename as ... + (process_stratum_target::supports_disable_randomization): ... this. + (process_target::supports_qxfer_libraries_svr4): Rename as ... + (process_stratum_target::supports_qxfer_libraries_svr4): ... this. + (process_target::qxfer_libraries_svr4): Rename as ... + (process_stratum_target::qxfer_libraries_svr4): ... this. + (process_target::supports_agent): Rename as ... + (process_stratum_target::supports_agent): ... this. + (process_target::enable_btrace): Rename as ... + (process_stratum_target::enable_btrace): ... this. + (process_target::disable_btrace): Rename as ... + (process_stratum_target::disable_btrace): ... this. + (process_target::read_btrace): Rename as ... + (process_stratum_target::read_btrace): ... this. + (process_target::read_btrace_conf): Rename as ... + (process_stratum_target::read_btrace_conf): ... this. + (process_target::supports_range_stepping): Rename as ... + (process_stratum_target::supports_range_stepping): ... this. + (process_target::supports_pid_to_exec_file): Rename as ... + (process_stratum_target::supports_pid_to_exec_file): ... this. + (process_target::pid_to_exec_file): Rename as ... + (process_stratum_target::pid_to_exec_file): ... this. + (process_target::supports_multifs): Rename as ... + (process_stratum_target::supports_multifs): ... this. + (process_target::multifs_open): Rename as ... + (process_stratum_target::multifs_open): ... this. + (process_target::multifs_unlink): Rename as ... + (process_stratum_target::multifs_unlink): ... this. + (process_target::multifs_readlink): Rename as ... + (process_stratum_target::multifs_readlink): ... this. + (process_target::breakpoint_kind_from_pc): Rename as ... + (process_stratum_target::breakpoint_kind_from_pc): ... this. + (process_target::breakpoint_kind_from_current_state): Rename as ... + (process_stratum_target::breakpoint_kind_from_current_state): ... this. + (process_target::thread_name): Rename as ... + (process_stratum_target::thread_name): ... this. + (process_target::thread_handle): Rename as ... + (process_stratum_target::thread_handle): ... this. + (process_target::supports_software_single_step): Rename as ... + (process_stratum_target::supports_software_single_step): ... this. + (process_target::supports_catch_syscall): Rename as ... + (process_stratum_target::supports_catch_syscall): ... this. + (process_target::get_ipa_tdesc_idx): Rename as ... + (process_stratum_target::get_ipa_tdesc_idx): ... this. + +2020-02-20 Pedro Alves + + * target.cc (set_target_ops): Simply copy the given target pointer + instead of creating a copy of the pointed object. + +2020-02-20 Tankut Baris Aktemur + + Turn process_stratum_target's get_ipa_tdesc_idx op into a method + of process_target. + + * target.h (struct process_stratum_target): Remove the target op. + (class process_target): Add the target op. + (target_get_ipa_tdesc_idx): Update the macro. + * target.cc (process_target::get_ipa_tdesc_idx): Define. + + Update the derived classes and callers below. + + * linux-low.cc (linux_target_ops): Update. + (linux_get_ipa_tdesc_idx): Turn into ... + (linux_process_target::get_ipa_tdesc_idx): ... this. + * linux-low.h (class linux_process_target): Update. + * lynx-low.cc (lynx_target_ops): Update. + * nto-low.cc (nto_target_ops): Update. + * win32-low.cc (win32_target_ops): Update. + +2020-02-20 Tankut Baris Aktemur + + Turn process_stratum_target's supports_catch_syscall op into a + method of process_target. + + * target.h (struct process_stratum_target): Remove the target op. + (class process_target): Add the target op. + (target_supports_catch_syscall): Update the macro. + * target.cc (process_target::supports_catch_syscall): Define. + + Update the derived classes and callers below. + + * linux-low.cc (linux_target_ops): Update. + (linux_supports_catch_syscall): Turn into ... + (linux_process_target::supports_catch_syscall): ... this. + * linux-low.h (class linux_process_target): Update. + * lynx-low.cc (lynx_target_ops): Update. + * nto-low.cc (nto_target_ops): Update. + * win32-low.cc (win32_target_ops): Update. + +2020-02-20 Tankut Baris Aktemur + + Turn process_stratum_target's supports_software_single_step op + into a method of process_target. + + * target.h (struct process_stratum_target): Remove the target op. + (class process_target): Add the target op. + (target_supports_software_single_step): Update the macro. + * target.cc (process_target::supports_software_single_step): Define. + + Update the derived classes and callers below. + + * linux-low.cc (linux_target_ops): Update. + (linux_supports_software_single_step): Turn into ... + (linux_process_target::supports_software_single_step): ... this. + * linux-low.h (class linux_process_target): Update. + * lynx-low.cc (lynx_target_ops): Update. + * nto-low.cc (nto_target_ops): Update. + * win32-low.cc (win32_target_ops): Update. + +2020-02-20 Tankut Baris Aktemur + + Turn process_stratum_target's thread_name and thread_handle ops + into methods of process_target. + + * target.h (struct process_stratum_target): Remove the target ops. + (class process_target): Add the target ops. + (target_thread_name): Update the macro. + (target_thread_handle): Update the macro. + * target.cc (process_target::thread_name): Define. + (process_target::thread_handle): Define. + + Update the derived classes and callers below. + + * linux-low.cc (linux_target_ops): Update. + (linux_process_target::thread_name): Define. + (linux_process_target::thread_handle): Define. + * linux-low.h (class linux_process_target): Update. + * lynx-low.cc (lynx_target_ops): Update. + * nto-low.cc (nto_target_ops): Update. + * win32-low.cc (win32_target_ops): Update. + +2020-02-20 Tankut Baris Aktemur + + Turn process_stratum_target's breakpoint_kind_from_pc, + sw_breakpoint_from_kind, and breakpoint_kind_from_current_state + ops into methods of process_target. + + * target.h (struct process_stratum_target): Remove the target op. + (class process_target): Add the target op. + (target_breakpoint_kind_from_pc): Update the macro. + (target_breakpoint_kind_from_current_state): Update the macro. + (default_breakpoint_kind_from_pc): Remove declaration. + * target.cc (default_breakpoint_kind_from_pc): Turn into ... + (process_target::breakpoint_kind_from_pc): ... this. + (process_target::breakpoint_kind_from_current_state): Define. + + Update the derived classes and callers below. + + * mem-break.cc (bp_size): Update. + (bp_opcode): Update. + * linux-low.cc (linux_target_ops): Update. + (linux_wait_1): Update. + (linux_breakpoint_kind_from_pc): Turn into ... + (linux_process_target::breakpoint_kind_from_pc): ... this. + (linux_sw_breakpoint_from_kind): Turn into ... + (linux_process_target::sw_breakpoint_from_kind): ... this. + (linux_breakpoint_kind_from_current_state): Turn into ... + (linux_process_target::breakpoint_kind_from_current_state): ... this. + * linux-low.h (class linux_process_target): Update. + * lynx-low.cc (lynx_target_ops): Update. + (lynx_process_target::sw_breakpoint_from_kind): Define. + * lynx-low.h (class lynx_process_target): Update. + * nto-low.cc (nto_target_ops): Update. + (nto_sw_breakpoint_from_kind): Turn into ... + (nto_process_target::sw_breakpoint_from_kind): ... this. + * nto-low.h (class nto_process_target): Update. + * win32-low.cc (win32_target_ops): Update. + (win32_sw_breakpoint_from_kind): Turn into ... + (win32_process_target::sw_breakpoint_from_kind): ... this. + * win32-low.h (class win32_process_target): Update. + +2020-02-20 Tankut Baris Aktemur + + Turn process_stratum_target's multifs_open, multifs_readlink, + multifs_unlink ops into methods of process_target. + + * target.h (struct process_stratum_target): Remove the target ops. + (class process_target): Add the target ops. Also add + 'supports_multifs'. + * target.cc: Include "fcntl.h", "unistd.h", "sys/types.h", and + "sys/stat.h". + (process_target::supports_multifs): Define. + (process_target::multifs_open): Define. + (process_target::multifs_readlink): Define. + (process_target::multifs_unlink): Define. + + Update the derived classes and callers below. + + * hostio.cc (handle_setfs): Update. + (handle_open): Update. + (handle_unlink): Update. + (handle_readlink): Update. + * linux-low.cc (linux_target_ops): Update. + (linux_process_target::supports_multifs): Define. + (linux_process_target::multifs_open): Define. + (linux_process_target::multifs_readlink): Define. + (linux_process_target::multifs_unlink): Define. + * linux-low.h (class linux_process_target): Update. + * lynx-low.cc (lynx_target_ops): Update. + * nto-low.cc (nto_target_ops): Update. + * win32-low.cc (win32_target_ops): Update. + +2020-02-20 Tankut Baris Aktemur + + Turn process_stratum_target's pid_to_exec_file op into a method + of process_target. + + * target.h (struct process_stratum_target): Remove the target op. + (class process_target): Add the target op. Also add + 'supports_pid_to_exec_file'. + * target.cc (process_target::pid_to_exec_file): Define. + (process_target::supports_pid_to_exec_file): Define. + + Update the derived classes and callers below. + + * server.cc (handle_qxfer_exec_file): Update. + (handle_query): Update. + * linux-low.cc (linux_target_ops): Update. + (linux_process_target::supports_pid_to_exec_file): Define. + (linux_process_target::pid_to_exec_file): Define. + * linux-low.h (class linux_process_target): Update. + * lynx-low.cc (lynx_target_ops): Update. + * nto-low.cc (nto_target_ops): Update. + * win32-low.cc (win32_target_ops): Update. + +2020-02-20 Tankut Baris Aktemur + + Turn process_stratum_target's supports_range_stepping op into a + method of process_target. + + * target.h (struct process_stratum_target): Remove the target op. + (class process_target): Add the target op. + (target_supports_range_stepping): Update the macro. + * target.cc (process_target::supports_range_stepping): Define. + + Update the derived classes and callers below. + + * linux-low.cc (linux_target_ops): Update. + (linux_supports_range_stepping): Turn into ... + (linux_process_target::supports_range_stepping): ... this. + * linux-low.h (class linux_process_target): Update. + * lynx-low.cc (lynx_target_ops): Update. + * nto-low.cc (nto_target_ops): Update. + * win32-low.cc (win32_target_ops): Update. + +2020-02-20 Tankut Baris Aktemur + + Turn process_stratum_target's btrace-related ops (enable_btrace, + disable_btrace, read_btrace, read_btrace_conf) into methods of + process_target. + + * target.h (struct process_stratum_target): Remove the target ops. + (class process_target): Add the target ops. + (target_enable_btrace): Update. + (target_disable_btrace): Update. + (target_read_btrace): Update. + (target_read_btrace_conf): Update. + * target.cc (process_target::enable_btrace): Define. + (process_target::disable_btrace): Define. + (process_target::read_btrace): Define. + (process_target::read_btrace_conf): Define. + + Update the derived classes and callers below. + + * linux-low.cc (linux_target_ops): Update. + (linux_process_target:enable_btrace): Define as a wrapper around + linux_enable_btrace. + (linux_low_disable_btrace): Turn into ... + (linux_process_target::disable_btrace): ... this. + (linux_low_read_btrace): Turn into ... + (linux_process_target::read_btrace): ... this. + (linux_low_btrace_conf): Turn into ... + (linux_process_target::read_btrace_conf): ... this. + * linux-low.h (class linux_process_target): Update. + * lynx-low.cc (lynx_target_ops): Update. + * nto-low.cc (nto_target_ops): Update. + * win32-low.cc (win32_target_ops): Update. + +2020-02-20 Tankut Baris Aktemur + + Turn process_stratum_target's supports_agent op into a method of + process_target. + + * target.h (struct process_stratum_target): Remove the target op. + (class process_target): Add the target op. + (target_supports_agent): Update the macro. + * target.cc (process_target::supports_agent): Define. + + Update the derived classes and callers below. + + * linux-low.cc (linux_target_ops): Update. + (linux_supports_agent): Turn into ... + (linux_process_target::supports_agent): ... this. + * linux-low.h (class linux_process_target): Update. + * lynx-low.cc (lynx_target_ops): Update. + * nto-low.cc (nto_target_ops): Update. + * win32-low.cc (win32_target_ops): Update. + +2020-02-20 Tankut Baris Aktemur + + Turn process_stratum_target's qxfer_libraries_svr4 op into a + method of process_target. + + * target.h (struct process_stratum_target): Remove the target op. + (class process_target): Add the target op. Also add + 'supports_qxfer_libraries_svr4'. + * target.cc (process_target::qxfer_libraries_svr4): Define. + (process_target::supports_qxfer_libraries_svr4): Define. + + Update the derived classes and callers below. + + * server.cc (handle_qxfer_libraries_svr4): Update. + (handle_query): Update. + * linux-low.cc (linux_target_ops): Update. + (linux_process_target::supports_qxfer_libraries_svr4): Define. + (linux_qxfer_libraries_svr4): Turn into ... + (linux_process_target::qxfer_libraries_svr4): ... this. + * linux-low.h (class linux_process_target): Update. + * lynx-low.cc (lynx_target_ops): Update. + * nto-low.cc (nto_target_ops): Update. + * win32-low.cc (win32_target_ops): Update. + +2020-02-20 Tankut Baris Aktemur + + Turn process_stratum_target's supports_disable_randomization op + into a method of process_target. + + * target.h (struct process_stratum_target): Remove the target op. + (class process_target): Add the target op. + (target_supports_disable_randomization): Update the macro. + * target.cc (process_target::supports_disable_randomization): Define. + + Update the derived classes and callers below. + + * linux-low.cc (linux_target_ops): Update. + (linux_supports_disable_randomization): Turn into ... + (linux_process_target::supports_disable_randomization): ... this. + * linux-low.h (class linux_process_target): Update. + * lynx-low.cc (lynx_target_ops): Update. + * nto-low.cc (nto_target_ops): Update. + * win32-low.cc (win32_target_ops): Update. + +2020-02-20 Tankut Baris Aktemur + + Turn process_stratum_target's emit_ops op into a method of + process_target. + + * target.h (struct process_stratum_target): Remove the target op. + (class process_target): Add the target op. + (target_emit_ops): Update the macro. + * target.cc (process_target::emit_ops): Define. + + Update the derived classes and callers below. + + * linux-low.cc (linux_target_ops): Update. + (linux_emit_ops): Turn into ... + (linux_process_target::emit_ops): ... this. + * linux-low.h (class linux_process_target): Update. + * lynx-low.cc (lynx_target_ops): Update. + * nto-low.cc (nto_target_ops): Update. + * win32-low.cc (win32_target_ops): Update. + +2020-02-20 Tankut Baris Aktemur + + Turn process_stratum_target's install_fast_tracepoint_jump_pad + and get_min_fast_tracepoint_insn_len ops into methods of + process_target. + + * target.h (struct process_stratum_target): Remove the target ops. + (class process_target): Add the target ops. Also add + 'supports_fast_tracepoints'. + (target_supports_fast_tracepoints): Update the macro. + (target_get_min_fast_tracepoint_insn_len): Update the macro. + (install_fast_tracepoint_jump_pad): Update and rename the macro + to ... + (target_install_fast_tracepoint_jump_pad): ... this. + * target.cc (process_target::supports_fast_tracepoints): Define. + (process_target::install_fast_tracepoint_jump_pad): Define. + (process_target::get_min_fast_tracepoint_insn_len): Define. + + Update the derived classes and callers below. + + * tracepoint.cc (install_fast_tracepoint): Update. + * linux-low.cc (linux_target_ops): Update. + (linux_process_target::supports_fast_tracepoints): Define. + (linux_install_fast_tracepoint_jump_pad): Turn into ... + (linux_process_target::install_fast_tracepoint_jump_pad): ... this. + (linux_get_min_fast_tracepoint_insn_len): Turn into ... + (linux_process_target::get_min_fast_tracepoint_insn_len): ... this. + * linux-low.h (class linux_process_target): Update. + * lynx-low.cc (lynx_target_ops): Update. + * nto-low.cc (nto_target_ops): Update. + * win32-low.cc (win32_target_ops): Update. + +2020-02-20 Tankut Baris Aktemur + + Turn process_stratum_target's stabilize_threads op into a + method of process_target. + + * target.h (struct process_stratum_target): Remove the target op. + (class process_target): Add the target op. + (target_stabilize_threads): Update the macro. + * target.cc (process_target::stabilize_threads): Define. + + Update the derived classes and callers below. + + * server.cc (handle_status): Update. + * tracepoint.cc (cmd_qtdp): Update. + (cmd_qtstart): Update. + * linux-low.cc (linux_target_ops): Update. + (linux_stabilize_threads): Turn into ... + (linux_process_target::stabilize_threads): ... this. + (linux_wait_1): Update. + * linux-low.h (class linux_process_target): Update. + * lynx-low.cc (lynx_target_ops): Update. + * nto-low.cc (nto_target_ops): Update. + * win32-low.cc (win32_target_ops): Update. + +2020-02-20 Tankut Baris Aktemur + + Turn process_stratum_target's pause_all and unpause_all ops + into methods of process_target. + + * target.h (struct process_stratum_target): Remove the target ops. + (class process_target): Add the target ops. + (pause_all): Update the macro and rename to... + (target_pause_all): ... this. + (unpause_all): Update the macro and rename to... + (target_unpause_all): ... this. + * target.cc (process_target::pause_all): Define. + (process_target::unpause_all): Define. + + Update the derived classes and callers below. + + * server.cc (handle_status): Update. + * tracepoint.cc (clear_installed_tracepoints): Update. + (cmd_qtdp): Update. + (cmd_qtstart): Update. + (stop_tracing): Update. + (cmd_qtstatus): Update. + (upload_fast_traceframes): Update. + (run_inferior_command): Update. + * linux-low.cc (linux_target_ops): Update. + (linux_pause_all): Turn into ... + (linux_process_target::pause_all): ... this. + (linux_unpause_all): Turn into ... + (linux_process_target::unpause_all): ... this. + (linux_process_target::prepare_to_access_memory): Update. + (linux_process_target::done_accessing_memory): Update. + * linux-low.h (class linux_process_target): Update. + * lynx-low.cc (lynx_target_ops): Update. + * nto-low.cc (nto_target_ops): Update. + * win32-low.cc (win32_target_ops): Update. + +2020-02-20 Tankut Baris Aktemur + + Turn process_stratum_target's get_tib_address op into a method of + process_target. + + * target.h (struct process_stratum_target): Remove the target op. + (class process_target): Add the target op. Also add + 'supports_get_tib_address'. + * target.cc (process_target::get_tib_address): Define. + (process_target::supports_get_tib_address): Define. + + Update the derived classes and callers below. + + * server.cc (handle_query): Update. + * linux-low.cc (win32_target_ops): Update. + * lynx-low.cc (lynx_target_ops): Update. + * nto-low.cc (nto_target_ops): Update. + * win32-low.cc (win32_target_ops): Update. + (win32_process_target::supports_get_tib_address): Define. + (win32_get_tib_address): Turn into ... + (win32_process_target::get_tib_address): ... this. + * win32-low.h (class win32_process_target): Update. + +2020-02-20 Tankut Baris Aktemur + + Turn process_stratum_target's thread_stopped op into a method of + process_target. + + * target.h (struct process_stratum_target): Remove the target op. + (class process_target): Add the target op. Also add + 'supports_thread_stopped'. + (target_thread_stopped): Update the macro. + * target.cc (process_target::thread_stopped): Define. + (process_target::supports_thread_stopped): Define. + (prepare_to_access_memory): Update. + + Update the derived classes and callers below. + + * server.cc (queue_stop_reply_callback): Update. + * linux-low.cc (linux_target_ops): Update. + (linux_process_target::supports_thread_stopped): Define. + (linux_thread_stopped): Turn into ... + (linux_process_target::thread_stopped): ... this. + * linux-low.h (class linux_process_target): Update. + * lynx-low.cc (lynx_target_ops): Update. + * nto-low.cc (nto_target_ops): Update. + * win32-low.cc (win32_target_ops): Update. + +2020-02-20 Tankut Baris Aktemur + + Turn process_stratum_target's read_pc and write_pc ops into + methods of process_target. + + * target.h (struct process_stratum_target): Remove the target ops. + (class process_target): Add the target ops. + * target.cc (process_target::read_pc): Define. + (process_target::write_pc): Define. + + Update the derived classes and callers below. + + * regcache.cc (regcache_read_pc): Update. + (regcache_write_pc): Update. + * linux-low.cc (linux_target_ops): Update. + (linux_read_pc): Turn into ... + (linux_process_target::read_pc): ... this. + (linux_write_pc): Turn into ... + (linux_process_target::write_pc): ... this. + * linux-low.h (class linux_process_target): Update. + * lynx-low.cc (lynx_target_ops): Update. + * nto-low.cc (nto_target_ops): Update. + * win32-low.cc (win32_target_ops): Update. + +2020-02-20 Tankut Baris Aktemur + + Turn process_stratum_target's supports_tracepoints op into a + method of process_target. + + * target.h (struct process_stratum_target): Remove the target op. + (class process_target): Add the target op. + (target_supports_tracepoints): Update the macro. + * target.cc (process_target::supports_tracepoints): Define. + + Update the derived classes and callers below. + + * linux-low.cc (linux_target_ops): Update. + (linux_supports_tracepoints): Turn into ... + (linux_process_target::supports_tracepoints): ... this. + * linux-low.h (class linux_process_target): Update. + * lynx-low.cc (lynx_target_ops): Update. + * nto-low.cc (nto_target_ops): Update. + * win32-low.cc (win32_target_ops): Update. + +2020-02-20 Tankut Baris Aktemur + + Turn process_stratum_target's process_qsupported op into a method + of process_target. + + * target.h (struct process_stratum_target): Remove the target op. + (class process_target): Add the target op. + (target_process_qsupported): Update the macro. + * target.cc (process_target::process_qsupported): Define. + + Update the derived classes and callers below. + + * linux-low.cc (linux_target_ops): Update. + (linux_process_qsupported): Turn into ... + (linux_process_target::process_qsupported): ... this. + * linux-low.h (class linux_process_target): Update. + * lynx-low.cc (lynx_target_ops): Update. + * nto-low.cc (nto_target_ops): Update. + * win32-low.cc (win32_target_ops): Update. + +2020-02-20 Tankut Baris Aktemur + + Turn process_stratum_target's read_loadmap op into a method of + process_target. + + * target.h (struct process_stratum_target): Remove the target op. + (class process_target): Add the target op. Also add + 'supports_read_loadmap'. + * target.cc (process_target::read_loadmap): Define. + (process_target::supports_read_loadmap): Define. + + Update the derived classes and callers below. + + * server.cc (handle_qxfer_fdpic): Update. + (handle_query): Update. + * linux-low.cc (linux_target_ops): Update. + (linux_process_target::supports_read_loadmap): Define. + (linux_read_loadmap): Turn into ... + (linux_process_target::read_loadmap): ... this. + * linux-low.h (class linux_process_target): Update. + * lynx-low.cc (lynx_target_ops): Update. + * nto-low.cc (nto_target_ops): Update. + * win32-low.cc (win32_target_ops): Update. + +2020-02-20 Tankut Baris Aktemur + + Turn process_stratum_target's core_of_thread op into a method of + process_target. + + * target.h (struct process_stratum_target): Remove the target op. + (class process_target): Add the target op. + (target_core_of_thread): Update the macro. + * target.cc (process_target::core_of_thread): Define. + + Update the derived classes and callers below. + + * linux-low.cc (linux_target_ops): Update. + (linux_process_target::core_of_thread): Define. + * linux-low.h (class linux_process_target): Update. + * lynx-low.cc (lynx_target_ops): Update. + * nto-low.cc (nto_target_ops): Update. + * win32-low.cc (win32_target_ops): Update. + +2020-02-20 Tankut Baris Aktemur + + Turn process_stratum_target's handle_monitor_command op into a + method of process_target. + + * target.h (struct process_stratum_target): Remove the target op. + (class process_target): Add the target op. + (target_handle_monitor_command): Update the macro. + * target.cc (process_target::handle_monitor_command): Define. + + Update the derived classes and callers below. + + * server.cc (handle_query): Update. + * linux-low.cc (linux_target_ops): Update. + (linux_process_target::handle_monitor_command): Define. + * linux-low.h (class linux_process_target): Update. + * lynx-low.cc (lynx_target_ops): Update. + * nto-low.cc (nto_target_ops): Update. + * win32-low.cc (win32_target_ops): Update. + +2020-02-20 Tankut Baris Aktemur + + Turn process_stratum_target's handle_new_gdb_connection op into a + method of process_target. + + * target.h (struct process_stratum_target): Remove the target op. + (class process_target): Add the target op. + (target_handle_new_gdb_connection): Update the macro. + * target.cc (process_target::handle_new_gdb_connection): Define. + + Update the derived classes and callers below. + + * linux-low.cc (linux_target_ops): Update. + (linux_handle_new_gdb_connection): Turn into ... + (linux_process_target::handle_new_gdb_connection): ... this. + * linux-low.h (class linux_process_target): Update. + * lynx-low.cc (lynx_target_ops): Update. + * nto-low.cc (nto_target_ops): Update. + * win32-low.cc (win32_target_ops): Update. + +2020-02-20 Tankut Baris Aktemur + + Turn process_stratum_target's supports_fork_events, + supports_vfork_events, and supports_exec_events ops into methods + of process_target. + + * target.h (struct process_stratum_target): Remove the target ops. + (class process_target): Add the target ops. + (target_supports_fork_events): Update the macro. + (target_supports_vfork_events): Update the macro. + (target_supports_exec_events): Update the macro. + * target.cc (process_target::supports_fork_events): Define. + (process_target::supports_vfork_events): Define. + (process_target::supports_exec_events): Define. + + Update the derived classes and callers below. + + * linux-low.cc (linux_target_ops): Update. + (linux_supports_fork_events): Turn into ... + (linux_process_target::supports_fork_events): ... this. + (linux_supports_vfork_events): Turn into ... + (linux_process_target::supports_vfork_events): ... this. + (linux_supports_exec_events): Turn into ... + (linux_process_target::supports_exec_events): ... this. + * linux-low.h (class linux_process_target): Update. + * lynx-low.cc (lynx_target_ops): Update. + * nto-low.cc (nto_target_ops): Update. + * win32-low.cc (win32_target_ops): Update. + +2020-02-20 Tankut Baris Aktemur + + Turn process_stratum_target's supports_multi_process op into a + method of process_target. + + * target.h (struct process_stratum_target): Remove the target op. + (class process_target): Add the target op. + * target.cc (process_target::supports_multi_process): Define. + (target_supports_multi_process): Update. + + Update the derived classes and callers below. + + * linux-low.cc (linux_target_ops): Update. + (linux_supports_multi_process): Turn into ... + (linux_process_target::supports_multi_process): ... this. + * linux-low.h (class linux_process_target): Update. + * lynx-low.cc (lynx_target_ops): Update. + * nto-low.cc (nto_target_ops): Update. + * win32-low.cc (win32_target_ops): Update. + +2020-02-20 Tankut Baris Aktemur + + Turn process_stratum_target's supports_non_stop, async, and + start_non_stop ops into methods of process_target. + + * target.h (struct process_stratum_target): Remove the target ops. + (class process_target): Add the target ops. + (target_supports_non_stop): Update the macro. + (target_async): Update the macro. + (start_non_stop): Remove declaration. + * target.cc (process_target::supports_non_stop): Define. + (process_target::async): Define. + (process_target::start_non_stop): Define. + (start_non_stop): Remove. + + Update the derived classes and callers below. + + * server.cc (handle_qxfer_siginfo): Update. + (handle_query): Update. + * linux-low.cc (linux_target_ops): Update. + (linux_supports_non_stop): Turn into ... + (linux_process_target::supports_non_stop): ... this. + (linux_async): Turn into ... + (linux_process_target::async): ... this. + (linux_start_non_stop): Turn into ... + (linux_process_target::start_non_stop): ... this. + * linux-low.h (class linux_process_target): Update. + * lynx-low.cc (lynx_target_ops): Update. + * nto-low.cc (nto_target_ops): Update. + (nto_supports_non_stop): Remove; rely on the default behavior + instead. + * win32-low.cc (win32_target_ops): Update. + +2020-02-20 Tankut Baris Aktemur + + Turn process_stratum_target's qxfer_siginfo op into a method of + process_target. + + * target.h (struct process_stratum_target): Remove the target op. + (class process_target): Add the target op. Also add + 'supports_qxfer_siginfo'. + * target.cc (process_target::qxfer_siginfo): Define. + (process_target::supports_qxfer_siginfo): Define. + + Update the derived classes and callers below. + + * server.cc (handle_qxfer_siginfo): Update. + (handle_query): Update. + * linux-low.cc (linux_target_ops): Update. + (linux_process_target::supports_qxfer_siginfo): Define. + (linux_xfer_siginfo): Turn into ... + (linux_process_target::qxfer_siginfo): ... this. + * linux-low.h (class linux_process_target): Update. + * lynx-low.cc (lynx_target_ops): Update. + * nto-low.cc (nto_target_ops): Update. + * win32-low.cc (win32_target_ops): Update. + +2020-02-20 Tankut Baris Aktemur + + Turn process_stratum_target's qxfer_osdata op into a method of + process_target. + + * target.h (struct process_stratum_target): Remove the target op. + (class process_target): Add the target op. Also add + 'supports_qxfer_osdata'. + * target.cc (process_target::qxfer_osdata): Define. + (process_target::supports_qxfer_osdata): Define. + + Update the derived classes and callers below. + + * server.cc (handle_qxfer_osdata): Update. + (handle_query): Update. + * linux-low.cc (linux_target_ops): Update. + (linux_process_target::supports_qxfer_osdata): Define. + (linux_qxfer_osdata): Turn into ... + (linux_process_target::qxfer_osdata): ... this. + * linux-low.h (class linux_process_target): Update. + * lynx-low.cc (lynx_target_ops): Update. + * nto-low.cc (nto_target_ops): Update. + * win32-low.cc (win32_target_ops): Update. + +2020-02-20 Tankut Baris Aktemur + + Turn process_stratum_target's hostio_last_error op into a + method of process_target. + + * target.h (struct process_stratum_target): Remove the target op. + (class process_target): Add the target op. + * target.cc: Add "hostio.h" to includes. + (process_target::hostio_last_error): Define. + + Update the derived classes and callers below. + + * hostio.cc (hostio_error): Update. + * linux-low.cc: Remove "hostio.h" from includes. + (linux_target_ops): Update. + * lynx-low.cc (lynx_target_ops): Update. + * nto-low.cc (nto_target_ops): Update. + * win32-low.h (class win32_process_target): Update. + * win32-low.cc (win32_target_ops): Update. + (wince_hostio_last_error): Turn into ... + (win32_process_target::hostio_last_error): ... this. + +2020-02-20 Tankut Baris Aktemur + + Turn process_stratum_target's get_tls_address op into a method of + process_target. + + * target.h (struct process_stratum_target): Remove the target op. + (class process_target): Add the target op. Also add + 'supports_get_tls_address'. + * target.cc (process_target::get_tls_address): Define. + (process_target::supports_get_tls_address): Define. + + Update the derived classes and callers below. + + * server.cc (handle_query): Update. + * linux-low.cc (linux_target_ops): Update. + (linux_process_target::supports_get_tls_address): Define. + (linux_process_target::get_tls_address): Define. + * linux-low.h (class linux_process_target): Update. + * lynx-low.cc (lynx_target_ops): Update. + * nto-low.cc (nto_target_ops): Update. + * win32-low.cc (win32_target_ops): Update. + +2020-02-20 Tankut Baris Aktemur + + Turn process_stratum_target's read_offsets op into a method of + process_target. + + * target.h (struct process_stratum_target): Remove the target op. + (class process_target): Add the target op. Also add + 'supports_read_offsets'. + * target.cc (process_target::read_offsets): Define. + (process_target::supports_read_offsets): Define. + + Update the derived classes and callers below. + + * server.cc (handle_query): Update. + * linux-low.cc (SUPPORTS_READ_OFFSETS): New #define directive. + (linux_target_ops): Update. + (linux_process_target::supports_read_offsets): Define. + (linux_read_offsets): Turn into ... + (linux_process_target::read_offsets): ... this. + * linux-low.h (class linux_process_target): Update. + * lynx-low.cc (lynx_target_ops): Update. + * nto-low.cc (nto_target_ops): Update. + * win32-low.cc (win32_target_ops): Update. + +2020-02-20 Tankut Baris Aktemur + + Turn process_stratum_target's stopped_by_watchpoint and + stopped_data_address ops into methods of process_target. + + * target.h (struct process_stratum_target): Remove the target ops. + (class process_target): Add the target ops. + * target.cc (process_target::stopped_by_watchpoint): Define. + (process_target::stopped_data_address): Define. + + Update the derived classes and callers below. + + * remote-utils.cc (prepare_resume_reply): Update. + * linux-low.cc (linux_target_ops): Update. + (linux_stopped_by_watchpoint): Turn into ... + (linux_process_target::stopped_by_watchpoint): ... this. + (linux_stopped_data_address): Turn into ... + (linux_process_target::stopped_data_address): ... this. + * linux-low.h (class linux_process_target): Update. + * lynx-low.cc (lynx_target_ops): Update. + * nto-low.cc (nto_target_ops): Update. + (nto_stopped_by_watchpoint): Turn into ... + (nto_process_target::stopped_by_watchpoint): ... this. + (nto_stopped_data_address): Turn into ... + (nto_process_target::stopped_data_address): ... this. + * nto-low.h (class nto_process_target): Update. + * win32-low.cc (win32_target_ops): Update. + (win32_stopped_by_watchpoint): Turn into ... + (win32_process_target::stopped_by_watchpoint): ... this. + (win32_stopped_data_address): Turn into ... + (win32_process_target::stopped_data_address): ... this. + * win32-low.h (class win32_process_target): Update. + +2020-02-20 Tankut Baris Aktemur + + Turn process_stratum_target's supports_hardware_single_step op into + a method of process_target. + + * target.h (struct process_stratum_target): Remove the target op. + (class process_target): Add the target op. + (target_supports_hardware_single_step): Update the macro. + (target_can_do_hardware_single_step): Remove declaration. + * target.cc (process_target::supports_hardware_single_step): Define. + (target_can_do_hardware_single_step): Remove. + + Update the derived classes and callers below. + + * linux-low.h (class linux_process_target): Update. + * linux-low.cc (linux_target_ops): Update. + (linux_supports_hardware_single_step): Turn into ... + (linux_process_target::supports_hardware_single_step): ... this. + * lynx-low.h (class lynx_process_target): Update. + * lynx-low.cc (lynx_target_ops): Update. + (lynx_process_target::supports_hardware_single_step): Define. + * nto-low.h (class nto_process_target): Update. + * nto-low.cc (nto_target_ops): Update. + (nto_process_target::supports_hardware_single_step): Define. + * win32-low.h (class win32_process_target): Update. + * win32-low.cc (win32_target_ops): Update. + (win32_process_target::supports_hardware_single_step): Define. + +2020-02-20 Tankut Baris Aktemur + + Turn process_stratum_target's {supports_}stopped_by_hw_breakpoint + ops into methods of process_target. + + * target.h (struct process_stratum_target): Remove the target ops. + (class process_target): Add the target ops. + (target_stopped_by_hw_breakpoint): Update the macro. + (target_supports_stopped_by_hw_breakpoint): Update the macro. + * target.cc (process_target::stopped_by_hw_breakpoint): Define. + (process_target::supports_stopped_by_hw_breakpoint): Define. + + Update the derived classes and callers below. + + * linux-low.cc (linux_target_ops): Update. + (linux_stopped_by_hw_breakpoint): Turn into ... + (linux_process_target::stopped_by_hw_breakpoint): ... this. + (linux_supports_stopped_by_hw_breakpoint): Turn into ... + (linux_process_target::supports_stopped_by_hw_breakpoint): ... this. + * linux-low.h (class linux_process_target): Update. + * lynx-low.cc (lynx_target_ops): Update. + * nto-low.cc (nto_target_ops): Update. + * win32-low.cc (win32_target_ops): Update. + +2020-02-20 Tankut Baris Aktemur + + Turn process_stratum_target's {supports_}stopped_by_sw_breakpoint + ops into methods of process_target. + + * target.h (struct process_stratum_target): Remove the target ops. + (class process_target): Add the target ops. + (target_stopped_by_sw_breakpoint): Update the macro. + (target_supports_stopped_by_sw_breakpoint): Update the macro. + * target.cc (process_target::stopped_by_sw_breakpoint): Define. + (process_target::supports_stopped_by_sw_breakpoint): Define. + + Update the derived classes and callers below. + + * linux-low.cc (linux_target_ops): Update. + (linux_stopped_by_sw_breakpoint): Turn into ... + (linux_process_target::stopped_by_sw_breakpoint): ... this. + (linux_supports_stopped_by_sw_breakpoint): Turn into ... + (linux_process_target::supports_stopped_by_sw_breakpoint): ... this. + * linux-low.h (class linux_process_target): Update. + * lynx-low.cc (lynx_target_ops): Update. + * nto-low.cc (nto_target_ops): Update. + * win32-low.cc (win32_target_ops): Update. + +2020-02-20 Tankut Baris Aktemur + + Turn process_stratum_target's insert_point and remove_point ops + into methods of process_target. + + * target.h (struct process_stratum_target): Remove the target ops. + (class process_target): Add the target ops. + * target.cc (process_target::insert_point): Define. + (process_target::remove_point): Define. + + Update the derived classes and callers below. + + * mem-break.cc (set_raw_breakpoint_at): Update. + (delete_raw_breakpoint): Update. + (uninsert_raw_breakpoint): Update. + (reinsert_raw_breakpoint): Update. + * linux-low.cc (linux_target_ops): Update. + (linux_insert_point): Turn into ... + (linux_process_target::insert_point): ... this. + (linux_remove_point): Turn into ... + (linux_process_target::remove_point): ... this. + * linux-low.h (class linux_process_target): Update. + * lynx-low.cc (lynx_target_ops): Update. + * nto-low.cc (nto_target_ops): Update. + (nto_insert_point): Turn into ... + (nto_process_target::insert_point): ... this. + (nto_remove_point): Turn into ... + (nto_process_target::remove_point): ... this. + * nto-low.h (class nto_process_target): Update. + * win32-low.cc (win32_target_ops): Update. + (win32_insert_point): Turn into ... + (win32_process_target::insert_point): ... this. + (win32_remove_point): Turn into ... + (win32_process_target::remove_point): ... this. + * win32-low.h (class win32_process_target): Update. + +2020-02-20 Tankut Baris Aktemur + + Turn process_stratum_target's supports_z_point_type op into a + method of process_target. + + * target.h (struct process_stratum_target): Remove the target op. + (class process_target): Add the target op. + * target.cc (process_target::supports_z_point_type): Define. + + Update the derived classes and callers below. + + * mem-break.cc (z_type_supported): Update. + * linux-low.cc (linux_target_ops): Update. + (linux_supports_z_point_type): Turn into ... + (linux_process_target::supports_z_point_type): ... this. + * linux-low.h (class linux_process_target): Update. + * lynx-low.cc (lynx_target_ops): Update. + * nto-low.cc (nto_target_ops): Update. + (nto_supports_z_point_type): Turn into ... + (nto_process_target::supports_z_point_type): ... this. + * nto-low.h (class nto_process_target): Update. + * win32-low.cc (win32_target_ops): Update. + (win32_supports_z_point_type): Turn into ... + (win32_process_target::supports_z_point_type): ... this. + * win32-low.h (class win32_process_target): Update. + +2020-02-20 Tankut Baris Aktemur + + Turn process_stratum_target's read_auxv op into a method of + process_target. + + * target.h (class process_stratum_target): Remove the target op. + (struct process_target): Add the target op. Also add + 'supports_read_auxv'. + * target.cc (process_target::read_auxv): Define. + (process_target::supports_read_auxv): Define. + + Update the derived classes and callers below. + + * server.cc (handle_qxfer_auxv): Update. + (handle_query): Update. + * linux-low.cc (linux_target_ops): Update. + (linux_process_target::supports_read_auxv): Define. + (linux_read_auxv): Turn into ... + (linux_process_target::read_auxv): ... this. + * linux-low.h (class linux_process_target): Update. + * lynx-low.cc (lynx_target_ops): Update. + * nto-low.cc (nto_target_ops): Update. + (nto_process_target::supports_read_auxv): Define. + (nto_read_auxv): Turn into ... + (nto_process_target::read_auxv): ... this. + * nto-low.h (class nto_process_target): Update. + * win32-low.cc (win32_target_ops): Update. + +2020-02-20 Tankut Baris Aktemur + + Turn process_stratum_target's request_interrupt op into a method of + process_target. + + * target.h (struct process_stratum_target): Remove the target op. + (class process_target): Add the target op. + + Update the derived classes and callers below. + + * remote-utils.cc (putpkt_binary_1): Update. + (input_interrupt): Update. + (getpkt): Update. + * server.cc (handle_v_requests): Update. + * linux-low.cc (linux_target_ops): Update. + (linux_request_interrupt): Turn into ... + (linux_process_target::request_interrupt): ... this. + * linux-low.h (class linux_process_target): Update. + * lynx-low.cc (lynx_target_ops): Update. + (lynx_request_interrupt): Turn into ... + (lynx_process_target::request_interrupt): ... this. + * lynx-low.h (class lynx_process_target): Update. + * nto-low.cc (nto_target_ops): Update. + (nto_request_interrupt): Turn into ... + (nto_process_target::request_interrupt): ... this. + * nto-low.h (class nto_process_target): Update. + * win32-low.cc (win32_target_ops): Update. + (win32_request_interrupt): Turn into ... + (win32_process_target::request_interrupt): ... this. + * win32-low.h (class win32_process_target): Update. + +2020-02-20 Tankut Baris Aktemur + + Turn process_stratum_target's look_up_symbols op into a method of + process_target. + + * target.h (struct process_stratum_target): Remove the target op. + (class process_target): Add the target op. + * target.cc (process_target::look_up_symbols): Define. + + Update the derived classes and callers below. + + * server.cc (handle_query): Update. + * linux-low.cc (linux_target_ops): Update. + (linux_look_up_symbols): Turn into ... + (linux_process_target::look_up_symbols): ... this. + * linux-low.h (class linux_process_target): Update. + * lynx-low.cc (lynx_target_ops): Update. + * nto-low.cc (nto_target_ops): Update. + * win32-low.cc (win32_target_ops): Update. + +2020-02-20 Tankut Baris Aktemur + + Turn process_stratum_target's read_memory and write_memory + ops into methods of process_target. + + * target.h (struct process_stratum_target): Remove the target ops. + (class process_target): Add the target ops. + + Update the derived classes and callers below. + + * linux-aarch32-low.cc (arm_breakpoint_at): Update. + * linux-aarch64-low.cc (aarch64_breakpoint_at): Update. + * linux-arm-low.cc (arm_sigreturn_next_pc): Update. + (arm_get_syscall_trapinfo): Update. + * linux-cris-low.cc (cris_breakpoint_at): Update. + * linux-crisv32-low.cc (cris_breakpoint_at): Update. + * linux-m32r-low.cc (m32r_breakpoint_at): Update. + * linux-mips-low.cc (mips_breakpoint_at): Update. + * linux-nios2-low.cc (nios2_breakpoint_at): Update. + * linux-ppc-low.cc (ppc_breakpoint_at): Update. + * linux-sh-low.cc (sh_breakpoint_at): Update. + * linux-sparc-low.cc (sparc_fill_gregset_to_stack): Update. + (sparc_store_gregset_from_stack): Update. + (sparc_breakpoint_at): Update. + * linux-tic6x-low.cc (tic6x_breakpoint_at): Update. + * linux-tile-low.cc (tile_breakpoint_at): Update. + * linux-x86-low.cc (x86_breakpoint_at): Update. + * linux-xtensa-low.cc (xtensa_breakpoint_at): Update. + * mem-brea.cc (insert_memory_breakpoint): Update. + (validate_inserted_breakpoint): Update. + * target.cc (read_inferior_memory): Update. + (target_write_memory): Update. + * linux-low.cc (linux_target_ops): Update. + (linux_read_memory): Make a wrapper around the read_memory target + op call. + (linux_process_target::read_memory): Rename from linux_read_memory. + (linux_write_memory): Turn into ... + (linux_process_target::write_memory): ... this. + * linux-low.h (class linux_process_target): Update. + * lynx-low.cc (lynx_target_ops): Update. + (lynx_read_memory): Turn into ... + (lynx_process_target::read_memory): ... this. + (lynx_write_memory): Turn into ... + (lynx_process_target::write_memory): ... this. + * lynx-low.h (class lynx_process_target): Update. + * nto-low.cc (nto_target_ops): Update. + (nto_read_memory): Turn into ... + (nto_process_target::read_memory): ... this. + (nto_write_memory): Turn into ... + (nto_process_target::write_memory): ... this. + * nto-low.h (class nto_process_target): Update. + * win32-low.cc (win32_target_ops): Update. + (win32_read_inferior_memory): Turn into ... + (win32_process_target::read_memory): ... this. + (win32_write_inferior_memory): Turn into ... + (win32_process_target::write_memory): ... this. + * win32-low.h (class win32_process_target): Update. + +2020-02-20 Tankut Baris Aktemur + + Turn process_stratum_target's prepare_to_access_memory and + done_accessing_memory ops into methods of process_target. + + * target.h (struct process_stratum_target): Remove the target ops. + (class process_target): Add the target ops. + * target.cc (process_target::prepare_to_access_memory): Define. + (process_target::done_accessing_memory): Define. + (prepare_to_access_memory): Update. + (done_accessing_memory): Update. + + Update the derived classes and callers below. + + * linux-low.cc (linux_target_ops): Update. + (linux_prepare_to_access_memory): Turn into ... + (linux_process_target::prepare_to_access_memory): ... this. + (linux_done_accessing_memory): Turn into ... + (linux_process_target::done_accessing_memory): ... this. + * linux-low.h (class linux_process_target): Update. + * lynx-low.cc (lynx_target_ops): Update. + * nto-low.cc (nto_target_ops): Update. + * win32-low.cc (win32_target_ops): Update. + +2020-02-20 Tankut Baris Aktemur + + Turn process_stratum_target's fetch_registers and store_registers + ops into methods of process_target. + + * target.h (struct process_stratum_target): Remove the target ops. + (class process_target): Add the target ops. + (fetch_inferior_registers): Update the macro. + (store_inferior_registers): Update the macro. + + Update the derived classes and callers below. + + * linux-low.cc (linux_target_ops): Update. + (linux_fetch_registers): Turn into ... + (linux_process_target::fetch_registers): ... this. + (linux_store_registers): Turn into ... + (linux_process_target::store_registers): ... this. + * linux-low.h (class linux_process_target): Update. + * lynx-low.cc (lynx_target_ops): Update. + (lynx_fetch_registers): Turn into ... + (lynx_process_target::fetch_registers): ... this. + (lynx_store_registers): Turn into ... + (lynx_process_target::store_registers): ... this. + * lynx-low.h (class lynx_process_target): Update. + * nto-low.cc (nto_target_ops): Update. + (nto_fetch_registers): Turn into ... + (nto_process_target::fetch_registers): ... this. + (nto_store_registers): Turn into ... + (nto_process_target::store_registers): ... this. + * nto-low.h (class nto_process_target): Update. + * win32-low.cc (win32_target_ops): Update. + (win32_fetch_inferior_registers): Turn into ... + (win32_process_target::fetch_registers): ... this. + (win32_store_inferior_registers): Turn into ... + (win32_process_target::store_registers): ... this. + * win32-low.h (class win32_process_target): Update. + +2020-02-20 Tankut Baris Aktemur + + Turn process_stratum_target's wait op into a method of + process_target. + + * target.h (struct process_stratum_target): Remove the target op. + (class process_target): Add the target op. + + Update the derived classes and callers below. + + * target.cc (target_wait): Update. + * linux-low.cc (linux_target_ops): Update. + (linux_wait): Turn into ... + (linux_process_target::wait): ... this. + * linux-low.h (class linux_process_target): Update. + * lynx-low.cc (lynx_target_ops): Update. + (lynx_wait): Turn into ... + (lynx_process_target::wait): ... this. + * lynx-low.h (class lynx_process_target): Update. + * nto-low.cc (nto_target_ops): Update. + (nto_wait): Turn into ... + (nto_process_target::wait): ... this. + * nto-low.h (class nto_process_target): Update. + * win32-low.cc (win32_target_ops): Update. + (win32_wait): Turn into ... + (win32_process_target::wait): ... this. + (do_initial_child_stuff): Update. + * win32-low.h (class win32_process_target): Update. + +2020-02-20 Tankut Baris Aktemur + + Turn process_stratum_target's resume op into a method of + process_target. + + * target.h (struct process_stratum_target): Remove the target op. + (class process_target): Add the target op. + + Update the derived classes and callers below. + + * server.cc (resume): Update. + * target.cc (target_stop_and_wait): Update. + (target_continue_no_signal): Update. + (target_continue): Update. + * linux-low.cc (linux_target_ops): Update. + (linux_resume): Turn into ... + (linux_process_target::resume): ... this. + * linux-low.h (class linux_process_target): Update. + * lynx-low.cc (lynx_target_ops): Update. + (lynx_resume): Turn into ... + (lynx_process_target::resume): ... this. + * lynx-low.h (class lynx_process_target): Update. + * nto-low.cc (nto_target_ops): Update. + (nto_resume): Turn into ... + (nto_process_target::resume): ... this. + * nto-low.h (class nto_process_target): Update. + * win32-low.cc (win32_target_ops): Update. + (win32_resume): Turn into ... + (win32_process_target::resume): ... this. + (win32_process_target::detach): Update. + (do_initial_child_stuff): Update. + * win32-low.h (class win32_process_target): Update. + +2020-02-20 Tankut Baris Aktemur + + Turn process_stratum_target's thread_alive op into a method of + process_target. + + * target.h (struct process_stratum_target): Remove the target op. + (class process_target): Add the target op. + (mythread_alive): Update the macro. + + Update the derived classes and callers below. + + * linux-low.cc (linux_target_ops): Update. + (linux_thread_alive): Turn into ... + (linux_process_target::thread_alive): ... this. + (wait_for_sigstop): Update. + * linux-low.h (class linux_process_target): Update. + * lynx-low.cc (lynx_target_ops): Update. + (lynx_thread_alive): Turn into ... + (lynx_process_target::thread_alive): ... this. + * lynx-low.h (class lynx_process_target): Update. + * nto-low.cc (nto_target_ops): Update. + (nto_thread_alive): Turn into ... + (nto_process_target::thread_alive): ... this. + * nto-low.h (class nto_process_target): Update. + * win32-low.cc (win32_target_ops): Update. + (win32_thread_alive): Turn into ... + (win32_process_target::thread_alive): ... this. + * win32-low.h (class win32_process_target): Update. + +2020-02-20 Tankut Baris Aktemur + + Turn process_stratum_target's join op into a method of + process_target. + + * target.h (struct process_stratum_target): Remove the target op. + (class process_target): Add the target op. + (join_inferior): Update the macro. + + Update the derived classes and callers below. + + * linux-low.cc (linux_target_ops): Update. + (linux_join): Turn into ... + (linux_process_target::join): ... this. + * linux-low.h (class linux_process_target): Update. + * lynx-low.cc (lynx_target_ops): Update. + (lynx_join): Turn into ... + (lynx_process_target::join): ... this. + * lynx-low.h (class lynx_process_target): Update. + * nto-low.cc (nto_target_ops): Update. + (nto_process_target::join): Define. + * nto-low.h (class nto_process_target): Update. + * win32-low.cc (win32_target_ops): Update. + (win32_join): Turn into ... + (win32_process_target::join): ... this. + * win32-low.h (class win32_process_target): Update. + +2020-02-20 Tankut Baris Aktemur + + Turn process_stratum_target's mourn op into a method of + process_target. + + * target.h (struct process_stratum_target): Remove the target op. + (class process_target): Add the target op. + + Update the derived classes and callers below. + + * target.cc (target_mourn_inferior): Update. + * linux-low.cc (linux_target_ops): Update. + (linux_mourn): Turn into ... + (linux_process_target::mourn): ... this. + (handle_extended_wait): Update. + (linux_process_target::kill): Update. + (linux_process_target::detach): Update. + * linux-low.h (class linux_process_target): Update. + * lynx-low.cc (lynx_target_ops): Update. + (lynx_mourn): Turn into ... + (lynx_process_target::mourn): ... this. + * lynx-low.h (class lynx_process_target): Update. + * nto-low.cc (nto_target_ops): Update. + (nto_mourn): Turn into ... + (nto_process_target::mourn): ... this. + * nto-low.h (class nto_process_target): Update. + * win32-low.cc (win32_target_ops): Update. + (win32_mourn): Turn into ... + (win32_process_target::mourn): ... this. + * win32-low.h (class win32_process_target): Update. + +2020-02-20 Tankut Baris Aktemur + + Turn process_stratum_target's detach op into a method of + process_target. + + * target.h (struct process_stratum_target): Remove the target op. + (class process_target): Add the target op. + (detach_inferior): Update the macro. + + Update the derived classes and callers below. + + * linux-low.cc (linux_target_ops): Update. + (linux_detach): Turn into ... + (linux_process_target::detach): ... this. + * linux-low.h (class linux_process_target): Update. + * lynx-low.cc (lynx_target_ops): Update. + (lynx_detach): Turn into ... + (lynx_process_target::detach): ... this. + * lynx-low.h (class lynx_process_target): Update. + * nto-low.cc (nto_target_ops): Update. + (nto_detach): Turn into ... + (nto_process_target::detach): ... this. + * nto-low.h (class nto_process_target): Update. + * win32-low.cc (win32_target_ops): Update. + (win32_detach): Turn into ... + (win32_process_target::detach): ... this. + * win32-low.h (class win32_process_target): Update. + +2020-02-20 Tankut Baris Aktemur + + Turn process_stratum_target's kill op into a method of + process_target. + + * target.h (struct process_stratum_target): Remove the target op. + (class process_target): Add the target op. + + Update the derived classes and callers below. + + * target.cc (kill_inferior): Update. + * linux-low.cc (linux_target_ops): Update. + (linux_kill): Turn into ... + (linux_process_target::kill): ... this. + * linux-low.h (class linux_process_target): Update. + * lynx-low.cc (lynx_target_ops): Update. + (lynx_kill): Turn into ... + (lynx_process_target::kill): ... this. + * lynx-low.h (class lynx_process_target): Update. + * nto-low.cc (nto_target_ops): Update. + (nto_kill): Turn into ... + (nto_process_target::kill): ... this. + * nto-low.h (class nto_process_target): Update. + * win32-low.cc (win32_target_ops): Update. + (win32_kill): Turn into ... + (win32_process_target::kill): ... this. + * win32-low.h (class win32_process_target): Update. + +2020-02-20 Tankut Baris Aktemur + + Turn process_stratum_target's attach op into a method of + process_target. + + * target.h (struct process_stratum_target): Remove the target op. + (class process_target): Add the target op. + (myattach): Update the macro. + + Update the derived classes and callers below. + + * linux-low.cc (linux_target_ops): Update. + (linux_attach): Turn into ... + (linux_process_target::attach): ... this. + * linux-low.h (class linux_process_target): Update. + * lynx-low.cc (lynx_target_ops): Update. + (lynx_attach): Turn into ... + (lynx_process_target::attach): ... this. + * lynx-low.h (class lynx_process_target): Update. + * nto-low.cc (nto_target_ops): Update. + (nto_attach): Turn into ... + (nto_process_target::attach): ... this. + * nto-low.h (class nto_process_target): Update. + * win32-low.cc (win32_target_ops): Update. + (win32_attach): Turn into ... + (win32_process_target::attach): ... this. + * win32-low.h (class win32_process_target): Update. + +2020-02-20 Tankut Baris Aktemur + + Turn process_stratum_target's post_create_inferior op into a method + of process_target. + + * target.h (struct process_stratum_target): Remove the target op. + (class process_target): Add the target op. + (target_post_create_inferior): Update the macro. + * target.cc (process_target::post_create_inferior): Define. + + Update the derived classes and callers below. + + * linux-low.cc (linux_target_ops): Update. + (linux_post_create_inferior): Turn into ... + (linux_process_target::post_create_inferior): ... this. + * linux-low.h (class linux_process_target): Update. + * lynx-low.cc (lynx_target_ops): Update. + * nto-low.cc (nto_target_ops): Update. + * win32-low.cc (win32_target_ops): Update. + +2020-02-20 Tankut Baris Aktemur + + Turn process_stratum_target's create_inferior op into a method of + process_target. + + * target.h (struct process_stratum_target): Remove the target op. + (class process_target): Add the target op. + (create_inferior): Rename the macro to ... + (target_create_inferior): ... this. + + Update the derived classes and callers below. + + * server.cc (handle_v_run): Update. + (captured_main): Update. + (process_serial_event): Update. + * linux-low.cc (linux_target_ops): Update. + (linux_create_inferior): Turn into ... + (linux_process_target::create_inferior): ... this. + * linux-low.h (class linux_process_target): Update. + * lynx-low.cc (lynx_target_ops): Update. + (lynx_create_inferior): Turn into ... + (lynx_process_target::create_inferior): ... this. + * lynx-low.h (class lynx_process_target): Update. + * nto-low.cc (nto_target_ops): Update. + (nto_create_inferior): Turn into ... + (nto_process_target::create_inferior): ... this. + * nto-low.h (class nto_process_target): Update. + * win32-low.cc (win32_target_ops): Update. + (win32_create_inferior): Turn into ... + (win32_process_target::create_inferior): ... this. + * win32-low.h (class win32_process_target): Update. + +2020-02-20 Tankut Baris Aktemur + + * target.h (class process_target): New class definition. + (struct process_stratum_target) : New field with type + 'process_target*'. + * linux-low.h (class linux_process_target): Define as a derived + class of 'process_target'. + * linux-low.cc (linux_target_ops): Add a linux_process_target* + as the 'pt' field. + * lynx-low.h (class lynx_process_target): Define as a derived + class of 'process_target'. + * lynx-low.cc (lynx_target_ops): Add a lynx_process_target* + as the 'pt' field. + * nto-low.h (class nto_process_target): Define as a derived + class of 'process_target'. + * nto-low.cc (nto_target_ops): Add an nto_process_target* + as the 'pt' field. + * win32-low.h (class win32_process_target): Define as a derived + class of 'process_target'. + * win32-low.cc (win32_target_ops): Add a win32_process_target* + as the 'pt' field. + +2020-02-19 Andrew Burgess + + * configure: Regenerate. + +2020-02-19 Maciej W. Rozycki + Andrew Burgess + + * linux-riscv-low.cc: New file. + * Makefile.in (SFILES): Add linux-riscv-low.cc, arch/riscv.c, + and nat/riscv-linux-tdesc.c. + * configure.srv (srv_tgtobj) + (srv_linux_regsets, srv_linux_usrregs, srv_linux_thread_db): + Define. + +2020-02-14 Tom Tromey + + * acinclude.m4: Don't include acx_configure_dir.m4. + * Makefile.in (LIBIBERTY_BUILDDIR, GNULIB_BUILDDIR): Update. + (SUBDIRS, CLEANDIRS, REQUIRED_SUBDIRS): Remove. + (all, install-only, uninstall, clean-info, clean) + (maintainer-clean): Don't recurse. + (subdir_do, all-lib): Remove. + ($(LIBGNU) $(LIBIBERTY) $(GNULIB_H)): Remove rule. + (GNULIB_H): Remove. + (generated_files): Update. + ($(GNULIB_BUILDDIR)/Makefile): Remove rule. + * configure: Rebuild. + * configure.ac: Don't configure gnulib or libiberty. + (GNULIB): Update. + +2020-02-14 Eli Zaretskii + + * win32-low.c (create_process): Prepend PROGRAM to ARGS when + preparing the command line for CreateProcess. + (win32_create_inferior): Reflect the program name in debugging + output that shows the process and its command line. + +2020-02-13 Simon Marchi + + * Makefile.in: Rename source files from .c to .cc. + * %.c: Rename to %.cc. + * configure.ac: Rename server.c to server.cc. + * configure: Re-generate. + +2020-02-13 Simon Marchi + + * Makefile.in: Rename gdbsupport source files from .c to .cc. + +2020-02-12 Hannes Domani + + * win32-low.c (win32_create_inferior): Set signal_pid. + +2020-02-12 Maciej W. Rozycki + Pedro Alves + + Skip building gdbserver in a cross-configuration. + * configure.srv: Set $gdbserver_host depending on whether $target + is $host. Use $gdbserver_host instead of $host. + +2020-02-11 Simon Marchi + + * configure: Re-generate. + +2020-02-11 Simon Marchi + + * configure: Re-generate. + +2020-02-11 Simon Marchi + + * acinclude.m4: Update warning.m4 path. + +2020-02-09 Hannes Domani + + * win32-low.c (win32_clear_inferiors): Reset siginfo_er. + (handle_exception): Set siginfo_er. + (win32_xfer_siginfo): New function. + +2020-02-07 Tom Tromey + Pedro Alves + + * README: Update build documentation. + * configure.srv: Set UNSUPPORTED if host is unsupported. Check + host, not target. + * configure.ac: Update paths. + * configure: Rebuild. + * acinclude.m4: Update paths. + * Makefile.in: Update include paths. + (depcomp, INCLUDE_DIR, INCGNU, INCSUPPORT, INCLUDE_CFLAGS) + (SFILES, XML_DIR, n, $(GNULIB_BUILDDIR)/Makefile, config.status) + (version-generated.c, stamp-xml, regdat_sh, arch/%-ipa.o) + (gdbsupport/%-ipa.o, %-ipa.o, arch/%.o, gdbsupport/%.o, %.o) + (%-generated.c): Update paths. + * Move entire directory from ../gdb/gdbserver. + +2020-01-29 Maciej W. Rozycki + + * configure.srv : Fix whitespace damage. + +2020-01-29 Pedro Franco de Carvalho + + * configure.srv (powerpc*-*-linux*): Use srv_tgtobj in second + assignment instead of srv_linux_obj. + +2020-01-28 Hannes Domani + + * server.c (handle_qxfer_libraries): Write segment-address with + paddress. + +2020-01-24 Hannes Domani + + * Makefile.in (install-strip): New target. + (install_sh, INSTALL_STRIP_PROGRAM, STRIP): New variables. + * aclocal.m4: Regenerate. + * configure: Regenerate. + * configure.ac: Add AM_PROG_INSTALL_STRIP. + +2020-01-24 Maciej W. Rozycki + + * Makefile.in (SFILES): Adjust paths to point to real files. + (OBS): Move waitstatus.o to target/waitstatus.o. + (TAGS): Transform paths appropriately. + (%.o): Rename to... + (nat/%.o): ... this pattern rule. + (%.o): Rename to... + (target/%.o): ... this pattern rule. + * configure.srv: Adjust paths throughout to include nat/ prefix + with the revant files. + * configure.ac: Add `nat' and `target' to CONFIG_SRC_SUBDIR. + * configure: Regenerate. + +2020-01-24 Maciej W. Rozycki + + * Makefile.in (TAGS): Remove config files from the recipe. + +2020-01-14 Tom Tromey + + * configure: Rebuild. + * configure.ac: Remove any checks that were added to common.m4. + * acinclude.m4: Include lib-ld.m4, lib-prefix.m4, and + lib-link.m4. + +2020-01-14 Tom Tromey + + * server.h: Include config.h. + * gdbreplay.c: Include config.h. + * configure: Rebuild. + * configure.ac: Don't source common.host. + * acinclude.m4: Update path. + * Makefile.in (INCSUPPORT): New variable. + (INCLUDE_CFLAGS): Add INCSUPPORT. + (SFILES): Update paths. + (version-generated.c): Update path to create-version.sh. + (gdbsupport/%-ipa.o, gdbsupport/%.o): Update paths. + +2020-01-14 Tom Tromey + + * configure.ac (LIBS): Use WIN32APILIBS. + (USE_WIN32API): Don't define. + * configure: Rebuild. + +2020-01-14 Tom Tromey + + * configure: Rebuild. + +2020-01-13 Simon Marchi + + * Makefile.in (%-generated.c): Remove rule for files from + regformats/i386. + +2020-01-13 Simon Marchi + + * configure: Re-generate. + +2020-01-13 Simon Marchi + + * tracepoint.h (IP_AGENT_EXPORT_FUNC) [!IN_PROCESS_AGENT]: + Define to static. + * tracepoint.c (stop_tracing, flush_trace_buffer, + about_to_request_buffer_space, get_trace_state_variable_value, + set_trace_state_variable_value, gdb_collect): Add declaration. + +2020-01-13 Simon Marchi + + * linux-x86-low.c (x86_linux_regs_info, amd64_emit_eq_goto, + amd64_emit_ne_goto, amd64_emit_lt_goto, amd64_emit_le_goto, + amd64_emit_gt_goto, amd64_emit_ge_goto, amd64_emit_ge_goto, + i386_emit_eq_goto, i386_emit_ne_goto, i386_emit_lt_goto, + i386_emit_le_goto, i386_emit_gt_goto, i386_emit_ge_goto): Make + static. + +2020-01-13 Simon Marchi + + * inferiors.c: Include gdbsupport/common-inferior.h. + +2020-01-13 Simon Marchi + + * hostio-errno.c: Include hostio.h. + +2020-01-13 Simon Marchi + + * Makefile.in (%-generated.c): Make $(regdat_sh) a regular + prerequisite. + +2020-01-12 Simon Marchi + + * linux-arm-tdesc.c: Include linux-arm-tdesc.h. + * linux-arm-tdesc.h: Include arch/arm.h. + +2020-01-12 Simon Marchi + + * linux-aarch64-low.c (aarch64_write_goto_address): Make static. + +2020-01-12 Simon Marchi + + * linux-aarch32-tdesc.c: Include linux-aarch32-tdesc.h. + * linux-aarch64-tdesc.c: Include linux-aarch64-tdesc.h. + +2020-01-10 Pedro Alves + + * fork-child.c (post_fork_inferior): Pass target down to + startup_inferior. + * inferiors.c (switch_to_thread): Add process_stratum_target + parameter. + * lynx-low.c (lynx_target_ops): Now a process_stratum_target. + * nto-low.c (nto_target_ops): Now a process_stratum_target. + * linux-low.c (linux_target_ops): Now a process_stratum_target. + * remote-utils.c (prepare_resume_reply): Pass the target to + switch_to_thread. + * target.c (the_target): Now a process_stratum_target. + (done_accessing_memory): Pass the target to switch_to_thread. + (set_target_ops): Ajust to use process_stratum_target. + * target.h (struct target_ops): Rename to ... + (struct process_stratum_target): ... this. + (the_target, set_target_ops): Adjust. + (prepare_to_access_memory): Adjust comment. + * win32-low.c (child_xfer_memory): Adjust to use + process_stratum_target. + (win32_target_ops): Now a process_stratum_target. + +2020-01-06 Eli Zaretskii + Pedro Alves + + * win32-low.c (get_child_debug_event): Extract the fatal exception + from the exit status and convert to the equivalent Posix signal + number. + (win32_wait): Allow TARGET_WAITKIND_SIGNALLED status as well. + * Makefile.in (OBS, SFILES): Add gdb_wait.[co]. + +2020-01-01 Hannes Domani + + * Makefile.in: Use INSTALL_PROGRAM_ENV. + +2020-01-01 Joel Brobecker + + * server.c (gdbserver_version): Change copyright year to 2020. + * gdbreplay.c (gdbreplay_version): Likewise. + +2019-12-19 Christian Biesinger + + * configure: Regenerate. + * configure.ac: Quote variable arguments of test. + +2019-12-16 Bernd Edlinger + + * Makefile.in: Fix build with GNU Make 3.81 + +2019-12-16 Tom Tromey + + * server.c (get_exec_file): Constify result. + +2019-12-10 Christian Biesinger + + * Makefile.in: Add safe-strerror.c to gdbreplay and IPA, and change + UNDO_GNULIB_CFLAGS to undo strerror_r instead of strerror. + * config.in: Regenerate. + * configure: Regenerate. + * configure.ac: Don't check for strerror. + * linux-i386-ipa.c (initialize_fast_tracepoint_trampoline_buffer): + Call safe_strerror instead of strerror. + * server.h (strerror): Remove this now-unnecessary declaration. + * tracepoint.c (init_named_socket): Call safe_strerror instead of + strerror. + (gdb_agent_helper_thread): Likewise. + * utils.c (perror_with_name): Likewise. + +2019-11-26 Tom Tromey + + * configure, config.in: Rebuild. + +2019-11-26 Tom Tromey + + * remote-utils.c (block_unblock_async_io): Use gdb_sigmask. + * linux-low.c (linux_wait_for_event_filtered, linux_async): Use + gdb_sigmask. + * configure, config.in: Rebuild. + +2019-11-26 Tom Tromey + + * Makefile.in (PTHREAD_CFLAGS, PTHREAD_LIBS): New variables. + (INTERNAL_CFLAGS_BASE): Use PTHREAD_CFLAGS. + (GDBSERVER_LIBS): Use PTHREAD_LIBS. + * acinclude.m4: Include ax_pthread.m4. + * config.in, configure: Rebuild. + +2019-11-26 Christian Biesinger + + * debug.c (debug_set_output): Call safe_strerror instead of + strerror. + * linux-low.c (attach_proc_task_lwp_callback): Likewise. + (linux_kill_one_lwp): Likewise. + (linux_detach_one_lwp): Likewise. + (linux_wait_for_event_filtered): Likewise. + (store_register): Likewise. + * lynx-low.c (lynx_attach): Likewise. + * mem-break.c (insert_memory_breakpoint): Likewise. + (remove_memory_breakpoint): Likewise. + (delete_fast_tracepoint_jump): Likewise. + (set_fast_tracepoint_jump): Likewise. + (uninsert_fast_tracepoint_jumps_at): Likewise. + (reinsert_fast_tracepoint_jumps_at): Likewise. + * nto-low.c (nto_xfer_memory): Likewise. + (nto_resume): Likewise. + +2019-11-20 Luis Machado + + * linux-aarch64-low.c (is_sve_tdesc): Check against target feature + instead of register count. + * tdesc.c (tdesc_contains_feature): New function. + * tdesc.h (tdesc_contains_feature): New prototype. + +2019-11-15 Christian Biesinger + + * Makefile.in: Add safe-strerror.c. + * configure: Regenerate. + * configure.ac: Don't source common.host. + +2019-11-15 Christian Biesinger + + * config.in: Regenerate. + * configure: Regenerate. + +2019-11-12 Andrew Burgess + + * ax.c (ax_printf): Handle size_t_arg. + +2019-11-06 Christian Biesinger + + * linux-tdep.c (linux_info_proc): Use strtok_r instead of strtok. + * mi/mi-main.c (output_cores): Likewise. + * nat/linux-osdata.c (linux_xfer_osdata_cpus): Likewise. + (linux_xfer_osdata_modules): Likewise. + * remote.c (register_remote_support_xml): Likewise. + * sparc64-tdep.c (adi_is_addr_mapped): Likewise. + * xml-syscall.c (syscall_create_syscall_desc): Likewise. + +2019-11-01 Christian Biesinger + + * configure: Regenerate. + * configure.ac: Remove check for strerror_r. + +2019-10-31 Christian Biesinger + + * config.in: Regenerate. + * configure: Regenerate. + * configure.ac: Also check for strerror_r. + +2019-10-31 Christian Biesinger + + * ax.h (debug_agent): Remove duplicate declaration. + +2019-10-26 Tom de Vries + + * linux-aarch64-low.c: Fix typos in comments. + * linux-arm-low.c: Same. + * linux-low.c: Same. + * linux-ppc-low.c: Same. + * proc-service.c: Same. + * regcache.h: Same. + * server.c: Same. + * tracepoint.c: Same. + * win32-low.c: Same. + +2019-10-25 Tom Tromey + + * utils.c (xstrdup): Remove. + +2019-10-23 Tom Tromey + + * configure, config.in: Rebuild. + +2019-10-23 Tom Tromey + + * configure: Rebuild. + * acinclude.m4: Use m4_include, not sinclude. + +2019-10-17 Tom Tromey + + * configure: Rebuild. + * configure.ac: Use AC_CONFIG_HEADERS. Create stamp-h there, not + in AC_CONFIG_FILES invocation. + * Makefile.in (stamp-h, Makefile): Use new-style config.status + invocation. + +2019-10-16 Christian Biesinger + + * server.c: Include xml-builtin.h. + (get_xml_features): Don't declare xml_builtins here. + +2019-10-15 Andrew Burgess + + * Makefile.in: Remove references to vec-ipa.o. + +2019-10-15 Andrew Burgess + + * Makefile.in: Remove references to vec.c. + +2019-10-02 Christian Biesinger + + * server.c (server_waiting): Change to bool. + (extended_protocol): Likewise. + (response_needed): Likewise. + (exit_requested): Likewise. + (run_once): Likewise. + (report_no_resumed): Likewise. + (non_stop): Likewise. + (disable_packet_vCont): Likewise. + (disable_packet_Tthread): Likewise. + (disable_packet_qC): Likewise. + (disable_packet_qfThreadInfo): Likewise. + (handle_general_set): Update. + (handle_detach): Update. + (handle_monitor_command): Update. + (handle_query): Update. + (captured_main): Update. + (process_serial_event): Update. + * server.h (server_waiting): Change to bool. + (disable_packet_vCont): Likewise. + (disable_packet_Tthread): Likewise. + (disable_packet_qC): Likewise. + (disable_packet_qfThreadInfo): Likewise. + (run_once): Likewise. + (non_stop): Likewise. + * target.c (target_stop_and_wait): Update. + +2019-10-02 Tom Tromey + + * Makefile.in (SFILES): Add common-inferior.c. + (OBS): Add common-inferior.o. + * server.c (startup_with_shell): Don't define. + +2019-10-02 Andrew Burgess + + * linux-low.c (linux_low_read_btrace): Update for change to + std::vector. + +2019-09-20 Christian Biesinger + + * debug.c (debug_threads): Remove comment in favor of the header. + * debug.h (using_threads): Add declaration. + (debug_threads): Add comment. + * linux-aarch64-low.c: Include debug.h and remove declaration of + debug_threads. + * nto-low.c: Likewise. + * remote-utils.c: Likewise. + * thread-db.c: Likewise. + +2019-09-20 Ulrich Weigand + + * configure.srv (ipa_ppc_linux_regobj): Remove powerpc-cell32l-ipa.o + and powerpc-cell64l-ipa.o. + (powerpc*-*-linux*): Remove powerpc-cell32l.o and powerpc-cell64l.o + from srv_regobj. Remove rs6000/powerpc-cell32l.xml and + rs6000/powerpc-cell64l.xml from srv_xmlfiles. + (spu*-*-*): Remove. + + * spu-low.c: Remove file. + + * linux-ppc-low.c (INSTR_SC, NR_spu_run): Remove. + (parse_spufs_run): Remove. + (ppc_get_pc): Remove Cell/B.E. support. + (ppc_set_pc): Likewise. + (ppc_breakpoint_at): Likewise. + (ppc_arch_setup): Likewise. + (ppc_get_ipa_tdesc_idx): Do not handle tdesc_powerpc_cell64l or + tdesc_powerpc_cell32l. + (initialize_low_arch): Do not call init_registers_powerpc_cell64l + or init_registers_powerpc_cell32l. + * linux-ppc-ipa.c (get_ipa_tdesc): Do not handle PPC_TDESC_CELL. + (initialize_low_tracepoint): Do not call init_registers_powerpc_cell64l + or init_registers_powerpc_cell32l. + * linux-ppc-tdesc-init.h (PPC_TDESC_CELL): Mark as unused. + (init_registers_powerpc_cell32l): Remove prototype. + (init_registers_powerpc_cell64l): Likewise. + + * target.h (struct target_ops): Remove qxfer_spu member. + * server.c (handle_qxfer_spu): Remove. + (qxfer_packets): Remove entry for "spu". + (handle_query): No longer support qXfer:spu:read or qXfer:spu:write. + * linux-low.c (SPUFS_MAGIC): Remove. + (spu_enumerate_spu_ids): Remove. + (linux_qxfer_spu): Remove. + (linux_target_ops): Remove qxfer_spu member. + * lynx-low.c (lynx_target_ops): Remove qxfer_spu member. + * nto-low.c (nto_target_ops): Remove qxfer_spu member. + * win32-low.c (win32_target_ops): Remove qxfer_spu member. + +2019-08-23 Sergio Durigan Junior + + * Makefile.in (SFILES): Add 'gdbsupport/gdb-dlfcn.c'. + (OBS): Add 'gdbsupport/gdb-dlfcn.o'. + * config.in: Regenerate. + * configure: Regenerate. + +2019-08-15 Tom Tromey + + * target.c (target_write_memory): Use gdb::byte_vector. + +2019-08-15 Tom Tromey + + * tracepoint.c (write_inferior_data_pointer) + (write_inferior_integer, write_inferior_int8) + (write_inferior_uinteger, m_tracepoint_action_download) + (r_tracepoint_action_download, x_tracepoint_action_download) + (l_tracepoint_action_download, clear_inferior_trace_buffer) + (download_agent_expr, download_tracepoint_1) + (download_trace_state_variables, upload_fast_traceframes): Update. + * server.c (gdb_write_memory): Update. + * remote-utils.c (relocate_instruction): Update. + * proc-service.c (ps_pdwrite): Update. + * mem-break.c (remove_memory_breakpoint) + (delete_fast_tracepoint_jump, set_fast_tracepoint_jump) + (uninsert_fast_tracepoint_jumps_at) + (reinsert_fast_tracepoint_jumps_at): Update. + * linux-x86-low.c (append_insns) + (i386_install_fast_tracepoint_jump_pad) + (amd64_write_goto_address, i386_write_goto_address): Update. + * linux-s390-low.c (append_insns, s390_write_goto_address): + Update. + * linux-ppc-low.c (ppc_relocate_instruction) + (ppc_install_fast_tracepoint_jump_pad, emit_insns) + (ppc_write_goto_address): Update. + * linux-aarch64-low.c (append_insns): Update. + * target.h (struct target_ops): Update. + (write_inferior_memory): Don't declare. + * target.c (target_write_memory): Rename from + write_inferior_memory. Remove old target_write_memory. + +2019-08-15 Tom Tromey + + * target.c (write_inferior_memory): Use std::vector. + +2019-08-06 Frank Ch. Eigler + + PR build/24886 + * configure.ac: Drop enable-libmcheck support. + * configure, config.in: Rebuild. + * acinclude.m4: Don't include it. + +2019-07-19 Alan Hayward + + * configure.srv: Remove Arm xml files. + +2019-07-19 Alan Hayward + + * configure.srv: Add new files. Remove xml generated files. + * linux-aarch32-low.c (initialize_low_arch_aarch32): Don't init + registers. + * linux-aarch32-low.h (tdesc_arm_with_neon): Remove. + * linux-aarch32-tdesc.c: New file. + * linux-aarch32-tdesc.h: New file. + * linux-aarch64-low.c (aarch64_arch_setup): Call aarch32_linux_read_description. + * linux-arm-low.c (init_registers_arm, tdesc_arm) + (init_registers_arm_with_iwmmxt, tdesc_arm_with_iwmmxt) + (init_registers_arm_with_vfpv2, tdesc_arm_with_vfpv2) + (init_registers_arm_with_vfpv3, tdesc_arm_with_vfpv3): Remove. + (arm_fill_wmmxregset, arm_store_wmmxregset, arm_fill_vfpregset) + (arm_store_vfpregset): Call arm_linux_get_tdesc_fp_type. + (arm_read_description): Call arm_linux_read_description. + (initialize_low_arch): Don't init registers. + * linux-arm-tdesc.c: New file. + * linux-arm-tdesc.h: New file. + +2019-07-10 Alan Hayward + + * linux-arm-low.c (arm_fill_wmmxregset, arm_store_wmmxregset): + Move counter inside for. + (arm_read_description): Check ptrace earlier. + (arm_arch_setup): Call arm_linux_init_hwbp_cap here. + +2019-07-09 Tom Tromey + + * configure: Rebuild. + * configure.ac: Change common to gdbsupport. + * acinclude.m4: Change common to gdbsupport. + * Makefile.in (SFILES, OBS, GDBREPLAY_OBS, IPA_OBJS) + (version-generated.c, gdbsupport/%-ipa.o, gdbsupport/%.o): Change + common to gdbsupport. + * ax.c, event-loop.c, fork-child.c, gdb_proc_service.h, + gdbreplay.c, gdbthread.h, hostio-errno.c, hostio.c, i387-fp.c, + inferiors.c, inferiors.h, linux-aarch64-tdesc-selftest.c, + linux-amd64-ipa.c, linux-i386-ipa.c, linux-low.c, + linux-tic6x-low.c, linux-x86-low.c, linux-x86-tdesc-selftest.c, + linux-x86-tdesc.c, lynx-i386-low.c, lynx-low.c, mem-break.h, + nto-x86-low.c, regcache.c, regcache.h, remote-utils.c, server.c, + server.h, spu-low.c, symbol.c, target.h, tdesc.c, tdesc.h, + thread-db.c, tracepoint.c, win32-i386-low.c, win32-low.c: Change + common to gdbsupport. + +2019-07-04 Alan Hayward + + * linux-aarch32-low.c (arm_read_description, arm_regsets): Use new + defines. + * linux-arm-low.c (arm_read_description, arm_regsets): Likewise. + +2019-07-04 Alan Hayward + + * configure.srv: Remove legacy xml. + * linux-aarch64-low.c (initialize_low_arch): Remove + initialize_low_tdesc call. + * linux-aarch64-tdesc-selftest.c: Remove file. + * linux-aarch64-tdesc.h (initialize_low_tdesc): Remove. + * linux-x86-low.c (initialize_low_arch): Remove + initialize_low_tdesc call. + * linux-x86-tdesc-selftest.c: Remove file. + * linux-x86-tdesc.h (initialize_low_tdesc): Remove. + +2019-06-20 Tom de Vries + + * linux-s390-ipa.c (get_ipa_tdesc)[!__s390x__]: Use + s390_te_linux64_ft_collect_regmap for S390_TDESC_GS. + +2019-06-19 Tom de Vries + + * debug.h (debug_write): Change return type to ssize_t. + * debug.c (debug_write): Same. + +2019-06-14 Tom Tromey + + * configure.ac: Use new path to gnulib. + * configure: Rebuild. + * Makefile.in (INCGNU, $(GNULIB_BUILDDIR)/Makefile): Use new path + to gnulib. + +2019-06-11 Tom Tromey + + * Makefile.in (SFILES): Add alloc.c. + (OBS): Add alloc.o. + (IPA_OBJS): Add alloc-ipa.o. + (alloc-ipa.o): New target. + (%.o: ../%.c): New pattern rule. + +2019-06-10 Tom Tromey + + * remote-utils.c (look_up_one_symbol, relocate_instruction): Don't + end warning with a newline. + * linux-s390-low.c (s390_get_wordsize): Don't end warning with a + newline. + * thread-db.c (attach_thread): Don't end warning with a newline. + (thread_db_notice_clone): Likewise. + * tracepoint.c (gdb_agent_helper_thread): Don't end warning with a + newline. + * linux-x86-low.c (x86_get_min_fast_tracepoint_insn_len): Don't + end warning with a newline. + +2019-06-04 Pedro Alves + + * server.c (captured_main): Use make_unique_xstrdup. + +2019-06-02 Tom Tromey + + * gdbreplay.c (fromhex): Remove. + * Makefile.in (GDBREPLAY_OBS): Add rsp-low.o. + +2019-05-29 Tom Tromey + + * configure: Rebuild. + +2019-05-06 Kevin Buettner + + * linux-x86-low.c (x86_fill_gregset): Don't compile 64-bit + sign extension code on 32-bit builds. + +2019-05-03 Eli Zaretskii + + * remote-utils.c: + * gdbreplay.c [USE_WIN32API]: Remove the _WIN32_WINNT override. + +2019-04-19 Tom Tromey + + * server.c (struct vstop_notif): Derive from notif_event. + : Remove. + (queue_stop_reply): Update. + (remove_all_on_match_ptid): Change type. Rewrite. + (discard_queued_stop_replies): Rewrite. + (in_queued_stop_replies_ptid): Change type. + (in_queued_stop_replies): Rewrite. + (notif_stop): Update. + (queue_stop_reply_callback): Update. + (captured_main): Don't call initialize_notif. + (push_stop_notification): Update. + * notif.c (notif_write_event, handle_notif_ack) + (notif_event_enque, notif_push): Update. + (notif_event_xfree, initialize_notif): Remove. + * notif.h (struct notif_event): Include , not + "common/queue.h". + (struct notif_server) : Now a std::list. + (notif_event_p): Remove typedef. + (initialize_notif): Don't declare. + (struct notif_event): Add virtual destructor. + +2019-04-17 Alan Hayward + + * ax.c (ax_vdebug): Call debug_printf. + * debug.c (debug_write): New function. + * debug.h (debug_write): New declaration. + * linux-low.c (sigchld_handler): Call debug_write. + +2019-04-17 Alan Hayward + + * debug.c (debug_set_output): New function. + (debug_vprintf): Send output to debug_file. + (debug_flush): Likewise. + * debug.h (debug_set_output): New declaration. + * server.c (handle_monitor_command): Add debug-file option. + (captured_main): Likewise. + +2019-04-17 Alan Hayward + + * debug.c (remote_debug): Add definition. + * debug.h (remote_debug): Add declaration. + * hostio.c (remote_debug): Remove declaration. + * remote-utils.c (struct ui_file): Likewise. + (remote_debug): Likewise. + * remote-utils.h (remote_debug): Likewise, + * server.c (remote_debug): Remove definition. + +2019-04-10 Kevin Buettner + + * linux-x86-low.c (x86_fill_gregset): Sign extend EAX value + when using a 64-bit gdbserver. + +2019-04-09 Tom Tromey + + * linux-low.c (select_event_lwp): Use find_thread_in_random. + +2019-04-08 Tom Tromey + + * linux-low.c (linux_detach_one_lwp): Replace throw_exception with + throw. + (linux_resume_one_lwp): Likewise. + +2019-04-08 Tom Tromey + + * gdbreplay.c: Update. + * linux-low.c: Update. + * server.c: Update. + +2019-04-08 Tom Tromey + + * server.c: Use C++ exception handling. + * linux-low.c: Use C++ exception handling. + * gdbreplay.c: Use C++ exception handling. + +2019-04-08 Tom Tromey + + * server.c (handle_btrace_general_set, handle_qxfer_btrace) + (handle_qxfer_btrace_conf, detach_or_kill_for_exit_cleanup) + (captured_main, main): Update. + * gdbreplay.c (main): Update. + +2019-04-05 Pedro Franco de Carvalho + + * linux-low.c (linux_get_auxv): Remove static. Return auxv entry + value in argument pointer, return 1 if the entry is found and 0 + otherwise. Move comment. + (linux_get_hwcap, linux_get_hwcap2): Use modified linux_get_auxv. + * linux-low.h (linux_get_auxv): Declare. + * linux-ppc-low.c (is_elfv2_inferior): Use linux_get_auxv. + +2019-04-05 Tom Tromey + + * server.c (gdbserver_usage): Use upper-case for metasyntactic + variables. + +2019-03-28 Alan Hayward + + * linux-low.c (AT_HWCAP2): Add define if not already included. + +2019-03-26 Alan Hayward + + * linux-aarch64-low.c (aarch64_get_hwcap): Remove function. + (aarch64_arch_setup): Call linux_get_hwcap. + * linux-arm-low.c (arm_get_hwcap): Remove function. + (arm_read_description): Call linux_get_hwcap. + * linux-low.c (linux_get_auxv): New function. + (linux_get_hwcap): Likewise. + (linux_get_hwcap2): Likewise. + * linux-low.h (linux_get_hwcap): New declaration. + (linux_get_hwcap2): Likewise. + * linux-ppc-low.c (ppc_get_auxv): Remove function. + (ppc_arch_setup): Call linux_get_hwcap. + * linux-s390-low.c (s390_get_hwcap): Remove function. + (s390_arch_setup): Call linux_get_hwcap. + +2019-03-22 Alan Hayward + Jiong Wang + + * linux-aarch64-low.c (aarch64_store_pauthregset): New function. + * linux-low.c (regsets_store_inferior_registers): Allow optional reads + to fail. + * linux-low.h (enum regset_type): Add OPTIONAL_REGS. + +2019-03-22 Alan Hayward + Jiong Wang + + * linux-aarch64-low.c (AARCH64_HWCAP_PACA): New define. + (aarch64_get_hwcap): New function. + (aarch64_arch_setup): Read APIA hwcap. + +2019-03-22 Alan Hayward + Jiong Wang + + * linux-aarch64-ipa.c (get_ipa_tdesc): Add pauth param. + (initialize_low_tracepoint): Likewise. + * linux-aarch64-low.c (aarch64_arch_setup): Likewise. + * linux-aarch64-tdesc-selftest.c (aarch64_tdesc_test): Likewise. + * linux-aarch64-tdesc.c (struct target_desc): Likewise. + (aarch64_linux_read_description): Likewise. + * linux-aarch64-tdesc.h (aarch64_linux_read_description): Likewise. + +2019-03-12 John Baldwin + + * linux-x86-tdesc.c (i386_linux_read_description): Update call to + i386_create_target_description for 'segments' parameter. + * lynx-i386-low.c (lynx_i386_arch_setup): Likewise. + * nto-x86-low.c (nto_x86_arch_setup): Likewise. + * win32-i386-low.c (i386_arch_setup): Likewise. + +2019-03-12 Tom Tromey + + * linux-low.c (iterate_over_lwps): Update. + +2019-03-06 Tom Tromey + + * server.c (detach_or_kill_for_exit_cleanup): Remove parameter. + (captured_main): Use SCOPE_EXIT. + +2019-03-04 Sergio Durigan Junior + + * configure.srv: Use '$enable_unittest' instead of '$development' + when checking whether to fill 'srv_regobj' on 'aarch64*-*-linux*' + case. + +2019-02-27 Tom Tromey + + * gdbreplay.c (logchar): Handle \r\n. + +2019-02-07 Alan Hayward + + * linux-low.c (linux_attach): Add process before lwp. + * server.c (attach_inferior): Check if already attached. + +2019-02-07 Tom Tromey + + * x86-tdesc.h: Rename include guard. + * x86-low.h: Add include guard. + * wincecompat.h: Rename include guard. + * win32-low.h: Add include guard. + * utils.h: Rename include guard. + * tracepoint.h: Rename include guard. + * tdesc.h: Rename include guard. + * target.h: Rename include guard. + * server.h: Rename include guard. + * remote-utils.h: Rename include guard. + * regcache.h: Rename include guard. + * nto-low.h: Rename include guard. + * notif.h: Add include guard. + * mem-break.h: Rename include guard. + * lynx-low.h: Add include guard. + * linux-x86-tdesc.h: Add include guard. + * linux-s390-tdesc.h: Add include guard. + * linux-ppc-tdesc-init.h: Add include guard. + * linux-low.h: Add include guard. + * linux-aarch64-tdesc.h: Add include guard. + * linux-aarch32-low.h: Add include guard. + * inferiors.h: Rename include guard. + * i387-fp.h: Rename include guard. + * hostio.h: Rename include guard. + * gdbthread.h: Rename include guard. + * gdb_proc_service.h: Rename include guard. + * event-loop.h: Rename include guard. + * dll.h: Rename include guard. + * debug.h: Rename include guard. + * ax.h: Rename include guard. + +2018-01-30 Szabolcs Nagy + + PR gdb/23985 + * Makefile.in (IPAGENT_CFLAGS): Add UNDO_GNULIB_CFLAGS. + (UNDO_GNULIB_CFLAGS): Undo gnulib replacements. + +2019-01-25 Tom Tromey + + * Makefile.in (INCLUDE_CFLAGS): Don't add -I for common. + +2019-01-25 Tom Tromey + + * win32-low.c: Fix common/ includes. + * win32-i386-low.c: Fix common/ includes. + * tracepoint.c: Fix common/ includes. + * thread-db.c: Fix common/ includes. + * target.h: Fix common/ includes. + * symbol.c: Fix common/ includes. + * spu-low.c: Fix common/ includes. + * server.h: Fix common/ includes. + * server.c: Fix common/ includes. + * remote-utils.c: Fix common/ includes. + * regcache.h: Fix common/ includes. + * regcache.c: Fix common/ includes. + * nto-x86-low.c: Fix common/ includes. + * notif.h: Fix common/ includes. + * mem-break.h: Fix common/ includes. + * lynx-low.c: Fix common/ includes. + * lynx-i386-low.c: Fix common/ includes. + * linux-x86-tdesc-selftest.c: Fix common/ includes. + * linux-x86-low.c: Fix common/ includes. + * linux-low.c: Fix common/ includes. + * inferiors.h: Fix common/ includes. + * i387-fp.c: Fix common/ includes. + * hostio.c: Fix common/ includes. + * hostio-errno.c: Fix common/ includes. + * gdbthread.h: Fix common/ includes. + * gdbreplay.c: Fix common/ includes. + * fork-child.c: Fix common/ includes. + * event-loop.c: Fix common/ includes. + * ax.c (enum gdb_agent_op): Fix common/ includes. + +2019-01-21 Tom Tromey + + * tracepoint.c: Fix includes. + * remote-utils.c: Fix includes. + * linux-x86-low.c: Fix includes. + +2019-01-01 Joel Brobecker + + * gdbreplay.c (gdbreplay_version): Update copyright year in + version message. + * server.c (gdbserver_version): Likewise. + +2018-12-05 Alan Hayward + + * linux-low.c (add_lwp): Switch ordering. + +2018-11-29 Tom Tromey + + * win32-low.c (win32_join): Take pid, not process. + * target.h (struct target_ops) : Change argument type. + (join_inferior): Change argument name. + * spu-low.c (spu_join): Take pid, not process. + * server.c (handle_detach): Preserve pid before destroying + process. + * lynx-low.c (lynx_join): Take pid, not process. + * linux-low.c (linux_join): Take pid, not process. + +2018-11-23 Alan Hayward + + * linux-aarch64-low.c (aarch64_cannot_store_register): Remove. + (aarch64_cannot_fetch_register): Likewise. + (struct linux_target_ops): Update references. + +2018-10-31 Pedro Franco de Carvalho + + * linux-ppc-low.c: Include nat/linux-ptrace.h. + +2018-10-26 Pedro Franco de Carvalho + + * configure.srv (ipa_ppc_linux_regobj): Add + powerpc-isa207-htm-vsx32l-ipa.o and + powerpc-isa207-htm-vsx64l-ipa.o. + (powerpc*-*-linux*): Add powerpc-isa207-htm-vsx32l.o and + powerpc-isa207-htm-vsx64l.o to srv_regobj. Add + rs6000/power-htm-spr.xml, rs6000/power-htm-core.xml, + rs6000/power64-htm-core.xml, rs6000/power-htm-fpu.xml, + rs6000/power-htm-altivec.xml, rs6000/power-htm-vsx.xml, + rs6000/power-htm-ppr.xml, rs6000/power-htm-dscr.xml, + rs6000/power-htm-tar.xml, rs6000/powerpc-isa207-htm-vsx32l.xml, + and rs6000/powerpc-isa207-htm-vsx64l.xml to srv_xmlfiles. + * linux-ppc-tdesc-init.h (enum ppc_linux_tdesc) + : New enum value. + (init_registers_powerpc_isa207_htm_vsx32l) + (init_registers_powerpc_isa207_htm_vsx64l): Declare. + * linux-ppc-low.c (ppc_fill_tm_sprregset, ppc_store_tm_sprregset) + (ppc_store_tm_cgprregset, ppc_store_tm_cfprregset) + (ppc_store_tm_cvrregset, ppc_store_tm_cvsxregset) + (ppc_store_tm_cpprregset, ppc_store_tm_cdscrregset) + (ppc_store_tm_ctarregset): New functions. + (ppc_regsets): Add entries for HTM regsets. + (ppc_arch_setup): Set htm in features struct when needed. Set + sizes for the HTM regsets. + (ppc_get_ipa_tdesc_idx): Return PPC_TDESC_ISA207_HTM_VSX. + (initialize_low_arch): Call + init_registers_powerpc_isa207_htm_vsx32l and + init_registers_powerpc_isa207_htm_vsx64l. + * linux-ppc-ipa.c (get_ipa_tdesc): Handle + PPC_TDESC_ISA207_HTM_VSX. + (initialize_low_tracepoint): Call + init_registers_powerpc_isa207_htm_vsx32l and + init_registers_powerpc_isa207_htm_vsx64l. + +2018-10-26 Pedro Franco de Carvalho + + * configure.srv (powerpc*-*-linux*): Add rs6000/power-ebb.xml and + rs6000/power-linux-pmu.xml to srv_xmlfiles. + * linux-ppc-low.c (ppc_store_ebbregset, ppc_fill_pmuregset) + (ppc_store_pmuregset): New functions. + (ppc_regsets): Add entries for ebb and pmu regsets. + (ppc_arch_setup): Set isa207 in features struct if the ebb and + pmu regsets are available. Set sizes for these regsets. + +2018-10-26 Pedro Franco de Carvalho + + * configure.srv (ipa_ppc_linux_regobj): Add + powerpc-isa207-vsx64l-ipa.o and powerpc-isa207-vsx32l-ipa.o. + (powerpc*-*-linux*): Add powerpc-isa207-vsx32l.o and + powerpc-isa207-vsx64l.o to srv_regobj, add rs6000/power-tar.xml, + rs6000/powerpc-isa207-vsx32l.xml, and + rs6000/powerpc-isa207-vsx64l.xml to srv_xmlfiles. + * linux-ppc-tdesc-init.h (enum ppc_linux_tdesc) + : New enum value. + (init_registers_powerpc_isa207_vsx32l): Declare. + (init_registers_powerpc_isa207_vsx64l): Declare. + * linux-ppc-low.c (ppc_fill_tarregset): New function. + (ppc_store_tarregset): New function. + (ppc_regsets): Add entry for the TAR regset. + (ppc_arch_setup): Set isa207 in features struct when needed. Set + size for the TAR regsets. + (ppc_get_ipa_tdesc_idx): Return PPC_TDESC_ISA207_VSX. + (initialize_low_arch): Call init_registers_powerpc_isa207_vsx32l + and init_registers_powerpc_isa207_vsx64l. + * linux-ppc-ipa.c (get_ipa_tdesc): Handle PPC_TDESC_ISA207_VSX. + (initialize_low_tracepoint): Call + init_registers_powerpc_isa207_vsx32l and + init_registers_powerpc_isa207_vsx64l. + +2018-10-26 Edjunior Barbosa Machado + Pedro Franco de Carvalho + + * configure.srv (ipa_ppc_linux_regobj): Add + powerpc-isa205-ppr-dscr-vsx32l-ipa.o and + powerpc-isa205-ppr-dscr-vsx64l-ipa.o. + (powerpc*-*-linux*): Add powerpc-isa205-ppr-dscr-vsx32l.o and + powerpc-isa205-ppr-dscr-vsx64l.o to srv_regobj, add + rs6000/power-dscr.xml, rs6000/power-ppr.xml, + rs6000/powerpc-isa205-ppr-dscr-vsx32l.xml and + rs6000/powerpc-isa205-ppr-dscr-vsx64l.xml to srv_xmlfiles. + * linux-ppc-tdesc-init.h (enum ppc_linux_tdesc) + : New enum value. + (init_registers_powerpc_isa205_ppr_dscr_vsx32l) + (init_registers_powerpc_isa205_ppr_dscr_vsx64l): Declare. + * linux-ppc-low.c: Include "elf/common.h" and . + (ppc_hwcap): Add comment. + (ppc_hwcap2): New global. + (ppc_check_regset, ppc_fill_pprregset, ppc_store_pprregset) + (ppc_fill_dscrregset, ppc_store_dscrregset): New functions. + (ppc_regsets): Add entries for the DSCR and PPR regsets. + (ppc_arch_setup): Get AT_HWCAP2. Set ppr_dscr in features struct + when needed. Set sizes for the the DSCR and PPR regsets. + (ppc_get_ipa_tdesc_idx): Return PPC_TDESC_ISA205_PPR_DSCR_VSX. + (initialize_low_arch): Call + init_registers_powerpc_isa205_ppr_dscr_vsx32l and + init_registers_powerpc_isa205_ppr_dscr_vsx64l. + * linux-ppc-ipa.c (get_ipa_tdesc): Handle + PPC_TDESC_ISA205_PPR_DSCR_VSX. + (initialize_low_tracepoint): Call + init_registers_powerpc_isa205_ppr_dscr_vsx32l and + init_registers_powerpc_isa205_ppr_dscr_vsx64l. + +2018-10-26 Pedro Franco de Carvalho + + * linux-ppc-low.c (ppc_fill_vrregset): Remove memset calls. + +2018-10-10 Sergio Durigan Junior + Simon Marchi + + * acinclude.m4: Include "../selftest.m4". + * configure: Regenerate. + * configure.ac: Use "GDB_AC_SELFTEST". + * configure.srv: Use "$enable_unittests" instead of + "$development" when checking whether unit tests have been + enabled. + * server.c (captured_main): Update message informing that + selftests have been disabled. + +2018-10-04 Tom Tromey + + * configure: Rebuild. + +2018-10-04 Tom Tromey + + * server.c (handle_status): Rename inner "thread". + (process_serial_event): Declare "res" in 'm' case. + * linux-low.c (last_thread_of_process_p, find_lwp_pid) + (iterate_over_lwps): Rename inner "thread". + (linux_qxfer_libraries_svr4): Rename inner "len". + * gdbthread.h (find_thread_in_random): Rename inner "thread". + +2018-10-01 Gary Benson + + * gdb_proc_service.h: Moved common code to + common/gdb_proc_service.h. + +2018-10-01 Gary Benson + + * gdb_proc_service.h: Synchronize comments and whitespace with + GDB's version of this file. + +2018-09-25 Tom Tromey + + * configure: Rebuild. + * configure.ac (WARN_CFLAGS): Don't remove -Wmissing-prototypes. + +2018-09-16 Simon Marchi + + * Makefile.in (gdbserver$(EXEEXT)): Sort OBS. + (gdbreplay$(EXEEXT)): Sort GDBREPLAY_OBS. + ($(IPA_LIB)): Sort IPA_OBJS. + +2018-09-16 Simon Marchi + + * Makefile.in: Remove references to $(ADD_DEPS). + +2018-09-16 Tom Tromey + + * remote-utils.c (remote_open): Use GNU style for metasyntactic + variables. + * gdbreplay.c (gdbreplay_usage): Use GNU style for metasyntactic + variables. + +2018-09-05 Tom Tromey + + * configure: Rebuild. + +2018-08-28 Simon Marchi + + PR build/23399 + * tracepoint.c (IPA_SYM_STRUCT_NAME): Define. + +2018-08-27 Tom Tromey + + PR build/23087: + * configure: Rebuild. + +2018-08-27 Tom Tromey + + * linux-s390-low.c (s390_emit_ext, s390_emit_litpool) + (s390_emit_const, s390_emit_reg, s390_emit_zero_ext) + (s390_emit_stack_adjust, s390_emit_set_r2, s390x_emit_ext) + (s390x_emit_const, s390x_emit_reg, s390x_emit_zero_ext) + (s390x_emit_stack_adjust): Add casts to unsigned char. + +2018-08-22 Simon Marchi + + PR gdb/23374 + PR gdb/23375 + * server.h (struct client_state) : + Initialize to 1. + +2018-07-22 Simon Marchi + + * linux-mips-low.c (mips_collect_ptrace_register): Remove unused + variable. + (mips_supply_ptrace_register): Likewise. + +2018-07-22 Tom Tromey + + * configure: Rebuild. + +2018-07-22 Tom Tromey + + * win32-low.c (win32_create_inferior): Remove unused variables. + * gdbreplay.c (remote_open): Remove unused variable. + * remote-utils.c (remote_prepare): Remove unused variable. + * x86-tdesc.h (X86_TDESC_H): Define. + (amd64_expedite_regs): Define conditionally. + (i386_expedite_regs): Mark ATTRIBUTE_UNUSED. + * linux-x86-tdesc.c (i386_tdescs): Move inside #if. + * remote-utils.c (readchar): Remove unused variable. + +2018-07-13 Pedro Alves + + * linux-low.c (linux_kill): Change parameter to process_info + pointer instead of pid. Adjust. + * lynx-low.c (lynx_kill): Likewise. + * nto-low.c (nto_kill): Likewise. + * spu-low.c (spu_kill): Likewise. + * win32-low.c (win32_kill): Likewise. + * server.c (handle_v_kill, kill_inferior_callback) + (detach_or_kill_for_exit): Adjust. + * target.c (kill_inferior): Change parameter to process_info + pointer instead of pid. Adjust. + * target.h (struct target_ops) : Change parameter to + process_info pointer instead of pid. Adjust all implementations + and callers. + (kill_inferior): Likewise. + +2018-07-13 Pedro Alves + + * linux-low.c (linux_detach, linux_join): Change parameter to + process_info pointer instead of pid. Adjust. + * lynx-low.c (lynx_detach, lynx_join): Likewise. + * nto-low.c (nto_detach): Likewise. + * spu-low.c (spu_detach, spu_join): Likewise. + * win32-low.c (win32_detach, win32_join): Likewise. + * server.c (handle_detach, detach_or_kill_for_exit): Adjust. + * target.h (struct target_ops) : Change parameter to + process_info pointer instead of pid. Adjust all implementations + and callers. + (detach_inferior, join_inferior): Rename 'pid' parameter to + 'proc'. + +2018-07-11 Sergio Durigan Junior + Jan Kratochvil + Paul Fertser + Tsutomu Seki + + * Makefile.in (SFILES): Add '$(srcdir)/common/netstuff.c'. + (OBS): Add 'common/netstuff.o'. + (GDBREPLAY_OBS): Likewise. + * gdbreplay.c: Include 'wspiapi.h' and 'netstuff.h'. + (remote_open): Implement support for IPv6 + connections. + * remote-utils.c: Include 'netstuff.h', 'filestuff.h' + and 'wspiapi.h'. + (handle_accept_event): Accept connections from IPv6 sources. + (remote_prepare): Handle IPv6-style hostnames; implement + support for IPv6 connections. + (remote_open): Implement support for printing connections from + IPv6 sources. + +2018-07-11 Pedro Alves + + PR gdb/23377 + * mem-break.c (any_persistent_commands): Add process_info + parameter and use it instead of relying on the current process. + Change return type to bool. + * mem-break.h (any_persistent_commands): Add process_info + parameter and change return type to bool. + * server.c (handle_detach): Remove require_running_or_return call. + Look up the process_info for the process we're about to detach. + If not found, return back error to GDB. Adjust + any_persistent_commands call to pass down a process pointer. + +2018-07-11 Pedro Alves + + * i387-fp.c (i387_cache_to_fsave, cache_to_fxsave) + (i387_cache_to_xsave): Use regcache_raw_get_unsigned_by_name + instead of collect_register_by_name. + * regcache.c (regcache_raw_get_unsigned_by_name): New. + * regcache.h (regcache_raw_get_unsigned_by_name): New. + +2018-07-04 Vyacheslav Barinov + Pedro Alves + + * linux-low.c (initialize_low): Call linux_proc_init_warnings. + +2018-07-03 Tom Tromey + + * linux-low.c: Update. + * lynx-low.c: Update. + * mem-break.c: Update. + * nto-low.c: Update. + * remote-utils.c: Update. + * server.c: Update. + * spu-low.c: Update. + * target.c: Update. + * win32-low.c: Update. + +2018-07-03 Tom Tromey + + * server.c: Update. + +2018-07-03 Tom Tromey + + * linux-low.c: Update. + +2018-07-03 Tom Tromey + + * target.c: Update. + +2018-07-03 Tom Tromey + + * linux-low.c: Update. + * linux-mips-low.c: Update. + * lynx-low.c: Update. + * nto-low.c: Update. + * remote-utils.c: Update. + * server.c: Update. + * spu-low.c: Update. + * target.c: Update. + * thread-db.c: Update. + +2018-07-03 Tom Tromey + + * linux-low.c: Update. + * linux-mips-low.c: Update. + * lynx-low.c: Update. + * mem-break.c: Update. + * nto-low.c: Update. + * remote-utils.c: Update. + * server.c: Update. + * spu-low.c: Update. + * target.c: Update. + * tracepoint.c: Update. + +2018-07-03 Tom Tromey + + * linux-low.c: Update. + * linux-ppc-low.c: Update. + * linux-x86-low.c: Update. + * proc-service.c: Update. + * server.c: Update. + * spu-low.c: Update. + * thread-db.c: Update. + * win32-low.c: Update. + +2018-07-03 Tom Tromey + + * linux-low.c: Update. + * lynx-low.c: Update. + * nto-low.c: Update. + * remote-utils.c: Update. + * spu-low.c: Update. + * thread-db.c: Update. + * win32-low.c: Update. + +2018-06-29 Joel Brobecker + + * linux-x86-tdesc.c (amd64_linux_read_description): Add missing + parameter in call to 'amd64_create_target_description'. + +2018-06-28 Jan Kratochvil + + * x86-tdesc.h: Remove executable permission flag. + +2018-06-19 Simon Marchi + + * configure.ac: Remove AC_PREREQ, add missing quoting. + * configure: Re-generate. + * config.in: Re-generate. + * aclocal.m4: Re-generate. + +2018-06-18 Simon Marchi + + * tracepoint.h (current_traceframe): Remove declaration. + +2018-06-18 Alan Hayward + + * linux-aarch64-low.c (is_sve_tdesc): New function. + (aarch64_sve_regs_copy_to_regcache): Likewise. + (aarch64_sve_regs_copy_from_regcache): Likewise. + (aarch64_regs_info): Add SVE checks. + (initialize_low_arch): Initialize SVE. + +2018-06-18 Alan Hayward + + * Makefile.in: Add aarch64-sve-linux-ptrace.c. + +2018-06-11 Alan Hayward + + * linux-aarch64-ipa.c (get_ipa_tdesc): Add null VQ param. + (initialize_low_tracepoint): Likewise + * linux-aarch64-low.c (aarch64_arch_setup): Get VQ. + * linux-aarch64-tdesc-selftest.c (aarch64_tdesc_test): Add null VQ + param. + * linux-aarch64-tdesc.c (aarch64_linux_read_description): Add VQ + checks. + * linux-aarch64-tdesc.h (aarch64_linux_read_description): Add VQ. + +2018-06-11 Alan Hayward + + * server.h (PBUFSIZ): Increase size + +2018-06-11 Alan Hayward + + * regcache.c (regcache::raw_compare): New function. + * regcache.h (regcache::raw_compare): New declaration. + +2018-06-11 Alan Hayward + + * regcache.c (new_register_cache): Use new. + (free_register_cache): Use delete. + (register_data): Use const. + (supply_register): Move body inside regcache. + (regcache::raw_supply): New override function. + (collect_register): Move body inside regcache. + (regcache::raw_collect): New override function. + (regcache::get_register_status): New override function. + * regcache.h (struct regcache): Inherit from reg_buffer_common. + +2018-06-09 Tom Tromey + + * event-loop.c (gdb_event, gdb_event_p): Remove typedefs. Don't + declare queue. + (event_queue): Use std::queue. + (gdb_event_xfree): Remove. + (initialize_event_loop, process_event, wait_for_event): Update. + +2018-06-08 Stan Cox + + * win32-low.c (win32_create_inferior): last_ptid and last_status + moved to client_state. + +2018-06-08 Pedro Alves + + * Makefile.in (GDBREPLAY_OBS): Add common/cleanups.o, + common/common-exceptions.o, common/common-utils.o, + common/errors.o, common/print-utils.o and utils.o. + * gdbreplay.c: Include "common-defs.h" instead of the two + 'config.h's here. Don't include stdio.h, errno.h, stdlib.h, + string.h or alloca.h. + (perror_with_name): Delete. + (remote_open): Use xstrdup instead of strdup. + (main): Rename to ... + (captured_main): ... this. + (main): New. + +2018-06-08 Tom Tromey + + * linux-low.c (linux_low_read_btrace): Update. + +2018-06-04 Stan Cox + + * server.h (struct client_state): New. + * server.c (cont_thread, general_thread, multi_process) + (report_fork_events, report_vfork_events, report_exec_events) + (report_thread_events, swbreak_feature, hwbreak_feature) + (vCont_supported, disable_randomization, pass_signals) + (program_signals, program_signals_p, last_status, last_ptid, own_buf): + Moved to client_state. + * remote-utils.c (remote_debug, noack_mode) + (transport_is_reliable): Moved to client_state. + * tracepoint.c (current_traceframe): Moved to client_state. + + Update all callers. + * server.c, remote-utils.c, tracepoint.c, fork-child.c, + linux-low.c, remote-utils.h, target.c: Use client_state. + +2018-05-31 Alan Hayward + + * configure.srv: Add new c/h file. + +2018-05-31 Alan Hayward + + * linux-aarch64-tdesc.c (aarch64_linux_read_description): Add + null VQ. + +2018-05-25 Maciej W. Rozycki + + * gdb.arch/mips-fpregset-core.exp: New test. + * gdb.arch/mips-fpregset-core.c: New test source. + +2018-05-23 Erik Kurzinger + + PR server/23198 + * hostio.c (require_int): Do not report overflow for integers + between 0xfffffff and 0x7fffffff. + +2018-05-22 Maciej W. Rozycki + + * linux-mips-low.c [HAVE_PTRACE_GETREGS] (mips_collect_register) + (mips_supply_register): Move outside HAVE_PTRACE_GETREGS. + (mips_collect_ptrace_register, mips_supply_ptrace_register): New + functions. + (the_low_target): Wire them. + +2018-05-22 Pedro Franco de Carvalho + + * linux-ppc-low.c (ppc_fill_vrregset): Add vscr_offset variable. + Set vscr_offset to 0 in little-endian mode and 12 in big-endian + mode. Call collect_register_by_name with vscr using + vscr_offset. Zero-pad vscr and vrsave fields in collector buffer. + (ppc_store_vrregset): Add and set vscr_offset variable as in + ppc_fill_vrregset. Call supply_register_by_name with vscr using + vscr_offset. + +2018-05-22 Pedro Franco de Carvalho + + * linux-ppc-low.c (SIZEOF_VSXREGS, SIZEOF_VRREGS): Remove. + (ppc_arch_setup): Change SIZEOF_VRREGS and SIZEOF_VSXREGS to + PPC_LINUX_SIZEOF_VRREGSET and PPC_LINUX_SIZEOF_VSXREGSET. + +2018-05-22 Pedro Franco de Carvalho + + * linux-ppc-low.c (ppc_fill_vsxregset): Remove ppc_hwcap check. + (ppc_store_vsxregset): Likewise. + (ppc_fill_vrregset): Likewise. + (ppc_store_vrregset): Likewise. + (ppc_fill_evrregset): Likewise. + (ppc_store_evrregset): Likewise. + (ppc_regsets): Set VSX/VR/EVR regset sizes to 0. + (ppc_arch_setup): Iterate through ppc_regsets and set sizes when + needed. + +2018-05-22 Pedro Franco de Carvalho + + * linux-ppc-low.c (ppc_arch_setup): Remove code for getting the + wordsize of the inferior. Call ppc_linux_target_wordsize. + +2018-05-22 Pedro Franco de Carvalho + + * configure.srv (srv_tgtobj): Add arch/ppc-linux-common.o. + * Makefile.in (SFILES): Add arch/ppc-linux-common.c. + * linux-ppc-tdesc.h: Rename to linux-ppc-tdesc-init.h. + * linux-ppc-tdesc-init.h (tdesc_powerpc_32l, tdesc_powerpc_64l) + (tdesc_powerpc_altivec32l, tdesc_powerpc_altivec64l) + (tdesc_powerpc_cell32l, tdesc_powerpc_cell64l) + (tdesc_powerpc_vsx32l, tdesc_powerpc_vsx64l) + (tdesc_powerpc_isa205_32l, tdesc_powerpc_isa205_64l) + (tdesc_powerpc_isa205_altivec32l, tdesc_powerpc_isa205_altivec64l) + (tdesc_powerpc_isa205_vsx32l, tdesc_powerpc_isa205_vsx64l) + (tdesc_powerpc_e500l): Remove. + * linux-ppc-ipa.c: Include arch/ppc-linux-tdesc.h and + linux-ppc-tdesc-init.h. Don't include linux-ppc-tdesc.h. + * linux-ppc-low.c: Include arch/ppc-linux-common.h, + arch/ppc-linux-tdesc.h, and linux-ppc-tdesc-init.h. Don't include + linux-ppc-tdesc.h. + (ppc_arch_setup): Remove target description matching code. Fill a + ppc_linux_features struct and call ppc_linux_match_description + with it. + +2018-05-22 Maciej W. Rozycki + + * linux-mips-low.c (mips_cannot_fetch_register): Return 1 if the + width of the requested register exceeds the width of the + `ptrace' data type. + (mips_cannot_store_register): Likewise. + +2018-05-21 Maciej W. Rozycki + + * linux-mips-low.c (mips_fetch_register): New function. Update + preceding comment. + (mips_store_gregset): Supply 0 rather than $restart for $zero. + (the_low_target): Wire `mips_fetch_register'. + +2018-05-10 Joel Brobecker + + * lynx-i386-low.c (LYNXOS_178): New macro. + [LYNXOS_178] (usr_fcontext_t): Provide a definition that matches + the layout on LynxOS-178. + (lynx_i386_fill_fpregset, lynx_i386_store_fpregset): Do not + handle floating point registers that are not supported by + LynxOS-178. + +2018-05-10 Tom Tromey + + * configure: Rebuild. + +2018-05-10 Joel Brobecker + + PR server/23158: + * tdesc.h (init_target_desc) : New parameter. + * tdesc.c (init_target_desc) : New parameter. + Use it to set the expedite_regs field in the given tdesc. + * x86-tdesc.h: New file. + * linux-aarch64-tdesc.c (aarch64_linux_read_description): + Adjust following the addition of the new expedite_regs parameter + to init_target_desc. + * linux-tic6x-low.c (tic6x_read_description): Likewise. + * linux-x86-tdesc.c: #include "x86-tdesc.h". + (i386_linux_read_description, amd64_linux_read_description): + Adjust following the addition of the new expedite_regs parameter + to init_target_desc. + * lynx-i386-low.c: #include "x86-tdesc.h". + (lynx_i386_arch_setup): Adjust following the addition of the new + expedite_regs parameter to init_target_desc. + * nto-x86-low.c: #include "x86-tdesc.h". + (nto_x86_arch_setup): Adjust following the addition of the new + expedite_regs parameter to init_target_desc. + * win32-i386-low.c: #include "x86-tdesc.h". + (i386_arch_setup): Adjust following the addition of the new + expedite_regs parameter to init_target_desc. + +2018-05-10 Joel Brobecker + + PR server/23158: + * win32-low.c (win32_create_inferior): Add call to my_wait + setting last_status global. + +2018-05-10 Joel Brobecker + + PR server/23158: + * win32-low.c (create_process): Only call gdb_tilde_expand if + inferior_cwd is not NULL. + +2018-05-08 Andrew Burgess + + * i387-fp.c (i387_cache_to_xsave): Only write x87 control + registers to the cache if their values have changed. + (i387_xsave_to_cache): Provide default values for x87 control + registers when these features are available, but disabled. + * regcache.c (supply_register_by_name_zeroed): New function. + * regcache.h (supply_register_by_name_zeroed): Declare new + function. + +2018-05-07 Tom Tromey + + * configure: Rebuild. + +2018-05-04 Tom Tromey + + * configure: Rebuild. + +2018-05-04 Jan Kratochvil + Pedro Alves + + * linux-aarch64-low.c (aarch64_stopped_data_address): + Likewise. + +2018-04-27 Tom Tromey + + * configure: Rebuild. + +2018-04-23 Tom Tromey + + * configure: Rebuild. + +2018-04-19 Simon Marchi + + * Makefile.in (depcomp): Add "..". + (all_deps_files): New and use it. + +2018-04-18 Alan Hayward + + * configure.srv (aarch64*-*-linux*): Don't include xml. + (i[34567]86-*-cygwin*): Likewise. + (i[34567]86-*-linux*): Likewise. + (i[34567]86-*-lynxos*): Likewise. + (i[34567]86-*-mingw32ce*): Likewise. + (i[34567]86-*-mingw*): Likewise. + (i[34567]86-*-nto*): Likewise. + (tic6x-*-uclinux): Likewise. + (x86_64-*-linux*): Likewise. + (x86_64-*-mingw*): Likewise. + (x86_64-*-cygwin*): Likewise. + +2018-04-18 Alan Hayward + + * tdesc.c: Remove xml parameter. + +2018-04-18 Alan Hayward + + * server.c (get_features_xml): Remove cast. + * tdesc.c (void target_desc::accept): Fill in function. + (tdesc_get_features_xml): Remove old xml creation. + (print_xml_feature::visit_pre): Add xml vistor. + * tdesc.h (struct target_desc): Make xmltarget mutable. + (tdesc_get_features_xml): Remove declaration. + +2018-04-18 Alan Hayward + + * tdesc.c (tdesc_architecture_name): Add new function. + (tdesc_osabi_name): Likewise. + (tdesc_get_features_xml): Use new functions. + +2018-04-18 Alan Hayward + + * tdesc.c (tdesc_create_flags): Remove. + (tdesc_add_flag): Likewise. + (tdesc_named_type): Likewise. + (tdesc_create_union): Likewise. + (tdesc_create_struct): Likewise. + (tdesc_create_vector): Likewise. + (tdesc_add_bitfield): Likewise. + (tdesc_add_field): Likewise. + (tdesc_set_struct_size): Likewise. + +2018-04-18 Alan Hayward + + * tdesc.c (~target_desc): Remove implictly deleted items. + (init_target_desc): Iterate all features. + (tdesc_get_features_xml): Use vector. + (tdesc_create_feature): Create feature. + * tdesc.h (tdesc_feature) Remove + (target_desc): Add features. + +2018-04-18 Alan Hayward + + * Makefile.in: Add common/tdesc.c + * tdesc.c (init_target_desc): init all reg_defs from register + vector. + (tdesc_create_reg): Create tdesc_reg. + * tdesc.h (tdesc_feature): Add register vector. + +2018-03-30 Simon Marchi + + * tdesc.h (struct target_desc) : Change type to + std::vector. + * tdesc.c (target_desc::~target_desc): Adjust to std::vector + changes. + (tdesc_get_features_xml): Likewise. + (tdesc_create_feature): Likewise. + +2018-03-26 Alan Hayward + + * regcache.c (find_register_by_number): Return a ref. + (find_regno): Use references. + (register_size): Likewise. + (register_data): Likewise. + * tdesc.c (target_desc::~target_desc): Remove free calls. + (target_desc::operator==): Use std::vector compare. + (init_target_desc): Use reference. + (tdesc_create_reg): Use reg constructors. + * tdesc.h (struct target_desc): Replace pointer with object. + +2018-03-23 Alan Hayward + + * regcache.c (find_register_by_number): Make static. + (find_regno): Use find_register_by_number + * regcache.h (struct reg): Remove declaration. + +2018-03-23 Alan Hayward + + * tdesc.c (target_desc::~target_desc): Move to here. + (target_desc::operator==): Likewise. + * tdesc.h (target_desc::~target_desc): Move from here. + (target_desc::operator==): Likewise. + +2018-03-22 Andreas Arnez + + * linux-s390-low.c (s390_get_wordsize): Correct brace style. + +2018-03-21 Andreas Arnez + + * linux-s390-ipa.c (get_ipa_tdesc): Add handling for + S390_TDESC_GS. + * linux-s390-low.c (s390_get_ipa_tdesc_idx): Likewise. + (initialize_low_tracepoint): Call init_registers_s390x_gs_linux64 + and init_registers_s390_gs_linux64. + +2018-03-21 Andreas Arnez + + * linux-s390-low.c (s390_fill_gs): Remove function. + (s390_fill_gsbc): Remove function. + (s390_regsets): Set fill functions for the guarded storage regsets + to NULL. + +2018-03-21 Andreas Arnez + + * linux-s390-low.c (s390_get_hwcap): Replace tdesc parameter by + the word size. Add comment. + (s390_get_wordsize): New function. + (s390_arch_setup): No longer select a temporary tdesc to fetch the + pswm with it. Instead, use s390_get_wordsize to determine the + word size first and derive the correct tdesc from that directly. + +2018-03-16 Simon Marchi + + * Makefile.in: Include silent-rules.mk. + (srcdir, abs_top_srcdir, abs_srcdir, VPATH): Move up. + (COMPILE): Add ECHO_CXX. + (gdbserver$(EXEEXT)): Add SILENCE and ECHO_CXXLD. + (gdbreplay$(EXEEXT)): Add SILENCE and ECHO_CXXLD. + ($(IPA_LIB)): Add SILENCE and ECHO_CXXLD. + (version-generated.c): Add ECHO_GEN. + (stamp-xml): Add SILENCE and ECHO_GEN_XML_BUILTIN_GENERATED. + (IPAGENT_COMPILE): Add ECHO_CXX. + (%-generated.c): Add ECHO_REGDAT. + +2018-03-14 Tom Tromey + + PR cli/14977: + * ax.c (ax_printf): Special case for NULL. + +2018-03-08 Simon Marchi + + * linux-low.c (linux_qxfer_libraries_svr4): Use + xml_escape_text_append. + +2018-03-08 Simon Marchi + + * linux-low.c (linux_qxfer_libraries_svr4): Use std::string. + +2018-03-02 Simon Marchi + + * server.c (handle_general_set): Remove unnecessary xstrdup. + +2018-03-02 Simon Marchi + + * server.c (parse_debug_format_options): Adjust to + delim_string_to_char_ptr_vec changes. + * thread-db.c (thread_db_load_search): Adjust to + dirnames_to_char_ptr_vec changes. + +2018-03-01 Markus Metzger + + * target.h (target_enable_btrace, target_disable_btrace) + (target_read_btrace, target_read_btrace_conf): Turn macro into + inline function. Throw error if target method is not defined. + * server.c (handle_qxfer_btrace handle_qxfer_btrace_conf): Remove + check for btrace target method. Be prepared to handle exceptions + from btrace target methods. + +2018-02-28 Sergio Durigan Junior + + * server.c (captured_main): Change order of error message printed + when the current working directory cannot be found. + +2018-02-28 Sergio Durigan Junior + + * server.c: Include "filenames.h" and "pathstuff.h". + (program_name): Delete variable. + (program_path): New anonymous class. + (get_exec_wrapper): Use "program_path" instead of + "program_name". + (handle_v_run): Likewise. + (captured_main): Likewise. + (process_serial_event): Likewise. + +2018-02-28 Sergio Durigan Junior + + * Makefile.in (SFILES): Add "$(srcdir)/common/pathstuff.c". + (OBJS): Add "pathstuff.o". + * server.c (current_directory): New global variable. + (captured_main): Initialize "current_directory". + +2018-02-26 Alan Hayward + + * tdesc.c: Use common/tdesc.h. + * tdesc.h: Likewise. + +2018-02-20 Alan Hayward + Simon Marchi + + * Makefile.in: Switch order of make rules. + +2018-02-19 Alan Hayward + + * Makefile.in: Add common directory in build. + * configure.ac: Add common reference. + * configure: Regenerate. + +2018-02-09 Markus Metzger + + * linux-low.c (linux_target_ops): Remove linux_supports_btrace. + * nto-low.c (nto_target_ops): Remove NULL for supports_btrace. + * spu-low.c (spu_target_ops): Likewise. + * win32-low.c (win32_target_ops): Likewise. + * server.c (supported_btrace_packets): Report packets unconditionally. + * target.h (target_ops) : Remove. + (target_supports_btrace): Remove. + +2018-02-09 Markus Metzger + + * server.c (handle_btrace_enable_bts, handle_btrace_enable_pt) + (handle_btrace_disable): Change return type to void. Use exceptions + to report errors. + (handle_btrace_general_set): Catch exception and copy message to + return message. + +2018-02-08 Tom Tromey + + * linux-low.c (install_software_single_step_breakpoints): Use + make_scoped_restore. + * inferiors.c (make_cleanup_restore_current_thread): Remove. + (do_restore_current_thread_cleanup): Remove. + * gdbthread.h (make_cleanup_restore_current_thread): Don't + declare. + +2018-02-08 Tom Tromey + + * mem-break.c (set_raw_breakpoint_at): Use + gdb::unique_xmalloc_ptr. + +2018-01-30 Pedro Alves + + PR gdb/13211 + * target.c (target_terminal::terminal_state): Rename to ... + (target_terminal::m_terminal_state): ... this. + +2018-01-19 James Clarke + + * linux-low.c (handle_extended_wait): Surround call to + thread_db_notice_clone with #ifdef USE_THREAD_DB. + +2018-01-17 Simon Marchi + + * linux-low.c (attach_proc_task_lwp_callback): Adjust to + linux_ptrace_attach_fail_reason_string now returning an + std::string. + (linux_attach): Likewise. + * thread-db.c (attach_thread): Likewise. + +2018-01-17 Eldar Abusalimov + + PR gdb/21559 + * configure.ac: Include prior to when + checking for fs_base/gs_base fields in struct user_regs_struct. + * configure: Regenerate. + +2018-01-16 Yao Qi + + PR gdb/18749 + * linux-low.c (fetch_register): Call supply_register instead of + error. + +2018-01-08 Yao Qi + Simon Marchi + + * Makefile.in (OBS): Remove selftest.o. + * configure.ac: Set srv_selftest_objs if $development is true. + (GDBSERVER_DEPFILES): Append $srv_selftest_objs. + * configure: Re-generated. + * server.c (captured_main): Wrap variable selftest_filter with + GDB_SELF_TEST. + +2018-01-07 Simon Marchi + + * server.c (parse_debug_format_options): Return std::string. + (handle_monitor_command, captured_main): Adjust. + +2018-01-05 Pedro Alves + + PR gdb/18653 + * server.c (captured_main): Pass quiet=false to + save_original_signals_state. + +2018-01-01 Joel Brobecker + + * gdbreplay.c (gdbreplay_version): Update copyright year in + version message. + * server.c (gdbserver_version): Likewise. + +2017-12-08 Tom Tromey + + * ax.c (ax_printf): Update. + +2017-12-07 Yao Qi + + * linux-aarch64-ipa.c (initialize_low_tracepoint): Call + aarch64_linux_read_description. + * linux-amd64-ipa.c (idx2mask): New array. + (get_ipa_tdesc): Move idx2mask out. + (initialize_low_tracepoint): Initialize target descriptions. + * linux-i386-ipa.c (idx2mask): New array. + (get_ipa_tdesc): Move idx2mask out. + (initialize_low_tracepoint): Initialize target descriptions. + +2017-12-05 Simon Marchi + + * tdesc.c (struct tdesc_type): Change return type. + (tdesc_add_flag): Change parameter type. + (tdesc_add_bitfield): Likewise. + (tdesc_add_field): Likewise. + (tdesc_set_struct_size): Likewise. + +2017-12-05 Simon Marchi + + * regcache.c (registers_to_string): Remove unused variable. + +2017-12-02 Simon Marchi + + * inferiors.c (for_each_inferior_with_data): Remove. + * inferiors.h (for_each_inferior_with_data): Remove. + * server.c (handle_qxfer_threads_worker): Change parameter type. + (handle_qxfer_threads_proper): Use for_each_thread. + +2017-12-02 Simon Marchi + + * inferiors.c (for_each_inferior): Remove. + (clear_inferiors): Use for_each_thread. + * inferiors.h (for_each_inferior): Remove. + * linux-low.c (linux_wait_for_event_filtered): Use + for_each_thread. + (linux_stabilize_threads): Likewise. + * regcache.c (regcache_release): Likewise. + * server.c (gdb_wants_all_threads_stopped): Likewise. + (clear_pending_status_callback): Remove. + (handle_status): Use for_each_thread. + (captured_main): Likewise. + * win32-low.c (child_init_thread_list): Likewise. + (win32_clear_inferiors): Likewise. + (fake_breakpoint_event): Likewise. + +2017-12-02 Simon Marchi + + * inferiors.h (find_inferior): Remove. + * inferiors.c (find_inferior): Remove. + +2017-12-02 Simon Marchi + + * linux-low.c (resume_status_pending_p): Update comment. + (need_step_over_p): Update comment. + +2017-12-02 Simon Marchi + + * linux-low.c (proceed_one_lwp): Return void, change parameter + type. + (unsuspend_and_proceed_one_lwp): Likewise. + (proceed_all_lwps): Use for_each_thread. + (unstop_all_lwps): Likewise. + +2017-12-02 Simon Marchi + + * linux-low.c (linux_resume_one_thread): Return void, take + parameter directly. + (linux_resume): Use for_each_thread. + +2017-12-02 Simon Marchi + + * linux-low.c (send_sigstop_callback): Return void, change + parameter type. Rename to... + (send_sigstop): ... this. + (suspend_and_send_sigstop_callback): Return void, change parameter + type. Rename to... + (suspend_and_send_sigstop): ... this. + (stop_all_lwps): Use for_each_thread. + +2017-12-02 Simon Marchi + + * linux-low.c (lwp_running): Return bool, remove unused + argument. + (linux_stabilize_threads): Use find_thread. + +2017-12-02 Simon Marchi + + * linux-low.c (select_singlestep_lwp_callback): Remove. + (count_events_callback): Remove. + (select_event_lwp_callback): Remove. + (select_event_lwp): Use find_thread/for_each_thread. + +2017-12-02 Simon Marchi + + * linux-low.c (not_stopped_callback): Return bool, take filter + argument directly. + (linux_wait_for_event_filtered): Use find_thread. + (linux_wait_1): Likewise. + +2017-12-02 Simon Marchi + + * linux-low.c (same_lwp): Remove. + (find_lwp_pid): Use find_thread. + +2017-12-02 Simon Marchi + + * linux-low.c (delete_lwp_callback): Remove. + (linux_mourn): Use for_each_thread. + +2017-12-02 Simon Marchi + + * linux-low.c (linux_detach_lwp_callback): Return void, remove + args parameter, don't check for pid. + (linux_detach): Use for_each_thread. + +2017-12-02 Simon Marchi + + * linux-low.c (struct counter): Remove. + (second_thread_of_pid_p): Remove. + (last_thread_of_process_p): Use find_thread. + +2017-12-02 Simon Marchi + + * inferiors.c (find_inferior_in_random): Remove. + * inferiors.h (find_inferior_in_random): Remove. + * linux-low.c (status_pending_p_callback): Return bool, accept + parameter ptid directly. + (linux_wait_for_event_filtered): Use find_thread_in_random. + (linux_wait_1): Likewise. + +2017-12-02 Simon Marchi + + * inferiors.c (find_inferior_id): Remove. + (find_thread_ptid): Move implemention from find_inferior_id to + here. + * inferiors.h (find_inferior_id): Remove. + * server.c (handle_status): Use find_thread_ptid. + (process_serial_event): Likewise. + * thread-db.c (find_one_thread): Likewise. + (thread_db_thread_handle): Likewise. + * win32-low.c (thread_rec): Likewise. + (child_delete_thread): Likewise. + (win32_thread_alive): Likewise. + (get_child_debug_event): Likewise. + +2017-12-02 Simon Marchi + + * linux-mips-low.c (update_watch_registers_callback): Return + void, remove pid_p parameter, don't check for pid. + (mips_insert_point, mips_remove_point): Use for_each_thread. + +2017-12-02 Simon Marchi + + * lynx.low (lynx_delete_thread_callback): Remove. + (lynx_mourn): Use for_each_thread. + +2017-12-02 Simon Marchi + + * regcache.c (regcache_invalidate_one): Remove. + (regcache_invalidate_pid): use for_each_thread. + +2017-11-26 Tom Tromey + + * linux-low.c (linux_create_inferior): Update. + +2017-11-24 Ulrich Weigand + + * spu-low.c (spu_create_inferior): Fix typo in argument name. + +2017-11-24 Alan Hayward + + * configure.srv: Add linux-aarch64-tdesc-selftest.o. + * linux-aarch64-low.c (initialize_low_arch): Call init func. + * linux-aarch64-tdesc-selftest.c: New file. + * linux-aarch64-tdesc.h (initialize_low_tdesc): New declaration. + +2017-11-24 Alan Hayward + + * configure.srv: Add new file. + * linux-aarch64-low.c (initialize_low_arch): Call init func. + * linux-aarch64-tdesc-selftest.c: New file. + * linux-aarch64-tdesc.h (initialize_low_tdesc): New declaration. + +2017-11-24 Alan Hayward + + * linux-aarch64-ipa.c (initialize_low_tracepoint): Remove init. + * linux-aarch64-low.c (initialize_low_arch): Remove init. + * linux-aarch64-tdesc.c (aarch64_linux_read_description): Add init. + +2017-11-24 Alan Hayward + + * configure.srv: Add new files. + * linux-aarch64-ipa.c (get_ipa_tdesc): Call + aarch64_linux_read_description. + * linux-aarch64-low.c (aarch64_linux_read_description): + Merge with aarch64_arch_setup. + (aarch64_arch_setup): Call aarch64_linux_read_description. + * linux-aarch64-tdesc.c: New file. + * linux-aarch64-tdesc.h: New file. + +2017-11-24 Yao Qi + + * configure.srv: Set $srv_regobj for tic6x-linux. + * linux-tic6x-low.c: Include "arch/tic6x.h" and "tdesc.h". + (tic6x_read_description): Move some code to tic6x_arch_setup. + (tic6x_tdesc_test): New function. + (initialize_low_arch): Call selftests::register_test. + +2017-11-22 Yao Qi + + * remote-utils.c (prepare_resume_reply): Use memcpy. + +2017-11-19 Simon Marchi + + * linux-low.c (kill_one_lwp_callback): Return void, take + argument directly, don't filter on pid. + (linux_kill): Use for_each_thread. + +2017-11-19 Simon Marchi + + * linux-low.c (need_step_over_p): Return bool, remove dummy + argument. + (linux_resume, proceed_all_lwps): Use find_thread. + +2017-11-19 Simon Marchi + + * linux-low.c (resume_status_pending_p): Return bool, remove + flag_p argument. + (linux_resume): Use find_thread. + +2017-11-19 Simon Marchi + + * linux-low.c (struct thread_resume_array): Remove. + (linux_set_resume_request): Return void, take arguments + directly. + (linux_resume): Use for_each_thread. + +2017-11-19 Simon Marchi + + * linux-low.c (stuck_in_jump_pad_callback): Change prototype, + return bool, remove data argument. + (linux_stabilize_threads): Use find_thread. + +2017-11-19 Simon Marchi + + * linux-low.c (unsuspend_one_lwp): Remove. + (unsuspend_all_lwps): Use for_each_thread, inline code from + unsuspend_one_lwp. + +2017-11-19 Simon Marchi + + * gdbthread.h (find_thread): Add overload with ptid_t filter. + * linux-low.c (struct iterate_over_lwps_args): Remove. + (iterate_over_lwps_filter): Remove. + (iterate_over_lwps): Use find_thread. + +2017-11-19 Simon Marchi + + * linux-low.c (reset_lwp_ptrace_options_callback): Remove. + (linux_handle_new_gdb_connection): Use for_each_thread, inline + code from reset_lwp_ptrace_options_callback. + +2017-11-19 Simon Marchi + + * linux-arm-low.c (struct update_registers_data): Remove. + (update_registers_callback): Return void, take arguments + directly, don't check thread's pid. + (arm_insert_point, arm_remove_point): Use for_each_thread. + +2017-11-19 Simon Marchi + + * win32-low.c (continue_one_thread): Return void, take argument + directly. + (child_continue): Use for_each_thread. + +2017-11-19 Simon Marchi + + * win32-i386-low.c (update_debug_registers_callback): Rename + to ... + (update_debug_registers): ... this, return void, remove pid_p arg. + (x86_dr_low_set_addr, x86_dr_low_set_control): Use for_each_thread. + +2017-11-17 Simon Marchi + + * inferiors.h (struct process_info): Add constructor, initialize + fields.. + : Change type to std::vector. + * inferiors.c (add_process): Allocate process_info with new. + (remove_process): Free process_info with delete. + * linux-low.c (handle_extended_wait): Adjust. + (gdb_catching_syscalls_p, gdb_catch_this_syscall_p): Adjust. + * server.c (handle_general_set): Adjust. + +2017-11-16 Pedro Alves + + * remote-utils.c (remote_close): Block SIGIO signals instead of + uninstalling the SIGIO handler. + +2017-11-16 Alan Hayward + + * tdesc.c (tdesc_get_features_xml): Allow null osabi. + +2017-11-16 Yao Qi + + * linux-tic6x-low.c (tic6x_fill_gregset): Cast buf. + (tic6x_store_gregset): Likewise. + (tic6x_usrregs_info): Move it up. + +2017-11-15 Alan Hayward + + * Makefile.in: Update arch rules. + * configure.srv: Explicitly mark arch/ files. + +2017-11-13 Andreas Schwab + + * linux-m68k-low.c (m68k_supports_hardware_single_step): New + function. + (struct linux_target_ops) : Initialize. + +2017-11-06 Pedro Alves + + * config.in, configure: Regenerate. + +2017-10-27 Simon Marchi + + * target.c (struct thread_search): Remove. + (thread_search_callback): Remove. + (prepare_to_access_memory): Use for_each_thread instead of + find_inferior. Inline code from thread_search_callback. + +2017-10-27 Simon Marchi + + * server.c (struct visit_actioned_threads_data): Remove. + (visit_actioned_threads): Change prototype to take arguments + directly. + (resume): Use find_thread instead of find_inferior. + +2017-10-27 Simon Marchi + + * server.c (queue_stop_reply_callback): Change prototype, return + void. + (find_status_pending_thread_callback): Remove. + (handle_status): Replace find_inferior with find_thread and + for_each_thread. + +2017-10-25 Alan Hayward + + * linux-aarch64-low.c (aarch64_fill_gregset): Replace defines + with REGNO. + (aarch64_store_gregset): Likewise. + (aarch64_fill_fpregset): Likewise. + (aarch64_store_fpregset): Likewise. + +2017-10-21 Simon Marchi + + * gdbthread.h (find_thread, for_each_thread): New functions. + * inferiors.c (thread_of_pid): Remove. + (find_any_thread_of_pid): Use find_thread. + * linux-low.c (num_lwps): Use for_each_thread. + +2017-10-17 Yao Qi + + * Makefile.in: Remove one rule. + * configure.srv: Rename aarch64-insn.o with arch/aarch64-insn.o. + +2017-10-17 Yao Qi + + * configure.srv: Rename arm-linux.o with arch/arm-linux.o. + Rename arm-get-next-pcs.o with arch/arm-get-next-pcs.o. + +2017-10-17 Yao Qi + + * configure.srv: Rename arm.o with arch/arm.o. + +2017-10-17 Yao Qi + + * Makefile.in (CONFIG_SRC_SUBDIR): New variable. + (clean): Remove .o files in CONFIG_SRC_SUBDIR. + (distclean): Remove DEPDIR in CONFIG_SRC_SUBDIR. + (arch-i386.o, arch-amd64.o): Remove rules. + (arch/%.o): New rule. + Update POSTCOMPILE and COMPILE.pre. + * configure.ac: Invoke AC_CONFIG_COMMANDS. + * configure: Re-generated. + * configure.srv: Replace arch-i386.o with arch/i386.o. + Replace arch-amd64.o with arch/amd64.o. + +2017-10-16 Yao Qi + + * configure: Regenerated. + +2017-10-14 Simon Marchi + + * inferiors.h: (struct inferior_list): Remove. + (struct inferior_list_entry); Remove. + (add_inferior_to_list, clear_inferior_list, one_inferior_p, + A_I_NEXT, ALL_INFERIORS_TYPE, ALL_INFERIORS, remove_inferior, + get_first_inferior): Remove. + (for_each_inferior, for_each_inferior_with_data, find_inferior, + find_inferior_id, find_inferior_in_random): Change signature. + * inferiors.c (all_threads): Change type to + std::list. + (get_thread): Remove macro. + (find_inferior, find_inferior_id): Change signature, implement + using find_thread. + (find_inferior_in_random): Change signature, implement using + find_thread_in_random. + (for_each_inferior, for_each_inferior_with_data): Change + signature, implement using for_each_thread. + (add_inferior_to_list, remove_inferior): Remove. + (add_thread, get_first_thread, thread_of_pid, + find_any_thread_of_pid, free_one_thread, remove_thread): Update. + (get_first_inferior, one_inferior_p, clear_inferior_list): + Remove. + (clear_inferiors, get_thread_process): Update. + * gdbthread.h: Include . + (struct thread_info) : Remove field. + : New field. + (all_threads): Change type to std::list. + (get_first_inferior): Add doc. + (find_thread, for_each_thread, find_thread_in_random): New + functions. + (current_ptid, pid_of, ptid_of, lwpid_of): Update. + * linux-arm-low.c (update_registers_callback): Update. + * linux-low.c (second_thread_of_pid_p): Update. + (kill_one_lwp_callback, linux_detach_lwp_callback, + delete_lwp_callback, status_pending_p_callback, same_lwp, + find_lwp_pid, num_lwps, iterate_over_lwps_filter, + iterate_over_lwps, not_stopped_callback, + resume_stopped_resumed_lwps, count_events_callback, + select_singlestep_lwp_callback, select_event_lwp_callback, + unsuspend_one_lwp, linux_wait_1, send_sigstop_callback, + suspend_and_send_sigstop_callback, wait_for_sigstop, + stuck_in_jump_pad_callback, move_out_of_jump_pad_callback, + lwp_running, linux_set_resume_request, resume_status_pending_p, + need_step_over_p, start_step_over, linux_resume_one_thread, + proceed_one_lwp, unsuspend_and_proceed_one_lwp, + reset_lwp_ptrace_options_callback): Update. + * linux-mips-low.c (update_watch_registers_callback): Update. + * regcache.c (regcache_invalidate_one, regcache_invalidate): + Update. + (free_register_cache_thread_one): Remove. + (regcache_release): Update. + * server.c (handle_btrace_enable_bts, handle_btrace_enable_pt, + handle_qxfer_threads_worker): Update. + (handle_query): Update, use list iterator. + (visit_actioned_threads, handle_pending_status, + queue_stop_reply_callback, gdb_wants_all_threads_stopped, + clear_pending_status_callback, set_pending_status_callback, + find_status_pending_thread_callback, handle_status, + process_serial_event): Update. + * target.c (thread_search_callback): Update. + * thread-db.c (thread_db_get_tls_address): Update. + * tracepoint.c (tracepoint_finished_step, tracepoint_was_hit): + Update. + * win32-i386-low.c (update_debug_registers_callback): Update. + * win32-low.c (delete_thread_info, child_delete_thread, + continue_one_thread, suspend_one_thread, + get_child_debug_event): Adjust. + +2017-10-14 Simon Marchi + + * gdbthread.h (ptid_of, pid_of, lwpid_of): New functions. + * inferiors.h: Include . + (struct process_info) : Remove field. + : New field. + (pid_of): Change macro to function. + (ptid_of, lwpid_of): Remove macro. + (all_processes): Change type to std::list. + (ALL_PROCESSES): Remove macro. + (for_each_process, find_process): New function. + * inferiors.c (all_processes): Change type to + std::list. + (find_thread_process): Adjust. + (add_process): Likewise. + (remove_process): Likewise. + (find_process_pid): Likewise. + (get_first_process): Likewise. + (started_inferior_callback): Remove. + (have_started_inferiors_p): Adjust. + (attached_inferior_callback): Remove. + (have_attached_inferiors_p): Adjust. + * linux-low.c (check_zombie_leaders): Likewise. + * linux-x86-low.c (x86_arch_setup_process_callback): Remove. + (x86_linux_update_xmltarget): Adjust. + * server.c (handle_query): Likewise. + (gdb_reattached_process): Remove. + (handle_status): Adjust. + (kill_inferior_callback): Likewise. + (detach_or_kill_inferior): Remove. + (print_started_pid): Likewise. + (print_attached_pid): Likewise. + (detach_or_kill_for_exit): Update. + (process_serial_event): Likewise. + * linux-arm-low.c (arm_new_fork): Likewise. + +2017-10-14 Simon Marchi + + * dll.h: Include . + (struct dll_info): Add constructor. + : Remove field. + (all_dlls): Change type to std::list. + * dll.c: Include . + (get_dll): Remove macro. + (all_dlls): Change type to std::list. + (free_one_dll): Remove. + (match_dll): Likewise. + (loaded_dll): Adjust. + (unloaded_dll): Adjust to all_dlls type change, use + std::find_if. Inline code from match_dll. + (clear_dlls): Adjust to all_dlls type change. + * server.c (emit_dll_description): Remove. + (handle_qxfer_libraries): Adjust to all_dlls type change, + integrate emit_dll_description's functionality. + +2017-10-12 Simon Marchi + + * linux-low.h (struct linux_target_ops) : New + field. + * linux-low.c (linux_mourn): Call the_low_target.delete_process. + * linux-aarch64-low.c (aarch64_linux_delete_process): New. + (struct linux_target_ops): Add delete_process callback. + * linux-arm-low.c (arm_delete_process): New. + (struct linux_target_ops): Add delete_process callback. + * linux-bfin-low.c (struct linux_target_ops): Likewise. + * linux-crisv32-low.c (struct linux_target_ops): Likewise. + * linux-m32r-low.c (struct linux_target_ops): Likewise. + * linux-mips-low.c (mips_linux_delete_process): New. + (struct linux_target_ops): Add delete_process callback. + * linux-ppc-low.c (struct linux_target_ops): Likewise. + * linux-s390-low.c (struct linux_target_ops): Likewise. + * linux-sh-low.c (struct linux_target_ops): Likewise. + * linux-tic6x-low.c (struct linux_target_ops): Likewise. + * linux-tile-low.c (struct linux_target_ops): Likewise. + * linux-x86-low.c (x86_linux_delete_process): New. + (struct linux_target_ops): Add delete_process callback. + * linux-xtensa-low.c (struct linux_target_ops): Likewise. + +2017-10-12 Simon Marchi + + * linux-aarch64-low.c (the_low_target): Add thread delete + callback. + * linux-arm-low.c (arm_delete_thread): New function. + (the_low_target): Add thread delete callback. + * linux-bfin-low.c (the_low_target): Likewise. + * linux-crisv32-low.c (the_low_target): Likewise. + * linux-low.c (delete_lwp): Invoke delete_thread callback if + set. + * linux-low.h (struct linux_target_ops) : New + field. + * linux-m32r-low.c (the_low_target): Add thread delete callback. + * linux-mips-low.c (mips_linux_delete_thread): New function. + (the_low_target): Add thread delete callback. + * linux-ppc-low.c (the_low_target): Likewise. + * linux-s390-low.c (the_low_target): Likewise. + * linux-sh-low.c (the_low_target): Likewise. + * linux-tic6x-low.c (the_low_target): Likewise. + * linux-tile-low.c (the_low_target): Likewise. + * linux-x86-low.c (the_low_target): Likewise. + * linux-xtensa-low.c (the_low_target): Likewise. + +2017-10-06 Yuanhui Zhang + + * win32-low.c: Include "common-inferior.h". + +2017-10-04 Sergio Durigan Junior + + * inferiors.c (set_inferior_cwd): New function. + * server.c (handle_general_set): Handle QSetWorkingDir packet. + (handle_query): Inform that QSetWorkingDir is supported. + * win32-low.c (create_process): Pass the inferior's cwd to + CreateProcess. + +2017-10-04 Sergio Durigan Junior + + * inferiors.c (current_inferior_cwd): New global variable. + (get_inferior_cwd): New function. + * inferiors.h (struct process_info) : New field. + +2017-10-04 Sergio Durigan Junior + + * Makefile.in (SFILES): Add $(srcdir)/common/gdb_tilde_expand.c. + (OBS): Add gdb_tilde_expand.o. + +2017-10-02 Simon Marchi + + * lynx-i386-low.c (lynx_i386_arch_setup): Call init_target_desc. + * nto-x86-low.c (nto_x86_arch_setup): Likewise. + +2017-09-29 Pedro Alves + + * ax.c (gdb_parse_agent_expr): Constify. + * ax.h (gdb_parse_agent_expr): Constify. + * mem-break.c (add_breakpoint_condition, add_breakpoint_commands): + Constify. + * mem-break.h (add_breakpoint_condition, add_breakpoint_commands): Constify. + * remote-utils.c (hex_or_minus_one, read_ptid): Constify. + * remote-utils.h (read_ptid): Constify. + * server.c (handle_qxfer_exec_file, handle_query, handle_v_cont) + (process_point_options, process_serial_event): Constify. + * tracepoint.c (add_tracepoint_action, cmd_qtdp, cmd_qtdpsrc) + (cmd_qtdv, cmd_qtenable_disable, cmd_qtro, cmd_qtframe, cmd_qtp) + (cmd_qtbuffer): Constify. + +2017-09-29 Pedro Alves + + * proc-service.c (ps_pdread): Return PS_ERR if reading memory + fails. + +2017-09-29 Pedro Alves + + * linux-low.c (handle_extended_wait): Pass parent thread instead + of process to thread_db_notice_clone. + * linux-low.h (thread_db_notice_clone): Replace parent process + parameter with parent thread parameter. + * thread-db.c (find_one_thread): Add comment. + (thread_db_notice_clone): Replace parent process parameter with + parent thread parameter. Temporarily switch to the parent thread. + +2017-09-26 Sergio Durigan Junior + + * gdbthread.h: Include "common-gdbthread.h". + * inferiors.c (switch_to_thread): Use "gdb_assert" instead of + "if" when validating the ptid. + * remote-utils.c: Include "gdbthread.h". + (prepare_resume_reply): Use "switch_to_thread". + * target.c (done_accessing_memory): Likewise. + +2017-09-25 Andreas Arnez + + * configure.srv (s390*-*-linux*): Add s390-gs-linux64.o and + s390x-gs-linux64.o to srv_regobj. Add s390-gs-linux64.xml, + s390x-gs-linux64.xml, s390-gs.xml, and s390-gsbc.xml to + srv_xmlfiles. Add s390-gs-linux64-ipa.o and + s390x-gs-linux64-ipa.o to ipa_obj. + * linux-s390-low.c (HWCAP_S390_GS): New define. + (s390_fill_gs, s390_store_gs, s390_fill_gsbc, s390_store_gsbc): + New functions. + (s390_regsets): Add regsets for NT_S390_GS_CB and NT_S390_GS_BC. + (s390_arch_setup): Check for guarded-storage support and choose + appropriate tdesc. + (initialize_low_arch): Invoke init_registers_s390_gs_linux64 and + init_registers_s390x_gs_linux64. + * linux-s390-tdesc.h (enum s390_linux_tdesc) : New + enum value. + (init_registers_s390x_gs_linux64, tdesc_s390x_gs_linux64) + (init_registers_s390_gs_linux64, tdesc_s390_gs_linux64): Declare. + +2017-09-22 Simon Marchi + + * win32-i386-low.c (i386_arch_setup): Call init_target_desc. + +2017-09-21 Kevin Buettner + + * linux-low.h (struct lwp_info): Add new field, thread_handle. + (thread_db_thread_handle): Declare. + * linux-low.c (linux_target_ops): Initialize thread_handle. + * server.c (handle_qxfer_threads_worker): Add support for + "handle" attribute. + * target.h (struct target_ops): Add new function pointer, + thread_handle. + (target_thread_handle): Define. + * thread-db.c (find_one_thread, attach_thread): Set thread_handle + field in lwp. + (thread_db_thread_handle): New function. + +2017-09-21 Kevin Buettner + + * linux-low.c (handle_extended_wait): Call thread_db_notice_clone(). + * linux-low.h (thread_db_notice_clone): Declare. + * thread-db.c (thread_db_notice_clone): New function. + +2017-09-21 Pedro Alves + + * server.c (gdb_read_memory, handle_status, process_serial_event) + (handle_serial_event, handle_target_event): Adjust to + set_desired_thread prototype change. + * target.c (set_desired_thread): Remove 'use_general' parameter + and adjust. + * target.h (set_desired_thread): Remove 'use_general' parameter. + +2017-09-20 Tom Tromey + + * target.c (target_terminal::terminal_state): Define. + (target_terminal::init): Rename from target_terminal_init. + (target_terminal::inferior): Rename from + target_terminal_inferior. + (target_terminal::ours): Rename from target_terminal_ours. + (target_terminal::ours_for_output, target_terminal::info): New. + +2017-09-16 Simon Marchi + + * server.c (accumulate_file_name_length): Remove. + (emit_dll_description): Adjust to std::string change. + (handle_qxfer_libraries): Use std::string to hold document. + +2017-09-16 Simon Marchi + + * linux-low.c (linux_qxfer_libraries_svr4): Adjust to change of + return type of xml_escape_text. + * server.c (emit_dll_description): Likewise. + +2017-09-16 Simon Marchi + + * server.c (captured_main): Accept argument for --selftest. + Update run_tests call. + * linux-x86-tdesc-selftest.c (initialize_low_tdesc): Add names + when registering selftests. + +2017-09-16 Sergio Durigan Junior + + * regcache.c (get_thread_regcache): Update code to use "std::vector" + instead of "VEC" for "target_desc.reg_defs". + (regcache_cpy): Likewise. + (registers_to_string): Likewise. + (registers_from_string): Likewise. + (find_regno): Likewise. + (supply_regblock): Likewise. + (regcache_raw_read_unsigned): Likewise. + * tdesc.c (init_target_desc): Likewise. + (tdesc_create_reg): Likewise. + * tdesc.h: Remove declaration of "tdesc_reg_p". Include . + (struct target_desc) : Convert to "std::vector". + (target_desc): Do not initialize "reg_defs". + (~target_desc): Update code to use "std::vector" instead of "VEC" + for "target_desc.reg_defs". + (operator==): Likewise. + +2017-09-15 Simon Marchi + + * inferiors.h (thread_to_gdb_id): Remove. + * inferiors.c (thread_to_gdb_id): Remove. + * server.c (handle_qxfer_threads_worker, handle_query): Adjust. + * lynx-low.c (lynx_resume, lynx_wait_1, lynx_fetch_registers, + lynx_store_registers, lynx_read_memory, lynx_write_memory): + Likewise. + * nto-low.c (nto_fetch_registers, nto_store_registers, + nto_stopped_by_watchpoint, nto_stopped_data_address): Likewise. + +2017-09-15 Simon Marchi + + * inferiors.h (gdb_id_to_thread_id): Remove. + * inferiors.c (gdb_id_to_thread_id): Remove. + * server.c (process_serial_event): Adjust to gdb_id_to_thread_id + removal. Move pid declaration closer to where it's used. + +2017-09-15 Simon Marchi + + * server.c (handle_detach): New function. + (process_serial_event): Move code out, call handle_detach. + +2017-09-15 Simon Marchi + + * server.c (require_running): Rename to ... + (require_running_or_return): ... this ... + (require_running_or_break): ... and this. + (handle_query, process_serial_event): Adjust. + +2017-09-15 Simon Marchi + + * linux-low.c (linux_set_resume_request): Remove unused + variables. + +2017-09-15 Simon Marchi + + * server.c (first_thread_of): Remove. + (process_serial_event): Replace usage of first_thread_of with + find_any_thread_of_pid. + * tracepoint.c (same_process_p): Remove. + (gdb_agent_about_to_close): Replace usage of same_process_p with + find_any_thread_of_pid. + * linux-x86-low.c (same_process_callback): Remove. + (x86_arch_setup_process_callback): Replace usage of + same_process_callback with find_any_thread_of_pid. + * thread-db.c (any_thread_of): Remove. + (switch_to_process): Replace usage of any_thread_of with + find_any_thread_of_pid. + * inferiors.c (thread_pid_matches_callback): Remove. + (find_thread_process): Adjust to use find_any_thread_of_pid. + +2017-09-10 Sergio Durigan Junior + + * regcache.c (get_thread_regcache): Guard calls to "memset" + with "!VEC_empty". + +2017-09-10 Sergio Durigan Junior + + * linux-low.c (handle_extended_wait): Use + "allocate_target_description" instead of "XNEW". + * linux-x86-low.c (initialize_low_arch): Likewise. + +2017-09-05 Yao Qi + + * configure.srv (srv_i386_regobj): Remove. + (srv_amd64_regobj): Remove. + (srv_regobj): Set it to "" for x86 non-linux targets. + * linux-x86-tdesc.c (i386_linux_read_description): + * lynx-i386-low.c: Include x86-xstate.h and arch/i386.h. + (init_registers_i386): Remove the declaration. + (tdesc_i386): Remove the declaration. + (lynx_i386_arch_setup): Call i386_create_target_description. + * nto-x86-low.c: Likewise. + * win32-i386-low.c [__x86_64__]: include arch/amd64.h. + [!__x86_64__]: include arch/i386.h. + (i386_arch_setup) [__x86_64__]: Call amd64_create_target_description. + +2017-09-05 Yao Qi + + * configure.srv (srv_amd64_linux_xmlfiles): Remove + i386/amd64-XXX-linux from it. + +2017-09-05 Yao Qi + + * configure.srv: Empty srv_amd64_linux_regobj if $development is + false. + (ipa_amd64_linux_regobj): Remove. + (ipa_x32_linux_regobj): Remove. + +2017-09-05 Yao Qi + + * Makefile.in (arch-amd64.o): New rule. + * configure.srv: Append arch-amd64.o. + * linux-amd64-ipa.c: Include common/x86-xstate.h. + (get_ipa_tdesc): Call amd64_linux_read_description. + (initialize_low_tracepoint): Don't call init_registers_x32_XXX + and init_registers_amd64_XXX. + * linux-x86-low.c (x86_linux_read_description): Call + amd64_linux_read_description. + (x86_get_ipa_tdesc_idx): Call amd64_get_ipa_tdesc_idx. + (initialize_low_arch): Don't call init_registers_x32_XXX and + init_registers_amd64_XXX. + * linux-x86-tdesc-selftest.c: Declare init_registers_amd64_XXX + and tdesc_amd64_XXX. + [__x86_64__] (amd64_tdesc_test): New function. + (initialize_low_tdesc) [__x86_64__]: Call init_registers_x32_XXX + and init_registers_amd64_XXX. + * linux-x86-tdesc.c: Include arch/amd64.h. + (xcr0_to_tdesc_idx): New function. + (i386_linux_read_description): New function. + (amd64_get_ipa_tdesc_idx): New function. + * linux-x86-tdesc.h (amd64_get_ipa_tdesc_idx): Declare. + (amd64_get_ipa_tdesc): Declare. + +2017-09-05 Yao Qi + + * configure.srv (srv_i386_linux_xmlfiles): Remove + i386/i386-XXX-linux.xml from it. + +2017-09-05 Yao Qi + + * configure.srv: Set srv_i386_linux_regobj empty if $development + is false. + * linux-i386-ipa.c (initialize_low_tracepoint): Don't call + initialize_low_tdesc. + * linux-x86-low.c (initialize_low_arch): Wrap initialize_low_tdesc + with #if initialize_low_tdesc. + * linux-x86-tdesc-selftest.c: New file. + * linux-x86-tdesc.c: Move code to linux-x86-tdesc-selftest.c. + +2017-09-05 Yao Qi + + * Makefile.in (arch-i386.o): New rule. + * configure.srv (i[34567]86-*-linux*): Add arch-i386.o. + (x86_64-*-linux*): Likewise. + * linux-x86-tdesc.c: Don't include ../features/i386/32bit-XXX.c, + include arch/i386.h. + (i386_linux_read_description): Remove code and call + i386_create_target_description. + * tdesc.c (allocate_target_description): New function. + * tdesc.h (set_tdesc_architecture): Remove declaration. + (set_tdesc_osabi): Likewise. + +2017-09-05 Yao Qi + + * linux-x86-tdesc.c: Don't include . + (i386_linux_read_description) [!IN_PROCESS_AGENT]: Call + set_tdesc_architecture and set_tdesc_osabi. Remove code setting + .xmltarget. + * server.c (get_features_xml): Call tdesc_get_features_xml. + * tdesc.c (set_tdesc_architecture): New function. + (set_tdesc_osabi): New function. + (tdesc_get_features_xml): New function. + (tdesc_create_feature): Add an argument. + * tdesc.h (struct target_desc) : New field. + : New field. + (~target_desc): xfree features, arch, and osabi. + (target_desc::oerator==): Don't compare .xmltarget. + [!IN_PROCESS_AGENT] (set_tdesc_architecture): Declare. + (set_tdesc_osabi): Likewise. + (tdesc_get_features_xml): Likewise. + +2017-09-05 Yao Qi + + * linux-x86-tdesc.c: Include selftest.h. + (i386_tdesc_test): New function. + (initialize_low_tdesc): Call selftests::register_test. + * tdesc.h: Include regdef.h. + (target_desc): Override operator == and !=. + +2017-09-05 Yao Qi + + * configure.srv (srv_tgtobj): Append linux-x86-tdesc.o. + (ipa_obj): Likewise. + * linux-i386-ipa.c: Include common/x86-xstate.h + (get_ipa_tdesc): Call i386_linux_read_description. + (initialize_low_tracepoint): Don't call init_registers_XXX + functions, call initialize_low_tdesc instead. + * linux-x86-low.c (x86_linux_read_description): Call + i386_linux_read_description. + (initialize_low_arch): Don't call init_registers_i386_XXX + functions, call initialize_low_tdesc. + * linux-x86-tdesc.c: New file. + * linux-x86-tdesc.h (x86_linux_tdesc): New X86_TDESC_LAST. + (i386_get_ipa_tdesc_idx): Declare. + (i386_get_ipa_tdesc): Declare. + (initialize_low_tdesc): Declare. + +2017-09-05 Yao Qi + + * linux-x86-low.c (x86_get_ipa_tdesc_idx): Use X86_TDESC_MMX + instead of 0. + +2017-09-05 Yao Qi + + * Makefile.in (IPA_OBJS): Add vec-ipa.o + * regcache.c (get_thread_regcache): Use VEC_length. + (init_register_cache): Likewise. + (regcache_cpy): Likewise. + (registers_to_string): Iterate reg_defs via VEC_iterate. + (find_regno): Likewise. + (find_register_by_number): Use VEC_index. + (register_size): Call find_register_by_number. + (register_data): Call find_register_by_number. + (supply_regblock): Use VEC_length. + (regcache_raw_read_unsigned): Likewise. + * tdesc.c (init_target_desc): Iterate reg_defs via + VEC_iterate. + (default_description): Update initializer. + (copy_target_description): Don't update field num_registers. + * tdesc.h (struct target_desc) : Change it to VEC. + : Remove. + +2017-09-04 Simon Marchi + + * Makefile.in (.SECONDARY): Define target. + +2017-09-03 Simon Marchi + + * linux-low.c (linux_wait_1): Adjust. + * server.c (queue_stop_reply_callback): Adjust. + +2017-08-31 Sergio Durigan Junior + + * server.c (handle_general_set): Handle QEnvironmentHexEncoded, + QEnvironmentUnset and QEnvironmentReset packets. + (handle_query): Inform remote that QEnvironmentHexEncoded, + QEnvironmentUnset and QEnvironmentReset are supported. + +2017-08-25 Simon Marchi + + * inferiors.h (inferior_target_data): Rename to ... + (thread_target_data): ... this. + (inferior_regcache_data): Rename to ... + (thread_regcache_data): ... this. + (set_inferior_regcache_data): Rename to ... + (set_thread_regcache_data): ... this. + * inferiors.c (inferior_target_data): Rename to ... + (thread_target_data): ... this. + (inferior_regcache_data): Rename to ... + (thread_regcache_data): ... this. + (set_inferior_regcache_data): Rename to ... + (set_thread_regcache_data): ... this. + (free_one_thread): Update. + * linux-low.h (get_thread_lwp): Update. + * regcache.c (get_thread_regcache): Update. + (regcache_invalidate_thread): Update. + (free_register_cache_thread): Update. + * win32-i386-low.c (update_debug_registers_callback): Update. + (win32_get_current_dr): Update. + * win32-low.c (thread_rec): Update. + (delete_thread_info): Update. + (continue_one_thread): Update. + (suspend_one_thread): Update. + +2017-08-24 Simon Marchi + + * inferiors.c (set_inferior_target_data): Remove. + * inferiors.h (set_inferior_target_data): Remove. + +2017-08-18 Yao Qi + + * Makefile.in (OBS): Add selftest.o. + * configure.ac: AC_DEFINE GDB_SELF_TEST if $development. + * configure, config.in: Re-generated. + * server.c: Include common/sefltest.h. + (captured_main): Handle option --selftest. + +2017-08-09 Yao Qi + + * configure.srv (srv_i386_regobj): Remove i386-avx.o, + i386-avx-avx512.o, i386-avx-mpx-avx512-pku.o, i386-mpx.o, + i386-avx-mpx.o and i386-mmx.o. + (srv_amd64_regobj): Remove amd64-avx.o, amd64-avx-avx512.o, + amd64-avx-mpx-avx512-pku.o, amd64-mpx.o and amd64-avx-mpx.o. + (srv_i386_xmlfiles): Remove i386/i386-avx.xml, + i386/i386-avx-avx512.xml, i386/i386-avx-mpx-avx512-pku.xml, + i386/i386-mpx.xml, i386/i386-avx-mpx.xml and i386/i386-mmx.xml. + (srv_amd64_xmlfile):i386/amd64-avx.xml, i386/amd64-avx-avx512.xml, + i386/amd64-avx-mpx-avx512-pku.xml, i386/amd64-mpx.xml, + i386/amd64-avx-mpx.xml. + +2017-08-09 Yao Qi + + * configure.srv (srv_amd64_regobj): Remove x32.o, x32-avx.o + and x32-avx-avx512.o. + (srv_amd64_xmlfiles): Remove i386/x32.xml, i386/x32-avx.xml + i386/x32-avx-avx512.xml. + +2017-07-26 Simon Marchi + + * tracepoint.h (enum class fast_tpoint_collect_result): New + enumeration. + (fast_tracepoint_collecting): Change return type to + fast_tpoint_collect_result. + * tracepoint.c (fast_tracepoint_collecting): Likewise. + * linux-low.h: Include tracepoint.h. + (struct lwp_info) : Change type to + fast_tpoint_collect_result. + * linux-low.c (handle_tracepoints): Adjust. + (linux_fast_tracepoint_collecting): Change return type to + fast_tpoint_collect_result. + (maybe_move_out_of_jump_pad, linux_wait_for_event_filtered, + linux_wait_1, stuck_in_jump_pad_callback, + lwp_signal_can_be_delivered, linux_resume_one_lwp_throw, + proceed_one_lwp): Adjust to type change. + +2017-07-10 Yao Qi + + * linux-x86-low.c (x86_linux_read_description): Re-indent the code. + +2017-06-29 Yao Qi + + * tdesc.h (struct target_desc) [IN_PROCESS_AGENT] : + Remove. + [IN_PROCESS_AGENT] : Likewise. + +2017-06-20 Simon Marchi + + * Makefile.in (IPA_OBJS): Sort and format one item per line. + +2017-06-20 Sergio Durigan Junior + + * linux-low.c (linux_create_inferior): Adjust code to access the + environment information via 'gdb_environ' class. + * lynx-low.c (lynx_create_inferior): Likewise. + * server.c (our_environ): Make it an instance of 'gdb_environ'. + (get_environ): Return a pointer to 'our_environ'. + (captured_main): Initialize 'our_environ'. + * server.h (get_environ): Adjust prototype. + * spu-low.c (spu_create_inferior): Adjust code to access the + environment information via 'gdb_environ' class. + +2017-06-17 Simon Marchi + + * linux-low.c (linux_read_memory, linux_write_memory): Remove + usage of "register" keyword. + +2017-06-17 Simon Marchi + + * configure: Re-generate. + +2017-06-17 Simon Marchi + + * configure: Re-generate. + +2017-06-17 Simon Marchi + + * Makefile.in (COMPILE.pre): Add "-x c++". + +2017-06-09 Sergio Durigan Junior + + * fork-child.c: Conditionally include . + +2017-06-07 Sergio Durigan Junior + + * server.c (handle_general_set): Handle new packet + "QStartupWithShell". + (handle_query): Add "QStartupWithShell" to the list of supported + packets. + (gdbserver_usage): Add help text explaining the + new "--startup-with-shell" and "--no-startup-with-shell" CLI + options. + (captured_main): Recognize and act upon the presence of the new + CLI options. + +2017-06-07 Sergio Durigan Junior + Pedro Alves + + * Makefile.in (SFILES): Add "nat/fork-inferior.o". + * configure: Regenerate. + * configure.srv (srv_linux_obj): Add "fork-child.o" and + "fork-inferior.o". + (i[34567]86-*-lynxos*): Likewise. + (spu*-*-*): Likewise. + * fork-child.c: New file. + * linux-low.c: Include "common-inferior.h", "nat/fork-inferior.h" + and "environ.h". + (linux_ptrace_fun): New function. + (linux_create_inferior): Adjust function prototype to reflect + change on "target.h". Adjust function code to use + "fork_inferior". + (linux_request_interrupt): Delete "signal_pid". + * lynx-low.c: Include "common-inferior.h" and "nat/fork-inferior.h". + (lynx_ptrace_fun): New function. + (lynx_create_inferior): Adjust function prototype to reflect + change on "target.h". Adjust function code to use + "fork_inferior". + * nto-low.c (nto_create_inferior): Adjust function prototype and + code to reflect change on "target.h". Update comments. + * server.c: Include "common-inferior.h", "nat/fork-inferior.h", + "common-terminal.h" and "environ.h". + (terminal_fd): Moved to fork-child.c. + (old_foreground_pgrp): Likewise. + (restore_old_foreground_pgrp): Likewise. + (last_status): Make it global. + (last_ptid): Likewise. + (our_environ): New variable. + (startup_with_shell): Likewise. + (program_name): Likewise. + (program_argv): Rename to... + (program_args): ...this. + (wrapper_argv): New variable. + (start_inferior): Delete function. + (get_exec_wrapper): New function. + (get_exec_file): Likewise. + (get_environ): Likewise. + (prefork_hook): Likewise. + (post_fork_inferior): Likewise. + (postfork_hook): Likewise. + (postfork_child_hook): Likewise. + (handle_v_run): Update code to deal with arguments coming from the + remote host. Update calls from "start_inferior" to + "create_inferior". + (captured_main): Likewise. Initialize environment variable. Call + "have_job_control". + * server.h (post_fork_inferior): New prototype. + (get_environ): Likewise. + (last_status): Declare. + (last_ptid): Likewise. + (signal_pid): Likewise. + * spu-low.c: Include "common-inferior.h" and "nat/fork-inferior.h". + (spu_ptrace_fun): New function. + (spu_create_inferior): Adjust function prototype to reflect change + on "target.h". Adjust function code to use "fork_inferior". + * target.c (target_terminal_init): New function. + (target_terminal_inferior): Likewise. + (target_terminal_ours): Likewise. + * target.h: Include . + (struct target_ops) : Update prototype. + (create_inferior): Update macro. + * utils.c (gdb_flush_out_err): New function. + * win32-low.c (win32_create_inferior): Adjust function prototype + and code to reflect change on "target.h". + +2017-06-07 Sergio Durigan Junior + + * inferiors.c (switch_to_thread): New function. + +2017-06-07 Sergio Durigan Junior + + * Makefile.in (SFILE): Add "common/job-control.c". + (OBS): Add "job-control.o". + +2017-05-06 Sergio Durigan Junior + + * Makefile: Remove "@host_makefile_frag@". + +2017-05-05 Pedro Alves + + * configure: Regenerate. + +2017-05-03 Sergio Durigan Junior + + * configure: Regenerate. + +2017-05-02 Simon Marchi + + * linux-arm-low.c (arm_gdbserver_get_next_pcs): Adjust to + software_single_step change of return type to + std::vector. + * linux-low.c (install_software_single_step_breakpoints): + Likewise. + * linux-low.h (install_software_single_step_breakpoints): + Likewise. + +2017-04-12 Sergio Durigan Junior + + * remote-utils.c: Include "gdb_termios.h" instead of + "terminal.h". + * terminal.h: Delete file. + +2017-04-12 Sergio Durigan Junior + + * server.c: Include . + : Convert to std::vector. + (start_inferior): Rewrite function to use C++. + (handle_v_run): Likewise. Update code that calculates the argv + based on the vRun packet; use C++. + (captured_main): Likewise. + +2017-04-06 Simon Marchi + + * server.c (handle_v_cont): Initialize thread_resume::thread + with null_ptid. + +2017-04-05 Pedro Alves + + * configure: Regenerate. + +2017-04-05 Pedro Alves + + * gdbreplay.c (sync_error): Constify. + * linux-x86-low.c (push_opcode): Constify. + +2017-04-05 Pedro Alves + + * win32-low.c (get_child_debug_event) + : Don't report TARGET_WAITKIND_EXECD. + Report TARGET_WAITKIND_SPURIOUS instead. + +2017-04-05 Pedro Alves + + * remote-utils.c (remote_prepare, remote_open): Constify. + * remote-utils.h (remote_prepare, remote_open): Constify. + * server.c (captured_main): Constify 'port' handling. + +2017-04-04 Simon Marchi + + * Makefile.in (clean): Clear .deps. + +2017-03-31 Simon Marchi + + * .gitignore: Remove generated files, replace with wildcard. + * (clean): Replace removal of generated files with wildcard. + (version.c): Replace with... + (version-generated.c): ...this. + (xml-builtin.c): Replace with... + (xml-builtin-generated.c): ...this. + (%-ipa.o: %-generated.c, %.o: %-generated.c): New rules. + (%.c: *regformats*): Replace with... + (%-generated.c: *regformats*): ...this. + +2017-03-27 Max Filippov + + * linux-xtensa-low.c (regnum::R_THREADPTR): New enum member. + (xtensa_fill_gregset): Call collect_register_by_name for + threadptr register. + (xtensa_store_gregset): Call supply_register_by_name for + threadptr register. + +2017-03-27 Max Filippov + + * linux-xtensa-low.c (xtensa_fill_gregset): Call collect_register + for all registers in a0_regnum..a0_regnum + C0_NREGS range. + (xtensa_store_gregset): Call supply_register for all registers in + a0_regnum..a0_regnum + C0_NREGS range. + +2017-03-13 Simon Marchi + + * Makefile.in (%-ipa.o: %-ipa.c): New rule. + (ax-ipa.o: ax.c): Remove. + (linux-i386-ipa.o: linux-i386-ipa.c): Remove. + (linux-amd64-ipa.o: linux-amd64-ipa.c): Remove. + (linux-aarch64-ipa.o: linux-aarch64-ipa.c): Remove. + (linux-s390-ipa.o: linux-s390-ipa.c): Remove. + (linux-ppc-ipa.o: linux-ppc-ipa.c): Remove. + +2017-03-13 Simon Marchi + + * Makefile.in (%-ipa.o: ../common/%.c): New rule. + (print-utils-ipa.o: ../common/print-utils.c): Remove. + (rsp-low-ipa.o: ../common/rsp-low.c): Remove. + (errors-ipa.o: ../common/errors.c): Remove. + (format-ipa.o: ../common/format.c): Remove. + (common-utils-ipa.o: ../common/common-utils.c): Remove. + +2017-03-13 Simon Marchi + + * Makefile.in (%-ipa.o: %.c): New rule. + (tracepoint-ipa.o: tracepoint.c): Remove. + (utils-ipa.o: utils.c): Remove. + (remote-utils-ipa.o: remote-utils.c): Remove. + (regcache-ipa.o: regcache.c): Remove. + (i386-linux-ipa.o: i386-linux.c): Remove. + (i386-mmx-linux-ipa.o: i386-mmx-linux.c): Remove. + (i386-avx-linux-ipa.o: i386-avx-linux.c): Remove. + (i386-mpx-linux-ipa.o: i386-mpx-linux.c): Remove. + (i386-avx-mpx-linux-ipa.o: i386-avx-mpx-linux.c): Remove. + (i386-avx-avx512-linux-ipa.o: i386-avx-avx512-linux.c): Remove. + (i386-avx-mpx-avx512-pku-linux-ipa.o: i386-avx-mpx-avx512-pku-linux.c): Remove. + (amd64-linux-ipa.o: amd64-linux.c): Remove. + (amd64-avx-linux-ipa.o: amd64-avx-linux.c): Remove. + (amd64-mpx-linux-ipa.o: amd64-mpx-linux.c): Remove. + (amd64-avx-mpx-linux-ipa.o: amd64-avx-mpx-linux.c): Remove. + (amd64-avx-avx512-linux-ipa.o: amd64-avx-avx512-linux.c): Remove. + (amd64-avx-mpx-avx512-pku-linux-ipa.o: amd64-avx-mpx-avx512-pku-linux.c): Remove. + (aarch64-ipa.o: aarch64.c): Remove. + (s390-linux32-ipa.o: s390-linux32.c): Remove. + (s390-linux32v1-ipa.o: s390-linux32v1.c): Remove. + (s390-linux32v2-ipa.o: s390-linux32v2.c): Remove. + (s390-linux64-ipa.o: s390-linux64.c): Remove. + (s390-linux64v1-ipa.o: s390-linux64v1.c): Remove. + (s390-linux64v2-ipa.o: s390-linux64v2.c): Remove. + (s390-te-linux64-ipa.o: s390-te-linux64.c): Remove. + (s390-vx-linux64-ipa.o: s390-vx-linux64.c): Remove. + (s390-tevx-linux64-ipa.o: s390-tevx-linux64.c): Remove. + (s390x-linux64-ipa.o: s390x-linux64.c): Remove. + (s390x-linux64v1-ipa.o: s390x-linux64v1.c): Remove. + (s390x-linux64v2-ipa.o: s390x-linux64v2.c): Remove. + (s390x-te-linux64-ipa.o: s390x-te-linux64.c): Remove. + (s390x-vx-linux64-ipa.o: s390x-vx-linux64.c): Remove. + (s390x-tevx-linux64-ipa.o: s390x-tevx-linux64.c): Remove. + (powerpc-32l-ipa.o: powerpc-32l.c): Remove. + (powerpc-altivec32l-ipa.o: powerpc-altivec32l.c): Remove. + (powerpc-cell32l-ipa.o: powerpc-cell32l.c): Remove. + (powerpc-vsx32l-ipa.o: powerpc-vsx32l.c): Remove. + (powerpc-isa205-32l-ipa.o: powerpc-isa205-32l.c): Remove. + (powerpc-isa205-altivec32l-ipa.o: powerpc-isa205-altivec32l.c): Remove. + (powerpc-isa205-vsx32l-ipa.o: powerpc-isa205-vsx32l.c): Remove. + (powerpc-e500l-ipa.o: powerpc-e500l.c): Remove. + (powerpc-64l-ipa.o: powerpc-64l.c): Remove. + (powerpc-altivec64l-ipa.o: powerpc-altivec64l.c): Remove. + (powerpc-cell64l-ipa.o: powerpc-cell64l.c): Remove. + (powerpc-vsx64l-ipa.o: powerpc-vsx64l.c): Remove. + (powerpc-isa205-64l-ipa.o: powerpc-isa205-64l.c): Remove. + (powerpc-isa205-altivec64l-ipa.o: powerpc-isa205-altivec64l.c): Remove. + (powerpc-isa205-vsx64l-ipa.o: powerpc-isa205-vsx64l.c): Remove. + (tdesc-ipa.o: tdesc.c): Remove. + (x32-linux-ipa.o: x32-linux.c): Remove. + (x32-avx-linux-ipa.o: x32-avx-linux.c): Remove. + (x32-avx512-linux-ipa.o: x32-avx512-linux.c): Remove. + +2017-03-13 Simon Marchi + + * Makefile.in (%.o: ../arch/%.c): New rule. + (arm.o: ../arch/arm.c): Remove. + (arm-linux.o: ../arch/arm-linux.c): Remove. + (arm-get-next-pcs.o: ../arch/arm-get-next-pcs.c): Remove. + (aarch64-insn.o: ../arch/aarch64-insn.c): Remove. + +2017-03-13 Simon Marchi + + * Makefile.in (%.o: ../nat/%.c): New rule. + (x86-dregs.o: ../nat/x86-dregs.c): Remove. + (amd64-linux-siginfo.o: ../nat/amd64-linux-siginfo.c): Remove. + (linux-btrace.o: ../nat/linux-btrace.c): Remove. + (linux-osdata.o: ../nat/linux-osdata.c): Remove. + (linux-procfs.o: ../nat/linux-procfs.c): Remove. + (linux-ptrace.o: ../nat/linux-ptrace.c): Remove. + (linux-waitpid.o: ../nat/linux-waitpid.c): Remove. + (mips-linux-watch.o: ../nat/mips-linux-watch.c): Remove. + (ppc-linux.o: ../nat/ppc-linux.c): Remove. + (linux-personality.o: ../nat/linux-personality.c): Remove. + (aarch64-linux-hw-point.o: ../nat/aarch64-linux-hw-point.c): Remove. + (aarch64-linux.o: ../nat/aarch64-linux.c): Remove. + (x86-linux.o: ../nat/x86-linux.c): Remove. + (x86-linux-dregs.o: ../nat/x86-linux-dregs.c): Remove. + (linux-namespaces.o: ../nat/linux-namespaces.c): Remove. + +2017-03-13 Simon Marchi + + * Makefile.in (%.o: ../common/%.c): New rule. + (signals.o: ../common/signals.c): Remove. + (print-utils.o: ../common/print-utils.c): Remove. + (rsp-low.o: ../common/rsp-low.c): Remove. + (common-utils.o: ../common/common-utils.c): Remove. + (posix-strerror.o: ../common/posix-strerror.c): Remove. + (mingw-strerror.o: ../common/mingw-strerror.c): Remove. + (vec.o: ../common/vec.c): Remove. + (gdb_vecs.o: ../common/gdb_vecs.c): Remove. + (xml-utils.o: ../common/xml-utils.c): Remove. + (ptid.o: ../common/ptid.c): Remove. + (buffer.o: ../common/buffer.c): Remove. + (format.o: ../common/format.c): Remove. + (filestuff.o: ../common/filestuff.c): Remove. + (agent.o: ../common/agent.c): Remove. + (errors.o: ../common/errors.c): Remove. + (environ.o: ../common/environ.c): Remove. + (common-debug.o: ../common/common-debug.c): Remove. + (cleanups.o: ../common/cleanups.c): Remove. + (common-exceptions.o: ../common/common-exceptions.c): Remove. + (fileio.o: ../common/fileio.c): Remove. + (common-regcache.o: ../common/common-regcache.c): Remove. + (signals-state-save-restore.o: ../common/signals-state-save-restore.c): Remove. + (new-op.o: ../common/new-op.c): Remove. + (btrace-common.o: ../common/btrace-common.c): Remove. + +2017-03-13 Simon Marchi + + * Makefile.in (%.o: ../target/%.c): New rule. + (waitstatus.o: ../target/waitstatus.c): Remove. + +2017-03-13 Simon Marchi + + * Makefile.in + (%.c: ../regformats/%.dat, + (%.c: ../regformats/arm/%.dat, + (%.c: ../regformats/i386/%.dat, + (%.c: ../regformats/rs6000/%.dat): New rules. + (aarch64.c): Remove. + (reg-arm.c): Remove. + (arm-with-iwmmxt.c): Remove. + (arm-with-vfpv2.c): Remove. + (arm-with-vfpv3.c): Remove. + (arm-with-neon.c): Remove. + (reg-bfin.c): Remove. + (reg-cris.c): Remove. + (reg-crisv32.c): Remove. + (i386.c): Remove. + (i386-linux.c): Remove. + (i386-avx.c): Remove. + (i386-avx-linux.c): Remove. + (i386-avx-avx512.c): Remove. + (i386-avx-avx512-linux.c): Remove. + (i386-mpx.c): Remove. + (i386-mpx-linux.c): Remove. + (i386-avx-mpx-avx512-pku.c): Remove. + (i386-avx-mpx-avx512-pku-linux.c): Remove. + (i386-avx-mpx.c): Remove. + (i386-avx-mpx-linux.c): Remove. + (i386-mmx.c): Remove. + (i386-mmx-linux.c): Remove. + (reg-ia64.c): Remove. + (reg-m32r.c): Remove. + (reg-m68k.c): Remove. + (reg-cf.c): Remove. + (mips-linux.c): Remove. + (mips-dsp-linux.c): Remove. + (mips64-linux.c): Remove. + (mips64-dsp-linux.c): Remove. + (nios2-linux.c): Remove. + (powerpc-32.c): Remove. + (powerpc-32l.c): Remove. + (powerpc-altivec32l.c): Remove. + (powerpc-cell32l.c): Remove. + (powerpc-vsx32l.c): Remove. + (powerpc-isa205-32l.c): Remove. + (powerpc-isa205-altivec32l.c): Remove. + (powerpc-isa205-vsx32l.c): Remove. + (powerpc-e500l.c): Remove. + (powerpc-64l.c): Remove. + (powerpc-altivec64l.c): Remove. + (powerpc-cell64l.c): Remove. + (powerpc-vsx64l.c): Remove. + (powerpc-isa205-64l.c): Remove. + (powerpc-isa205-altivec64l.c): Remove. + (powerpc-isa205-vsx64l.c): Remove. + (s390-linux32.c): Remove. + (s390-linux32v1.c): Remove. + (s390-linux32v2.c): Remove. + (s390-linux64.c): Remove. + (s390-linux64v1.c): Remove. + (s390-linux64v2.c): Remove. + (s390-te-linux64.c): Remove. + (s390-vx-linux64.c): Remove. + (s390-tevx-linux64.c): Remove. + (s390x-linux64.c): Remove. + (s390x-linux64v1.c): Remove. + (s390x-linux64v2.c): Remove. + (s390x-te-linux64.c): Remove. + (s390x-vx-linux64.c): Remove. + (s390x-tevx-linux64.c): Remove. + (tic6x-c64xp-linux.c): Remove. + (tic6x-c64x-linux.c): Remove. + (tic6x-c62x-linux.c): Remove. + (reg-sh.c): Remove. + (reg-sparc64.c): Remove. + (reg-spu.c): Remove. + (amd64.c): Remove. + (amd64-linux.c): Remove. + (amd64-avx.c): Remove. + (amd64-avx-linux.c): Remove. + (amd64-avx-avx512.c): Remove. + (amd64-avx-avx512-linux.c): Remove. + (amd64-mpx.c): Remove. + (amd64-mpx-linux.c): Remove. + (amd64-avx-mpx-avx512-pku.c): Remove. + (amd64-avx-mpx-avx512-pku-linux.c): Remove. + (amd64-avx-mpx.c): Remove. + (amd64-avx-mpx-linux.c): Remove. + (x32.c): Remove. + (x32-linux.c): Remove. + (x32-avx.c): Remove. + (x32-avx-linux.c): Remove. + (x32-avx-avx512.c): Remove. + (x32-avx-avx512-linux.c): Remove. + (reg-xtensa.c): Remove. + (reg-tilegx.c): Remove. + (reg-tilegx32.c): Remove. + +2017-03-07 Sergio Durigan Junior + + * Makefile.in (SFILES): Add "common/environ.c". + (OBJS): Add "common/environ.h". + +2017-01-27 Walfred Tedeschi + + * configure.ac: Check if the fs_base and gs_base members of + `struct user_regs_struct' exist. + * config.in: Regenerated. + * configure: Likewise. + +2017-01-09 Antoine Tremblay + + * linux-aarch32-low.c (arm_breakpoint_kind_from_pc): Use + target_read_memory. + * linux-arm-low.c (get_next_pcs_read_memory_unsigned_integer): Likewise. + (get_next_pcs_syscall_next_pc): Likewise. + +2016-12-23 Luis Machado + + * win32-i386-low.c: Fix incorrect reference to a couple source files. + * nto-x86-low.c: Likewise. + +2016-11-30 Simon Marchi + + * Makefile.in: Include disable-implicit-rules.mk. + +2016-11-23 Pedro Alves + + * debug.c: Include instead of "gdb_sys_time.h". + (debug_vprintf): Use std::chrono::steady_clock instead of + gettimeofday. Use '.' instead of ':'. + * tracepoint.c: Include instead of "gdb_sys_time.h". + (get_timestamp): Use std::chrono::steady_clock instead of + gettimeofday. + +2016-11-22 Simon Marchi + + * Makefile.in: Fix whitespace formatting. + +2016-11-22 Simon Marchi + + * Makefile.in (SFILES, OBS): Flatten list and order + alphabetically. + +2016-11-23 Pedro Alves + + * event-loop.c (handle_file_event): Use warning. + * linux-low.c (linux_resume_one_lwp_throw): Use warning. + * mem-break.c (add_breakpoint_condition, add_breakpoint_commands): + Use warning. + +2016-11-23 Pedro Alves + + * linux-low.c (check_zombie_leaders): Use debug_printf for debug + output. + * notif.c (handle_notif_ack, notif_event_enque): Likewise. + * remote-utils.c (putpkt_binary_1, readchar, getpkt): Use + debug_printf and debug_flush for debug output. + * server.c (handle_general_set): Likewise. + * thread-db.c (try_thread_db_load): Use debug_printf for debug + output. + +2016-11-17 Simon Marchi + + * Makefile.in (.c.o): Replace rule with ... + (%.o: %.c): ... this one. + +2016-11-17 Simon Marchi + + * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines + prefixed with @GMAKE_FALSE@. Update comment related to non-GNU + make. + * configure.ac: Remove checks for the make program. + * configure: Re-generate. + +2016-10-28 Pedro Alves + + * Makefile.in (CXX_DIALECT): Get from configure. + (COMPILE.pre, CC_LD): Append $(CXX_DIALECT). + * acinclude.m4: Include ../ax_cxx_compile_stdcxx.m4. + * configure.ac: Call AX_CXX_COMPILE_STDCXX. + * config.in: Regenerate. + * configure: Regenerate. + +2016-10-27 Yao Qi + + * linux-low.c (linux_supports_range_stepping): Return true if + can_software_single_step return true. + +2016-10-27 Yao Qi + + * inferiors.c (find_inferior_in_random): New function. + * inferiors.h (find_inferior_in_random): Declare. + * linux-low.c (linux_wait_for_event_filtered): Call + find_inferior_in_random instead of find_inferior. + +2016-10-27 Yao Qi + + * linux-low.c (linux_wait_1): If single-step breakpoints are + inserted, remove them. + +2016-10-26 Pedro Alves + + * linux-low.c (handle_extended_wait): Link parent/child fork + threads. + (linux_wait_1): Unlink them. + (linux_set_resume_request): Ignore resume requests for + already-resumed and unhandled fork child threads. + * linux-low.h (struct lwp_info) : New field. + * server.c (in_queued_stop_replies_ptid, in_queued_stop_replies): + New functions. + (handle_v_requests) : Don't call require_running. + * server.h (in_queued_stop_replies): New declaration. + +2016-10-24 Yao Qi + + PR server/20733 + * linux-aarch64-low.c (append_insns): Cast the return value to + 'uint32_t *'. + +2016-10-10 Yao Qi + + * linux-aarch32-low.c (enum arm_breakpoint_kinds): Remove. + +2016-10-06 Sergio Durigan Junior + + * target.c (target_supports_multi_process): New function, moved + from... + * target.h (target_supports_multi_process): ... here. Remove + macro. + +2016-10-05 Tom Tromey + + PR remote/20655: + * tracepoint.c (handle_tracepoint_bkpts): Check + ipa_error_tracepoint, not ipa_stopping_tracepoint. + +2016-10-05 Yao Qi + + * configure.srv: Update the path of arm-*.xml files. + +2016-10-05 Terry Guo + Yao Qi + + * Makefile.in: Adjust the path of rules. + * configure.srv: Update the path of xml files. + * regformats/arm-with-iwmmxt.dat: Regenerated. + * regformats/arm-with-neon.dat: Likewise. + * regformats/arm-with-vfpv2.dat: Likewise. + * regformats/arm-with-vfpv3.dat Likewise. + +2016-09-30 Yao Qi + + PR gdbserver/20627 + * target.c (target_stop_and_wait): Don't call + target_continue_no_signal, use resume_stop instead. + +2016-09-26 Yao Qi + + * linux-low.c (linux_wait_1): Call debug_exit. + +2016-09-23 Pedro Alves + + * Makefile.in (SFILES): Add common/new-op.c. + (OBS): Add common/new-op.o. + (new-op.o): New rule. + +2016-09-21 Simon Marchi + + * .gitinore: Ignore more files. + +2016-09-21 Yao Qi + + * linux-aarch32-low.c (arm_fill_gregset): Keep bits 20 to + 23. + +2016-09-19 Sergio Durigan Junior + + * server.c (start_inferior): Call target_mourn_inferior instead of + mourn_inferior; pass ptid_t argument to it. + (resume): Likewise. + (handle_target_event): Likewise. + * target.c (target_mourn_inferior): New function. + * target.h (mourn_inferior): Delete macro. + +2016-09-16 Andreas Arnez + + * linux-low.c (lwp_is_stepping): New function. + +2016-09-06 Carl Love + + * server.c (start_inferior): Fixed comment, requested comment change + didn't get updated correctly. Removed reference to ptrace () call as + it is only true on Linux systems. + +2016-09-06 Carl Love + + * server.c (start_inferior): Do not call + function target_post_create_inferior () if the + inferior process has already exited. + +2016-09-05 Pedro Alves + + * Makefile.in (COMPILER, COMPILER_CFLAGS): Remove. + (COMPILE.pre, CC_LD): Use CXX directly. + (INTERNAL_CFLAGS_BASE): Use CXXFLAGS directly. + * acinclude.m4: Don't include build-with-cxx.m4. + * configure.ac: Remove GDB_AC_BUILD_WITH_CXX call. + * configure: Regenerate. + +2016-09-02 Akash Trehan + + PR gdb/19495 + * remote-utils.c (relocate_instruction): Remove redundant strcpy() + call writing data to own_buf. + +2016-09-01 Sergio Durigan Junior + + * target.c (mywait): Call target_wait instead of + the_target->wait. + (target_wait): New function. + +2016-09-01 Sergio Durigan Junior + + * server.c (start_inferior): New variable 'ptid'. Replace calls + to the_target->resume by target_continue{,_no_signal}, depending + on the case. + * target.c (target_stop_and_wait): Call target_continue_no_signal + instead of the_target->resume. + (target_continue): New function. + +2016-08-31 Antoine Tremblay + + * linux-low.c (linux_wait_1): Move event switch after unsuspend_lwps. + +2016-08-25 Adhemerval Zanella + + PR server/20491 + * gdb_proc_service.h (ps_get_thread_area): Remove const from struct + ps_prochandle. + * linux-aarch64-low.c (ps_get_thread_area): Likewise. + * linux-arm-low.c (ps_get_thread_area): Likewise. + * linux-crisv32-low.c (ps_get_thread_area): Likewise. + * linux-m68k-low.c (ps_get_thread_area): Likewise. + * linux-mips-low.c (ps_get_thread_area): Likewise. + * linux-nios2-low.c (ps_get_thread_area): Likewise. + * linux-tic6x-low.c (ps_get_thread_area): Likewise. + * linux-x86-low.c (ps_get_thread_area): Likewise. + * linux-xtensa-low.c (ps_get_thread_area): Likewise. + +2016-08-19 Pedro Alves + + * linux-x86-low.c (amd64_emit_call): Emit missing call opcode. + +2016-08-19 Pedro Alves + + * linux-x86-low.c (amd64_install_fast_tracepoint_jump_pad): Fix + comment. Use memcpy instead of casting through unsigned long. + +2016-08-19 Pedro Alves + + * linux-amd64-ipa.c (alloc_jump_pad_buffer) [__ILP32__]: Try + allocating around 0x80000000. + +2016-08-19 Pedro Alves + + PR gdb/20415 + * Makefile.in (x32-linux-ipa.o, x32-avx-linux-ipa.o) + (x32-avx512-linux-ipa.o): New rules. + * configure.ac (x86_64-*-linux*): New x32 check. + * configure.srv (ipa_x32_linux_regobj): New. + (x86_64-*-linux*): Use $ipa_x32_linux_regobj if building for x32. + * linux-amd64-ipa.c (get_ipa_tdesc) [__ILP32__]: Return x32 + descriptions. + (initialize_low_tracepoint) [__ILP32__]: Initialize x32 + descriptions. + * configure: Regenerate. + +2016-08-09 Pedro Alves + + PR gdb/18653 + * Makefile.in (OBS): Add signals-state-save-restore.o. + (signals-state-save-restore.o): New rule. + * config.in: Regenerate. + * configure: Regenerate. + * linux-low.c: Include "signals-state-save-restore.h". + (linux_create_inferior): Call + restore_original_signals_state. + * server.c: Include "dispositions-save-restore.h". + (captured_main): Call save_original_signals_state. + +2016-08-05 Pedro Alves + + * configure: Regenerate. + +2016-08-04 Yao Qi + + * linux-low.c (regsets_fetch_inferior_registers): Check + errno is ESRCH or not. + +2016-08-02 Yao Qi + + * thread-db.c (struct thread_db) : Remove. + : Remove. + (thread_db_load_search): Update. + (try_thread_db_load_1): Don't look for td_ta_event_addr, + td_ta_set_event and td_ta_event_getmsg. + +2016-07-26 Pedro Alves + + PR server/20414 + * linux-x86-low.c (x86_get_pc, x86_set_pc): Use uint64_t instead + of unsigned long for 64-bit registers and use uint32_t instead of + unsigned int for 32-bit registers. + +2016-07-26 Pedro Alves + + * linux-x86-low.c (x86_siginfo_fixup): Rename 'native' parameter + to 'ptrace'. + +2016-07-21 Tom Tromey + + * configure: Rebuild. + +2016-07-21 Yao Qi + + * mem-break.c (find_gdb_breakpoint): Cast bp to + 'struct gdb_breakpoint *' rather than 'gdb_breakpoint *'. + +2016-07-21 Yao Qi + + * server.c (handle_v_requests): Support s and S actions + if target_supports_software_single_step return true. + +2016-07-21 Yao Qi + + * linux-low.c (resume_stopped_resumed_lwps): If resume request + is resume_step, call maybe_hw_step. + (linux_wait_1): Stop all threads, remove reinsert breakpoints, + and unstop them. + (linux_resume_one_lwp_throw): Don't assert the thread has reinsert + breakpoints or not. + (proceed_one_lwp): If resume request is resume_step, install + reinsert breakpoints and call maybe_hw_step. + +2016-07-21 Yao Qi + + * linux-low.c (proceed_one_lwp): Declare. + (linux_resume_one_thread): Remove local variable 'step'. + Lift code enqueue signal. Call proceed_one_lwp instead of + linux_resume_one_lwp. + +2016-07-21 Yao Qi + + * linux-low.c (linux_resume_one_thread): Call + enqueue_pending_signal. + +2016-07-21 Yao Qi + + * gdbthread.h (make_cleanup_restore_current_thread): Declare. + * inferiors.c (do_restore_current_thread_cleanup): New function. + (make_cleanup_restore_current_thread): Likewise. + * linux-low.c (install_software_single_step_breakpoints): Call + make_cleanup_restore_current_thread. Switch current_thread to + thread. + +2016-07-21 Yao Qi + + * mem-break.c (struct reinsert_breakpoint) : New field. + (set_reinsert_breakpoint): New parameter ptid. Callers updated. + (clone_one_breakpoint): Likewise. + (delete_reinsert_breakpoints): Change parameter to thread. + Callers updated. + (has_reinsert_breakpoints): Likewise. + (uninsert_reinsert_breakpoints): Likewise. + (reinsert_reinsert_breakpoints): Likewise. + * mem-break.h (set_reinsert_breakpoint): Update declaration. + (delete_reinsert_breakpoints): Likewise. + (reinsert_reinsert_breakpoints): Likewise. + (uninsert_reinsert_breakpoints): Likewise. + (has_reinsert_breakpoints): Likewise. + +2016-07-21 Yao Qi + + * inferiors.c (get_thread_process): Make parameter const. + * inferiors.h (get_thread_process): Update declaration. + * mem-break.c (clone_all_breakpoints): Remove all parameters. + Add new parameters child_thread and parent_thread. Callers + updated. + * mem-break.h (clone_all_breakpoints): Update declaration. + +2016-07-21 Yao Qi + + * mem-break.c (struct breakpoint) : Remove. + : Remove. + (struct gdb_breakpoint): New. + (struct other_breakpoint): New. + (struct reinsert_breakpoint): New. + (is_gdb_breakpoint): New function. + (any_persistent_commands): Update command_list if + is_gdb_breakpoint returns true. + (set_breakpoint): Create breakpoints according to their types. + (find_gdb_breakpoint): Return 'struct gdb_breakpoint *'. + (set_gdb_breakpoint_1): Likewise. + (set_gdb_breakpoint): Likewise. + (clear_breakpoint_conditions): Change parameter type to + 'struct gdb_breakpoint *'. + (clear_breakpoint_commands): Likewise. + (clear_breakpoint_conditions_and_commands): Likewise. + (add_condition_to_breakpoint): Likewise. + (add_breakpoint_condition): Likewise. + (add_commands_to_breakpoint): Likewise. + (check_breakpoints): Check other_breakpoint. + (clone_one_breakpoint): Clone breakpopint according to its type. + * mem-break.h (struct gdb_breakpoint): Declare. + (set_gdb_breakpoint): Update declaration. + (clear_breakpoint_conditions_and_commands): Likewise. + (add_breakpoint_condition): Likewise. + (add_breakpoint_commands): Likewise. + * server.c (process_point_options): Change parameter type to + 'struct gdb_breakpoint *'. + +2016-07-21 Yao Qi + + * mem-break.c (set_breakpoint_at): Rename it to ... + (set_breakpoint_type_at): ... it. + (set_breakpoint_at): Call set_breakpoint_type_at. + (set_reinsert_breakpoint): Call set_breakpoint_type_at. + * mem-break.h (set_breakpoint_at): Update comments. + +2016-07-12 Chung-Lin Tang + + * linux-nios2-low.c (nios2_fill_gregset): Add type cast + to buf parameter. + (nios2_store_gregset): Likewise. + +2016-07-01 Pedro Alves + Antoine Tremblay + + * linux-low.c: Change interface to take the target lwp_info + pointer directly and return void. Handle detaching from a zombie + thread. + (linux_detach_lwp_callback): New function. + (linux_detach): Detach from the leader thread after detaching from + the clone threads. + +2016-06-28 Yao Qi + + * linux-aarch64-low.c (aarch64_ftrace_insn_reloc_b): Use int64_t + for variable new_offset. + (aarch64_ftrace_insn_reloc_b_cond): Likewise. + (aarch64_ftrace_insn_reloc_cb): Likewise. + (aarch64_ftrace_insn_reloc_tb): Likewise. + (aarch64_install_fast_tracepoint_jump_pad): Likewise. Use + PRIx64 instead of PRIx32. + +2016-06-28 Yao Qi + + * linux-arm-low.c (arm_get_syscall_trapinfo): New function. + (the_low_target): Install arm_get_syscall_trapinfo. + +2016-06-28 Yao Qi + + * linux-aarch64-low.c (aarch64_get_syscall_trapinfo): New + function. + (the_low_target): Install aarch64_get_syscall_trapinfo. + +2016-06-28 Yao Qi + + * linux-low.c (get_syscall_trapinfo): Remove parameter sysret. + Callers updated. + * linux-low.h (struct linux_target_ops) : + Remove parameter sysno. + * linux-x86-low.c (x86_get_syscall_trapinfo): Remove parameter + sysret. + +2016-06-21 Andreas Arnez + + * linux-s390-low.c (s390_emit_eq_goto): Mark function static. + (s390_emit_ne_goto): Likewise. + (s390_emit_lt_goto): Likewise. + (s390_emit_le_goto): Likewise. + (s390_emit_gt_goto): Likewise. + (s390_emit_ge_goto): Likewise. + (s390x_emit_eq_goto): Likewise. + (s390x_emit_ne_goto): Likewise. + (s390x_emit_lt_goto): Likewise. + (s390x_emit_le_goto): Likewise. + (s390x_emit_gt_goto): Likewise. + (s390x_emit_ge_goto): Likewise. + (s390_emit_ops_impl): Mark variable static. + (s390x_emit_ops): Likewise. + +2016-06-17 Yao Qi + + * linux-low.c (handle_extended_wait): Call + uninsert_reinsert_breakpoints for the parent process. Remove + reinsert breakpoints from the child process. Reinsert them to + the parent process when vfork is done. + * mem-break.c (uninsert_reinsert_breakpoints): New function. + (reinsert_reinsert_breakpoints): New function. + * mem-break.h (uninsert_reinsert_breakpoints): Declare + (reinsert_reinsert_breakpoints): Declare. + +2016-06-17 Yao Qi + + * linux-low.c (handle_extended_wait): If the parent is doing + step-over, remove the reinsert breakpoints from the forked child. + +2016-06-17 Yao Qi + + * linux-low.c (unsuspend_all_lwps): Declare. + (linux_low_filter_event): If thread exited, call finish_step_over. + If step-over is finished, unsuspend other threads. + +2016-06-17 Yao Qi + + * linux-low.c (linux_resume_one_lwp_throw): Assert + has_reinsert_breakpoints returns false. + * mem-break.c (delete_disabled_breakpoints): Assert + bp type isn't reinsert_breakpoint. + +2016-06-17 Yao Qi + + * linux-low.c (maybe_hw_step): New function. + (linux_resume_one_lwp_throw): Call maybe_hw_step. + (finish_step_over): Switch current_thread to lwp temporarily, + and assert has_reinsert_breakpoints returns true. + (proceed_one_lwp): Call maybe_hw_step. + * mem-break.c (has_reinsert_breakpoints): New function. + * mem-break.h (has_reinsert_breakpoints): Declare. + +2016-06-02 Jon Turney + + * win32-low.c (win32_create_inferior): Add pointer casts for C++. + +2016-05-17 Yao Qi + + * linux-low.c (linux_stabilize_threads): Call unsuspend_all_lwps + instead of find_inferior. + +2016-05-05 Yao Qi + + * linux-arm-low.c (get_next_pcs_read_memory_unsigned_integer): + Initialize res to zero. + +2016-05-05 Yao Qi + + * linux-arm-low.c (arm_sigreturn_next_pc): Change type of cpsr + to uint32_t. + +2016-05-04 Ulrich Weigand + + * spu-low.c (fetch_ppc_register): Cast PowerPC-Linux-specific value + used as first ptrace argument to PTRACE_TYPE_ARG1 for C++. + (fetch_ppc_memory_1, store_ppc_memory_1): Likewise. + +2016-04-28 Par Olsson + Simon Marchi + + * tracepoint.c (write_inferior_int8): New function. + (cmd_qtenable_disable): Write enable flag using + write_inferior_int8. + +2016-04-25 Yao Qi + + * linux-low.c (lwp_signal_can_be_delivered): Adjust. + (need_step_over_p): Return zero if the LWP has pending signals + can be delivered on software single step target. + +2016-04-25 Yao Qi + + * linux-low.c (reinsert_raw_breakpoint): If bp->inserted is true + return instead of error. + +2016-04-22 Yao Qi + + * linux-aarch32-low.c (arm_store_gregset): Clear CPSR bits 20 + to 23. + +2016-04-22 Yao Qi + + * linux-low.c (lwp_signal_can_be_delivered): Don't deliver + signal when stepping over breakpoint with software single + step. + +2016-04-21 Pedro Alves + + * linux-s390-low.c (s390_collect_ptrace_register) + (s390_supply_ptrace_register, s390_get_hwcap): Use gdb_byte * and + add casts. + (s390_check_regset): Use void * instead of gdb_byte *. + +2016-04-20 Pedro Alves + + * configure: Renegerate. + +2016-04-20 Yao Qi + + * linux-aarch32-low.c: Include "arch/arm-linux.h". + (arm_fill_gregset): Use ARM_CPSR_GREGNUM rather than magic + number 16. + (arm_store_gregset): Likewise. + +2016-04-16 Walfred Tedeschi + + * Makefile.in (clean): Add removal for i386-avx-mpx.c, + i386-avx-mpx-linux.c, amd64-avx-mpx.c and amd64-avx-mpx-linux.c. + (i386-avx-mpx.c, i386-avx-mpx-linux.c, amd64-avx-mpx.c) + (amd64-avx-mpx-linux.c): New rules. + (amd64-avx-mpx-linux-ipa.o, i386-avx-mpx-linux-ipa.o): New rule. + * configure.srv (srv_i386_regobj): Add i386-avx-mpx.o. + (srv_i386_linux_regobj): Add i386-avx-mpx-linux.o. + (srv_amd64_regobj): Add amd64-avx-mpx.o. + (srv_amd64_linux_regobj): Add amd64-avx-mpx-linux.o. + (srv_i386_xmlfiles): Add i386/i386-avx-mpx.xml. + (srv_amd64_xmlfiles): Add i386/amd64-avx-mpx.xml. + (srv_i386_linux_xmlfiles): Add i386/i386-avx-mpx-linux.xml. + (srv_amd64_linux_xmlfiles): Add i386/amd64-avx-mpx-linux.xml. + (ipa_i386_linux_regobj): Add i386-avx-mpx-linux-ipa.o. + (ipa_amd64_linux_regobj): Add amd64-avx-mpx-linux-ipa.o. + * linux-x86-low.c (x86_linux_read_description): Add case for + X86_XSTATE_AVX_MPX_MASK. + (x86_get_ipa_tdesc_idx): Add cases for avx_mpx. + (initialize_low_arch): Call init_registers_amd64_avx_mpx_linux and + init_registers_i386_avx_mpx_linux. + * linux-i386-ipa.c (get_ipa_tdesc): Add case for avx_mpx. + (initialize_low_tracepoint): Call + init_registers_i386_avx_mpx_linux. + * linux-amd64-ipa.c (get_ipa_tdesc): Add case for avx_mpx. + (initialize_low_tracepoint): Call + init_registers_amd64_avx_mpx_linux. + * linux-x86-tdesc.h (X86_TDESC_AVX_MPX): New enum value. + (init_registers_amd64_avx_mpx_linux, tdesc_amd64_avx_mpx_linux) + (init_registers_i386_avx_mpx_linux, tdesc_i386_avx_mpx_linux): New + declarations. + +2016-04-18 Pedro Alves + + * configure: Regenerate. + +2016-04-13 Antoine Tremblay + + * linux-aarch64-low.c (aarch64_emit_add): Switch x1 and x0. + (aarch64_emit_sub): Likewise. + +2016-04-12 Pedro Alves + + * utils.c (prepare_to_throw_exception): Delete. + +2016-04-05 Simon Marchi + + * Makefile.in ($(IPA_LIB)): Set SONAME of the IPA lib. + +2016-04-05 Marcin Kościelnicki + + * tracepoint.c (getauxval): Move to #ifdef IN_PROCESS_AGENT. + +2016-04-03 Marcin Kościelnicki + + * linux-aarch64-ipa.c: Add include. + * linux-ppc-ipa.c: Add include. + * linux-s390-ipa.c: Add include. + +2016-03-31 Marcin Kościelnicki + + * tracepoint.c (gdb_collect_ptr): Remove const qualifier. + (get_raw_reg_ptr): Likewise. + (get_trace_state_variable_value_ptr): Likewise. + (set_trace_state_variable_value_ptr): Likewise. + (initialize_tracepoint): Cast alloc_jump_pad_buffer result to + char *. + +2016-03-31 Wei-cheng Wang + Marcin Kościelnicki + + PR/17221 + * linux-ppc-low.c (emit_insns): New function. + (__EMIT_ASM, _EMIT_ASM, EMIT_ASM): New macros. + (ppc_emit_prologue): New function. + (ppc_emit_epilogue): New function. + (ppc_emit_add): New function. + (ppc_emit_sub): New function. + (ppc_emit_mul): New function. + (ppc_emit_lsh): New function. + (ppc_emit_rsh_signed): New function. + (ppc_emit_rsh_unsigned): New function. + (ppc_emit_ext): New function. + (ppc_emit_zero_ext): New function. + (ppc_emit_log_not): New function. + (ppc_emit_bit_and): New function. + (ppc_emit_bit_or): New function. + (ppc_emit_bit_xor): New function. + (ppc_emit_bit_not): New function. + (ppc_emit_equal): New function. + (ppc_emit_less_signed): New function. + (ppc_emit_less_unsigned): New function. + (ppc_emit_ref): New function. + (ppc_emit_const): New function. + (ppc_emit_reg): New function. + (ppc_emit_pop): New function. + (ppc_emit_stack_flush): New function. + (ppc_emit_swap): New function. + (ppc_emit_stack_adjust): New function. + (ppc_emit_call): New function. + (ppc_emit_int_call_1): New function. + (ppc_emit_void_call_2): New function. + (ppc_emit_if_goto): New function. + (ppc_emit_goto): New function. + (ppc_emit_eq_goto): New function. + (ppc_emit_ne_goto): New function. + (ppc_emit_lt_goto): New function. + (ppc_emit_le_goto): New function. + (ppc_emit_gt_goto): New function. + (ppc_emit_ge_goto): New function. + (ppc_write_goto_address): New function. + (ppc_emit_ops_impl): New static variable. + (ppc64v1_emit_prologue): New function. + (ppc64v2_emit_prologue): New function. + (ppc64_emit_epilogue): New function. + (ppc64_emit_add): New function. + (ppc64_emit_sub): New function. + (ppc64_emit_mul): New function. + (ppc64_emit_lsh): New function. + (ppc64_emit_rsh_signed): New function. + (ppc64_emit_rsh_unsigned): New function. + (ppc64_emit_ext): New function. + (ppc64_emit_zero_ext): New function. + (ppc64_emit_log_not): New function. + (ppc64_emit_bit_and): New function. + (ppc64_emit_bit_or): New function. + (ppc64_emit_bit_xor): New function. + (ppc64_emit_bit_not): New function. + (ppc64_emit_equal): New function. + (ppc64_emit_less_signed): New function. + (ppc64_emit_less_unsigned): New function. + (ppc64_emit_ref): New function. + (ppc64_emit_const): New function. + (ppc64v1_emit_reg): New function. + (ppc64v2_emit_reg): New function. + (ppc64_emit_pop): New function. + (ppc64_emit_stack_flush): New function. + (ppc64_emit_swap): New function. + (ppc64v1_emit_call): New function. + (ppc64v2_emit_call): New function. + (ppc64v1_emit_int_call_1): New function. + (ppc64v2_emit_int_call_1): New function. + (ppc64v1_emit_void_call_2): New function. + (ppc64v2_emit_void_call_2): New function. + (ppc64_emit_if_goto): New function. + (ppc64_emit_eq_goto): New function. + (ppc64_emit_ne_goto): New function. + (ppc64_emit_lt_goto): New function. + (ppc64_emit_le_goto): New function. + (ppc64_emit_gt_goto): New function. + (ppc64_emit_ge_goto): New function. + (ppc64v1_emit_ops_impl): New static variable. + (ppc64v2_emit_ops_impl): New static variable. + (ppc_emit_ops): New function. + (linux_low_target): Wire in ppc_emit_ops. + +2016-03-31 Wei-cheng Wang + Marcin Kościelnicki + + PR/17221 + * Makefile.in: Add powerpc-*-ipa.o + * configure.srv: Add ipa_obj for powerpc*-linux. + * linux-ppc-ipa.c: New file. + * linux-ppc-low.c: Added linux-ppc-tdesc.h, ax.h, tracepoint.h + includes. + (PPC_FIELD): New macro. + (PPC_SEXT): New macro. + (PPC_OP6): New macro. + (PPC_BO): New macro. + (PPC_LI): New macro. + (PPC_BD): New macro. + (init_registers_*): Move prototype to linux-ppc-tdesc.h. + (tdesc_*): Move declaration to linux-ppc-tdesc.h. + (ppc_get_hwcap): Rename to ppc_get_auxv and add type parameter. + (ppc_get_thread_area): New function. + (is_elfv2_inferior): New function. + (gen_ds_form): New function. + (GEN_STD): New macro. + (GEN_STDU): New macro. + (GEN_LD): New macro. + (GEN_LDU): New macro. + (gen_d_form): New function. + (GEN_ADDI): New macro. + (GEN_ADDIS): New macro. + (GEN_LI): New macro. + (GEN_LIS): New macro. + (GEN_ORI): New macro. + (GEN_ORIS): New macro. + (GEN_LWZ): New macro. + (GEN_STW): New macro. + (GEN_STWU): New macro. + (gen_xfx_form): New function. + (GEN_MFSPR): New macro. + (GEN_MTSPR): New macro. + (GEN_MFCR): New macro. + (GEN_MTCR): New macro. + (GEN_SYNC): New macro. + (GEN_LWSYNC): New macro. + (gen_x_form): New function. + (GEN_OR): New macro. + (GEN_MR): New macro. + (GEN_LWARX): New macro. + (GEN_STWCX): New macro. + (GEN_CMPW): New macro. + (gen_md_form): New function. + (GEN_RLDICL): New macro. + (GEN_RLDICR): New macro. + (gen_i_form): New function. + (GEN_B): New macro. + (GEN_BL): New macro. + (gen_b_form): New function. + (GEN_BNE): New macro. + (GEN_LOAD): New macro. + (GEN_STORE): New macro. + (gen_limm): New function. + (gen_atomic_xchg): New function. + (gen_call): New function. + (ppc_relocate_instruction): New function. + (ppc_install_fast_tracepoint_jump_pad): New function. + (ppc_get_min_fast_tracepoint_insn_len): New function. + (ppc_get_ipa_tdesc_idx): New function. + (the_low_target): Wire in the new functions. + (initialize_low_arch) [!__powerpc64__]: Don'it initialize 64-bit + tdescs. + * linux-ppc-tdesc.h: New file. + +2016-03-31 Marcin Kościelnicki + + * linux-aarch64-ipa.c: Add and includes. + (alloc_jump_pad_buffer): New function. + * linux-amd64-ipa.c: Add include. + (alloc_jump_pad_buffer): New function. + * linux-i386-ipa.c (alloc_jump_pad_buffer): New function. + * linux-s390-ipa.c: Add and includes. + (alloc_jump_pad_buffer): New function. + * tracepoint.c (getauxval) [!HAVE_GETAUXVAL]: New function. + (initialize_tracepoint): Delegate to alloc_jump_pad_buffer. + * tracepoint.h (alloc_jump_pad_buffer): New prototype. + (getauxval) [!HAVE_GETAUXVAL]: New prototype. + +2016-03-30 Marcin Kościelnicki + + * linux-aarch64-ipa.c: Rename gdb_agent_get_raw_reg to get_raw_reg. + * linux-amd64-ipa.c: Likewise. + * linux-i386-ipa.c: Likewise. + * linux-s390-ipa.c: Likewise. + * tracepoint.c: IPA-export gdb_collect_ptr instead of gdb_collect, + ditto for get_raw_reg_ptr, get_trace_state_variable_value_ptr, + set_trace_state_variable_value_ptr. + (struct ipa_sym_addresses): Likewise. + (symbol_list): Likewise. + (install_fast_tracepoint): Dereference gdb_collect_ptr instead of + accessing gdb_collect directly. + (gdb_collect_ptr_type): New typedef. + (get_raw_reg_ptr_type): New typedef. + (get_trace_state_variable_value_ptr_type): New typedef. + (set_trace_state_variable_value_ptr_type): New typedef. + (gdb_collect_ptr): New global. + (get_raw_reg_ptr): New global. + (get_trace_state_variable_value_ptr): New global. + (set_trace_state_variable_value_ptr): New global. + (get_raw_reg_func_addr): Dereference get_raw_reg_ptr instead of + accessing get_raw_reg directly. + (get_get_tsv_func_addr): Likewise for + get_trace_state_variable_value_ptr. + (get_set_tsv_func_addr): Likewise for + set_trace_state_variable_value_ptr. + * tracepoint.h: Rename gdb_agent_get_raw_reg to get_raw_reg. + +2016-03-30 Simon Marchi + + * tracepoint.c (cmd_qtenable_disable): Remove whitespace. + +2016-03-30 Marcin Kościelnicki + + * remote-utils.c (look_up_one_symbol): Remove own_buf, handle 'v' + packets. + (relocate_instruction): Remove own_buf. + * server.c (own_buf): Make global. + (handle_v_requests): Make global. + * server.h (own_buf): New declaration. + (handle_v_requests): New prototype. + +2016-03-29 Marcin Kościelnicki + + PR 18377 + * linux-s390-low.c (add_insns): New function. + (s390_emit_prologue): New function. + (s390_emit_epilogue): New function. + (s390_emit_add): New function. + (s390_emit_sub): New function. + (s390_emit_mul): New function. + (s390_emit_lsh): New function. + (s390_emit_rsh_signed): New function. + (s390_emit_rsh_unsigned): New function. + (s390_emit_ext): New function. + (s390_emit_log_not): New function. + (s390_emit_bit_and): New function. + (s390_emit_bit_or): New function. + (s390_emit_bit_xor): New function. + (s390_emit_bit_not): New function. + (s390_emit_equal): New function. + (s390_emit_less_signed): New function. + (s390_emit_less_unsigned): New function. + (s390_emit_ref): New function. + (s390_emit_if_goto): New function. + (s390_emit_goto): New function. + (s390_write_goto_address): New function. + (s390_emit_litpool): New function. + (s390_emit_const): New function. + (s390_emit_call): New function. + (s390_emit_reg): New function. + (s390_emit_pop): New function. + (s390_emit_stack_flush): New function. + (s390_emit_zero_ext): New function. + (s390_emit_swap): New function. + (s390_emit_stack_adjust): New function. + (s390_emit_set_r2): New function. + (s390_emit_int_call_1): New function. + (s390_emit_void_call_2): New function. + (s390_emit_eq_goto): New function. + (s390_emit_ne_goto): New function. + (s390_emit_lt_goto): New function. + (s390_emit_le_goto): New function. + (s390_emit_gt_goto): New function. + (s390_emit_ge_goto): New function. + (s390x_emit_prologue): New function. + (s390x_emit_epilogue): New function. + (s390x_emit_add): New function. + (s390x_emit_sub): New function. + (s390x_emit_mul): New function. + (s390x_emit_lsh): New function. + (s390x_emit_rsh_signed): New function. + (s390x_emit_rsh_unsigned): New function. + (s390x_emit_ext): New function. + (s390x_emit_log_not): New function. + (s390x_emit_bit_and): New function. + (s390x_emit_bit_or): New function. + (s390x_emit_bit_xor): New function. + (s390x_emit_bit_not): New function. + (s390x_emit_equal): New function. + (s390x_emit_less_signed): New function. + (s390x_emit_less_unsigned): New function. + (s390x_emit_ref): New function. + (s390x_emit_if_goto): New function. + (s390x_emit_const): New function. + (s390x_emit_call): New function. + (s390x_emit_reg): New function. + (s390x_emit_pop): New function. + (s390x_emit_stack_flush): New function. + (s390x_emit_zero_ext): New function. + (s390x_emit_swap): New function. + (s390x_emit_stack_adjust): New function. + (s390x_emit_int_call_1): New function. + (s390x_emit_void_call_2): New function. + (s390x_emit_eq_goto): New function. + (s390x_emit_ne_goto): New function. + (s390x_emit_lt_goto): New function. + (s390x_emit_le_goto): New function. + (s390x_emit_gt_goto): New function. + (s390x_emit_ge_goto): New function. + (s390_emit_ops): New function. + (struct linux_target_ops): Fill in emit_ops hook. + +2016-03-29 Marcin Kościelnicki + + PR 18377 + * Makefile.in: Add s390 IPA files. + * configure.srv: Build IPA for s390. + * linux-s390-ipa.c: New file. + * linux-s390-low.c: New includes - inttypes.h and linux-s390-tdesc.h. + (init_registers_s390_linux32): Move declaration to linux-s390-tdesc.h. + (tdesc_s390_linux32): Likewise. + (init_registers_s390_linux32v1): Likewise. + (tdesc_s390_linux32v1): Likewise. + (init_registers_s390_linux32v2): Likewise. + (tdesc_s390_linux32v2): Likewise. + (init_registers_s390_linux64): Likewise. + (tdesc_s390_linux64): Likewise. + (init_registers_s390_linux64v1): Likewise. + (tdesc_s390_linux64v1): Likewise. + (init_registers_s390_linux64v2): Likewise. + (tdesc_s390_linux64v2): Likewise. + (init_registers_s390_te_linux64): Likewise. + (tdesc_s390_te_linux64): Likewise. + (init_registers_s390_vx_linux64): Likewise. + (tdesc_s390_vx_linux64): Likewise. + (init_registers_s390_tevx_linux64): Likewise. + (tdesc_s390_tevx_linux64): Likewise. + (init_registers_s390x_linux64): Likewise. + (tdesc_s390x_linux64): Likewise. + (init_registers_s390x_linux64v1): Likewise. + (tdesc_s390x_linux64v1): Likewise. + (init_registers_s390x_linux64v2): Likewise. + (tdesc_s390x_linux64v2): Likewise. + (init_registers_s390x_te_linux64): Likewise. + (tdesc_s390x_te_linux64): Likewise. + (init_registers_s390x_vx_linux64): Likewise. + (tdesc_s390x_vx_linux64): Likewise. + (init_registers_s390x_tevx_linux64): Likewise. + (tdesc_s390x_tevx_linux64): Likewise. + (have_hwcap_s390_vx): New static variable. + (s390_arch_setup): Fill have_hwcap_s390_vx. + (s390_get_thread_area): New function. + (s390_ft_entry_gpr_esa): New const. + (s390_ft_entry_gpr_zarch): New const. + (s390_ft_entry_misc): New const. + (s390_ft_entry_fr): New const. + (s390_ft_entry_vr): New const. + (s390_ft_main_31): New const. + (s390_ft_main_64): New const. + (s390_ft_exit_fr): New const. + (s390_ft_exit_vr): New const. + (s390_ft_exit_misc): New const. + (s390_ft_exit_gpr_esa): New const. + (s390_ft_exit_gpr_zarch): New const. + (append_insns): New function. + (s390_relocate_instruction): New function. + (s390_install_fast_tracepoint_jump_pad): New function. + (s390_get_min_fast_tracepoint_insn_len): New function. + (s390_get_ipa_tdesc_idx): New function. + (struct linux_target_ops): Wire in the above functions. + (initialize_low_arch) [!__s390x__]: Don't initialize s390x tdescs. + * linux-s390-tdesc.h: New file. + +2016-03-29 Marcin Kościelnicki + + * linux-s390-low.c (s390_supports_tracepoints): New function. + (struct linux_target_ops): Fill supports_tracepoints hook. + +2016-03-18 Yao Qi + + * linux-low.c (lwp_signal_can_be_delivered): New function. + (linux_resume_one_lwp_throw): Use lwp_signal_can_be_delivered. + +2016-03-18 Yao Qi + + * linux-low.c (linux_resume_one_lwp_throw): Set 'signal' to + 0 if signal is enqueued. Remove 'signal' from one debugging + message. Move one debugging message to some lines below. + Remove code setting 'signal' to 0. + +2016-03-18 Yao Qi + + * linux-low.c (linux_low_filter_event): Remove redundant + WIFSTOPPED check together with linux_wstatus_maybe_breakpoint. + +2016-03-09 Marcin Kościelnicki + + * linux-ppc-low.c (ppc_supports_tracepoints): New function. + (struct linux_target_ops): Wire in the above. + +2016-03-03 Yao Qi + + * linux-low.c: Update comments to start_step_over. + +2016-03-03 Yao Qi + + PR server/19736 + * linux-low.c (handle_extended_wait): Set child suspended + if event_lwp->bp_reinsert isn't zero. + +2016-03-02 Yao Qi + + * linux-low.c (linux_resume_one_lwp_throw): Replace code with + enqueue_pending_signal. + +2016-03-02 Marcin Kościelnicki + + * tracepoint.c (cmd_qtstart): Only set ipa_tdesc_idx if agent + is actually loaded. + +2016-02-25 Marcin Kościelnicki + + * linux-s390-low.c (s390_num_regs_3264): Define on 31-bit too. + (s390_regmap_3264) [!__s390x__]: New global. + (s390_collect_ptrace_register): Skip map entries containing -1. + (s390_supply_ptrace_register): Ditto. + (s390_fill_gprs_high): New function. + (s390_store_gprs_high): New function. + (s390_regsets): Add NT_S390_HIGH_GPRS. + (s390_get_hwcap): Enable on 31-bit. + (have_hwcap_s390_high_gprs): Enable on 31-bit. + (s390_arch_setup): Enable detection of high GPRs, TDB, VX on 31-bit. + Detect NT_S390_HIGH_GPRS. + (s390_usrregs_info_3264): Enable on 31-bit. + (s390_regs_info): Enable regs_info_3264 on 31-bit. + (initialize_low_arch): Initialize s390_regsets_info_3264 on 31-bit. + +2016-02-25 Marcin Kościelnicki + + PR gdb/13808 + * Makefile.in: Add i386-*-linux-ipa.o and amd64-*-linux-ipa.o. + * configure.srv: Ditto. + * linux-aarch64-ipa.c (get_ipa_tdesc): New function. + (initialize_low_tracepoint): Remove ipa_tdesc assignment. + * linux-amd64-ipa.c: Add "linux-x86-tdesc.h" include. + (init_registers_amd64_linux): Remove prototype. + (tdesc_amd64_linux): Remove declaration. + (get_ipa_tdesc): New function. + (initialize_low_tracepoint): Remove ipa_tdesc assignment, + initialize remaining tdescs. + * linux-i386-ipa.c: Add "linux-x86-tdesc.h" include. + (init_registers_i386_linux): Remove prototype. + (tdesc_i386_linux): Remove declaration. + (get_ipa_tdesc): New function. + (initialize_low_tracepoint): Remove ipa_tdesc assignment, + initialize remaining tdescs. + * linux-low.c (linux_get_ipa_tdesc_idx): New function. + (linux_target_ops): wire in linux_get_ipa_tdesc_idx. + * linux-low.h (struct linux_target_ops): Add get_ipa_tdesc_idx. + * linux-x86-low.c: Move tdesc declarations to linux-x86-tdesc.h. + (x86_get_ipa_tdesc_idx): New function. + (the_low_target): Wire in x86_get_ipa_tdesc_idx. + * linux-x86-tdesc.h: New file. + * target.h (struct target_ops): Add get_ipa_tdesc_idx. + (target_get_ipa_tdesc_idx): New macro. + * tracepoint.c (ipa_tdesc_idx): New macro. + (struct ipa_sym_addresses): Add addr_ipa_tdesc_idx. + (symbol_list): Add ipa_tdesc_idx. + (cmd_qtstart): Write ipa_tdesc_idx in the target. + (ipa_tdesc): Remove. + (ipa_tdesc_idx): New variable. + (get_context_regcache): Use get_ipa_tdesc. + (gdb_collect): Ditto. + (gdb_probe): Ditto. + * tracepoint.h (get_ipa_tdesc): New prototype. + (ipa_tdesc): Remove. + +2016-02-24 Pedro Alves + + * linux-low.c (check_stopped_by_breakpoint): Rename to ... + (save_stop_reason): ... this. Use GDB_ARCH_IS_TRAP_HWBKPT and + handle ambiguous GDB_ARCH_IS_TRAP_BRKPT / GDB_ARCH_IS_TRAP_HWBKPT. + Factor out common code between the USE_SIGTRAP_SIGINFO and + !USE_SIGTRAP_SIGINFO blocks. + (linux_low_filter_event): Call save_stop_reason instead of + check_stopped_by_breakpoint and check_stopped_by_watchpoint. + Update comments. + (linux_wait_1): Update comments. + +2016-02-24 Wei-cheng Wang + + * linux-ppc-low.c (ppc_supports_z_point_type): New function: + (ppc_insert_point, ppc_remove_point): Insert/remove z-packet breakpoints. + (ppc64_emit_ops_vector): Add target ops - ppc_supports_z_point_type, + ppc_insert_point, ppc_remove_point. + +2016-02-17 Marcin Kościelnicki + + * linux-s390-low.c (s390_supports_z_point_type): New function. + (struct linux_target_ops): Wire s390_supports_z_point_type in. + +2016-02-16 Yao Qi + + * linux-arm-low.c (get_next_pcs_syscall_next_pc): Remove argument + PC. Get pc from regcache_read_pc. + +2016-02-12 Yao Qi + + * linux-aarch64-low.c (aarch64_get_pc): Call linux_get_pc_64bit + or linux_get_pc_32bit. + (aarch64_set_pc): Call linux_set_pc_64bit or linux_set_pc_32bit. + +2016-02-12 Yao Qi + + * linux-arm-low.c (get_next_pcs_ops): Initialize it with + arm_linux_get_next_pcs_fixup. + +2016-02-12 Marcin Kościelnicki + + * tracepoint.c (x_tracepoint_action_download): Change + write_inferior_data_ptr to write_inferior_data_pointer. + (cmd_qtstart): Likewise. + (write_inferior_data_ptr): Remove. + (download_agent_expr): Change write_inferior_data_ptr to + write_inferior_data_pointer. + (download_tracepoint_1): Likewise. + (download_tracepoint): Likewise. + (download_trace_state_variables): Likewise. + +2016-02-11 Wei-cheng Wang + Marcin Kościelnicki + + * tracepoint.c (struct tracepoint_action_ops): Remove. + (struct tracepoint_action): Remove ops. + (m_tracepoint_action_download, r_tracepoint_action_download) + (x_tracepoint_action_download, l_tracepoint_action_download): Adjust + size and offset accordingly. + (m_tracepoint_action_ops, r_tracepoint_action_ops) + (x_tracepoint_action_ops, l_tracepoint_action_ops): Remove. + (tracepoint_action_send, tracepoint_action_download): New functions. + Helpers for trace action handlers. + (add_tracepoint_action): Remove setup actions ops. + (download_tracepoint_1, tracepoint_send_agent): Call helper functions. + +2016-02-10 Yao Qi + + * regcache.c (regcache_raw_read_unsigned): Clear *VAL. + +2016-02-09 Simon Marchi + + * configure.ac: Use AC_CONFIG_FILES instead of passing arguments + to AC_OUTPUT. + * configure: Regenerate. + +2016-02-09 Simon Marchi + + * linux-aarch64-low.c (aarch64_linux_siginfo_fixup): Change + void * to gdb_byte *. + * linux-low.c (siginfo_fixup): Likewise. + (linux_xfer_siginfo): Likewise. + * linux-low.h (struct linux_target_ops) : + Likewise. + * linux-x86-low.c (x86_siginfo_fixup): Likewise. + +2016-02-02 Walfred Tedeschi + + * configure.srv (x86_64-*-linux*): Add amd64-linux-siginfo.o + to srv_tgtobj. + (i[34567]86-*-linux*): Add amd64-linux-siginfo.o + to srv_tgtobj. + * linux-x86-low.c [__x86_64__]: Include + "nat/amd64-linux-siginfo.h". + (compat_siginfo_from_siginfo, siginfo_from_compat_siginfo) + (compat_x32_siginfo_from_siginfo, siginfo_from_compat_x32_siginfo) + (compat_timeval, compat_sigval, compat_x32_clock, cpt_si_pid) + (cpt_si_uid, cpt_si_timerid, cpt_si_overrun, cpt_si_status) + (cpt_si_utime, cpt_si_stime, cpt_si_ptr, cpt_si_addr, cpt_si_band) + (cpt_si_fd, si_timerid, si_overrun): Move from + nat/amd64-linux-siginfo.c. + * Makefile.in (amd64-linux-siginfo.o:): New rule. + +2016-01-28 Simon Marchi + + * server.c (skip_to_semicolon): Remove. + (process_point_options): Use strchrnul instead of + skip_to_semicolon. + +2016-01-26 Yao Qi + + * linux-arm-low.c (arm_gdbserver_get_next_pcs): Remove argument pc. + * linux-low.c (install_software_single_step_breakpoints): Don't + call regcache_read_pc. + * linux-low.h (struct linux_target_ops) : Remove + argument pc. + +2016-01-26 Yao Qi + + * linux-low.c (install_software_single_step_breakpoints): Call + regcache_read_pc instead of get_pc. + +2016-01-26 Yao Qi + + * remote-utils.c (remote_close) [!USE_WIN32API]: Ignore SIGIO. + (unblock_async_io): Rename to ... + (block_unblock_async_io): ... it. New function. + (enable_async_io): Don't install SIGIO handler. Unblock it + instead. + (disable_async_io): Don't ignore SIGIO. Block it instead. + (initialize_async_io): Install SIGIO handler. Don't call + unblock_async_io. + +2016-01-26 Yao Qi + + * remote-utils.c (getpkt): If the buffer isn't empty, and the + first character is '\003', call *the_target->request_interrupt. + +2016-01-25 Yao Qi + + * remote-utils.c (new_thread_notify): Remove. + (dead_thread_notify): Likewise. + * remote-utils.h (new_thread_notify): Remove declaration. + (dead_thread_notify): Likewise. + +2016-01-23 Marcin Kościelnicki + + * gdb.trace/pending.exp: Fix expected message on continue. + +2016-01-22 Marcin Kościelnicki + + * tracepoint.c (write_inferior_data_ptr): Cast to uintptr_t, so that + it works properly on big-endian machines where sizeof (CORE_ADDR) + != sizeof (void *). + +2016-01-21 Pedro Alves + + * Makefile.in (COMPILER_CFLAGS, CXXFLAGS): New. + (INTERNAL_CFLAGS_BASE): Use COMPILER_CFLAGS instead of CFLAGS. + * configure: Regenerate. + +2016-01-21 Yao Qi + + * linux-arm-low.c (arm_sigreturn_next_pc): Add parameter + is_thumb and set it according to CPSR saved on the stack. + (get_next_pcs_syscall_next_pc): Pass is_thumb to + arm_sigreturn_next_pc. + +2016-01-18 Yao Qi + + * linux-low.c (linux_set_pc_64bit): New function. + (linux_get_pc_64bit): New function. + * linux-low.h (linux_set_pc_64bit, linux_get_pc_64bit): + Declare. + * linux-sparc-low.c (debug_threads): Remove declaration. + (sparc_get_pc): Remove. + (the_low_target): Use linux_get_pc_64bit instead of + sparc_get_pc. + * linux-tile-low.c (tile_get_pc, tile_set_pc): Remove. + (the_low_target): Use linux_get_pc_64bit and + linux_set_pc_64bit. + +2016-01-18 Yao Qi + + * linux-arm-low.c (debug_threads): Remove declaration. + (arm_get_pc, arm_set_pc): Remove. + (the_low_target): Use linux_get_pc_32bit and + linux_set_pc_32bit. + * linux-bfin-low.c (bfin_get_pc, bfin_set_pc): Remove. + (the_low_target): Use linux_get_pc_32bit and + linux_set_pc_32bit. + * linux-cris-low.c (debug_threads): Remove declaration. + (cris_get_pc, cris_set_pc,): Remove. + (the_low_target): Use linux_get_pc_32bit and + linux_set_pc_32bit. + * linux-crisv32-low.c (debug_threads): Remove declaration. + (cris_get_pc, cris_set_pc): Remove. + (the_low_target): Use linux_get_pc_32bit and + linux_set_pc_32bit. + * linux-low.c: Include inttypes.h. + (linux_get_pc_32bit, linux_set_pc_32bit): New functions. + * linux-low.h (linux_get_pc_32bit, linux_set_pc_32bit): Declare. + * linux-m32r-low.c (m32r_get_pc, m32r_set_pc): Remove. + (the_low_target): Use linux_get_pc_32bit and + linux_set_pc_32bit. + * linux-m68k-low.c (m68k_get_pc, m68k_set_pc): Remove. + (the_low_target): Use linux_get_pc_32bit and + linux_set_pc_32bit. + * linux-nios2-low.c (nios2_get_pc, nios2_set_pc): Remove. + (the_low_target): Use linux_get_pc_32bit and + linux_set_pc_32bit. + * linux-sh-low.c (sh_get_pc, sh_set_pc): Remove. + (the_low_target): Use linux_get_pc_32bit and + linux_set_pc_32bit. + * linux-xtensa-low.c (xtensa_get_pc, xtensa_set_pc): Remove. + (the_low_target): Use linux_get_pc_32bit and + linux_set_pc_32bit. + +2016-01-18 Gary Benson + + * configure.ac (AC_FUNC_FORK): New check. + * config.in: Regenerate. + * configure: Likewise. + +2016-01-14 Yao Qi + + * linux-aarch32-low.c (thumb2_breakpoint): Make it static. + * linux-aarch32-low.h (thumb2_breakpoint): Remove declaration. + * linux-arm-low.c (arm_gdbserver_get_next_pcs): Pass 1 to + arm_get_next_pcs_ctor. + +2016-01-12 Josh Stone + Philippe Waroquiers + + * inferiors.h: Include "gdb_vecs.h". + (struct process_info): Add syscalls_to_catch. + * inferiors.c (remove_process): Free syscalls_to_catch. + * remote-utils.c (prepare_resume_reply): Report syscall_entry and + syscall_return stops. + * server.h (UNKNOWN_SYSCALL, ANY_SYSCALL): Define. + * server.c (handle_general_set): Handle QCatchSyscalls. + (handle_query): Report support for QCatchSyscalls. + * target.h (struct target_ops): Add supports_catch_syscall. + (target_supports_catch_syscall): New macro. + * linux-low.h (struct linux_target_ops): Add get_syscall_trapinfo. + (struct lwp_info): Add syscall_state. + * linux-low.c (handle_extended_wait): Mark syscall_state as an entry. + Maintain syscall_state and syscalls_to_catch across exec. + (get_syscall_trapinfo): New function, proxy to the_low_target. + (linux_low_ptrace_options): Enable PTRACE_O_TRACESYSGOOD. + (linux_low_filter_event): Toggle syscall_state entry/return for + syscall traps, and set it ignored for all others. + (gdb_catching_syscalls_p): New function. + (gdb_catch_this_syscall_p): New function. + (linux_wait_1): Handle SYSCALL_SIGTRAP. + (linux_resume_one_lwp_throw): Add PTRACE_SYSCALL possibility. + (linux_supports_catch_syscall): New function. + (linux_target_ops): Install it. + * linux-x86-low.c (x86_get_syscall_trapinfo): New function. + (the_low_target): Install it. + +2016-01-12 Mike Frysinger + + * acinclude.m4: Include new ../warning.m4 file. + * configure: Regenerated. + * configure.ac: Replace all warning logic with AM_GDB_WARNINGS. + +2016-01-12 Mike Frysinger + + * ax.c (is_goto_target): Mark static. + * linux-low.c (register_addr): Likewise. + (linux_fetch_registers, linux_store_registers): Likewise. + * mem-break.c (any_persistent_commands): Fix old prototype. + (add_commands_to_breakpoint): Mark static. + * regcache.c (find_register_by_name): Delete unused func. + * remote-utils.c (hex_or_minus_one): Mark static. + * server.c (monitor_show_help): Mark static. + (handle_query, handle_v_cont, handle_v_attach, handle_v_kill, + handle_v_requests): Likewise. + +2016-01-12 Pedro Alves + + Remove use of the registered trademark symbol throughout. + +2016-01-08 Yao Qi + + * remote-utils.c (getpkt): If c is '\003', call target hook + request_interrupt. + +2016-01-06 Yao Qi + + * linux-aarch32-low.h (arm_abi_breakpoint): Move to + linux-aarch32-low.c. + (arm_eabi_breakpoint, arm_breakpoint): Likewise. + (arm_breakpoint_len, thumb_breakpoint_len): Likewise. + (thumb2_breakpoint, thumb2_breakpoint_len): Likewise. + (thumb2_breakpoint): Declare. + * linux-aarch32-low.c (arm_abi_breakpoint): Moved from + linux-aarch32-low.h. + (arm_eabi_breakpoint, arm_breakpoint): Likewise. + (arm_breakpoint_len, thumb_breakpoint_len): Likewise. + (thumb2_breakpoint, thumb2_breakpoint_len): Likewise. + +2016-01-01 Joel Brobecker + + * gdbreplay.c (gdbreplay_version): Change copyright year in + version message. + * server.c (gdbserver_version): Likewise. + +2015-12-28 Patrick Palka + + * server.c (crc32_table): Delete. + (crc32): Use libiberty's xcrc32 function. + +2015-12-22 Joel Brobecker + + * lynx-low.c (lynx_delete_thread_callback): New function. + (lynx_mourn): Properly delete our process and all of its + threads. Remove call to clear_inferiors. + +2015-12-22 Joel Brobecker + + * target.c (thread_search_callback): Add check that + the thread_stopped target callback is not NULL before + calling it. + +2015-12-21 Yao Qi + + * linux-aarch32-low.h [__aarch64__]: Use arm_abi_breakpoint + arm breakpoint. + +2015-12-18 Antoine Tremblay + + * server.c (handle_query): Call target_supports_software_single_step. + +2015-12-18 Antoine Tremblay + + * linux-low.c (single_step): New function. + (linux_resume_one_lwp_throw): Call single_step. + (start_step_over): Likewise. + +2015-12-18 Antoine Tremblay + + * Makefile.in (SFILES): Append arch/arm-linux.c, + arch/arm-get-next-pcs.c. + (arm-linux.o): New rule. + (arm-get-next-pcs.o): New rule. + * configure.srv (arm*-*-linux*): Add arm-get-next-pcs.o, + arm-linux.o. + * linux-aarch32-low.c (arm_abi_breakpoint): Remove macro. Moved + to linux-aarch32-low.c. + (arm_eabi_breakpoint, arm_breakpoint): Likewise. + (arm_breakpoint_len, thumb_breakpoint): Likewise. + (thumb_breakpoint_len, thumb2_breakpoint): Likewise. + (thumb2_breakpoint_len): Likewise. + (arm_is_thumb_mode): Make non-static. + * linux-aarch32-low.h (arm_abi_breakpoint): New macro. Moved + from linux-aarch32-low.c. + (arm_eabi_breakpoint, arm_breakpoint): Likewise. + (arm_breakpoint_len, thumb_breakpoint): Likewise. + (thumb_breakpoint_len, thumb2_breakpoint): Likewise. + (thumb2_breakpoint_len): Likewise. + (arm_is_thumb_mode): New declaration. + * linux-arm-low.c: Include arch/arm-linux.h + aarch/arm-get-next-pcs.h, sys/syscall.h. + (get_next_pcs_ops): New struct. + (get_next_pcs_addr_bits_remove): New function. + (get_next_pcs_is_thumb): New function. + (get_next_pcs_read_memory_unsigned_integer): Likewise. + (arm_sigreturn_next_pc): Likewise. + (get_next_pcs_syscall_next_pc): Likewise. + (arm_gdbserver_get_next_pcs): Likewise. + (struct linux_target_ops) : + Initialize. + * linux-low.h: Move CORE_ADDR vector definition to gdb_vecs.h. + * server.h: Include gdb_vecs.h. + +2015-12-18 Antoine Tremblay + + * Makefile.in (SFILES): Append common/common-regcache.c. + (OBS): Append common-regcache.o. + (common-regcache.o): New rule. + * regcache.c (init_register_cache): Initialize cache to + REG_UNAVAILABLE. + (regcache_raw_read_unsigned): New function. + * regcache.h (REG_UNAVAILABLE, REG_VALID): Replaced by shared + register_status enum. + +2015-12-18 Antoine Tremblay + + * linux-aarch64-low.c (the_low_targets): Rename + breakpoint_reinsert_addr to get_next_pcs. + * linux-arm-low.c (the_low_targets): Likewise. + * linux-bfin-low.c (the_low_targets): Likewise. + * linux-cris-low.c (the_low_targets): Likewise. + * linux-crisv32-low.c (the_low_targets): Likewise. + * linux-low.c (can_software_single_step): Likewise. + (install_software_single_step_breakpoints): New function. + (start_step_over): Use install_software_single_step_breakpoints. + * linux-low.h: New CORE_ADDR vector. + (struct linux_target_ops) Rename breakpoint_reinsert_addr to + get_next_pcs. + * linux-mips-low.c (the_low_targets): Likewise. + * linux-nios2-low.c (the_low_targets): Likewise. + * linux-sparc-low.c (the_low_targets): Likewise. + +2015-12-17 Pedro Alves + + * linux-low.c (linux_kill_one_lwp): Remove references to + LinuxThreads. + (kill_lwp): Remove HAVE_TKILL_SYSCALL check. No longer fall back + to 'kill'. + (linux_init_signals): Delete. + (initialize_low): Adjust. + * thread-db.c (thread_db_init): Remove LinuxThreads reference. + +2015-12-16 Pedro Alves + + * configure.ac (compiler warning flags): When testing a + -Wno-foo option, check whether -Wfoo works instead. + * configure: Regenerate. + +2015-12-11 Don Breazeal + + * server.c (process_serial_event): Don't exit from gdbserver + in remote mode if there are still active inferiors. + +2015-12-11 Yao Qi + + * linux-aarch64-low.c (aarch64_breakpoint_at): Call + arm_breakpoint_at if the process is 32-bit. + +2015-12-11 Yao Qi + + * linux-aarch32-low.c [__aarch64__]: Use arm_abi_breakpoint + arm breakpoint. + +2015-12-07 Yao Qi + + * configure.srv: Append arm.o to srv_tgtobj for + aarch64*-*-linux* target. + * linux-aarch32-low.c (arm_abi_breakpoint): New macro. Moved + from linux-arm-low.c. + (arm_eabi_breakpoint, arm_breakpoint): Likewise. + (arm_breakpoint_len, thumb_breakpoint): Likewise. + (thumb_breakpoint_len, thumb2_breakpoint): Likewise. + (thumb2_breakpoint_len): Likewise. + (arm_is_thumb_mode, arm_breakpoint_at): Likewise. + (arm_breakpoint_kinds): Likewise. + (arm_breakpoint_kind_from_pc): Likewise. + (arm_sw_breakpoint_from_kind): Likewise. + (arm_breakpoint_kind_from_current_state): Likewise. + * linux-aarch32-low.h (arm_breakpoint_kind_from_pc): Declare. + (arm_sw_breakpoint_from_kind): Declare. + (arm_breakpoint_kind_from_current_state): Declare. + (arm_breakpoint_at): Declare. + * linux-aarch64-low.c (aarch64_sw_breakpoint_from_kind): Call + arm_sw_breakpoint_from_kind if process is 32-bit. + (aarch64_breakpoint_kind_from_pc): New function. + (aarch64_breakpoint_kind_from_current_state): New function. + (the_low_target): Initialize fields breakpoint_kind_from_pc + and breakpoint_kind_from_current_state. + * linux-arm-low.c (arm_breakpoint_kinds): Move to + linux-aarch32-low.c. + (arm_abi_breakpoint, arm_eabi_breakpoint): Likewise. + (arm_breakpoint, arm_breakpoint_len): Likewise. + (thumb_breakpoint, thumb_breakpoint_len): Likewise. + (thumb2_breakpoint, thumb2_breakpoint_len): Likewise. + (arm_is_thumb_mode): Likewise. + (arm_breakpoint_at): Likewise. + (arm_breakpoint_kind_from_pc): Likewise. + (arm_sw_breakpoint_from_kind): Likewise. + (arm_breakpoint_kind_from_current_state): Likewise. + + Revert: + 2015-08-04 Yao Qi + + * linux-aarch64-low.c (aarch64_supports_z_point_type): Return + 0 for Z_PACKET_SW_BP if it may be used in multi-arch debugging. + * server.c (extended_protocol): Remove "static". + * server.h (extended_protocol): Declare it. + +2015-12-04 Josh Stone + + * target.h (struct target_ops) : Rename to ... + (struct target_ops) : ... this. + (target_arch_setup): Rename to ... + (target_post_create_inferior): ... this, calling post_create_inferior. + * server.c (start_inferior): Update target_arch_setup calls to + target_post_create_inferior. + * linux-low.c (linux_low_ptrace_options): Forward declare. + (linux_arch_setup): Update its comment for general use. + (linux_post_create_inferior): New, run arch_setup and setup ptrace. + (struct linux_target_ops): Use linux_post_create_inferior. + * lynx-low.c (struct lynx_target_ops): Update arch_setup stub comment + to post_create_inferior. + * nto-low.c (struct nto_target_ops): Likewise. + * spu-low.c (struct spu_target_ops): Likewise. + * win32-low.c (struct win32_target_ops): Likewise. + +2015-12-03 Antoine Tremblay + + * linux-arm-low.c: Remove duplicate arch/arm.h include. + +2015-11-30 Antoine Tremblay + + * linux-arm-low.c (arm_reinsert_addr): Remove function. + (struct linux_target_ops : Set to NULL. + * linux-cris-low.c (cris_reinsert_addr> Remove function. + (struct linux_target_ops) : Set to NULL. + * linux-crisv32-low.c (cris_reinsert_addr): Remove function. + (struct linux_target_ops) : Set to NULL. + * linux-mips-low.c (mips_reinsert_addr): Remove function. + (struct linux_target_ops) : Set to NULL. + * linux-nios2-low.c (nios2_reinsert_addr): Remove function. + (struct linux_target_ops) : Set to NULL. + * linux-sparc-low.c (sparc_reinsert_addr): Remove function. + (struct linux_target_ops) : Set to NULL. + +2015-11-30 Antoine Tremblay + + * linux-low.c (linux_look_up_symbols): Don't call + linux_supports_traceclone. + * linux-low.h (thread_db_init): Remove use_events argument. + * thread-db.c (thread_db_use_event): Remove global variable. + (struct thread_db) : Remove field. + (struct thread_db) : Remove field. + (thread_db_create_event): Remove function. + (thread_db_enable_reporting): Likewise. + (find_one_thread): Don't check for thread_db_use_events. + (attach_thread): Likewise. + (thread_db_load_search): Remove td_thr_event_enable_p initialization. + (try_thread_db_load_1): Don't check for thread_db_use_events. + (thread_db_init): Remove use_events argument and thread events + handling. + (remove_thread_event_breakpoints): Remove function. + (thread_db_detach): Remove call to remove_thred_event_breakpoints. + +2015-11-30 Antoine Tremblay + + * linux-aarch64-low.c (aarch64_supports_hardware_single_step): + New function. + (struct linux_target_ops) : Initialize. + * linux-arm-low.c (arm_supports_hardware_single_step): New function. + (struct linux_target_ops) : Initialize. + * linux-bfin-low.c (bfin_supports_hardware_single_step): New function. + (struct linux_target_ops) : + Initialize. + * linux-crisv32-low.c (cris_supports_hardware_single_step): + New function. + (struct linux_target_ops) : Initialize. + * linux-low.c (can_hardware_single_step): Use + supports_hardware_single_step. + (can_software_single_step): New function. + (start_step_over): Call can_software_single_step. + (linux_supports_hardware_single_step): New function. + (struct target_ops) : Initialize. + * linux-low.h (struct linux_target_ops) + : Initialize. + * linux-m32r-low.c (m32r_supports_hardware_single_step): New function. + (struct linux_target_ops) : Initialize. + * linux-ppc-low.c (ppc_supports_hardware_single_step): New function. + (struct linux_target_ops) Initialize. + * linux-s390-low.c (s390_supports_hardware_single_step): New function. + (struct linux_target_ops) : Initialize. + * linux-sh-low.c (sh_supports_hardware_single_step): New function. + (struct linux_target_ops) : Initialize. + * linux-tic6x-low.c (tic6x_supports_hardware_single_step): New function. + (struct linux_target_ops) : + Initialize. + * linux-tile-low.c (tile_supports_hardware_single_step): New function. + (struct linux_target_ops) : + Initialize. + * linux-x86-low.c (x86_supports_hardware_single_step) New function. + (struct linux_target_ops) : Initialize. + * linux-xtensa-low.c (xtensa_supports_hardware_single_step): + New function. + (struct linux_target_ops) : Initialize. + * target.h (struct target_ops): : + New field. + (target_supports_software_single_step): New macro. + +2015-11-30 Antoine Tremblay + + * linux-low.c (linux_wait_1): Fix pc advance condition. + * mem-break.c (reinsert_breakpoint_inserted_here): New function. + * mem-break.h (reinsert_breakpoint_inserted_here): New declaration. + +2015-11-30 Antoine Tremblay + + * linux-arm-low.c (arm_is_thumb_mode): New function. + (arm_breakpoint_at): Use arm_is_thumb_mode. + (arm_breakpoint_kind_from_current_state): New function. + (struct linux_target_ops) : + Initialize. + * linux-low.c (linux_wait_1): Call breakpoint_kind_from_current_state. + (linux_breakpoint_kind_from_current_state): New function. + (struct target_ops : Initialize. + * linux-low.h (struct linux_target_ops) + : New field. + * target.h (struct target_ops): Likewise. + (target_breakpoint_kind_from_current_state): New macro. + +2015-11-30 Pedro Alves + + * linux-low.c (linux_resume): Wake up the event loop before + returning. + +2015-11-30 Pedro Alves + + * mem-break.c (check_gdb_bp_preconditions): Remove current_thread + check. + (set_gdb_breakpoint): If prepare_to_access_memory fails, set *ERR + to -1. + * target.c (struct thread_search): New structure. + (thread_search_callback): New function. + (prev_general_thread): New global. + (prepare_to_access_memory, done_accessing_memory): New functions. + * target.h (prepare_to_access_memory, done_accessing_memory): + Replace macros with function declarations. + +2015-11-30 Pedro Alves + + PR 14618 + * linux-low.c (linux_wait_1): If the last resumed thread is gone, + report TARGET_WAITKIND_NO_RESUMED. + * remote-utils.c (prepare_resume_reply): Handle + TARGET_WAITKIND_NO_RESUMED. + * server.c (report_no_resumed): New global. + (handle_query) : Handle "no-resumed+". Report + "no-resumed+" support. + (resume): When the target reports TARGET_WAITKIND_NO_RESUMED, only + return error if the client doesn't support no-resumed events. + (push_stop_notification): New function. + (handle_target_event): Use it. Report TARGET_WAITKIND_NO_RESUMED + events if the client supports them. + +2015-11-30 Pedro Alves + + * linux-low.c (thread_still_has_status_pending_p): Don't check + vCont;t here. + (lwp_resumed): New function. + (status_pending_p_callback): Return early if the LWP is not + supposed to be resumed. + +2015-11-30 Pedro Alves + + * linux-low.c (handle_extended_wait): Assert that the LWP's + waitstatus is TARGET_WAITKIND_IGNORE. If GDB wants to hear about + thread create events, leave the new child's status pending. + (linux_low_filter_event): If GDB wants to hear about thread exit + events, leave the LWP marked dead and don't delete it. + (linux_wait_for_event_filtered): Don't check for thread exit. + (filter_exit_event): New function. + (linux_wait_1): Use it, when returning an exit event. + (linux_resume_one_lwp_throw): Assert that the LWP's + waitstatus is TARGET_WAITKIND_IGNORE. + * remote-utils.c (prepare_resume_reply): Handle + TARGET_WAITKIND_THREAD_CREATED and TARGET_WAITKIND_THREAD_EXITED. + * server.c (report_thread_events): New global. + (handle_general_set): Handle QThreadEvents. + (handle_query) : Handle and report QThreadEvents+; + (handle_target_event): Handle TARGET_WAITKIND_THREAD_CREATED and + TARGET_WAITKIND_THREAD_EXITED. + * server.h (report_thread_events): Declare. + +2015-11-30 Pedro Alves + + * linux-low.c (resume_stopped_resumed_lwps): Don't check whether + the thread's last_resume_kind was resume_stop. + +2015-11-30 Pedro Alves + + * linux-low.c (linux_attach): In non-stop mode, wait for one stop + before returning. + +2015-11-30 Pedro Alves + + * server.c (handle_v_requests): Handle vCtrlC. + +2015-11-30 Pedro Alves + + * gdbthread.h (find_any_thread_of_pid): Declare. + * inferiors.c (thread_of_pid, find_any_thread_of_pid): New + functions. + * server.c (handle_query): If current_thread is NULL, look for + another thread of the selected process. + +2015-11-26 Daniel Colascione + Simon Marchi + + * linux-low.c (linux_target_ops): Use linux_proc_tid_get_name. + * server.c (handle_qxfer_threads_worker): Refactor to include thread + name in reply. + * target.h (struct target_ops) : New field. + (target_thread_name): New macro. + +2015-11-23 Joel Brobecker + + * regcache.h (regcache_invalidate_pid): Add declaration. + * regcache.c (regcache_invalidate_pid): New function, extracted + from regcache_invalidate. + (regcache_invalidate): Reimplement using regcache_invalidate_pid. + Add trivial documentation comment. + * lynx-low.c: Use regcache_invalidate_pid instead of + regcache_invalidate. + +2015-11-23 Joel Brobecker + + * configure.ac: Do not call AC_CHECK_TYPES for Elf32_auxv_t + and Elf64_auxv_t if the target is Android. + +2015-11-22 Doug Evans + + * target.h: #include . + +2015-11-19 Pedro Alves + + * linux-low.c (linux_process_qsupported): Change prototype. + Adjust. + * linux-low.h (struct linux_target_ops) : + Change prototype. + * linux-x86-low.c (x86_linux_process_qsupported): Change prototype + and adjust to loop over all features. + * server.c (handle_query) : Adjust to call + target_process_qsupported once, passing it a vector of unprocessed + features. + * target.h (struct target_ops) : Change + prototype. + (target_process_qsupported): Adjust. + +2015-11-19 Pedro Alves + + * configure.ac (ERROR_ON_WARNING): Don't check whether in C++ + mode. + * configure: Regenerate. + +2015-11-19 Pedro Alves + + * configure: Regenerate. + +2015-11-19 Yao Qi + + * linux-aarch64-low.c (emit_data_processing_reg): Change opcode + type to uint32_t. + +2015-11-19 Yao Qi + + * linux-aarch64-low.c (enum aarch64_operand_type): New. + (struct aarch64_operand): Move enum out. + +2015-11-19 Yao Qi + + * linux-aarch64-low.c (aarch64_fill_fpregset): Cast buf to + struct user_fpsimd_state *. + (aarch64_store_fpregset): Likewise. + +2015-11-19 Yao Qi + + * linux-aarch64-low.c (aarch64_fill_gregset): Cast buf to + struct user_pt_regs *. + (aarch64_store_gregset): Likewise. + +2015-11-18 Pedro Alves + + * Makefile.in (all_object_files): Add $IPA_OBJS. + +2015-11-17 Pedro Alves + + * win32-low.c (win32_resume): Use gdb_signal_from_host, + GDB_SIGNAL_0 and gdb_signal_to_string. + +2015-11-17 Pedro Alves + + * win32-low.c (handle_output_debug_string): Remove parameter. + (win32_kill): Remove our_status local and adjust call to + handle_output_debug_string. + (get_child_debug_event): Adjust call to + handle_output_debug_string. + +2015-11-03 Simon Marchi + + * linux-mips-low.c (mips_fill_gregset): Add cast. + (mips_store_gregset): Likewise. + (mips_fill_fpregset): Likewise. + (mips_store_fpregset): Likewise. + +2015-11-03 Simon Marchi + + * linux-mips-low.c (mips_add_watchpoint): Rename private to + priv. + +2015-11-03 Simon Marchi + + * linux-mips-low.c (mips_linux_new_thread): Change type of + watch_type to enum target_hw_bp_type. + +2015-11-03 Simon Marchi + + * linux-arm-low.c (raw_bkpt_type_to_arm_hwbp_type): + Change return type to arm_hwbp_type. + +2015-11-03 Simon Marchi + + * linux-aarch32-low.c (arm_fill_gregset): Add cast. + (arm_store_gregset): Likewise. + * linux-arm-low.c (arm_get_hwcap): Likewise. + (arm_read_description): Likewise. + +2015-11-03 Simon Marchi + + * linux-aarch32-low.c (aarch32_regsets): Use NULL_REGSET. + +2015-11-03 Simon Marchi + + * linux-ppc-low.c (ppc_get_hwcap): Add cast. + (ppc_fill_vsxregset): Likewise. + (ppc_store_vsxregset): Likewise. + (ppc_fill_vrregset): Likewise. + (ppc_store_vrregset): Likewise. + (ppc_fill_evrregset): Likewise. + (ppc_store_evrregset): Likewise. + +2015-11-03 Simon Marchi + + * linux-ppc-low.c (ppc_usrregs_info): Remove + forward-declaration. + (ppc_arch_setup): Move lower in file. + +2015-10-30 Simon Marchi + + * proc-service.c (ps_pdread): Change CORE_ADDR cast to uintptr_t. + (ps_pdwrite): Likewise. + +2015-10-29 Henrik Wallin + + * linux-arm-low.c (arm_new_thread): Move pointer dereference + to after assert checks. + +2015-10-29 Simon Marchi + + * proc-service.c (ps_pdread): Add/adjust casts. + (ps_pdwrite): Add/adjust casts. + +2015-10-29 Simon Marchi + + * server.c (handle_search_memory_1): Cast return value of + memmem. + +2015-10-29 Simon Marchi + + * server.c (write_qxfer_response): Change type of data to + gdb_byte *. + +2015-10-29 Pedro Alves + + * mem-break.c (Z_packet_to_bkpt_type): Add cast. + +2015-10-29 Pedro Alves + + * tracepoint.c (clear_installed_tracepoints): Add casts. + +2015-10-29 Pedro Alves + + * server.c (handle_v_cont, process_serial_event): Add enum + gdb_signal casts to signal parsing code. + +2015-10-29 Pedro Alves + + * linux-low.h (NULL_REGSET): Define. + * linux-aarch64-low.c (aarch64_regsets): Use NULL_REGSET. + * linux-arm-low.c (arm_regsets): Likewise. + * linux-crisv32-low.c (cris_regsets): Likewise. + * linux-m68k-low.c (m68k_regsets): Likewise. + * linux-mips-low.c (mips_regsets): Likewise. + * linux-nios2-low.c (nios2_regsets): Likewise. + * linux-ppc-low.c (ppc_regsets): Likewise. + * linux-s390-low.c (s390_regsets): Likewise. + * linux-sh-low.c (sh_regsets): Likewise. + * linux-sparc-low.c (sparc_regsets): Likewise. + * linux-tic6x-low.c (tic6x_regsets): Likewise. + * linux-tile-low.c (tile_regsets): Likewise. + * linux-x86-low.c (x86_regsets): Likewise. + * linux-xtensa-low.c (xtensa_regsets): Likewise. + +2015-10-29 Pedro Alves + + * linux-low.h (NULL_REGSET): Define. + * linux-aarch64-low.c (aarch64_regsets): Use NULL_REGSET. + * linux-arm-low.c (arm_regsets): Likewise. + * linux-crisv32-low.c (cris_regsets): Likewise. + * linux-m68k-low.c (m68k_regsets): Likewise. + * linux-mips-low.c (mips_regsets): Likewise. + * linux-nios2-low.c (nios2_regsets): Likewise. + * linux-ppc-low.c (ppc_regsets): Likewise. + * linux-s390-low.c (s390_regsets): Likewise. + * linux-sh-low.c (sh_regsets): Likewise. + * linux-sparc-low.c (sparc_regsets): Likewise. + * linux-tic6x-low.c (tic6x_regsets): Likewise. + * linux-tile-low.c (tile_regsets): Likewise. + * linux-x86-low.c (x86_regsets): Likewise. + * linux-xtensa-low.c (xtensa_regsets): Likewise. + +2015-10-26 Doug Evans + + * linux-low.c (__SIGRTMIN): Move to nat/linux-nat.h. + +2015-10-26 Doug Evans + + * linux-low.c (W_STOPCODE): Moved to common/gdb_wait.h. + +2015-10-26 Doug Evans + + * thread-db.c (find_one_thread): Cast ti.ti_tid to unsigned long + for debug_printf. + (attach_thread, find_new_threads_callback): Ditto. + +2015-10-23 Antoine Tremblay + + * mem-break.h (set_breakpoint_data): Remove. + +2015-10-23 Antoine Tremblay + + * nto-low.c (nto_sw_breakpoint_from_kind): New function. + (struct target_ops) : Initialize. + (initialize_low): Remove set_breakpoint_data call. + * spu-low.c (spu_sw_breakpoint_from_kind): New function. + (struct target_ops) : Iniitalize. + (initialize_low): Remove set_breakpoint_data call. + * win32-low.c (win32_sw_breakpoint_from_kind): New function. + (struct target_ops) : Initialize. + (initialize_low): Remove set_breakpoint_data call. + +2015-10-23 Antoine Tremblay + + * linux-low.c (default_breakpoint_kind_from_pc): Move to target.c. + * mem-break.c (set_breakpoint_at): Use target_breakpoint_kind_from_pc. + * target.c (default_breakpoint_kind_from_pc): Moved from linux-low.c + * target.h (target_breakpoint_kind_from_pc): New macro. + +2015-10-22 Antoine Tremblay + + * linux-low.c (default_breakpoint_kind_from_pc): New function. + (linux_breakpoint_kind_from_pc): Use default_breakpoint_kind_from_pc for + the default breakpoint kind. + +2015-10-21 Antoine Tremblay + + * linux-arm-low.c (arm_supports_z_point_type): Add software + breakpoint support. + +2015-10-21 Antoine Tremblay + + * linux-arm-low.c: Refactor breakpoint definitions. + (arm_breakpoint_at): Adjust for arm_abi_breakpoint. + (arm_sw_breakpoint_from_kind): Adjust for arm_breakpoint. + +2015-10-21 Antoine Tremblay + + * Makefile.in: Add arm.c/o. + * configure.srv: Likewise. + * linux-arm-low.c (arm_breakpoint_kinds): New enum. + (arm_breakpoint_kind_from_pc): New function. + (arm_sw_breakpoint_from_kind): Return proper kind. + (struct linux_target_ops) : Initialize. + +2015-10-21 Antoine Tremblay + + * linux-low.c (initialize_low): Ajdust for breakpoint global variables + removal. + * mem-break.c : Remove breakpoint_data/breakpoint_len global variables. + (struct raw_breakpoint) : Remove. + (struct raw_breakpoint) : Add. + (bp_size): New function. + (bp_opcode): Likewise. + (find_raw_breakpoint_at): Adjust for kind. + (insert_memory_breakpoint): Adjust for kind call bp_size,bp_opcode. + (remove_memory_breakpoint): Adjust for kind call bp_size. + (set_raw_breakpoint_at): Adjust for kind. + (set_breakpoint): Likewise. + (set_breakpoint_at): Call breakpoint_kind_from_pc. + (delete_raw_breakpoint): Adjust for kind. + (delete_breakpoint): Likewise. + (find_gdb_breakpoint): Likewise. + (set_gdb_breakpoint_1): Likewise. + (set_gdb_breakpoint): Likewise. + (delete_gdb_breakpoint_1): Likewise. + (delete_gdb_breakpoint): Likewise. + (uninsert_raw_breakpoint): Likewise. + (reinsert_raw_breakpoint): Likewise. + (set_breakpoint_data): Remove. + (validate_inserted_breakpoint): Adjust for kind call bp_size,bp_opcode. + (check_mem_read): Adjust for kind call bp_size. + (check_mem_write): Adjust for kind call bp_size,bp_opcode. + (clone_one_breakpoint): Adjust for kind. + * mem-break.h (set_gdb_breakpoint): Likewise. + (delete_gdb_breakpoint): Likewise. + * server.c (process_serial_event): Likewise. + +2015-10-21 Antoine Tremblay + + * linux-aarch64-low.c (aarch64_sw_breakpoint_from_kind): New function. + (struct linux_target_ops) : Remove. + (struct linux_target_ops) : Remove. + (struct linux_target_ops) : Initialize field. + (struct linux_target_ops) : Initialize field. + * linux-arm-low.c (arm_breakpoint_kind_from_pc): New function. + (arm_sw_breakpoint_from_kind): New function. + * linux-bfin-low.c (bfin_sw_breakpoint_from_kind): New function. + (struct linux_target_ops) : Remove. + (struct linux_target_ops) : Remove. + (struct linux_target_ops) : Initialize field. + (struct linux_target_ops) : Initialize field. + * linux-cris-low.c (cris_sw_breakpoint_from_kind): New function. + (struct linux_target_ops) : Remove. + (struct linux_target_ops) : Remove. + (struct linux_target_ops) : Initialize field. + (struct linux_target_ops) : Initialize field. + * linux-crisv32-low.c (cris_sw_breakpoint_from_kind): New function. + (struct linux_target_ops) : Remove. + (struct linux_target_ops) : Remove. + (struct linux_target_ops) : Initialize field. + (struct linux_target_ops) : Initialize field. + * linux-low.c (linux_wait_1): Call breakpoint_kind_from_pc + and sw_breakpoint_from_kind to increment the pc. + (linux_breakpoint_kind_from_pc): New function. + (linux_sw_breakpoint_from_kind): New function. + (struct target_ops) : Initialize field. + (initialize_low): Call breakpoint_kind_from_pc and + sw_breakpoint_from_kind to replace breakpoint_data/len. + * linux-low.h (struct linux_target_ops) : + New field. + (struct linux_target_ops) : Likewise. + * linux-m32r-low.c (m32r_sw_breakpoint_from_kind): New function. + (struct linux_target_ops) : Remove. + (struct linux_target_ops) : Remove. + (struct linux_target_ops) : Initialize field. + (struct linux_target_ops) : Initialize field. + * linux-m68k-low.c (m68k_sw_breakpoint_from_kind): New function. + (struct linux_target_ops) : Remove. + (struct linux_target_ops) : Remove. + (struct linux_target_ops) : Initialize field. + (struct linux_target_ops) : Initialize field. + * linux-mips-low.c (mips_sw_breakpoint_from_kind): New function. + (struct linux_target_ops) : Remove. + (struct linux_target_ops) : Remove. + (struct linux_target_ops) : Initialize field. + (struct linux_target_ops) : Initialize field. + * linux-nios2-low.c (nios2_sw_breakpoint_from_kind): New function. + (struct linux_target_ops) : Remove. + (struct linux_target_ops) : Remove. + (struct linux_target_ops) : Initialize field. + (struct linux_target_ops) : Initialize field. + * linux-ppc-low.c (ppc_sw_breakpoint_from_kind): New function. + (struct linux_target_ops) : Remove. + (struct linux_target_ops) : Remove. + (struct linux_target_ops) : Initialize field. + (struct linux_target_ops) : Initialize field. + * linux-s390-low.c (s390_sw_breakpoint_from_kind): New function. + (struct linux_target_ops) : Remove. + (struct linux_target_ops) : Remove. + (struct linux_target_ops) : Initialize field. + (struct linux_target_ops) : Initialize field. + * linux-sh-low.c (sh_sw_breakpoint_from_kind): New function. + (struct linux_target_ops) : Remove. + (struct linux_target_ops) : Remove. + (struct linux_target_ops) : Initialize field. + (struct linux_target_ops) : Initialize field. + * linux-sparc-low.c (sparc_sw_breakpoint_from_kind): New function. + (struct linux_target_ops) : Remove. + (struct linux_target_ops) : Remove. + (struct linux_target_ops) : Initialize field. + (struct linux_target_ops) : Initialize field. + * linux-tic6x-low.c (tic6x_sw_breakpoint_from_kind): New function. + (struct linux_target_ops) : Remove. + (struct linux_target_ops) : Remove. + (struct linux_target_ops) : Initialize field. + (struct linux_target_ops) : Initialize field. + * linux-tile-low.c (tile_sw_breakpoint_from_kind): New function. + * linux-x86-low.c (x86_sw_breakpoint_from_kind): New function. + (struct linux_target_ops) : Remove. + (struct linux_target_ops) : Remove. + (struct linux_target_ops) : Initialize field. + (struct linux_target_ops) : Initialize field. + * linux-xtensa-low.c (xtensa_sw_breakpoint_from_kind) New function. + (struct linux_target_ops) : Remove. + (struct linux_target_ops) : Remove. + (struct linux_target_ops) : Initialize field. + (struct linux_target_ops) : Initialize field. + +2015-10-21 Antoine Tremblay + + * linux-cris-low.c (cris_get_pc): Remove void arg. + +2015-10-16 Aleksandar Ristovski + + * gdbserver/nto-low.c (nto_insert_point, nto_remove_point): Fix + variable name. + +2015-10-16 Aleksandar Ristovski + + * inferiors.c (thread_pid_matches_callback): New function. + (find_thread_process): New function. + (remove_thread): Reset current_thread. + (remove_process): Assert threads have been removed first. + +2015-10-15 Yao Qi + + * linux-aarch64-low.c (aarch64_insert_point): Set len to 2 + if it is 3. + (aarch64_remove_point): Likewise. + * regcache.c (regcache_register_size): New function. + +2015-10-12 Yao Qi + + * linux-aarch64-low.c: Update all callers as emit_load_store + is renamed to aarch64_emit_load_store. + +2015-10-12 Yao Qi + + * linux-aarch64-low.c: Update all callers of function renaming + from emit_insn to aarch64_emit_insn. + +2015-10-12 Yao Qi + + * linux-aarch64-low.c (enum aarch64_opcodes): Move to + arch/aarch64-insn.h. + (struct aarch64_memory_operand): Likewise. + (ENCODE): Likewise. + (emit_insn): Move to arch/aarch64-insn.c. + (emit_b, emit_bcond, emit_cb, emit_tb): Remove. + (emit_load_store): Move to arch/aarch64-insn.c. + (emit_ldr, emit_ldrb, emit_ldrsw, emit_nop): Remove. + (can_encode_int32): Remove. + +2015-10-12 Yao Qi + + * linux-aarch64-low.c (extract_signed_bitfield): Remove. + (aarch64_decode_ldr_literal): Move to gdb/arch/aarch64-insn.c. + (aarch64_relocate_instruction): Likewise. + (struct aarch64_insn_data): Move to gdb/arch/aarch64-insn.h. + (struct aarch64_insn_visitor): Likewise. + +2015-10-12 Yao Qi + + * linux-aarch64-low.c (struct aarch64_insn_data): New. + (struct aarch64_insn_visitor): New. + (struct aarch64_insn_relocation_data): New. + (aarch64_ftrace_insn_reloc_b): New function. + (aarch64_ftrace_insn_reloc_b_cond): Likewise. + (aarch64_ftrace_insn_reloc_cb): Likewise. + (aarch64_ftrace_insn_reloc_tb): Likewise. + (aarch64_ftrace_insn_reloc_adr): Likewise. + (aarch64_ftrace_insn_reloc_ldr_literal): Likewise. + (aarch64_ftrace_insn_reloc_others): Likewise. + (visitor): New. + (aarch64_relocate_instruction): Use visitor. + +2015-10-12 Yao Qi + + * linux-aarch64-low.c (aarch64_relocate_instruction): Return + int. Add argument buf. + (aarch64_install_fast_tracepoint_jump_pad): Pass buf to + aarch64_relocate_instruction. + +2015-10-12 Yao Qi + + * linux-aarch64-low.c (aarch64_relocate_instruction): Add + argument insn. Remove local variable insn. Don't call + target_read_uint32. + (aarch64_install_fast_tracepoint_jump_pad): Call + target_read_uint32. + +2015-09-30 Yao Qi + + * linux-aarch64-low.c (emit_movk): Shorten a long line. + (emit_load_store_pair): Likewise. + +2015-09-25 Simon Marchi + + * dll.c (match_dll): Add cast(s). + (unloaded_dll): Likewise. + * linux-low.c (second_thread_of_pid_p): Likewise. + (delete_lwp_callback): Likewise. + (count_events_callback): Likewise. + (select_event_lwp_callback): Likewise. + (linux_set_resume_request): Likewise. + * server.c (accumulate_file_name_length): Likewise. + (emit_dll_description): Likewise. + (handle_qxfer_threads_worker): Likewise. + (visit_actioned_threads): Likewise. + * thread-db.c (any_thread_of): Likewise. + * tracepoint.c (same_process_p): Likewise. + (match_blocktype): Likewise. + (build_traceframe_info_xml): Likewise. + +2015-09-25 Simon Marchi + + * ax.c (gdb_parse_agent_expr): Add cast to allocation result + assignment. + (gdb_unparse_agent_expr): Likewise. + * hostio.c (require_data): Likewise. + (handle_pread): Likewise. + * linux-low.c (disable_regset): Likewise. + (fetch_register): Likewise. + (store_register): Likewise. + (get_dynamic): Likewise. + (linux_qxfer_libraries_svr4): Likewise. + * mem-break.c (delete_fast_tracepoint_jump): Likewise. + (set_fast_tracepoint_jump): Likewise. + (uninsert_fast_tracepoint_jumps_at): Likewise. + (reinsert_fast_tracepoint_jumps_at): Likewise. + (validate_inserted_breakpoint): Likewise. + (clone_agent_expr): Likewise. + * regcache.c (init_register_cache): Likewise. + * remote-utils.c (putpkt_binary_1): Likewise. + (decode_M_packet): Likewise. + (decode_X_packet): Likewise. + (look_up_one_symbol): Likewise. + (relocate_instruction): Likewise. + (monitor_output): Likewise. + * server.c (handle_search_memory): Likewise. + (handle_qxfer_exec_file): Likewise. + (handle_qxfer_libraries): Likewise. + (handle_qxfer): Likewise. + (handle_query): Likewise. + (handle_v_cont): Likewise. + (handle_v_run): Likewise. + (captured_main): Likewise. + * target.c (write_inferior_memory): Likewise. + * thread-db.c (try_thread_db_load_from_dir): Likewise. + * tracepoint.c (init_trace_buffer): Likewise. + (add_tracepoint_action): Likewise. + (add_traceframe): Likewise. + (add_traceframe_block): Likewise. + (cmd_qtdpsrc): Likewise. + (cmd_qtdv): Likewise. + (cmd_qtstatus): Likewise. + (response_source): Likewise. + (response_tsv): Likewise. + (cmd_qtnotes): Likewise. + (gdb_collect): Likewise. + (initialize_tracepoint): Likewise. + +2015-09-21 Pierre Langlois + + * linux-aarch64-low-.c: Include ax.h and tracepoint.h. + (enum aarch64_opcodes) , , , , , + , , , , , , , , + : New. + (enum aarch64_condition_codes): New enum. + (w0): New static global. + (fp): Likewise. + (lr): Likewise. + (struct aarch64_memory_operand) : New + MEMORY_OPERAND_POSTINDEX type. + (postindex_memory_operand): New helper function. + (emit_ret): New function. + (emit_load_store_pair): New function, factored out of emit_stp + with support for MEMORY_OPERAND_POSTINDEX. + (emit_stp): Rewrite using emit_load_store_pair. + (emit_ldp): New function. + (emit_load_store): Likewise. + (emit_ldr): Mention post-index instruction in comment. + (emit_ldrh): New function. + (emit_ldrb): New function. + (emit_ldrsw): Mention post-index instruction in comment. + (emit_str): Likewise. + (emit_subs): New function. + (emit_cmp): Likewise. + (emit_and): Likewise. + (emit_orr): Likewise. + (emit_orn): Likewise. + (emit_eor): Likewise. + (emit_mvn): Likewise. + (emit_lslv): Likewise. + (emit_lsrv): Likewise. + (emit_asrv): Likewise. + (emit_mul): Likewise. + (emit_sbfm): Likewise. + (emit_sbfx): Likewise. + (emit_ubfm): Likewise. + (emit_ubfx): Likewise. + (emit_csinc): Likewise. + (emit_cset): Likewise. + (emit_nop): Likewise. + (emit_ops_insns): New helper function. + (emit_pop): Likewise. + (emit_push): Likewise. + (aarch64_emit_prologue): New function. + (aarch64_emit_epilogue): Likewise. + (aarch64_emit_add): Likewise. + (aarch64_emit_sub): Likewise. + (aarch64_emit_mul): Likewise. + (aarch64_emit_lsh): Likewise. + (aarch64_emit_rsh_signed): Likewise. + (aarch64_emit_rsh_unsigned): Likewise. + (aarch64_emit_ext): Likewise. + (aarch64_emit_log_not): Likewise. + (aarch64_emit_bit_and): Likewise. + (aarch64_emit_bit_or): Likewise. + (aarch64_emit_bit_xor): Likewise. + (aarch64_emit_bit_not): Likewise. + (aarch64_emit_equal): Likewise. + (aarch64_emit_less_signed): Likewise. + (aarch64_emit_less_unsigned): Likewise. + (aarch64_emit_ref): Likewise. + (aarch64_emit_if_goto): Likewise. + (aarch64_emit_goto): Likewise. + (aarch64_write_goto_address): Likewise. + (aarch64_emit_const): Likewise. + (aarch64_emit_call): Likewise. + (aarch64_emit_reg): Likewise. + (aarch64_emit_pop): Likewise. + (aarch64_emit_stack_flush): Likewise. + (aarch64_emit_zero_ext): Likewise. + (aarch64_emit_swap): Likewise. + (aarch64_emit_stack_adjust): Likewise. + (aarch64_emit_int_call_1): Likewise. + (aarch64_emit_void_call_2): Likewise. + (aarch64_emit_eq_goto): Likewise. + (aarch64_emit_ne_goto): Likewise. + (aarch64_emit_lt_goto): Likewise. + (aarch64_emit_le_goto): Likewise. + (aarch64_emit_gt_goto): Likewise. + (aarch64_emit_ge_got): Likewise. + (aarch64_emit_ops_impl): New static global variable. + (aarch64_emit_ops): New target function, return + &aarch64_emit_ops_impl. + (struct linux_target_ops): Install it. + +2015-09-21 Pierre Langlois + + * Makefile.in (linux-aarch64-ipa.o, aarch64-ipa.o): New rules. + * configure.srv (aarch64*-*-linux*): Add linux-aarch64-ipa.o and + aarch64-ipa.o. + * linux-aarch64-ipa.c: New file. + * linux-aarch64-low.c: Include arch/aarch64-insn.h, inttypes.h + and endian.h. + (aarch64_get_thread_area): New target method. + (extract_signed_bitfield): New helper function. + (aarch64_decode_ldr_literal): New function. + (enum aarch64_opcodes): New enum. + (struct aarch64_register): New struct. + (struct aarch64_operand): New struct. + (x0): New static global. + (x1): Likewise. + (x2): Likewise. + (x3): Likewise. + (x4): Likewise. + (w2): Likewise. + (ip0): Likewise. + (sp): Likewise. + (xzr): Likewise. + (aarch64_register): New helper function. + (register_operand): Likewise. + (immediate_operand): Likewise. + (struct aarch64_memory_operand): New struct. + (offset_memory_operand): New helper function. + (preindex_memory_operand): Likewise. + (enum aarch64_system_control_registers): New enum. + (ENCODE): New macro. + (emit_insn): New helper function. + (emit_b): New function. + (emit_bcond): Likewise. + (emit_cb): Likewise. + (emit_tb): Likewise. + (emit_blr): Likewise. + (emit_stp): Likewise. + (emit_ldp_q_offset): Likewise. + (emit_stp_q_offset): Likewise. + (emit_load_store): Likewise. + (emit_ldr): Likewise. + (emit_ldrsw): Likewise. + (emit_str): Likewise. + (emit_ldaxr): Likewise. + (emit_stxr): Likewise. + (emit_stlr): Likewise. + (emit_data_processing_reg): Likewise. + (emit_data_processing): Likewise. + (emit_add): Likewise. + (emit_sub): Likewise. + (emit_mov): Likewise. + (emit_movk): Likewise. + (emit_mov_addr): Likewise. + (emit_mrs): Likewise. + (emit_msr): Likewise. + (emit_sevl): Likewise. + (emit_wfe): Likewise. + (append_insns): Likewise. + (can_encode_int32_in): New helper function. + (aarch64_relocate_instruction): New function. + (aarch64_install_fast_tracepoint_jump_pad): Likewise. + (aarch64_get_min_fast_tracepoint_insn_len): Likewise. + (struct linux_target_ops): Install aarch64_get_thread_area, + aarch64_install_fast_tracepoint_jump_pad and + aarch64_get_min_fast_tracepoint_insn_len. + +2015-09-21 Pierre Langlois + + * Makefile.in (aarch64-insn.o): New rule. + * configure.srv (aarch64*-*-linux*): Add aarch64-insn.o. + +2015-09-21 Yao Qi + + * ax.c [!IN_PROCESS_AGENT] (gdb_agent_op_sizes): Define it. + +2015-09-21 Yao Qi + + * tracepoint.c (max_jump_pad_size): Remove. + +2015-09-18 Yao Qi + + * linux-aarch64-low.c: Don't include sys/uio.h. + (ps_get_thread_area): Call aarch64_ps_get_thread_area. + +2015-09-16 Wei-cheng Wang + + * tracepoint.c (eval_result_type): Change prototype. + (condition_true_at_tracepoint): Fix argument to compiled_cond. + +2015-09-15 Pedro Alves + + * remote-utils.c (prepare_resume_reply) : + Check whether to report exec events instead of checking whether + multiprocess is enabled. + +2015-09-15 Pedro Alves + + PR remote/18965 + * remote-utils.c (prepare_resume_reply): Merge + TARGET_WAITKIND_VFORK_DONE switch case with the + TARGET_WAITKIND_FORKED case. + +2015-09-15 Yao Qi + + * server.c (handle_query): Check string comparison using + "else if" instead of "if". + +2015-09-15 Yao Qi + + * server.c (vCont_supported): New global variable. + (handle_query): Set vCont_supported to 1 if "vContSupported+" + matches. Append ";vContSupported+" to own_buf. + (handle_v_requests): Append ";s;S" to own_buf if target supports + hardware single step or vCont_supported is false. + (capture_main): Set vCont_supported to zero. + +2015-09-15 Yao Qi + + * linux-low.c (linux_supports_conditional_breakpoints): Rename + it to ... + (linux_supports_hardware_single_step): ... New function. + (linux_target_ops): Update. + * lynx-low.c (lynx_target_ops): Set field + supports_hardware_single_step to target_can_do_hardware_single_step. + * nto-low.c (nto_target_ops): Likewise. + * spu-low.c (spu_target_ops): Likewise. + * win32-low.c (win32_target_ops): Likewise. + * target.c (target_can_do_hardware_single_step): New function. + * target.h (struct target_ops) : + Remove. : New field. + (target_supports_conditional_breakpoints): Remove. + (target_supports_hardware_single_step): New macro. + (target_can_do_hardware_single_step): Declare. + * server.c (handle_query): Use target_supports_hardware_single_step + instead of target_supports_conditional_breakpoints. + +2015-09-15 Yao Qi + + * linux-aarch64-low.c (aarch64_linux_siginfo_fixup): New + function. + (struct linux_target_ops the_low_target): Install + aarch64_linux_siginfo_fixup. + +2015-09-11 Don Breazeal + Luis Machado + + * linux-low.c (linux_mourn): Static declaration. + (linux_arch_setup): Move in front of + handle_extended_wait. + (linux_arch_setup_thread): New function. + (handle_extended_wait): Handle exec events. Call + linux_arch_setup_thread. Make event_lwp argument a + pointer-to-a-pointer. + (check_zombie_leaders): Do not check stopped threads. + (linux_low_ptrace_options): Add PTRACE_O_TRACEEXEC. + (linux_low_filter_event): Add lwp and thread for exec'ing + non-leader thread if leader thread has been deleted. + Refactor code into linux_arch_setup_thread and call it. + Pass child lwp pointer by reference to handle_extended_wait. + (linux_wait_for_event_filtered): Update comment. + (linux_wait_1): Prevent clobbering exec event status. + (linux_supports_exec_events): New function. + (linux_target_ops) : Initialize new member. + * lynx-low.c (lynx_target_ops) : Initialize + new member. + * remote-utils.c (prepare_resume_reply): New stop reason 'exec'. + * server.c (report_exec_events): New global variable. + (handle_query): Handle qSupported query for exec-events feature. + (captured_main): Initialize report_exec_events. + * server.h (report_exec_events): Declare new global variable. + * target.h (struct target_ops) : New + member. + (target_supports_exec_events): New macro. + * win32-low.c (win32_target_ops) : + Initialize new member. + +2015-09-09 Markus Metzger + + * linux-low.c (linux_low_enable_btrace): Remove. + (linux_target_ops): Replace linux_low_enable_btrace with + linux_enable_btrace. + +2015-09-03 Yao Qi + + * linux-aarch64-low.c (aarch64_insert_point): Call + aarch64_handle_watchpoint if aarch64_linux_region_ok_for_watchpoint + returns true. + +2015-08-27 Ulrich Weigand + + * linux-low.c (check_stopped_by_breakpoint): Use + GDB_ARCH_IS_TRAP_BRKPT instead of GDB_ARCH_TRAP_BRKPT. + +2015-08-27 Pedro Alves + + * proc-service.c (ps_pdwrite): Return PS_ERR/PS_OK explicily. + +2015-08-26 Simon Marchi + + * ax.c (gdb_parse_agent_expr): Replace xmalloc-family function with + the XNEW-family equivalent. + (compile_bytecodes): Likewise. + * dll.c (loaded_dll): Likewise. + * event-loop.c (append_callback_event): Likewise. + (create_file_handler): Likewise. + (create_file_event): Likewise. + * hostio.c (handle_open): Likewise. + * inferiors.c (add_thread): Likewise. + (add_process): Likewise. + * linux-aarch64-low.c (aarch64_linux_new_process): Likewise. + * linux-arm-low.c (arm_new_process): Likewise. + (arm_new_thread): Likewise. + * linux-low.c (add_to_pid_list): Likewise. + (linux_add_process): Likewise. + (handle_extended_wait): Likewise. + (add_lwp): Likewise. + (enqueue_one_deferred_signal): Likewise. + (enqueue_pending_signal): Likewise. + (linux_resume_one_lwp_throw): Likewise. + (linux_resume_one_thread): Likewise. + (linux_read_memory): Likewise. + (linux_write_memory): Likewise. + * linux-mips-low.c (mips_linux_new_process): Likewise. + (mips_linux_new_thread): Likewise. + (mips_add_watchpoint): Likewise. + * linux-x86-low.c (initialize_low_arch): Likewise. + * lynx-low.c (lynx_add_process): Likewise. + * mem-break.c (set_raw_breakpoint_at): Likewise. + (set_breakpoint): Likewise. + (add_condition_to_breakpoint): Likewise. + (add_commands_to_breakpoint): Likewise. + (clone_agent_expr): Likewise. + (clone_one_breakpoint): Likewise. + * regcache.c (new_register_cache): Likewise. + * remote-utils.c (look_up_one_symbol): Likewise. + * server.c (queue_stop_reply): Likewise. + (start_inferior): Likewise. + (queue_stop_reply_callback): Likewise. + (handle_target_event): Likewise. + * spu-low.c (fetch_ppc_memory): Likewise. + (store_ppc_memory): Likewise. + * target.c (set_target_ops): Likewise. + * thread-db.c (thread_db_load_search): Likewise. + (try_thread_db_load_1): Likewise. + * tracepoint.c (add_tracepoint): Likewise. + (add_tracepoint_action): Likewise. + (create_trace_state_variable): Likewise. + (cmd_qtdpsrc): Likewise. + (cmd_qtro): Likewise. + (add_while_stepping_state): Likewise. + * win32-low.c (child_add_thread): Likewise. + (get_image_name): Likewise. + +2015-08-25 Yao Qi + + * linux-aarch64-low.c (aarch64_linux_new_thread): Remove. + +2015-08-25 Yao Qi + + * Makefile.in (aarch64-linux.o): New rule. + * configure.srv (aarch64*-*-linux*): Append aarch64-linux.o to + srv_tgtobj. + * linux-aarch64-low.c: Include nat/aarch64-linux.h. + (aarch64_init_debug_reg_state): Make it extern. + (aarch64_linux_prepare_to_resume): Remove. + +2015-08-25 Yao Qi + + * linux-aarch64-low.c (aarch64_linux_prepare_to_resume): Use + lwp_arch_private_info and ptid_of_lwp. + +2015-08-25 Yao Qi + + * linux-aarch64-low.c (aarch64_get_debug_reg_state): Add argument pid. + Find proc_info by find_process_pid. All callers updated. + +2015-08-25 Yao Qi + + * linux-aarch64-low.c (struct arch64_dr_update_callback_param): + Remove. + (debug_reg_change_callback): Remove. + (aarch64_notify_debug_reg_change): Remove. + +2015-08-25 Yao Qi + + * linux-aarch64-low.c (aarch64_notify_debug_reg_change): + Call current_lwp_ptid. + +2015-08-25 Yao Qi + + * linux-aarch64-low.c (debug_reg_change_callback): Use + debug_printf. + +2015-08-25 Yao Qi + + * linux-aarch64-low.c (debug_reg_change_callback): Use phex. + +2015-08-25 Yao Qi + + * linux-aarch64-low.c (debug_reg_change_callback): Remove comments. + +2015-08-25 Yao Qi + + * linux-aarch64-low.c (debug_reg_change_callback): Re-indent + the code. + +2015-08-25 Yao Qi + + * linux-aarch64-low.c (aarch64_dr_update_callback_param) : + Remove. + (debug_reg_change_callback): Remove argument entry and add argument + lwp. Remove local variable thread. Don't print thread id in the + debugging output. Don't check whether pid of thread equals to pid. + (aarch64_notify_debug_reg_change): Don't set param.pid. Call + iterate_over_lwps instead find_inferior. + +2015-08-24 Pedro Alves + + * inferiors.c (get_first_process): New function. + * inferiors.h (get_first_process): New declaration. + * remote-utils.c (read_ptid): Default to the first process in the + list, instead of to the current thread's process. + +2015-08-24 Pedro Alves + + * debug.c: Include gdb_sys_time.h instead of sys/time.h. + * event-loop.c: Likewise. + * remote-utils.c: Likewise. + * tracepoint.c: Likewise. + +2015-08-24 Pedro Alves + + * spu-low.c (spu_request_interrupt): Use lwpid_of instead of + ptid_get_lwp. + +2015-08-21 Pedro Alves + + * ax.c (gdb_eval_agent_expr): Return expr_eval_unhandled_opcode + instead of literal 1. + +2015-08-21 Pedro Alves + + * tdesc.c (default_description): Explicitly zero-initialize. + +2015-08-21 Pedro Alves + + PR gdb/18749 + * inferiors.c (remove_thread): Discard any pending stop reply for + this thread. + * server.c (remove_all_on_match_pid): Rename to ... + (remove_all_on_match_ptid): ... this. Work with a filter ptid + instead of a pid. + (discard_queued_stop_replies): Change parameter to a ptid. Now + extern. + (handle_v_kill, kill_inferior_callback, captured_main) + (process_serial_event): Adjust. + * server.h (discard_queued_stop_replies): Declare. + +2015-08-21 Pedro Alves + + * linux-low.c (wait_for_sigstop): Always switch to no thread + selected if the previously current thread dies. + * lynx-low.c (lynx_request_interrupt): Use the first thread's + process instead of the current thread's. + * remote-utils.c (input_interrupt): Don't check if there's no + current thread. + * server.c (gdb_read_memory, gdb_write_memory): If setting the + current thread to the general thread fails, error out. + (handle_qxfer_auxv, handle_qxfer_libraries) + (handle_qxfer_libraries_svr4, handle_qxfer_siginfo) + (handle_qxfer_spu, handle_qxfer_statictrace, handle_qxfer_fdpic) + (handle_query): Check if there's a thread selected instead of + checking whether there's any thread in the thread list. + (handle_qxfer_threads, handle_qxfer_btrace) + (handle_qxfer_btrace_conf): Don't error out early if there's no + thread in the thread list. + (handle_v_cont, myresume): Don't set the current thread to the + continue thread. + (process_serial_event) : Also set thread_id if the + previous general thread is still alive. + (process_serial_event) : If setting the current + thread to the general thread fails, error out. + * spu-low.c (spu_resume, spu_request_interrupt): Use the first + thread's lwp instead of the current thread's. + * target.c (set_desired_thread): If the desired thread was not + found, leave the current thread pointing to NULL. Return an int + (boolean) indicating success. + * target.h (set_desired_thread): Change return type to int. + +2015-08-20 Max Filippov + + * configure.srv (xtensa*-*-linux*): Add srv_linux_thread_db=yes. + * linux-xtensa-low.c (arch/xtensa.h gdb_proc_service.h): New + #includes. + (ps_get_thread_area): New function. + +2015-08-19 Gary Benson + + * hostio.c (handle_pread): Do not attempt to read more data + than hostio_reply_with_data can fit in a packet. + +2015-08-18 Joel Brobecker + + * linux-aarch32-low.c (NT_ARM_VFP): Define if not already defined. + +2015-08-14 Matthew Fortune + + * linux-low.c (get_r_debug): Handle DT_MIPS_RLD_MAP_REL. + +2015-08-06 Pedro Alves + + * tracepoint.c (expr_eval_result): Now an int. + +2015-08-06 Pedro Alves + + * gdbthread.h (struct regcache): Forward declare. + (struct thread_info) : Now a struct regcache + pointer. + * inferiors.c (inferior_regcache_data) + (set_inferior_regcache_data): Now work with struct regcache + pointers. + * inferiors.h (struct regcache): Forward declare. + (inferior_regcache_data, set_inferior_regcache_data): Now work + with struct regcache pointers. + * regcache.c (get_thread_regcache, regcache_invalidate_thread) + (free_register_cache_thread): Remove struct regcache pointer + casts. + +2015-08-06 Pedro Alves + + * server.c (captured_main): On error, print the exception message + to stderr, and if run_once is set, throw a quit. + +2015-08-06 Pedro Alves + + * linux-low.c (move_out_of_jump_pad_callback): Temporarily switch + the current thread. + +2015-08-06 Pedro Alves + + * linux-low.c (linux_write_memory): Rewrite debug output to avoid + reading beyond the passed in buffer length. + +2015-08-06 Pierre Langlois + + * tracepoint.c (symbol_list) : Remove. + +2015-08-06 Pedro Alves + + * linux-low.c (handle_extended_wait): Set the fork child's suspend + count if stopping and suspending threads. + (check_stopped_by_breakpoint): If stopped by trace, set the LWP's + stop reason to TARGET_STOPPED_BY_SINGLE_STEP. + (linux_detach): Complete an ongoing step-over. + (lwp_suspended_inc, lwp_suspended_decr): New functions. Use + throughout. + (resume_stopped_resumed_lwps): Don't resume a suspended thread. + (linux_wait_1): If passing a signal to the inferior after + finishing a step-over, unsuspend and re-resume all lwps. If we + see a single-step event but the thread should be continuing, don't + pass the trap to gdb. + (stuck_in_jump_pad_callback, move_out_of_jump_pad_callback): Use + internal_error instead of gdb_assert. + (enqueue_pending_signal): New function. + (check_ptrace_stopped_lwp_gone): Add debug output. + (start_step_over): Use internal_error instead of gdb_assert. + (complete_ongoing_step_over): New function. + (linux_resume_one_thread): Don't resume a suspended thread. + (proceed_one_lwp): If the LWP is stepping over a breakpoint, reset + it stepping. + +2015-08-06 Pedro Alves + + * linux-low.c (add_lwp): Set waitstatus to TARGET_WAITKIND_IGNORE. + (linux_thread_alive): Use lwp_is_marked_dead. + (extended_event_reported): Delete. + (linux_wait_1): Check if waitstatus is TARGET_WAITKIND_IGNORE + instead of extended_event_reported. + (mark_lwp_dead): Don't set the 'dead' flag. Store the waitstatus + as well. + (lwp_is_marked_dead): New function. + (lwp_running): Use lwp_is_marked_dead. + * linux-low.h: Delete 'dead' field, and update 'waitstatus's + comment. + +2015-08-06 Pedro Alves + + * linux-low.c (linux_wait_1): Move fork event output out of the + !report_to_gdb check. Pass event_child->waitstatus to + target_waitstatus_to_string instead of ourstatus. + +2015-08-04 Yao Qi + + * linux-aarch64-low.c (aarch64_supports_tracepoints): Return 0 + if current_thread is 32 bit. + +2015-08-04 Yao Qi + + * linux-aarch64-low.c (aarch64_supports_z_point_type): Return + 0 for Z_PACKET_SW_BP if it may be used in multi-arch debugging. + * server.c (extended_protocol): Remove "static". + * server.h (extended_protocol): Declare it. + +2015-08-04 Yao Qi + + * linux-aarch64-low.c (aarch64_get_pc): Get PC register on + both aarch64 and aarch32. + (aarch64_set_pc): Likewise. + +2015-08-04 Yao Qi + + * configure.srv (case aarch64*-*-linux*): Append arm-with-neon.o + to srv_regobj and append arm-core.xml arm-vfpv3.xml and + arm-with-neon.xml to srv_xmlfiles. + * linux-aarch64-low.c: Include linux-aarch32-low.h. + (is_64bit_tdesc): New function. + (aarch64_linux_read_description): New function. + (aarch64_arch_setup): Call aarch64_linux_read_description. + (regs_info): Rename to regs_info_aarch64. + (aarch64_regs_info): Return right regs_info. + (initialize_low_arch): Call initialize_low_arch_aarch32. + +2015-08-04 Yao Qi + + * configure.srv (srv_tgtobj): Add linux-aarch32-low.o. + * linux-aarch32-low.c: New file. + * linux-aarch32-low.h: New file. + * linux-arm-low.c (arm_fill_gregset): Move it to + linux-aarch32-low.c. + (arm_store_gregset): Likewise. + (arm_fill_vfpregset): Call arm_fill_vfpregset_num + (arm_store_vfpregset): Call arm_store_vfpregset_num. + (arm_arch_setup): Check if PTRACE_GETREGSET works. + (regs_info): Rename to regs_info_arm. + (arm_regs_info): Return regs_info_aarch32 if + have_ptrace_getregset is 1 and target description is + arm_with_neon or arm_with_vfpv3. + (initialize_low_arch): Don't call init_registers_arm_with_neon. + Call initialize_low_arch_aarch32 instead. + +2015-08-04 Yao Qi + + * linux-x86-low.c (have_ptrace_getregset): Move it to ... + * linux-low.c: ... here. + * linux-low.h (have_ptrace_getregset): Declare it. + +2015-08-04 Pedro Alves + + * thread-db.c (struct thread_db): Use new typedefs. + (try_thread_db_load_1): Define local TDB_DLSYM macro and use it in + CHK calls. + (disable_thread_event_reporting): Cast result of dlsym to + destination function pointer type. + (thread_db_mourn): Use td_ta_delete_ftype. + +2015-08-03 Sandra Loosemore + + * linux-nios2-low.c (NIOS2_BREAKPOINT): Conditionalize for + arch variant. + (CDX_BREAKPOINT): Define for R2. + (nios2_breakpoint_at): Check for CDX_BREAKPOINT when R2. + (the_low_target): Add comments. + +2015-07-30 Yao Qi + + * linux-arm-low.c (arm_hwcap): Remove it. + (arm_read_description): New local variable arm_hwcap. Don't + set arm_hwcap to zero. + +2015-07-30 Yao Qi + + * linux-arm-low.c (arm_fill_wmmxregset): Don't use arm_hwcap. + Use regcache->tdesc instead. + (arm_store_wmmxregset): Likewise. + (arm_fill_vfpregset): Likewise. + (arm_store_vfpregset): Likewise. + +2015-07-30 Yao Qi + + * linux-arm-low.c: Include arch/arm.h. + (arm_fill_gregset): Don't use arm_num_regs and arm_regmap. + (arm_store_gregset): Likewise. + +2015-07-29 Simon Marchi + + * linux-mips-low.c (mips_linux_prepare_to_resume): Add NULL as + ptrace's 4th parameter. + +2015-07-27 Yao Qi + + * configure.srv (case aarch64*-*-linux*): Don't set + srv_linux_usrregs. + +2015-07-24 Pedro Alves + + * linux-aarch64-low.c: Include nat/gdb_ptrace.h instead of + sys/ptrace.h. + * linux-arm-low.c: Likewise. + * linux-cris-low.c: Likewise. + * linux-crisv32-low.c: Likewise. + * linux-low.c: Likewise. + * linux-m68k-low.c: Likewise. + * linux-mips-low.c: Likewise. + * linux-nios2-low.c: Likewise. + * linux-s390-low.c: Likewise. + * linux-sparc-low.c: Likewise. + * linux-tic6x-low.c: Likewise. + * linux-tile-low.c: Likewise. + * linux-x86-low.c: Likewise. + +2015-07-24 Pedro Alves + + * config.in: Regenerate. + * configure: Regenerate. + +2015-07-24 Pedro Alves + + * acinclude.m4: Include ../ptrace.m4. + * configure.ac: Call GDB_AC_PTRACE. + * config.in, configure: Regenerate. + +2015-07-24 Yao Qi + + * linux-low.c (linux_create_inferior): Remove setting to + proc->priv->new_inferior. + (linux_attach): Likewise. + (linux_low_filter_event): Likewise. + * linux-low.h (struct process_info_private) : Remove. + +2015-07-24 Yao Qi + + * linux-low.c (linux_arch_setup): New function. + (linux_low_filter_event): If proc->tdesc is NULL and + proc->attached is true, call the_low_target.arch_setup. + Otherwise, keep status pending, and return. + (linux_resume_one_lwp_throw): Don't call get_pc if + thread->while_stepping isn't NULL. Don't call + get_thread_regcache if proc->tdesc is NULL. + (need_step_over_p): Return 0 if proc->tdesc is NULL. + (linux_target_ops): Install arch_setup. + * server.c (start_inferior): Call the_target->arch_setup. + * target.h (struct target_ops) : New field. + (target_arch_setup): New marco. + * lynx-low.c (lynx_target_ops): Update. + * nto-low.c (nto_target_ops): Update. + * spu-low.c (spu_target_ops): Update. + * win32-low.c (win32_target_ops): Update. + +2015-07-24 Yao Qi + + * linux-low.c (linux_add_process): Don't set + proc->priv->new_inferior. + (linux_create_inferior): Set proc->priv->new_inferior to 1. + (linux_attach): Likewise. + +2015-07-24 Yao Qi + + * server.c (start_inferior): Code refactor. + +2015-07-24 Yao Qi + + * server.c (process_serial_event): Set general_thread. + +2015-07-21 Yao Qi + + * linux-aarch64-low.c (aarch64_arch_setup): Remove code and call + aarch64_linux_get_debug_reg_capacity. + +2015-07-17 Yao Qi + + * Makefile.in (aarch64-linux-hw-point.o): New rule. + * configure.srv (srv_tgtobj): Append aarch64-linux-hw-point.o. + * linux-aarch64-low.c: Include nat/aarch64-linux-hw-point.h. + (AARCH64_HBP_MAX_NUM): Move to nat/aarch64-linux-hw-point.h. + (AARCH64_HWP_MAX_NUM, AARCH64_HBP_ALIGNMENT): Likewise. + (AARCH64_HWP_ALIGNMENT): Likewise. + (AARCH64_HWP_MAX_LEN_PER_REG): Likewise. + (AARCH64_DEBUG_NUM_SLOTS, AARCH64_DEBUG_ARCH): Likewise. + (aarch64_num_bp_regs, aarch64_num_wp_regs): Likewise. + (AARCH64_DEBUG_ARCH_V8, DR_MARK_ALL_CHANGED): Likewise. + (DR_MARK_N_CHANGED, DR_CLEAR_CHANGED): Likewise. + (DR_HAS_CHANGED, DR_N_HAS_CHANGE): Likewise. + (struct aarch64_debug_reg_state): Likewise. + (struct arch_lwp_info): Likewise. + (aarch64_align_watchpoint): Likewise. + (DR_CONTROL_ENABLED, DR_CONTROL_LENGTH): Likewise. + (aarch64_watchpoint_length): Likewise. + (aarch64_point_encode_ctrl_reg): Likewise + (aarch64_point_is_aligned): Likewise. + (aarch64_align_watchpoint): Likewise. + (aarch64_linux_set_debug_regs): + (aarch64_dr_state_insert_one_point): Likewise. + (aarch64_dr_state_remove_one_point): Likewise. + (aarch64_handle_breakpoint): Likewise. + (aarch64_handle_aligned_watchpoint): Likewise. + (aarch64_handle_unaligned_watchpoint): Likewise. + (aarch64_handle_watchpoint): Likewise. + +2015-07-17 Yao Qi + + * linux-aarch64-low.c (aarch64_handle_breakpoint): Add argument state + and don't aarch64_get_debug_reg_state. All callers update. + (aarch64_handle_aligned_watchpoint): Likewise. + (aarch64_handle_unaligned_watchpoint): Likewise. + (aarch64_handle_watchpoint): Likewise. + (aarch64_insert_point): Call aarch64_get_debug_reg_state earlier. + (aarch64_remove_point): Likewise. + +2015-07-17 Yao Qi + + * linux-aarch64-low.c (aarch64_show_debug_reg_state): Use + debug_printf. + (aarch64_handle_unaligned_watchpoint): Likewise. + +2015-07-15 Jan Kratochvil + + Revert the previous 3 commits: + Move gdb_regex* to common/ + Move linux_find_memory_regions_full & co. + gdbserver build-id attribute generator + +2015-07-15 Aleksandar Ristovski + + gdbserver build-id attribute generator. + * linux-low.c (nat/linux-maps.h, search.h, rsp-low.h): Include. + (ElfXX_Ehdr, ElfXX_Phdr, ElfXX_Nhdr): New. + (ELFXX_FLD, ELFXX_SIZEOF, ELFXX_ROUNDUP, BUILD_ID_INVALID): New. + (find_phdr): New. + (get_dynamic): Use find_pdhr to traverse program headers. + (struct mapping_entry, mapping_entry_s, free_mapping_entry_vec) + (compare_mapping_entry_range, struct find_memory_region_callback_data) + (read_build_id, find_memory_region_callback, lrfind_mapping_entry) + (get_hex_build_id): New. + (linux_qxfer_libraries_svr4): Add optional build-id attribute + to reply XML document. + +2015-07-15 Aleksandar Ristovski + + * target.c: Include target/target-utils.h and fcntl.h. + (target_fileio_read_stralloc_1_pread, target_fileio_read_stralloc_1) + (target_fileio_read_stralloc): New functions. + +2015-07-15 Jan Kratochvil + + * Makefile.in (OBS): Add gdb_regex.o. + (gdb_regex.o): New. + * config.in: Rebuilt. + * configure: Rebuilt. + +2015-07-15 Aleksandar Ristovski + + Create empty nat/linux-maps.[ch] and common/target-utils.[ch]. + * Makefile.in (OBS): Add target-utils.o. + (linux-maps.o, target-utils.o): New. + * configure.srv (srv_linux_obj): Add linux-maps.o. + +2015-07-15 Pierre Langlois + + * linux-aarch64-low.c (aarch64_supports_range_stepping): New + function, return 1. + (the_low_target): Install it. + +2015-07-14 Pedro Alves + + * linux-low.c (kill_wait_lwp): Don't assert if waitpid fails. + Instead, ignore ECHILD, and throw an error for other errnos. + +2015-07-10 Pedro Alves + + * event-loop.c (struct callback_event) : Change type to + gdb_client_data instance instead of gdb_client_data pointer. + (append_callback_event): Adjust. + +2015-07-10 Pierre Langlois + + * linux-aarch64-low.c: Add comments for each linux_target_ops + method. Remove comments already covered in target_ops and + linux_target_ops definitions. + (the_low_target): Add comments for each unimplemented method. + +2015-07-09 Yao Qi + + * linux-aarch64-low.c (aarch64_regmap): Remove. + (aarch64_usrregs_info): Remove. + (regs_info): Set field usrregs to NULL. + +2015-07-02 Markus Metzger + + * linux-low.c: Include "rsp-low.h" + (linux_low_encode_pt_config, linux_low_encode_raw): New. + (linux_low_read_btrace): Support BTRACE_FORMAT_PT. + (linux_low_btrace_conf): Support BTRACE_FORMAT_PT. + (handle_btrace_enable_pt): New. + (handle_btrace_general_set): Support "pt". + (handle_btrace_conf_general_set): Support "pt:size". + +2015-06-29 Pierre Langlois + + * linux-aarch64-low.c (aarch64_supports_z_point_type): Enable for + Z_PACKET_SW_BP. + +2015-06-29 Pierre Langlois + + * linux-aarch64-low.c: Remove comment about endianness. + (aarch64_breakpoint): Change type to gdb_byte[]. Set to "brk #0". + (aarch64_breakpoint_at): Change type of insn to gdb_byte[]. Use + memcmp. + +2015-06-24 Gary Benson + + * linux-i386-ipa.c (stdint.h): Do not include. + * lynx-i386-low.c (stdint.h): Likewise. + * lynx-ppc-low.c (stdint.h): Likewise. + * mem-break.c (stdint.h): Likewise. + * thread-db.c (stdint.h): Likewise. + * tracepoint.c (stdint.h): Likewise. + * win32-low.c (stdint.h): Likewise. + +2015-06-18 Simon Marchi + + * server.c (write_qxfer_response): Update call to + remote_escape_output. + +2015-06-15 Aleksandar Ristovski + + Merge multiple hex conversions. + * gdbreplay.c (tohex): Rename to 'fromhex'. + (logchar): Use fromhex. + +2015-06-10 Jan Kratochvil + + * server.c (handle_qxfer_libraries): Set `version' attribute for + . + +2015-06-10 Gary Benson + + * target.h (struct target_ops) : New field. + : Likewise. + : Likewise. + * linux-low.c (nat/linux-namespaces.h): New include. + (linux_target_ops): Initialize the_target->multifs_open, + the_target->multifs_unlink and the_target->multifs_readlink. + * hostio.h (hostio_handle_new_gdb_connection): New declaration. + * hostio.c (hostio_fs_pid): New static variable. + (hostio_handle_new_gdb_connection): New function. + (handle_setfs): Likewise. + (handle_open): Use the_target->multifs_open as appropriate. + (handle_unlink): Use the_target->multifs_unlink as appropriate. + (handle_readlink): Use the_target->multifs_readlink as + appropriate. + (handle_vFile): Handle vFile:setfs packets. + * server.c (handle_query): Call hostio_handle_new_gdb_connection + after target_handle_new_gdb_connection. + +2015-06-10 Gary Benson + + * configure.ac (AC_CHECK_FUNCS): Add setns. + * config.in: Regenerate. + * configure: Likewise. + * Makefile.in (SFILES): Add nat/linux-namespaces.c. + (linux-namespaces.o): New rule. + * configure.srv (srv_linux_obj): Add linux-namespaces.o. + +2015-06-09 Gary Benson + + * hostio.c (handle_open): Process mode argument with + fileio_to_host_mode. + +2015-06-01 Yao Qi + + * linux-s390-low.c (PTRACE_GETREGSET, PTRACE_SETREGSET): Remove. + * linux-x86-low.c: Likewise. + +2015-05-28 Don Breazeal + + * linux-low.c (handle_extended_wait): Initialize + thread_info.last_resume_kind for new fork children. + +2015-05-15 Pedro Alves + + * target.h (target_handle_new_gdb_connection): Rewrite using if + wrapped in do/while. + +2015-05-14 Joel Brobecker + + * configure.ac: Add prfpregset_t BFD_HAVE_SYS_PROCFS_TYPE check. + * configure, config.in: Regenerate. + * gdb_proc_service.h [HAVE_PRFPREGSET_T] (prfpregset_t): + Declare typedef. + +2015-05-12 Don Breazeal + + * linux-low.c (handle_extended_wait): Handle PTRACE_EVENT_FORK and + PTRACE_EVENT_VFORK_DONE. + (linux_low_ptrace_options, extended_event_reported): Add vfork + events. + * remote-utils.c (prepare_resume_reply): New stop reasons "vfork" + and "vforkdone" for RSP 'T' Stop Reply Packet. + * server.h (report_vfork_events): Declare + global variable. + +2015-05-12 Don Breazeal + + * linux-aarch64-low.c (aarch64_linux_new_fork): New function. + (the_low_target) : Initialize new member. + * linux-arm-low.c (arm_new_fork): New function. + (the_low_target) : Initialize new member. + * linux-low.c (handle_extended_wait): Call new target function + new_fork. + * linux-low.h (struct linux_target_ops) : New member. + * linux-mips-low.c (mips_add_watchpoint): New function + extracted from mips_insert_point. + (the_low_target) : Initialize new member. + (mips_linux_new_fork): New function. + (mips_insert_point): Call mips_add_watchpoint. + * linux-x86-low.c (x86_linux_new_fork): New function. + (the_low_target) : Initialize new member. + +2015-05-12 Don Breazeal + + * linux-low.c (handle_extended_wait): Implement return value, + rename argument 'event_child' to 'event_lwp', handle + PTRACE_EVENT_FORK, call internal_error for unrecognized event. + (linux_low_ptrace_options): New function. + (linux_low_filter_event): Call linux_low_ptrace_options, + use different argument fo linux_enable_event_reporting, + use return value from handle_extended_wait. + (extended_event_reported): New function. + (linux_wait_1): Call extended_event_reported and set + status to report fork events. + (linux_write_memory): Add pid to debug message. + (reset_lwp_ptrace_options_callback): New function. + (linux_handle_new_gdb_connection): New function. + (linux_target_ops): Initialize new structure member. + * linux-low.h (struct lwp_info) : New member. + * lynx-low.c: Initialize new structure member. + * remote-utils.c (prepare_resume_reply): Implement stop reason + "fork" for "T" stop message. + * server.c (handle_query): Call handle_new_gdb_connection. + * server.h (report_fork_events): Declare global flag. + * target.h (struct target_ops) : + New member. + (target_handle_new_gdb_connection): New macro. + * win32-low.c: Initialize new structure member. + +2015-05-12 Don Breazeal + + * mem-break.c (APPEND_TO_LIST): Define macro. + (clone_agent_expr): New function. + (clone_one_breakpoint): New function. + (clone_all_breakpoints): New function. + * mem-break.h: Declare new functions. + +2015-05-12 Don Breazeal + + * linux-low.c (linux_supports_fork_events): New function. + (linux_supports_vfork_events): New function. + (linux_target_ops): Initialize new structure members. + (initialize_low): Call linux_check_ptrace_features. + * lynx-low.c (lynx_target_ops): Initialize new structure + members. + * server.c (report_fork_events, report_vfork_events): + New global flags. + (handle_query): Add new features to qSupported packet and + response. + (captured_main): Initialize new global variables. + * target.h (struct target_ops) : + New member. + : New member. + (target_supports_fork_events): New macro. + (target_supports_vfork_events): New macro. + * win32-low.c (win32_target_ops): Initialize new structure + members. + +2015-05-12 Gary Benson + + * server.c (handle_qxfer_exec_file): Use current process + if annex is empty. + +2015-05-08 Sandra Loosemore + + * linux-nios2-low.c: Include elf/common.h. Adjust comments. + Remove HAVE_PTRACE_GETREGS conditionals. + (nios2_regsets): Use PTRACE_GETREGSET and PTRACE_SETREGSET + instead of PTRACE_GETREGS and PTRACE_SETREGS. + +2015-05-08 Yao Qi + + * linux-low.c (linux_supports_conditional_breakpoints): New + function. + (linux_target_ops): Install new target method. + * lynx-low.c (lynx_target_ops): Install NULL hook for + supports_conditional_breakpoints. + * nto-low.c (nto_target_ops): Likewise. + * spu-low.c (spu_target_ops): Likewise. + * win32-low.c (win32_target_ops): Likewise. + * server.c (handle_query): Check + target_supports_conditional_breakpoints. + * target.h (struct target_ops) : + New field. + (target_supports_conditional_breakpoints): New macro. + +2015-05-06 Pedro Alves + + PR server/18081 + * server.c (start_inferior): If the process exits, mourn it. + +2015-04-21 Gary Benson + + * hostio.c (fileio_open_flags_to_host): Factored out to + fileio_to_host_openflags in common/fileio.c. Single use + updated. + +2015-04-17 Max Filippov + + * linux-xtensa-low.c (xtensa_fill_gregset) + (xtensa_store_gregset): Check XCHAL_HAVE_LOOPS instead of + XCHAL_HAVE_LOOP. + +2015-04-17 Max Filippov + + * linux-xtensa-low.c (xtensa_usrregs_info): Remove. + (regs_info): Replace usrregs pointer with NULL. + +2015-04-17 Gary Benson + + * target.h (struct target_ops) : New field. + * linux-low.c (linux_target_ops): Initialize pid_to_exec_file. + * server.c (handle_qxfer_exec_file): New function. + (qxfer_packets): Add exec-file entry. + (handle_query): Report qXfer:exec-file:read as supported packet. + +2015-04-14 Romain Naour (tiny change) + + * linux-low.c (linux_read_offsets): Remove get_thread_lwp. + +2015-04-09 Gary Benson + + * hostio-errno.c (errno_to_fileio_error): Remove function. + Update caller to use remote_fileio_to_fio_error. + +2015-04-09 Yao Qi + + * linux-low.c (linux_insert_point): Call + insert_memory_breakpoint if TYPE is raw_bkpt_type_sw. + (linux_remove_point): Call remove_memory_breakpoint if type is + raw_bkpt_type_sw. + * linux-x86-low.c (x86_insert_point): Don't call + insert_memory_breakpoint. + (x86_remove_point): Don't call remove_memory_breakpoint. + +2015-04-01 Pedro Alves + Cleber Rosa + + * server.c (gdbserver_usage): Reorganize and extend the usage + message. + +2015-03-24 Pedro Alves + + * linux-low.c (check_stopped_by_breakpoint): Tweak debug log + output. Also dump TRAP_TRACE. + (linux_low_filter_event): In debug output, distinguish a + resume_stop SIGSTOP from a delayed SIGSTOP. + +2015-03-24 Gary Benson + + * linux-x86-low.c (x86_linux_new_thread): Moved to + nat/x86-linux.c. + (x86_linux_prepare_to_resume): Likewise. + +2015-03-24 Gary Benson + + * Makefile.in (x86-linux-dregs.o): New rule. + * configure.srv: Add x86-linux-dregs.o to relevant targets. + * linux-x86-low.c: Include nat/x86-linux-dregs.h. + (u_debugreg_offset): Moved to nat/x86-linux-dregs.c. + (x86_linux_dr_get): Likewise. + (x86_linux_dr_set): Likewise. + (update_debug_registers_callback): Likewise. + (x86_linux_dr_set_addr): Likewise. + (x86_linux_dr_get_addr): Likewise. + (x86_linux_dr_set_control): Likewise. + (x86_linux_dr_get_control): Likewise. + (x86_linux_dr_get_status): Likewise. + (x86_linux_update_debug_registers): Likewise. + +2015-03-24 Gary Benson + + * linux-x86-low.c (x86_linux_update_debug_registers): + New function, factored out from... + (x86_linux_prepare_to_resume): ...this. + +2015-03-24 Gary Benson + + * linux-x86-low.c (x86_linux_dr_get): Update comments. + (x86_linux_dr_set): Likewise. + (update_debug_registers_callback): Likewise. + (x86_linux_dr_set_addr): Likewise. + (x86_linux_dr_get_addr): Likewise. + (x86_linux_dr_set_control): Likewise. + (x86_linux_dr_get_control): Likewise. + (x86_linux_dr_get_status): Likewise. + (x86_linux_prepare_to_resume): Likewise. + +2015-03-24 Gary Benson + + * linux-x86-low.c (x86_linux_dr_get): Add assertion. + Use perror_with_name. Pass string through gettext. + (x86_linux_dr_set): Likewise. + +2015-03-24 Gary Benson + + * linux-x86-low.c (x86_dr_low_set_addr): Rename to... + (x86_linux_dr_set_addr): ...this. + (x86_dr_low_get_addr): Rename to... + (x86_linux_dr_get_addr): ...this. + (x86_dr_low_set_control): Rename to... + (x86_linux_dr_set_control): ...this. + (x86_dr_low_get_control): Rename to... + (x86_linux_dr_get_control): ...this. + (x86_dr_low_get_status): Rename to... + (x86_linux_dr_get_status): ...this. + (x86_dr_low): Update with new function names. + +2015-03-24 Gary Benson + + * Makefile.in (x86-linux.o): New rule. + * configure.srv: Add x86-linux.o to relevant targets. + * linux-low.c (lwp_set_arch_private_info): New function. + (lwp_arch_private_info): Likewise. + * linux-x86-low.c: Include nat/x86-linux.h. + (arch_lwp_info): Removed structure. + (update_debug_registers_callback): + Use lwp_set_debug_registers_changed. + (x86_linux_prepare_to_resume): Use lwp_debug_registers_changed + and lwp_set_debug_registers_changed. + (x86_linux_new_thread): Use lwp_set_debug_registers_changed. + +2015-03-24 Gary Benson + + * linux-low.h (linux_target_ops) : Changed signature. + * linux-arm-low.c (arm_new_thread): Likewise. + * linux-aarch64-low.c (aarch64_linux_new_thread): Likewise. + * linux-mips-low.c (mips_linux_new_thread): Likewise. + * linux-x86-low.c (x86_linux_new_thread): Likewise. + * linux-low.c (add_lwp): Update the_low_target.new_thread call. + +2015-03-24 Gary Benson + + * linux-low.c (ptid_of_lwp): New function. + (lwp_is_stopped): Likewise. + (lwp_stop_reason): Likewise. + * linux-x86-low.c (update_debug_registers_callback): + Use lwp_is_stopped. + (x86_linux_prepare_to_resume): Use ptid_of_lwp and + lwp_stop_reason. + +2015-03-24 Gary Benson + + * linux-low.h (linux_stop_lwp): Remove declaration. + +2015-03-24 Gary Benson + + * linux-low.h: Include nat/linux-nat.h. + * linux-low.c (iterate_over_lwps_args): New structure. + (iterate_over_lwps_filter): New function. + (iterate_over_lwps): Likewise. + * linux-x86-low.c (update_debug_registers_callback): + Update signature to what iterate_over_lwps expects. + Remove PID check that iterate_over_lwps now performs. + (x86_dr_low_set_addr): Use iterate_over_lwps. + (x86_dr_low_set_control): Likewise. + +2015-03-24 Gary Benson + + * linux-x86-low.c (x86_debug_reg_state): New function. + (x86_linux_prepare_to_resume): Use the above. + +2015-03-24 Gary Benson + + * linux-low.c (current_lwp_ptid): New function. + * linux-x86-low.c: Include nat/linux-nat.h. + (x86_dr_low_get_addr): Use current_lwp_ptid. + (x86_dr_low_get_control): Likewise. + (x86_dr_low_get_status): Likewise. + +2015-03-20 Pedro Alves + + * tracepoint.c (cmd_qtstatus): Make "str" const. + +2015-03-20 Pedro Alves + + * server.c (handle_general_set): Make "req_str" const. + +2015-03-19 Pedro Alves + + * linux-low.c (linux_resume_one_lwp): Rename to ... + (linux_resume_one_lwp_throw): ... this. Don't handle ESRCH here, + instead call perror_with_name. + (check_ptrace_stopped_lwp_gone): New function. + (linux_resume_one_lwp): Reimplement as wrapper around + linux_resume_one_lwp_throw that swallows errors if the LWP is + gone. + +2015-03-19 Pedro Alves + + * linux-low.c (count_events_callback, select_event_lwp_callback): + No longer check whether the thread has resume_stop as last resume + kind. + +2015-03-19 Pedro Alves + + * linux-low.c (count_events_callback, select_event_lwp_callback): + Use the lwp's status_pending_p field, not the thread's. + +2015-03-19 Pedro Alves + + * linux-low.c (select_event_lwp_callback): Update comments to + no longer mention SIGTRAP. + +2015-03-18 Gary Benson + + * server.c (handle_query): Do not report vFile:fstat as supported. + +2015-03-11 Gary Benson + + * hostio.c (sys/types.h): New include. + (sys/stat.h): Likewise. + (common-remote-fileio.h): Likewise. + (handle_fstat): New function. + (handle_vFile): Handle vFile:fstat packets. + +2015-03-11 Gary Benson + + * configure.ac (AC_CHECK_MEMBERS): Add checks for + struct stat.st_blocks and struct stat.st_blksize. + * configure: Regenerate. + * config.in: Likewise. + * Makefile.in (SFILES): Add common/common-remote-fileio.c. + (OBS): Add common-remote-fileio.o. + (common-remote-fileio.o): New rule. + +2015-03-09 Pedro Alves + + * tracepoint.c (gdb_agent_helper_thread): Cast '&sockaddr' to + 'struct sockaddr' pointer in 'accept' call. + +2015-03-09 Pedro Alves + + Revert: + 2015-03-07 Pedro Alves + * gdbreplay.c: No longer include , , + or here. Instead include "gdb_socket.h". + (remote_open): Use union gdb_sockaddr_u. + * remote-utils.c: No longer include , + or here. Instead include "gdb_socket.h". + (handle_accept_event, remote_prepare): Use union gdb_sockaddr_u. + * tracepoint.c: Include "gdb_socket.h" instead of + or . + (init_named_socket, gdb_agent_helper_thread): Use union + gdb_sockaddr_u. + +2015-03-07 Pedro Alves + + * configure.ac (build_warnings): Move + -Wdeclaration-after-statement to the C-specific set. + * configure: Regenerate. + +2015-03-07 Pedro Alves + + * gdbreplay.c: No longer include , , + or here. Instead include "gdb_socket.h". + (remote_open): Use union gdb_sockaddr_u. + * remote-utils.c: No longer include , + or here. Instead include "gdb_socket.h". + (handle_accept_event, remote_prepare): Use union gdb_sockaddr_u. + * tracepoint.c: Include "gdb_socket.h" instead of + or . + (init_named_socket, gdb_agent_helper_thread): Use union + gdb_sockaddr_u. + +2015-03-07 Pedro Alves + + Adjust all callers of TRY_CATCH to use TRY/CATCH/END_CATCH + instead. + +2015-03-06 Yao Qi + + * linux-aarch64-low.c (aarch64_insert_point): Use + show_debug_regs as a boolean. + (aarch64_remove_point): Likewise. + +2015-03-05 Pedro Alves + + * lynx-low.c (lynx_target_ops): Install NULL hooks for + stopped_by_sw_breakpoint, supports_stopped_by_sw_breakpoint, + stopped_by_hw_breakpoint, supports_stopped_by_hw_breakpoint. + * nto-low.c (nto_target_ops): Likewise. + * spu-low.c (spu_target_ops): Likewise. + * win32-low.c (win32_target_ops): Likewise. + +2015-03-04 Pedro Alves + + * linux-low.c (check_stopped_by_breakpoint) [USE_SIGTRAP_SIGINFO]: + Decide whether a breakpoint triggered based on the SIGTRAP's + siginfo.si_code. + (thread_still_has_status_pending_p) [USE_SIGTRAP_SIGINFO]: Don't check whether a + breakpoint is inserted if relying on SIGTRAP's siginfo.si_code. + (linux_low_filter_event): Check for breakpoints before checking + watchpoints. + (linux_wait_1): Don't re-increment the PC if relying on SIGTRAP's + siginfo.si_code. + (linux_stopped_by_sw_breakpoint) + (linux_supports_stopped_by_sw_breakpoint) + (linux_stopped_by_hw_breakpoint) + (linux_supports_stopped_by_hw_breakpoint): New functions. + (linux_target_ops): Install new target methods. + +2015-03-04 Pedro Alves + + * remote-utils.c (prepare_resume_reply): Report swbreak/hbreak. + * server.c (swbreak_feature, hwbreak_feature): New globals. + (handle_query) : Handle "swbreak+" and "hwbreak+". + (captured_main): Clear swbreak_feature and hwbreak_feature. + * server.h (swbreak_feature, hwbreak_feature): Declare. + * target.h (struct target_ops) : New fields. + (target_supports_stopped_by_sw_breakpoint) + (target_stopped_by_sw_breakpoint) + (target_supports_stopped_by_hw_breakpoint) + (target_stopped_by_hw_breakpoint): Declare. + +2015-03-04 Pedro Alves + + enum lwp_stop_reason -> enum target_stop_reason + * linux-low.c (check_stopped_by_breakpoint): Adjust. + (thread_still_has_status_pending_p, check_stopped_by_watchpoint) + (linux_wait_1, stuck_in_jump_pad_callback) + (move_out_of_jump_pad_callback, linux_resume_one_lwp) + (linux_stopped_by_watchpoint): + * linux-low.h (enum lwp_stop_reason): Delete. + (struct lwp_info) : Now an enum target_stop_reason. + * linux-x86-low.c (x86_linux_prepare_to_resume): Adjust. + +2015-03-04 Yao Qi + + * Makefile.in (SFILES): Add linux-aarch64-low.c. + +2015-03-03 Gary Benson + + * hostio.c (handle_vFile): Fix prefix lengths. + +2015-03-03 Markus Metzger + + * linux-low.c (linux_low_enable_btrace): Do not overwrite non-zero + ptr_bits. + +2015-03-02 Andreas Arnez + + * Makefile.in (s390-vx-linux64.c, s390-tevx-linux64.c) + (s390x-vx-linux64.c, s390x-tevx-linux64.c): New rules. + (clean): Add "rm -f" for above C files. + * configure.srv (srv_regobj): Add s390-vx-linux64.o, + s390-tevx-linux64.o, s390x-vx-linux64.o, and s390x-tevx-linux64.o. + (srv_xmlfiles): Add s390-vx-linux64.xml, s390-tevx-linux64.xml, + s390x-vx-linux64.xml, s390x-tevx-linux64.xml, and s390-vx.xml. + * linux-s390-low.c (HWCAP_S390_VX): New macro. + (init_registers_s390_vx_linux64, init_registers_s390_tevx_linux64) + (init_registers_s390x_vx_linux64) + (init_registers_s390x_tevx_linux64) + (tdesc_s390_vx_linux64, tdesc_s390_tevx_linux64) + (tdesc_s390x_vx_linux64, tdesc_s390x_tevx_linux64): New extern + declarations. + (s390_fill_vxrs_low, s390_store_vxrs_low, s390_fill_vxrs_high) + (s390_store_vxrs_high): New functions. + (s390_regsets): Add entries for NT_S390_VXRS_LOW and + NT_S390_VXRS_HIGH. + (s390_arch_setup): Add logic for selecting one of the new target + descriptions. Activate the new vector regsets if applicable. + (initialize_low_arch): Also invoke init_registers_s390_vx_linux64, + init_registers_s390_tevx_linux64, init_registers_s390x_vx_linux64, + and init_registers_s390x_tevx_linux64. + +2015-03-01 Pedro Alves + + * linux-i386-ipa.c (gdb_agent_get_raw_reg): Constify 'raw_regs' + parameter. + +2015-02-27 Pedro Alves + + * linux-x86-low.c (u_debugreg_offset): New function. + (x86_linux_dr_get, x86_linux_dr_set): Use it. + +2015-02-27 Pedro Alves + + * gdb_proc_service.h: Wrap with EXTERN_C_PUSH/EXTERN_C_POP. + [!HAVE_PROC_SERVICE_H] (struct ps_prochandle): Forward declare. + [!HAVE_PROC_SERVICE_H] (ps_pdread, ps_pdwrite, ps_ptread) + ps_ptwrite, ps_lgetregs, ps_lsetregs, ps_lgetfpregs) + (ps_lsetfpregs, ps_getpid) + (ps_get_thread_area, ps_pglobal_lookup, ps_pstop, ps_pcontinue) + (ps_lstop, ps_lcontinue, ps_lgetxregsize, ps_lgetxregs) + (ps_lsetxregs, ps_plog): Declare. + +2015-02-27 Pedro Alves + + * linux-amd64-ipa.c (gdb_agent_get_raw_reg): Use + IP_AGENT_EXPORT_FUNC. + * linux-i386-ipa.c (gdb_agent_get_raw_reg): Use + IP_AGENT_EXPORT_FUNC. + * tracepoint.c (ATTR_USED, ATTR_NOINLINE, ATTR_CONSTRUCTOR) + (IP_AGENT_EXPORT): Delete. + (gdb_tp_heap_buffer, gdb_jump_pad_buffer, gdb_jump_pad_buffer_end) + (gdb_trampoline_buffer, gdb_trampoline_buffer_end) + (gdb_trampoline_buffer_error, collecting, gdb_collect) + (stop_tracing, flush_trace_buffer, about_to_request_buffer_space) + (trace_buffer_is_full, stopping_tracepoint, expr_eval_result) + (error_tracepoint, tracepoints, tracing, trace_buffer_ctrl) + (trace_buffer_ctrl_curr, trace_buffer_lo, trace_buffer_hi) + (traceframe_read_count, traceframe_write_count) + (traceframes_created, trace_state_variables, get_raw_reg) + (get_trace_state_variable_value, set_trace_state_variable_value) + (ust_loaded, helper_thread_id, cmd_buf): Use + IPA_SYM_EXPORTED_NAME. + (stop_tracing, flush_trace_buffer): Use IP_AGENT_EXPORT_FUNC. + (tracepoints) Use IP_AGENT_EXPORT_VAR. + (stopping_tracepoint, trace_buffer_is_full, expr_eval_result): Use + IP_AGENT_EXPORT_VAR and wrap in EXTERN_C_PUSH/EXTERN_C_POP. + (last_tracepoint): Move into !IN_PROCESS_AGENT block. + (error_tracepoint): Use IP_AGENT_EXPORT_VAR and wrap in + EXTERN_C_PUSH/EXTERN_C_POP. + (trace_state_variables): Use IP_AGENT_EXPORT_VAR. + (trace_buffer_lo, trace_buffer_hi): Use IP_AGENT_EXPORT_VAR and + wrap in EXTERN_C_PUSH/EXTERN_C_POP. + (trace_buffer_ctrl, trace_buffer_ctrl_curr) + (traceframe_write_count, traceframe_read_count) + (traceframes_created, tracing): Use IP_AGENT_EXPORT_VAR. + (about_to_request_buffer_space, get_trace_state_variable_value) + (set_trace_state_variable_value): Use IP_AGENT_EXPORT_FUNC. + (collecting): Use IP_AGENT_EXPORT_VAR and wrap in + EXTERN_C_PUSH/EXTERN_C_POP. + (gdb_collect): Use IP_AGENT_EXPORT_FUNC. + (ust_loaded, cmd_buf): Use IP_AGENT_EXPORT_VAR. + (helper_thread_id, gdb_agent_capability): Use IP_AGENT_EXPORT_VAR + and wrap in EXTERN_C_PUSH/EXTERN_C_POP. + (gdb_tp_heap_buffer, gdb_jump_pad_buffer, gdb_jump_pad_buffer_end) + (gdb_trampoline_buffer, gdb_trampoline_buffer_end) + (gdb_trampoline_buffer_error): Use IP_AGENT_EXPORT_VAR. + * tracepoint.h (ATTR_USED, ATTR_NOINLINE, EXPORTED_SYMBOL): + Define. + (IP_AGENT_EXPORT_FUNC, IP_AGENT_EXPORT_VAR) + (IP_AGENT_EXPORT_VAR_DECL): Define. + (tracing): Declare. + (gdb_agent_get_raw_reg): Declare. + +2015-02-27 Tom Tromey + Pedro Alves + + Rename symbols whose names are reserved C++ keywords throughout. + +2015-02-27 Pedro Alves + + * Makefile.in (COMPILER): New, get it from autoconf. + (CXX): Get from autoconf instead. + (COMPILE.pre): Use COMPILER. + (CC-LD): Rename to ... + (CC_LD): ... this. Use COMPILER. + (gdbserver$(EXEEXT), gdbreplay$(EXEEXT), $(IPA_LIB)): Adjust. + (CXX_FOR_TARGET): Default to g++ instead of gcc. + * acinclude.m4: Include build-with-cxx.m4. + * configure.ac: Call AC_PROG_CXX and GDB_AC_BUILD_WITH_CXX. + Disable -Werror by default if building in C++ mode. + (build_warnings): Add -Wno-sign-compare, -Wno-write-strings and + -Wno-narrowing in C++ mode. Run supported-warning-flags tests with + the C++ compiler. Save/restore CXXFLAGS too. + * configure: Regenerate. + +2015-02-27 Pedro Alves + + * acinclude.m4: Include libiberty.m4. + * configure.ac: Call libiberty_INIT. + * config.in, configure: Regenerate. + +2015-02-26 Pedro Alves + + * linux-low.c (linux_wait_1): When incrementing the PC past a + program breakpoint always use the_low_target.breakpoint_len as + increment, rather than the maximum between that and + the_low_target.decr_pc_after_break. + +2015-02-23 Pedro Alves + + * linux-low.c (check_stopped_by_breakpoint): Don't check if the + thread was doing a step-over; always adjust the PC if + we stepped over a permanent breakpoint. + (linux_wait_1): If we stepped over breakpoint that was on top of a + permanent breakpoint, manually advance the PC past it. + +2015-02-23 Pedro Alves + + * linux-x86-low.c (REGSIZE): Define in both 32-bit and 64-bit + modes. + (x86_fill_gregset, x86_store_gregset): Use it when handling + $orig_eax. + +2015-02-20 Pedro Alves + + * thread-db.c: Include "nat/linux-procfs.h". + (thread_db_init): Skip listing new threads if the kernel supports + PTRACE_EVENT_CLONE and /proc/PID/task/ is accessible. + +2015-02-20 Pedro Alves + + * linux-low.c (status_pending_p_callback): Use ptid_match. + +2015-02-19 Antoine Tremblay + + PR breakpoints/16812 + * linux-low.c (wstatus_maybe_breakpoint): Remove. + (linux_low_filter_event): Update wstatus_maybe_breakpoint name. + (linux_wait_1): Report SIGTRAP,SIGILL,SIGSEGV. + +2015-02-10 Antoine Tremblay + + PR breakpoints/15956 + * tracepoint.c (cmd_qtinit): Add check for current_thread. + +2015-02-09 Markus Metzger + + * linux-low.c (linux_low_btrace_conf): Print size. + * server.c (handle_btrace_conf_general_set): New. + (hanle_general_set): Call handle_btrace_conf_general_set. + (handle_query): Report Qbtrace-conf:bts:size as supported. + +2015-02-09 Markus Metzger + + * linux-low.c (linux_low_enable_btrace): Update parameters. + (linux_low_btrace_conf): New. + (linux_target_ops): Initialize. + * server.c (current_btrace_conf): New. + (handle_btrace_enable): Rename to ... + (handle_btrace_enable_bts): ... this. Pass ¤t_btrace_conf + to target_enable_btrace. Update comment. Update users. + (handle_qxfer_btrace_conf): New. + (qxfer_packets): Add btrace-conf entry. + (handle_query): Report qXfer:btrace-conf:read as supported packet. + * target.h (target_ops): Update parameters and comment. + (target_ops): New. + (target_enable_btrace): Update parameters. + (target_read_btrace_conf): New. + +2015-02-09 Markus Metzger + + * server.c (handle_btrace_general_set): Remove call to + target_supports_btrace. + (supported_btrace_packets): New. + (handle_query): Call supported_btrace_packets. + * target.h: include btrace-common.h. + (btrace_target_info): Removed. + (supports_btrace, target_supports_btrace): Update parameters. + +2015-02-09 Markus Metzger + + * Makefile.in (SFILES): Add common/btrace-common.c. + (OBS): Add common/btrace-common.o. + (btrace-common.o): Add build rules. + * linux-low: Include btrace-common.h. + (linux_low_read_btrace): Use struct btrace_data. Call + btrace_data_init and btrace_data_fini. + +2015-02-06 Pedro Alves + + * thread-db.c (find_new_threads_callback): Add debug output. + +2015-02-04 Pedro Alves + + * linux-low.c (handle_extended_wait): Don't resume LWPs here. + (resume_stopped_resumed_lwps): New function. + (linux_wait_for_event_filtered): Use it. + +2015-01-15 Sergio Durigan Junior + + * Makefile.in (SFILES): Add linux-personality.c. + (linux-personality.o): New rule. + * configure.srv (srv_linux_obj): Add linux-personality.o to the + list of objects to be built. + * linux-low.c: Include nat/linux-personality.h. + (linux_create_inferior): Remove code to disable address space + randomization (moved to ../nat/linux-personality.c). Create + cleanup to disable address space randomization. + +2015-01-15 Sergio Durigan Junior + + * Makefile.in (posix-strerror.o): New rule. + (mingw-strerror.o): Likewise. + * configure: Regenerated. + * configure.ac: Source file ../common/common.host. Initialize new + variable srv_host_obs. Add srv_host_obs to GDBSERVER_DEPFILES. + +2015-01-14 Yao Qi + + * Makefile.in (SFILES): Add nat/ppc-linux.c. + (ppc-linux.o): New rule. + * configure.srv (powerpc*-*-linux*): Add ppc-linux.o. + * configure.ac: AC_CHECK_FUNCS(getauxval). + * config.in: Re-generated. + * configure: Re-generated. + * linux-ppc-low.c (ppc_arch_setup) [__powerpc64__]: Call + ppc64_64bit_inferior_p + +2015-01-14 Yao Qi + + * linux-ppc-low.c: Include "nat/ppc-linux.h". + (PPC_FEATURE_HAS_VSX): Move to nat/ppc-linux.h. + (PPC_FEATURE_HAS_ALTIVEC, PPC_FEATURE_HAS_SPE): Likewise. + (PT_ORIG_R3, PT_TRAP): Likewise. + (PTRACE_GETVSXREGS, PTRACE_SETVSXREGS): Likewise. + (PTRACE_GETVRREGS, PTRACE_SETVRREGS): Likewise. + (PTRACE_GETEVRREGS, PTRACE_SETEVRREGS): Likewise. + +2015-01-10 Joel Brobecker + + * i387-fp.c (i387_cache_to_xsave): In look over + num_avx512_zmmh_high_registers, replace use of struct i387_xsave + zmmh_low_space field by use of zmmh_high_space. + +2015-01-09 Pedro Alves + + * linux-low.c (step_over_bkpt): Move higher up in the file. + (handle_extended_wait): Don't store the stop_pc here. + (get_stop_pc): Adjust comments and rename to ... + (check_stopped_by_breakpoint): ... this. Record whether the LWP + stopped for a software breakpoint or hardware breakpoint. + (thread_still_has_status_pending_p): New function. + (status_pending_p_callback): Use + thread_still_has_status_pending_p. If the event is no longer + interesting, resume the LWP. + (handle_tracepoints): Add assert. + (maybe_move_out_of_jump_pad): Remove cancel_breakpoints call. + (wstatus_maybe_breakpoint): New function. + (cancel_breakpoint): Delete function. + (check_stopped_by_watchpoint): New function, factored out from + linux_low_filter_event. + (lp_status_maybe_breakpoint): Delete function. + (linux_low_filter_event): Remove filter_ptid argument. + Leave thread group exits pending here. Store the LWP's stop PC. + Always leave events pending. + (linux_wait_for_event_filtered): Pull all events out of the + kernel, and leave them all pending. + (count_events_callback, select_event_lwp_callback): Consider all + events. + (cancel_breakpoints_callback, linux_cancel_breakpoints): Delete. + (select_event_lwp): Only give preference to the stepping LWP in + all-stop mode. Adjust comments. + (ignore_event): New function. + (linux_wait_1): Delete 'retry' label. Use ignore_event. Remove + references to cancel_breakpoints. Adjust to renames. Also give + equal priority to all LWPs that have had events in non-stop mode. + If reporting a software breakpoint event, unadjust the LWP's PC. + (linux_wait): If linux_wait_1 returned an ignored event, retry. + (stuck_in_jump_pad_callback, move_out_of_jump_pad_callback): + Adjust. + (linux_resume_one_lwp): Store the LWP's PC. Adjust. + (resume_status_pending_p): Use thread_still_has_status_pending_p. + (linux_stopped_by_watchpoint): Adjust. + (linux_target_ops): Remove reference to linux_cancel_breakpoints. + * linux-low.h (enum lwp_stop_reason): New. + (struct lwp_info) : Adjust comment. + : Delete field. + : New field. + * linux-x86-low.c (x86_linux_prepare_to_resume): Adjust. + * mem-break.c (software_breakpoint_inserted_here) + (hardware_breakpoint_inserted_here): New function. + * mem-break.h (software_breakpoint_inserted_here) + (hardware_breakpoint_inserted_here): Declare. + * target.h (struct target_ops) : Remove field. + (cancel_breakpoints): Delete. + * tracepoint.c (clear_installed_tracepoints, stop_tracing) + (upload_fast_traceframes): Remove references to + cancel_breakpoints. + +2015-01-09 Pedro Alves + + * thread-db.c (find_new_threads_callback): Ignore thread if the + kernel thread ID is -1. + +2015-01-09 Pedro Alves + + * linux-low.c (linux_attach_fail_reason_string): Move to + nat/linux-ptrace.c, and rename. + (linux_attach_lwp): Update comment. + (attach_proc_task_lwp_callback): New function. + (linux_attach): Adjust to rename and use + linux_proc_attach_tgid_threads. + (linux_attach_fail_reason_string): Delete declaration. + +2015-01-01 Joel Brobecker + + * gdbreplay.c (gdbreplay_version): Update copyright year to 2015. + * server.c (gdbserver_version): Likewise. + +2014-12-29 Sergio Durigan Junior + + * remote-utils.c: Include ctype.h. + (input_interrupt): Explicitly handle the case when the char + received is the NUL byte. Improve the printing of non-ASCII + characters. + +2014-12-16 Joel Brobecker + + * linux-low.c (linux_low_filter_event): Update call to + linux_enable_event_reporting following the addition of + a new parameter to that function. + +2014-12-16 Catalin Udma + + PR server/17457 + * linux-aarch64-low.c (AARCH64_FPSR_REGNO): New define. + (AARCH64_FPCR_REGNO): Likewise. + (AARCH64_NUM_REGS): Update to include fpsr/fpcr registers. + (aarch64_fill_fpregset): Add missing fpsr/fpcr registers. + (aarch64_store_fpregset): Likewise. + +2014-12-15 Joel Brobecker + + * lynx-low.c (lynx_resume): Use PTRACE_SINGLESTEP_ONE if N == 1. + Remove FIXME comment about assumption about N. + +2014-12-13 Joel Brobecker + + * configure.ac: If large-file support is disabled in GDBserver, + pass --disable-largefile to ACX_CONFIGURE_DIR call for "gnulib". + * configure: Regenerate. + +2014-12-12 Andreas Arnez + + * linux-low.c (regsets_fetch_inferior_registers): Suppress the + warning upon ENODATA from ptrace. + * linux-s390-low.c (s390_store_tdb): New. + (s390_regsets): Add regset for NT_S390_TDB. + +2014-12-12 Andreas Arnez + + * linux-low.c (regsets_store_inferior_registers): Skip regsets + without a fill_function. + * linux-s390-low.c (s390_fill_last_break): Remove. + (s390_regsets): Set fill_function to NULL for NT_S390_LAST_BREAK. + (s390_arch_setup): Use regset's size instead of fill_function for + loop end condition. + +2014-12-12 Andreas Arnez + + * linux-low.c (regsets_fetch_inferior_registers): Do not invoke + the regset's store function when ptrace returned an error. + * regcache.c (get_thread_regcache): Invalidate register cache + before fetching inferior's registers. + +2014-12-12 Andreas Arnez + + * linux-low.c (regsets_fetch_inferior_registers): Rephrase + while-loop as for-loop. + (regsets_store_inferior_registers): Likewise. + +2014-11-28 Yao Qi + + * configure.ac(AC_CHECK_FUNCS): Remove readlink. + * config.in, configure: Re-generate. + * hostio.c (handle_unlink): Remove code checking HAVE_READLINK + is defined. + +2014-11-21 Yao Qi + + * configure.ac: Don't invoke AC_FUNC_ALLOCA. + (AC_CHECK_HEADERS): Remove malloc.h. + * configure: Re-generated. + * config.in: Re-generated. + * server.h: Don't include alloca.h and malloc.h. + * gdbreplay.c: Don't check HAVE_ALLOCA_H is defined. + Don't include malloc.h. + +2014-11-17 Joel Brobecker + + * lynx-low.c (lynx_write_memory): Put lynx_read_memory and + corresponding ERRNO check in same block. + +2014-11-12 Pedro Alves + + * server.c (cont_thread): Update comment. + (start_inferior, attach_inferior): No longer clear cont_thread. + (handle_v_cont): No longer set cont_thread. + (captured_main): Clear cont_thread each time a GDB connects. + +2014-11-12 Pedro Alves + + * linux-low.c (linux_wait_1): Don't force a wait for the Hc + thread, and don't resume all threads if the Hc thread has exited. + +2014-11-12 Pedro Alves + + * linux-low.c (linux_request_interrupt): Always send a SIGINT to + the process group instead of to a specific LWP. + +2014-10-15 Pedro Alves + + PR server/17487 + * win32-arm-low.c (arm_set_thread_context): Remove current_event + parameter. + (arm_set_thread_context): Delete. + (the_low_target): Adjust. + * win32-i386-low.c (debug_registers_changed) + (debug_registers_used): Delete. + (update_debug_registers_callback): New function. + (x86_dr_low_set_addr, x86_dr_low_set_control): Mark all threads as + needing to update their debug registers. + (win32_get_current_dr): New function. + (x86_dr_low_get_addr, x86_dr_low_get_control) + (x86_dr_low_get_status): Fetch the debug register from the thread + record's context. + (i386_initial_stuff): Adjust. + (i386_get_thread_context): Remove current_event parameter. Don't + clear debug_registers_changed nor copy DR values to + debug_reg_state. + (i386_set_thread_context): Delete. + (i386_prepare_to_resume): New function. + (i386_thread_added): Mark the thread as needing to update irs + debug registers. + (the_low_target): Remove i386_set_thread_context and install + i386_prepare_to_resume. + * win32-low.c (win32_get_thread_context): Adjust. + (win32_set_thread_context): Use SetThreadContext + directly. + (win32_prepare_to_resume): New function. + (win32_require_context): New function, factored out from ... + (thread_rec): ... this. + (continue_one_thread): Call win32_prepare_to_resume on each thread + we're about to continue. + (win32_resume): Call win32_prepare_to_resume on the event thread. + * win32-low.h (struct win32_thread_info) + : New field. + (struct win32_target_ops): Change prototype of set_thread_context, + delete set_thread_context and add prepare_to_resume. + (win32_require_context): New declaration. + +2014-10-08 Gary Benson + + * server.h: Do not include common-exceptions.h. + +2014-10-08 Gary Benson + + * server.h: Do not include cleanups.h. + +2014-09-30 James Hogan + + * Makefile.in (clean): Add rm -f commands for mips-dsp-linux.c and + mips64-dsp-linux.c. + +2014-09-23 Yao Qi + + * linux-low.c (lp_status_maybe_breakpoint): New function. + (linux_low_filter_event): Call lp_status_maybe_breakpoint. + (count_events_callback): Likewise. + (select_event_lwp_callback): Likewise. + (cancel_breakpoints_callback): Likewise. + +2014-09-19 Don Breazeal + + * linux-low.c (handle_extended_wait): Call + linux_ptrace_get_extended_event. + (get_stop_pc, get_detach_signal, linux_low_filter_event): Call + linux_is_extended_waitstatus. + +2014-09-16 Joel Brobecker + + * Makefile.in (CPPFLAGS): Define. + (INTERNAL_CFLAGS_BASE): Add ${CPPFLAGS}. + (IPAGENT_CFLAGS): Remove ${CPPFLAGS}. + +2014-09-16 Gary Benson + + * inferiors.h (current_inferior): Renamed as... + (current_thread): New variable. All uses updated. + * linux-low.c (get_pc): Renamed saved_inferior as saved_thread. + (maybe_move_out_of_jump_pad): Likewise. + (cancel_breakpoint): Likewise. + (linux_low_filter_event): Likewise. + (wait_for_sigstop): Likewise. + (linux_resume_one_lwp): Likewise. + (need_step_over_p): Likewise. + (start_step_over): Likewise. + (linux_stabilize_threads): Renamed save_inferior as saved_thread. + * linux-x86-low.c (x86_linux_update_xmltarget): Likewise. + * proc-service.c (ps_lgetregs): Renamed reg_inferior as reg_thread + and save_inferior as saved_thread. + * regcache.c (get_thread_regcache): Renamed saved_inferior as + saved_thread. + (regcache_invalidate_thread): Likewise. + * remote-utils.c (prepare_resume_reply): Likewise. + * thread-db.c (thread_db_get_tls_address): Likewise. + (disable_thread_event_reporting): Likewise. + (remove_thread_event_breakpoints): Likewise. + * tracepoint.c (gdb_agent_about_to_close): Renamed save_inferior + as saved_thread. + * target.h (set_desired_inferior): Renamed as... + (set_desired_thread): New declaration. All uses updated. + * server.c (myresume): Updated comment to reference thread instead + of inferior. + (handle_serial_event): Likewise. + (handle_target_event): Likewise. + +2014-09-12 Tom Tromey + Gary Benson + + * regcache.h: Include common-regcache.h. + (regcache_read_pc): Don't declare. + * regcache.c (get_thread_regcache_for_ptid): New function. + +2014-09-11 Tom Tromey + Gary Benson + + * symbol.c: New file. + * Makefile.in (SFILES): Add symbol.c. + (OBS): Add symbol.o. + +2014-09-11 Gary Benson + + * target.c (target_stop_ptid, target_continue_ptid): New + functions. + +2014-09-11 Tom Tromey + Gary Benson + + * target.h: Include target/target.h. + * target.c (target_read_memory, target_read_uint32) + (target_write_memory): New functions. + +2014-09-11 Gary Benson + + * server.h (debug_hw_points): Don't declare. + * server.c (debug_hw_points): Don't define. Replace all uses + with show_debug_regs. + * linux-aarch64-low.c (debug_hw_points): Don't define. Replace + all uses with show_debug_regs. + +2014-09-08 Edjunior Barbosa Machado + + * linux-ppc-low.c (ppc_collect_ptrace_register): Adjust routine to take + endianness into account. + (ppc_supply_ptrace_register): Likewise. + +2014-09-03 James Hogan + + * linux-mips-low.c (mips_read_description): Reset errno to 0 prior + to reading DSP_CONTROL with PTRACE_PEEKUSER ptrace call. + +2014-09-03 Gary Benson + + * linux-x86-low.c (x86_linux_prepare_to_resume): Use + ALL_DEBUG_ADDRESS_REGISTERS. + +2014-09-02 Gary Benson + + * i386-low.h: Renamed as... + * x86-low.h: New file. All type, function and variable name + prefixes changed from "i386_" to "x86_". All references updated. + * i386-low.c: Renamed as... + * x86-low.c: New file. All type, function and variable name + prefixes changed from "i386_" to "x86_". All references updated. + +2014-09-02 Gary Benson + + * linux-x86-low.c (x86_linux_new_process): Use XCNEW. + (x86_linux_new_thread): Likewise. + +2014-08-29 Gary Benson + + * server.h (setjmp.h): Do not include. + (toplevel): Do not declare. + (common-exceptions.h): Include. + (cleanups.h): Likewise. + * server.c (toplevel): Do not define. + (exit_code): New static global. + (detach_or_kill_for_exit_cleanup): New function. + (main): New function. Original main renamed to... + (captured_main): New function. + * utils.c (verror) [!IN_PROCESS_AGENT]: Use throw_verror. + +2014-08-29 Gary Benson + + * Makefile.in (SFILES): Add common/common-exceptions.c. + (OBS): Add common-exceptions.o. + (common-exceptions.o): New rule. + * utils.c (prepare_to_throw_exception): New function. + +2014-08-29 Gary Benson + + * config.in: Regenerate. + * configure: Likewise. + +2014-08-29 Gary Benson + + * Makefile.in (SFILES): Add common/cleanups.c. + (OBS): cleanups.o. + (cleanups.o): New rule. + +2014-08-29 Gary Benson + + * utils.c (internal_vwarning): New function. + +2014-08-28 Gary Benson + + * utils.h (fatal): Remove declaration. + * utils.c (fatal): Remove function. + +2014-08-28 Gary Benson + + * tracepoint.c (gdb_agent_init): Replace fatal with + perror_with_name. + (initialize_tracepoint): Likewise. + +2014-08-28 Gary Benson + + * remote-utils.c (remote_prepare): Replace fatal with error. + +2014-08-28 Gary Benson + + * linux-low.c (linux_async): Replace fatal with warning. + Tidy up and return. + (linux_start_non_stop): Return -1 if linux_async failed. + +2014-08-28 Gary Benson + + * linux-x86-low.c (i386_dr_low_set_addr): Replace check with + gdb_assert. + (i386_dr_low_get_addr): Remove vague comment. + * win32-i386-low.c (i386_dr_low_set_addr): Replace check with + gdb_assert. + +2014-08-28 Gary Benson + + * inferiors.c (get_thread_process): Replace check with gdb_assert. + * linux-low.c (linux_wait_for_event_filtered): Replace fatal with + internal_error. + (linux_resume_one_lwp): Likewise. + * linux-x86-low.c (x86_siginfo_fixup): Replace checks with + gdb_assert. + * mem-break.c (raw_bkpt_type_to_target_hw_bp_type): Replace fatal + with internal_error. + * regcache.c (get_thread_regcache): Replace check with gdb_assert. + (init_register_cache): Replace fatal with gdb_assert_not_reached. + (find_register_by_name): Replace fatal with internal_error. + (find_regno): Likewise. + * tdesc.c (init_target_desc): Replace check with gdb_assert. + * thread-db.c (thread_db_create_event): Likewise. + (thread_db_load_search): Likewise. + (try_thread_db_load_1): Likewise. + * tracepoint.c (get_jump_space_head): Replace fatal with + internal_error. + (claim_trampoline_space): Likewise. + (have_fast_tracepoint_trampoline_buffer): Likewise. + (cmd_qtstart): Likewise. + (stop_tracing): Likewise. + (fast_tracepoint_collecting): Likewise. + (target_malloc): Likewise. + (download_tracepoint): Likewise. + (download_trace_state_variables): Replace check with gdb_assert. + (upload_fast_traceframes): Replace fatal with internal_error. + +2014-08-19 Tom Tromey + Gary Benson + + * Makefile.in (SFILES): Add common/common-debug.c. + (OBS): Add common-debug.o. + (common-debug.o): New rule. + * debug.h (debug_printf): Don't declare. + * debug.c (debug_printf): Renamed and rewritten as... + (debug_vprintf): New function. + +2014-08-19 Gary Benson + + * utils.h: Do not include print-utils.h. + +2014-08-19 Tom Tromey + Gary Benson + + * server.h: Add static assertion. + (gdb_byte, CORE_ADDR, LONGEST, ULONGEST): Remove. + +2014-08-19 Tom Tromey + Gary Benson + + * Makefile.in (SFILES): Add common/errors.c. + (OBS): Add errors.o. + (IPA_OBS): Add errors-ipa.o. + (errors.o): New rule. + (errors-ipa.o): Likewise. + * utils.h (perror_with_name, error, warning): Don't declare. + * utils.c (warning): Renamed and rewritten as... + (vwarning): New function. + (error): Renamed and rewritten as... + (verror): New function. + (internal_error): Renamed and rewritten as... + (internal_verror): New function. + +2014-08-07 Gary Benson + + * configure.ac (AC_CHECK_HEADERS): Remove errno.h. + * configure: Regenerate. + * config.in: Likewise. + * server.h: Do not include errno.h. + * event-loop.c: Likewise. + * hostio-errno.c: Likewise. + * linux-low.c: Likewise. + * remote-utils.c: Likewise. + * spu-low.c: Likewise. + * utils.c: Likewise. + * gdbreplay.c: Unconditionally include errno.h. + +2014-08-07 Gary Benson + + * server.h: Do not include string.h. + * event-loop.c: Likewise. + * linux-low.c: Likewise. + * regcache.c: Likewise. + * remote-utils.c: Likewise. + * spu-low.c: Likewise. + * utils.c: Likewise. + +2014-08-07 Gary Benson + + * server.h: Do not include gdb_assert.h. + +2014-08-07 Gary Benson + + * server.h: Do not include common-utils.h. + +2014-08-07 Gary Benson + + * server.h: Do not include ptid.h. + * notif.h: Likewise. + +2014-08-07 Gary Benson + + * server.h: Do not include gdb_locale.h. + +2014-08-07 Gary Benson + + * server.h: Do not include gdb/signals.h. + * win32-low.c: Likewise. + +2014-08-07 Gary Benson + + * server.h: Do not include pathmax.h. + +2014-08-07 Gary Benson + + * server.h: Do not include libiberty.h. + * linux-bfin-low.c: Likewise. + +2014-08-07 Gary Benson + + * server.h: Do not include ansidecl.h. + +2014-08-07 Gary Benson + + * linux-x86-low.c: Do not include stddef.h. + * lynx-ppc-low.c: Likewise. + * tracepoint.c: Likewise. + +2014-08-07 Gary Benson + + * server.h: Do not include stdarg.h. + * nto-low.c: Likewise. + +2014-08-07 Gary Benson + + * server.h: Do not include stdlib.h. + * inferiors.c: Likewise. + * linux-low.c: Likewise. + * regcache.c: Likewise. + * spu-low.c: Likewise. + * tracepoint.c: Likewise. + * utils.c: Likewise. + +2014-08-07 Gary Benson + + * server.h: Do not include stdio.h. + * linux-low.c: Likewise. + * remote-utils.c: Likewise. + * spu-low.c: Likewise. + * utils.c: Likewise. + * wincecompat.c: Likewise. + +2014-08-06 Gary Benson + + * regcache.c (init_register_cache): Move conditionals inside if. + +2014-08-06 Gary Benson + + * linux-low.c (linux_supports_non_stop): Use target_is_async_p. + +2014-07-31 Gary Benson + + * ax.h: Do not include server.h. + * gdbthread.h: Likewise. + * lynx-low.h: Likewise. + * notif.h: Likewise. + +2014-07-30 Gary Benson + + * server.h: Include common-defs.h. + Do not include config.h or build-gnulib-gdbserver/config.h. + +2014-07-30 Gary Benson + + * hostio-errno.c: Move server.h to top of includes list. + * inferiors.c: Likewise. + * linux-x86-low.c: Likewise. + * notif.c: Include server.h. + +2014-07-24 Tom Tromey + Gary Benson + + * server.h (CORE_ADDR): Now unsigned. + +2014-07-16 Pedro Alves + + * linux-low.c (linux_kill_one_lwp): Use kill_lwp, not kill. + +2014-07-15 Pedro Alves + + * linux-low.c (linux_kill_one_lwp): Save errno and work with saved + copy. + +2014-07-11 Pedro Alves + + * linux-low.c (kill_wait_lwp): New function, based on + kill_one_lwp_callback, but use my_waitpid directly. + (kill_one_lwp_callback, linux_kill): Use it. + +2014-06-23 Pedro Alves + + * linux-x86-low.c (x86_linux_prepare_to_resume): Clear DR_CONTROL + before setting DR0..DR3. + +2014-06-20 Gary Benson + + * configure.ac (AC_REPLACE_FUNCS) : Removed. + * configure: Regenerated. + * config.in: Likewise. + +2014-06-20 Gary Benson + + * Makefile.in (SFILES): Update locations for files moved + from common to nat. + (object file files): Reordered. + +2014-06-20 Gary Benson + + * i386-low.h (i386_dr_low_can_set_addr): Removed. + (i386_dr_low_set_addr): Likewise. + (i386_dr_low_get_addr): Likewise. + (i386_dr_low_can_set_control): Likewise. + (i386_dr_low_set_control): Likewise. + (i386_dr_low_get_control): Likewise. + (i386_dr_low_get_status): Likewise. + (i386_get_debug_register_length): Likewise. + * linux-x86-low.c (i386_dr_low_set_addr): + Changed signature. Made static. + (i386_dr_low_get_addr): Likewise. + (i386_dr_low_set_control): Likewise. + (i386_dr_low_get_control): Likewise. + (i386_dr_low_get_status): Likewise. + (i386_dr_low): New global variable. + * win32-i386-low.c (i386_dr_low_set_addr): + Changed signature. Made static. + (i386_dr_low_get_addr): Likewise. + (i386_dr_low_set_control): Likewise. + (i386_dr_low_get_control): Likewise. + (i386_dr_low_get_status): Likewise. + (i386_dr_low): New global variable. + +2014-06-20 Marcus Shawcroft + + * configure.ac: Invoke. AC_CHECK_TOOL(AR, ar). + * Makefile.in (AR, AR_FLAGS): Define. + * configure: Regenerate. + +2014-06-19 Gary Benson + + * Makefile.in (i386-dregs.o): New rule. + * configure.srv: Add i386-dregs.o to all targets using i386-low.o. + * i386-low.c (target.h): Remove include. + (TARGET_HAS_DR_LEN_8): Now in i386-dregs.c. + (DR_CONTROL_SHIFT): Likewise. + (DR_CONTROL_SIZE): Likewise. + (DR_RW_EXECUTE): Likewise. + (DR_RW_WRITE): Likewise. + (DR_RW_READ): Likewise. + (DR_RW_IORW): Likewise. + (DR_LEN_1): Likewise. + (DR_LEN_2): Likewise. + (DR_LEN_4): Likewise. + (DR_LEN_8): Likewise. + (DR_LOCAL_ENABLE_SHIFT): Likewise. + (DR_GLOBAL_ENABLE_SHIFT): Likewise. + (DR_ENABLE_SIZE): Likewise. + (DR_LOCAL_SLOWDOWN): Likewise. + (DR_GLOBAL_SLOWDOWN): Likewise. + (DR_CONTROL_RESERVED): Likewise. + (I386_DR_CONTROL_MASK): Likewise. + (I386_DR_VACANT): Likewise. + (I386_DR_LOCAL_ENABLE): Likewise. + (I386_DR_GLOBAL_ENABLE): Likewise. + (I386_DR_DISABLE): Likewise. + (I386_DR_SET_RW_LEN): Likewise. + (I386_DR_GET_RW_LEN): Likewise. + (I386_DR_WATCH_HIT): Likewise. + (i386_wp_op_t): Likewise. + (i386_show_dr): Likewise. + (i386_length_and_rw_bits): Likewise. + (i386_insert_aligned_watchpoint): Likewise. + (i386_remove_aligned_watchpoint): Likewise. + (i386_handle_nonaligned_watchpoint): Likewise. + i386_update_inferior_debug_regs(): Likewise. + (i386_dr_insert_watchpoint): Likewise. + (i386_dr_remove_watchpoint): Likewise. + (i386_dr_region_ok_for_watchpoint): Likewise. + (i386_dr_stopped_data_address): Likewise. + (i386_dr_stopped_by_watchpoint): Likewise. + +2014-06-19 Gary Benson + + * i386-low.c (i386_dr_show): Renamed to + i386_show_dr and made static. All uses updated. + (i386_dr_length_and_rw_bits): Renamed to + i386_length_and_rw_bits and made static. + All uses updated. + (i386_dr_insert_aligned_watchpoint): Renamed to + i386_insert_aligned_watchpoint and made static. + All uses updated. + (i386_dr_remove_aligned_watchpoint): Renamed to + i386_remove_aligned_watchpoint and made static. + All uses updated. + (i386_dr_update_inferior_debug_regs): Renamed to + i386_update_inferior_debug_regs and made static. + All uses updated. + +2014-06-18 Gary Benson + + * i386-low.h (i386_dr_low_can_set_addr): New macro. + (i386_dr_low_can_set_control): Likewise. + (i386_get_debug_register_length): Likewise. + * i386-low.c (i386_dr_low_can_set_addr): Now in i386-low.h. + (i386_dr_low_can_set_control): Likewise. + (i386_get_debug_register_length): Likewise. + +2014-06-17 Gary Benson + + * i386-low.h (i386-dregs.h): New include. + (DR_FIRSTADDR): Now in i386-dregs.h. + (DR_LASTADDR): Likewise. + (DR_NADDR): Likewise. + (DR_STATUS): Likewise. + (DR_CONTROL): Likewise. + (i386_debug_reg_state): Likewise. + (i386_dr_insert_watchpoint): Likewise. + (i386_dr_remove_watchpoint): Likewise. + (i386_dr_region_ok_for_watchpoint): Likewise. + (i386_dr_stopped_data_address): Likewise. + (i386_dr_stopped_by_watchpoint): Likewise. + * i386-low.c (ALL_DEBUG_REGISTERS): Likewise. + +2014-06-18 Gary Benson + + * i386-low.h (i386_low_insert_watchpoint): Renamed to + i386_dr_insert_watchpoint. + (i386_low_remove_watchpoint): Renamed to + i386_dr_remove_watchpoint. + (i386_low_region_ok_for_watchpoint): Renamed to + i386_dr_region_ok_for_watchpoint. + (i386_low_stopped_data_address): Renamed to + i386_dr_stopped_data_address. + (i386_low_stopped_by_watchpoint): Renamed to + i386_dr_stopped_by_watchpoint. + * i386-low.c (i386_show_dr): Renamed to + i386_dr_show and made nonstatic. All uses updated. + (i386_length_and_rw_bits): Renamed to + i386_dr_length_and_rw_bits and made nonstatic. + All uses updated. + (i386_insert_aligned_watchpoint): Renamed to + i386_dr_insert_aligned_watchpoint and made nonstatic. + All uses updated. + (i386_remove_aligned_watchpoint): Renamed to + i386_dr_remove_aligned_watchpoint and made nonstatic. + All uses updated. + (i386_update_inferior_debug_regs): Renamed to + i386_dr_update_inferior_debug_regs and made nonstatic. + All uses updated. + (i386_low_insert_watchpoint): Renamed to + i386_dr_insert_watchpoint. All uses updated. + (i386_low_remove_watchpoint): Renamed to + i386_dr_remove_watchpoint. All uses updated. + (i386_low_region_ok_for_watchpoint): Renamed to + i386_dr_region_ok_for_watchpoint. All uses updated. + (i386_low_stopped_data_address): Renamed to + i386_dr_stopped_data_address. All uses updated. + (i386_low_stopped_by_watchpoint): Renamed to + i386_dr_stopped_by_watchpoint. All uses updated. + +2014-06-18 Gary Benson + + * i386-low.c (i386_dr_low_can_set_addr): New macro. + (i386_dr_low_can_set_control): Likewise. + (i386_insert_aligned_watchpoint): New check. + +2014-06-18 Gary Benson + + * i386-low.c (i386_update_inferior_debug_regs) : + Renamed to state. + +2014-06-18 Gary Benson + + * i386-low.c (i386_length_and_rw_bits): Use internal_error + instead of fatal and error. + (i386_handle_nonaligned_watchpoint): Likewise. + +2014-06-18 Gary Benson + + * i386-low.c (i386_get_debug_register_length): New macro. + (TARGET_HAS_DR_LEN_8): Remove conditional. Use above macro. + (i386_show_dr): Use debug_printf instead of fprintf. Use + phex to format values. + +2014-06-18 Gary Benson + + * i386-low.h: Comment changes. + * i386-low.c: Likewise. + +2014-06-18 Gary Benson + + * i386-low.c: Whitespace changes. + +2014-06-12 Tom Tromey + + * utils.c (freeargv): Remove. + +2014-06-12 Tom Tromey + + * debug.c (debug_printf): Remove HAVE_GETTIMEOFDAY checks. + * server.c (monitor_show_help): Remove HAVE_GETTIMEOFDAY check. + (parse_debug_format_options): Likewise. + (gdbserver_usage): Likewise. + * Makefile.in (LIBIBERTY_BUILDDIR, LIBIBERTY): New variables. + (SUBDIRS, REQUIRED_SUBDIRS): Add libiberty. + (gdbserver$(EXEEXT), gdbreplay$(EXEEXT)): Depend on and link + against libiberty. + ($(LIBGNU)): Depend on libiberty. + (all-lib): Recurse into all subdirs. + (install-only): Invoke "install" target in subdirs. + (vasprintf.o, vsnprintf.o, safe-ctype.o, lbasename.o): Remove + targets. + * configure: Rebuild. + * configure.ac: Add ACX_CONFIGURE_DIR for libiberty. Don't check + for vasprintf, vsnprintf, or gettimeofday. + * configure.srv: Don't add safe-ctype.o or lbasename.o to + srv_tgtobj. + +2014-06-05 Joel Brobecker + + * development.sh: Delete. + * Makefile.in (config.status): Adjust dependency on development.sh. + * configure.ac: Adjust development.sh source call. + * configure: Regenerate. + +2014-06-02 Pedro Alves + + * ax.c (gdb_free_agent_expr): New function. + * ax.h (gdb_free_agent_expr): New declaration. + * mem-break.c (delete_gdb_breakpoint_1): Also clear the commands + list. + (clear_breakpoint_conditions, clear_breakpoint_commands): Make + static. + (clear_breakpoint_conditions_and_commands): New function. + * mem-break.h (clear_breakpoint_conditions): Delete declaration. + (clear_breakpoint_conditions_and_commands): New declaration. + +2014-05-23 Ramana Radhakrishnan + + * linux-aarch64-low.c (asm/ptrace.h): Include. + +2014-05-21 Jan Kratochvil + + Fix TLS access for -static -pthread. + * gdbserver/thread-db.c (struct thread_db): Add td_thr_tlsbase_p. + (thread_db_get_tls_address): Call it if LOAD_MODULE is zero. + (thread_db_load_search, try_thread_db_load_1): Initialize it. + +2014-05-20 Pedro Alves + + * linux-aarch64-low.c (aarch64_insert_point) + (aarch64_remove_point): No longer check whether the type is + supported here. Adjust to new interface. + (the_low_target): Install aarch64_supports_z_point_type as + supports_z_point_type method. + * linux-arm-low.c (raw_bkpt_type_to_arm_hwbp_type): New function. + (arm_linux_hw_point_initialize): Take an enum raw_bkpt_type + instead of a Z packet char. Adjust. + (arm_supports_z_point_type): New function. + (arm_insert_point, arm_remove_point): Adjust to new interface. + (the_low_target): Install arm_supports_z_point_type. + * linux-crisv32-low.c (cris_supports_z_point_type): New function. + (cris_insert_point, cris_remove_point): Adjust to new interface. + Don't check whether the type is supported here. + (the_low_target): Install cris_supports_z_point_type. + * linux-low.c (linux_supports_z_point_type): New function. + (linux_insert_point, linux_remove_point): Adjust to new interface. + * linux-low.h (struct linux_target_ops) : Take an enum raw_bkpt_type instead of a char. Add + raw_breakpoint pointer parameter. + : New method. + * linux-mips-low.c (mips_supports_z_point_type): New function. + (mips_insert_point, mips_remove_point): Adjust to new interface. + Use mips_supports_z_point_type. + (the_low_target): Install mips_supports_z_point_type. + * linux-ppc-low.c (the_low_target): Install NULL as + supports_z_point_type method. + * linux-s390-low.c (the_low_target): Install NULL as + supports_z_point_type method. + * linux-sparc-low.c (the_low_target): Install NULL as + supports_z_point_type method. + * linux-x86-low.c (x86_supports_z_point_type): New function. + (x86_insert_point): Adjust to new insert_point interface. Use + insert_memory_breakpoint. Adjust to new + i386_low_insert_watchpoint interface. + (x86_remove_point): Adjust to remove_point interface. Use + remove_memory_breakpoint. Adjust to new + i386_low_remove_watchpoint interface. + (the_low_target): Install x86_supports_z_point_type. + * lynx-low.c (lynx_target_ops): Install NULL as + supports_z_point_type callback. + * nto-low.c (nto_supports_z_point_type): New. + (nto_insert_point, nto_remove_point): Adjust to new interface. + (nto_target_ops): Install nto_supports_z_point_type. + * mem-break.c: Adjust intro comment. + (struct raw_breakpoint) : New fields. + : Update comment. + : Delete field. + (enum bkpt_type) : Delete value. + : New values. + (raw_bkpt_type_to_target_hw_bp_type): New function. + (find_enabled_raw_code_breakpoint_at): New function. + (find_raw_breakpoint_at): New type and size parameters. Use them. + (insert_memory_breakpoint): New function, based off + set_raw_breakpoint_at. + (remove_memory_breakpoint): New function. + (set_raw_breakpoint_at): Reimplement. + (set_breakpoint): New, based on set_breakpoint_at. + (set_breakpoint_at): Reimplement. + (delete_raw_breakpoint): Go through the_target->remove_point + instead of assuming memory breakpoints. + (find_gdb_breakpoint_at): Delete. + (Z_packet_to_bkpt_type, Z_packet_to_raw_bkpt_type): New functions. + (find_gdb_breakpoint): New function. + (set_gdb_breakpoint_at): Delete. + (z_type_supported): New function. + (set_gdb_breakpoint_1): New function, loosely based off + set_gdb_breakpoint_at. + (check_gdb_bp_preconditions, set_gdb_breakpoint): New functions. + (delete_gdb_breakpoint_at): Delete. + (delete_gdb_breakpoint_1): New function, loosely based off + delete_gdb_breakpoint_at. + (delete_gdb_breakpoint): New function. + (clear_gdb_breakpoint_conditions): Rename to ... + (clear_breakpoint_conditions): ... this. Don't handle a NULL + breakpoint. + (add_condition_to_breakpoint): Make static. + (add_breakpoint_condition): Take a struct breakpoint pointer + instead of an address. Adjust. + (gdb_condition_true_at_breakpoint): Rename to ... + (gdb_condition_true_at_breakpoint_z_type): ... this, and add + z_type parameter. + (gdb_condition_true_at_breakpoint): Reimplement. + (add_breakpoint_commands): Take a struct breakpoint pointer + instead of an address. Adjust. + (gdb_no_commands_at_breakpoint): Rename to ... + (gdb_no_commands_at_breakpoint_z_type): ... this. Add z_type + parameter. Return true if no breakpoint was found. Change debug + output. + (gdb_no_commands_at_breakpoint): Reimplement. + (run_breakpoint_commands): Rename to ... + (run_breakpoint_commands_z_type): ... this. Add z_type parameter, + and change return type to boolean. + (run_breakpoint_commands): New function. + (gdb_breakpoint_here): Also check for Z1 breakpoints. + (uninsert_raw_breakpoint): Don't try to reinsert a disabled + breakpoint. Go through the_target->remove_point instead of + assuming memory breakpoint. + (uninsert_breakpoints_at, uninsert_all_breakpoints): Uninsert + software and hardware breakpoints. + (reinsert_raw_breakpoint): Go through the_target->insert_point + instead of assuming memory breakpoint. + (reinsert_breakpoints_at, reinsert_all_breakpoints): Reinsert + software and hardware breakpoints. + (check_breakpoints, breakpoint_here, breakpoint_inserted_here): + Check both software and hardware breakpoints. + (validate_inserted_breakpoint): Assert the breakpoint is a + software breakpoint. Set the inserted flag to -1 instead of + setting shlib_disabled. + (delete_disabled_breakpoints): Adjust. + (validate_breakpoints): Only validate software breakpoints. + Adjust to inserted flag change. + (check_mem_read, check_mem_write): Skip breakpoint types other + than software breakpoints. Adjust to inserted flag change. + * mem-break.h (enum raw_bkpt_type): New enum. + (raw_breakpoint, struct process_info): Forward declare. + (Z_packet_to_target_hw_bp_type): Delete declaration. + (raw_bkpt_type_to_target_hw_bp_type, Z_packet_to_raw_bkpt_type) + (set_gdb_breakpoint, delete_gdb_breakpoint) + (clear_breakpoint_conditions): New declarations. + (set_gdb_breakpoint_at, clear_gdb_breakpoint_conditions): Delete. + (breakpoint_inserted_here): Update comment. + (add_breakpoint_condition, add_breakpoint_commands): Replace + address parameter with a breakpoint pointer parameter. + (gdb_breakpoint_here): Update comment. + (delete_gdb_breakpoint_at): Delete. + (insert_memory_breakpoint, remove_memory_breakpoint): Declare. + * server.c (process_point_options): Take a struct breakpoint + pointer instead of an address. Adjust. + (process_serial_event) : Use set_gdb_breakpoint and + delete_gdb_breakpoint. + * spu-low.c (spu_target_ops): Install NULL as + supports_z_point_type method. + * target.h: Include mem-break.h. + (struct target_ops) : Update comment. + : New field. + : Take an enum raw_bkpt_type argument + instead of a char. Also take a raw breakpoint pointer. + * win32-arm-low.c (the_low_target): Install NULL as + supports_z_point_type. + * win32-i386-low.c (i386_supports_z_point_type): New function. + (i386_insert_point, i386_remove_point): Adjust to new interface. + (the_low_target): Install i386_supports_z_point_type. + * win32-low.c (win32_supports_z_point_type): New function. + (win32_insert_point, win32_remove_point): Adjust to new interface. + (win32_target_ops): Install win32_supports_z_point_type. + * win32-low.h (struct win32_target_ops): + : New method. + : Take an enum raw_bkpt_type argument + instead of a char. Also take a raw breakpoint pointer. + +2014-05-20 Pedro Alves + + * mem-break.h: Include break-common.h. + (Z_PACKET_SW_BP, Z_PACKET_HW_BP, Z_PACKET_WRITE_WP) + (Z_PACKET_READ_WP, Z_PACKET_ACCESS_WP): New defines. + (Z_packet_to_target_hw_bp_type): New declaration. + * mem-break.c (Z_packet_to_target_hw_bp_type): New function. + * i386-low.c (Z_PACKET_HW_BP, Z_PACKET_WRITE_WP, Z_PACKET_READ_WP) + (Z_PACKET_ACCESS_WP): Delete macros. + (Z_packet_to_hw_type): Delete function. + * i386-low.h: Don't include break-common.h here. + (Z_packet_to_hw_type): Delete declaration. + * linux-x86-low.c (x86_insert_point, x86_insert_point): Call + Z_packet_to_target_hw_bp_type instead of Z_packet_to_hw_type. + * win32-i386-low.c (i386_insert_point, i386_remove_point): Call + Z_packet_to_target_hw_bp_type instead of Z_packet_to_hw_type. + * linux-aarch64-low.c: Don't include break-common.h here. + (Z_PACKET_SW_BP, Z_PACKET_HW_BP, Z_PACKET_WRITE_WP) + (Z_PACKET_READ_WP, Z_PACKET_ACCESS_WP): Delete macros. + (Z_packet_to_target_hw_bp_type): Delete function. + * linux-mips-low.c (rsp_bp_type_to_target_hw_bp_type): Delete + function. + (mips_insert_point, mips_remove_point): Use + Z_packet_to_target_hw_bp_type. + +2014-05-20 Pedro Alves + + * linux-aarch64-low.c: Include break-common.h. + (enum target_point_type): Delete. + (Z_packet_to_point_type): Rename to ... + (Z_packet_to_target_hw_bp_type): ... this, and return a + target_hw_bp_type instead. + (aarch64_show_debug_reg_state): Take an enum target_hw_bp_type + instead of an enum target_point_type. + (aarch64_point_encode_ctrl_reg): Likewise. Compute type mask from + breakpoint type. + (aarch64_dr_state_insert_one_point) + (aarch64_dr_state_remove_one_point, aarch64_handle_breakpoint) + (aarch64_handle_aligned_watchpoint) + (aarch64_handle_unaligned_watchpoint, aarch64_handle_watchpoint): + Take an enum target_hw_bp_type instead of an enum + target_point_type. + (aarch64_supports_z_point_type): New function. + (aarch64_insert_point, aarch64_remove_point): Use it. Adjust to + use Z_packet_to_target_hw_bp_type. + +2014-05-20 Joel Brobecker + + * configure.ac: Only use -Werror by default when DEVELOPMENT + is true. + * configure: Regenerate. + +2014-05-19 Jan Kratochvil + + Fix gdbserver qGetTLSAddr for x86_64 -m32. + * linux-x86-low.c (X86_64_USER_REGS): New. + (x86_fill_gregset): Call memset for BUF first in x86_64 -m32 case. + +2014-04-28 Yao Qi + + * Makefile.in (i386-avx512.c): Fix the typo of generated file + name. + +2014-04-25 Pedro Alves + + PR server/16255 + * linux-low.c (linux_attach_fail_reason_string): New function. + (linux_attach_lwp): Delete. + (linux_attach_lwp_1): Rename to ... + (linux_attach_lwp): ... this. Take a ptid instead of a pid as + argument. Remove "initial" parameter. Return int instead of + void. Don't error or warn here. + (linux_attach): Adjust to call linux_attach_lwp. Call error on + failure to attach to the tgid. Call warning when failing to + attach to an lwp. + * linux-low.h (linux_attach_lwp): Take a ptid instead of a pid as + argument. Remove "initial" parameter. Return int instead of + void. Don't error or warn here. + (linux_attach_fail_reason_string): New declaration. + * thread-db.c (attach_thread): Adjust to linux_attach_lwp's + interface change. Use linux_attach_fail_reason_string. + +2014-04-24 Michael Sturm + Walfred Tedeschi + + * Makefile.in: Added rules to handle new files + i386-avx512.c i386-avx512-linux.c amd64-avx512.c + amd64-avx512-linux.c x32-avx512.c x32-avx512-linux.c. + * configure.srv (srv_i386_regobj): Add i386-avx512.o. + (srv_i386_linux_regobj): Add i386-avx512-linux.o. + (srv_amd64_regobj): Add amd64-avx512.o and x32-avx512.o. + (srv_amd64_linux_regobj): Add amd64-avx512-linux.o and + x32-avx512-linux.o. + (srv_i386_32bit_xmlfiles): Add i386/32bit-avx512.xml. + (srv_i386_64bit_xmlfiles): Add i386/64bit-avx512.xml. + (srv_amd64_xmlfiles): Add i386/amd64-avx512.xml and + i386/x32-avx512.xml. + (srv_i386_linux_xmlfiles): Add i386/i386-avx512-linux.xml. + (srv_amd64_linux_xmlfiles): Add i386/amd64-avx512-linux.xml and + i386/x32-avx512-linux.xml. + * i387-fp.c (num_avx512_k_registers): New constant for number + of K registers. + (num_avx512_zmmh_low_registers): New constant for number of + lower ZMM registers (0-15). + (num_avx512_zmmh_high_registers): New constant for number of + higher ZMM registers (16-31). + (num_avx512_ymmh_registers): New contant for number of higher + YMM registers (ymm16-31 added by avx521 on x86_64). + (num_avx512_xmm_registers): New constant for number of higher + XMM registers (xmm16-31 added by AVX512 on x86_64). + (struct i387_xsave): Add space for AVX512 registers. + (i387_cache_to_xsave): Change raw buffer size to 64 characters. + Add code to handle AVX512 registers. + (i387_xsave_to_cache): Add code to handle AVX512 registers. + * linux-x86-low.c (init_registers_amd64_avx512_linux): New + prototypei from generated file. + (tdesc_amd64_avx512_linux): Likewise. + (init_registers_x32_avx512_linux): Likewise. + (tdesc_x32_avx512_linux): Likewise. + (init_registers_i386_avx512_linux): Likewise. + (tdesc_i386_avx512_linux): Likewise. + (x86_64_regmap): Add AVX512 registers. + (x86_linux_read_description): Add code to handle AVX512 XSTATE + mask. + (initialize_low_arch): Add code to initialize AVX512 registers. + +2014-04-23 Pedro Alves + + * mem-break.c (find_gdb_breakpoint_at): Make static. + * mem-break.h (find_gdb_breakpoint_at): Delete declaration. + +2014-04-23 Pedro Alves + + * i386-low.c: Don't include break-common.h here. + (i386_low_insert_watchpoint, i386_low_remove_watchpoint): Change + prototype to take target_hw_bp_type as argument instead of a Z + packet char. + * i386-low.h: Include break-common.h here. + (Z_packet_to_hw_type): Declare. + (i386_low_insert_watchpoint, i386_low_remove_watchpoint): Change + prototypes. + * linux-x86-low.c (x86_insert_point): Convert the packet number to + a target_hw_bp_type before calling i386_low_insert_watchpoint. + (x86_remove_point): Convert the packet number to a + target_hw_bp_type before calling i386_low_remove_watchpoint. + * win32-i386-low.c (i386_insert_point): Convert the packet number + to a target_hw_bp_type before calling i386_low_insert_watchpoint. + (i386_remove_point): Convert the packet number to a + target_hw_bp_type before calling i386_low_remove_watchpoint. + +2014-04-23 Pedro Alves + + * utils.h (perror_with_name): Add ATTRIBUTE_NORETURN. + +2014-04-10 Pedro Alves + + * mem-break.c (add_breakpoint_condition, add_breakpoint_commands): + Check if the condition or command is NULL before checking if the + breakpoint is known. On success, return true. + * mem-break.h (add_breakpoint_condition): Document return. + (add_breakpoint_commands): Add describing comment. + * server.c (skip_to_semicolon): New function. + (process_point_options): Use it. + +2014-04-09 Pedro Alves + + * linux-low.c (linux_read_loadmap): Pass current_inferior directly + to lwpid_of. + +2014-02-27 Pedro Alves + + PR 12702 + * inferiors.h (A_I_NEXT, ALL_INFERIORS_TYPE, ALL_PROCESSES): New + macros. + * linux-low.c (delete_lwp, handle_extended_wait): Add debug + output. + (last_thread_of_process_p): Take a PID argument instead of a + thread pointer. + (linux_wait_for_lwp): Delete. + (num_lwps, check_zombie_leaders, not_stopped_callback): New + functions. + (linux_low_filter_event): New function, party factored out from + linux_wait_for_event. + (linux_wait_for_event): Rename to ... + (linux_wait_for_event_filtered): ... this. Add new filter ptid + argument. Partly rewrite. Always use waitpid(-1, WNOHANG) and + sigsuspend. Check for zombie leaders. + (linux_wait_for_event): Reimplement as wrapper around + linux_wait_for_event_filtered. + (linux_wait_1): Handle TARGET_WAITKIND_NO_RESUMED. Assume that if + a normal or signal exit is seen, it's the whole process exiting. + (wait_for_sigstop): No longer a for_each_inferior callback. + Rewrite on top of linux_wait_for_event_filtered. + (stop_all_lwps): Call wait_for_sigstop directly. + * server.c (resume, handle_target_event): Handle + TARGET_WAITKIND_NO_RESUMED. + +2014-02-26 Joel Brobecker + + * win32-low.c (psapi_get_dll_name, + * win32_CreateToolhelp32Snapshot): Delete. + (win32_CreateToolhelp32Snapshot, win32_Module32First) + (win32_Module32Next, load_toolhelp, toolhelp_get_dll_name): + Delete. + (handle_load_dll): Add function description. + Remove code using psapi_get_dll_name and toolhelp_get_dll_name. + +2014-02-26 Joel Brobecker + + * win32-low.c (win32_add_one_solib): Add 0x1000 to load_addr. + Add comment. + (win32_add_all_dlls): Remove 0x1000 offset applied to DLL + base address when calling win32_add_one_solib. + (handle_load_dll): Delete local variable load_addr. + Remove 0x1000 offset applied to DLL base address when calling + win32_add_one_solib. + (handle_unload_dll): Add comment. + +2014-02-26 Joel Brobecker + + * win32-low.c (win32_add_all_dlls): Renames + win32_ensure_ntdll_loaded. Rewrite function documentation. + Adjust implementation to always load all DLLs. + Add 0x1000 offset to DLL base address when calling + win32_add_one_solib. + (child_initialization_done): New static global. + (do_initial_child_stuff): Set child_initialization_done to + zero during child initialization, and 1 after. Replace call + to win32_ensure_ntdll_loaded by call to win32_add_all_dlls. + Add comment. + (match_dll_by_basename, dll_is_loaded_by_basename): Delete. + (handle_unload_dll): Add function documentation. + (get_child_debug_event): Ignore load and unload DLL events + during child initialization. + +2014-02-20 Doug Evans + + Remove global all_lwps. + * inferiors.h (ptid_of): Move here from linux-low.h. + (pid_of, lwpid_of): Ditto. + * linux-aarch64-low.c (debug_reg_change_callback): Update, "entry" + parameter is a struct thread_info * now. + (aarch64_notify_debug_reg_change): Fetch pid from current_inferior + directly. Pass &all_threads to find_inferior instead of &all_lwps. + (aarch64_stopped_data_address): Fetch lwpid from current_inferior + directly. + (aarch64_linux_prepare_to_resume): Fetch ptid from thread. + (aarch64_arch_setup): Fetch lwpid from current_inferior directly. + * linux-arm-low.c (update_registers_callback): Update, "entry" + parameter is a struct thread_info * now. + Fetch lwpid from current_inferior directly. + (arm_insert_point): Pass &all_threads to find_inferior instead of + &all_lwps. + (arm_remove_point): Ditto. + (arm_stopped_by_watchpoint): Fetch lwp from current_inferior. + (arm_prepare_to_resume): Fetch pid from thread. + (arm_read_description): Fetch lwpid from current_inferior directly. + * linux-low.c (all_lwps): Delete. + (delete_lwp): Delete call to remove_inferior. + (handle_extended_wait): Fetch lwpid from thread. + (add_lwp): Don't set lwp->entry.id. Remove call to + add_inferior_to_list. + (linux_attach_lwp_1): Fetch pid from current_inferior directly. + (linux_kill_one_lwp): Fetch ptid,lwpid from thread. + (kill_one_lwp_callback): Ditto. + (linux_kill): Don't dereference NULL pointer. + Fetch ptid,lwpid from thread. + (get_detach_signal): Fetch ptid from thread. + (linux_detach_one_lwp): Fetch ptid,lwpid from thread. + Simplify call to regcache_invalidate_thread. + (delete_lwp_callback): Update, "entry" parameter is a + struct thread_info * now. Fetch pid from thread. + (linux_mourn): Pass &all_threads to find_inferior instead of &all_lwps. + (status_pending_p_callback): Update, "entry" parameter is a + struct thread_info * now. Fetch ptid from thread. + (find_lwp_pid): Update, "entry" parameter is a + struct thread_info * now. + (linux_wait_for_lwp): Fetch pid from thread. + (linux_fast_tracepoint_collecting): Fetch lwpid from thread. + (maybe_move_out_of_jump_pad): Fetch lwpid from current_inferior. + (enqueue_one_deferred_signal): Fetch lwpid from thread. + (dequeue_one_deferred_signal): Ditto. + (cancel_breakpoint): Fetch ptid from current_inferior. + (linux_wait_for_event): Pass &all_threads to find_inferior, + not &all_lwps. Fetch ptid, lwpid from thread. + (count_events_callback): Update, "entry" parameter is a + struct thread_info * now. + (select_singlestep_lwp_callback): Ditto. + (select_event_lwp_callback): Ditto. + (cancel_breakpoints_callback): Ditto. + (linux_cancel_breakpoints): Pass &all_threads to find_inferior, + not &all_lwps. + (select_event_lwp): Ditto. Fetch ptid from event_thread. + (unsuspend_one_lwp): Update, "entry" parameter is a + struct thread_info * now. + (unsuspend_all_lwps): Pass &all_threads to find_inferior, + not &all_lwps. + (linux_stabilize_threads): Ditto. And for for_each_inferior. + Fetch lwpid from thread, not lwp. + (linux_wait_1): Fetch ptid, lwpid from current_inferior. + Pass &all_threads to find_inferior, not &all_lwps. + (send_sigstop): Fetch lwpid from thread, not lwp. + (send_sigstop_callback): Update, "entry" parameter is a + struct thread_info * now. + (suspend_and_send_sigstop_callback): Ditto. + (wait_for_sigstop): Ditto. Fetch ptid, lwpid from thread, lwp. + (stuck_in_jump_pad_callback): Update, "entry" parameter is a + struct thread_info * now. + (move_out_of_jump_pad_callback): Ditto. Fetch ptid, lwpid + from thread, lwp. + (lwp_running): Update, "entry" parameter is a + struct thread_info * now. + (stop_all_lwps): Fetch ptid from thread. + Pass &all_threads to find_inferior, for_each_inferior, not &all_lwps. + (linux_resume_one_lwp): Fetch lwpid from thread. + (linux_set_resume_request): Update, "entry" parameter is a + struct thread_info * now. Fetch pid, lwpid from thread. + (resume_status_pending_p): Update, "entry" parameter is a + struct thread_info * now. + (need_step_over_p): Ditto. Fetch lwpid from thread. + (start_step_over): Fetch lwpid from thread. + (linux_resume_one_thread): Update, "entry" parameter is a + struct thread_info * now. Fetch lwpid from thread. + (linux_resume): Pass &all_threads to find_inferior, not &all_lwps. + (proceed_one_lwp): Update, "entry" parameter is a + struct thread_info * now. Fetch lwpid from thread. + (unsuspend_and_proceed_one_lwp): Update, "entry" parameter is a + struct thread_info * now. + (proceed_all_lwps): Pass &all_threads to find_inferior, not &all_lwps. + (unstop_all_lwps): Ditto. Fetch lwpid from thread. + (regsets_fetch_inferior_registers): Fetch lwpid from current_inferior + directly. + (regsets_store_inferior_registers): Ditto. + (fetch_register, store_register): Ditto. + (linux_read_memory, linux_write_memory): Ditto. + (linux_request_interrupt): Ditto. + (linux_read_auxv): Ditto. + (linux_xfer_siginfo): Ditto. + (linux_qxfer_spu): Ditto. + (linux_qxfer_libraries_svr4): Ditto. + * linux-low.h (ptid_of, pid_of, lwpid_of): Delete, + moved to inferiors.h. + (get_lwp): Delete. + (get_thread_lwp): Update. + (struct lwp_info): Delete member "entry". Simplify comment for + member "thread". + (all_lwps): Delete. + * linux-mips-low.c (mips_read_description): Fetch lwpid from + current_inferior directly. + (update_watch_registers_callback): Update, "entry" parameter is a + struct thread_info * now. Fetch pid from thread. + (mips_linux_prepare_to_resume): Fetch ptid from thread. + (mips_insert_point): Fetch lwpid from current_inferior. + Pass &all_threads to find_inferior, not &all_lwps. + (mips_remove_point): Pass &all_threads to find_inferior, not &all_lwps. + (mips_stopped_by_watchpoint): Fetch lwpid from current_inferior + directly. + (mips_stopped_data_address): Ditto. + * linux-s390-low.c (s390_arch_setup): Fetch pid from current_inferior + directly. + * linux-tile-low.c (tile_arch_setup): Ditto. + * linux-x86-low.c (x86_get_thread_area): Fetch lwpid from thread. + (update_debug_registers_callback): Update, "entry" parameter is a + struct thread_info * now. Fetch pid from thread. + (i386_dr_low_set_addr): Fetch pid from current_inferior directly. + Pass &all_threads to find_inferior, not &all_lwps. + (i386_dr_low_get_addr): Fetch ptid from current_inferior directly. + (i386_dr_low_set_control): Fetch pid from current_inferior directly. + Pass &all_threads to find_inferior, not &all_lwps. + (i386_dr_low_get_control): Fetch ptid from current_inferior directly. + (i386_dr_low_get_status): Ditto. + (x86_linux_prepare_to_resume): Fetch ptid from thread. + (x86_siginfo_fixup): Fetch lwpid from current_inferior directly. + (x86_linux_read_description): Ditto. + * proc-service.c (ps_getpid): Fetch pid from current_inferior directly. + +2014-02-20 Doug Evans + + * inferiors.c (get_first_inferior): Fix buglet. + +2014-02-19 Doug Evans + + * gdbthread.h (add_thread): Change result type to struct thread_info *. + * inferiors.c (add_thread): Change result type to struct thread_info *. + All callers updated. + (add_lwp): Call add_thread here instead of in callers. + All callers updated. + * linux-low.h (get_lwp_thread): Rewrite. + (struct lwp_info): New member "thread". + +2014-02-19 Doug Evans + + * linux-low.c (add_lwp): Change result to struct lwp_info *. + All callers updated. + +2014-02-19 Doug Evans + + * inferiors.c (add_thread): Fix whitespace. + +2014-02-19 Doug Evans + + * dll.c (clear_dlls): Replace accessing list implemention details + with API function. + * gdbthread.h (get_first_thread): Declare. + * inferiors.c (for_each_inferior_with_data): New function. + (get_first_thread): New function. + (find_thread_ptid): Simplify. + (get_first_inferior): New function. + (clear_list): Delete. + (one_inferior_p): New function. + (clear_inferior_list): New function. + (clear_inferiors): Update. + * inferiors.h (for_each_inferior_with_data): Declare. + (clear_inferior_list): Declare. + (one_inferior_p): Declare. + (get_first_inferior): Declare. + * linux-low.c (linux_wait_for_event): Replace accessing list + implemention details with API function. + * server.c (target_running): Ditto. + (accumulate_file_name_length): New function. + (emit_dll_description): New function. + (handle_qxfer_libraries): Replace accessing list implemention + details with API function. + (handle_qxfer_threads_worker): New function. + (handle_qxfer_threads_proper): Replace accessing list implemention + details with API function. + (handle_query): Ditto. + (visit_actioned_threads_callback_ftype): New typedef. + (visit_actioned_threads_data): New struct. + (visit_actioned_threads): Rewrite to be find_inferior callback. + (resume): Call find_inferior. + (handle_status): Replace accessing list implemention + details with API function. + (process_serial_event): Replace accessing list implemention details + with API function. + * target.c (set_desired_inferior): Replace accessing list implemention + details with API function. + * tracepoint.c (same_process_p): New function. + (gdb_agent_about_to_close): Replace accessing list implemention + details with API function. + * win32-low.c (child_delete_thread): Replace accessing list + implemention details with API function. + (match_dll_by_basename): New function. + (dll_is_loaded_by_basename): New function. + (win32_ensure_ntdll_loaded): Replace accessing list implemention + details call to dll_is_loaded_by_basename. + +2014-02-19 Doug Evans + + * dll.h (struct dll_info): Add comment. + * gdbthread.h (struct thread_info): Add comment. + (current_ptid): Simplify. + * inferiors.c (add_process): Update. + (remove_process): Update. + * inferiors.h (struct process_info): Rename member "head" to "entry". + * linux-low.c (delete_lwp): Update. + (add_lwp): Update. + (last_thread_of_process_p): Update. + (kill_one_lwp_callback, linux_kill): Update. + (status_pending_p_callback): Update. + (wait_for_sigstop): Update. Simplify read of ptid. + (start_step_over): Update. + * linux-low.h (ptid_of, pid_of, lwpid_of): Update. + (get_lwp_thread): Update. + (struct lwp_info): Rename member "head" to "entry". + * regcache.h (inferior_list_entry): Delete. + * server.c (kill_inferior_callback): Update. + (detach_or_kill_inferior_callback): Update. + (print_started_pid): Update. + (print_attached_pid): Update. + (process_serial_event): Simplify read of ptid. + * thread-db.c (thread_db_create_event): Update. + (thread_db_get_tls_address): Update. + * win32-low.c (current_inferior_ptid): Simplify. + +2014-02-19 Tom Tromey + + * target.h (struct target_ops) : Add target_ops + argument. + (target_supports_btrace): Update. + +2014-02-14 Yao Qi + + * Makefile.in (IPA_OBJS): Append rsp-low-ipa.o. + (rsp-low-ipa.o): New target. + +2014-02-12 Tom Tromey + + * ax.c (gdb_parse_agent_expr): Use hex2bin, not + convert_ascii_to_int. + * regcache.c (registers_to_string): Likewise. + * remote-utils.c (decode_M_packet): Likewise. + * server.c (process_serial_event): Likewise. + +2014-02-12 Tom Tromey + + * server.c (handle_query, handle_v_run): Use hex2bin, not + unhexify. + * tracepoint.c (cmd_qtdpsrc, cmd_qtdv, cmd_qtnotes): Likewise. + +2014-02-12 Tom Tromey + + * ax.c (gdb_unparse_agent_expr): Use bin2hex, not + convert_int_to_ascii. + * regcache.c (registers_to_string, collect_register_as_string): + Likewise. + * remote-utils.c (look_up_one_symbol, relocate_instruction): + Likewise. + * server.c (process_serial_event): Likewise. + * tracepoint.c (cmd_qtstatus, response_source, response_tsv) + (cmd_qtbuffer, cstr_to_hexstr): Likewise. + +2014-02-12 Tom Tromey + + * remote-utils.c (look_up_one_symbol, monitor_output): Use + bin2hex, not hexify. + * tracepoint.c (cmd_qtstatus): Likewise. + +2014-02-12 Tom Tromey + + * remote-utils.c (monitor_output): Pass explicit length to + hexify. + +2014-02-12 Tom Tromey + + * tracepoint.c: Include rsp-low.h. + * server.c: Include rsp-low.h. + * remote-utils.h (convert_ascii_to_int, convert_int_to_ascii) + (unhexify, hexify, remote_escape_output, unpack_varlen_hex): Don't + declare. + * remote-utils.c: Include rsp-low.h. + (fromhex, hexchars, ishex, unhexify, tohex, hexify) + (remote_escape_output, remote_unescape_input, unpack_varlen_hex) + (convert_int_to_ascii, convert_ascii_to_int): Move to + common/rsp-low.c. + * regcache.c: Include rsp-low.h. + * ax.c: Include rsp-low.h. + * Makefile.in (SFILES): Add common/rsp-low.c. + (OBS): Add rsp-low.o. + (rsp-low.o): New target. + +2014-02-12 Tom Tromey + + * utils.h (pulongest, plongest, phex_nz): Don't declare. + Include print-utils.h. + * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest) + (plongest, thirty_two, phex_nz): Remove. + * Makefile.in (SFILES): Add common/print-utils.c. + (OBS): Add print-utils.o. + (print-utils-ipa.o): New target. + (print-utils.o): New target. + (IPA_OBJS): Add print-utils-ipa.o. + +2014-02-06 Tom Tromey + + * Makefile.in (SFILES): Fix indentation. + +2014-02-05 Doug Evans + + * linux-low.c (linux_wait_for_event): Improve comment. + (linux_wait_1): Keep current_inferior in sync with event_child. + +2014-01-22 Doug Evans + + * gdbthread.h (gdb_id_to_thread): Delete, unused. + +2014-01-22 Doug Evans + + * configure.ac (AC_CHECK_FUNCS): Add test for gettimeofday. + * configure: Regenerate. + * config.in: Regenerate. + * Makefile.in (SFILES): Add debug.c. + (OBS): Add debug.o. + * debug.c: New file. + * debug.h: New file. + * linux-aarch64-low.c (*): Update all debugging printfs to use + debug_printf instead of fprintf. + * linux-arm-low.c (*): Ditto. + * linux-cris-low.c (*): Ditto. + * linux-crisv32-low.c (*): Ditto. + * linux-m32r-low.c (*): Ditto. + * linux-sparc-low.c (*): Ditto. + * linux-x86.c (*): Ditto. + * linux-low.c (*): Ditto. + (linux_wait_1): Add calls to debug_enter, debug_exit. + (linux_wait): Remove redundant debugging printf. + (stop_all_lwps): Add calls to debug_enter, debug_exit. + (linux_resume, unstop_all_lwps): Ditto. + * mem-break.c (*): Update all debugging printfs to use + debug_printf instead of fprintf. + * remote-utils.c (*): Ditto. + * thread-db.c (*): Ditto. + * server.c #include , "gdb_vecs.h". + (debug_threads): Moved to debug.c. + (*): Update all debugging printfs to use debug_printf instead of + fprintf. + (start_inferior): Replace call to fflush with call to debug_flush. + (monitor_show_help): Mention set debug-format. + (parse_debug_format_options): New function. + (handle_monitor_command): Handle "monitor set debug-format". + (gdbserver_usage): Mention --debug-format. + (main): Parse --debug-format. + * server.h (debug_threads): Declaration moved to debug.h. + #include "debug.h". + * tracepoint.c (trace_debug_1) [!IN_PROCESS_AGENT]: Add version of + trace_debug_1 that uses debug_printf. + (tracepoint_look_up_symbols): Update all debugging printfs to use + debug_printf instead of fprintf. + +2014-01-20 Baruch Siach + + * linux-xtensa-low.c: Include asm/ptrace.h instead of + sys/ptrace.h. + +2014-01-17 Pedro Alves + + PR build/16445 + * linux-x86-low.c: Don't include elf/common.h if ELFMAG0 is + defined after including gdb_proc_service.h. + +2014-01-16 Doug Evans + + * dll.c (UNSPECIFIED_CORE_ADDR): New macro. + (match_dll): Use it. + +2014-01-16 Markus Metzger + + * target.h (target_ops) : Change parameters and + return type to allow error reporting. + * server.c (handle_qxfer_btrace): Support delta reads. Pass + trace reading errors on. + * linux-low.c (linux_low_read_btrace): Pass trace reading + errors on. + (linux_low_disable_btrace): New. + +2014-01-15 Doug Evans + + * inferiors.c (thread_id_to_gdb_id): Delete. + * inferiors.h (thread_id_to_gdb_id): Delete. + +2014-01-13 Eli Zaretskii + + * Makefile.in (INCLUDE_CFLAGS): Remove trailing slash from + "-I$(srcdir)/../". Fixes MinGW compilation errors with old GCC + versions. + +2014-01-08 Pedro Alves + + * server.c (handle_status): Don't discard previous queued stop + replies or thread's pending status here. + (main) : Do it here instead. + +2014-01-08 Pedro Alves + + * gdbthread.h (struct thread_info) : New field. + * server.c (visit_actioned_threads, handle_pending_status): New + function. + (handle_v_cont): Factor out parts to ... + (resume): ... this new function. If in all-stop, and a thread + being resumed has a pending status, report it without actually + resuming. + (myresume): Adjust to use the new 'resume' function. + (clear_pending_status_callback, set_pending_status_callback) + (find_status_pending_thread_callback): New functions. + (handle_status): Handle the case of multiple threads having + interesting statuses to report. Report threads' real last signal + instead of always reporting GDB_SIGNAL_TRAP. Look for a thread + with an interesting thread to report the status for, instead of + always reporting the status of the first thread. + +2014-01-01 Joel Brobecker + + * gdbserver.c (gdbserver_version): Set copyright year to 2014. + * gdbreplay.c (gdbreplay_version): Likewise. + +2013-12-18 Yufeng Zhang + + * linux-aarch64-low.c (aarch64_linux_set_debug_regs): Set + iov.iov_len with the real length in use. + +2013-12-13 Joel Brobecker + + * Makefile.in (safe-ctype.o, lbasename.o): New rules. + * configure.srv: Add safe-ctype.o and lbasename.o to srv_tgtobj + for all targets that use win32-low.c. + * win32-low.c (win32_ensure_ntdll_loaded): New function. + (do_initial_child_stuff): Add call to win32_ensure_ntdll_loaded. + +2013-12-13 Pedro Alves + + * target.c (mywait): Set OURSTATUS->KIND to TARGET_WAITKIND_STOPPED + if equal to TARGET_WAITKIND_LOADED. + * win32-low.c (cached_status): New static global. + (win32_wait): Add declaration. + (do_initial_child_stuff): Flush all initial pending debug events + up to the initial breakpoint. + (win32_wait): If CACHED_STATUS was set, return that instead + of doing a real wait. Remove the code resuming the execution + of the inferior after receiving a TARGET_WAITKIND_LOADED event + during the initial phase. Also remove the code changing + OURSTATUS->KIND from TARGET_WAITKIND_LOADED to + TARGET_WAITKIND_STOPPED. + +2013-12-11 Yao Qi + + * notif.c (handle_notif_ack): Return 0 if no notification + matches. + +2013-11-20 Doug Evans + + * linux-low.c (linux_set_resume_request): Fix comment. + +2013-11-20 Doug Evans + + * linux-low.c (resume_status_pending_p): Tweak comment. + +2013-11-20 Walfred Tedeschi + + * Makefile.in: Add i386-mpx.c, i386-mpx-linux.c, amd64-mpx.c, + amd64-mpx-linux.c, x32-mpx.c and x32-mpx-linux.c generation. + * configure.srv (srv_i386_regobj): Add i386-mpx.o. + (srv_i386_linux_regobj): Add i386-mpx-linux.o. + (srv_amd64_regobj): Add amd64-mpx.o. + (srv_amd64_linux_regobj): Add amd64-mpx-linux.o. + (srv_i386_32bit_xmlfiles): Add i386/32bit-mpx.xml. + (srv_i386_64bit_xmlfiles): Add i386/64bit-mpx.xml. + * i387-fp.c (num_pl_bnd_register) Added constant. + (num_pl_bnd_cfg_registers) Added constant. + (struct i387_xsave) Added reserved area and MPX fields. + (i387_cache_to_xsave, i387_xsave_to_cache) Add MPX. + * linux-x86-low.c (init_registers_i386_mpx_linux): Declare new + function. + (tdesc_i386_mpx_linux): Add MPX amd64 target. + (init_registers_amd64_mpx_linux): Declare new function. + (tdesc_amd64_mpx_linux): Add MPX amd64 target. + (x86_64_regmap): Add MPX registers. + (x86_linux_read_description): Add MPX case. + (initialize_low_arch): Initialize MPX targets. + +2013-11-18 Tom Tromey + + * configure: Rebuild. + * configure.ac: Don't check for stdlib.h. + * gdbreplay.c: Unconditionally include stdlib.h. + +2013-11-18 Tom Tromey + + * config.in: Rebuild. + * configure: Rebuild. + * configure.ac: Don't use AC_HEADER_DIRENT. + +2013-11-18 Tom Tromey + + * server.h: Don't check HAVE_STRING_H. + * gdbreplay.c: Don't check HAVE_STRING_H. + * configure: Rebuild. + +2013-11-18 Tom Tromey + + * Makefile.in (gdbreplay$(EXEEXT)): Depend on and link against + LIBGNU. + +2013-11-08 Tom Tromey + + * configure, config.in: Rebuild. + * configure.ac: Remove unused configury. + +2013-11-08 Tom Tromey + + * acinclude.m4: Include common.m4, codeset.m4. + * configure, config.in: Rebuild. + * configure.ac: Use GDB_AC_COMMON. + +2013-11-06 Andreas Arnez + + * linux-s390-low.c (HWCAP_S390_TE): New define. + (s390_arch_setup): Consider the TE field in the HWCAP for + determining 'have_regset_tdb'. + +2013-10-16 Sergio Durigan Junior + + PR gdb/16014 + * tracepoint.c (download_tracepoint_1): Remove unnecessary double + call to sizeof. + +2013-10-02 Pedro Alves + + * server.c (process_serial_event): Don't output "GDBserver + exiting" if GDB is connected through stdio. + * target.c (mywait): Likewise, be silent if GDB is connected + through stdio. + +2013-10-01 Joel Brobecker + + * lynx-low.c (lynx_add_threads_after_attach): New function. + (lynx_attach): Remove call to add_thread. Add call to + lynx_add_threads_after_attach instead. + +2013-09-28 Mike Frysinger + + * configure.ac (AC_CHECK_HEADERS): Add sys/syscall.h + * config.in, configure: Regenerated. + +2013-09-18 Yao Qi + + PR server/15959 + * server.c (start_inferior): Clear 'resume_info'. + +2013-09-16 Jiong Wang + + * linux-tile-low.c (tile_regsets): Modify the size field to 64-bit + for each register. + +2013-09-16 Jiong Wang + + * configure.srv : Remove linux-osdata.o from and add + linux-tile-low.o to srv_tgtobj. + +2013-09-16 Will Newton + + * linux-aarch64-low.c (aarch64_linux_set_debug_regs): Zero + out regs. + +2013-09-06 Pedro Alves + + * Makefile.in (gdb_proc_service_h, regdef_h, regcache_h) + (signals_def, signals_h, ptid_h, ax_h, agent_h, linux_btrace_h) + (linux_osdata_h, vec_h, gdb_vecs_h, host_defs_h, libiberty_h) + (server_h, gdbthread_h, linux_low_h, linux_ptrace_h) + (gdb_thread_db_h, linux_procfs_h, lynx_low_h, nto_low_h) + (mips_linux_watch_h, i386_low_h, win32_low_h): Delete. + +2013-09-06 Pedro Alves + + * Makefile.in (linux-btrace.o, mips-linux-watch.o): Remove + explicit header dependencies and use $COMPILE/$POSTCOMPILE. + +2013-09-06 Pedro Alves + + * linux-amd64-ipa.c: Include tracepoint.h. + * linux-i386-ipa.c: Include tracepoint.h. + +2013-09-06 Ricard Wanderlof + + * linux-crisv32-low.c (PTRACE_GET_THREAD_AREA): New macro. + (ps_get_thread_area): New function. + +2013-09-06 Ricard Wanderlof + + * linux-crisv32-low.c (elf_gregset_t): Delete typedef. + (initialize_low_arch): Call init_registers_crisv32 rather than + init_register_crisv32. + +2013-09-05 Pedro Alves + + * server.h (handle_vFile, hostio_last_error_from_errno): Move + to ... + * hostio.h: ... this new file. + * hostio.c, server.c, linux-low.c, nto-low.c, spu-low, + win32-low.c: Include hostio.h. + +2013-09-05 Pedro Alves + + * server.h (gdb_client_data, handler_func, callback_handler_func) + (delete_file_handler, add_file_handler, append_callback_event) + (delete_callback_event, start_event_loop, initialize_event_loop): + Move to event-loop.h and include it. + * event-loop.h: New file. + +2013-09-05 Pedro Alves + + * dll.c, inferiors.c, remote-utils.c, server.c: Include "dll.h". + * server.h (struct dll_info, all_dlls, dlls_changed, clear_dlls) + (loaded_dll, unloaded_dll): Move to ... + * dll.h: ... this new file. + * inferiors.c, remote-utils.c, win32-low.c: Include "dll.h". + +2013-09-05 Pedro Alves + + * server.h (current_process, get_thread_process, all_processes) + (add_inferior_to_list, for_each_inferior, current_inferior) + (remove_inferior, add_process, remove_process, find_process_pid) + (have_started_inferiors_p, have_attached_inferiors_p) + (thread_id_to_gdb_id, thread_to_gdb_id, gdb_id_to_thread_id) + (clear_inferiors, find_inferior, find_inferior_id) + (inferior_target_data, set_inferior_target_data) + (inferior_regcache_data, set_inferior_regcache_data): Move to + inferiors.h, and include it. + * inferiors.h: New file. + +2013-09-05 Pedro Alves + + * server.h (struct emit_ops, current_insn_ptr, emit_error): + Move ... + * ax.h: ... here. + +2013-09-05 Pedro Alves + + * ax.c, linux-low.c, linux-x86-low.c, server.c: Include + tracepoint.h. + * server.h (IPA_BUFSIZ, initialize_tracepoint, tracing) + (disconnected_tracing, tracepoint_look_up_symbols, stop_tracing + (handle_tracepoint_general_set, handle_tracepoint_query) + (tracepoint_finished_step, tracepoint_was_hit) + (release_while_stepping_state_list, current_traceframe) + (in_readonly_region, traceframe_read_mem) + (fetch_traceframe_registers, traceframe_read_sdata) + (traceframe_read_info, struct fast_tpoint_collect_status) + (fast_tracepoint_collecting, force_unlock_trace_buffer) + (handle_tracepoit_bkpts, initialize_low_tracepoint) + (supply_fast_tracepoint_registers) + (supply_static_tracepoint_registers, set_trampoline_buffer_space) + (ipa_tdesc, claim_trampoline_space) + (have_fast_tracepoint_trampoline_buffer, gdb_agent_about_to_close) + (agent_mem_read, agent_get_trace_state_variable_value) + (agent_set_trace_state_variable_value, agent_tsv_read) + (agent_mem_read_string, get_raw_reg_func_addr) + (get_get_tsv_func_addr, get_set_tsv_func_addr): Move to ... + * tracepoint.h: ... this new file. + +2013-09-05 Pedro Alves + + * server.h (perror_with_name, error, fatal, warning, paddress) + (pulongest, plongest, phex_nz, pfildes): Move to utils.h, and + include it. + * utils.h: New file. + +2013-09-05 Pedro Alves + + * server.h (remote_debug, noack_mode, transport_is_reliable) + (gdb_connected, STDIO_CONNECTION_NAME, remote_connection_is_stdio) + (read_ptid, write_ptid, putpkt, putpkt_binary, putpkt_notif) + (getpkt, remote_prepare, remote_open, remote_close, write_ok) + (write_enn, initialize_async_io, enable_async_io) + (disable_async_io, check_remote_input_interrupt_request) + (convert_ascii_to_int, convert_int_to_ascii, new_thread_notify) + (dead_thread_notify, prepare_resume_reply) + (decode_address_to_semicolon, decode_address, decode_m_packet) + (decode_M_packet, decode_X_packet, decode_xfer_write) + (decode_search_memory_packet, unhexify, hexify) + (remote_escape_output, unpack_varlen_hex, clear_symbol_cache) + (look_up_one_symbol, relocate_instruction) + (monitor_output): Move to remote-utils.h, and include it. + * remote-utils.h: New file. + +2013-09-05 Pedro Alves + + * server.h (_): Delete. + +2013-09-02 Pedro Alves + + * tracepoint.c (TRACEFRAME_EOB_MARKER_SIZE): New macro. + (init_trace_buffer): Ensure at least TRACEFRAME_EOB_MARKER_SIZE is + allocated. + (trace_buffer_alloc): Use TRACEFRAME_EOB_MARKER_SIZE. + +2013-09-02 Pierre Muller + + * win32-low.c (child_xfer_memory): Check if ReadProcessMemory + or WriteProcessMemory complete successfully and handle + ERROR_PARTIAL_COPY error. + +2013-09-02 Pedro Alves + + * server.c (gdb_read_memory): Return -1 on traceframe memory read + error instead of EIO. + +2013-08-28 Jan Kratochvil + + PR server/15604 + * linux-low.c: Include filestuff.h. + (linux_create_inferior) : Call close_most_fds. + * lynx-low.c: Include filestuff.h. + (lynx_create_inferior) : Call close_most_fds. + * server.c: Include filestuff.h. + (main): Call notice_open_fds. + * spu-low.c: Include filestuff.h. + (spu_create_inferior) : Call close_most_fds. + +2013-08-22 Luis Machado + + * Makefile.in: Explain why ../target and ../nat are not + listed as include file search paths. + (linux-waitpid.o): New object file rule. + * configure.srv (srv_native_linux_obj): New variable. + Replace all occurrences of linux native object files with + $srv_native_linux_obj. + * linux-low.c: Include nat/linux-nat.h and nat/linux-waitpid.h. + (HAS_NOMMU): Move defining logic to common/linux-ptrace.c. + (linux_enable_event_reporting): Remove declaration. + (my_waitpid): Moved to common/linux-waitpid.c. + (linux_wait_for_event): Pass ptid when calling + linux_enable_event_reporting. + (linux_supports_tracefork_flag): Remove. + (linux_enable_event_reporting): Likewise. + (linux_tracefork_grandchild): Remove. + (STACK_SIZE): Moved to common/linux-ptrace.c. + (linux_tracefork_child): Remove. + (linux_test_for_tracefork): Remove. + (linux_look_up_symbols): Call linux_supports_traceclone. + (initialize_low): Remove call to linux_test_for_tracefork. + * linux-low.h (PTRACE_TYPE_ARG3): Move to + common/linux-ptrace.h. + (PTRACE_TYPE_ARG4): Likewise. + Include linux-ptrace.h. + +2013-08-21 Pedro Alves + + * config.in: Renegerate. + +2013-08-19 Luis Machado + + * Makefile.in (INCLUDE_CFLAGS): Include -I$(srcdir)/../. + (SFILES): Remove $(srcdir)/common/target-common.c and + add $(srcdir)/target/waitstatus.c. + (OBS): Remove target-common.o and add waitstatus.o. + (server_h): Remove $(srcdir)/../common/target-common.h and + add $(srcdir)/../target/resume.h, $(srcdir)/../target/wait.h + and $(srcdir)/../target/waitstatus.h. + (target-common.o): Remove. + (waitstatus.o): New target object file. + * target.h: Do not include target-common.h and + include target/resume.h, target/wait.h and + target/waitstatus.h. + +2013-08-13 Luis Machado + + * linux-arm-low.c: Rename all occurrences of PTRACE_ARG3_TYPE + to PTRACE_TYPE_ARG3. + * linux-low.c: Rename all occurrences of PTRACE_ARG3_TYPE + to PTRACE_TYPE_ARG3 and PTRACE_ARG4_TYPE to + PTRACE_TYPE_ARG4. + * linux-low.h (PTRACE_ARG3_TYPE): Rename to PTRACE_TYPE_ARG3. + (PTRACE_ARG4_TYPE): Rename to PTRACE_TYPE_ARG4. + +2013-07-27 Jie Zhang + Daniel Jacobowitz + Yao Qi + + * Makefile.in (SFILES): Add common/mips-linux-watch.c. + (mips-linux-watch.o): New rule. + (mips_linux_watch_h): New variable. + * configure.srv : Add mips-linux-watch.o to + srv_tgtobj. + * linux-mips-low.c: Include mips-linux-watch.h. + (struct arch_process_info, struct arch_lwp_info): New. + (update_watch_registers_callback): New function. + (mips_linux_new_process, mips_linux_new_thread) New functions. + (mips_linux_prepare_to_resume, mips_insert_point): New + functions. + (mips_remove_point, mips_stopped_by_watchpoint): New + functions. + (rsp_bp_type_to_target_hw_bp_type): New function. + (mips_stopped_data_address): New function. + (the_low_target): Add watchpoint support functions. + +2013-07-27 Yao Qi + + * i386-low.c: Include break-common.h. + (enum target_hw_bp_type): Remove. + +2013-07-24 Luis Machado + + * Makefile.in (SFILES): /common/target-common.c. + (OBS): Add target-common.o. + (server_h): Add $(srcdir)/../common/target-common.h. + (target-common.o): New target. + * server.c (queue_stop_reply_callback): Free + status string after use. + * target.c (target_waitstatus_to_string): Remove. + * target.h: Include target-common.h. + (resume_kind): Likewise. + (target_waitkind): Likewise. + (target_waitstatus): Likewise. + (TARGET_WNOHANG): Likewise. + +2013-07-04 Yao Qi + + * Makefile.in (host_alias): Use @host_noncanonical@. + (target_alias): Use @target_noncanonical@. + * configure.ac: Use ACX_NONCANONICAL_TARGET and + ACX_NONCANONICAL_HOST. + * configure: Regenerated. + + Revert: + 2013-06-28 Mircea Gherzan + + * configure.ac (version_host, version_target): Set and AC_SUBST them. + * configure: Rebuild. + * Makefile.in (version_host, version_target): Get from configure. + (version.c): Use $(version_host) and $(version_target). + +2013-07-03 Pedro Alves + + * Makefile.in (config.status): Depend on development.sh. + * acinclude.m4: Include libmcheck.m4. + * configure: Regenerate. + +2013-07-02 Mircea Gherzan + + * win32-low.c (winapi_DebugActiveProcessStop): Move the WINAPI + attribute inside the parentheses. + (winapi_DebugSetProcessKillOnExit): Ditto. + (winapi_DebugBreakProcess): Ditto. + (winapi_GenerateConsoleCtrlEvent): Ditto. + +2013-07-02 Mircea Gherzan + + * notif.h (notif_event): Add a dummy member to avoid compiler + errors. + +2013-07-01 Pedro Alves + + * hostio.c (HOSTIO_PATH_MAX): Define. + (require_filename, handle_open, handle_unlink, handle_readlink): + Use it. + +2013-07-01 Pedro Alves + + * server.h: Include "pathmax.h". + * linux-low.c: Don't include sys/param.h. + (linux_pid_exe_is_elf_64_file): Use PATH_MAX instead of + MAXPATHLEN. + * win32-low.c: Don't include sys/param.h. + (win32_create_inferior): Use PATH_MAX instead of MAXPATHLEN. + +2013-07-01 Pedro Alves + + * event-loop.c: Don't check HAVE_UNISTD_H before including + . + * gdbreplay.c: Likewise. + * remote-utils.c: Likewise. + * server.c: Likewise. + * configure.ac: Don't check for unistd.h. + * configure: Regenerate. + +2013-06-28 Tom Tromey + + * Makefile.in (version.c): Use version.in, not + common/version.in. + +2013-06-28 Mircea Gherzan + + * configure.ac (version_host, version_target): Set and AC_SUBST them. + * configure: Rebuild. + * Makefile.in (version_host, version_target): Get from configure. + (version.c): Use $(version_host) and $(version_target). + +2013-06-10 Dmitry Kozlov + + Fix trace-status to output user name without trailing colon. + * tracepoint.c (cmd_qtstatus): Remove unnecessary colon from user name. + +2013-06-10 Dmitry Kozlov + + Fix trace-status to output proper start-time and stop-time. + * tracepoint.c (cmd_qtstatus): Modify trace-status output to + output start time and stop time in hex as gdb expects. + +2013-06-26 Pedro Alves + + * tracepoint.c (build_traceframe_info_xml): Output trace state + variables present in the trace buffer. + +2013-06-24 Tom Tromey + + * Makefile.in (version.c): Use bfd/version.h, common/version.in, + create-version.sh. + (version.o): Remove. + * gdbreplay.c: Include version.h. + (version, host_name): Don't declare. + * server.h: Include version.h. + (version, host_name): Don't declare. + +2013-06-12 Pedro Alves + + * linux-x86-low.c (linux_is_elf64): Delete global. + (x86_siginfo_fixup): Replace reference to `linux_is_elf64' global + with local linux_pid_exe_is_elf_64_file use. + +2013-06-11 Pedro Alves + + * linux-low.c (regset_disabled, disable_regset): New functions. + (regsets_fetch_inferior_registers) + (regsets_store_inferior_registers): Use them. + (initialize_regsets_info); Don't allocate the disabled_regsets + array here. + * linux-low.h (struct regsets_info) : Extend + comment. + +2013-06-11 Pedro Alves + + * linux-low.c (initialize_regsets_info): Use xcalloc instead of + xmalloc. + +2013-06-11 Pedro Alves + + * linux-x86-low.c (initialize_low_arch): Call + init_registers_x32_avx_linux. + +2013-06-09 Jan Kratochvil + + Fix compatibility with Android Bionic. + * linux-low.c (linux_qxfer_libraries_svr4): Ignore first entry even if + it is not empty. + +2013-06-07 Pedro Alves + + PR server/14823 + * Makefile.in (OBS): Add tdesc.o. + (IPA_OBJS): Add tdesc-ipa.o. + (tdesc-ipa.o): New rule. + * ax.c (gdb_eval_agent_expr): Adjust register_size call to new + interface. + * linux-low.c (new_inferior): Delete. + (disabled_regsets, num_regsets): Delete. + (linux_add_process): Adjust to set the new per-process + new_inferior flag. + (linux_detach_one_lwp): Adjust to call regcache_invalidate_thread. + (linux_wait_for_lwp): Adjust. Only call arch_setup if the event + was a stop. When calling arch_setup, switch the current inferior + to the thread that got an event. + (linux_resume_one_lwp): Adjust to call regcache_invalidate_thread. + (regsets_fetch_inferior_registers) + (regsets_store_inferior_registers): New regsets_info parameter. + Adjust to use it. + (linux_register_in_regsets): New regs_info parameter. Adjust to + use it. + (register_addr, fetch_register, store_register): New usrregs_info + parameter. Adjust to use it. + (usr_fetch_inferior_registers, usr_store_inferior_registers): New + parameter regs_info. Adjust to use it. + (linux_fetch_registers): Get the current inferior's regs_info, and + adjust to use it. + (linux_store_registers): Ditto. + [HAVE_LINUX_REGSETS] (initialize_regsets_info): New. + (initialize_low): Don't initialize the target_regsets here. Call + initialize_low_arch. + * linux-low.h (target_regsets): Delete declaration. + (struct regsets_info): New. + (struct usrregs_info): New. + (struct regs_info): New. + (struct process_info_private) : New field. + (struct linux_target_ops): Delete the num_regs, regmap, and + regset_bitmap fields. New field regs_info. + [HAVE_LINUX_REGSETS] (initialize_regsets_info): Declare. + * i387-fp.c (num_xmm_registers): Delete. + (i387_cache_to_fsave, i387_fsave_to_cache): Adjust find_regno + calls to new interface. + (i387_cache_to_fxsave, i387_cache_to_xsave, i387_fxsave_to_cache) + (i387_xsave_to_cache): Adjust find_regno calls to new interface. + Infer the number of xmm registers from the regcache's target + description. + * i387-fp.h (num_xmm_registers): Delete. + * inferiors.c (add_thread): Don't install the thread's regcache + here. + * proc-service.c (gregset_info): Fetch the current inferior's + regs_info. Adjust to use it. + * regcache.c: Include tdesc.h. + (register_bytes, reg_defs, num_registers) + (gdbserver_expedite_regs): Delete. + (get_thread_regcache): If the thread doesn't have a regcache yet, + create one, instead of aborting gdbserver. + (regcache_invalidate_one): Rename to ... + (regcache_invalidate_thread): ... this. + (regcache_invalidate_one): New. + (regcache_invalidate): Only invalidate registers of the current + process. + (init_register_cache): Add target_desc parameter, and use it. + (new_register_cache): Ditto. Assert the target description has a + non zero registers_size. + (regcache_cpy): Add assertions. Adjust. + (realloc_register_cache, set_register_cache): Delete. + (registers_to_string, registers_from_string): Adjust. + (find_register_by_name, find_regno, find_register_by_number) + (register_cache_size): Add target_desc parameter, and use it. + (free_register_cache_thread, free_register_cache_thread_one) + (regcache_release, register_cache_size): New. + (register_size): Add target_desc parameter, and use it. + (register_data, supply_register, supply_register_zeroed) + (supply_regblock, supply_register_by_name, collect_register) + (collect_register_as_string, collect_register_by_name): Adjust. + * regcache.h (struct target_desc): Forward declare. + (struct regcache) : New field. + (init_register_cache, new_register_cache): Add target_desc + parameter. + (regcache_invalidate_thread): Declare. + (regcache_invalidate_one): Delete declaration. + (regcache_release): Declare. + (find_register_by_number, register_cache_size, register_size) + (find_regno): Add target_desc parameter. + (gdbserver_expedite_regs, gdbserver_xmltarget): Delete + declarations. + * remote-utils.c: Include tdesc.h. + (outreg, prepare_resume_reply): Adjust. + * server.c: Include tdesc.h. + (gdbserver_xmltarget): Delete declaration. + (get_features_xml, process_serial_event): Adjust. + * server.h [IN_PROCESS_AGENT] (struct target_desc): Forward + declare. + (struct process_info) : New field. + (ipa_tdesc): Declare. + * tdesc.c: New file. + * tdesc.h: New file. + * tracepoint.c: Include tdesc.h. + [IN_PROCESS_AGENT] (ipa_tdesc): Define. + (get_context_regcache): Adjust to pass ipa_tdesc down. + (do_action_at_tracepoint): Adjust to get the register cache size + from the context regcache's description. + (traceframe_walk_blocks): Adjust to get the register cache size + from the current trace frame's description. + (traceframe_get_pc): Adjust to get current trace frame's + description and pass it down. + (gdb_collect): Adjust to get the register cache size from the + IPA's description. + * linux-amd64-ipa.c (tdesc_amd64_linux): Declare. + (gdbserver_xmltarget): Delete. + (initialize_low_tracepoint): Set the ipa's target description. + * linux-i386-ipa.c (tdesc_i386_linux): Declare. + (initialize_low_tracepoint): Set the ipa's target description. + * linux-x86-low.c: Include tdesc.h. + [__x86_64__] (is_64bit_tdesc): New. + (ps_get_thread_area, x86_get_thread_area): Use it. + (i386_cannot_store_register): Rename to ... + (x86_cannot_store_register): ... this. Use is_64bit_tdesc. + (i386_cannot_fetch_register): Rename to ... + (x86_cannot_fetch_register): ... this. Use is_64bit_tdesc. + (x86_fill_gregset, x86_store_gregset): Adjust register_size calls + to new interface. + (target_regsets): Rename to ... + (x86_regsets): ... this. + (x86_get_pc, x86_set_pc): Adjust register_size calls to new + interface. + (x86_siginfo_fixup): Use is_64bit_tdesc. + [__x86_64__] (tdesc_amd64_linux, tdesc_amd64_avx_linux) + (tdesc_x32_avx_linux, tdesc_x32_linux) + (tdesc_i386_linux, tdesc_i386_mmx_linux, tdesc_i386_avx_linux): + Declare. + (x86_linux_update_xmltarget): Delete. + (I386_LINUX_XSAVE_XCR0_OFFSET): Define. + (have_ptrace_getfpxregs, have_ptrace_getregset): New. + (AMD64_LINUX_USER64_CS): New. + (x86_linux_read_description): New, based on + x86_linux_update_xmltarget. + (same_process_callback): New. + (x86_arch_setup_process_callback): New. + (x86_linux_update_xmltarget): New. + (x86_regsets_info): New. + (amd64_linux_regs_info): New. + (i386_linux_usrregs_info): New. + (i386_linux_regs_info): New. + (x86_linux_regs_info): New. + (x86_arch_setup): Reimplement. + (x86_install_fast_tracepoint_jump_pad): Use is_64bit_tdesc. + (x86_emit_ops): Ditto. + (the_low_target): Adjust. Install x86_linux_regs_info, + x86_cannot_fetch_register, and x86_cannot_store_register. + (initialize_low_arch): New. + * linux-ia64-low.c (tdesc_ia64): Declare. + (ia64_fetch_register): Adjust. + (ia64_usrregs_info, regs_info): New globals. + (ia64_regs_info): New function. + (the_low_target): Adjust. + (initialize_low_arch): New function. + * linux-sparc-low.c (tdesc_sparc64): Declare. + (sparc_fill_gregset_to_stack, sparc_store_gregset_from_stack): + Adjust. + (sparc_arch_setup): New function. + (sparc_regsets_info, sparc_usrregs_info, regs_info): New globals. + (the_low_target): Adjust. + (initialize_low_arch): New function. + * linux-ppc-low.c (tdesc_powerpc_32l, tdesc_powerpc_altivec32l) + (tdesc_powerpc_cell32l, tdesc_powerpc_vsx32l) + (tdesc_powerpc_isa205_32l, tdesc_powerpc_isa205_altivec32l) + (tdesc_powerpc_isa205_vsx32l, tdesc_powerpc_e500l) + (tdesc_powerpc_64l, tdesc_powerpc_altivec64l) + (tdesc_powerpc_cell64l, tdesc_powerpc_vsx64l) + (tdesc_powerpc_isa205_64l, tdesc_powerpc_isa205_altivec64l) + (tdesc_powerpc_isa205_vsx64l): Declare. + (ppc_cannot_store_register, ppc_collect_ptrace_register) + (ppc_supply_ptrace_register, parse_spufs_run, ppc_get_pc) + (ppc_set_pc, ppc_get_hwcap): Adjust. + (ppc_usrregs_info): Forward declare. + (!__powerpc64__) ppc_regmap_adjusted: New global. + (ppc_arch_setup): Adjust to the current process'es target + description. + (ppc_fill_vsxregset, ppc_store_vsxregset, ppc_fill_vrregset) + (ppc_store_vrregset, ppc_fill_evrregset, ppc_store_evrregse) + (ppc_store_evrregset): Adjust. + (target_regsets): Rename to ... + (ppc_regsets): ... this, and make static. + (ppc_usrregs_info, ppc_regsets_info, regs_info): New globals. + (ppc_regs_info): New function. + (the_low_target): Adjust. + (initialize_low_arch): New function. + * linux-s390-low.c (tdesc_s390_linux32, tdesc_s390_linux32v1) + (tdesc_s390_linux32v2, tdesc_s390_linux64, tdesc_s390_linux64v1) + (tdesc_s390_linux64v2, tdesc_s390x_linux64, tdesc_s390x_linux64v1) + (tdesc_s390x_linux64v2): Declare. + (s390_collect_ptrace_register, s390_supply_ptrace_register) + (s390_fill_gregset, s390_store_last_break): Adjust. + (target_regsets): Rename to ... + (s390_regsets): ... this, and make static. + (s390_get_pc, s390_set_pc): Adjust. + (s390_get_hwcap): New target_desc parameter, and use it. + [__s390x__] (have_hwcap_s390_high_gprs): New global. + (s390_arch_setup): Adjust to set the current process'es target + description. Don't adjust the regmap. + (s390_usrregs_info, s390_regsets_info, regs_info): New globals. + [__s390x__] (s390_usrregs_info_3264, s390_regsets_info_3264) + (regs_info_3264): New globals. + (s390_regs_info): New function. + (the_low_target): Adjust. + (initialize_low_arch): New function. + * linux-mips-low.c (tdesc_mips_linux, tdesc_mips_dsp_linux) + (tdesc_mips64_linux, tdesc_mips64_dsp_linux): Declare. + [__mips64] (init_registers_mips_linux) + (init_registers_mips_dsp_linux): Delete defines. + [__mips64] (tdesc_mips_linux, tdesc_mips_dsp_linux): New defines. + (have_dsp): New global. + (mips_read_description): New, based on mips_arch_setup. + (mips_arch_setup): Reimplement. + (get_usrregs_info): New function. + (mips_cannot_fetch_register, mips_cannot_store_register) + (mips_get_pc, mips_set_pc, mips_fill_gregset, mips_store_gregset) + (mips_fill_fpregset, mips_store_fpregset): Adjust. + (target_regsets): Rename to ... + (mips_regsets): ... this, and make static. + (mips_regsets_info, mips_dsp_usrregs_info, mips_usrregs_info) + (dsp_regs_info, regs_info): New globals. + (mips_regs_info): New function. + (the_low_target): Adjust. + (initialize_low_arch): New function. + * linux-arm-low.c (tdesc_arm, tdesc_arm_with_iwmmxt) + (tdesc_arm_with_vfpv2, tdesc_arm_with_vfpv3, tdesc_arm_with_neon): + Declare. + (arm_fill_vfpregset, arm_store_vfpregset): Adjust. + (arm_read_description): New, with bits factored from + arm_arch_setup. + (arm_arch_setup): Reimplement. + (target_regsets): Rename to ... + (arm_regsets): ... this, and make static. + (arm_regsets_info, arm_usrregs_info, regs_info): New globals. + (arm_regs_info): New function. + (the_low_target): Adjust. + (initialize_low_arch): New function. + * linux-m68k-low.c (tdesc_m68k): Declare. + (target_regsets): Rename to ... + (m68k_regsets): ... this, and make static. + (m68k_regsets_info, m68k_usrregs_info, regs_info): New globals. + (m68k_regs_info): New function. + (m68k_arch_setup): New function. + (the_low_target): Adjust. + (initialize_low_arch): New function. + * linux-sh-low.c (tdesc_sharch): Declare. + (target_regsets): Rename to ... + (sh_regsets): ... this, and make static. + (sh_regsets_info, sh_usrregs_info, regs_info): New globals. + (sh_regs_info, sh_arch_setup): New functions. + (the_low_target): Adjust. + (initialize_low_arch): New function. + * linux-bfin-low.c (tdesc_bfin): Declare. + (bfin_arch_setup): New function. + (bfin_usrregs_info, regs_info): New globals. + (bfin_regs_info): New function. + (the_low_target): Adjust. + (initialize_low_arch): New function. + * linux-cris-low.c (tdesc_cris): Declare. + (cris_arch_setup): New function. + (cris_usrregs_info, regs_info): New globals. + (cris_regs_info): New function. + (the_low_target): Adjust. + (initialize_low_arch): New function. + * linux-cris-low.c (tdesc_crisv32): Declare. + (cris_arch_setup): New function. + (cris_regsets_info, cris_usrregs_info, regs_info): New globals. + (cris_regs_info): New function. + (the_low_target): Adjust. + (initialize_low_arch): New function. + * linux-m32r-low.c (tdesc_m32r): Declare. + (m32r_arch_setup): New function. + (m32r_usrregs_info, regs_info): New globals. + (m32r_regs_info): Adjust. + (initialize_low_arch): New function. + * linux-tic6x-low.c (tdesc_tic6x_c64xp_linux) + (tdesc_tic6x_c64x_linux, tdesc_tic6x_c62x_linux): Declare. + (tic6x_usrregs_info): Forward declare. + (tic6x_read_description): New function, based on ... + (tic6x_arch_setup): ... this. Reimplement. + (target_regsets): Rename to ... + (tic6x_regsets): ... this, and make static. + (tic6x_regsets_info, tic6x_usrregs_info, regs_info): New globals. + (tic6x_regs_info): New function. + (the_low_target): Adjust. + (initialize_low_arch): New function. + * linux-xtensa-low.c (tdesc_xtensa): Declare. + (xtensa_fill_gregset, xtensa_store_gregset): Adjust. + (target_regsets): Rename to ... + (xtensa_regsets): ... this, and make static. + (xtensa_regsets_info, xtensa_usrregs_info, regs_info): New + globals. + (xtensa_arch_setup, xtensa_regs_info): New functions. + (the_low_target): Adjust. + (initialize_low_arch): New function. + * linux-nios2-low.c (tdesc_nios2_linux): Declare. + (nios2_arch_setup): Set the current process'es tdesc. + (target_regsets): Rename to ... + (nios2_regsets): ... this. + (nios2_regsets_info, nios2_usrregs_info, regs_info): New globals. + (nios2_regs_info): New function. + (the_low_target): Adjust. + (initialize_low_arch): New function. + * linux-aarch64-low.c (tdesc_aarch64): Declare. + (aarch64_arch_setup): Set the current process'es tdesc. + (target_regsets): Rename to ... + (aarch64_regsets): ... this. + (aarch64_regsets_info, aarch64_usrregs_info, regs_info): New globals. + (aarch64_regs_info): New function. + (the_low_target): Adjust. + (initialize_low_arch): New function. + * linux-tile-low.c (tdesc_tilegx, tdesc_tilegx32): Declare + globals. + (target_regsets): Rename to ... + (tile_regsets): ... this. + (tile_regsets_info, tile_usrregs_info, regs_info): New globals. + (tile_regs_info): New function. + (tile_arch_setup): Set the current process'es tdesc. + (the_low_target): Adjust. + (initialize_low_arch): New function. + * spu-low.c (tdesc_spu): Declare. + (spu_create_inferior, spu_attach): Set the new process'es tdesc. + * win32-arm-low.c (tdesc_arm): Declare. + (arm_arch_setup): New function. + (the_low_target): Install arm_arch_setup instead of + init_registers_arm. + * win32-i386-low.c (tdesc_i386, tdesc_amd64): Declare. + (init_windows_x86): Rename to ... + (i386_arch_setup): ... this. Set `win32_tdesc'. + (the_low_target): Adjust. + * win32-low.c (win32_tdesc): New global. + (child_add_thread): Don't create the thread cache here. + (do_initial_child_stuff): Set the new process'es tdesc. + * win32-low.h (struct target_desc): Forward declare. + (win32_tdesc): Declare. + * lynx-i386-low.c (tdesc_i386): Declare global. + (lynx_i386_arch_setup): Set `lynx_tdesc'. + * lynx-low.c (lynx_tdesc): New global. + (lynx_add_process): Set the new process'es tdesc. + * lynx-low.h (struct target_desc): Forward declare. + (lynx_tdesc): Declare global. + * lynx-ppc-low.c (tdesc_powerpc_32): Declare global. + (lynx_ppc_arch_setup): Set `lynx_tdesc'. + * nto-low.c (nto_tdesc): New global. + (do_attach): Set the new process'es tdesc. + * nto-low.h (struct target_desc): Forward declare. + (nto_tdesc): Declare. + * nto-x86-low.c (tdesc_i386): Declare. + (nto_x86_arch_setup): Set `nto_tdesc'. + +2013-06-04 Gary Benson + + * server.c (handle_query): Add "augmented-libraries-svr4-read+" + to qSupported response when appropriate. + (handle_qxfer_libraries_svr4): Allow qXfer:libraries-svr4:read + with nonzero-length annex. + * linux-low.c (linux_qxfer_libraries_svr4): Parse and handle + arguments supplied in annex. + +2013-05-31 Doug Evans + + PR server/15594 + * linux-x86-low.c (ps_get_thread_area): Properly extend address to + 64 bits in 64-cross-32 environment. + +2013-05-28 Pedro Alves + + * Makefile.in (clean): Remove reference to aarch64-without-fpu.c. + (aarch64-without-fpu.c): Delete rule. + * configure.srv (aarch64*-*-linux*): Remove references to + aarch64-without-fpu.o and aarch64-without-fpu.xml. + * linux-aarch64-low.c (init_registers_aarch64_without_fpu): Remove + declaration. + +2013-05-24 Pedro Alves + + * server.c (handle_v_cont) : Use unpack_varlen_hex + instead of strchr/decode_address. Error if the range isn't split + with a ','. Don't assume there's be a ':' in the action. + +2013-05-23 Yao Qi + Pedro Alves + + * linux-low.c (lwp_in_step_range): New function. + (linux_wait_1): If the thread was range stepping and stopped + outside the stepping range, report the stop to GDB. Otherwise, + continue stepping. Add range stepping debug output. + (linux_set_resume_request): Copy the step range from the resume + request to the lwp. + (linux_supports_range_stepping): New. + (linux_target_ops) : Set to + linux_supports_range_stepping. + * linux-low.h (struct linux_target_ops) + : New field. + (struct lwp_info) : New fields. + * linux-x86-low.c (x86_supports_range_stepping): New. + (the_low_target) : Set to + x86_supports_range_stepping. + * server.c (handle_v_cont): Handle 'r' action. + (handle_v_requests): Append ";r" if the target supports range + stepping. + * target.h (struct thread_resume) : New fields. + (struct target_ops) : + New field. + (target_supports_range_stepping): New macro. + +2013-05-17 Joel Brobecker + + * lynx-low.c (lynx_resume): Fix null_ptid/minus_one_ptid + confusion in comment. + +2013-05-17 Joel Brobecker + + * lynx-low.c (struct process_info_private): New type. + (lynx_add_process): New function. + (lynx_create_inferior, lynx_attach): Replace calls to + add_process by calls to lynx_add_process. + (lynx_resume): If PTID is null, then try using + current_process()->private->last_wait_event_ptid. + Add comments. + (lynx_clear_inferiors): Delete. The contents of that function + has been inlined in lynx_mourn; + (lynx_wait_1): Save the ptid in the process's private data. + (lynx_mourn): Free the process' private data. Replace call + to lynx_clear_inferiors by call to clear_inferiors. + +2013-05-17 Yao Qi + + * i386-low.c (i386_length_and_rw_bits): Move the comment to + the right place. + +2013-05-16 Luis Machado + + * linux-low.c: Move definition checks upwards for PT_TEXT_ADDR, + PT_DATA_ADDR and PT_TEXT_END_ADDR. Update comments. + (linux_read_offsets): Remove PT_TEXT_ADDR, PT_DATA_ADDR and + PT_TEXT_END_ADDR guards. Update comments. + (linux_target_op) : Conditionally define to + linux_read_offsets if the target is UCLIBC and if it defines + PT_TEXT_ADDR, PT_DATA_ADDR and PT_TEXT_END_ADDR. + +2013-05-06 Sandra Loosemore + Andrew Jenner + + * Makefile.in (SFILES): Add linux-nios2-low.c. + (clean): Add action to delete nios2-linux.c. + (nios2-linux.c): New rule. + * configure.srv: Add nios2*-*-linux*. + * linux-nios2-low.c: New. + +2013-05-03 Hafiz Abid Qadeer + + * tracepoint.c (cmd_qtinit): Call 'stop_tracing'. + +2013-04-25 Hui Zhu + + PR gdb/15186 + * ax.c (ax_printf): Add fflush. + +2013-04-22 Tom Tromey + + * Makefile.in (SFILES): Add filestuff.c. + (OBS): Add filestuff.o. + (filestuff.o): New target. + * config.in, configure: Rebuild. + * configure.ac: Check for fdwalk, pipe2. + +2013-04-17 Pedro Alves + + * configure.ac (USE_THREAD_DB): Delete variable. + (if test "$srv_linux_thread_db" = "yes"): AC_DEFINE USE_THREAD_DB. + Don't AC_SUBST USE_THREAD_DB. + * Makefile.in (INTERNAL_CFLAGS): Remove @USE_THREAD_DB@. + * config.in, configure: Regenerate. + +2013-04-16 Pedro Alves + + * linux-low.h (struct lwp_info) : Move under + the USE_THREAD_DB #ifdef. + +2013-04-16 Pedro Alves + + * Makefile.in (INTERNAL_CFLAGS): Add @USE_THREAD_DB@. + (linux-low.o): Delete rule. + * linux-low.h: Always include "gdb_thread_db.h" instead of + conditionally including thread_db.h. + (struct lwp_info) : Guard with #ifdef USE_THREAD_DB instead of + HAVE_THREAD_DB_H. + +2013-04-07 Jan Kratochvil + + * Makefile.in (install-only): Fix make install regression. + +2013-04-05 Jan Kratochvil + + Convert man pages to texinfo, new gdbinit.5 texinfo page. + * Makefile.in (install-only): Remove $(man1dir) and gdbserver.1 + installation. + * gdbserver.1: Remove. + +2013-03-22 Pedro Alves + + * linux-low.c (handle_extended_wait): Don't call + linux_enable_event_reporting. + +2013-03-15 Tony Theodore + + PR build/9098: + * Makefile.in (SHELL): Use @SHELL@. + +2013-03-14 Sergio Durigan Junior + + * tracepoint.c (cmd_qtv): Initialize `val' with zero, silencing + compiler warning. + +2013-03-13 Joel Brobecker + + * linux-low.c (linux_target_ops) [!HAVE_LINUX_BTRACE]: + Remove extraneous NULL element. + +2013-03-13 Yao Qi + + * tracepoint.c (traceframe_read_tsv): Look for the last matched + 'V' block in trace frame. + +2013-03-11 Markus Metzger + + * target.h (struct target_ops): Add btrace ops. + (target_supports_btrace): New macro. + (target_enable_btrace): New macro. + (target_disable_btrace): New macro. + (target_read_btrace): New macro. + * gdbthread.h (struct thread_info): Add btrace field. + * server.c: Include btrace-common.h. + (handle_btrace_general_set): New function. + (handle_btrace_enable): New function. + (handle_btrace_disable): New function. + (handle_general_set): Call handle_btrace_general_set. + (handle_qxfer_btrace): New function. + (struct qxfer qxfer_packets[]): Add btrace entry. + * inferiors.c (remove_thread): Disable btrace. + * linux-low: Include linux-btrace.h. + (linux_low_enable_btrace): New function. + (linux_low_read_btrace): New function. + (linux_target_ops): Add btrace ops. + * configure.srv (i[34567]86-*-linux*): Add linux-btrace.o. + Add srv_linux_btrace=yes. + (x86_64-*-linux*): Add linux-btrace.o. + Add srv_linux_btrace=yes. + * configure.ac: Define HAVE_LINUX_BTRACE. + * config.in: Regenerated. + * configure: Regenerated. + +2013-03-11 Markus Metzger + + * server.c (handle_qxfer): Preserve error message if -3 is + returned. + (qxfer): Document the -3 return value. + +2013-03-11 Markus Metzger + + * Makefile.in (SFILES): Add $(srcdir)/common/linux-btrace.c. + (linux_btrace_h): New variable. + (linux-btrace.o): New rule. + +2013-03-08 Stan Shebs + Hafiz Abid Qadeer + + * tracepoint.c (trace_buffer_size): New global. + (DEFAULT_TRACE_BUFFER_SIZE): New define. + (init_trace_buffer): Change to one-argument function. Allocate + trace buffer memory. + (handle_tracepoint_general_set): Call cmd_bigqtbuffer_size to + handle QTBuffer:size packet. + (cmd_bigqtbuffer_size): New function. + (initialize_tracepoint): Call init_trace_buffer with + DEFAULT_TRACE_BUFFER_SIZE. + * server.c (handle_query): Add QTBuffer:size in the + supported packets. + +2013-03-07 Yao Qi + + * tracepoint.c (cur_action, cur_step_action): Make them unsigned. + (cmd_qtfp): Initialize cur_action and cur_step_action 0 instead + of -1. + (cmd_qtsp): Adjust condition. Do post increment. + Set cur_action and cur_step_action back to 0. + +2013-03-07 Jeremy Bennett + + PR server/15236 + * linux-low.c (linux_write_memory): Return early success if LEN is + zero. + +2013-03-05 Corinna Vinschen + + * configure.srv: Add x86_64-*-cygwin* as target. + +2013-02-28 Tom Tromey + + * configure.ac: Invoke AC_SYS_LARGEFILE. + * configure, config.in: Rebuild. + +2013-02-28 Corinna Vinschen + + * win32-low.c: Throughout, fix format strings and casts of + printf-like functions to avoid type related warnings on all + platforms. + (get_child_debug_event): Print dwDebugEventCode as hex since + that's how it's usually documented. + +2013-02-28 Yao Qi + + * tracepoint.c (cmd_qtbuffer): Call phex_nz instead of + pulongest. + +2013-02-27 Jiong Wang + + * Makefile.in (clean): Remove reg-tilegx.c, reg-tilegx32.c. + (reg-tilegx32.c): New rule. + * configure.srv (tilegx-*-linux*): Add reg-tilegx32.o to srv_regobj. + * linux-tile-low.c (tile_arch_setup): New function. Invoke + different register info initializer according to elf class. + (init_registers_tilgx32): New function. The tilegx32 register info + initializer. + (tile_fill_gregset): Use "uint_reg_t" to represent register size. + (tile_store_gregset): Likewise. + +2013-02-27 Yao Qi + + * server.c (process_point_options): Print debug message when + debug_threads is true. + +2013-02-26 Yao Qi + + * tracepoint.c (cmd_qtbuffer): Don't set '\0' in OWN_BUF. + +2013-02-19 Pedro Alves + Kai Tietz + + PR gdb/15161 + + * server.c (handle_query) : Use unpack_varlen_hex + instead of strtoul to extract address from packet. + (process_serial_event) <'z'>: Likewise. + +2013-02-18 Yao Qi + + * linux-bfin-low.c (the_low_target): Use NULL instead of 0. + +2013-02-14 Pedro Alves + + Plug memory leak. + + * tracepoint.c (cmd_qtnotes): Free TRACING_USER_NAME, + TRACING_NOTES and TRACING_STOP_NOTE before clobbering. + +2013-02-14 Pedro Alves + + * tracepoint.c (cmd_qtdpsrc): Use savestring. + +2013-02-14 Pedro Alves + + * tracepoint.c (save_string): Delete. + (add_tracepoint_action): Use savestring instead of save_string. + +2013-02-12 Pedro Alves + + * linux-xtensa-low.c: Ditto. + * xtensa-xtregs.c: Ditto. + +2013-02-12 Sanimir Agovic + + * thread-db.c (thread_db_get_tls_address): NULL pointer check + thread_db. + +2013-02-07 Marcus Shawcroft + + * linux-aarch64-low.c (aarch64_arch_setup): Clamp + aarch64_num_wp_regs and aarch64_num_bp_regs to + AARCH64_HWP_MAX_NUM and AARCH64_HBP_MAX_NUM respectively. + +2013-02-07 Marcus Shawcroft + + * linux-aarch64-low.c (ps_get_thread_area): Replace + PTRACE_GET_THREAD_AREA with PTRACE_GETREGSET. + +2013-02-04 Jim MacArthur + Marcus Shawcroft + Nigel Stephens + Yufeng Zhang + + * Makefile.in (clean): Remove aarch64.c and aarch64-without-fpu.c. + (aarch64.c, aarch64-without-fpu.c): New targets. + * configure.srv (aarch64*-*-linux*): New. + * linux-aarch64-low.c: New file. + +2013-02-04 Marcus Shawcroft + + * linux-low.c (handle_extended_wait, linux_create_inferior) + (linux_attach_lwp_1, linux_kill_one_lwp, linux_attach_one_lwp) + (dequeue_one_deferred_signal, linux_resume_one_thread) + (fetch_register, linux_write_memory, linux_enable_event_reporting) + (linux_tracefork_grandchild, linux_test_for_tracefork) + (linux_read_offsets, linux_xfer_siginfo, linux_xfer_siginfo): Add + PTRACE_ARG3_TYPE and PTRACE_ARG4_TYPE cast to ptrace arguments + where the argument is 0. + +2013-01-25 Yao Qi + + * event-loop.c: Include "queue.h". + (gdb_event_p): New typedef. + (struct gdb_event) : Remove. + (event_queue): Change to QUEUE(gdb_event_p). + (async_queue_event): Remove. + (gdb_event_xfree): New. + (initialize_event_loop): New. + (process_event): Use API from QUEUE. + (wait_for_event): Likewise. + * server.c (main): Call initialize_event_loop. + * server.h (initialize_event_loop): Declare. + +2013-01-18 Yao Qi + + * ax.h (struct eval_agent_expr_context): New. + (gdb_eval_agent_expr): Update declaration. + * ax.c (gdb_eval_agent_expr): Remove argument REGCACHE and + TFRAME. Add new argument CTX. + * server.h (struct eval_agent_expr_context): Declare. + (agent_mem_read, agent_tsv_read): Update declaration. + (agent_mem_read_string): Likewise. + * tracepoint.c (eval_tracepoint_agent_expr): Remove. + (add_traceframe_block): Add new argument TPOINT. + Increase TPOINT->traceframe_usage. + (do_action_at_tracepoint): Call gdb_eval_agent_expr instead of + eval_tracepoint_agent_expr. + (condition_true_at_tracepoint): Likewise. + (agent_mem_read): Remove argument TFRAME. Add argument CTX. + (agent_mem_read_string, agent_tsv_read): Likewise. + +2013-01-16 Yao Qi + + * linux-low.c (linux_resume_one_lwp): Don't check + 'lwp->bp_reinsert != 0'. + +2013-01-07 Joel Brobecker + Pedro Alves + + * lynx-low.c (ptrace_request_to_str): Define a temporary + macro and use it to simplify this function's implementation. + +2013-01-07 Joel Brobecker + + * lynx-low.c (lynx_resume): Call perror_with_name if lynx_ptrace + sets errno. + +2013-01-07 Joel Brobecker + + * configure.srv (i[34567]86-*-lynxos*): Set srv_xmlfiles. + +2013-01-07 Joel Brobecker + + * configure.srv (powerpc-*-lynxos*): Set srv_xmlfiles. + +2013-01-07 Joel Brobecker + + * lynx-low.c (lynx_resume): Use the resume_info parameter + to determine the ptid for the lynx_ptrace call, unless + it is equal to minus_one_ptid, in which case we use the + ptid of the current_inferior. + (lynx_wait_1): After having received a thread create/exit + event, resume the inferior's execution using the signaling + thread's ptid, rather than the old ptid. + +2013-01-07 Joel Brobecker + + * lynx-low.c (lynx_resume): Delete variable ret. + +2013-01-01 Joel Brobecker + + * gdbreplay.c (gdbreplay_version): Update copyright year. + * server.c (gdbserver_version): Likewise. + +2012-12-17 Joel Brobecker + + * lynx-low.c (lynx_wait_1): Add debug trace before adding + new thread. + +2012-12-17 Joel Brobecker + + * lynx-low.c (ptrace_request_to_str): Add handling for + PTRACE_GETTRACESIG. + +2012-12-17 Joel Brobecker + + * lynx-low.c (lynx_attach): Delete variable new_process. + +2012-12-17 Joel Brobecker + + * lynx-low.c (lynx_create_inferior): Delete variable + new_process. + +2012-12-17 Joel Brobecker + + * lynx-low.c (ptrace_request_to_str): Do not handle + PTRACE_GETTHREADLIST if this macro does not exist. + +2012-12-15 Yao Qi + + * Makefile.in (OBS): Add notif.o. + * notif.c, notif.h: New. + * server.c: Include "notif.h". + (struct vstop_notif) : Remove. + : New field. + (queue_stop_reply): Update. + (push_event, send_next_stop_reply): Remove. + (discard_queued_stop_replies): Update. + (notif_stop): New variable. + (handle_v_stopped): Remove. + (handle_v_requests): Don't call handle_v_stopped. Call + handle_ack_notif instead. + (queue_stop_reply_callback): Call notif_event_enque instead + of queue_stop_reply. + (handle_status): Don't call send_next_stop_reply, call + notif_write_event instead. + (kill_inferior_callback): Likewise. + (detach_or_kill_inferior_callback): Likewise. + (main): Call initialize_notif. + (process_serial_event): Call QUEUE_is_empty. + (handle_target_event): Call notif_push instead of push event. + * server.h (push_event): Remove declaration. + +2012-12-10 Tom Tromey + + * Makefile.in (DEPMODE, DEPDIR, depcomp, COMPILE.pre) + (COMPILE.post, COMPILE, POSTCOMPILE, IPAGENT_COMPILE): New + macros. + (.c.o): Rewrite. + (ax-ipa.o, tracepoint-ipa.o, utils-ipa.o, format-ipa.o) + (common-utils-ipa.o, remote-utils-ipa.o, regcache-ipa.o) + (i386-linux-ipa.o, linux-i386-ipa.o, linux-amd64-ipa.o) + (amd64-linux-ipa.o, ax.o): Rewrite. + (event-loop.o, hostio.o, hostio-errno.o, inferiors.o, mem-break.o) + (proc-service.o, regcache.o, remote-utils.o, server.o, target.o) + (thread-db.o, tracepoint.o, utils.o, gdbreplay.o, dll.o): Remove. + (signals.o, linux-procfs.o, linux-ptrace.o, common-utils.o, vec.o) + (gdb_vecs.o, xml-utils.o, linux-osdata.o, ptid.o, buffer.o) + (format.o, agent.o, vasprintf.o, vsnprintf.o): Rewrite. + (i386-low.o, i387-fp.o, linux-low.o, linux-arm-low.o) + (linux-bfin-low.o, linux-cris-low.o, linux-crisv32-low.o) + (linux-ia64-low.o, linux-m32r-low.o, linux-mips-low.o) + (linux-ppc-low.o, linux-s390-low.o, linux-sh-low.o) + (linux-tic6x-low.o, linux-x86-low.o, linux-xtensa-low.o) + (linux-tile-low.o, lynx-low.o, lynx-ppc-low.o, nto-low.o) + (nto-x86-low.o, linux-low.o, win32-low.o, win32-arm-low.o) + (win32-i386-low.o, spu-low.o, reg-arm.o, arm-with-iwmmxt.o) + (arm-with-vfpv2.o, arm-with-vfpv3.o, arm-with-neon.o, reg-bfin.o) + (reg-cris.o, reg-crisv32.o, i386.o, i386-linux.o, i386-avx.o) + (i386-avx-linux.o, i386-mmx.o, i386-mmx-linux.o, reg-ia64.o) + (reg-m32r.o, reg-m68k.o, reg-cf.o, mips-linux.o, mips-dsp-linux.o) + (mips64-linux.o, mips64-dsp-linux.o, powerpc-32.o, powerpc-32l.o) + (powerpc-altivec32l.o, powerpc-cell32l.o, powerpc-vsx32l.o) + (powerpc-isa205-32l.o, powerpc-isa205-altivec32l.o) + (powerpc-isa205-vsx32l.o, powerpc-e500l.o, powerpc-64l.o) + (powerpc-altivec64l.o, powerpc-cell64l.o, powerpc-vsx64l.o) + (powerpc-isa205-64l.o, powerpc-isa205-altivec64l.o) + (powerpc-isa205-vsx64l.o, s390-linux32.o, s390-linux32v1.o) + (s390-linux32v2.o, s390-linux64.o, s390-linux64v1.o) + (s390-linux64v2.o, s390x-linux64.o, s390x-linux64v1.o) + (s390x-linux64v2.o, tic6x-c64xp-linux.o, tic6x-c64x-linux.o) + (tic6x-c62x-linux.o, reg-sh.o, reg-sparc64.o, reg-spu.o, amd64.o) + (amd64-linux.o, amd64-avx.o, amd64-avx-linux.o, x32.o) + (x32-linux.o, x32-avx.o, x32-avx-linux.o, reg-xtensa.o) + (reg-tilegx.o): Remove. + (all_object_files): New macro. + Include .deps files. + * aclocal.m4, configure: Rebuild. + * acinclude.m4: Include depstand.m4, lead-dot.m4. + * configure.ac: Invoke ZW_CREATE_DEPDIR, + ZW_PROG_COMPILER_DEPENDENCIES. Compute GMAKE condition. + +2012-12-05 Tom Tromey + + PR gdb/14917: + * server.h (current_insn_ptr, emit_error): Declare 'extern'. + +2012-11-28 Markus Metzger + + * configure.ac: Check for linux/perf_event.h. + * config.in: Regenerated. + * configure: Regenerated. + +2012-11-26 Maxime Villard + + * hostio.c (handle_readlink): Decrease buffer size + parameter passed to readlink by one byte. + +2012-11-26 Yao Qi + + * configure.ac (build_warnings): Append '-Wempty-body'. + * configure: Regenerated. + * linux-low.c (linux_create_inferior): Use braces for empty 'if' + body. + +2012-11-15 Pierre Muller + + * configure.ac (AC_CHECK_HEADERS): Add wait.h header. + * config.in: Regenerate. + * configure: Regenerate. + * linux-low.c: Use "gdb_stat.h" header instead of header. + Use "gdb_wait.h" header instead of header. + * lynx-low.c: Use "gdb_wait.h" header instead of header. + * remote-utils.c: Use "gdb_stat.h" header instead of + header. + * server.c: Remove HAVE_WAIT_H conditional. Use "gdb_wait.h" header + instead of header. + * spu-low.c: Use "gdb_wait.h" header instead of header. + +2012-11-13 Markus Metzger + + * Makefile.in: (INTERNAL_CFLAGS): Add -DGDBSERVER + (various make rules): Remove -DGDBSERVER + +2012-11-09 Yao Qi + + * spu-low.c (current_ptid): Move it to .. + * gdbthread.h: ... here. New. + * remote-utils.c (read_ptid): Use macro 'current_ptid'. + * server.c (myresume, process_serial_event): Likewise. + * thread-db.c (thread_db_find_new_threads): Likewise. + * tracepoint.c (run_inferior_command): Likewise. + +2012-10-01 Andrew Burgess + + * server.c (handle_search_memory_1): Include access length in + warning message. + +2012-09-05 Michael Brandt + + * linux-crisv32-low.c: Fix compile errors. + +2012-09-04 Yao Qi + + * tracepoint.c (cmd_qtsv): Adjust debug message. + Don't check CUR_TPOINT. + +2012-08-28 Yao Qi + + * ax.c, tracepoint.c: Replace ATTR_FORMAT with ATTRIBUTE_PRINTF. + * server.h: Include 'libiberty.h' and 'ansidecl.h'. + (ATTR_NORETURN, ATTR_FORMAT, ATTR_MALLOC): Remove. + Remove declarations of xmalloc, xreallloc, xstrdup and + freeargv. + * Makefile.in (libiberty_h): New. + (server_h): Append dependencies 'libiberty.h' and 'ansidecl.h'. + (linux-bfin-low.o): Append dependency 'libiberty.h'. + +2012-08-23 Yao Qi + + * server.h: Remove declaration of 'xsnprintf'. + +2012-08-22 Keith Seitz + + * server.h: Include build-gnulib-gbserver/config.h. + * gdbreplay.c: Likewise. + +2012-08-08 Doug Evans + + * Makefile.in (SFILES): Add gdb_vecs.c. + (OBS): Add gdb_vecs.o. + (gdb_vecs_h, host_defs_h): New variables. + (thread-db.o): Add $(gdb_vecs_h) dependency. + (gdb_vecs.o): New rule. + * thread-db.c: #include "gdb_vecs.h". + (thread_db_load_search): Use a vector to iterate over path elements. + Handle text appearing after "$pdir". + + * configure.ac: Add check for strstr. + * config.in: Regenerate. + * configure: Regenerate. + +2012-08-02 Ulrich Weigand + + * hostio.c (handle_pread): If pread fails, fall back to attempting + lseek/read. + (handle_pwrite): Likewise for pwrite. + +2012-08-01 Ulrich Weigand + + * linux-arm-low.c (arm_linux_hw_point_initialize): Distinguish + between unsupported TYPE and unimplementable ADDR/LEN combination. + (arm_insert_point): Act on new return value. + +2012-07-31 Pedro Alves + + * server.c (process_point_options): Only skip tokens if we find + one that is unrecognized. Don't treat 'X' specially while + skipping unrecognized tokens. + +2012-07-30 Ulrich Weigand + + * linux-arm-low.c (arm_linux_hw_point_initialize): Do not attempt + to 4-byte-align HW breakpoint addresses for Thumb. + +2012-07-27 Yao Qi + + PR remote/14161. + + * server.h: Declare gdb_agent_about_to_close. + * target.c (kill_inferior): Include "agent.h". + New. Send command 'kill'. + * target.h (kill_inferior): Removed macro. + * tracepoint.c (gdb_agent_about_to_close): New. + (gdb_agent_helper_thread): Handle command 'close'. + Wait endlessly until the inferior stops. + Install gdb_agent_remove_socket to atexit hook. + (agent_socket_name): New static variable. + (gdb_agent_socket_init): Replace local variable 'name' with + 'agent_socket_name'. + (gdb_agent_remove_socket): New. + +2012-07-27 Yao Qi + + * server.c (process_point_options): Stop at 'X' when parsing. + +2012-07-19 Michael Eager + + * i386-low.c (Z_packet_to_hw_type): Add Z_PACKET_HW_BP, translate + to hw_execute. + * linux-x86-low.c (x86_insert_point, x86_remove_point): + Call i386_low_insert_watchpoint, i386_low_remove_watchpoint to add/del + hardware breakpoint. + +2012-07-07 Jan Kratochvil + + * gdbserver/linux-low.c (initialize_low): Call + linux_ptrace_init_warnings. + +2012-07-02 Doug Evans + + * mem-break.c (gdb_no_commands_at_breakpoint): Fix cast from + pointer to int. + +2012-07-02 Stan Shebs + + * Makefile.in (WARN_CFLAGS_NO_FORMAT): Define. + (ax.o): Add it to build rule. + (ax-ipa.o): Ditto. + (OBS): Add format.o. + (IPA_OBS): Add format.o. + * server.c (handle_query): Claim support for breakpoint commands. + (process_point_options): Add command case. + (process_serial_event): Leave running if there are printfs in + effect. + * mem-break.h (any_persistent_commands): Declare. + (add_breakpoint_commands): Declare. + (gdb_no_commands_at_breakpoint): Declare. + (run_breakpoint_commands): Declare. + * mem-break.c (struct point_command_list): New struct. + (struct breakpoint): New field command_list. + (any_persistent_commands): New function. + (add_commands_to_breakpoint): New function. + (add_breakpoint_commands): New function. + (gdb_no_commands_at_breakpoint): New function. + (run_breakpoint_commands): New function. + * linux-low.c (linux_wait_1): Test for and run breakpoint commands + locally. + * ax.c: Include format.h. + (ax_printf): New function. + (gdb_eval_agent_expr): Add printf opcode. + +2012-06-13 Yao Qi + + * server.c (start_inferior): Remove duplicated writes to fields + 'last_resume_kind' and 'last_status' of 'current_inferior'. + +2012-06-12 Yao Qi + Pedro Alves + + * linux-low.c (linux_set_resume_request): Simplify predicate. Add + comment. + * server.c (handle_v_cont): Extend comment. + +2012-06-11 Yao Qi + + * linux-low.c (linux_attach): Add 'static'. + +2012-06-06 Yao Qi + + * ax.c (gdb_eval_agent_expr): Print `top' in hex. + +2012-06-01 Jan Kratochvil + + Fix gcc -flto compilation warning. + * server.c (main): Make variable multi_mode and attach volatile. + +2012-05-30 Thiago Jung Bauermann + + * linux-low.c (get_r_debug): Disable code using DT_MIPS_RLD_MAP + if the platform doesn't know about it. + +2012-05-30 Jeff Kenton + + * Makefile.in (SFILES): Add linux-tile-low.c. + (linux-tile-low.o, reg-tilegx.o, reg-tilegx.c): New rules. + * configure.srv: Handle tilegx-*-linux*. + * linux-tile-low.c: New file. + +2012-05-28 Jan Kratochvil + + * linux-low.c (linux_qxfer_libraries_svr4): Return -1 if R_DEBUG is -1. + +2012-05-24 Pedro Alves + + PR gdb/7205 + + Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout. + +2012-05-24 Pedro Alves + + PR gdb/7205 + + Replace target_signal with gdb_signal throughout. + +2012-05-22 Maciej W. Rozycki + + * linux-low.c (linux_store_registers): Avoid the copying sequence + when no data has been retrieved by ptrace. + +2012-05-22 Will Deacon + + * linux-low (__UCLIBC__ && !(__UCLIBC_HAS_MMU__ || __ARCH_HAS_MMU__)): + Include asm/ptrace.h. + (PT_TEXT_ADDR, PT_DATA_ADDR, PT_TEXT_END_ADDR): Define only if not + already defined. + +2012-05-21 Maciej W. Rozycki + + * linux-low.c (linux_store_registers): Don't re-retrieve data + with ptrace that has already been obtained from /proc. Always + copy any data retrieved with ptrace to the buffer supplied. + +2012-05-11 Yao Qi + Pedro Alves + + * linux-low.c (enum stopping_threads_kind): New. + (stopping_threads): Change type to `enum stopping_threads_kind'. + (handle_extended_wait): If stopping and suspending threads, leave + the new_lwp suspended too. + (linux_wait_for_event): Adjust. + (stop_all_lwps): Set `stopping_threads' to + STOPPING_AND_SUSPENDING_THREADS or STOPPING_THREADS depending on + whether we're suspending threads or just stopping them. Assert no + recursion happens. + +2012-04-29 Yao Qi + + * server.h: Move some code to ... + * gdbthread.h: ... here. New. + * Makefile.in (inferiors.o, regcache.o): Depends on gdbthread.h + (remote-utils.o, server.o, target.o tracepoint.o): Likewise. + (nto-low.o, win32-low.o): Likewise. + * inferiors.c, linux-low.h, nto-low.c: Include gdbthread.h. + * regcache.c, remote-utils.c, server.c: Likewise. + * target.c, tracepoint.c, win32-low.c: Likewise. + +2012-04-24 Thiago Jung Bauermann + + * linux-low.h (PTRACE_ARG3_TYPE): Move macro from linux-low.c. + (PTRACE_ARG4_TYPE): Likewise. + (PTRACE_XFER_TYPE): Likewise. + * linux-arm-low.c (arm_prepare_to_resume): Cast third argument of + ptrace to PTRACE_ARG3_TYPE. + * linux-low.c (PTRACE_ARG3_TYPE): Move macro to linux-low.h. + (PTRACE_ARG4_TYPE): Likewise. + (PTRACE_XFER_TYPE): Likewise. + (linux_detach_one_lwp): Cast fourth argument of + ptrace to long then PTRACE_ARG4_TYPE. + (regsets_fetch_inferior_registers): Cast third argument of + ptrace to long then PTRACE_ARG3_TYPE. + (regsets_store_inferior_registers): Likewise. + +2012-04-20 Pedro Alves + + * configure: Regenerate. + +2012-04-19 Pedro Alves + + * Makefile.in (GNULIB_BUILDDIR): New. + (LIBGNU, INCGNU, GNULIB_H): Adjust. + (SUBDIRS, CLEANDIRS, REQUIRED_SUBDIRS): New. + (all, install-only, uninstall, clean-info, all-lib, clean): No + longer pass GNULIB_FLAGS_TO_PASS. Use subdir_do. + (maintainer-clean realclean distclean): Use subdir_do. + (subdir_do): New. + (gnulib/import/Makefile): Adjust. Replace gnulib/import with + $(GNULIB_BUILDDIR). Don't pass argument to config.status. + * acinclude.m4: Include acx_configure_dir.m4. + * configure.ac: Remove gl_EARLY, gl_INIT, and AM_INIT_AUTOMAKE + calls. Call AC_PROG_RANLIB. Configure gnulib using + ACX_CONFIGURE_DIR. + (GNULIB): New. + (GNULIB_STDINT_H): Adjust. + (AC_OUTPUT): Don't output gnulib/Makefile anymore. + * gdbreplay.c: Include build-gnulib/config.h. + * server.h: Likewise. + * aclocal.m4: Regenerate. + * config.in: Regenerate. + * configure: Regenerate. + +2012-04-19 Pedro Alves + + * Makefile.in (LIBGNU, INCGNU): Adjust. + (GNULIB_FLAGS_TO_PASS, GNULIB_H): Adjust. + (all, install-only, uninstall, clean-info, all-lib, clean) + (maintainer-clean, Makefile, gnulib/Makefile): Adjust. + * configure.ac: Adjust AC_OUTPUT output. + * aclocal.m4: Regenerate. + * configure: Regenerate. + +2012-04-19 Pedro Alves + + * Makefile.in (generated_files): New. + (server_h): Remove the explicit dependency on config.h, and depend + on $generated_files. + +2012-04-19 Pedro Alves + + * Makefile.in (INCGNU): Add -Ignulib. + +2012-04-19 Pedro Alves + + * Makefile.in (GNULIB_INCLUDE_DIR): Rename to ... + (INCGNU): ... this, and spell out -I here. + (GNULIB_LIB): Rename to ... + (LIBGNU): ... this. + (INCLUDE_CFLAGS, gdbserver$(EXEEXT), $(GNULIB_LIB) rule): Adjust. + +2012-04-19 Pedro Alves + + * config.in: Regenerate. + +2012-04-19 Pedro Alves + + * configure.ac: Remove AC_CHECK_DECLS check for memmem. + * server.h (memmem): Remove declaration. + * config.in: Regenerate. + * configure: Regenerate. + +2012-04-19 Yao Qi + + * Makefile.in (SFILES): Add common/vec.c. + (OBS): Add vec.o. + (vec.o): New rule. + +2012-04-19 Yao Qi + + * remote-utils.c (prepare_resume_reply): Replace with macro + target_core_of_thread. + * server.c (handle_qxfer_threads_proper): Likewise. + * target.h (traget_core_of_thread): New macro. + +2012-04-18 Pedro Alves + + * aclocal.m4: Regenerate. + * configure: Regenerate. + +2012-04-16 Yao Qi + + * tracepoint.c (cmd_qtstart): Download tracepoints even when they are + duplicated on address. + +2012-04-16 Yao Qi + + * tracepoint.c (COPY_FIELD_TO_BUF): New macro. + (struct tracepoint_action_ops) : New field. + (m_tracepoint_action_send, r_tracepoint_action_send): New. + (agent_expr_send, x_tracepoint_action_send): New. + (l_tracepoint_action_send): New. + (cmd_qtdp): Download and install tracepoint + according to `use_agent'. + (run_inferior_command): Add one more parameter `len'. + Update callers. + (tracepoint_send_agent): New. + (cmd_qtdp, cmd_qtstart): Call tracepoint_send_agent. + +2012-04-16 Yao Qi + + * tracepoint.c (download_tracepoints): Moved to ... + (cmd_qtstart): ... here. + +2012-04-14 Yao Qi + + * tracepoint.c: Include inttypes.h. + (struct collect_memory_action): Use sized types. + (struct tracepoint): Likewise. + (cmd_qtdp, stop_tracing): Update print specifiers. + (cmd_qtp, response_tracepoint): Likewise. + (collect_data_at_tracepoint): Likewise. + (collect_data_at_step): Likewise. + +2012-04-14 Yao Qi + + Import gnulib module inttypes. + * aclocal.m4, config.in, configure: Regenerated. + +2012-04-14 Yao Qi + + * Makefile.in (maintainer-clean, realclean, distclean): Remove + Makefile and config.status at last. + +2012-04-13 Yao Qi + + * tracepoint.c: Include stdint.h unconditionally. + +2012-04-13 Thiago Jung Bauermann + + * acinclude.m4 (GDBSERVER_HAVE_THREAD_DB_TYPE): New macro based + on BFD_HAVE_SYS_PROCFS_TYPE. + * configure.ac: Look for lwpid_t and psaddr_t in libthread_db.h. + * configure: Regenerate. + * config.in: Likewise. + +2012-04-13 H.J. Lu + + * Makefile.in (clean): Also remove x32.c x32-linux.c + x32-avx.c x32-avx-linux.c. + (x32.o): New target. + (x32.c): Likewise. + (x32-linux.o): Likewise. + (x32-linux.c): Likewise. + (x32-avx.o): Likewise. + (x32-avx.c): Likewise. + (x32-avx-linux.o): Likewise. + (x32-avx-linux.c): Likewise. + + * configure.srv (srv_amd64_regobj): Add x32.o x32-avx.o. + (srv_amd64_linux_regobj): Add x32-linux.o x32-avx-linux.o. + (srv_i386_64bit_xmlfiles): Add i386/x32-core.xml. + (srv_amd64_xmlfiles): Add i386/x32.xml i386/x32-avx.xml. + (srv_amd64_linux_xmlfiles): Add i386/x32-linux.xml + i386/x32-avx-linux.xml. + + * linux-x86-low.c (init_registers_x32_linux): New prototype. + (init_registers_x32_avx_linux): Likwise. + (x86_linux_update_xmltarget): Call init_registers_x32_linux + or init_registers_x32_avx_linux if linux_is_elf64 is false. + +2012-04-13 Pedro Alves + + * Makefile.in (GNULIB_FLAGS_TO_PASS): New. + (FLAGS_TO_PASS): Don't change or set $top_srcdir, $srcdir and VPATH. + (all, uninstall, clean-info, all-lib, clean, maintainer-clean) + (realclean, distclean): Explicitly pass $GNULIB_FLAGS_TO_PASS to + the sub-make. + +2012-04-12 H.J. Lu + + * linux-x86-low.c (compat_x32_clock_t): New. + (compat_x32_siginfo_t): Likewise. + (compat_x32_siginfo_from_siginfo): Likewise. + (siginfo_from_compat_x32_siginfo): Likewise. + (linux_is_elf64): Likewise. + (x86_siginfo_fixup): Call compat_x32_siginfo_from_siginfo + and siginfo_from_compat_x32_siginfo for x32. + (x86_arch_setup): Set linux_is_elf64. + +2012-04-12 H.J. Lu + + PR gdb/13969 + * linux-low.c (linux_pid_exe_is_elf_64_file): Also return the + e_machine field. + (linux_qxfer_libraries_svr4): Update call to elf_64_file_p. + * linux-low.h (linux_pid_exe_is_elf_64_file): Updated. + * linux-x86-low.c (x86_arch_setup): Check if GDBserver is + compatible with process. + +2012-04-12 Yao Qi + + * Makefile.in: Define abs_top_srcdir and abs_srcdir. + (INCLUDE_CFLAGS): Append GNULIB_INCLUDE_DIR. + (install-only, install-info, clean): Handle sub dir gnulib. + (all-lib, am--refresh): New targets. + (memmem.o): Remove target. + * configure.ac: Remove AC_CONFIG_LIBOBJ_DIR. + Invoke gl_EARLY. Invoke AC_CHECK_PROGS for make. + (AC_REPLACE_FUNCS): Remove memmem. + Invoke gl_INIT and AM_INIT_AUTOMAKE. + (AC_OUTPUT): Generate Makefile in gnulib/. + * aclocal.m4, config.in, configure: Regenerated. + +2012-04-10 Maciej W. Rozycki + + * linux-low.c (get_r_debug): Handle DT_MIPS_RLD_MAP. + +2012-04-05 Pedro Alves + + -Werror=strict-aliasing + + * spu-low.c (parse_spufs_run): Avoid dereferencing type-punned + pointer. + +2012-04-04 Pedro Alves + + * linux-sparc-low.c (sparc_fill_gregset_to_stack) + (sparc_store_gregset_from_stack, sparc_store_gregset) + (sparc_breakpoint_at): Fix formatting. + +2012-03-30 Thiago Jung Bauermann + + * configure.ac: Check whether Elf32_auxv_t and Elf64_auxv_t + are available. + * linux-low.c [HAVE_ELF32_AUXV_T] (Elf32_auxv_t): Add typedef. + [HAVE_ELF64_AUXV_T] (Elf64_auxv_t): Likewise. + * config.in: Regenerate. + * configure: Likewise. + +2012-03-29 Pedro Alves + + * linux-low.c (regsets_store_inferior_registers) [__sparc__]: + Correct ptrace arguments. + +2012-03-28 Pedro Alves + + * linux-ia64-low.c (ia64_regmap): Map IA64_EC_REGNUM to PT_AR_EC. + (IA64_GR0_REGNUM, IA64_FR0_REGNUM) + (IA64_FR1_REGNUM): New defines. + (ia64_fetch_register): New. + (the_low_target): Install it. + * linux-low.h (struct linux_target_ops) : New + field. + * linux-low.c (linux_fetch_registers): Try the + the_low_target.fetch_register hook first. + + * linux-arm-low.c (the_low_target): Adjust. + * linux-bfin-low.c (the_low_target): Adjust. + * linux-cris-low.c (the_low_target): Adjust. + * linux-crisv32-low.c (the_low_target): Adjust. + * linux-m32r-low.c (the_low_target): Adjust. + * linux-m68k-low.c (the_low_target): Adjust. + * linux-mips-low.c (the_low_target): Adjust. + * linux-ppc-low.c (the_low_target): Adjust. + * linux-s390-low.c (the_low_target): Adjust. + * linux-sh-low.c (the_low_target): Adjust. + * linux-sparc-low.c (the_low_target): Adjust. + * linux-tic6x-low.c (the_low_target): Adjust. + * linux-x86-low.c (the_low_target): Adjust. + * linux-xtensa-low.c (the_low_target): Adjust. + +2012-03-26 Pedro Alves + + * server.c (handle_qxfer_libraries): Don't bail early if + the_target->qxfer_libraries_svr4 is not NULL. + +2012-03-26 Pedro Alves + + * linux-low.c (linux_qxfer_libraries_svr4): Fix pasto in comment. + +2012-03-23 Pedro Alves + + * linux-low.c (linux_qxfer_libraries_svr4): Terminate the + "library-list-svr4" element's start tag when the the DSO list is + empty. + +2012-03-23 Pedro Alves + + * linux-low.c (read_one_ptr): Read the inferior's pointer through + a variable whose type size is the same as the inferior's pointer + size. + +2012-03-21 Thomas Schwinge + + * linux-arm-low.c (arm_stopped_by_watchpoint): Use siginfo_t instead of + struct siginfo. + * linux-low.c (siginfo_fixup, linux_xfer_siginfo): Likewise. + * linux-x86-low.c (x86_siginfo_fixup): Likewise. + * linux-low.h: Include . + (struct siginfo): Remove forward declaration. + (struct linux_target_ops) : Use siginfo_t instead of + struct siginfo. + +2012-03-21 Mike Frysinger + + * .gitignore: Ignore more files. + +2012-03-19 Pedro Alves + Jan Kratochvil + + * server.c (cont_thread, general_thread): Add describing comments. + (start_inferior): Clear `cont_thread'. + (handle_v_cont): Don't set `cont_thread' if resuming all threads + of a process. + +2012-03-15 Yao Qi + + * tracepoint.c (install_tracepoint): Move duplicated tracepoint + handling to ... + (cmd_qtdp): ... here. + +2012-03-15 Yao Qi + + * tracepoint.c (struct tracepoint_action_ops): New. + (struct tracepoint_action) [!IN_PROCESS_AGENT] : New field. + (m_tracepoint_action_download): New. + (r_tracepoint_action_download): New. + (x_tracepoint_action_download): New. + (l_tracepoint_action_download): New. + (add_tracepoint_action): Install `action->ops' according type. + (download_tracepoint_1): Move code `download' function pointer + of various tracepoint_action_ops. + +2012-03-13 Jan Kratochvil + + * linux-low.c (linux_attach_lwp_1): New variable buffer. Call + linux_ptrace_attach_warnings. + +2012-03-13 Jan Kratochvil + + * Makefile.in (linux-ptrace.o): New. + * configure.srv (arm*-*-linux*, bfin-*-*linux*, crisv32-*-linux*) + (cris-*-linux*, i[34567]86-*-linux*, ia64-*-linux*, m32r*-*-linux*) + (m68*-*-linux*, m68*-*-uclinux*, mips*-*-linux*, powerpc*-*-linux*) + (s390*-*-linux*, sh*-*-linux*, sparc*-*-linux*, tic6x-*-uclinux) + (x86_64-*-linux*, xtensa*-*-linux*): Add linux-ptrace.o to SRV_TGTOBJ + of these targets. + * linux-low.c (linux_attach_lwp_1): Remove redundent else clause. + +2012-03-08 Yao Qi + Pedro Alves + + Fix PR server/13392. + * linux-x86-low.c (amd64_install_fast_tracepoint_jump_pad): Check + offset of JMP insn. + * tracepoint.c (remove_tracepoint): New. + (cmd_qtdp): Call remove_tracepoint when failed to install. + +2012-03-07 Pedro Alves + + * linux-low.c (get_detach_signal): New. + (linux_detach_one_lwp): Get rid of a pending SIGSTOP with SIGCONT. + Pass on pending signals to PTRACE_DETACH. Check the result of the + ptrace call. + * server.c (program_signals, program_signals_p): New. + (handle_general_set): Handle QProgramSignals. + * server.h (program_signals, program_signals_p): Declare. + +2012-03-05 Pedro Alves + Jan Kratochvil + + * linux-low.c (get_dynamic): Don't warn when PT_PHDR isn't found. + New comment why. + +2012-03-03 Yao Qi + + * tracepoint.c (tracepoint_look_up_symbols): Update call to + agent_look_up_symbols. + +2012-03-03 Yao Qi + + * Makefile.in (linux-low.o): Keep dependence on agent.h. + (linux-x86-low.o): Likewise. + * server.h: Remove in_process_agent_loaded. + * tracepoint.c (in_process_agent_loaded): Removed. Moved it + common/agent.c. + Update callers. + +2012-03-03 Yao Qi + + * tracepoint.c (gdb_agent_capability): New global. + (in_process_agent_loaded_ust): Renamed to + `in_process_agent_supports_ust'. + Update callers. + (in_process_agent_supports_ust): Call agent_capability_check. + (clear_installed_tracepoints): Assert that agent supports + agent. + +2012-03-03 Yao Qi + + * linux-low.c (linux_supports_agent): New. + (linux_target_ops): Initialize field `supports_agent' with + linux_supports_agent. + * target.h (struct target_ops) : New. + (target_supports_agent): New macro. + * server.c (handle_general_set): Handle packet 'QAgent'. + (handle_query): Send `QAgent+'. + * Makefile.in (server.o): Depends on agent.h. + +2012-03-03 Yao Qi + + * Makefile.in (OBS): Add agent.o. + Add new rule for agent.o. + Track dependence of tracepoint.c on agent.h. + * tracepoint.c (run_inferior_command_1): + (run_inferior_command): Call agent_run_command. + (gdb_ust_connect_sync_socket): Deleted. Move it to + common/agent.c. + (resume_thread, stop_thread): Likewise. + (gdb_ust_socket_init): Renamed to ... + (gdb_agent_socket_init): ... New. + (gdb_ust_thread): Renamed to ... + (gdb_agent_helper_thread): ... New. + (gdb_ust_init): Move some code to ... + (gdb_agent_init): ... here. New. + [HAVE_UST]: Call gdb_ust_init. + (initialize_tracepoint_ftlib): Call gdb_agent_init. + * configure.ac: Add `sys/un.h' to AC_CHECK_HEADERS. + * config.in, configure: Regenerated. + +2012-03-02 Pedro Alves + + * inferiors.c (add_pid_to_list, pull_pid_from_list): Delete. + * linux-low.c (struct simple_pid_list): New. + (stopped_pids): New a struct simple_pid_list pointer. + (add_to_pid_list, pull_pid_from_list): New. + (handle_extended_wait): Don't assume the first signal new children + report is SIGSTOP. Adjust call to pull_pid_from_list. + (linux_wait_for_lwp): Adjust. + +2012-03-02 Yao Qi + + * tracepoint.c (do_action_at_tracepoint): Write `stop_pc' in + debug log. + +2012-03-02 Yao Qi + + * tracepoint.c (collect_ust_data_at_tracepoint): Remove parameters + `stop_pc' and `tpoint'. Update caller. + +2012-03-01 Maciej W. Rozycki + + * linux-low.h (linux_target_ops): Add regset_bitmap member. + * linux-low.c (use_linux_regsets): New macro. + [!HAVE_LINUX_REGSETS] (regsets_fetch_inferior_registers): Likewise. + [!HAVE_LINUX_REGSETS] (regsets_store_inferior_registers): Likewise. + (linux_register_in_regsets): New function. + (usr_fetch_inferior_registers): Skip registers covered by + regsets. + (usr_store_inferior_registers): Likewise. + (usr_fetch_inferior_registers): New macro. + (usr_store_inferior_registers): Likewise. + (linux_fetch_registers): Handle mixed regset/non-regset targets. + (linux_store_registers): Likewise. + * linux-mips-low.c (init_registers_mips_dsp_linux): New + prototype. + (init_registers_mips64_dsp_linux): Likewise. + (init_registers_mips_linux): New macro. + (init_registers_mips_dsp_linux): Likewise. + (mips_dsp_num_regs): Likewise. + (DSP_BASE, DSP_CONTROL): New fallback macros. + (mips_base_regs): New macro. + (mips_regmap): Use it. Fix the size. + (mips_dsp_regmap): New variable. + (mips_dsp_regset_bitmap): Likewise. + (mips_arch_setup): New function. + (mips_cannot_fetch_register): Use the_low_target.regmap rather + than mips_regmap. + (mips_cannot_store_register): Likewise. + (the_low_target): Update .arch_setup, .num_regs and .regmap + initializers. Add .regset_bitmap initializer. + * linux-arm-low.c (the_low_target): Add .regset_bitmap + initializer. + * linux-bfin-low.c (the_low_target): Likewise. + * linux-cris-low.c (the_low_target): Likewise. + * linux-crisv32-low.c (the_low_target): Likewise. + * linux-ia64-low.c (the_low_target): Likewise. + * linux-m32r-low.c (the_low_target): Likewise. + * linux-m68k-low.c (the_low_target): Likewise. + * linux-ppc-low.c (the_low_target): Likewise. + * linux-s390-low.c (the_low_target): Likewise. + * linux-sh-low.c (the_low_target): Likewise. + * linux-sparc-low.c (the_low_target): Likewise. + * linux-tic6x-low.c (the_low_target): Likewise. + * linux-x86-low.c (the_low_target): Likewise. + * linux-xtensa-low.c (the_low_target): Likewise. + * configure.srv : Add mips-dsp-linux.o and + mips64-dsp-linux.o to srv_regobj. Add mips-dsp-linux.xml, + mips64-dsp-linux.xml, mips-dsp.xml and mips64-dsp.xml to + srv_xmlfiles. + * Makefile.in (mips-dsp-linux.o, mips-dsp-linux.c): New targets. + (mips64-dsp-linux.o, mips64-dsp-linux.c): Likewise. + +2012-02-29 Yao Qi + Pedro Alves + + * linux-low.c: (linux_wait_1): Call unsuspend_all_lwps when + `step_over_finished' is true. + +2012-02-27 Pedro Alves + + * linux-low.c (pid_is_stopped): Delete, moved to common/. + (linux_attach_lwp_1): Adjust to use linux_proc_pid_is_stopped. + +2012-02-27 Pedro Alves + + PR server/9684 + * linux-low.c (pid_is_stopped): New. + (linux_attach_lwp_1): Handle attaching to 'T (stopped)' processes. + +2012-02-25 Luis Machado + + * mem-break.c (clear_gdb_breakpoint_conditions): Fix de-allocation + of conditions. + +2012-02-24 Maciej W. Rozycki + + * linux-mips-low.c (mips_regmap): Correct the index of $f9. + +2012-02-24 Luis Machado + + * server.c (handle_query): Advertise support for target-side + breakpoint condition evaluation. + (process_point_options): New function. + (process_serial_event): When inserting a breakpoint, check for + a target-side condition that should be evaluated. + + * mem-break.c: Include regcache.h and ax.h. + (point_cond_list_t): New data structure. + (breakpoint) : New field. + (find_gdb_breakpoint_at): Make non-static. + (delete_gdb_breakpoint_at): Clear any target-side + conditions. + (clear_gdb_breakpoint_conditions): New function. + (add_condition_to_breakpoint): Likewise. + (add_breakpoint_condition): Likewise. + (gdb_condition_true_at_breakpoint): Likewise. + (gdb_breakpoint_here): Return result directly instead + of going through a local variable. + + * mem-break.h (find_gdb_breakpoint_at): New prototype. + (clear_gdb_breakpoint_conditions): Likewise. + (add_breakpoint_condition): Likewise. + (gdb_condition_true_at_breakpoint): Likewise. + + * linux-low.c (linux_wait_1): Evaluate target-side breakpoint condition. + (need_step_over_p): Take target-side breakpoint condition into + consideration. + +2012-02-24 Luis Machado + + * server.h: Include tracepoint.h. + (agent_mem_read, agent_get_trace_state_variable_value, + agent_set_trace_state_variable_value, + agent_tsv_read, agent_mem_read_string, get_get_tsv_func_addr, + get_set_tsv_func_addr): New prototypes. + + * ax.h: New include file. + * ax.c: New source file. + + * tracepoint.c: Include ax.h. + (gdb_agent_op, gdb_agent_op_names, gdb_agent_op_sizes, + agent_expr, eval_result_type): Move to ax.h. + (parse_agent_expr): Rename to ... + (gdb_parse_agent_expr): ... this, make it non-static and move + to ax.h. + (unparse_agent_expr) Rename to ... + (gdb_unparse_agent_expr): ... this, make it non-static and move + to ax.h. + (eval_agent_expr): Rename to ... + (eval_tracepoint_agent_expr): ... this. + (agent_mem_read, agent_mem_read_string, agent_tsv_read): Remove + forward declarations. + (add_tracepoint_action): Call gdb_parse_agent_expr (...). + (agent_get_trace_state_variable_value): New function. + (agent_set_trace_state_variable_value): New function. + (cmd_qtdp): Call gdb_parse_agent_expr (...). + (response_tracepoint): Call gdb_unparse_agent_expr (...). + (do_action_at_tracepoint): Call eval_tracepoint_agent_expr (...). + (condition_true_at_tracepoint): Likewise. + (parse_agent_expr): Rename to ... + (gdb_parse_agent_expr): ... this and move to ax.c. + (unparse_agent_expr): Rename to ... + (gdb_unparse_agent_expr): ... this and move to ax.c. + (gdb_agent_op_name): Move to ax.c. + (eval_agent_expr): Rename to ... + (gdb_eval_agent_expr): ... this, use regcache passed as parameter + and move to ax.c. + (eval_tracepoint_agent_expr): New function. + (agent_mem_read, agent_mem_read_string, agent_tsv_read): Make + non-static. + (current_insn_ptr, emit_error, struct bytecode_address): Move to + ax.c. + (emit_prologue, emit_epilogue, emit_add, emit_sub, emit_mul, emit_lsh, + emit_rsh_signed, emit_rsh_unsigned, emit_ext, emit_log_not, + emit_bit_and, emit_bit_or, emit_bit_xor, emit_bit_not, emit_equal, + emit_less_signed, emit_less_unsigned, emit_ref, emit_if_goto, + emit_goto, write_goto_address, emit_const, emit_reg, emit_pop, + emit_stack, emit_zero_ext, emit_swap, emit_stack_adjust, + emit_int_call_1, emit_void_call_2, emit_eq_goto, emit_ne_goto, + emit_lt_goto, emit_ge_goto, emit_gt_goto, emit_le_goto): Move to ax.c. + (get_get_tsv_func_addr, get_set_tsv_func_addr): New functions. + (compile_bytecodes): Remove forward declaration. + (is_goto_target): Move to ax.c. + (compile_bytecodes): Move to ax.c and call + agent_get_trace_state_variable_value (...) and + agent_set_trace_state_variable_value (...). + + * Makefile.in: Update ax.c and IPA dependencies. + +2012-02-24 Pedro Alves + + * tracepoint.c (cmd_bigqtbuffer): Rename as ... + (cmd_bigqtbuffer_circular): ... this. Only handle + 'QTBuffer:circular:'. + (handle_tracepoint_general_set): Adjust. + +2012-02-16 Yao Qi + + * inferiors.c: Move code to ... + * dll.c: .... here. New. + * server.h: Declare clear_dlls. + * Makefile.in (SFILES): Add dll.c. + (OBS): Add dll.o + (dll.o): New rule. + +2012-02-11 Yao Qi + + * server.c: (handle_monitor_command): Add a new parameter + `own_buf'. + (handle_query): Update caller. + +2012-02-09 Joel Brobecker + + * configure.ac: Add readlink to AC_CHECK_FUNCS list. + * configure, config.in: Regenerate. + * hostio.c: Provide an alternate implementation if HAVE_READLINK + is not defined. + +2012-02-02 Pedro Alves + + Try SIGKILL first, then PTRACE_KILL. + * linux-low.c (linux_kill_one_lwp): New. + (linux_kill_one_lwp): Rename to ... + (kill_one_lwp_callback): ... this. Use the new + linux_kill_one_lwp. + +2012-02-02 Pedro Alves + + * tracepoint.c (cmd_qtminftpilen): Return 0 if there's no current + inferior. + +2012-01-27 Pedro Alves + + * linux-low.c (linux_child_pid_to_exec_file): Delete. + (elf_64_file_p): Make static. + (linux_pid_exe_is_elf_64_file): New. + * linux-low.h (linux_child_pid_to_exec_file, elf_64_file_p): + Delete declarations. + (linux_pid_exe_is_elf_64_file): Declare. + * linux-x86-low.c (x86_arch_setup): Use + linux_pid_exe_is_elf_64_file. + +2012-01-25 Jan Kratochvil + + * linux-low.c (linux_wait_for_event_1): Rename to ... + (linux_wait_for_event): ... here and merge it with former + linux_wait_for_event - new variable wait_ptid, use it. + (linux_wait_for_event): Remove - merge it to linux_wait_for_event_1. + +2012-01-23 Pedro Alves + + * server.c (main): Avoid yet another case of infinite loop while + detaching/killing after a longjmp. + +2012-01-20 Jan Kratochvil + + Code cleanup. + * linux-low.c (linux_wait_for_event_1): Use ptid_is_pid. + +2012-01-20 Ulrich Weigand + + * hostio.c (handle_readlink): New function. + (handle_vFile): Call it to handle "vFile:readlink" packets. + +2012-01-20 Pedro Alves + Ulrich Weigand + + * server.c (handle_v_requests): Only support vAttach and vRun to + start multiple processes when in extended protocol mode. + +2012-01-17 Pedro Alves + + * tracepoint.c (initialize_tracepoint): Use mmap instead of + memalign plus mprotect to allocate the scratch buffer. + +2012-01-13 Pedro Alves + + * server.c (attach_inferior): Clear `cont_thread'. + +2012-01-13 Pedro Alves + + * server.c (main): Avoid infinite loop while detaching/killing + after a longjmp. + +2012-01-09 Doug Evans + + * server.c (start_inferior): Set last_ptid in --wrapper case. + +2012-01-06 Yao Qi + + * tracepoint.c [IN_PROCESS_AGENT] (debug_threads): Macro + defined. + [IN_PROCESS_AGENT] (debug_agent): New global variable. + +2012-01-04 Yao Qi + + * tracepoint.c (cmd_qtdp): Print debug message + for static tracepoint. + +2012-01-04 Yao Qi + + * tracepoint.c (trace_vdebug): Differentiate debug message + between gdbserver and IPA. + +2012-01-03 Yao Qi + + * tracepoint.c (tracepoint_was_hit): Don't collect for + static tracepoint. + +2012-01-02 Joel Brobecker + + * terminal.h: Reformat copyright header. + +2012-01-02 Joel Brobecker + + * server.c (gdbserver_version): Update copyright year. + * gdbreplay.c (gdbreplay_version): Likewise. + +2011-12-18 Jan Kratochvil + + * linux-low.c (linux_create_inferior): Put empty if clause for write. + + Revert: + 2011-12-18 Hui Zhu + * linux-low.c (linux_create_inferior): Save return value to ret. + +2011-12-18 Hui Zhu + + * linux-low.c (linux_create_inferior): Save return value to ret. + +2011-12-16 Doug Evans + + * linux-low.c (linux_create_inferior): If stdio connection, + redirect stdin from /dev/null, stdout to stderr. + * remote-utils.c (remote_is_stdio): New static global. + (remote_connection_is_stdio): New function. + (remote_prepare): Handle stdio connection. + (remote_open): Ditto. + (remote_close): Don't close stdin for stdio connections. + (read_prim,write_prim): New functions. Replace all calls to + read/write to these. + * server.c (main): Watch for "-" argument. Move call to + remote_prepare before start_inferior. + * server.h (STDIO_CONNECTION_NAME): New macro. + (remote_connection_is_stdio): Declare. + + * remote-utils.c (prepare_resume_reply): Remove extraneous \n + in debugging output. + +2011-12-15 Yao Qi + + * tracepoint.c: Include sys/syscall.h. + (gdb_ust_thread): Remove preprocessor conditional. + +2011-12-14 Pedro Alves + + * linux-low.c (linux_detach_one_lwp): Call + the_low_target.prepare_to_resume before detaching. + +2011-12-14 Yao Qi + + * tracepoint.c (gdb_ust_thread): Don't ignore return value + of write. + +2011-12-14 Yao Qi + + * i386-low.c (i386_low_stopped_data_address): Initialize local + variable `control'. + +2011-12-13 Pedro Alves + + PR remote/13492 + + * i386-low.c (i386_low_stopped_data_address): Avoid fetching + DR_CONTROL unless necessary. Extend comments. + * linux-x86-low.c (x86_linux_prepare_to_resume): Don't write to + DR0-3 if not used. If any watchpoint was set, clear DR_STATUS. + +2011-12-13 Yao Qi + + * tracepoint.c (trace_buffer_alloc): Replace magic numbers with + macros. + (upload_fast_traceframes, upload_fast_traceframes): Likewise. + +2011-12-08 Jan Kratochvil + + * linux-low.c (linux_kill): Skip PTRACE_KILL if LWP does not exist. + Print new debug message for such case. + +2011-12-06 Jan Kratochvil + + Fix overlapping memcpy. + * mem-break.c (set_raw_breakpoint_at): New variable buf. Use it for + the read_inferior_memory transfer. + (delete_fast_tracepoint_jump): New variable buf. Use it for the + write_inferior_memory transfer. + (set_fast_tracepoint_jump): New variable buf. Use it for the + read_inferior_memory and write_inferior_memory transfers. + (uninsert_fast_tracepoint_jumps_at, reinsert_fast_tracepoint_jumps_at) + (delete_raw_breakpoint, uninsert_raw_breakpoint): New variable buf. + Use it for the write_inferior_memory transfer. + (check_mem_read, check_mem_write): New gdb_asserts for overlapping + buffers. + +2011-12-06 Maciej W. Rozycki + + * linux-low.c (fetch_register, store_register): Make code + consistent, fix formatting. + +2011-12-06 Maciej W. Rozycki + + * linux-low.c (usr_store_inferior_registers): Factor out code + to handle individual registers into... + (store_register): ... this new function. + +2011-12-06 Ulrich Weigand + + * Makefile.in (s390-linux32v1.o, s390-linux32v1.c): New rules. + (s390-linux32v2.o, s390-linux32v2.c): Likewise. + (s390-linux64v1.o, s390-linux64v1.c): Likewise. + (s390-linux64v2.o, s390-linux64v2.c): Likewise. + (s390x-linux64v1.o, s390x-linux64v1.c): Likewise. + (s390x-linux64v2.o, s390x-linux64v2.c): Likewise. + * configure.srv [s390*-*-linux*] (srv_regobj): Add new objects. + (srv_xmlfiles): Add new XML files. + + * linux-s390-low.c: Include "elf/common.h", , + and . + (PTRACE_GETREGSET, PTRACE_SETREGSET): Define if undefined. + (init_registers_s390_linux32v1): Add prototype. + (init_registers_s390_linux32v2): Likewise. + (init_registers_s390_linux64v1): Likewise. + (init_registers_s390_linux64v2): Likewise. + (init_registers_s390x_linux64v1): Likewise. + (init_registers_s390x_linux64v2): Likewise. + (s390_num_regs): Increment to 52. + (s390_regmap): Add orig_r2 register. + (s390_num_regs_3264): Increment to 68. + (s390_regmap_3264): Add orig_r2 register. + (s390_collect_ptrace_register): Handle orig_r2 register. + (s390_supply_ptrace_register): Likewise. + (s390_fill_last_break): New function. + (s390_store_last_break): Likewise. + (s390_fill_system_call): New function. + (s390_store_system_call): Likewise. + (target_regsets): Handle NT_S390_LAST_BREAK and NT_S390_SYSTEM_CALL + register sets. + (s390_check_regset): New function. + (s390_arch_setup): Check for presence of NT_S390_LAST_BREAK and + NT_S390_SYSTEM_CALL regsets and use appropriate description. + Update target_regsets for available register sets. + +2011-12-02 Paul Pluzhnikov + Jan Kratochvil + + * linux-low.c (get_phdr_phnum_from_proc_auxv, get_dynamic, get_r_debug) + (read_one_ptr, struct link_map_offsets, linux_qxfer_libraries_svr4): + New. + (struct linux_target_ops): Install linux_qxfer_libraries_svr4. + * linux-low.h (struct process_info_private): New member r_debug. + * server.c (handle_qxfer_libraries): Call + the_target->qxfer_libraries_svr4. + (handle_qxfer_libraries_svr4): New function. + (qxfer_packets): New entry "libraries-svr4". + (handle_query): Check QXFER_LIBRARIES_SVR4 and report libraries-svr4. + * target.h (struct target_ops): New member qxfer_libraries_svr4. + * remote.c (remote_xfer_partial): Call add_packet_config_cmd for + PACKET_qXfer_libraries_svr4. + +2011-11-30 Ulrich Weigand + + * linux-s390-low.c (s390_collect_ptrace_register): Fully convert + PSW address/mask between 8-byte and 16-byte formats. + (s390_supply_ptrace_register): Likewise. + (s390_get_pc, s390_set_pc): 4-byte PSW address always includes + basic addressing mode bit. + +2011-11-24 Stan Shebs + + * tracepoint.c (cmd_qtstatus): Use plongest instead of %llx. + +2011-11-17 Stan Shebs + + * tracepoint.c (struct tracepoint): New field traceframe_usage. + (tracing_start_time): New global. + (tracing_stop_time): New global. + (tracing_user_name): New global. + (tracing_notes): New global. + (tracing_stop_note): New global. + (cmd_qtstart): Set traceframe_usage, start_time. + (stop_tracing): Set stop_time. + (cmd_qtstatus): Report additional status. + (cmd_qtp): New function. + (handle_tracepoint_query): Call it. + (cmd_qtnotes): New function. + (handle_tracepoint_general_set): Call it. + (get_timestamp): Rename from tsv_get_timestamp. + +2011-11-14 Stan Shebs + Kwok Cheung Yeung + + * linux-x86-low.c (small_jump_insn): New. + (i386_install_fast_tracepoint_jump_pad): Add arguments for + trampoline and error message, build a trampoline and issue a small + jump instruction to it. + (x86_install_fast_tracepoint_jump_pad): Add arguments for + trampoline and error message. + (x86_get_min_fast_tracepoint_insn_len): New. + (the_low_target): Add call to x86_get_min_fast_tracepoint_insn_len. + * linux-low.h (struct linux_target_ops): Add arguments to + install_fast_tracepoint_jump_pad operation, add new operation. + * linux-low.c (linux_install_fast_tracepoint_jump_pad): Add + arguments. + (linux_get_min_fast_tracepoint_insn_len): New function. + (linux_target_op): Add new operation. + * tracepoint.c (gdb_trampoline_buffer): New IPA variable. + (gdb_trampoline_buffer_end): Ditto. + (gdb_trampoline_buffer_error): Ditto. + (struct ipa_sym_addresses): Add fields for new IPA variables. + (symbol_list): Add entries for new IPA variables. + (struct tracepoint): Add fields to hold the address range of the + trampoline used by the tracepoint. + (trampoline_buffer_head): New static variable. + (trampoline_buffer_tail): Ditto. + (claim_trampoline_space): New function. + (have_fast_tracepoint_trampoline_buffer): New function. + (clone_fast_tracepoint): Fill in trampoline fields of tracepoint + structure. + (install_fast_tracepoint): Ditto, also add error buffer argument. + (cmd_qtminftpilen): New function. + (handle_tracepoint_query): Add response to qTMinFTPILen packet. + (fast_tracepoint_from_trampoline_address): New function. + (fast_tracepoint_collecting): Handle trampoline as part of jump + pad space. + (set_trampoline_buffer_space): New function. + (initialize_tracepoint): Initialize new IPA variables. + * target.h (struct target_ops): Add arguments to + install_fast_tracepoint_jump_pad operation, add new + get_min_fast_tracepoint_insn_len operation. + (target_get_min_fast_tracepoint_insn_len): New. + (install_fast_tracepoint_jump_pad): Add arguments. + * server.h (IPA_BUFSIZ): Define. + * linux-i386-ipa.c: Include extra header files. + (initialize_fast_tracepoint_trampoline_buffer): New function. + (initialize_low_tracepoint): Call it. + * server.h (set_trampoline_buffer_space): Declare. + (claim_trampoline_space): Ditto. + (have_fast_tracepoint_trampoline_buffer): Ditto. + +2011-11-14 Yao Qi + + * server.c (handle_query): Handle InstallInTrace for qSupported. + * tracepoint.c (add_tracepoint): Sort list. + (install_tracepoint, download_tracepoint): New. + (cmd_qtdp): Call them to install and download tracepoints. + (sort_tracepoints): Removed. + (cmd_qtstart): Update. + +2011-11-14 Yao Qi + + * mem-break.c (inc_ref_fast_tracepoint_jump): New. + * mem-break.h: Declare. + * tracepoint.c (cmd_qtstart): Move some code to ... + (clone_fast_tracepoint, install_fast_tracepoint): ... here. + New. + (download_tracepoints): Move some code to ... + (download_tracepoint_1): ... here. New. + +2011-11-08 Yao Qi + + * remote-utils.c (relocate_instruction): A comment fix. + +2011-11-07 Joel Brobecker + + * win32-i386-low.c (dr_status_mirror, dr_control_mirror): Delete. + (i386_dr_low_get_control, i386_dr_low_get_status): Use + dr_status_mirror and dr_control_mirror from debug_reg_state. + (i386_dr_low_get_status): Use debug_reg_state.dr_status_mirror + (i386_initial_stuff): Remove use of deleted globals. + (i386_get_thread_context, i386_set_thread_context, + i386_thread_added): Use dr_status_mirror and dr_control_mirror + from debug_reg_state. + +2011-11-05 Yao Qi + + * tracepoint.c (gdb_collect): Loop over tracepoints of same + address as TPOINT's. + +2011-11-02 Stan Shebs + + * tracepoint.c (agent_mem_read_string): New function. + (eval_agent_expr): Call it for tracenz. + * server.c (handle_query): Report support for tracenz. + +2011-11-02 Yao Qi + + * tracepoint.c (cmd_qtstart): Remove unused local variables. + +2011-11-02 Yao Qi + + * target.h: Fix a typo in comment. + +2011-10-31 Pedro Alves + + * mem-break.c (check_mem_write): Add `myaddr' parameter. Don't + clobber the breakpoints' shadows with fast tracepoint jumps. + * mem-break.h (check_mem_write): Add `myaddr' parameter. + * target.c (write_inferior_memory): Also pass MYADDR down to + check_mem_write. + +2011-10-07 Ulrich Weigand + + * configure.ac: Check support for personality routine. + * configure: Regenerate. + * config.in: Likewise. + * linux-low.c: Include . + Define ADDR_NO_RANDOMIZE if necessary. + (linux_create_inferior): Disable address space randomization when + forking inferior, if requested. + (linux_supports_disable_randomization): New function. + (linux_target_ops): Install it. + * server.h (disable_randomization): Declare. + * server.c (disable_randomization): New global variable. + (handle_general_set): Handle QDisableRandomization. + (handle_query): Likewise for qSupported. + (main): Support --disable-randomization and --no-disable-randomization + command line arguments. + * target.h (struct target_ops): Add supports_disable_randomization. + (target_supports_disable_randomization): New macro. + +2011-09-29 Mike Frysinger + + * linux-low.c (target_loadseg): Add defined PTRACE_GETFDPIC to the + ifdef check. + [PT_GETDSBT] (target_loadmap): Wrap in a defined PT_GETDSBT check. + [!PT_GETDSBT] (target_loadmap): New definition. + (LINUX_LOADMAP, LINUX_LOADMAP_EXEC, LINUX_LOADMAP_INTERP): Define. + (linux_read_loadmap): Change PTRACE_GETDSBT_EXEC to + LINUX_LOADMAP_EXEC, PTRACE_GETDSBT_INTERP to LINUX_LOADMAP_INTERP, + and PT_GETDSBT to LINUX_LOADMAP. + [!PT_GETDSBT] (linux_read_loadmap): Define to NULL. + (linux_target_ops): Delete unnecessary ifdef PT_GETDSBT check. + +2011-09-21 Ulrich Weigand + + * linux-arm-low.c (struct arm_linux_hwbp_cap): Remove. + (arm_linux_hwbp_cap): New static variable. + (arm_linux_get_hwbp_cap): Replace by ... + (arm_linux_init_hwbp_cap): ... this new function. + (arm_linux_get_hw_breakpoint_count): Use arm_linux_hwbp_cap. + (arm_linux_get_hw_watchpoint_count): Likewise. + (arm_linux_get_hw_watchpoint_max_length): Likewise. + (arm_arch_setup): Call arm_linux_init_hwbp_cap. + (arm_prepare_to_resume): Use perror_with_name instead of error. + +2011-09-21 Ulrich Weigand + + * linux-arm-low.c: Include . + (PTRACE_GETHBPREGS, PTRACE_SETHBPREGS): Define if necessary. + (struct arm_linux_hwbp_cap): New data type. + (arm_hwbp_type, arm_hwbp_control_t): New typedefs. + (struct arm_linux_hw_breakpoint): New data type. + (MAX_BPTS, MAX_WPTS): Define. + (struct arch_process_info, struct arch_lwp_info): New data types. + (arm_linux_get_hwbp_cap): New function. + (arm_linux_get_hw_breakpoint_count): Likewise. + (arm_linux_get_hw_watchpoint_count): Likewise. + (arm_linux_get_hw_watchpoint_max_length): Likewise. + (arm_hwbp_control_initialize): Likewise. + (arm_hwbp_control_is_enabled): Likewise. + (arm_hwbp_control_is_initialized): Likewise. + (arm_hwbp_control_disable): Likewise. + (arm_linux_hw_breakpoint_equal): Likewise. + (arm_linux_hw_point_initialize): Likewise. + (struct update_registers_data): New data structure. + (update_registers_callback: New function. + (arm_insert_point): Likewise. + (arm_remove_point): Likewise. + (arm_stopped_by_watchpoint): Likewise. + (arm_stopped_data_address): Likewise. + (arm_new_process): Likewise. + (arm_new_thread): Likewise. + (arm_prepare_to_resume): Likewise. + (the_low_target): Register arm_insert_point, arm_remove_point, + arm_stopped_by_watchpoint, arm_stopped_data_address, arm_new_process, + arm_new_thread, and arm_prepare_to_resume. + +2011-09-15 Stan Shebs + + * server.h (struct emit_ops): Add compare-goto fields. + * tracepoint.c (gdb_agent_op_sizes): New table. + (emit_eq_goto): New function. + (emit_ne_goto): New function. + (emit_lt_goto): New function. + (emit_le_goto): New function. + (emit_gt_goto): New function. + (emit_ge_goto): New function. + (is_goto_target): New function. + (compile_bytecodes): Recognize special cases of compare-goto + combinations and call specialized emitters for them. + * linux-x86-low.c (amd64_emit_eq_goto): New function. + (amd64_emit_ne_goto): New function. + (amd64_emit_lt_goto): New function. + (amd64_emit_le_goto): New function. + (amd64_emit_gt_goto): New function. + (amd64_emit_ge_goto): New function. + (amd64_emit_ops): Add the new functions. + (i386_emit_eq_goto): New function. + (i386_emit_ne_goto): New function. + (i386_emit_lt_goto): New function. + (i386_emit_le_goto): New function. + (i386_emit_gt_goto): New function. + (i386_emit_ge_goto): New function. + (i386_emit_ops): Add the new functions. + +2011-09-08 Stan Shebs + + * linux-x86-low.c (i386_emit_prologue): Save %ebx. + (i386_emit_epilogue): Restore %ebx. + +2011-08-31 Jie Zhang + + * server.c (step_thread): Remove definition. + (process_serial_event): Don't handle Hs. + * server.h (step_thread): Remove declaration. + * target.c (set_desired_inferior): Remove use of step_thread. + +2011-08-24 Luis Machado + + * linux-low.c: Include linux-procfs.h. + (linux_attach_lwp_1): Update comments. + (linux_attach): Scan for existing threads when attaching to a + process that is the tgid. + * Makefile.in: Update dependencies. + +2011-08-24 Luis Machado + + * configure.srv: Add linux-procfs.o dependencies. + +2011-08-14 Yao Qi + + * target.h (struct target_ops): Fix indent. + * win32-low.c (win32_target_ops): Fix comment. + +2011-08-14 Andrew Jenner + Yao Qi + + * Makefile.in (clean): Remove tic6x-*.c files. + (linux-tic6x-low.o, tic6x-c62x-linux.o, tic6x-c64x-linux.o): New rules. + (tic6x-c64xp-linux.o, tic6x-c62x-linux.c, tic6x-c64x-linux.c): Likewise. + (tic6x-c64xp-linux.c): Likewise. + * configure.srv: Add support for tic6x-*-uclinux. + * linux-tic6x-low.c: New. + * linux-low.c (PT_TEXT_ADDR, PT_DATA_ADDR, PT_TEXT_END_ADDR): Define. + +2011-08-14 Andrew Stubbs + Yao Qi + + * target.h (struct target_ops): Add read_loadmap. + * linux-low.c (struct target_loadseg): New type. + (struct target_loadmap): New type. + (linux_read_loadmap): New function. + (linux_target_ops): Add linux_read_loadmap. + * server.c (handle_query): Support qXfer:fdpic:read packet. + * win32-low.c (win32_target_ops): Initialize field `read_loadmap' + to NULL. + +2011-08-05 Eli Zaretskii + + * win32-low.c: Include . + +2011-07-22 Pedro Alves + + * i386-low.c (i386_insert_aligned_watchpoint): Don't pass the info + to the inferior here. + (i386_remove_aligned_watchpoint): Ditto. + (i386_handle_nonaligned_watchpoint): Return immediate on fail to + fit part of the watchpoint in the debug registers. + (i386_update_inferior_debug_regs): New. + (i386_low_insert_watchpoint): Work on a local mirror of the debug + registers, and only update the inferior on success. + (i386_low_remove_watchpoint): Ditto. + +2011-07-22 Kwok Cheung Yeung + + * linux-low.c (compare_ints, unique, list_threads, show_process, + linux_core_of_thread): Delete. + (linux_target_ops): Change linux_core_of_thread to + linux_common_core_of_thread. + (linux_qxfer_osdata): Defer to linux_common_xfer_osdata. + * utils.c (malloc_failure): Change type of argument. + (xmalloc, xrealloc, xcalloc, xsnprintf): Delete. + * Makefile.in (SFILES): Add common/common-utils.c, common/xml-utils.c, + common/linux-osdata.c, common/ptid.c and common/buffer.c. + (OBS): Add xml-utils.o, common-utils.o, ptid.o and buffer.o. + (IPA_OBJS): Add common-utils-ipa.o. + (ptid_h, linux_osdata_h): New macros. + (server_h): Add common/common-utils.h, common/xml-utils.h, + common/buffer.h, common/gdb_assert.h, common/gdb_locale.h and + common/ptid.h. + (common-utils-ipa.o, common-utils.o, xml-utils.o, linux-osdata.o, + ptid.o, buffer.o): New rules. + (linux-low.o): Add common/linux-osdata.h as a dependency. + * configure.srv (srv_tgtobj): Add linux-osdata.o to Linux targets. + * configure.ac: Add AC_HEADER_DIRENT check. + * config.in: Regenerate. + * configure: Regenerate. + * remote-utils.c (xml_escape_text): Delete. + (buffer_grow, buffer_free, buffer_init, buffer_finish, + buffer_xml_printf): Move to common/buffer.c. + * server.c (main): Remove call to initialize_inferiors. + * server.h (struct ptid, ptid_t, minus_one_ptid, null_ptid, + ptid_build, pid_to_ptid, ptid_get_pid, ptid_get_lwp, ptid_get_tid, + ptid_equal, ptid_is_pid, initialize_inferiors, xml_escape_text, + internal_error, gdb_assert, gdb_assert_fail): Delete. + (struct buffer, buffer_grow, buffer_free, buffer_init, buffer_finish, + buffer_xml_printf, buffer_grow_str, buffer_grow_str0): Move to + common/buffer.h. + * inferiors.c (null_ptid, minus_one_ptid, ptid_build, pid_to_ptid, + ptid_get_pid, ptid_get_lwp, ptid_get_tid, ptid_equal, ptid_is_pid, + initialize_inferiors): Delete. + +2011-07-20 Pedro Alves + + * tracepoint.c (tracepoint_look_up_symbols): Return upon the first + symbol error. + +2011-05-31 Pedro Alves + + * linux-x86-low.c (i386_dr_low_get_addr): Fix off by one in + assertion. + * win32-i386-low.c (i386_dr_low_get_addr): Ditto. + +2011-05-26 Yao Qi + + * Makefile.in (thread-db.o): Track dependence to + common/gdb_thread_db.h. + * thread-db.c: include gdb_thread_db.h from right place. + +2011-05-16 Adrian Cornish + + * linux-i386-ipa.c (supply_static_tracepoint_registers): Pass + __FILE__ and __LINE__ to internal_error. + +2011-05-13 Doug Evans + + * thread-db.c (try_thread_db_load_from_sdir): New function. + (try_thread_db_load_from_dir): New function. + (thread_db_load_search): Handle $sdir, ignore $pdir. + Remove trying of system directories if search of + libthread-db-search-path fails, that is now done via $sdir. + +2011-05-12 Kwok Cheung Yeung + + * server.c (handle_query): Add EnableDisableTracepoints to the list + of supported features. + * tracepoint.c (clear_installed_tracepoints): Uninstall disabled + tracepoints. + (cmd_qtenable_disable): New. + (cmd_qtstart): Install tracepoints even if disabled. + (handle_tracepoint_general_set): Add call to cmd_qtenable_disable on + receiving a QTEnable or QTDisable packet. + (gdb_collect): Skip data collection if fast tracepoint is disabled. + (ust_marker_to_static_tracepoint): Do not ignore disabled static + tracepoints. + (gdb_probe): Skip data collection if static tracepoint is disabled. + +2011-05-10 Doug Evans + + * thread-db.c (thread_db_handle_monitor_command): Handle elided path. + +2011-05-04 Doug Evans + + * linux-low.c (linux_join): Skip process lookup. + * spu-low.c (spu_join): Ditto. + * server.c (join_inferiors_callback): Delete. + (process_serial_event): For 'D' packet (detach) call join_inferior + directly. + +2011-05-04 Joseph Myers + + * README: Don't mention xscale*-*-linux*. + * configure.srv (xscale*-*-linux*): Don't handle target. + +2011-04-27 Nathan Froyd + + * linux-x86-low.c (amd64_emit_const): Call memcpy instead of + casting pointers. + (amd64_emit_reg, amd64_emit_int_call_1, amd64_emit_void_call_2): + (i386_emit_const, i386_emit_reg, i386_emit_int_call_1): + (i386_emit_void_call_2): Likewise. + +2011-04-26 Yao Qi + + * linux-low.c: Move common macros to linux-ptrace.h. + Include linux-ptrace.h. + * Makefile.in (linux_ptrace_h): New. + (linux-low.o): Depends on linux-ptrace.h. + +2011-04-24 Jan Kratochvil + + * remote-utils.c (handle_accept_event): Close LISTEN_DESC only if + RUN_ONCE. Comment for the LISTEN_DESC delete_file_handler call. + (remote_prepare): New function with most of the TCP code from ... + (remote_open): ... here. Detect PORT here unconditionally. Move also + setting transport_is_reliable. + * server.c (run_once): New variable. + (gdbserver_usage): Document it. + (main): Set run_once for `--once'. Call remote_prepare. Exit after + the first run if RUN_ONCE. + * server.h (run_once, remote_prepare): New declarations. + +2011-04-19 Tom Tromey + + * win32-low.c (handle_load_dll): Remove duplicate "the". + +2011-04-07 Pierre Muller + + Remove support for old Cygwin 1.5 versions. + * win32-low.c (win32_create_inferior): Use new cygwin_path_list + function to avoid warning. + (win32_add_one_solib): Use cygwin_conv_path function to avoid + warning. + +2011-03-18 Pierre Muller + + * gdbserver/server.h (Macro _): Define it if not available. + +2011-03-14 Michael Snyder + + * hostio.c (handle_close): Remove unnecessary null test. + +2011-03-10 Joel Brobecker + + * Makefile.in (maintainer-clean realclean distclean): Remove + "make ... subdir_do" command. + +2011-03-10 Michael Snyder + + * tracepoint.c (tracepoint_finish_step): Fix loop variable. + + * server.c (handle_v_run): Free alloced buffer on early return. + +2011-03-09 Yao Qi + + Revert: + 2011-03-04 Yao Qi + + * Makefile.in: Remove GNU make feature --directory. + + 2011-03-05 Yao Qi + + * 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-02-11 Yao Qi + + * configure.ac: Call AC_PROG_RANLIB. + * Makefile.in: Remove signals.o from OBS. Link libcommon.a. + * configure: Regenerate. + +2011-03-07 Jan Kratochvil + + * remote-utils.c (putpkt_binary_1): Calculate BUF2 size dynamically. + +2011-03-06 Yao Qi + + * Makefile.in (REQUIRED_SUBDIRS): Remove $(LIBCOMMON_DIR). + +2011-03-05 Yao Qi + + * 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-04 Yao Qi + + * Makefile.in: Remove GNU make feature --directory. + +2011-03-04 Michael Snyder + + * server.c (queue_stop_reply): Call xmalloc not malloc. + +2011-03-02 Michael Snyder + + * linux-arm-low.c (arm_arch_setup): Replace malloc with xmalloc. + +2011-02-28 Michael Snyder + + * tracepoint.c (cmd_qtv): Discard unused value 'packet'. + (cmd_qtframe): Ditto. + (cmd_qtbuffer): Ditto. + (cmd_bigqtbuffer): Ditto. + + * utils.c (decimal2str): Initialize 'width' to nine, then + don't mess with it. + +2011-02-28 Ulrich Weigand + + * hostio.c (require_data): Free *data, not data. + +2011-02-28 Jan Kratochvil + + * hostio.c (require_data): Use free, not xfree. + +2011-02-27 Michael Snyder + + * server.c (handle_query): Discard unused value. + + * hostio.c (require_data): Free malloc memory before returning + error. + +2011-02-26 Michael Snyder + + * linux-low.c (list_threads): Call closedir for dirent. + +2011-02-27 Michael Snyder + + * i386-low.c (i386-length_and_rw_bits): Comment the fact that + a case statement falls through. + + * linux-low.c (linux_xfer_siginfo): Fix fencepost error. + + * linux-amd64-ipa.c (gdb_agent_get_raw_reg): Fix fencepost error + in comparison. + +2011-02-26 Michael Snyder + + * utils.c (decimal2str): Eliminate dead code and dead param. + (pulongest): Drop dead param from call to decimal2str. + (plongest): Ditto. + +2011-02-24 Joel Brobecker + + Revert the following patch (not approved yet): + 2011-02-21 Hui Zhu + * tracepoint.c (tp_printf): New function. + (eval_agent_expr): Handle gdb_agent_op_printf. + +2011-02-21 Hui Zhu + + * tracepoint.c (tp_printf): New function. + (eval_agent_expr): Handle gdb_agent_op_printf. + +2011-02-18 Tom Tromey + + * Makefile.in (tracepoint-ipa.o): Depend on ax.def. + (tracepoint.o): Likewise. + * tracepoint.c (enum gdb_agent_op): Use ax.def. + (gdb_agent_op_names): Likewise. + +2011-02-18 Tom Tromey + + * tracepoint.c (enum gdb_agent_op) : New constants. + (gdb_agent_op_names): Add pick and roll. + (eval_agent_expr) : New + cases. + +2011-02-15 Jan Kratochvil + + * aclocal.m4: Regenerated with aclocal-1.11.1. + +2011-02-14 Pedro Alves + + * server.c (handle_qxfer_traceframe_info): New. + (qxfer_packets): Register "traceframe-info". + (handle_query): Report support for qXfer:traceframe-info:read+. + * tracepoint.c (match_blocktype): New. + (traceframe_find_block_type): Rename to ... + (traceframe_walk_blocks): ... this. Add callback filter argument, + and use it. + (traceframe_find_block_type): New, reimplemented on top of + traceframe_walk_blocks. + (build_traceframe_info_xml): New. + (traceframe_read_info): New. + * server.h (traceframe_read_info): Declare. + +2011-02-11 Yao Qi + + * configure.ac: Call AC_PROG_RANLIB. + * Makefile.in: Remove signals.o from OBS. Link libcommon.a. + * configure: Regenerate. + +2011-02-07 Pedro Alves + + * server.c (gdb_read_memory): Change return semantics to allow + partial transfers. + (handle_search_memory_1): Adjust. + (process_serial_event) <'m' packet>: Handle partial transfers. + * tracepoint.c (traceframe_read_mem): Handle partial transfers. + +2011-01-28 Pedro Alves + + * regcache.c (init_register_cache): Initialize + regcache->register_status. + (free_register_cache): Release regcache->register_status. + (regcache_cpy): Copy register_status. + (registers_to_string): Print 'x's for unavailable registers. + (supply_register): Mark the register's status valid or + unavailable, depending on whether a buffer was passed in or not. + (supply_register_zeroed): New. + (supply_regblock): Mark the registers' status valid or + unavailable, depending on whether a buffer was passed in or not. + * regcache.h (REG_UNAVAILABLE, REG_VALID): New defines. + (struct regcache): New `register_status' field. + (supply_register_zeroed): Declare. + * i387-fp.c (i387_xsave_to_cache): Zero out registers using + supply_register_zeroed, rather than passing a NULL buffer to + supply_register. + * tracepoint.c (fetch_traceframe_registers): Update comment. + +2011-01-28 Pedro Alves + + * i387-fp.c (i387_xsave_to_cache): Make passing NULL as register + buffer explicit. + +2011-01-25 Pedro Alves + + * server.h (decode_xfer_write): Change prototype. + * remote-utils.c (decode_xfer_write): Remove `annex' parameter, + and don't extract the annex here. + * server.c (decode_xfer_read): Remove `annex' parameter, + and don't extract the annex here. + (decode_xfer): New. + (struct qxfer): New. + (handle_qxfer_auxv, handle_qxfer_features, handle_qxfer_libraries) + (handle_qxfer_osdata, handle_qxfer_siginfo, handle_qxfer_spu) + (handle_qxfer_statictrace): New functions, abstracted out from + handle_query, and made to use the struct qxfer interface. + (handle_threads_qxfer_proper): Rename to ... + (handle_qxfer_threads_proper): ... this. + (handle_threads_qxfer): Rename to ... + (handle_qxfer_threads): ... this. Adjust. + (qxfer_packets): New array. + (handle_qxfer): New function. + (handle_query): Use handle_qxfer. + +2011-01-05 Michael Snyder + + * gdbreplay.c: Shorten lines of >= 80 columns. + * linux-low.c: Ditto. + * linux-ppc-low.c: Ditto. + * linux-s390-low.c: Ditto. + * linux-sparc-low.c: Ditto. + * linux-x86-low.c: Ditto. + * linux-xtensa-low.c: Ditto. + * mem-break.c: Ditto. + * nto-low.c: Ditto. + * regcache.h: Ditto. + * remote-utils.c: Ditto. + * server.c: Ditto. + * server.h: Ditto. + * thread-db.c: Ditto. + * tracepoint.c: Ditto. + * utils.c: Ditto. + * win32-low.h: Ditto. + +2011-01-05 Joel Brobecker + + * gdbserver/configure.ac, gdbserver/gdbserver.1: Copyright year + update. + +2011-01-01 Joel Brobecker + + * server.c (gdbserver_version): Update copyright year in version + output. + * gdbreplay.c (gdbreplay_version): Ditto. + +2010-12-29 Jie Zhang + + * configure.srv (bfin-*-*linux*): Handle Blackfin/Linux targets. + * linux-bfin-low.c: New file. + * linux-low.c: Define PT_TEXT_ADDR, PT_TEXT_END_ADDR, and + PT_DATA_ADDR for BFIN targets. + * Makefile.in (SFILES): Add linux-bfin-low.c. + (clean): Remove reg-bfin.c. + (linux-bfin-low.o, reg-bfin.o, reg-bfin.c): New targets. + * README: Mention supported Blackfin targets. + +2010-12-23 Mike Frysinger + + * .gitignore: New file. + +2010-11-16 Mike Frysinger + + * linux-low.c (linux_tracefork_child): Add char* cast to arg. + +2010-10-22 Jie Zhang + + * Makefile.in: Add FLAGS_TO_PASS variable. + (install): Remove dependency of install-only and recursively + invoke make for install-only. + +2010-10-04 Doug Evans + + * Makefile.in (uninstall): Use $(DESTDIR). + +2010-09-24 Pedro Alves + + PR gdb/11842 + + * linux-x86-low.c (compat_siginfo_from_siginfo) + (siginfo_from_compat_siginfo): Also copy si_pid and si_uid when + si_code is < 0. Check for si_code == SI_TIMER before checking for + si_code < 0. + +2010-09-13 Joel Brobecker + + * lynx-i386-low.c: New file. + * configure.srv: Add handling of i[34567]86-*-lynxos* targets. + +2010-09-13 Joel Brobecker + + * lynx-low.c (ptrace_request_to_str): Remove handling for + request values that have been removed in LynxOS 5.x. + +2010-09-13 Joel Brobecker + + * lynx-low.c, lynx-ppc-loc.c: Include instead of + + +2010-09-09 Nathan Sidwell + + * configure.ac: Add --enable-inprocess-agent option. + * configure: Rebuilt. + +2010-09-06 Yao Qi + + * 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. + +2010-09-06 Yao Qi + + * linux-low.c (maybe_move_out_of_jump_pad): Restore current_inferior + on return. + +2010-09-06 Jan Kratochvil + + * target.c (mywait) : Fix to use INTEGER. + +2010-09-06 Pedro Alves + + * Makefile.in (install-only): Replace $IPA_DEPFILES with + "$(IPA_DEPFILES)". + +2010-09-01 Joel Brobecker + + * 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. + +2010-09-01 Joel Brobecker + + * 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. + +2010-09-01 Joel Brobecker + + * 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. + +2010-09-01 Joel Brobecker + + * Makefile.in (memmem.o): Build with -Wno-error. + +2010-09-01 Joel Brobecker + + * 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. + +2010-09-01 Joel Brobecker + + * 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. + +2010-08-28 Pedro Alves + + * linux-low.c (__SIGRTMIN): Define if not already defined. + (linux_create_inferior): Check for __ANDROID__ rather than + __SIGRTMIN. + (enqueue_one_deferred_signal): Don't requeue non-RT signals that + are already deferred. + (linux_wait_1): Check for __ANDROID__ rather than __SIGRTMIN. + (linux_resume_one_thread): Don't queue a SIGSTOP if the lwp is + stopped and already has a pending signal to report. + (proceed_one_lwp): : Don't queue a SIGSTOP if the lwp already has + a pending signal to report or is moving out of a jump pad. + (linux_init_signals): Check for __ANDROID__ rather than + __SIGRTMIN. + +2010-08-28 Pedro Alves + + * linux-low.c (linux_stabilize_threads): Wrap debug output in a + debug_threads check. Avoid a linear search when not doing debug + output. + +2010-08-27 Pedro Alves + + * event-loop.c (event_handle_func): Adjust to use gdb_fildes_t. + (struct gdb_event) : Change type to gdb_fildes_t. + (struct file_handler) : Change type to gdb_fildes_t. + (process_event): Change local fd's type to gdb_fildes_t. + (create_file_handler): Adjust prototype. + (delete_file_handler): Adjust prototype. + (handle_file_event): Adjust prototype. Use pfildes. + (create_file_event): Adjsut prototype. + * remote-utils.c (remote_desc, listen_desc): Change type to + gdb_fildes_t. + * server.h: New gdb_fildes_t typedef. + [USE_WIN32API]: Include winsock2.h. + (delete_file_handler, add_file_handler): Adjust prototypes. + (pfildes): Declare. + * utils.c (pfildes): New. + +2010-08-27 Pedro Alves + + * configure.ac (build_warnings): Add -Wno-char-subscripts. + * configure: Regenerate. + +2010-08-27 Pedro Alves + + * linux-low.c (linux_unprepare_to_access_memory): Rename to ... + (linux_done_accessing_memory): ... this. + (linux_target_ops): Adjust. + * linux-x86-low.c (x86_insert_point, x86_remove_point): Adjust. + * nto-low.c (nto_target_ops): Adjust comment. + * server.c (gdb_read_memory, gdb_write_memory): Adjust. + * spu-low.c (spu_target_ops): Adjust comment. + * target.h (target_ops): Rename unprepare_to_access_memory field + to done_accessing_memory. + (unprepare_to_access_memory): Rename to ... + (done_accessing_memory): ... this. + +2010-08-26 Pedro Alves + + * linux-low.c (linux_prepare_to_access_memory): New. + (linux_unprepare_to_access_memory): New. + (linux_target_ops): Install them. + * server.c (read_memory): Rename to ... + (gdb_read_memory): ... this. Use + prepare_to_access_memory/prepare_to_access_memory. + (write_memory): Rename to ... + (gdb_write_memory): ... this. Use + prepare_to_access_memory/prepare_to_access_memory. + (handle_search_memory_1): Adjust. + (process_serial_event): Adjust. + * target.h (struct target_ops): New fields + prepare_to_access_memory and unprepare_to_access_memory. + (prepare_to_access_memory, unprepare_to_access_memory): New. + * linux-x86-low.c (x86_insert_point, x86_remove_point): Use + prepare_to_access_memory/prepare_to_access_memory. + * nto-low.c (nto_target_ops): Adjust. + * spu-low.c (spu_target_ops): Adjust. + * win32-low.c (win32_target_ops): Adjust. + +2010-08-26 Pedro Alves + + * Makefile.in (WARN_CFLAGS): Get it from configure. + (WERROR_CFLAGS): New. + (INTERNAL_CFLAGS): Add WERROR_CFLAGS. + * configure.ac: Introduce --enable-werror, which adds -Werror to + the compiler command line. Enabled by default. Disable with + --disable-werror. Add -Wdeclaration-after-statement + Wpointer-arith and -Wformat-nonliteral to warning flags. + * configure: Regenerate. + +2010-08-26 Pedro Alves + + * mem-break.c [HAVE_MALLOC_H]: Include malloc.h. + +2010-08-26 Pedro Alves + + * gdbreplay.c (remote_error): New. + (gdbchar): New. + (expect): Use gdbchar. Check for error reading from GDB. + Clarify sync error output. + (play): Check for errors writing to GDB. + * linux-low.c (sigchld_handler): Really ignore `write' errors. + * remote-utils.c (getpkt): Check for errors writing to the remote + descriptor. + +2010-08-25 Pedro Alves + + * linux-low.c (linux_wait_1): Move non-debugging code out of + `debug_threads' control. + +2010-08-25 Pedro Alves + + * linux-low.c (linux_wait_1): Don't set last_status here. + * server.c (push_event, queue_stop_reply_callback): Assert we're + not pushing a TARGET_WAITKIND_IGNORE event. + (start_inferior, start_inferior, attach_inferior, handle_v_cont) + (myresume, handle_target_event): Set the thread's last_resume_kind + and last_status from the target returned status. + +2010-08-25 Pedro Alves + + PR threads/10729 + + * linux-x86-low.c (update_debug_registers_callback): New. + (i386_dr_low_set_addr): Use it. + (i386_dr_low_get_addr): New. + (i386_dr_low_set_control): Use update_debug_registers_callback. + (i386_dr_low_get_control): New. + (i386_dr_low_get_status): Adjust. + * linux-low.c (linux_stop_lwp): New. + * linux-low.h (linux_stop_lwp): Declare. + + * i386-low.c (I386_DR_GET_RW_LEN): Take the dr7 contents as + argument instead of a i386_debug_reg_state. + (I386_DR_WATCH_HIT): Take the dr6 contents as argument instead of + a i386_debug_reg_state. + (i386_insert_aligned_watchpoint): Adjust. + (i386_remove_aligned_watchpoint): Adjust. + (i386_low_stopped_data_address): Read the debug registers from the + inferior instead of from the mirrors. + * i386-low.h (struct i386_debug_reg_state): Extend comment. + (i386_dr_low_get_addr): Declare. + (i386_dr_low_get_control): Declare. + (i386_dr_low_get_status): Change prototype. + + * win32-i386-low.c (dr_status_mirror, dr_control_mirror): New globals. + (i386_dr_low_get_addr): New. + (i386_dr_low_get_control): New. + (i386_dr_low_get_status): Adjust prototype. Return + dr_status_mirror. + (i386_initial_stuff): Clear dr_status_mirror and + dr_control_mirror. + (i386_get_thread_context): Adjust. + (i386_set_thread_context): Adjust. + (i386_thread_added): Adjust. + +2010-08-24 Pedro Alves + + * linux-low.h (linux_thread_area): Delete declaration. + +2010-08-11 Thomas Schwinge + + * linux-low.c (linux_wait_1): Correctly return the ptid of the child + after its termination. + +2010-08-09 Pedro Alves + + * linux-low.c (gdb_wants_lwp_stopped): Delete. + (gdb_wants_all_stopped): Delete. + (linux_wait_1): Don't call them. + * server.c (handle_v_cont): Tag all threads as want-stopped. + (gdb_wants_thread_stopped): Fix comments. Tag the thread that + stopped as "client-wants-stopped". + +2010-07-31 Pedro Alves + + * Makefile.in (signals_h): New. + (server_h): Depend on it. + (server.o): Don't depend on $(signals_def). + (signals.o): Depend on $(signals_def). + +2010-07-31 Jan Kratochvil + + * Makefile.in (signals_def): New. + (server_h): Append include/gdb/signals.h and signals_def. + (server.o): Append signals_def. + +2010-07-25 Jan Kratochvil + + * server.c (handle_target_event): Use target_signal_to_host for + resume_info.sig initialization. + * target.h (struct thread_resume) : New comment. + +2010-07-20 Ozkan Sezer + + * server.c (handle_query): strcpy() the returned string from paddress() + instead of sprintf(). + * utils.c (paddress): Return phex_nz(). + +2010-07-07 Joel Brobecker + + * server.c (handle_v_cont): Call mourn_inferior if process + just exited. + (myresume): Likewise. + +2010-07-01 Pedro Alves + + Static tracepoints, and integration with UST. + + * configure.ac: Handle --with-ust. substitute ustlibs and ustinc. + * mem-break.c (uninsert_all_breakpoints) + (reinsert_all_breakpoints): New. + * mem-break.h (reinsert_all_breakpoints, uninsert_all_breakpoints): + * tracepoint.c (ust_loaded, helper_thread_id, cmd_buf): New. + (gdb_agent_ust_loaded, helper_thread_id) + (gdb_agent_helper_thread_id): New macros. + (struct ipa_sym_addresses): Add addr_ust_loaded, + addr_helper_thread_id, addr_cmd_buf. + (symbol_list): Add ust_loaded, helper_thread_id, cmd_buf. + (in_process_agent_loaded_ust): New. + (write_e_ust_not_loaded): New. + (maybe_write_ipa_ust_not_loaded): New. + (struct collect_static_trace_data_action): New. + (enum tracepoint_type) : New. + (struct tracepoint) : Mention static tracepoints. + (struct static_tracepoint_ctx): New. + (CMD_BUF_SIZE): New. + (add_tracepoint_action): Handle static tracepoint actions. + (unprobe_marker_at): New. + (clear_installed_tracepoints): Handle static tracepoints. + (cmd_qtdp): Handle static tracepoints. + (probe_marker_at): New. + (cmd_qtstart): Handle static tracepoints. + (response_tracepoint): Handle static tracepoints. + (cmd_qtfstm, cmd_qtsstm, cmd_qtstmat): New. + (handle_tracepoint_query): Handle qTfSTM, qTsSTM and qTSTMat. + (get_context_regcache): Handle static tracepoints. + (do_action_at_tracepoint): Handle static tracepoint actions. + (traceframe_find_block_type): Handle static trace data blocks. + (traceframe_read_sdata): New. + (download_tracepoints): Download static tracepoint actions. + [HAVE_UST] Include ust/ust.h, dlfcn.h, sys/socket.h, and sys/un.h. + (GDB_PROBE_NAME): New. + (ust_ops): New. + (GET_UST_SYM): New. + (USTF): New. + (dlsym_ust): New. + (ust_marker_to_static_tracepoint): New. + (gdb_probe): New. + (collect_ust_data_at_tracepoint): New. + (gdb_ust_probe): New. + (UNIX_PATH_MAX, SOCK_DIR): New. + (gdb_ust_connect_sync_socket): New. + (resume_thread, stop_thread): New. + (run_inferior_command): New. + (init_named_socket): New. + (gdb_ust_socket_init): New. + (cstr_to_hexstr): New. + (next_st): New. + (first_marker, next_marker): New. + (response_ust_marker): New. + (cmd_qtfstm, cmd_qtsstm): New. + (unprobe_marker_at, probe_marker_at): New. + (cmd_qtstmat, gdb_ust_thread): New. + (gdb_ust_init): New. + (initialize_tracepoint_ftlib): Call gdb_ust_init. + * linux-amd64-ipa.c [HAVE_UST]: Include ust/processor.h + (ST_REGENTRY): New. + (x86_64_st_collect_regmap): New. + (X86_64_NUM_ST_COLLECT_GREGS): New. + (AMD64_RIP_REGNUM): New. + (supply_static_tracepoint_registers): New. + * linux-i386-ipa.c [HAVE_UST]: Include ust/processor.h + (ST_REGENTRY): New. + (i386_st_collect_regmap): New. + (i386_NUM_ST_COLLECT_GREGS): New. + (supply_static_tracepoint_registers): New. + * server.c (handle_query): Handle qXfer:statictrace:read. + : Report support for StaticTracepoints, and + qXfer:statictrace:read features. + * server.h (traceframe_read_sdata) + (supply_static_tracepoint_registers): Declare. + * remote-utils.c (convert_int_to_ascii, hexchars, ishex, tohex) + (unpack_varlen_hex): Include in IPA build. + * Makefile.in (ustlibs, ustinc): New. + (IPA_OBJS): Add remote-utils-ipa.o. + ($(IPA_LIB)): Link -ldl and -lpthread. + (UST_CFLAGS): New. + (IPAGENT_CFLAGS): Add UST_CFLAGS. + * config.in, configure: Regenerate. + +2010-06-20 Ian Lance Taylor + Pedro Alves + + * linux-x86-low.c (always_true): Delete. + (EMIT_ASM, EMIT_ASM32): Use an uncondition asm jmp instead of + trying to fool the compiler with always_true. + +2010-06-20 Pedro Alves + + * tracepoint.c (condition_true_at_tracepoint): Don't run compiled + conditions in gdbserver. + +2010-06-19 Ulrich Weigand + + * spu-low.c (spu_read_memory): Wrap around local store limit. + (spu_write_memory): Likewise. + +2010-06-15 Pedro Alves + + * linux-x86-low.c (amd64_emit_const, amd64_emit_void_call_2) + (i386_emit_const, i386_emit_void_call_2): Replace int64_t uses with + LONGEST uses. + * server.h (struct emit_ops): Replace int64_t uses with LONGEST + uses. + * tracepoint.c (emit_const, emit_void_call_2): Replace int64_t + uses with LONGEST uses. + +2010-06-14 Stan Shebs + Pedro Alves + + Bytecode compiler. + + * linux-x86-low.c: Include limits.h. + (add_insns): New. + (always_true): New. + (EMIT_ASM): New. + (EMIT_ASM32): New. + (amd64_emit_prologue, amd64_emit_epilogue, amd64_emit_add) + (amd64_emit_sub, amd64_emit_mul, amd64_emit_lsh) + (amd64_emit_rsh_signed, amd64_emit_rsh_unsigned, amd64_emit_ext, + (amd64_emit_log_not, amd64_emit_bit_and, amd64_emit_bit_or) + (amd64_emit_bit_xor, amd64_emit_bit_not, amd64_emit_equal, + (amd64_emit_less_signed, amd64_emit_less_unsigned, amd64_emit_ref, + (amd64_emit_if_goto, amd64_emit_goto, amd64_write_goto_address) + (amd64_emit_const, amd64_emit_call, amd64_emit_reg) + (amd64_emit_pop, amd64_emit_stack_flush, amd64_emit_zero_ext) + (amd64_emit_swap, amd64_emit_stack_adjust, amd64_emit_int_call_1) + (amd64_emit_void_call_2): New. + (amd64_emit_ops): New. + (i386_emit_prologue, i386_emit_epilogue, i386_emit_add) + (i386_emit_sub,i386_emit_mul, i386_emit_lsh, i386_emit_rsh_signed) + (i386_emit_rsh_unsigned, i386_emit_ext, i386_emit_log_not) + (i386_emit_bit_and, i386_emit_bit_or, i386_emit_bit_xor) + (i386_emit_bit_not, i386_emit_equal, i386_emit_less_signed) + (i386_emit_less_unsigned, i386_emit_ref, i386_emit_if_goto) + (i386_emit_goto, i386_write_goto_address, i386_emit_const) + (i386_emit_call, i386_emit_reg, i386_emit_pop) + (i386_emit_stack_flush, i386_emit_zero_ext, i386_emit_swap) + (i386_emit_stack_adjust, i386_emit_int_call_1) + (i386_emit_void_call_2): New. + (i386_emit_ops): New. + (x86_emit_ops): New. + (the_low_target): Install x86_emit_ops. + * server.h (struct emit_ops): New. + (get_raw_reg_func_addr): Declare. + (current_insn_ptr, emit_error): Declare. + * tracepoint.c (get_raw_reg, get_trace_state_variable_value) + (set_trace_state_variable_value): New defines. + (struct ipa_sym_addresses): New fields addr_get_raw_reg, + addr_get_trace_state_variable_value and + addr_set_trace_state_variable_value. + (symbol_list): New fields for get_raw_reg, + get_trace_state_variable_value and set_trace_state_variable_value. + (condfn): New typedef. + (struct tracepoint): New field `compiled_cond'. + (do_action_at_tracepoint): Clear compiled_cond. + (get_trace_state_variable_value, set_trace_state_variable_value): + Export in the IPA. + (condition_true_at_tracepoint): If there's a compiled condition, + run that. + (current_insn_ptr, emit_error): New globals. + (struct bytecode_address): New. + (get_raw_reg_func_addr): New. + (emit_prologue, emit_epilogue, emit_add, emit_sub, emit_mul) + (emit_lsh, emit_rsh_signed, emit_rsh_unsigned, emit_ext) + (emit_log_not, emit_bit_and, emit_bit_or, emit_bit_xor) + (emit_bit_not, emit_equal, emit_less_signed, emit_less_unsigned) + (emit_ref, emit_if_goto, emit_goto, write_goto_address, emit_const) + (emit_reg, emit_pop, emit_stack_flush, emit_zero_ext, emit_swap) + (emit_stack_adjust, emit_int_call_1, emit_void_call_2): New. + (compile_tracepoint_condition, compile_bytecodes): New. + * target.h (emit_ops): Forward declare. + (struct target_ops): New field emit_ops. + (target_emit_ops): New. + * linux-amd64-ipa.c (gdb_agent_get_raw_reg): New. + * linux-i386-ipa.c (gdb_agent_get_raw_reg): New. + * linux-low.c (linux_emit_ops): New. + (linux_target_ops): Install it. + * linux-low.h (struct linux_target_ops): New field emit_ops. + +2010-06-14 Ulrich Weigand + + * linux-ppc-low.c (ppc_arch_setup): Use private regcache to test MSR. + * linux-s390-low.c (ppc_arch_setup): Use private regcache to test PSW. + +2010-06-01 Pedro Alves + Stan Shebs + + * Makefile.in (IPA_DEPFILES, extra_libraries): New. + (all): Depend on $(extra_libraries). + (install-only): Install the IPA. + (IPA_OBJS, IPA_LIB): New. + (clean): Remove the IPA lib. + (IPAGENT_CFLAGS): New. + (tracepoint-ipa.o, utils-ipa.o, remote-utils-ipa.o) + (regcache-ipa.o, i386-linux-ipa.o, linux-i386-ipa.o) + (linux-amd64-ipa.o, amd64-linux-ipa.o): New rules. + * linux-amd64-ipa.c, linux-i386-ipa.c: New files. + * configure.ac: Check for atomic builtins support in the compiler. + (IPA_DEPFILES, extra_libraries): Define. + * configure.srv (ipa_obj): Add description. + (ipa_i386_linux_regobj, ipa_amd64_linux_regobj): Define. + (i[34567]86-*-linux*): Set ipa_obj. + (x86_64-*-linux*): Set ipa_obj. + * linux-low.c (stabilizing_threads): New. + (supports_fast_tracepoints): New. + (linux_detach): Stabilize threads before detaching. + (handle_tracepoints): Handle internal tracing breakpoints. Assert + the lwp is either not stabilizing, or is moving out of a jump pad. + (linux_fast_tracepoint_collecting): New. + (maybe_move_out_of_jump_pad): New. + (enqueue_one_deferred_signal): New. + (dequeue_one_deferred_signal): New. + (linux_wait_for_event_1): If moving out of a jump pad, defer + pending signals to later. + (linux_stabilize_threads): New. + (linux_wait_1): Check if threads need moving out of jump pads, and + do it if so. + (stuck_in_jump_pad_callback): New. + (move_out_of_jump_pad_callback): New. + (lwp_running): New. + (linux_resume_one_lwp): Handle moving out of jump pads. + (linux_set_resume_request): Dequeue deferred signals. + (need_step_over_p): Also step over fast tracepoint jumps. + (start_step_over): Also uninsert fast tracepoint jumps. + (finish_step_over): Also reinsert fast tracepoint jumps. + (linux_install_fast_tracepoint_jump): New. + (linux_target_ops): Install linux_stabilize_threads and + linux_install_fast_tracepoint_jump_pad. + * linux-low.h (linux_target_ops) : New fields. + (struct lwp_info) : New fields. + (linux_get_thread_area): Declare. + * linux-x86-low.c (jump_insn): New. + (x86_get_thread_area): New. + (append_insns): New. + (push_opcode): New. + (amd64_install_fast_tracepoint_jump_pad): New. + (i386_install_fast_tracepoint_jump_pad): New. + (x86_install_fast_tracepoint_jump_pad): New. + (the_low_target): Install x86_get_thread_area and + x86_install_fast_tracepoint_jump_pad. + * mem-break.c (set_raw_breakpoint_at): Use read_inferior_memory. + (struct fast_tracepoint_jump): New. + (fast_tracepoint_jump_insn): New. + (fast_tracepoint_jump_shadow): New. + (find_fast_tracepoint_jump_at): New. + (fast_tracepoint_jump_here): New. + (delete_fast_tracepoint_jump): New. + (set_fast_tracepoint_jump): New. + (uninsert_fast_tracepoint_jumps_at): New. + (reinsert_fast_tracepoint_jumps_at): New. + (set_breakpoint_at): Use write_inferior_memory. + (uninsert_raw_breakpoint): Use write_inferior_memory. + (check_mem_read): Mask out fast tracepoint jumps. + (check_mem_write): Mask out fast tracepoint jumps. + * mem-break.h (struct fast_tracepoint_jump): Forward declare. + (set_fast_tracepoint_jump): Declare. + (delete_fast_tracepoint_jump) + (fast_tracepoint_jump_here, uninsert_fast_tracepoint_jumps_at) + (reinsert_fast_tracepoint_jumps_at): Declare. + * regcache.c: Don't compile many functions when building the + in-process agent library. + (init_register_cache) [IN_PROCESS_AGENT]: Don't allow allocating + the register buffer in the heap. + (free_register_cache): If the register buffer isn't owned by the + regcache, don't free it. + (set_register_cache) [IN_PROCESS_AGENT]: Don't re-alocate + pre-existing register caches. + * remote-utils.c (convert_int_to_ascii): Constify `from' parameter + type. + (convert_ascii_to_int): : Constify `from' parameter type. + (decode_M_packet, decode_X_packet): Replace the `to' parameter by + a `to_p' pointer to pointer parameter. If TO_P is NULL, malloc + the needed buffer in-place. + (relocate_instruction): New. + * server.c (handle_query) : If the target supports + tracepoints, give it a chance of looking up symbols. Report + support for fast tracepoints. + (handle_status): Stabilize threads. + (process_serial_event): Adjust. + * server.h (struct fast_tracepoint_jump): Forward declare. + (struct process_info) : New field. + (convert_ascii_to_int, convert_int_to_ascii): Adjust. + (decode_X_packet, decode_M_packet): Adjust. + (relocate_instruction): Declare. + (in_process_agent_loaded): Declare. + (tracepoint_look_up_symbols): Declare. + (struct fast_tpoint_collect_status): Declare. + (fast_tracepoint_collecting): Declare. + (force_unlock_trace_buffer): Declare. + (handle_tracepoint_bkpts): Declare. + (initialize_low_tracepoint) + (supply_fast_tracepoint_registers) [IN_PROCESS_AGENT]: Declare. + * target.h (struct target_ops) : New fields. + (stabilize_threads, install_fast_tracepoint_jump_pad): New. + * tracepoint.c [HAVE_MALLOC_H]: Include malloc.h. + [HAVE_STDINT_H]: Include stdint.h. + (trace_debug_1): Rename to ... + (trace_vdebug): ... this. + (trace_debug): Rename to ... + (trace_debug_1): ... this. Add `level' parameter. + (trace_debug): New. + (ATTR_USED, ATTR_NOINLINE): New. + (IP_AGENT_EXPORT): New. + (gdb_tp_heap_buffer, gdb_jump_pad_buffer, gdb_jump_pad_buffer_end) + (collecting, gdb_collect, stop_tracing, flush_trace_buffer) + (about_to_request_buffer_space, trace_buffer_is_full) + (stopping_tracepoint, expr_eval_result, error_tracepoint) + (tracepoints, tracing, trace_buffer_ctrl, trace_buffer_ctrl_curr) + (trace_buffer_lo, trace_buffer_hi, traceframe_read_count) + (traceframe_write_count, traceframes_created) + (trace_state_variables) + New renaming defines. + (struct ipa_sym_addresses): New. + (STRINGIZE_1, STRINGIZE, IPA_SYM): New. + (symbol_list): New. + (ipa_sym_addrs): New. + (all_tracepoint_symbols_looked_up): New. + (in_process_agent_loaded): New. + (write_e_ipa_not_loaded): New. + (maybe_write_ipa_not_loaded): New. + (tracepoint_look_up_symbols): New. + (debug_threads) [IN_PROCESS_AGENT]: New. + (read_inferior_memory) [IN_PROCESS_AGENT]: New. + (UNKNOWN_SIDE_EFFECTS): New. + (stop_tracing): New. + (flush_trace_buffer): New. + (stop_tracing_bkpt): New. + (flush_trace_buffer_bkpt): New. + (read_inferior_integer): New. + (read_inferior_uinteger): New. + (read_inferior_data_pointer): New. + (write_inferior_data_pointer): New. + (write_inferior_integer): New. + (write_inferior_uinteger): New. + (struct collect_static_trace_data_action): Delete. + (enum tracepoint_type): New. + (struct tracepoint) : New field `type'. + : Only include in + GDBserver. + + : New fields. + (tracepoints): Use IP_AGENT_EXPORT. + (last_tracepoint): Don't include in the IPA. + (stopping_tracepoint): Use IP_AGENT_EXPORT. + (trace_buffer_is_full): Use IP_AGENT_EXPORT. + (alloced_trace_state_variables): New. + (trace_state_variables): Use IP_AGENT_EXPORT. + (traceframe_t): Delete unused variable. + (circular_trace_buffer): Don't include in the IPA. + (trace_buffer_start): Delete. + (struct trace_buffer_control): New. + (trace_buffer_free): Delete. + (struct ipa_trace_buffer_control): New. + (GDBSERVER_FLUSH_COUNT_MASK, GDBSERVER_FLUSH_COUNT_MASK_PREV) + (GDBSERVER_FLUSH_COUNT_MASK_CURR, GDBSERVER_UPDATED_FLUSH_COUNT_BIT): + New. + (trace_buffer_ctrl): New. + (TRACE_BUFFER_CTRL_CURR): New. + (trace_buffer_start, trace_buffer_free, trace_buffer_end_free): + Reimplement as macros. + (trace_buffer_wrap): Delete. + (traceframe_write_count, traceframe_read_count) + (traceframes_created, tracing): Use IP_AGENT_EXPORT. + (struct tracepoint_hit_ctx) : New field. + (struct fast_tracepoint_ctx): New. + (memory_barrier): New. + (cmpxchg): New. + (record_tracepoint_error): Update atomically in the IPA. + (clear_inferior_trace_buffer): New. + (about_to_request_buffer_space): New. + (trace_buffer_alloc): Handle GDBserver and inferior simulatenous + updating the same buffer. + (add_tracepoint): Default the tracepoint's type to trap + tracepoint, and orig_size to -1. + (get_trace_state_variable) [IN_PROCESS_AGENT]: Handle allocated + internal variables. + (create_trace_state_variable): New parameter `gdb'. Handle it. + (clear_installed_tracepoints): Clear fast tracepoint jumps. + (cmd_qtdp): Handle fast tracepoints. + (cmd_qtdv): Adjust. + (max_jump_pad_size): New. + (gdb_jump_pad_head): New. + (get_jump_space_head): New. + (claim_jump_space): New. + (sort_tracepoints): New. + (MAX_JUMP_SIZE): New. + (cmd_qtstart): Handle fast tracepoints. Sync tracepoints with the + IPA. + (stop_tracing) [IN_PROCESS_AGENT]: Don't include the tdisconnected + support. Upload fast traceframes, and delete internal IPA + breakpoints. + (stop_tracing_handler): New. + (flush_trace_buffer_handler): New. + (cmd_qtstop): Upload fast tracepoints. + (response_tracepoint): Handle fast tracepoints. + (tracepoint_finished_step): Upload fast traceframes. Set the + tracepoint hit context's tracepoint type. + (handle_tracepoint_bkpts): New. + (tracepoint_was_hit): Set the tracepoint hit context's tracepoint + type. Add comment about fast tracepoints. + (collect_data_at_tracepoint) [IN_PROCESS_AGENT]: Don't access the + non-existing action_str field. + (get_context_regcache): Handle fast tracepoints. + (do_action_at_tracepoint) [!IN_PROCESS_AGENT]: Don't write the PC + to the regcache. + (fast_tracepoint_from_jump_pad_address): New. + (fast_tracepoint_from_ipa_tpoint_address): New. + (collecting_t): New. + (force_unlock_trace_buffer): New. + (fast_tracepoint_collecting): New. + (collecting): New. + (gdb_collect): New. + (write_inferior_data_ptr): New. + (target_tp_heap): New. + (target_malloc): New. + (download_agent_expr): New. + (UALIGN): New. + (download_tracepoints): New. + (download_trace_state_variables): New. + (upload_fast_traceframes): New. + (IPA_FIRST_TRACEFRAME): New. + (IPA_NEXT_TRACEFRAME_1): New. + (IPA_NEXT_TRACEFRAME): New. + [IN_PROCESS_AGENT]: Include sys/mman.h and fcntl.h. + [IN_PROCESS_AGENT] (gdb_tp_heap_buffer, gdb_jump_pad_buffer) + (gdb_jump_pad_buffer_end): New. + [IN_PROCESS_AGENT] (initialize_tracepoint_ftlib): New. + (initialize_tracepoint): Adjust. + [IN_PROCESS_AGENT]: Allocate the IPA heap, and jump pad scratch + buffer. Initialize the low module. + * utils.c (PREFIX, TOOLNAME): New. + (malloc_failure): Use PREFIX. + (error): In the IPA, an error causes an exit. + (fatal, warning): Use PREFIX. + (internal_error): Use TOOLNAME. + (NUMCELLS): Increase to 10. + * configure, config.in: Regenerate. + +2010-06-01 Pedro Alves + + * server.c (handle_query) : Do two passes over the + qSupported string to avoid nesting strtok. + +2010-05-28 Jan Kratochvil + + * Makefile.in (SFILES): Add $(srcdir)/proc-service.list. + (CDEPS): New. + * configure.ac (RDYNAMIC): New AC_MSG_CHECKING wrapping. Test also + -Wl,--dynamic-list. + * configure: Regenerate. + * proc-service.list: New. + +2010-05-28 Jan Kratochvil + + * linux-low.c (linux_core_of_thread): Fix crash on invalid CONTENT. + New comment. + +2010-05-26 Ozkan Sezer + + * gdbreplay.c (remote_open): Check error return from socket() call by + its equality to -1 not by it being negative. + * remote-utils.c (remote_open): Likewise. + +2010-05-23 Pedro Alves + + * config.h: Regenerate. + +2010-05-19 Maxim Kuvyrkov + + * linux-m68k-low.c (ps_get_thread_area): Don't define if kernel + doesn't provide PTRACE_GET_THREAD_AREA. + +2010-05-19 Maxim Kuvyrkov + + * linux-m68k-low.c: Include + (ps_get_thread_area): Implement. + +2010-05-03 Doug Evans + + * event-loop.c (struct callback_event): New struct. + (callback_list): New global. + (append_callback_event, delete_callback_event): New functions. + (process_callback): New function. + (start_event_loop): Call it. + * remote-utils.c (NOT_SCHEDULED): Define. + (readchar_buf, readchar_bufcnt, readchar_bufp): New static globals, + moved out of readchar. + (readchar): Rewrite. Call reschedule before returning. + (reset_readchar): New function. + (remote_close): Call it. + (process_remaining, reschedule): New functions. + * server.h (callback_handler_func): New typedef. + (append_callback_event, delete_callback_event): Declare. + +2010-05-03 Pedro Alves + + * proc-service.c (ps_pglobal_lookup): Use + thread_db_look_up_one_symbol. + * remote-utils.c (look_up_one_symbol): Add new `may_ask_gdb' + parameter. Use it instead of all_symbols_looked_up. + * server.h (struct process_info) : Delete + field. + (all_symbols_looked_up): Don't declare. + (look_up_one_symbol): Add new `may_ask_gdb' parameter. + * thread-db.c (struct thread_db) : New + field. + (thread_db_look_up_symbols): Adjust call to look_up_one_symbol. + Set all_symbols_looked_up here. + (thread_db_look_up_one_symbol): New. + (thread_db_get_tls_address): Adjust. + (thread_db_load_search, try_thread_db_load_1): Always allocate the + thread_db object on the heap, and tentatively set it in the + process structure. + (thread_db_init): Don't set all_symbols_looked_up here. + * linux-low.h (thread_db_look_up_one_symbol): Declare. + +2010-05-03 Pedro Alves + + * linux-low.c (linux_kill, linux_detach): Adjust. + (status_pending_p_callback): Remove redundant statement. Check + for !TARGET_WAITIKIND_IGNORE, instead of + TARGET_WAITKIND_STOPPED. + (handle_tracepoints): Make sure LWP is locked. Adjust. + (linux_wait_for_event_1): Adjust. + (linux_cancel_breakpoints): New. + (unsuspend_one_lwp): New. + (unsuspend_all_lwps): New. + (linux_wait_1): If finishing a step-over, unsuspend all lwps. + (send_sigstop_callback): Change return type to int, add new + `except' parameter and handle it. + (suspend_and_send_sigstop_callback): New. + (stop_all_lwps): Add new `suspend' and `expect' parameters, and + pass them down. If SUSPEND, also increment the lwp's suspend + count. + (linux_resume_one_lwp): Add notice about resuming a suspended LWP. + (need_step_over_p): Don't consider suspended LWPs. + (start_step_over): Adjust. + (proceed_one_lwp): Change return type to int, add new `except' + parameter and handle it. + (unsuspend_and_proceed_one_lwp): New. + (proceed_all_lwps): Use find_inferior instead of + for_each_inferior. + (unstop_all_lwps): Add `unsuspend' parameter. If UNSUSPEND, them + also decrement the suspend count of LWPs. Pass `except' down, + instead of hacking its suspend count. + (linux_pause_all): Add `freeze' parameter. Adjust. + (linux_unpause_all): New. + (linux_target_ops): Install linux_unpause_all. + * server.c (handle_status): Adjust. + * target.h (struct target_ops): New fields `unpause_all' and + `cancel_breakpoints'. Add new parameter to `pause_all'. + (pause_all): Add new `freeze' parameter. + (unpause_all): New. + (cancel_breakpoints): New. + * tracepoint.c (clear_installed_tracepoints): Pause threads, and + cancel breakpoints. + (cmd_qtstart): Pause threads. + (stop_tracing): Pause threads, and cancel breakpoints. + * win32-low.c (win32_target_ops): Adjust. + +2010-05-03 Pedro Alves + + * linux-low.c (linux_wait_for_event_1): Move passing the signal to + the inferior right away from here... + (linux_wait_1): ... to here, and adjust to check the thread's + last_resume_kind instead of the lwp's step or stop_expected flags. + +2010-05-02 Pedro Alves + + * README: Use consistent `GDB' and `GDBserver' spellings. + +2010-05-02 Pedro Alves + + * linux-low.c (linux_kill_one_lwp): Assume the lwp is stopped. + (linux_kill): Stop all lwps here. Don't delete the main lwp here. + (linux_detach_one_lwp): Assume the lwp is stopped. + (any_thread_of): Delete. + (linux_detach): Stop all lwps here. Don't blindly delete all + breakpoints. + (delete_lwp_callback): New. + (linux_mourn): Delete all lwps of the process that is gone. + (linux_wait_1): Don't delete the last lwp of the process here. + * mem-break.h (mark_breakpoints_out): Declare. + * mem-break.c (mark_breakpoints_out): New. + (free_all_breakpoints): Use it. + * server.c (handle_target_event): If the process is gone, mark + breakpoints out. + * thread-db.c (struct thread_db) : New field. + (thread_db_enable_reporting): Fix prototype. Store a thread event + breakpoint reference in the thread_db struct. + (thread_db_load_search): Clear the thread_db object. + (try_thread_db_load_1): Ditto. + (switch_to_process): New. + (disable_thread_event_reporting): Use it. + (remove_thread_event_breakpoints): New. + (thread_db_detach, thread_db_mourn): Use it. + +2010-05-01 Pedro Alves + + * linux-low.c (linux_enable_event_reporting): New. + (linux_wait_for_event_1, handle_extended_wait): Use it. + +2010-04-30 Pedro Alves + + * linux-low.c (linux_kill_one_lwp, linux_kill) + (linux_detach_one_lwp): Adjust to send_sigstop interface change. + (send_sigstop): Take an lwp_info as parameter instead. Queue a + SIGSTOP even if the LWP is stopped. + (send_sigstop_callback): New. + (stop_all_lwps): Use send_sigstop_callback instead. + (linux_resume_one_thread): Adjust. + (proceed_one_lwp): Still proceed an LWP that the client has + requested to stop, if we haven't reported it as stopped yet. Make + sure that LWPs the client want stopped, have a pending SIGSTOP. + +2010-04-26 Doug Evans + + * server.c (handle_general_set): Make static. + + * remote-utils.c (putpkt_binary_1): Call readchar instead of read. + Print received char after testing for error/eof instead of before. + (input_interrupt): Tweak comment. + +2010-04-23 Doug Evans + + * server.c (start_inferior): Print inferior argv if --debug. + +2010-04-21 Aleksandar Ristovski + + * Makefile.in (nto_low_h nto-low.o nto-x86-low.o): New dependency lists. + * nto-x86-low.c: Include server.h + +2010-04-20 Pierre Muller + + * win32-i386-low.c: Use __x86_64__ macro instead of __x86_64 to + be consistent with other sources of this directory. + (init_registers_amd64): Correct name of source file of this function + in the comment. + +2010-04-19 Pierre Muller + + * configure.srv (x86_64-*-mingw*): New configuration for Windows + 64-bit executables. + +2010-04-19 Pierre Muller + + * win32-i386-low.c: Add 64-bit support. + (CONTEXT_EXTENDED_REGISTERS): Set macro to zero if not exisiting. + (init_registers_amd64): Declare. + (mappings): Add 64-bit version of array. + (init_windows_x86): New function. + (the_low_target): Change init_arch field to init_windows_x86. + +2010-04-19 Pierre Muller + + * win32-low.c: Adapt to support also 64-bit architecture. + (child_xfer_memory): Use uintptr_t type for local variable `addr'. + (get_image_name): Use SIZE_T type for local variable `done'. + (psapi_get_dll_name): Use LPVOID type for parameter `BaseAddress'. + (toolhelp_get_dll_name): Idem. + (handle_load_dll): Use CORE_ADDR type for local variable `load_addr'. + Use uintptr_t typecast to avoid warning. + (handle_unload_dll): Use uintptr_t typecast to avoid warning. + (handle_exception): Use phex_nz to avoid warning. + (win32_wait): Remove unused local variable `process'. + +2010-04-19 Pierre Muller + + * configure.srv (srv_amd64_regobj): Replace `x86-64-avx.o' by + `amd64-avx.o'. + +2010-04-17 Pierre Muller + + * configure.ac: Use `ws2_32' library for srv_mingw. + * configure: Regenerate. + * gdbreplay.c: Include winsock2.h instead of winsock.h. + * remote-utils.c: Likewise. + +2010-04-17 H.J. Lu + + * linux-x86-low.c (xmltarget_amd64_linux_no_xml): Define only + if __x86_64__ is defined. + +2010-04-16 Pierre Muller + + * configure: Regenerate. + +2010-04-16 Pierre Muller + + * server.c (handle_query): Handle 'qGetTIBAddr' query. + * target.h (target_ops): New get_tib_address field. + * win32-low.h (win32_thread_info): Add thread_local_base field. + * win32-low.c (child_add_thread): Add tlb argument. + Set thread_local_base field to TLB. + (get_child_debug_event): Adapt to child_add_thread change. + (win32_get_tib_address): New function. + (win32_target_ops): Set get_tib_address field to + win32_get_tib_address. + * linux-low.c (linux_target_ops): Set get_tib_address field to NULL. + +2010-04-12 Pedro Alves + + * linux-low.c (linux_mourn): Also remove the process. + * server.c (handle_target_event): Don't remove the process here. + * nto-low.c (nto_mourn): New. + (nto_target_ops): Install it. + * spu-low.c (spu_mourn): New. + (spu_target_ops): Install it. + * win32-low.c (win32_mourn): New. + (win32_target_ops): Install it. + +2010-04-12 Pedro Alves + + * server.h (buffer_xml_printf): Remove redundant `;'. + +2010-04-12 Pedro Alves + + * regcache.c (set_register_cache): Invalidate regcaches before + changing the register cache layout. + (regcache_invalidate_one): Allow a NULL regcache. + * linux-x86-low.c (x86_linux_update_xmltarget): Invalidate + regcaches before changing the register cache layout or the target + regsets. + +2010-04-12 H.J. Lu + + * linux-x86-low.c (x86_linux_update_xmltarget): Avoid unused + variable warning on Linux/x86-64. + +2010-04-11 Pedro Alves + + GDBserver disconnected tracing support. + + * linux-low.c (linux_remove_process): Delete. + (add_lwp): Don't set last_resume_kind here. + (linux_kill): Use `mourn'. + (linux_detach): Use `thread_db_detach', and `mourn'. + (linux_mourn): New. + (linux_attach_lwp_1): Adjust comment. + (linux_attach): last_resume_kind moved the thread_info; adjust. + (status_pending_p_callback): Adjust. + (linux_wait_for_event_1): Adjust. + (count_events_callback, select_singlestep_lwp_callback) + (select_event_lwp_callback, cancel_breakpoints_callback) + (db_wants_lwp_stopped, linux_wait_1, need_step_over_p) + (proceed_one_lwp): Adjust. + (linux_async): Add debug output. + (linux_thread_stopped): New. + (linux_pause_all): New. + (linux_target_ops): Install linux_mourn, linux_thread_stopped and + linux_pause_all. + * linux-low.h (struct lwp_info): Delete last_resume_kind field. + (thread_db_free): Delete declaration. + (thread_db_detach, thread_db_mourn): Declare. + * thread-db.c (thread_db_init): Use thread_db_mourn. + (thread_db_free): Delete, split in two. + (disable_thread_event_reporting): New. + (thread_db_detach): New. + (thread_db_mourn): New. + + * server.h (struct thread_info) : New field. + : Add comment. + : New field. + (handler_func): Change return type to int. + (handle_serial_event, handle_target_event): Ditto. + (gdb_connected): Declare. + (tracing): Delete. + (disconnected_tracing): Declare. + (stop_tracing): Declare. + + * server.c (handle_query) : Report support for + disconnected tracing. + (queue_stop_reply_callback): Account for running threads. + (gdb_wants_thread_stopped): New. + (gdb_wants_all_threads_stopped): New. + (gdb_reattached_process): New. + (handle_status): Clear the `gdb_detached' flag of all processes. + In all-stop, stop all threads. + (main): Be sure to leave tfind mode. Handle disconnected tracing. + (process_serial_event): If the remote connection breaks, or if an + exit was forced with "monitor exit", force an event loop exit. + Handle disconnected tracing on detach. + (handle_serial_event): Adjust. + (handle_target_event): If GDB isn't connected, forward events back + to the inferior, unless the last process exited, in which case, + exit gdbserver. Adjust interface. + + * remote-utils.c (remote_open): Don't block in accept. Instead + register an event loop source on the listen socket file + descriptor. Refactor bits into ... + (listen_desc): ... this new global. + (gdb_connected): ... this new function. + (enable_async_notification): ... this new function. + (handle_accept_event): ... this new function. + (remote_close): Clear remote_desc. + + * inferiors.c (add_thread): Set the new thread's last_resume_kind. + + * target.h (struct target_ops) : + New fields. + (mourn_inferior): Define. + (target_process_qsupported): Avoid the dangling else problem. + (thread_stopped): Define. + (pause_all): Define. + (target_waitstatus_to_string): Declare. + * target.c (target_waitstatus_to_string): New. + + * tracepoint.c (tracing): Make extern. + (disconnected_tracing): New. + (stop_tracing): Make extern. Handle tracing stops due to GDB + disconnecting. + (cmd_qtdisconnected): New. + (cmd_qtstatus): Report disconnected tracing status in trace reply. + (handle_tracepoint_general_set): Handle QTDisconnected. + + * event-loop.c (event_handler_func): Change return type to int. + (process_event): Bail out if the event handler wants the event + loop to stop. + (handle_file_event): Ditto. + (start_event_loop): Bail out if the event handler wants the event + loop to stop. + + * nto-low.c (nto_target_ops): Adjust. + * spu-low.c (spu_wait): Don't remove the process here. + (spu_target_ops): Adjust. + * win32-low.c (win32_wait): Don't remove the process here. + (win32_target_ops): Adjust. + +2010-04-11 Pedro Alves + + * regcache.c (realloc_register_cache): Invalidate inferior's + regcache before recreating it. + +2010-04-09 Pedro Alves + + * tracepoint.c (cmd_qtstatus): Report trace buffer circularity. + +2010-04-09 Stan Shebs + Pedro Alves + + * server.h (LONGEST): New. + (struct thread_info) : New field. + (unpack_varlen_hex, xrealloc, pulongest, plongest, phex_nz): + Declare. + (initialize_tracepoint, handle_tracepoint_general_set) + (handle_tracepoint_query, tracepoint_finished_step) + (tracepoint_was_hit, release_while_stepping_state_list): + (current_traceframe): Declare. + * server.c (handle_general_set): Handle tracepoint packets. + (read_memory): New. + (write_memory): New. + (handle_search_memory_1): Use read_memory. + (handle_query): Report support for conditional tracepoints, trace + state variables, and tracepoint sources. Handle tracepoint + queries. + (main): Initialize the tracepoints module. + (process_serial_event): Handle traceframe reads/writes. + + * linux-low.c (handle_tracepoints): New. + (linux_wait_1): Call it. + (linux_resume_one_lwp): Handle while-stepping. + (linux_supports_tracepoints, linux_read_pc, linux_write_pc): New. + (linux_target_ops): Install them. + * linux-low.h (struct linux_target_ops) : + New field. + * linux-x86-low.c (x86_supports_tracepoints): New. + (the_low_target). Install it. + + * mem-break.h (delete_breakpoint): Declare. + * mem-break.c (delete_breakpoint): Make external. + + * target.h (struct target_ops): Add `supports_tracepoints', + `read_pc', and `write_pc' fields. + (target_supports_tracepoints): Define. + * utils.c (xrealloc, decimal2str, pulongest, plongest, thirty_two) + (phex_nz): New. + + * regcache.h (struct regcache) : New field. + (init_register_cache, regcache_cpy): Declare. + (regcache_read_pc, regcache_write_pc): Declare. + (register_cache_size): Declare. + (supply_regblock): Declare. + * regcache.c (init_register_cache): New. + (new_register_cache): Use it. + (regcache_cpy): New. + (register_cache_size): New. + (supply_regblock): New. + (regcache_read_pc, regcache_write_pc): New. + + * tracepoint.c: New. + + * Makefile.in (OBS): Add tracepoint.o. + (tracepoint.o): New rule. + +2010-04-08 H.J. Lu + + * Makefile.in (clean): Also remove i386-mmx.c i386-mmx-linux.c. + (i386-mmx.o): New. + (i386-mmx.c): Likewise. + (i386-mmx-linux.o): Likewise. + (i386-mmx-linux.c): Likewise. + + * configure.srv (srv_i386_regobj): Add i386-mmx.o. + (srv_i386_linux_regobj): Add i386-mmx-linux.o. + (srv_i386_xmlfiles): Add i386/i386-mmx.xml. + (srv_i386_linux_xmlfiles): Add i386/i386-mmx-linux.xml. + + * linux-x86-low.c (init_registers_i386_mmx_linux): New. + (x86_linux_update_xmltarget): Call init_registers_i386_mmx_linux + and return if ptrace PTRACE_GETFPXREGS failed in 32bit. + +2010-04-07 H.J. Lu + + * Makefile.in (clean): Updated. + (i386-avx.o): New. + (i386-avx.c): Likewise. + (i386-avx-linux.o): Likewise. + (i386-avx-linux.c): Likewise. + (amd64-avx.o): Likewise. + (amd64-avx.c): Likewise. + (amd64-avx-linux.o): Likewise. + (amd64-avx-linux.c): Likewise. + + * configure.srv (srv_i386_regobj): Add i386-avx.o. + (srv_i386_linux_regobj): Add i386-avx-linux.o. + (srv_amd64_regobj): Add amd64-avx.o. + (srv_amd64_linux_regobj): Add amd64-avx-linux.o. + (srv_i386_32bit_xmlfiles): Add i386/32bit-avx.xml. + (srv_i386_64bit_xmlfiles): Add i386/64bit-avx.xml. + (srv_i386_xmlfiles): Add i386/i386-avx.xml. + (srv_amd64_xmlfiles): Add i386/amd64-avx.xml. + (srv_i386_linux_xmlfiles): Add i386/i386-avx-linux.xml. + (srv_amd64_linux_xmlfiles): Add i386/amd64-avx-linux.xml. + + * i387-fp.c: Include "i386-xstate.h". + (i387_xsave): New. + (i387_cache_to_xsave): Likewise. + (i387_xsave_to_cache): Likewise. + (x86_xcr0): Likewise. + + * i387-fp.h (i387_cache_to_xsave): Likewise. + (i387_xsave_to_cache): Likewise. + (x86_xcr0): Likewise. + + * linux-arm-low.c (target_regsets): Initialize nt_type to 0. + * linux-crisv32-low.c (target_regsets): Likewise. + * linux-m68k-low.c (target_regsets): Likewise. + * linux-mips-low.c (target_regsets): Likewise. + * linux-ppc-low.c (target_regsets): Likewise. + * linux-s390-low.c (target_regsets): Likewise. + * linux-sh-low.c (target_regsets): Likewise. + * linux-sparc-low.c (target_regsets): Likewise. + * linux-xtensa-low.c (target_regsets): Likewise. + + * linux-low.c: Include . + (regsets_fetch_inferior_registers): Support nt_type. + (regsets_store_inferior_registers): Likewise. + (linux_process_qsupported): New. + (linux_target_ops): Add linux_process_qsupported. + + * linux-low.h (regset_info): Add nt_type. + (linux_target_ops): Add process_qsupported. + + * linux-x86-low.c: Include "i386-xstate.h", "elf/common.h" + and . + (init_registers_i386_avx_linux): New. + (init_registers_amd64_avx_linux): Likewise. + (xmltarget_i386_linux_no_xml): Likewise. + (xmltarget_amd64_linux_no_xml): Likewise. + (PTRACE_GETREGSET): Likewise. + (PTRACE_SETREGSET): Likewise. + (x86_fill_xstateregset): Likewise. + (x86_store_xstateregset): Likewise. + (use_xml): Likewise. + (x86_linux_update_xmltarget): Likewise. + (x86_linux_process_qsupported): Likewise. + (target_regsets): Add NT_X86_XSTATE entry and Initialize nt_type. + (x86_arch_setup): Don't call init_registers_amd64_linux nor + init_registers_i386_linux here. Call + x86_linux_update_xmltarget. + (the_low_target): Add x86_linux_process_qsupported. + + * server.c (handle_query): Call target_process_qsupported. + + * target.h (target_ops): Add process_qsupported. + (target_process_qsupported): New. + +2010-04-03 Pedro Alves + + * inferiors.c (add_thread): Set last_status kind to + TARGET_WAITKIND_IGNORE. + * linux-low.c (cancel_breakpoint): Remove unnecessary regcache + fetch. Use ptid_of. Avoid unnecessary get_lwp_thread calls. + (linux_wait_1): Move `thread' local definition to block that uses + it. Don't NULL initialize `event_child'. + (linux_resume_one_thread): Avoid unnecessary get_lwp_thread calls. + Alway set the thread's last_status to TARGET_WAITKIND_IGNORE. + * linux-x86-low.c (x86_breakpoint_at): Read raw memory. + +2010-04-01 Pedro Alves + + * linux-low.c (get_stop_pc): Don't adjust the PC if stopped with + an extended waitstatus, or by a watchpoint. + (cancel_breakpoints_callback): Don't cancel a breakpoint if the + thread was stepping or has been stopped by a watchpoint. + +2010-04-01 Pedro Alves + + * mem-break.c (struct raw_breakpoint): New field shlib_disabled. + (set_gdb_breakpoint_at): If GDB is inserting a breakpoint on top + of another, then delete the previous, and validate all + breakpoints. + (validate_inserted_breakpoint): New. + (delete_disabled_breakpoints): New. + (validate_breakpoints): New. + (check_mem_read): Validate breakpoints before trusting their + shadow. Delete disabled breakpoints. + (check_mem_write): Validate breakpoints before trusting they + should be inserted. Delete disabled breakpoints. + * mem-break.h (validate_breakpoints): + * server.c (handle_query): Validate breakpoints when we see a + qSymbol query. + +2010-04-01 Pedro Alves + + * linux-low.c (linux_wait_1): Avoid setting need_step_over is + there's a GDB breakpoint at stop_pc. Always report a trap to GDB + if we could tell there's a GDB breakpoint at stop_pc. + (need_step_over_p): Don't do a step over if we find a GDB + breakpoint at the resume PC. + + * mem-break.c (struct raw_breakpoint): New. + (enum bkpt_type): New type `gdb_breakpoint'. + (struct breakpoint): Delete the `PC', `old_data' and `inserted' + fields. New field `raw'. + (find_raw_breakpoint_at): New. + (set_raw_breakpoint_at): Handle refcounting. Create a raw + breakpoint instead. + (set_breakpoint_at): Adjust. + (delete_raw_breakpoint): New. + (release_breakpoint): New. + (delete_breakpoint): Rename to... + (delete_breakpoint_1): ... this. Add proc parameter. Use + release_breakpoint. Return ENOENT. + (delete_breakpoint): Reimplement. + (find_breakpoint_at): Delete. + (find_gdb_breakpoint_at): New. + (delete_breakpoint_at): Delete. + (set_gdb_breakpoint_at): New. + (delete_gdb_breakpoint_at): New. + (gdb_breakpoint_here): New. + (set_reinsert_breakpoint): Use release_breakpoint. + (uninsert_breakpoint): Rename to ... + (uninsert_raw_breakpoint): ... this. + (uninsert_breakpoints_at): Adjust to handle raw breakpoints. + (reinsert_raw_breakpoint): Change parameter type to + raw_breakpoint. + (reinsert_breakpoints_at): Adjust to handle raw breakpoints + instead. + (check_breakpoints): Adjust. Use release_breakpoint. + (breakpoint_here): Rewrite using find_raw_breakpoint_at. + (breakpoint_inserted_here): Ditto. + (check_mem_read): Adjust to iterate over raw breakpoints instead. + Don't trust the breakpoint's shadow if it is not inserted. + (check_mem_write): Adjust to iterate over raw breakpoints instead. + (delete_all_breakpoints): Adjust. + (free_all_breakpoints): Mark all breakpoints as uninserted, and + use delete_breakpoint_1. + + * mem-break.h (breakpoints_supported): Delete declaration. + (set_gdb_breakpoint_at): Declare. + (gdb_breakpoint_here): Declare. + (delete_breakpoint_at): Delete. + (delete_gdb_breakpoint_at): Declare. + + * server.h (struct raw_breakpoint): Forward declare. + (struct process_info): New field `raw_breakpoints'. + + * linux-x86-low.c (x86_insert_point, x86_remote_point): Handle Z0 + breakpoints. + +2010-03-24 Pedro Alves + + * linux-low.c (status_pending_p_callback): Fix comment. + (linux_wait_for_event_1): Move most of the internal breakpoint + handling from here... + (linux_wait_1): ... to here. + (count_events_callback): New. + (select_singlestep_lwp_callback): New. + (select_event_lwp_callback): New. + (cancel_breakpoints_callback): New. + (select_event_lwp): New. + (linux_wait_1): Simplify internal breakpoint handling. Give equal + priority to all LWPs that have had events that should be reported + to the client. Cancel breakpoints when about to reporting the + event to the client, not while stopping lwps. No longer cancel + finished single-steps here. + (cancel_finished_single_step): Delete. + (cancel_finished_single_steps): Delete. + +2010-03-24 Pedro Alves + + * mem-break.c (enum bkpt_type): New. + (struct breakpoint): New field `type'. + (set_breakpoint_at): Change return type to struct breakpoint + pointer. Set type to `other_breakpoint' by default. + (delete_breakpoint): Rewrite, supporting more than one breakpoint + in the breakpoint list. + (delete_reinsert_breakpoints): Only delete reinsert breakpoints. + (reinsert_breakpoint): Rename to ... + (reinsert_raw_breakpoint): ... this. + (reinsert_breakpoints_at): Adjust. + * mem-break.h (struct breakpoint): Declare. + (set_breakpoint_at): Change return type to struct breakpoint + pointer. + +2010-03-24 Pedro Alves + + * server.c (handle_query): Assign, not compare. + +2010-03-24 Pedro Alves + + Teach linux gdbserver to step-over-breakpoints. + + * linux-low.c (can_hardware_single_step): New. + (supports_breakpoints): New. + (handle_extended_wait): If stopping threads, read the stop pc of + the new cloned LWP. + (get_pc): New. + (get_stop_pc): Add `lwp' parameter. Handle it. Bail out if the + low target doesn't support retrieving the PC. + (add_lwp): Set last_resume_kind to resume_continue. + (linux_attach_lwp_1): Adjust comments. Always set stop_expected. + (linux_attach): Don't clear stop_expected. Set the lwp's + last_resume_kind to resume_stop. + (linux_detach_one_lwp): Don't check for removed breakpoints. + (check_removed_breakpoint): Delete. + (status_pending_p): Rename to ... + (status_pending_p_callback): ... this. Don't check for removed + breakpoints. Don't consider threads that are stopped from GDB's + perspective. + (linux_wait_for_lwp): Always read the stop_pc here. + (cancel_breakpoint): New. + (step_over_bkpt): New global. + (linux_wait_for_event_1): Implement stepping over breakpoints. + (gdb_wants_lwp_stopped): New. + (gdb_wants_all_stopped): New. + (linux_wait_1): Tag threads as gdb-wants-stopped. Cancel finished + single-step traps here. Store the thread's last reported target + wait status. + (send_sigstop): Don't clear stop_expected. Always set it, + instead. + (mark_lwp_dead): Remove reference to pending_is_breakpoint. + (cancel_finished_single_step): New. + (cancel_finished_single_steps): New. + (wait_for_sigstop): Don't cancel finished single-step traps here. + (linux_resume_one_lwp): Don't check for removed breakpoints. + Don't set `step' on non-hardware step archs. + (linux_set_resume_request): Ignore resume_stop requests if already + stopping or stopped. Set the lwp's last_resume_kind. + (resume_status_pending_p): Don't check for removed breakpoints. + (need_step_over_p): New. + (start_step_over): New. + (finish_step_over): New. + (linux_resume_one_thread): Always queue a sigstop for resume_stop + requests. Clear the thread's last reported target waitstatus. + Don't use the `suspended' flag. Don't consider pending breakpoints. + (linux_resume): Start a step-over if necessary. + (proceed_one_lwp): New. + (proceed_all_lwps): New. + (unstop_all_lwps): New. + * linux-low.h (struct lwp_info): Rewrite comment for the + `suspended' flag. Add the `stop_pc' field. Delete the + `pending_stop_pc' field. Tweak the `stepping' flag's comment. + Add `'last_resume_kind' and `need_step_over' fields. + * inferiors.c (struct thread_info): Delete, moved elsewhere. + * mem-break.c (struct breakpoint): Delete `reinserting' flag. + Delete `breakpoint_to_reinsert' field. New flag `inserted'. + (set_raw_breakpoint_at): New. + (set_breakpoint_at): Rewrite to use it. + (reinsert_breakpoint_handler): Delete. + (set_reinsert_breakpoint): New. + (reinsert_breakpoint_by_bp): Delete. + (delete_reinsert_breakpoints): New. + (uninsert_breakpoint): Rewrite. + (uninsert_breakpoints_at): New. + (reinsert_breakpoint): Rewrite. + (reinsert_breakpoints_at): New. + (check_breakpoints): Rewrite. + (breakpoint_here): New. + (breakpoint_inserted_here): New. + (check_mem_read): Adjust. + * mem-break.h (breakpoints_supported, breakpoint_here) + (breakpoint_inserted_here, set_reinsert_breakpoint): Declare. + (reinsert_breakpoint_by_bp): Delete declaration. + (delete_reinsert_breakpoints): Declare. + (reinsert_breakpoint): Delete declaration. + (reinsert_breakpoints_at): Declare. + (uninsert_breakpoint): Delete declaration. + (uninsert_breakpoints_at): Declare. + (check_breakpoints): Adjust prototype. + * server.h: Adjust include order. + (struct thread_info): Declare here. Add a `last_status' field. + +2010-03-23 Michael Snyder + + * server.c (crc32): New function. + (handle_query): Add handling for 'qCRC:' request. + +2010-03-23 Pedro Alves + + * linux-x86-low.c (x86_linux_prepare_to_resume): Clear DR6 if the + lwp had been stopped by a watchpoint. + +2010-03-16 Pedro Alves + + * server.h (internal_error): Declare. + (gdb_assert, ASSERT_FUNCTION, gdb_assert_fail): Define. + * utils.c (internal_error): New function. + +2010-03-15 Andreas Schwab + + * configure.srv: Fix typo setting srv_regobj. + +2010-03-15 Pedro Alves + + * linux-low.c (fetch_register): Avoid passing a non string literal + format to `error'. + (usr_store_inferior_registers): Ditto. + +2010-03-14 Pedro Alves + + * linux-low.c (linux_write_memory): Bail out early if peeking + memory failed. + +2010-03-14 Pedro Alves + + * linux-low.h (struct lwp_info): New fields + `stopped_by_watchpoint' and `stopped_data_address'. + * linux-low.c (linux_wait_for_lwp): Check for watchpoint triggers + here, and cache them in the lwp object. + (wait_for_sigstop): Check stopped_by_watchpoint lwp field + directly. + (linux_resume_one_lwp): Clear the lwp's stopped_by_watchpoint + field. + (linux_stopped_by_watchpoint): Rewrite. + (linux_stopped_data_address): Rewrite. + +2010-03-06 Simo Melenius + + * linux-low.c (linux_wait_for_lwp): Fetch the regcache after + switching the current inferior, not before. + +2010-03-01 H.J. Lu + + * Makefile.in (clean): Replace reg-i386.c, reg-x86-64.c, + reg-i386-linux.c and reg-x86-64-linux.c with i386.c, amd64.c, + i386-linux.c and amd64-linux.c. + (reg-i386.o): Removed. + (reg-i386.c): Likewise. + (reg-i386-linux.o): Likewise. + (reg-i386-linux.c): Likewise. + (reg-x86-64.o): Likewise. + (reg-x86-64.c): Likewise. + (reg-x86-64-linux.o): Likewise. + (reg-x86-64-linux.c): Likewise. + (i386.o): New. + (i386.c): Likewise. + (i386-linux.o): Likewise. + (i386-linux.c): Likewise. + (amd64.o): Likewise. + (amd64.c): Likewise. + (amd64-linux.o): Likewise. + (amd64-linux.c): Likewise. + + * configure.srv (srv_i386_regobj): New. + (srv_i386_linux_regobj): Likewise. + (srv_amd64_regobj): Likewise. + (srv_amd64_linux_regobj): Likewise. + (srv_i386_32bit_xmlfiles): Likewise. + (srv_i386_64bit_xmlfiles): Likewise. + (srv_i386_xmlfiles): Likewise. + (srv_amd64_xmlfiles): Likewise. + (srv_i386_linux_xmlfiles): Likewise. + (srv_amd64_linux_xmlfiles): Likewise. + (i[34567]86-*-cygwin*): Set srv_regobj to $srv_i386_regobj. Set + srv_xmlfiles to $srv_i386_xmlfiles. + (i[34567]86-*-mingw32ce*): Likewise. + (i[34567]86-*-mingw*): Likewise. + (i[34567]86-*-nto*): Likewise. + (i[34567]86-*-linux*): Set srv_regobj to $srv_i386_linux_regobj + and $srv_amd64_linux_regobj. Set srv_xmlfiles to + $srv_i386_linux_xmlfiles and $srv_amd64_linux_xmlfiles. + (x86_64-*-linux*): Likewise. + + * linux-x86-low.c (init_registers_x86_64_linux): Removed. + (init_registers_amd64_linux): New. + (x86_arch_setup): Replace init_registers_x86_64_linux with + init_registers_amd64_linux. + +2010-02-23 Maxim Kuvyrkov + + * configure.ac: Check for libdl. If it is not available link against + static libthread_db. + * configure: Regenerate. + +2010-02-22 Pedro Alves + + PR9605 + + * i386-low.c (i386_length_and_rw_bits): Throw a fatal error if + handing a read watchpoint. + (i386_low_insert_watchpoint): Read watchpoints aren't supported. + +2010-02-12 Doug Evans + + * linux-low.c (linux_supports_tracefork_flag): Document. + (linux_look_up_symbols): Add comment. + +2010-02-03 H.J. Lu + + * regcache.c (supply_register): Clear regcache if buf is NULL. + +2010-02-02 Nicolas Roche + Joel Brobecker + + * inferiors.c (find_inferior): Add function documentation. + (unloaded_dll): Handle the case where the unloaded dll has not + been previously registered in the dll list. + +2010-02-01 Daniel Jacobowitz + + * linux-arm-low.c (thumb_breakpoint_len): Delete. + (thumb2_breakpoint): New. + (arm_breakpoint_at): Check for Thumb-2 breakpoints. + +2010-01-29 Daniel Jacobowitz + + * linux-low.c (get_stop_pc): Check for SIGTRAP. + (linux_wait_for_event_1): Handle SIGILL and SIGSEGV as possible + breakpoints. + +2010-01-21 Pedro Alves + + * linux-ppc-low.c (ppc_arch_setup): Adjust to regcache changes. + +2010-01-21 Jan Kratochvil + + * linux-s390-low.c (s390_collect_ptrace_register) + (s390_supply_ptrace_register): Adjust it for the new regcache parameter. + +2010-01-21 Doug Evans + + * linux-low.c (PTRACE_ARG3_TYPE): Change from long to void*. + (PTRACE_ARG4_TYPE): New macro. + (handle_extended_wait): Cast ptrace arg4 to PTRACE_ARG4_TYPE. + (linux_wait_for_event_1, linux_resume_one_lwp): Ditto. + (fetch_register): Cast to uintptr_t before casting to PTRACE_ARG3_TYPE. + (usr_store_inferior_registers): Ditto. + (linux_read_memory, linux_write_memory): Ditto. + (linux_test_for_tracefork): Ditto. + + * linux-arm-low.c: Remove redundant include of gdb_proc_service.h. + Only include elf.h if gdb_proc_service.h didn't include linux/elf.h. + +2010-01-21 Pedro Alves + + * proc-service.c (ps_lgetregs): Don't refetch registers from the + target. + +2010-01-21 Pedro Alves + + * spu-low.c (spu_fetch_registers, spu_store_registers): Change + prototype to take a regcache. Adjust. + +2010-01-20 Pedro Alves + + * regcache.h (struct thread_info): Forward declare. + (struct regcache): New. + (new_register_cache): Adjust prototype. + (get_thread_regcache): Declare. + (free_register_cache): Adjust prototype. + (registers_to_string, registers_from_string): Ditto. + (supply_register, supply_register_by_name, collect_register) + (collect_register_as_string, collect_register_by_name): Ditto. + * regcache.c (struct inferior_regcache_data): Delete. + (get_regcache): Rename to ... + (get_thread_regcache): ... this. Adjust. Switch inferior before + fetching registers. + (regcache_invalidate_one): Adjust. + (regcache_invalidate): Fix prototype. + (new_register_cache): Return the new register cache. + (free_register_cache): Change prototype. + (realloc_register_cache): Adjust. + (registers_to_string): Change prototype to take a regcache. Adjust. + (registers_from_string): Ditto. + (register_data): Ditto. + (supply_register): Ditto. + (supply_register_by_name): Ditto. + (collect_register): Ditto. + (collect_register_as_string): Ditto. + (collect_register_by_name): Ditto. + * server.c (process_serial_event): Adjust. + * linux-low.h (regset_fill_func, regset_store_func): Change + prototype. + (get_pc, set_pc, collect_ptrace_register, supply_ptrace_register): + Change prototype. + * linux-low.c (get_stop_pc): Adjust. + (check_removed_breakpoint): Adjust. + (linux_wait_for_event): Adjust. + (linux_resume_one_lwp): Adjust. + (fetch_register): Add regcache parameter. Adjust. + (usr_store_inferior_registers): Ditto. + (regsets_fetch_inferior_registers): Ditto. + (regsets_store_inferior_registers): Ditto. + (linux_fetch_registers, linux_store_registers): Ditto. + * i387-fp.c (i387_cache_to_fsave): Change prototype to take a + regcache. Adjust. + (i387_fsave_to_cache, i387_cache_to_fxsave, i387_fxsave_to_cache): + Ditto. + * i387-fp.h (i387_cache_to_fsave, i387_fsave_to_cache): Change + prototype to take a regcache. + (i387_cache_to_fxsave, i387_fxsave_to_cache): Ditto. + * remote-utils.c (convert_ascii_to_int, outreg) + (prepare_resume_reply): Change prototype to take a regcache. + Adjust. + * target.h (struct target_ops) : + Change prototype to take a regcache. + (fetch_inferior_registers, store_inferior_registers): Change + prototype to take a regcache. Adjust. + * proc-service.c (ps_lgetregs): Adjust. + * linux-x86-low.c (x86_fill_gregset, x86_store_gregset) + (x86_fill_fpregset, x86_store_fpregset, x86_fill_fpxregset) + (x86_store_fpxregset, x86_get_pc, x86_set_pc): Change prototype to + take a regcache. Adjust. + * linux-arm-low.c (arm_fill_gregset, arm_store_gregset) + (arm_fill_wmmxregset, arm_store_wmmxregset, arm_fill_vfpregset) + (arm_store_vfpregset, arm_get_pc, arm_set_pc): + (arm_breakpoint_at): Change prototype to take a regcache. Adjust. + * linux-cris-low.c (cris_get_pc, cris_set_pc) + (cris_cannot_fetch_register): + (cris_breakpoint_at): Change prototype to take a regcache. + Adjust. + * linux-crisv32-low.c (cris_get_pc, cris_set_pc, + cris_reinsert_addr, cris_write_data_breakpoint): Change prototype + to take a regcache. Adjust. + (cris_breakpoint_at, cris_insert_point, cris_remove_point): + Adjust. + * linux-m32r-low.c (m32r_get_pc, m32r_set_pc): Change prototype to + take a regcache. Adjust. + * linux-m68k-low.c (m68k_fill_gregset, m68k_store_gregset) + (m68k_fill_fpregset, m68k_store_fpregset, m68k_get_pc, + (m68k_set_pc): Change prototype to take a regcache. Adjust. + * linux-mips-low.c (mips_get_pc): + (mips_set_pc): Change prototype to take a regcache. Adjust. + (mips_reinsert_addr): Adjust. + (mips_collect_register): Change prototype to take a regcache. + Adjust. + (mips_supply_register): + (mips_collect_register_32bit, mips_supply_register_32bit) + (mips_fill_gregset, mips_store_gregset, mips_fill_fpregset) + (mips_store_fpregset): Ditto. + * linux-ppc-low.c (ppc_supply_ptrace_register) + (ppc_supply_ptrace_register): Ditto. + (parse_spufs_run): Adjust. + (ppc_get_pc, ppc_set_pc, ppc_fill_gregset, ppc_fill_vsxregset) + (ppc_store_vsxregset, ppc_fill_vrregset, ppc_store_vrregset) + (ppc_fill_evrregset, ppc_store_evrregset): Change prototype to + take a regcache. Adjust. + * linux-s390-low.c (s390_collect_ptrace_register) + (s390_supply_ptrace_register, s390_fill_gregset, s390_get_pc) + (s390_set_pc): Change prototype to take a regcache. Adjust. + (s390_arch_setup): Adjust. + * linux-sh-low.c (sh_get_pc, sh_breakpoint_at) + (sh_fill_gregset): Change prototype to take a regcache. Adjust. + * linux-sparc-low.c (sparc_fill_gregset_to_stack) + (sparc_fill_gregset, sparc_store_gregset_from_stack) + (sparc_store_gregset, sparc_get_pc): Change prototype to take a + regcache. Adjust. + (sparc_breakpoint_at): Adjust. + * linux-xtensa-low.c (xtensa_fill_gregset): + (xtensa_store_gregset): + (xtensa_fill_xtregset, xtensa_store_xtregset, xtensa_get_pc) + (xtensa_set_pc): Change prototype to take a regcache. Adjust. + * nto-low.c (nto_fetch_registers, nto_store_registers): Change + prototype to take a regcache. Adjust. + * win32-arm-low.c (arm_fetch_inferior_register) + (arm_store_inferior_register): Change prototype to take a + regcache. Adjust. + * win32-i386-low.c (i386_fetch_inferior_register) + (i386_store_inferior_register): Change prototype to take a + regcache. Adjust. + * win32-low.c (child_fetch_inferior_registers) + (child_store_inferior_registers): Change prototype to take a + regcache. Adjust. + (win32_wait): Adjust. + (win32_fetch_inferior_registers): Change prototype to take a + regcache. Adjust. + (win32_store_inferior_registers): Adjust. + * win32-low.h (struct win32_target_ops) : Change prototype to take a regcache. + +2010-01-20 Doug Evans + + * linux-low.c (linux_create_inferior): Wrap use of __SIGRTMIN in + #ifdef. + (linux_wait_for_event1, linux_init_signals): Ditto. + (W_STOPCODE): Provide definition if missing. + +2010-01-13 Vladimir Prus + + * linux-low.c (linux_core_of_thread): New. + (compare_ints, show_process, list_threads): New. + (linux_qxfer_osdata): Report threads and cores. + (linux_target_op): Register linux_core_of_thread. + * remote-utils.c (prepare_resume_reply): Report the core. + (buffer_xml_printf): Support %d specifier. + * server.c (handle_threads_qxfer_proper, handle_threads_qxfer): + New. + (handle_query): Handle qXfer:threads. Announce availability + thereof. + * target.h (struct target_ops): New field core_of_thread. + +2010-01-04 Ulrich Weigand + + * Makefile.in (clean): Remove new generated files. + (reg-s390.o, reg-s390.c): Remove rules. + (reg-s390x.o, reg-s390x.c): Likewise. + (s390-linux32.o, s390-linux32.c): Add rules. + (s390-linux64.o, s390-linux64.c): Likewise. + (s390x-linux64.o, s390x-linux64.c): Likewise. + * configure.srv (s390*-*-linux*): Update srv_regobj and srv_xmlfiles. + * linux-s390-low.c: Include . + (HWCAP_S390_HIGH_GPRS): Define if undefined. + (init_registers_s390): Remove prototype. + (init_registers_s390x): Likewise. + (init_registers_s390_linux32): Add prototype. + (init_registers_s390_linux64): Likewise. + (init_registers_s390x_linux64): Likewise. + (s390_num_regs_3264): New define. + (s390_regmap_3264): New global variable. + (s390_cannot_fetch_register): Remove obsolete check. + (s390_cannot_store_register): Likewise. + (s390_collect_ptrace_register): Handle upper/lower register halves. + (s390_supply_ptrace_register): Likewise. + (s390_fill_gregset): Update to register number changes. + (s390_get_hwcap): New routine. + (s390_arch_setup): Detect 32-bit process running on 64-bit system. + Install appropriate regmap and register set. + +2010-01-01 Joel Brobecker + + * server.c (gdbserver_version): Update copyright year to 2010. + * gdbreplay.c (gdbreplay_version): Likewise. + +2009-12-28 Doug Evans + + * linux-low.c: Delete inclusion of ansidecl.h, elf/common.h, + elf/external.h. Include instead but only if necessary. + +2009-12-28 Pedro Alves + + * linux-low.c (linux_remove_process): Remove `detaching' + parameter. Don't release/detach from thread_db here. + (linux_kill): Release/detach from thread_db here, ... + (linux_detach): ... and here, before actually detaching. + (linux_wait_1): ... and here, when a process exits. + * thread-db.c (any_thread_of): New. + (thread_db_free): Switch the current inferior to a thread of the + passed in process. + +2009-12-21 Doug Evans + + * linux-x86-low.c: Delete outdated comment about Elf32_Phdr. + + * linux-low.c (kill_lwp): Use __NR_tkill instead of SYS_tkill. + Move definition of tkill_failed to ifdef __NR_tkill to avoid gcc + warning ifndef __NR_tkill. Move setting of errno there too. + Delete unnecessary resetting of errno after syscall. + Minor comment changes to match gdb/linux-nat.c:kill_lwp. + + * configure.ac: Check for dladdr. + * config.in: Regenerate. + * configure: Regenerate. + * thread-db.c (dladdr_to_soname): Only define ifdef HAVE_DLADDR. + (try_thread_db_load): Update. + + * linux-low.c (my_waitpid): Delete unnecessary prototype. + +2009-12-18 Doug Evans + + * event-loop.c: Include unistd.h if it exists. + + * linux-low.c (my_waitpid): Move definition away from being in + between linux_tracefork_child/linux_test_for_tracefork. + + * gdb_proc_service.h (psaddr_t): Fix type. + * thread-db.c (thread_db_info.td_thr_tls_get_addr_p): Fix + signature to match glibc. + +2009-12-16 Doug Evans + + * linux-low.c (linux_read_memory): Fix argument to read. + +2009-11-26 Pedro Alves + + * win32-low.c (get_child_debug_event): On EXIT_THREAD_DEBUG_EVENT + events, don't leave current_inferior pointing at null. + +2009-11-26 Pedro Alves + + * win32-low.c (LOG): Delete. + (OUTMSG): Output to stderr. + (OUTMSG2): Conditionalize on `debug_threads' variable, instead of + on compile time LOG macro. + (win32_wait): Fix debug output. + +2009-11-26 Pedro Alves + + * win32-low.c (win32_add_one_solib): If the dll name is + "ntdll.dll", prepend the system directory to the dll path. + +2009-11-17 Daniel Jacobowitz + + * m68k-tdep.c (m68k_gdbarch_init): Reuse previous initialization. + +2009-11-17 Nathan Sidwell + Vladimir Prus + + * Makefile.in (reg-cf.o, reg-cf.c): New targets. + * configure.ac: Check for __mcoldfire__ and set + gdb_cv_m68k_is_coldfire. + * configure.srv: Use gdb_cv_m68k_is_coldfire to select between + reg-cf.o and reg-m68k.o. + * configure: Regenerated. + +2009-11-16 Pedro Alves + + * linux-low.c (linux_remove_process): Add `detaching' parameter. + Pass it to thread_db_free. + (linux_kill, linux_detach, linux_wait_1): Adjust to pass the + proper `detaching' argument to linux_remove_process. + * linux-low.h (thread_db_free): Add `detaching' parameter. + * thread-db.c (thread_db_init): Pass false as `detaching' argument + to thread_db_free. + (thread_db_free): Add `detaching' parameter. Only + call td_ta_clear_event if detaching from process. + +2009-11-12 Maxim Kuvyrkov + + * thread-db.c (thread_db_free): Fix typo. + +2009-11-11 Paul Pluzhnikov + + PR gdb/10838 + * thread-db.c (thread_db_free): Call td_ta_clear_event. + +2009-11-03 Nathan Sidwell + + * configure.ac (i[34567]86-*): Check if we're targetting x86-64 + with an i686 compiler. + * configure.srv (i[34567]86-*-linux*): Pull in x86-64 handling if + needed. + * configure: Rebuilt. + +2009-10-29 Sandra Loosemore + + PR gdb/10783 + + * server.c (handle_search_memory_1): Correct read_addr initialization + in loop for searching subsequent chunks. + +2009-10-29 Paul Pluzhnikov + + * configure.ac: New --with-libthread-db option. + * thread-db.c: Allow direct dependence on libthread_db. + (thread_db_free): Adjust. + * config.in: Regenerate. + * configure: Likewise. + +2009-10-28 Paul Pluzhnikov + + PR gdb/10757 + * thread-db.c (attach_thread): New function. + (maybe_attach_thread): Return success/failure. + (find_new_threads_callback): Adjust. + (thread_db_find_new_threads): Loop until no new threads. + +2009-10-13 Pedro Alves + + * proc-service.c (ps_lgetregs): Formatting. + +2009-10-08 Paul Pluzhnikov + + * acinclude.m4: (SRV_CHECK_THREAD_DB, SRV_CHECK_TLS_GET_ADDR): Remove. + * configure.ac: Adjust. + * linux-low.h (struct process_info_private): Move members to struct + thread_db. + (thread_db_free, thread_db_handle_monitor_command): New prototype. + * linux-low.c (linux_remove_process): Adjust. + (linux_wait_for_event_1, linux_look_up_symbols): Likewise. + * server.c (handle_query): Move code ... + (handle_monitor_command): ... here. New function. + * target.h (struct target_ops): New member. + * thread-db.c (struct thread_db): New. + (libthread_db_search_path): New variable. + (thread_db_create_event, thread_db_enable_reporting) + (find_one_thread, maybe_attach_thread, find_new_threads_callback) + (thread_db_find_new_threads, (thread_db_get_tls_address): Adjust. + (try_thread_db_load_1, dladdr_to_soname): New functions. + (try_thread_db_load, thread_db_load_search): New functions. + (thread_db_init): Search for libthread_db. + (thread_db_free): New function. + (thread_db_handle_monitor_command): Likewise. + * config.in: Regenerate. + * configure: Regenerate. + +2009-09-27 Ulrich Weigand + + * spu-low.c (spu_kill): Wait for inferior to terminate. + Call clear_inferiors. + (spu_detach): Call clear_inferiors. + +2009-08-22 Ralf Wildenhues + + * aclocal.m4: Regenerate. + * config.in: Likewise. + * configure: Likewise. + +2009-07-31 Ulrich Weigand + + * linux-ppc-low.c (INSTR_SC, NR_spu_run): Define. + (parse_spufs_run): New function. + (ppc_get_pc, ppc_set_pc): Detect and handle SPU PC. + (ppc_breakpoint_at): Handle SPU breakpoints. + +2009-07-31 Ulrich Weigand + + * linux-low.c: Include and . + (SPUFS_MAGIC): Define. + (spu_enumerate_spu_ids): New function. + (linux_qxfer_spu): New function. + (linux_target_ops): Install linux_qxfer_spu. + +2009-07-31 Ulrich Weigand + + * configure.srv (powerpc*-*-linux*): Add powerpc-cell32l.o + and powerpc-cell64l.o to srv_regobj. Add rs6000/powerpc-cell32l.xml + and rs6000/powerpc-cell64l.xml to srv_xmlfiles. + * Makefile.in (powerpc-cell32l.o, powerpc-cell32l.c): New rules. + (powerpc-cell64l.o, powerpc-cell64l.c): Likewise. + (clean): Handle powerpc-cell32l.c and powerpc-cell64l.c. + * linux-ppc-low.c (PPC_FEATURE_CELL): Define. + (init_registers_powerpc_cell32l): Add prototype. + (init_registers_powerpc_cell64l): Likewise. + (ppc_arch_setup): Detect Cell/B.E. architecture. + +2009-07-30 Ralf Wildenhues + + * Makefile.in (datarootdir): New variable. + +2009-07-28 Daniel Jacobowitz + + * linux-low.c (linux_write_memory): Update debugging output. + * Makefile.in (clean): Add new descriptions. + (arm-with-vfpv2.o, arm-with-vfpv2.c, arm-with-vfpv3.o) + (arm-with-vfpv3.c, arm-with-neon.o, arm-with-neon.c): New rules. + * configure.srv: Add new files for arm*-*-linux*. + * linux-arm-low.c: Add new declarations. + (PTRACE_GETVFPREGS, PTRACE_SETVFPREGS): Define if undefined. + (arm_hwcap, HWCAP_VFP, HWCAP_IWMMXT, HWCAP_NEON, HWCAP_VFPv3) + (HWCAP_VFPv3D16): New. + (arm_fill_wmmxregset, arm_store_wmmxregset): Check HWCAP_IWMMXT + instead of __IWMMXT__. + (arm_fill_vfpregset, arm_store_vfpregset, arm_get_hwcap) + (arm_arch_setup): New. + (target_regsets): Remove #ifdef. Add VFP regset. + (the_low_target): Use arm_arch_setup. + +2009-07-28 Daniel Jacobowitz + + * linux-low.c (linux_kill_one_lwp): Adjust kernel workaround to skip + the main thread again. + +2009-07-06 Aleksandar Ristovski + + Adding Neutrino gdbserver. + * configure: Regenerated. + * configure.ac: Add case for srv_qnx and set LIBS accordingly. + * configure.srv (i[34567]86-*-nto*): New target. + * nto-low.c, nto-low.h, nto-x86-low.c: New files. + * remote-utils.c [__QNX__]: Include sys/iomgr.h + (nto_comctrl) [__QNX__]: New function. + (enable_async_io, disable_async_io) [__QNX__]: Call nto_comctrl. + +2009-07-05 Danny Backx + + * configure.srv (i[34567]86-*-mingw32ce*): Add i386-low.o to + srv_tgtobj. + +2009-07-04 Danny Backx + Pedro Alves + + * win32-i386-low.c (i386_get_thread_context): Handle systems that + don't support CONTEXT_EXTENDED_REGISTERS. + (i386_win32_breakpoint, i386_win32_breakpoint_len): New. + (the_low_target): Install them. + * win32-low.c (get_child_debug_event): Handle WaitForDebugEvent + failing with ERROR_PIPE_NOT_CONNECTED. + +2009-06-30 Doug Evans + Pierre Muller + + Add h/w watchpoint support to x86-linux, win32-i386. + * Makefile.in (SFILES): Add i386-low.c + (i386_low_h): Define. + (i386-low.o): Add dependencies. + (linux-x86-low.o): Add i386-low.h dependency. + (win32-i386-low.o): Ditto. + * i386-low.c: New file. + * i386-low.h: New file. + * configure.srv (i[34567]86-*-cygwin*): Add i386-low.o to srv_tgtobj. + (i[34567]86-*-linux*, i[34567]86-*-mingw*, x86_64-*-linux*): Ditto. + * linux-low.c (linux_add_process): Initialize arch_private. + (linux_remove_process): Free arch_private. + (add_lwp): Initialize arch_private. + (delete_lwp): Free arch_private. + (linux_resume_one_lwp): Call the_low_target.prepare_to_resume if + provided. + * linux-low.h (process_info_private): New member arch_private. + (lwp_info): New member arch_private. + (linux_target_ops): New members new_process, new_thread, + prepare_to_resume. + (ptid_of): New macro. + * linux-x86-low.c: Include stddef.h, i386-low.h. + (arch_process_info): New struct. + (arch_lwp_info): New struct. + (x86_linux_dr_get, x86_linux_dr_set): New functions. + (i386_dr_low_set_addr, i386_dr_low_set_control): New functions. + (i386_dr_low_get_status): New function. + (x86_insert_point, x86_remove_point): New functions. + (x86_stopped_by_watchpoint): New function. + (x86_stopped_data_address): New function. + (x86_linux_new_process, x86_linux_new_thread): New functions. + (x86_linux_prepare_to_resume): New function. + (the_low_target): Add entries for insert_point, remove_point, + stopped_by_watchpoint, stopped_data_address, new_process, new_thread, + prepare_to_resume. + * server.c (debug_hw_points): New global. + (monitor_show_help): Document set debug-hw-points. + (handle_query): Process "set debug-hw-points". + * server.h (debug_hw_points): Declare. + (paddress): Declare. + * utils.c (NUMCELLS, CELLSIZE): New macros. + (get_sell, xsnprintf, paddress): New functions. + * win32-arm-low.c (the_low_target): Add entries for insert_point, + remove_point, stopped_by_watchpoint, stopped_data_address. + * win32-i386-low.c: Include i386-low.h. + (debug_reg_state): Replaces dr. + (i386_dr_low_set_addr, i386_dr_low_set_control): New functions. + (i386_dr_low_get_status): New function. + (i386_insert_point, i386_remove_point): New functions. + (i386_stopped_by_watchpoint): New function. + (i386_stopped_data_address): New function. + (i386_initial_stuff): Update. + (get_thread_context,set_thread_context,i386_thread_added): Update. + (the_low_target): Add entries for insert_point, + remove_point, stopped_by_watchpoint, stopped_data_address. + * win32-low.c (win32_insert_watchpoint): New function. + (win32_remove_watchpoint): New function. + (win32_stopped_by_watchpoint): New function. + (win32_stopped_data_address): New function. + (win32_target_ops): Add entries for insert_watchpoint, + remove_watchpoint, stopped_by_watchpoint, stopped_data_address. + * win32-low.h (win32_target_ops): New members insert_point, + remove_point, stopped_by_watchpoint, stopped_data_address. + +2009-06-25 Pedro Alves + + * server.c (process_serial_event): Re-return unsupported, not + error, if the type isn't recognized. Re-allow supporting only + insert or remove packets. Also call require_running for + breakpoints. Add missing break statement to default case. Tidy. + * target.h (struct target_ops): Rename insert_watchpoint to + insert_point, and remove_watchpoint to remove_point. + + * linux-low.h (struct linux_target_ops): Likewise. + * linux-low.c (linux_insert_watchpoint): Rename to ... + (linux_insert_point): ... this. Adjust. + (linux_remove_watchpoint): Rename to ... + (linux_remove_point): ... this. Adjust. + (linux_target_ops): Adjust. + * linux-crisv32-low.c (cris_insert_watchpoint): Rename to ... + (cris_insert_point): ... this. + (cris_remove_watchpoint): Rename to ... + (cris_remove_point): ... this. + (the_low_target): Adjust. + +2009-06-24 Pierre Muller + + * server.c (handle_v_kill): Pass signal_pid to + kill_inferior if multi_process is zero. + +2009-06-23 Aleksandar Ristovski + + * server.c (process_serial_event): Add support for Z0 and Z1 packet. + * target.h (target_ops): Comment for *_watchpoint to make it clear + the functions can get types '0' and '1'. + +2009-06-22 Aleksandar Ristovski + + * linux-low.c (usr_fetch_inferior_registers): Remove check for regno 0. + * proc-service.c (ps_lgetregs): Pass -1 to fetch all registers. + * regcache.c (get_regcache): Likewise. + * spu-low.c (spu_fetch_registers): Remove 0 to -1 conversion. + * win32-low.c (child_fetch_inferior_registers): Remove check for + regno 0. + +2009-06-19 Aleksandar Ristovski + Pedro Alves + + * target.h (struct target_ops) : New + callback. + (target_supports_multi_process): New. + * server.c (handle_query): Even if GDB reports support, only + enable multi-process if the target also supports it. Report + multi-process support only if the target backend supports it. + * linux-low.c (linux_supports_multi_process): New function. + (linux_target_ops): Install it as target_supports_multi_process + callback. + +2009-05-24 Doug Evans + + Global renaming of find_thread_pid to find_thread_ptid. + * server.h (find_thread_ptid): Renamed from find_thread_pid. + * inferiors.c (find_thread_ptid): Renamed from find_thread_pid. + All callers updated. + + * linux-low.c (handle_extended_wait): Use linux_resume_one_lwp + to resume the newly created thread, don't call ptrace (PTRACE_CONT) + directly. + + * linux-low.c (get_stop_pc): Print pc if debug_threads. + (check_removed_breakpoint, linux_wait_for_lwp): Ditto. + (linux_resume_one_lwp): Ditto. + +2009-05-23 Doug Evans + + * linux-low.c (linux_resume_one_lwp): Change type of first arg + from struct inferior_list_entry * to struct lwp_info *. + All callers updated. + +2009-05-13 Doug Evans + + * linux-x86-low.c: Don't include assert.h. + (x86_siginfo_fixup): Use fatal, not assert. + (x86_arch_setup): Fix comment. + +2009-05-12 Doug Evans + + Biarch support for i386/amd64 gdbserver. + * Makefile.in (SFILES): Remove linux-i386-low.c, linux-x86-64-low.c. + Add linux-x86-low.c. + (linux-i386-low.o, linux-x86-64-low.o): Delete. + (linux-x86-low.o): Add. + * linux-x86-64-low.c: Delete. + * linux-i386-low.c: Delete. + * linux-x86-low.c: New file. + * configure.srv (i?86-linux srv_tgtobj): Replace linux-i386-low.o with + linux-x86-low.o. + (x86_64-linux srv_tgtobj): Replace linux-x86-64-low.o with + linux-x86-low.o. + (x86_64-linux srv_regobj): Add reg-i386-linux.o. + * linux-low.c: Include ansidecl.h, elf/common.h, elf/external.h. + (linux_child_pid_to_exec_file): New function. + (elf_64_header_p, elf_64_file_p): New functions. + (siginfo_fixup): New function. + (linux_xfer_siginfo): New local inf_siginfo. Call siginfo_fixup to + give target a chance to convert layout. + * linux-low.h (linux_target_ops): New member siginfo_fixup. + (linux_child_pid_to_exec_file, elf_64_file_p): Declare. + +2009-05-07 Doug Evans + + * linux-low.c (regsets_fetch_inferior_registers): Fix memory leak. + (regsets_store_inferior_registers): Ditto. + +2009-05-06 Pedro Alves + + PR server/10048 + + * linux-low.c (must_set_ptrace_flags): Delete. + (linux_create_inferior): Set `lwp->must_set_ptrace_flags' instead + of the global. + (linux_attach_lwp_1): Don't set PTRACE_SETOPTIONS here. Set + `lwp->must_set_ptrace_flags' instead. + (linux_wait_for_event_1): Set ptrace options here. + (linux_wait_1): ... not here. + +2009-04-30 Doug Evans + + * inferiors.c (started_inferior_callback): New function. + (attached_inferior_callback): New function. + (have_started_inferiors_p, have_attached_inferiors_p): New functions. + * server.c (print_started_pid, print_attached_pid): New functions. + (detach_or_kill_for_exit): New function. + (main): Call it instead of for_each_inferior (kill_inferior_callback). + * server.h (have_started_inferiors_p): Declare. + (have_attached_inferiors_p): Declare. + + * inferiors.c (remove_process): Fix memory leak, free process. + * linux-low.c (linux_remove_process): New function. + (linux_kill): Call it instead of remove_process. + (linux_detach, linux_wait_1): Ditto. + +2009-04-19 Danny Backx + + * configure.srv: Add x86 Windows CE target. + +2009-04-03 Ulrich Weigand + + * inferiors.c (get_thread_process): Make global. + * server.h (get_thread_process): Add prototype. + * thread-db.c (find_one_thread): Use get_thread_process + instead of current_process. + (thread_db_get_tls_address): Do not crash if called when + thread layer is not yet initialized. + +2009-04-03 Ulrich Weigand + + * remote-utils.c (prepare_resume_reply): Null-terminate packet. + * spu-low.c (current_tid): Rename to ... + (current_ptid): ... this. + (fetch_ppc_register, fetch_ppc_memory, store_ppc_memory, + spu_proc_xfer_spu, spu_resume, spu_request_interrupt): Use + ptid_get_lwp (current_ptid) instead of current_tid. + (spu_kill, spu_detach, spu_join, spu_wait): Use pid argument + instead of current_tid. Use find_process_pid to verify pid + argument is valid. Pass proper argument to remove_process. + (spu_thread_alive): Compare current_ptid instead of current_tid. + (spu_resume): Likewise. + +2009-04-02 Pedro Alves + + * linux-low.c (usr_store_inferior_registers): Declare local `pid' + variable. + +2009-04-01 Pedro Alves + + Implement the multiprocess extensions, and add linux multiprocess + support. + + * server.h (ULONGEST): Declare. + (struct ptid, ptid_t): New. + (minus_one_ptid, null_ptid): Declare. + (ptid_build, pid_to_ptid, ptid_get_pid, ptid_get_lwp) + (ptid_get_tid, ptid_equal, ptid_is_pid): Declare. + (struct inferior_list_entry): Change `id' type from unsigned from + to ptid_t. + (struct sym_cache, struct breakpoint, struct + process_info_private): Forward declare. + (struct process_info): Declare. + (current_process): Declare. + (all_processes): Declare. + (initialize_inferiors): Declare. + (add_thread): Adjust to use ptid_t. + (thread_id_to_gdb_id, thread_to_gdb_id, gdb_id_to_thread_id): Ditto. + (add_process, remove_process, find_thread_pid): Declare. + (find_inferior_id): Adjust to use ptid_t. + (cont_thread, general_thread, step_thread): Change type to ptid_t. + (multi_process): Declare. + (push_event): Adjust to use ptid_t. + (read_ptid, write_ptid): Declare. + (prepare_resume_reply): Adjust to use ptid_t. + (clear_symbol_cache): Declare. + * inferiors.c (all_processes): New. + (null_ptid, minus_one_ptid): New. + (ptid_build, pid_to_ptid, ptid_get_pid, ptid_get_lwp) + (ptid_get_tid, ptid_equal, ptid_is_pid): New. + (add_thread): Change unsigned long to ptid. Remove gdb_id + parameter. Adjust. + (thread_id_to_gdb_id, thread_to_gdb_id): Change unsigned long to ptid. + (gdb_id_to_thread): Rename to ... + (find_thread_pid): ... this. Change unsigned long to ptid. + (gdb_id_to_thread_id, find_inferior_id): Change unsigned long to ptid. + (loaded_dll, pull_pid_from_list): Adjust. + (add_process, remove_process, find_process_pid) + (get_thread_process, current_process, initialize_inferiors): New. + * target.h (struct thread_resume) : Change type to ptid_t. + (struct target_waitstatus) : Ditto. + (struct target_ops) : Add `pid' argument. Change + return type to int. + (struct target_ops) : Add `pid' argument. + (struct target_ops) : Change pid's type to ptid_t. + (struct target_ops) : Add `ptid' field. Change return type + to ptid. + (kill_inferior, detach_inferior, join_inferior): Add `pid' argument. + (mywait): Add `ptid' argument. Change return type to ptid_t. + (target_pid_to_str): Declare. + * target.c (set_desired_inferior): Adjust to use ptids. + (mywait): Add new `ptid' argument. Adjust. + (target_pid_to_str): New. + * mem-break.h (free_all_breakpoints): Declare. + * mem-break.c (breakpoints): Delelete. + (set_breakpoint_at, delete_breakpoint, find_breakpoint_at) + (check_mem_read, check_mem_write, delete_all_breakpoints): Adjust + to use per-process breakpoint list. + (free_all_breakpoints): New. + * remote-utils.c (struct sym_cache) : Drop `const'. + (symbol_cache, all_symbols_looked_up): Delete. + (hexchars): New. + (ishex, unpack_varlen_hex, write_ptid, hex_or_minus_one, + read_ptid): New. + (prepare_resume_reply): Change ptid argument's type from unsigned + long to ptid_t. Adjust. Implement W;process and X;process. + (free_sym_cache, clear_symbol_cache): New. + (look_up_one_symbol): Adjust to per-process symbol cache. * + * server.c (cont_thread, general_thread, step_thread): Change type + to ptid_t. + (attached): Delete. + (multi_process): New. + (last_ptid): Change type to ptid_t. + (struct vstop_notif) : Change type to ptid_t. + (queue_stop_reply, push_event): Change `ptid' argument's type to + ptid_t. + (discard_queued_stop_replies): Add `pid' argument. + (start_inferior): Adjust to use ptids. Adjust to mywait interface + changes. Don't reference the `attached' global. + (attach_inferior): Adjust to mywait interface changes. + (handle_query): Adjust to use ptids. Parse GDB's qSupported + features. Handle and report "multiprocess+". Handle + "qAttached:PID". + (handle_v_cont): Adjust to use ptids. Adjust to mywait interface + changes. + (handle_v_kill): New. + (handle_v_stopped): Adjust to use target_pid_to_str. + (handle_v_requests): Allow multiple attaches and runs when + multiprocess extensions are in effect. Handle "vKill". + (myresume): Adjust to use ptids. + (queue_stop_reply_callback): Add `arg' parameter. Handle it. + (handle_status): Adjust to discard_queued_stop_replies interface + change. + (first_thread_of, kill_inferior_callback) + (detach_or_kill_inferior_callback, join_inferiors_callback): New. + (main): Call initialize_inferiors. Adjust to use ptids, killing + and detaching from all inferiors. Handle multiprocess packet + variants. + * linux-low.h: Include gdb_proc_service.h. + (struct process_info_private): New. + (struct linux_target_ops) : Use ptid_get_pid. + : Use ptid_get_lwp. + (get_lwp_thread): Adjust. + (struct lwp_info): Add `dead' member. + (find_lwp_pid): Declare. + * linux-low.c (thread_db_active): Delete. + (new_inferior): Adjust comment. + (inferior_pid): Delete. + (linux_add_process): New. + (handle_extended_wait): Adjust. + (add_lwp): Change unsigned long to ptid. + (linux_create_inferior): Add process to processes table. Adjust + to use ptids. Don't set new_inferior here. + (linux_attach_lwp): Rename to ... + (linux_attach_lwp_1): ... this. Add `initial' argument. Handle + it. Adjust to use ptids. + (linux_attach_lwp): New. + (linux_attach): Add process to processes table. Don't set + new_inferior here. + (struct counter): New. + (second_thread_of_pid_p, last_thread_of_process_p): New. + (linux_kill_one_lwp): Add `args' parameter. Handle it. Adjust to + multiple processes. + (linux_kill): Add `pid' argument. Handle it. Adjust to multiple + processes. Remove process from process table. + (linux_detach_one_lwp): Add `args' parameter. Handle it. Adjust + to multiple processes. + (any_thread_of): New. + (linux_detach): Add `pid' argument, and handle it. Remove process + from processes table. + (linux_join): Add `pid' argument. Handle it. + (linux_thread_alive): Change unsighed long argument to ptid_t. + Consider dead lwps as not being alive. + (status_pending_p): Rename `dummy' argument to `arg'. Filter out + threads we're not interested in. + (same_lwp, find_lwp_pid): New. + (linux_wait_for_lwp): Change `pid' argument's type from int to + ptid_t. Adjust. + (linux_wait_for_event): Rename to ... + (linux_wait_for_event_1): ... this. Change `pid' argument's type + from int to ptid_t. Adjust. + (linux_wait_for_event): New. + (linux_wait_1): Add `ptid' argument. Change return type to + ptid_t. Adjust. Use last_thread_of_process_p. Remove processes + that exit from the process table. + (linux_wait): Add `ptid' argument. Change return type to ptid_t. + Adjust. + (mark_lwp_dead): New. + (wait_for_sigstop): Adjust to use ptids. If a process exits while + stopping all threads, mark its main lwp as dead. + (linux_set_resume_request, linux_resume_one_thread): Adjust to use + ptids. + (fetch_register, usr_store_inferior_registers) + (regsets_fetch_inferior_registers) + (regsets_store_inferior_registers, linux_read_memory) + (linux_write_memory): Inline `inferior_pid'. + (linux_look_up_symbols): Adjust to use per-process + `thread_db_active'. + (linux_request_interrupt): Adjust to use ptids. + (linux_read_auxv): Inline `inferior_pid'. + (initialize_low): Don't reference thread_db_active. + * gdb_proc_service.h (struct ps_prochandle) : Remove. + * proc-service.c (ps_lgetregs): Use find_lwp_pid. + (ps_getpid): Return the pid of the current inferior. + * thread-db.c (proc_handle, thread_agent): Delete. + (thread_db_create_event, thread_db_enable_reporting): Adjust to + per-process data. + (find_one_thread): Change argument type to ptid_t. Adjust to + per-process data. + (maybe_attach_thread): Adjust to per-process data and ptids. + (thread_db_find_new_threads): Ditto. + (thread_db_init): Ditto. + * spu-low.c (spu_create_inferior, spu_attach): Add process to + processes table. Adjust to use ptids. + (spu_kill, spu_detach): Adjust interface. Remove process from + processes table. + (spu_join, spu_thread_alive): Adjust interface. + (spu_wait): Adjust interface. Remove process from processes + table. Adjust to use ptids. + * win32-low.c (current_inferior_tid): Delete. + (current_inferior_ptid): New. + (debug_event_ptid): New. + (thread_rec): Take a ptid. Adjust. + (child_add_thread): Add `pid' argument. Adjust to use ptids. + (child_delete_thread): Ditto. + (do_initial_child_stuff): Add `attached' argument. Add process to + processes table. + (child_fetch_inferior_registers, child_store_inferior_registers): + Adjust. + (win32_create_inferior): Pass 0 to do_initial_child_stuff. + (win32_attach): Pass 1 to do_initial_child_stuff. + (win32_kill): Adjust interface. Remove process from processes + table. + (win32_detach): Ditto. + (win32_join): Adjust interface. + (win32_thread_alive): Take a ptid. + (win32_resume): Adjust to use ptids. + (get_child_debug_event): Ditto. + (win32_wait): Adjust interface. Remove exiting process from + processes table. + +2009-04-01 Pedro Alves + + Non-stop mode support. + + * server.h (non_stop): Declare. + (gdb_client_data, handler_func): Declare. + (delete_file_handler, add_file_handler, start_event_loop): + Declare. + (handle_serial_event, handle_target_event, push_event) + (putpkt_notif): Declare. + * target.h (enum resume_kind): New. + (struct thread_resume): Replace `step' field by `kind' field. + (TARGET_WNOHANG): Define. + (struct target_ops) : Add `options' argument. + : New fields. + (target_supports_non_stop, target_async): New. + (start_non_stop): Declare. + (mywait): Add `options' argument. + * target.c (mywait): Add `options' argument. Print child exit + notifications here. + (start_non_stop): New. + * server.c (non_stop, own_buf, mem_buf): New globals. + (struct vstop_notif): New. + (notif_queue): New global. + (queue_stop_reply, push_event, discard_queued_stop_replies) + (send_next_stop_reply): New. + (start_inferior): Adjust to use resume_kind. Adjust to mywait + interface changes. + (attach_inferior): In non-stop mode, don't wait for the target + here. + (handle_general_set): Handle QNonStop. + (handle_query): When handling qC, return the current general + thread, instead of the first thread of the list. + (handle_query): If the backend supports non-stop mode, include + QNonStop+ in the qSupported query response. + (handle_v_cont): Adjust to use resume_kind. Handle resume_stop + and non-stop mode. + (handle_v_attach, handle_v_run): Handle non-stop mode. + (handle_v_stopped): New. + (handle_v_requests): Report support for vCont;t. Handle vStopped. + (myresume): Adjust to use resume_kind. Handle non-stop. + (queue_stop_reply_callback): New. + (handle_status): Handle non-stop mode. + (main): Clear non_stop flag on reconnection. Use the event-loop. + Refactor serial protocol handling from here ... + (process_serial_event): ... to this new function. When GDB + selects any thread, select one here. In non-stop mode, wait until + GDB acks all pending events before exiting. + (handle_serial_event, handle_target_event): New. + * remote-utils.c (remote_open): Install remote_desc in the event + loop. + (remote_close): Remove remote_desc from the event loop. + (putpkt_binary): Rename to... + (putpkt_binary_1): ... this. Add `is_notic' argument. Handle it. + (putpkt_binary): New as wrapper around putpkt_binary_1. + (putpkt_notif): New. + (prepare_resume_reply): In non-stop mode, don't change the + general_thread. + * event-loop.c: New. + * Makefile.in (OBJ): Add event-loop.o. + (event-loop.o): New rule. + + * linux-low.h (pid_of): Moved here. + (lwpid_of): New. + (get_lwp_thread): Use lwpid_of. + (struct lwp_info): Delete `lwpid' field. Add `suspended' field. + * linux-low.c (pid_of): Delete. + (inferior_pid): Use lwpid_of. + (linux_event_pipe): New. + (target_is_async_p): New. + (delete_lwp): New. + (handle_extended_wait): Use lwpid_of. + (add_lwp): Don't set lwpid field. + (linux_attach_lwp): Adjust debug output. Use lwpid_of. + (linux_kill_one_lwp): If killing a running lwp, stop it first. + Use lwpid_of. Adjust to linux_wait_for_event interface changes. + (linux_detach_one_lwp): If detaching from a running lwp, stop it + first. Adjust to linux_wait_for_event interface changes. Use + lwpid_of. + (linux_detach): Don't delete the main lwp here. + (linux_join): Use my_waitpid. Avoid signal_pid. Use lwpid_of. + (status_pending_p): Don't consider explicitly suspended lwps. + (linux_wait_for_lwp): Take an integer pid instead of a lwp_info + pointer. Add OPTIONS argument. Change return type to int. Use + my_waitpid instead of sleeping. Handle WNOHANG. Use lwpid_of. + (linux_wait_for_event): Take an integer pid instead of a lwp_info + pointer. Add status pointer argument. Return a pid instead of a + status. Use lwpid_of. Adjust to linux_wait_for_lwp interface + changes. In non-stop mode, don't switch to a random thread. + (linux_wait): Rename to... + (linux_wait_1): ... this. Add target_options argument, and handle + it. Adjust to use resume_kind. Use lwpid_of. In non-stop mode, + don't handle the continue thread. Handle TARGET_WNOHANG. Merge + clean exit and signal exit code. Don't stop all threads in + non-stop mode. In all-stop mode, only stop all threads when + reporting a stop to GDB. Handle explicit thread stop requests. + (async_file_flush, async_file_mark): New. + (linux_wait): New. + (send_sigstop): Use lwpid_of. + (wait_for_sigstop): Use lwpid_of. Adjust to linux_wait_for_event + interface changes. In non-stop mode, don't switch to a random + thread. + (linux_resume_one_lwp): Use lwpid_of. + (linux_continue_one_thread, linux_queue_one_thread): Merge into ... + (linux_resume_one_thread): ... this. Handle resume_stop. In + non-stop mode, don't look for pending flag in all threads. + (resume_status_pending_p): Don't consider explicitly suspended + threads. + (my_waitpid): Reimplement. Emulate __WALL. + (linux_request_interrupt, linux_read_offsets, linux_xfer_siginfo): + Use lwpid_of. + (sigchld_handler, linux_supports_non_stop, linux_async) + (linux_start_non_stop): New. + (linux_target_ops): Register linux_supports_non_stop, linux_async + and linux_start_non_stop. + (initialize_low): Install SIGCHLD handler. + * thread-db.c (thread_db_create_event, find_one_thread) + (thread_db_get_tls_address): Use lwpid_of. + * win32-low.c (win32_detach): Adjust to use resume_kind. + (win32_wait): Add `options' argument. + * spu-low.c (spu_resume): Adjust to use resume_kind. + (spu_wait): Add `options' argument. + +2009-04-01 Pedro Alves + + Decouple target code from remote protocol. + + * target.h (enum target_waitkind): New. + (struct target_waitstatus): New. + (struct target_ops) : Return an unsigned long. Take a + target_waitstatus pointer instead of a char pointer. + (mywait): Likewise. + * target.c (mywait): Change prototype to return an unsigned long. + Take a target_waitstatus pointer instead of a char pointer. Adjust. + * server.h (thread_from_wait, old_thread_from_wait): Delete + declarations. + (prepare_resume_reply): Change prototype to take a + target_waitstatus. + * server.c (thread_from_wait, old_thread_from_wait): Delete. + (last_status, last_ptid): New. + (start_inferior): Remove "statusptr" argument. Adjust. Return a + pid instead of a signal. + (attach_inferior): Remove "status" and "signal" parameters. + Adjust. + (handle_query): For qGetTLSAddr, parse the thread id with strtol, + not as an address. + (handle_v_cont, handle_v_attach, handle_v_run, handle_v_kill) + (handle_v_requests, myresume): Remove "status" and "signal" + parameters. Adjust. + (handle_status): New. + (main): Delete local `status'. Adjust. + * remote-utils.c: Include target.h. + (prepare_resume_reply): Change prototype to take a + target_waitstatus. Adjust. + + * linux-low.c (linux_wait): Adjust to new target_ops->wait + interface. + * spu-low.c (spu_wait): Adjust. + * win32-low.c (enum target_waitkind, struct target_waitstatus): + Delete. + (win32_wait): Adjust. + +2009-04-01 Pedro Alves + + * target.h (struct thread_resume): Delete leave_stopped member. + (struct target_ops): Add a `n' argument to the `resume' callback. + * server.c (start_inferior): Adjust. + (handle_v_cont, myresume): Adjust. + * linux-low.c (check_removed_breakpoint): Adjust to resume + interface change, and to removed leave_stopped field. + (resume_ptr): Delete. + (struct thread_resume_array): New. + (linux_set_resume_request): Add new `arg' parameter. Adjust to + resume interface change. + (linux_continue_one_thread, linux_queue_one_thread) + (resume_status_pending_p): Check if the resume field is NULL + instead of checking the leave_stopped member. + (linux_resume): Adjust to the target resume interface change. + * spu-low.c (spu_resume): Adjust to the target resume interface + change. + * win32-low.c (win32_detach, win32_resume): Ditto. + +2009-04-01 Pedro Alves + + * linux-low.c (linux_wait_for_event): Don't clear the `stepping' + flag. + (wait_for_sigstop): Don't leave a finished single-step SIGTRAP + pending. + (linux_continue_one_thread): Only preserve the stepping flag if + there's a pending breakpoint. + +2009-03-31 Pedro Alves + + * server.c (main): After the inferior having exited, call + remote_close before exiting gdbserver. + +2009-03-25 Thiago Jung Bauermann + + Fix size of FPSCR in Power 7 processors. + * linux-ppc-low.c (PPC_FEATURE_ARCH_2_05): Remove #define. + (PPC_FEATURE_HAS_DFP): New #define. + (ppc_arch_setup): Check for DFP feature instead of ISA 2.05 to decide on + size of the FPSCR. + +2009-03-23 Pedro Alves + + * server.c (handle_query) Whitespace and formatting. + +2009-03-22 Pedro Alves + + * i387-fp.c, linux-arm-low.c, linux-cris-low.c, + linux-crisv32-low.c, linux-i386-low.c, linux-low.c, + linux-mips-low.c, linux-s390-low.c, linux-sparc-low.c, + linux-x86-64-low.c, linux-xtensa-low.c, proc-service.c, + regcache.c, remote-utils.c, server.c, spu-low.c, target.h, + thread-db.c, win32-low.c, xtensa-xtregs.c, gdbreplay.c, + Makefile.in, configure.ac: Fix whitespace throughout. + * configure: Regenerate. + +2009-03-22 Pedro Alves + + * inferiors.c (find_inferior): Make it safe for the callback + function to delete the currently iterated inferior. + +2009-03-22 Pedro Alves + + * Makefile.in (linuw_low_h): Move higher. + (thread-db.o): Depend on $(linux_low_h). + +2009-03-17 Pedro Alves + + Rename "process" to "lwp" throughout. + + * linux-low.c (all_processes): Rename to... + (all_lwps): ... this. + (inferior_pid, handle_extended_wait, get_stop_pc): Adjust. + (add_process): Rename to ... + (add_lwp): ... this. Adjust. + (linux_create_inferior): Adjust. + (linux_attach_lwp): Adjust. + (linux_attach): Adjust. + (linux_kill_one_process): Rename to ... + (linux_kill_one_lwp): ... this. Adjust. + (linux_kill): Adjust. + (linux_detach_one_process): Rename to ... + (linux_detach_one_lwp): ... this. Adjust. + (linux_detach): Adjust. + (check_removed_breakpoint): Adjust. + (status_pending_p): Adjust. + (linux_wait_for_process): Rename to ... + (linux_wait_for_lwp): ... this. Adjust. + (linux_wait_for_event): Adjust. + (send_sigstop): Adjust. + (wait_for_sigstop): Adjust. + (stop_all_processes): Rename to ... + (stop_all_lwps): ... this. + (linux_resume_one_process): Rename to ... + (linux_resume_one_lwp): ... this. Adjust. + (linux_set_resume_request, linux_continue_one_thread) + (linux_queue_one_thread, resume_status_pending_p) + (usr_store_inferior_registers, regsets_store_inferior_registers) + (linux_request_interrupt, linux_read_offsets, linux_xfer_siginfo): + Adjust. + * linux-low.h (get_process): Rename to ... + (get_lwp): ... this. Adjust. + (get_thread_process): Rename to ... + (get_thread_lwp): ... this. Adjust. + (get_process_thread): Rename to ... + (get_lwp_thread): ... this. Adjust. + (struct process_info): Rename to ... + (struct lwp_info): ... this. + (all_processes): Rename to ... + (all_lwps): ... this. + * proc-service.c (ps_lgetregs): Adjust. + * thread-db.c (thread_db_create_event, find_one_thread) + (maybe_attach_thread, thread_db_get_tls_address): Adjust. + +2009-03-14 Pedro Alves + + * server.c (handle_query): Handle "qAttached". + +2009-03-13 Nathan Sidwell + + * Makefile.in, hostio-errno.c, errno.c, xtensa-xtregs.c: Change to + GPLv3, update license URL. + +2009-03-01 Doug Evans + + * Makefile.in (INCLUDE_CFLAGS): Add -I$(srcdir)/../common. + (server_h): Add gdb_signals.h. + (signals.o): Update. + * server.h (target_signal_from_host,target_signal_to_host_p) + (target_signal_to_host,target_signal_to_name): Moved to gdb_signals.h. + +2009-02-14 Pierre Muller + + * remote-utils.c (getpkt): Also generate remote-debug + information if noack_mode is set. + +2009-02-06 Pedro Alves + + * server.c (handle_query): Report qXfer:siginfo:read and + qXfer:siginfo:write as supported and handle them. + * target.h (struct target_ops) : New field. + * linux-low.c (linux_xfer_siginfo): New. + (linux_target_ops): Set it. + +2009-01-26 Pedro Alves + + * server.c (gdbserver_usage): Mention --remote-debug. + (main): Accept '--remote-debug' switch. + +2009-01-18 Doug Evans + + * regcache.c (new_register_cache): No need to check result of xcalloc. + * server.c (handle_search_memory): Back out calls to xmalloc, + result is checked and error is returned to user upon failure. + (handle_query): Ditto. Add more checks for result of malloc. + (handle_v_cont): Check result of malloc, report error back to + user upon failure. + (handle_v_run): Ditto. Call freeargv. + * server.h (freeargv): Declare. + * utils.c (freeargv): New fn. + +2009-01-15 Doug Evans + + * gdbreplay.c (perror_with_name): Make arg const char *. + * server.h (target_signal_to_name): Make return type const char *. + * thread-db.c (thread_db_err_str): Make return type const char *. + * utils.c (perror_with_name): Make arg const char *. + +2009-01-14 Pedro Alves + + * win32-low.c (get_child_debug_event): Issue a final DBG_CONTINUE + when handling a EXIT_PROCESS_DEBUG_EVENT. + +2009-01-06 Joel Brobecker + + * gdbreplay.c (gdbreplay_version): Update copyright year. + * server.c (gdbserver_version): Likewise. + +2009-01-05 Doug Evans + + * linux-low.c (linux_attach_lwp): Add some comments/fixmes. + (handle_extended_wait): Improve comment. + +2008-12-13 Doug Evans + + * utils.c (xmalloc,xcalloc,xstrdup): New fns. + * server.h (ATTR_MALLOC): New macro. + (xmalloc,xcalloc,xstrdup): Declare. + * hostio.c: Replace malloc,calloc,strdup with xmalloc,xcalloc,xstrdup. + * inferiors.c: Ditto. + * linux-low.c: Ditto. + * mem-break.c: Ditto. + * regcache.c: Ditto. + * remote-utils.c: Ditto. + * server.c: Ditto. + * target.c: Ditto. + * win32-low.c: Ditto. + +2008-12-12 Doug Evans + + * linux-low.c (linux_wait_for_process): Don't clobber current_inferior + in debugging printf. + + * linux-low.c (handle_extended_wait): Simplify, use my_waitpid. + +2008-12-09 Doug Evans + + * linux-low.h (struct process_info): Delete member tid, unused. + * thread-db.c (find_one_thread): Update. + (maybe_attach_thread): Update. + +2008-12-02 Pedro Alves + + * target.h (struct target_ops): Add qxfer_osdata member. + * linux-low.c: Include ctype.h and pwd.h and sys/types.h + and dirent.h. + (linux_qxfer_osdata): New functions. + (linux_target_ops): Register linux_qxfer_osdata as qxfer_osdata + callback. + * server.c (handle_query): Handle "qXfer:osdata:read:". + * remote-utils.c (buffer_grow, buffer_free, buffer_init, buffer_finish) + (buffer_xml_printf): New functions. + * server.h (struct buffer): New. + (buffer_grow_str, buffer_grow_str0): New macros. + (buffer_grow, buffer_free, buffer_init, buffer_finish) + (buffer_xml_printf): Declare. + +2008-11-24 Doug Evans + + * Makefile.in (VERSION,DIST,LINT,LINTFLAGS): Delete, unused. + +2008-11-24 Daniel Jacobowitz + + * server.c (handle_v_run): Always use the supplied argument list. + +2008-11-19 Bob Wilson + + * xtensa-xtregs.c (XTENSA_ELF_XTREG_SIZE): Change to 4. + (xtensa_regmap_table): Add entry for scompare1. + +2008-11-18 Thiago Jung Bauermann + + * Makefile.in (powerpc-isa205-32l.o, powerpc-isa205-32l.c, + powerpc-isa205-altivec32l.o, powerpc-isa205-altivec32l.c, + powerpc-isa205-vsx32l.o, powerpc-isa205-vsx32l.c, + powerpc-isa205-64l.o, powerpc-isa205-64l.c, + powerpc-isa205-altivec64l.o, powerpc-isa205-altivec64l.c, + powerpc-isa205-vsx64l.o, powerpc-isa205-vsx64l.c): New targets. + * configure.srv (powerpc*-*-linux*): Add ISA 2.05 object files and + XML target descriptions. + * linux-ppc-low.c (ppc_arch_setup): Init registers with 64-bit FPSCR + when inferior is running on an ISA 2.05 or later processor. Add + special case to return offset for full 64-bit slot of FPSCR when + in 32-bits. + +2008-11-14 Daniel Gutson + + * 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. + +2008-10-21 Doug Evans + + * Makefile.in (BFD_DIR,BFD,BFD_SRC,BFD_CFLAGS): Delete. + (READLINE_DIR,READLINE_DEP): Delete. + (INTERNAL_CFLAGS): Update. + (LINTFLAGS): Update. + +2008-10-10 Pedro Alves + + * server.c (handle_v_run): If GDB didn't specify an argv, use the + whole argv from the last run, not just argv[0]. + +2008-09-08 Pedro Alves + + * regcache.c (new_register_cache): Return NULL if the register + cache size isn't known yet. + (free_register_cache): Avoid dereferencing a NULL regcache. + +2008-09-04 Daniel Jacobowitz + + * configure.srv: Merge MIPS and MIPS64. + +2008-08-24 Maciej W. Rozycki + + * Makefile.in (uninstall): Apply $(EXEEXT) too. + +2008-08-18 Luis Machado + + * Makefile.in: Add required vsx dependencies. + + * linux-ppc-low: Define PPC_FEATURE_HAS_VSX. + Declare init_registers_powerpc_vsx32l. + Declare init_registers_powerpc_vsx64l. + Define PTRACE_GETVSXREGS and PTRACE_SETVSXREGS. + (ppc_arch_setup): Check for VSX in hwcap. + (ppc_fill_vsxregset): New function. + (ppc_store_vsxregset): New function. + Add new VSX entry in regset_info target_regsets. + + * configure.srv: Add new VSX dependencies. + +2008-08-12 Pedro Alves + + * remote-utils.c (noack_mode, transport_is_reliable): New globals. + (remote_open): Set or clear transport_is_reliable. + (putpkt_binary): Don't expect acks in noack mode. + (getpkt): Don't send ack/nac in noack mode. + * server.c (handle_general_set): Handle QStartNoAckMode. + (handle_query): If connected by tcp pass QStartNoAckMode+ in + qSupported. + (main): Reset noack_mode on every connection. + * server.h (noack_mode): Declare. + +2008-08-07 Ralf Wildenhues + + * Makefile.in (GDBREPLAY_OBS): New variable. + (gdbreplay$(EXEEXT)): Use it to avoid unportable $^. + +2008-08-05 Ulrich Weigand + Daniel Jacobowitz + + * linux-low.c (linux_resume_one_process): Ignore ESRCH. + (usr_store_inferior_registers): Likewise. + (regsets_store_inferior_registers): Likewise. + +2008-07-31 Rolf Jansen + Pedro Alves + + * configure.ac: Check for memmem declaration. + * server.c [HAVE_MALLOC_H]: Include malloc.h. + (disable_packet_vCont, disable_packet_Tthread, disable_packet_qC) + (disable_packet_qfThreadInfo): Unconditionally compile. + * server.h [!HAVE_DECL_MEMMEM]: Declare memmem. + * configure, config.in: Regenerate. + +2008-07-28 Doug Kwan + + * linux-low.c (sys/dir.h, sys/user.h): Remove includes. + (linux_write_memory): Remove declaration of errno. + +2008-07-12 Ulrich Weigand + + * linux-low.c (handle_extended_wait): Do not use "status" + variable uninitialized. + +2008-07-07 Pedro Alves + + * server.c (handle_v_attach): Inhibit reporting dll changes. + +2008-06-27 Pedro Alves + + * remote-utils.c (prepare_resume_reply): If requested, don't + output "thread:TID" in the T stop reply. + + * server.c (disable_packet_vCont, disable_packet_Tthread) + (disable_packet_qC, disable_packet_qfThreadInfo): New globals. + (handle_query): If requested, disable support for qC, qfThreadInfo + and qsThreadInfo. + (handle_v_requests): If requested, disable support for vCont. + (gdbserver_show_disableable): New. + (main): Handle --disable-packet and --disable-packet=LIST. + + * server.h (disable_packet_vCont, disable_packet_Tthread) + (disable_packet_qC, disable_packet_qfThreadInfo): Declare. + +2008-06-20 Carlos O'Donell + + * server.c (gdbserver_usage): Mention --version. + +2008-06-06 Daniel Jacobowitz + + * Makefile.in (gdbreplay.o): New rule. + +2008-06-06 Joseph Myers + + * gdbreplay.c (gdbreplay_version): Say gdbreplay in version + message, not gdbserver. + +2008-06-05 Vladimir Prus + Nathan Sidwell + Joseph Myers + + * acinclude.m4: Include ../../config/acx.m4. + * configure.ac: Use ACX_PKGVERSION and ACX_BUGURL. + * configure, config.in: Regenerate. + * Makefile.in (gdbreplay$(EXEEXT)): Add version.o. + * server.c (gdbserver_version): Print PKGVERSION. + (gdbsrever_usage): Add stream parameter. Print REPORT_BUGS_TO. + (main): Adjust gdbserver_usage calls. + * gdbreplay.c (version, host_name): Add declarations. + (gdbreplay_version, gdbreplay_usage): New. + (main): Accept --version and --help options. + +2008-06-04 Daniel Jacobowitz + + * linux-arm-low.c (thumb_breakpoint, thumb_breakpoint_len): New. + (arm_breakpoint_at): Handle Thumb. + (the_low_target): Add comment. + +2008-05-29 Ulrich Weigand + + * linux-ppc-low.c (ppc_collect_ptrace_register): Clear buffer. + +2008-05-09 Doug Evans + + * server.h (decode_search_memory_packet): Declare. + * remote-utils.c (decode_search_memory_packet): New fn. + * server.c (handle_search_memory_1): New fn. + (handle_search_memory): New fn. + (handle_query): Process qSearch:memory packets. + +2008-05-08 Ulrich Weigand + + * regcache.c (registers_length): Remove. + (set_register_cache): Verify that PBUFSIZ is large enough to hold a + full register packet. + * regcache.h (registers_length): Remove prototype. + * server.h (PBUFSIZ): Define to 16384. + +2008-05-03 Ulrich Weigand + + * configure.srv (powerpc*-*-linux*): Set srv_regobj to + powerpc-32l.o, powerpc-altivec32l.o, powerpc-e500l.o, + powerpc-64l.o, and powerpc-altivec64l.o. + Remove rs6000/powerpc-32.xml, rs6000/powerpc-64.xml, and + rs6000/powerpc-e500.xml; add rs6000/powerpc-32l.xml, + rs6000/powerpc-altivec32l.xml, rs6000/powerpc-e500l.xml, + rs6000/powerpc-64l.xml, rs6000/powerpc-altivec64l.xml, + rs6000/power-linux.xml, and rs6000/power64-linux.xml + to srv_xmlfiles. + + * Makefile.in (reg-ppc.o, reg-ppc.c): Remove, replace by ... + (powerpc-32l.o, powerpc-32l.c): ... these new rules. + (powerpc-32.o, powerpc-32.c): Remove, replace by ... + (powerpc-altivec32l.o, powerpc-altivec32l.c): ... these new rules. + (powerpc-e500.o, powerpc-e500.c): Remove, replace by ... + (powerpc-e500l.o, powerpc-e500l.c): ... these new rules. + (reg-ppc64.o, reg-ppc64.c): Remove, replace by ... + (powerpc-64l.o, powerpc-64l.c): ... these new rules. + (powerpc-64.o, powerpc-64.c): Remove, replace by ... + (powerpc-altivec64l.o, powerpc-altivec64l.c): ... these new rules. + (clean): Update. + + * linux-ppc-low.c (init_registers_ppc): Remove, replace by ... + (init_registers_powerpc_32l): ... this new prototype. + (init_registers_powerpc_32): Remove, replace by ... + (init_registers_powerpc_altivec32l): ... this new prototype. + (init_registers_powerpc_e500): Remove, replace by ... + (init_registers_powerpc_e500l): ... this new prototype. + (init_registers_ppc64): Remove, replace by ... + (init_registers_powerpc_64l): ... this new prototype. + (init_registers_powerpc_64): Remove, replace by ... + (init_registers_powerpc_altivec64l): ... this new prototype. + (ppc_num_regs): Set to 73. + (PT_ORIG_R3, PT_TRAP): Define if necessary. + (ppc_regmap, ppc_regmap_e500): Add values for orig_r3 and trap. + (ppc_cannot_store_register): Handle orig_r3 and trap. + (ppc_arch_setup): Update init_registers_... calls. + (ppc_fill_gregset): Handle orig_r3 and trap. + + * inferiors.c (clear_inferiors): Reset current_inferior. + +2008-04-23 Paolo Bonzini + + * acinclude.m4: Add override.m4. + * configure: Regenerate. + +2008-04-21 Ulrich Weigand + + * linux-ppc-low.c (ppc_arch_setup): Reset ppc_hwcap after the + initial call to init_register_ppc64. + +2008-04-21 Ulrich Weigand + + * configure.srv (powerpc64-*-linux*, powerpc-*-linux*): Merge into + single powerpc*-*-linux* case. + (s390-*-linux*, s390x-*-linux*): Merge into single s390*-*-linux* case. + +2008-04-17 Ulrich Weigand + + * configure.srv [powerpc64-*-linux*]: Remove powerpc-e500.o from + srv_regobj. Remove rs6000/powerpc-e500.xml and rs6000/power-spe.xml + from reg_xmlfiles. + * linux-ppc-low.c: Include . + (PPC_FEATURE_HAS_ALTIVEC, PPC_FEATURE_HAS_SPE): Define. + (ppc_hwcap): New global variable. + (ppc_regmap): Remove __SPE__ #ifdef sections. + (ppc_regmap_e500): New global variable. + (ppc_cannot_store_register): Update __SPE__ special case. + (ppc_get_hwcap): New function. + (ppc_arch_setup): Use it to determine whether inferior supports + AltiVec or SPE registers. Set the_low_target.regmap if appropriate. + (ppc_fill_vrregset, ppc_store_vrregset): Define unconditionally. + Do not access registers if target does not support AltiVec. + (ppc_fill_evrregset, ppc_store_evrregset): Define unconditionally. + Do not access registers if target does not support SPE. + (target_regsets): Unconditionally include AltiVec and SPE regsets. + +2008-04-17 Daniel Jacobowitz + + * linux-low.c (disabled_regsets, num_regsets): New. + (use_regsets_p): Delete. + (linux_wait_for_process): Clear disabled_regsets. + (regsets_fetch_inferior_registers): Check and set it. + (regsets_store_inferior_registers): Likewise. + (linux_fetch_registers, linux_store_registers): Do not use + use_regsets_p. + (initialize_low): Allocate disabled_regsets. + +2008-04-14 Daniel Jacobowitz + + * Makefile.in (LIBOBJS): New. + (OBS): Use LIBOBJS. + (memmem.o): New rule. + * configure.ac: Use AC_CONFIG_LIBOBJ_DIR and check for memmem. + * configure: Regenerated. + +2008-04-04 Ulrich Weigand + + * server.c (handle_query): Never return "unsupported" for + qXfer:features:read queries. + +2008-03-27 Ulrich Weigand + + * server.c (get_features_xml): Fix inverted condition. + (handle_query): Always support qXfer:feature:read. + +2008-03-10 Daniel Jacobowitz + + * server.c (wrapper_argv): New. + (start_inferior): Handle wrapper_argv. If set, expect an extra + trap. + (gdbserver_usage): Document --wrapper. + (main): Parse --wrapper. + +2008-02-28 Ulrich Weigand + + * configure.srv [powerpc64-*-linux*]: Add all files mentioned for + powerpc-*-linux* to srv_regobj and reg_xmlfiles. + * linux-ppc-low.c (ppc_get_pc): Support bi-arch operation. + (ppc_set_pc): Likewise. + (ppc_arch_setup): New function. + (ppc_fill_gregset): Call ppc_collect_ptrace_register instead + of collect_register. + (the_low_target): Use ppc_arch_setup as arch_setup initializer. + +2008-02-28 Ulrich Weigand + + * configure.srv [powerpc64-*-linux*]: Use linux-ppc-low.o + instead of linux-ppc64-low.o. + * linux-ppc64-low.c: Remove file. + * Makefile.in (SFILES): Remove linux-ppc64-low.c. + (linux-ppc64-low.o): Remove rule. + + * linux-ppc-low.c (init_registers_ppc64): Add prototype. + (init_registers_powerpc_64): Likewise. + (ppc_regmap): Conditionally define depending on __powerpc64__. + (ppc_cannot_store_register): Do not special-case "fpscr" when + compiled on __powerpc64__. + (ppc_collect_ptrace_register): New function. + (ppc_supply_ptrace_register): New function. + (ppc_breakpoint): Change type to "unsigned int". + (ppc_breakpoint_at): Change type of "insn" to "unsigned int". + (the_low_target): Conditionally provide initializers for the + arch_setup member depending on __powerpc64__. Install + collect_ptrace_register and supply_ptrace_register members. + +2008-02-28 Ulrich Weigand + + * regcache.h (gdbserver_xmltarget): Add extern declaration. + * server.c (gdbserver_xmltarget): Define. + (get_features_xml): Use it to replace "target.xml" and arch_string. + + * configure.srv: Remove srv_xmltarget. Add XML files that were + mentioned there to srv_xmlfiles instead. Remove conditional tests + on gdb_cv_arm_iwmmxt, gdb_cv_ppc_altivec, gdb_cv_ppc_spe; set + srv_xmlfiles and srv_regobj to include all possible choices. + * configure.ac (srv_xmltarget): Remove. + (srv_xmlfiles): Do not add "target.xml". + (gdb_cv_arm_iwmmxt, gdb_cv_ppc_altivec, gdb_cv_ppc_spe): Remove + checks for supplementary target information. + * configure: Regenerate. + * Makefile.in (XML_TARGET): Remove. + (target.xml): Remove rule. + (clean): Do not clean up target.xml. + (.PRECIOUS): Do not mention target.xml. + + * target.h (struct target_ops): Remove arch_string member. + * linux-low.c (linux_arch_string): Remove. + (linux_target_ops): Remove arch_string initializer. + * linux-low.h (struct linux_target_ops): Remove arch_string member. + * linux-i386-low.c (the_low_target): Remove arch_string initializer. + * linux-x86-64-low.c (the_low_target): Remove arch_string initializer. + * spu-low.c (spu_arch_string): Remove. + (spu_target_ops): Remove arch_string initializer. + * win32-low.c (win32_arch_string): Remove. + (win32_target_ops): Remove arch_string initializer. + * win32-low.h (struct win32_target_ops): Remove arch_string member. + * win32-arm-low.c (the_low_target): Remove arch_string initializer. + * win32-i368-low.c (the_low_target): Remove arch_string initializer. + +2008-02-27 Ulrich Weigand + + * linux-low.h (struct linux_target_ops): Replace left_pad_xfer field + by collect_ptrace_register and supply_ptrace_register hooks. + * linux-low.c (fetch_register): Use supply_ptrace_register callback + instead of checking for the_low_target.left_pad_xfer. + (usr_store_inferior_registers): Use collect_ptrace_register callback + instead of checking for the_low_target.left_pad_xfer. + + * linux-s390-low.c (s390_collect_ptrace_register): New function. + (s390_supply_ptrace_register): Likewise. + (s390_fill_gregset): Call s390_collect_ptrace_register. + (the_low_target): Update. + + * linux-ppc64-low.c (ppc_collect_ptrace_register): New function. + (ppc_supply_ptrace_register): Likewise. + (the_low_target): Update. + + * linux-i386-low.c (the_low_target): Update. + * linux-x86-64-low.c (the_low_target): Update. + +2008-02-27 Ulrich Weigand + + * configure.srv [s390x-*-linux*]: Set srv_regobj to include both + reg-s390.o and reg-s390x.o. + + * linux-low.c (new_inferior): New global variable. + (linux_create_inferior, linux_attach): Set it. + (linux_wait_for_process): Call the_low_target.arch_setup after the + target has stopped for the first time. + (initialize_low): Do not call the_low_target.arch_setup. + + * linux-s390-low.c (s390_get_pc): Support bi-arch operation. + (s390_set_pc): Likewise. + (s390_arch_setup): New function. + (the_low_target): Use s390_arch_setup as arch_setup routine. + + * regcache.c (realloc_register_cache): New function. + (set_register_cache): Call it for each existing regcache. + +2008-02-27 Ulrich Weigand + + * server.h (init_registers): Remove prototype. + + * linux-low.h (struct linux_target_ops): Add arch_setup field. + * linux-low.c (initialize_low): Call the_low_target.arch_setup () + instead of init_registers (). + * linux-arm-low.c (init_registers_arm): Add prototype. + (init_registers_arm_with_iwmmxt): Likewise. + (the_low_target): Add initializer for arch_setup field. + * linux-cris-low.c (init_registers_cris): Add prototype. + (the_low_target): Add initializer for arch_setup field. + * linux-crisv32-low.c (init_registers_crisv32): Add prototype. + (the_low_target): Add initializer for arch_setup field. + * linux-i386-low.c (init_registers_i386_linux): Add prototype. + (the_low_target): Add initializer for arch_setup field. + * linux-ia64-low.c (init_registers_ia64): Add prototype. + (the_low_target): Add initializer for arch_setup field. + * linux-m32r-low.c (init_registers_m32r): Add prototype. + (the_low_target): Add initializer for arch_setup field. + * linux-m68k-low.c (init_registers_m68k): Add prototype. + (the_low_target): Add initializer for arch_setup field. + * linux-mips-low.c (init_registers_mips_linux): Add prototype. + (init_registers_mips64_linux): Likewise. + (the_low_target): Add initializer for arch_setup field. + * linux-ppc-low.c (init_registers_ppc): Add prototype. + (init_registers_powerpc_32, init_registers_powerpc_e500): Likewise. + (the_low_target): Add initializer for arch_setup field. + * linux-ppc64-low.c (init_registers_ppc64): Add prototype. + (init_registers_powerpc_64): Likewise. + (the_low_target): Add initializer for arch_setup field. + * linux-s390-low.c (init_registers_s390): Add prototype. + (init_registers_s390x): Likewise. + (the_low_target): Add initializer for arch_setup field. + * linux-sh-low.c (init_registers_sh): Add prototype. + (the_low_target): Add initializer for arch_setup field. + * linux-x86-64-low.c (init_registers_x86_64_linux): Add prototype. + (the_low_target): Add initializer for arch_setup field. + * linux-xtensa-low.c (init_registers_xtensa): Add prototype. + (the_low_target): Add initializer for arch_setup field. + + * win32-low.h (struct win32_target_ops): Add arch_setup field. + * win32-low.c (initialize_low): Call the_low_target.arch_setup () + instead of init_registers (). + * win32-arm-low.c (init_registers_arm): Add prototype. + (the_low_target): Add initializer for arch_setup field. + * win32-i386-low.c (init_registers_i386): Add prototype. + (the_low_target): Add initializer for arch_setup field. + + * spu-low.c (init_registers_spu): Add prototype. + (initialize_low): Call initialie_registers_spu () instead of + initialize_registers (). + +2008-02-19 Pedro Alves + + * server.c (handle_v_requests): When handling the vRun and vAttach + packets, if already debugging a process, don't kill it. Return an + error instead. + +2008-02-17 Daniel Jacobowitz + + * server.c (handle_query): Correct length check. + +2008-02-14 Pedro Alves + + * win32-low.c (do_initial_child_stuff): Add process handle + parameter. Set current_process_handle and current_process_id from the + parameters. Clear globals. + (win32_create_inferior): Don't set current_process_handle and + current_process_id here. Instead pass them on the call to + do_initial_child_stuff. + (win32_attach): Likewise. + (win32_clear_inferiors): New. + (win32_kill): Don't close the current process handle or the + current thread handle here. Instead call win32_clear_inferiors. + (win32_detach): Don't open a new handle to the process. Call + win32_clear_inferiors. + (win32_join): Don't rely on current_process_handle; open a new + handle using the process id. + (win32_wait): Call win32_clear_inferiors when the inferior process + has exited. + +2008-02-14 Daniel Jacobowitz + + * server.c (monitor_show_help): Add "exit". + +2008-02-11 Maxim Grigoriev + + * Makefile.in (SFILES): Add linux-xtensa-low.c. + (clean): Add reg-xtensa.c. + (linux-xtensa-low.o, reg-xtensa.o, reg-xtensa.c): New dependencies. + * configure.srv (xtensa*-*-linux*) New target. + * linux-xtensa-low.c: New. + * xtensa-xtregs.c: New. + +2008-02-01 Pedro Alves + + * hostio.c: Don't include errno.h. + (errno_to_fileio_errno): Move to hostio-errno. + * hostio.c: (hostio_error): Remove the error parameter. Defer the + error number outputting to the target->hostio_last_error callback. + (hostio_packet_error): Use FILEIO_EINVAL directly. + (handle_open, handle_pread, hostio_error, handle_unlink): Update + calls to hostio_error. + * hostio-errno.c: New. + * server.h (hostio_last_error_from_errno): Declare. + * target.h (target_ops): Add hostio_last_error member. + * linux-low.c (linux_target_op): Register hostio_last_error_from_errno + as hostio_last_error handler. + * spu-low.c (spu_target_ops): Likewise. + * win32-low.c [_WIN32_WCE] (win32_error_to_fileio_error) + (wince_hostio_last_error): New functions. + (win32_target_ops) [_WIN32_WCE]: Register wince_hostio_last_error + as hostio_last_error handler. + (win32_target_ops) [!_WIN32_WCE]: Register + hostio_last_error_from_errno as hostio_last_error handler. + * Makefile.in (SFILES): Add hostio.c and hostio-errno.c. + (hostio-errno.o): New rule. + * configure.ac (GDBSERVER_DEPFILES): Add $srv_hostio_err_objs. + * configure.srv (srv_hostio_err_objs): New variable. Default to + hostio-errno.o. + (arm*-*-mingw32ce*): Set srv_hostio_err_objs to "". + * configure: Regenerate. + +2008-01-29 Daniel Jacobowitz + + * linux-low.c (linux_attach_lwp): Do not _exit after errors. + (linux_kill, linux_detach): Clean up the process list. + * remote-utils.c (remote_open): Improve port number parsing. + (putpkt_binary, input_interrupt): Only send interrupts if the target + is running. + * server.c (extended_protocol): Make static. + (attached): Define earlier. + (exit_requested, response_needed, program_argv): New variables. + (target_running): New. + (start_inferior): Clear attached here. + (attach_inferior): Set attached here. + (require_running): Define. + (handle_query): Use require_running and target_running. Implement + "monitor exit". + (handle_v_attach, handle_v_run): New. + (handle_v_requests): Use require_running. Handle vAttach and vRun. + (gdbserver_usage): Update. + (main): Redo argument parsing. Handle --debug and --multi. Handle + --attach along with other options or after the port. Save + program_argv. Support no initial program. Resynchronize + communication with GDB after an error. Handle "monitor exit". + Use require_running and target_running. Always allow the extended + protocol. Do not error out for Hc0 or Hc-1. Do not automatically + restart in extended mode. + * README: Refer to the GDB manual. Update --attach usage. + +2007-12-20 Andreas Schwab + + * linux-low.c (STACK_SIZE): Define. + (linux_tracefork_child): Use it. Use __clone2 on ia64. + (linux_test_for_tracefork): Likewise. + +2007-12-18 Daniel Jacobowitz + + * linux-low.c (linux_wait_for_event): Update messages. Do not + reinsert auto-delete breakpoints. + * mem-break.c (struct breakpoint): Change return type of handler to + int. + (set_breakpoint_at): Update handler type. + (reinsert_breakpoint_handler): Return 1 instead of calling + delete_breakpoint. + (reinsert_breakpoint_by_bp): Check for the original breakpoint before + setting a new one. + (check_breakpoints): Delete auto-delete breakpoints and return 2. + * mem-break.h (set_breakpoint_at): Update handler type. + * thread-db.c (thread_db_create_event, thread_db_create_event): Update. + * win32-low.c (auto_delete_breakpoint): New. + (get_child_debug_event): Use it. + +2007-12-16 Daniel Jacobowitz + + * configure.ac: Check for pread and pwrite. + * hostio.c (handle_pread): Fall back to lseek and read. + (handle_pwrite): Fall back to lseek and write. + * config.in, configure: Regenerated. + +2007-12-07 Daniel Jacobowitz + + * server.c (myresume): Add own_buf argument. + (main): Update calls. + +2007-12-06 Daniel Jacobowitz + + * linux-low.c (linux_wait, linux_resume): Do not handle async I/O. + * remote-utils.c (remote_open): Do not call disable_async_io. + (block_async_io): Delete. + (unblock_async_io): Make static. + (initialize_async_io): New. + * server.c (handle_v_cont): Handle async I/O here. + (myresume): Likewise. Move other common resume tasks here... + (main): ... from here. Call initialize_async_io. Disable async + I/O before the main loop. + * server.h (initialize_async_io): Declare. + (block_async_io, unblock_async_io): Delete prototypes. + * spu-low.c (spu_resume, spu_wait): Do not handle async I/O here. + +2007-12-06 Mick Davis + + * remote-utils.c (readchar): Allow binary data in received messages. + +2007-12-03 Pedro Alves + + * win32-low.c (attaching): New global. + (win32_create_inferior): Clear the `attaching' global. + (win32_attach): Set the `attaching' global. + (get_child_debug_event) [_WIN32_WCE]: Stop the inferior when + attaching. Only set a breakpoint at the entry point if not + attaching. + +2007-12-03 Pedro Alves + + * server.c (main): Don't report dll events on the initial + connection on attaches. + +2007-12-03 Pedro Alves + + * server.c (main): Relax numerical bases supported for the pid of + the --attach command line argument. + +2007-12-03 Pedro Alves + + * win32-low.c (win32_attach): Call OpenProcess before + DebugActiveProcess, not after. Add last error output to error + call. + +2007-12-03 Pedro Alves + + * win32-low.c (win32_get_thread_context) + (win32_set_thread_context): New functions. + (thread_rec): Use win32_get_thread_context. + (continue_one_thread, win32_resume): Use win32_set_thread_context. + * win32-low.h (win32_thread_info) [_WIN32_WCE]: Add `base_context' + field. + +2007-12-03 Leo Zayas + Pedro Alves + + * win32-low.c (soft_interrupt_requested, faked_breakpoint): New + global variables. + (child_add_thread): Minor cleanup. + (child_continue): Resume artificially suspended threads before + calling ContinueDebugEvent. + (suspend_one_thread): New. + (fake_breakpoint_event): New. + (get_child_debug_event): Change return type to int. Check here if + gdb sent an interrupt request. If a soft interrupt was requested, + fake a breakpoint event. Return 0 if there is no event to handle, + and 1 otherwise. + (win32_wait): Don't check here if gdb sent an interrupt request. + Ensure there is a valid event to handle. + (win32_request_interrupt): Add soft interruption method as last + resort. + +2007-12-03 Leo Zayas + Pedro Alves + + * win32-low.h (win32_thread_info): Add descriptions to the + structure members. Replace `suspend_count' counter by a + `suspended' flag. + * win32-low.c (thread_rec): Update condition of when to get the + context from the inferior. Rely on ContextFlags being set if it + has already been retrieved. Only suspend the inferior thread if + we haven't already. Warn if that fails. + (continue_one_thread): s/suspend_count/suspended/. Only call + ResumeThread once. Warn if that fails. + +2007-12-02 Pedro Alves + + * win32-low.c (win32_wait): Don't read from the inferior when it + has already exited. + +2007-12-02 Pedro Alves + + * Makefile.in (win32_low_h): New variable. + (win32-low.o): Add dependency on $(win32_low_h). + (win32-arm-low.o, win32-i386-low.o): New rules. + +2007-11-30 Daniel Jacobowitz + + * hostio.c: Correct copyright year. + +2007-11-30 Daniel Jacobowitz + + * Makefile.in (OBS): Add hostio.o. + (hostio.o): New rule. + * server.h (handle_vFile): Declare. + * hostio.c: New file. + * server.c (handle_v_requests): Take packet_len and new_packet_len + for binary packets. Call handle_vFile. + (main): Update call to handle_v_requests. + +2007-11-05 Daniel Jacobowitz + + * linux-low.c: Include . + +2007-11-01 Daniel Jacobowitz + + * linux-low.c (linux_tracefork_grandchild): New. + (linux_tracefork_child): Use clone. + (linux_test_for_tracefork): Use clone; allocate and free a stack. + +2007-10-31 Joel Brobecker + + * Makefile.in: Use $(SHELL) instead of "sh" to call regdat.sh. + +2007-10-24 Daniel Jacobowitz + + * linux-low.c (handle_extended_wait): Handle unexpected signals. + +2007-10-23 Daniel Jacobowitz + + * inferiors.c (change_inferior_id): Delete. + (add_pid_to_list, pull_pid_from_list): New. + * linux-low.c (PTRACE_SETOPTIONS, PTRACE_GETEVENTMSG) + (PTRACE_O_TRACESYSGOOD, PTRACE_O_TRACEFORK, PTRACE_O_TRACEVFORK) + (PTRACE_O_TRACECLONE, PTRACE_O_TRACEEXEC, PTRACE_O_TRACEVFORKDONE) + (PTRACE_O_TRACEEXIT, PTRACE_EVENT_FORK, PTRACE_EVENT_VFORK) + (PTRACE_EVENT_CLONE, PTRACE_EVENT_EXEC, PTRACE_EVENT_VFORK_DONE) + (PTRACE_EVENT_EXIT, __WALL): Provide default definitions. + (stopped_pids, thread_db_active, must_set_ptrace_flags): New variables. + (using_threads): Always set to 1. + (handle_extended_wait): New. + (add_process): Do not set TID. + (linux_create_inferior): Set must_set_ptrace_flags. + (linux_attach_lwp): Remove TID argument. Do not check using_threads. + Use PTRACE_SETOPTIONS. Call new_thread_notify. Update all callers. + (linux_thread_alive): Rename TID argument to LWPID. + (linux_wait_for_process): Handle unknown processes. Do not use TID. + (linux_wait_for_event): Do not use TID or check using_threads. Update + call to dead_thread_notify. Call handle_extended_wait. + (linux_create_inferior): Use PTRACE_SETOPTIONS. + (send_sigstop): Delete sigstop_sent. + (wait_for_sigstop): Avoid TID. + (linux_supports_tracefork_flag, linux_tracefork_child, my_waitpid) + (linux_test_for_tracefork): New. + (linux_lookup_signals): Use thread_db_active and + linux_supports_tracefork_flag. + (initialize_low): Use thread_db_active and linux_test_for_tracefork. + * linux-low.h (get_process_thread): Avoid TID. + (struct process_ifo): Move thread_known and tid to the end. Remove + sigstop_sent. + (linux_attach_lwp, thread_db_init): Update prototypes. + * server.h (change_inferior_id): Delete prototype. + (add_pid_to_list, pull_pid_from_list): New prototypes. + * thread-db.c (thread_db_use_events): New. + (find_first_thread): Rename to... + (find_one_thread): ...this. Update callers and messages. Do not + call fatal. Check thread_db_use_events. Do not call + change_inferior_id or new_thread_notify. + (maybe_attach_thread): Update. Do not call new_thread_notify. + (thread_db_init): Set thread_db_use_events. Check use_events. + * utils.c (fatal, warning): Correct message prefix. + +2007-10-15 Daniel Jacobowitz + + * Makefile.in (clean): Remove new files. + (powerpc-32.o, powerpc-32.c, powerpc-e500.o, powerpc-e500.c) + (powerpc-64.o, powerpc-64.c): New rules. + * configure.srv: Use alternate register sets for powerpc64-*-linux* + with AltiVec, powerpc-*-linux* with AltiVec, and powerpc-*-linux* + with SPE. + * linux-ppc-low.c (ppc_regmap): Do not fetch the FP registers for + SPE targets. + (ppc_cannot_store_register): Do not check for FPSCR for SPE targets. + (PTRACE_GETVRREGS, PTRACE_SETVRREGS, SIZEOF_VRREGS, ppc_fill_vrregset) + (ppc_store_vrregset, PTRACE_GETEVRREGS, PTRACE_SETEVRREGS) + (struct gdb_evrregset_t, ppc_fill_evrregset, ppc_store_evrregset): New. + (target_regsets): Add AltiVec and SPE register sets. + * configure.ac: Check for AltiVec and SPE. + * linux-ppc64-low.c (PTRACE_GETVRREGS, PTRACE_SETVRREGS, SIZEOF_VRREGS) + (ppc_fill_vrregset, ppc_store_vrregset): New. + (target_regsets): Add AltiVec register set. + * configure: Regenerated. + +2007-09-19 Daniel Jacobowitz + + * linux-low.c (O_LARGEFILE): Define. + (linux_read_memory): Use /proc/PID/mem. + * configure.ac: Use AC_GNU_SOURCE. Check for pread64. + * configure, config.in: Regenerated. + +2007-09-04 Daniel Jacobowitz + + * linux-low.c (linux_wait_for_event): Do not pass signals while + single-stepping. + +2007-09-03 Pedro Alves + + * win32-low.c (create_process): New. + (win32_create_inferior): Use create_process instead of + CreateProcess. If create_process failed retry appending an ".exe" + suffix. Store the GetLastError result immediatelly after + create_process calls and use it on the call to error. + +2007-09-03 Pedro Alves + + * win32-low.c (handle_load_dll): Don't use toolhelp when waiting. + +2007-08-23 Joel Brobecker + + * configure.ac: Switch license to GPLv3. + +2007-08-01 Michael Snyder + + * remote-utils.c (putpkt_binary): Memory leak, free buf2. + +2007-07-31 Pedro Alves + + * win32-low.c (winapi_CloseToolhelp32Snapshot) [_WIN32_WCE]: New + typedef. + (win32_CloseToolhelp32Snapshot) [_WIN32_WCE]: New global var. + (load_toolhelp) [_WIN32_WCE]: Load TOOLHELP.DLL. Get + CloseToolhelp32Snapshot. + (toolhelp_get_dll_name) [_WIN32_WCE]: Close the snapshot with + CloseToolhelp32Snapshot. + +2007-07-27 Michael Snyder + + * server.c (main): Check for inferior exit before main loop. + +2007-07-18 Pedro Alves + + * remote-utils.c (remote_open): Set SO_KEEPALIVE on remote_desc + instead of on tmp_desc. + +2007-07-17 Pedro Alves + Daniel Jacobowitz + + * inferiors.c (all_dlls, dlls_changed, get_dll): New. + (add_thread): Minor cleanups. + (clear_inferiors): Move lower in the file. Clear the DLL + list. + (free_one_dll, match_dll, loaded_dll, unloaded_dll, clear_list): New. + * remote-utils.c (prepare_resume_reply): Check dlls_changed. + (xml_escape_text): New. + * server.c (handle_query): Handle qXfer:libraries:read. Report it + for qSupported. + (handle_v_cont): Report errors. + (gdbserver_version): Update. + (main): Correct size of own_buf. Do not report initial DLL events. + * server.h (struct dll_info, all_dlls, dlls_changed, loaded_dll) + (unloaded_dll, xml_escape_text): New. + * win32-low.c (enum target_waitkind): Update comments. + (win32_add_one_solib, get_image_name, winapi_EnumProcessModules) + (winapi_GetModuleInformation, winapi_GetModuleFileNameExA) + (win32_EnumProcessModules, win32_GetModuleInformation) + (win32_GetModuleFileNameExA, load_psapi, psapi_get_dll_name) + (winapi_CreateToolhelp32Snapshot, winapi_Module32First) + (winapi_Module32Next, win32_CreateToolhelp32Snapshot) + (win32_Module32First, win32_Module32Next, load_toolhelp) + (toolhelp_get_dll_name, handle_load_dll, handle_unload_dll): New. + (get_child_debug_event): Handle DLL events. + (win32_wait): Likewise. + +2007-07-12 Daniel Jacobowitz + + * configure.srv: Set srv_linux_regsets for sh*-*-linux*. + * linux-sh-low.c (sh_fill_gregset, target_regsets): New. + +2007-07-08 Pedro Alves + + * win32-low.c (handle_output_debug_string): Ignore event if not + waiting. + +2007-07-08 Pedro Alves + + * win32-arm-low.c (arm_wince_breakpoint): Fix typo. + +2007-07-03 Daniel Jacobowitz + + * remote-utils.c (look_up_one_symbol): Handle 'm' packets. + +2007-07-02 Daniel Jacobowitz + + * inferiors.c (change_inferior_id): Add comment. + * linux-low.c (check_removed_breakpoint): Add an early + prototype. Improve debug output. + (linux_attach): Doc update. + (linux_detach_one_process, linux_detach): Clean up before releasing + each process. + (send_sigstop, wait_for_sigstop): Improve comments and debug output. + * linux-low.h (struct process_info): Doc improvement. + * mem-break.c (delete_all_breakpoints): New. + * mem-break.h (delete_all_breakpoints): New prototype. + * thread-db.c (find_first_thread): New. + (thread_db_create_event): Call it instead of + thread_db_find_new_threads. Clean up unused variables. + (maybe_attach_thread): Remove first thread handling. + (thread_db_find_new_threads): Use find_first_thread. + (thread_db_get_tls_address): Likewise. + +2007-06-27 Daniel Jacobowitz + + * thread-db.c (thread_db_find_new_threads): Add prototype. + (thread_db_create_event): Check for the main thread before adding + a new thread. + (maybe_attach_thread): Only enable event reporting if TID == 0. + (thread_db_get_tls_address): Check for new threads. + +2007-06-20 Daniel Jacobowitz + + * linux-low.c (linux_create_inferior): Try execv before execvp. + * spu-low.c (spu_create_inferior): Likewise. + +2007-06-13 Mike Frysinger + + * linux-low.c (linux_create_inferior): Change execv to execvp. + * spu-low.c (spu_create_inferior): Likewies. + +2007-06-13 Daniel Jacobowitz + + * Makefile.in (clean): Clean new files instead of deleted ones. + (reg-mips.o, reg-mips.c, reg-mips64.o, reg-mips64.c): Delete. + (mips-linux.o, mips-linux.c, mips64-linux.o, mips64-linux.c): New + rules. + * configure.srv: Specify XML files and new regformats for MIPS and + MIPS64 GNU/Linux. + * linux-mips-low.c (mips_num_regs): Set to only used registers. + (mips_regmap): Do not fetch $0. Remove unused registers. Add + an entry for the restart register. + (mips_cannot_fetch_register, mips_cannot_store_register) + (mips_reinsert_addr, mips_fill_fpregset, mips_store_fpregset): Update + register names to match the XML descriptions. + (mips_fill_gregset, mips_store_gregset): Likewise. Handle the + restart register instead of $0. + +2007-06-12 Ulrich Weigand + Markus Deuling + + * remote-utils.c (decode_xfer_write): New function. + * server.h (decode_xfer_write): Add prototype. + * server.c (handle_query): Add PACKET_LEN argument. Support + qXfer:spu:read and qXfer:spu:write packets. + (main): Pass packet_len to handle_query. + * spu-low.c (spu_target_ops): Add spu_proc_xfer_spu. + * target.h (target_ops): Add qxfer_spu. + +2007-06-12 Ulrich Weigand + + * spu-low.c (spu_proc_xfer_spu): Do not return failure when + accessing non-seekable spufs files. + +2007-05-16 Markus Deuling + + * server.c (handle_query): Add reply for qC packet. + +2007-05-10 Pedro Alves + Leo Zayas + + * server.h (check_remote_input_interrupt_request): New function. + * remote_utils.c (INVALID_DESCRIPTOR): New define. + (remote_desc): Initialize with INVALID_DESCRIPTOR. + (input_interrupt): Expose on USE_WIN32API too. Fix whitespace. + (check_remote_input_interrupt_request): New function. + * server.h (check_remote_input_interrupt_request): Declare. + * win32-low.c (winapi_DebugBreakProcess, + winapi_GenerateConsoleCtrlEvent): New typedefs. + (get_child_debug_event): Lower Win32 debug event polling from 1 sec + to 250 ms. + (win32_wait): Check for remote interrupt request + with check_remote_input_interrupt_request. + (win32_request_interrupt): New function. + (win32_target_op): Set request_interrupt to win32_request_interrupt. + +2007-05-10 Pedro Alves + + * win32-low.c (debug_registers_changed, + debug_registers_used, CONTEXT_EXTENDED_REGISTERS, + CONTEXT_FLOATING_POINT, CONTEXT_DEBUG_REGISTERS, + CONTEXT_DEBUGGER, CONTEXT_DEBUGGER_DR): Delete. + (thread_rec): Get context using the low target. + (child_add_thread): Call thread_added on the low target, + which does the same thing. + (regptr): Delete. + (do_initial_child_stuff): Remove debug registers references. + Set context using the low target. Resume threads after + setting the contexts. + (child_continue): Remove dead variable. Remove debug + registers references. + (child_fetch_inferior_registers): Go through the low target. + (do_child_store_inferior_registers): Remove. + (child_store_inferior_registers): Go through the low target. + (win32_resume): Remove debug registers references. + Set context using the low target. + (handle_exception): Change return type to void. Don't record + context here. Set status to TARGET_WAITKIND_SPURIOUS on a + first chance exception. + (get_child_debug_event): Change return type to void. Remove + goto loop. Always return after waiting for debug event. + (win32_wait): Convert to switch statement. Handle spurious + events. + + * win32-i386-low.c (debug_registers_changed, + debug_registers_used): New. + (initial_stuff): Rename to ... + (i386_initial_stuff): ... this. Clear debug registers + state variables. + (store_debug_registers): Delete. + (i386_get_thread_context): New. + (load_debug_registers): Delete. + (i386_set_thread_context): New. + (i386_thread_added): New. + (single_step): Rename to ... + (i386_single_step): ... this. + (do_fetch_inferior_registers): Rename to ... + (i386_fetch_inferior_register): ... this. + (i386_store_inferior_register): New. + (the_low_target): Adapt to new interface. + + * win32-arm-low.c (CONTEXT_FLOATING_POINT): Define. + (arm_get_thread_context): New. + (arm_set_thread_context): New. + (regptr): New. + (do_fetch_inferior_registers): Rename to ... + (arm_fetch_inferior_register): ... this. + (arm_store_inferior_register): New. + (arm_wince_breakpoint): Reimplement as unsigned long. + (arm_wince_breakpoint_len): Define. + (the_low_target): Adapt to new interface. + + * win32-low.h (target_ops): Remove regmap, store_debug_registers and + load_debug_registers. Add get_thread_context, set_thread_context, + thread_added and store_inferior_register. Rename + fetch_inferior_registers to fetch_inferior_register. + (regptr): Remove declaration. + +2007-05-10 Pedro Alves + + * linux-low.c (linux_detach): Change return type to int. Return 0. + * spu-low.c (spu_detach): Likewise. + +2007-05-10 Pedro Alves + + * target.h (target_ops): Change return type of detach to int. + Add join. + (join_inferior): New. + * server.c (main): Don't skip detach support on mingw32. + If the inferior doesn't support detaching return error. + Call join_inferior instead of using waitpid. + * linux-low.c (linux_join): New. + (linux_target_op): Add linux_join. + * spu-low.c (spu_join): New. + (spu_target_ops): Add spu_join. + * win32-low.c (win32_detach): Adapt to new interface. + Reopen current_process_handle before detaching. Issue a child + resume before detaching. + (win32_join): New. + (win32_target_op): Add win32_join. + +2007-05-10 Pedro Alves + + * win32-low.c (win32-attach): Fix return value. + * target.h (target_ops): Describe ATTACH return values. + +2007-05-10 Pedro Alves + + * win32-low.c (GETPROCADDRESS): Define. + (winapi_DebugActiveProcessStop): Add WINAPI. typedef as pointer. + (winapi_DebugSetProcessKillOnExit): Likewise. + (win32_create_inferior): Force usage of ansi CreateProcessA. + (win32_attach): Use GETPROCADDRESS. + (win32_detach): Likewise. + +2007-05-10 Pedro Alves + + * win32-low.c (win32_wait): Don't use WSTOPSIG. + +2007-03-30 Pedro Alves + + * win32-low.c: Commit leftover changes from 2007-03-29. + +2007-03-30 Daniel Jacobowitz + + * i387-fp.c (struct i387_fsave, struct i387_fxsave): Make 16-bit + fields short instead of int. Add explicit padding. + (i387_cache_to_fsave): Remove unnecessary casts. + (i387_fsave_to_cache): Doc fix. + (i387_cache_to_fxsave): Remove unnecessary casts and masking. + +2007-03-30 Daniel Jacobowitz + + * i387-fp.c (i387_cache_to_fxsave): Reinitialize val2 before use. + (i387_fxsave_to_cache): Check fp->ftag while building ftag value. + +2007-03-29 Pedro Alves + + * configure.srv (arm*-*-mingw32ce*): Move near the other + arm targets. + +2007-03-29 Pedro Alves + + * configure.ac: Add errno checking. + (AC_CHECK_HEADERS): Add errno.h, fcntl.h, signal.h, + sys/file.h and malloc.h. + (AC_CHECK_DECLS): Add perror. + (srv_mingwce): Handle. + * configure.srv (i[34567]86-*-cygwin*): Add + win32-i386-low.o to srv_tgtobj. + (i[34567]86-*-mingw*): Likewise. + (arm*-*-mingw32ce*): Add case. + * gdbreplay.c [HAVE_SYS_FILE_H, HAVE_SIGNAL_H, + HAVE_FCNTL_H, HAVE_ERRNO_H, HAVE_MALLOC_H]: Check. + [__MINGW32CE__] (strerror): New function. + [__MINGW32CE__] (errno): Define to GetLastError. + [__MINGW32CE__] (COUNTOF): New macro. + (remote_open): Remove extra close call. + * mem-break.c (delete_breakpoint_at): New function. + * mem-break.h (delete_breakpoint_at): Declare. + * remote-utils.c [HAVE_SYS_FILE_H, HAVE_SIGNAL_H, + HAVE_FCNTL_H, HAVE_UNISTD_H, HAVE_ERRNO_H]: Check. + [USE_WIN32API] (read, write): Add char* casts. + * server.c [HAVE_UNISTD_H, HAVE_SIGNAL_H]: Check. + * server.h: Include wincecompat.h on Windows CE. + [HAVE_ERRNO_H]: Check. + (perror): Declare if not declared. + * utils.c: Add stdlib.h, errno.h and malloc.h includes. + (perror_with_name): Remove errno declaration. + * wincecompat.h: New. + * wincecompat.c: New. + * win32-low.h: New. + * win32-arm-low.c: New. + * win32-i386-low.c: New. + (win32-low.c): Include mem-break.h and win32-low.h, and winnt.h. + (OUTMSG2): Make it safe. + (_T): New macro. + (COUNTOF): New macro. + (NUM_REGS): Get it from the low target. + (CONTEXT_EXTENDED_REGISTERS, CONTEXT_FLOATING_POINT, + CONTEXT_DEBUG_REGISTERS): Add fallbacks to 0. + (thread_rec): Let low target handle debug registers. + (child_add_thread): Likewise. + (child_init_thread_list): Likewise. + (continue_one_thread): Likewise. + (regptr): New. + (do_child_fetch_inferior_registers): Move to ... + * win32-i386-low.c: ... here, and rename to ... + (do_fetch_inferior_registers): ... this. + * win32-low.c (child_fetch_inferior_registers): + Go through the low target. + (do_child_store_inferior_registers): Use regptr. + (strwinerror): New function. + (win32_create_inferior): Handle Windows CE. + Use strwinerror instead of strerror on Windows error + codes. Add program to the error output. + Don't close the main thread handle on Windows CE. + (win32_attach): Use coredll.dll on Windows CE. + (win32_kill): Close current process and current + thread handles. + (win32_detach): Use coredll.dll on Windows CE. + (win32_resume): Let low target handle debug registers, and + step request. + (handle_exception): Add/Remove initial breakpoint. Avoid + non-existant WSTOPSIG on Windows CE. + (win32_read_inferior_memory): Cast to remove warning. + (win32_arch_string): Go through the low target. + (initialize_low): Call set_breakpoint_data with the low + target's breakpoint. + * win32-low.c (dr, FLAG_TRACE_BIT, FCS_REGNUM, + FOP_REGNUM, mappings): Move to ... + * win32-i386-low.c: ... here. + * win32-low.c (win32_thread_info): Move to ... + * win32-low.h: ... here. + * Makefile.in (SFILES): Add win32-low.c, win32-i386-low.c, + win32-arm-low.c and wincecompat.c. + (all:): Add $EXEEXT. + (install-only:): Likewise. + (gdbserver:): Likewise. + (gdbreplay:): Likewise. + * config.in: Regenerate. + * configure: Regenerate. + +2007-03-28 Pedro Alves + + * win32-low.c: Rename typedef thread_info to + win32_thread_info throughout. + +2007-03-28 Pedro Alves + + * win32-i386-low.c: Rename to ... + * win32-low.c: ... this. + * configure.srv: Replace win32-i386-low.o with win32-low.o. + * Makefile.in: Likewise. + +2007-03-27 Pedro Alves + + * remote-utils.c (monitor_output): Constify msg parameter. + * server.h (monitor_output): Likewise. + * win32-i386-low.c (handle_output_debug_string): New. + (win32_kill): Handle OUTPUT_DEBUG_STRING_EVENT events using + handle_output_debug_string. + (get_child_debug_event): Likewise. + +2007-03-27 Mat Hostetter + + * server.c (main): Correct strtoul check. + +2007-03-27 Jon Ringle + + * linux-low.c: Check __ARCH_HAS_MMU__ also. + +2007-03-27 Brooks Moses + + * Makefile.in: Add dummy "pdf" and "install-pdf" targets. + +2007-02-27 Daniel Jacobowitz + + * terminal.h: Check HAVE_SGTTY_H. + +2007-02-27 Mat Hostetter + + * remote-utils.c (remote_open): Print out the assigned port number. + +2007-02-26 Daniel Jacobowitz + + * remote-utils.c (monitor_output): New function. + * server.c (debug_threads): Define here. + (monitor_show_help): New function. + (handle_query): Handle qRcmd. + (main): Do not handle 'd' packet. + * server.h (debug_threads, remote_debug, monitor_output): Declare. + * linux-low.c, spu-low.c, win32-i386-low.c: Remove definitions + of debug_threads. + +2007-02-25 Pedro Alves + + * Makefile.in (EXEEXT): New. + (clean): Use $(EXEEXT). + +2007-02-25 Pedro Alves + + * target.h (target_ops): Rename send_signal to request_interrupt, + and remove enum target_signal parameter. + * linux-low.c (linux_request_interrupt): Rename from + linux_send_signal, and always send SIGINT. + * spu-low.c (spu_request_interrupt): Rename from spu_send_signal, + and always send SIGINT. + * remote-utils.c (putpkt_binary): Call request_interrupt, instead + of send_signal. + (input_interrupt): Likewise. + +2007-02-25 Pedro Alves + + * server.c (get_features_xml): Check if target implemented + arch_string. + * win32-i386-low.c (win32_arch_string): New. + (win32_target_ops): Add win32_arch_string as arch_string member. + +2007-02-22 Markus Deuling + + * spu-low.c (spu_arch_string): New. + (spu_target_ops): Add spu_arch_string. + +2007-02-16 Daniel Jacobowitz + + * remote-utils.c: Remove HAVE_TERMINAL_H check. + * configure.ac: Do not check for terminal.h. + * configure, config.in: Regenerated. + +2007-02-08 Daniel Jacobowitz + + * Makefile.in (OBS): Add $(XML_BUILTIN). + (XML_DIR, XML_TARGET, XML_FILES, XML_BUILTIN): New. + (clean): Update. + (target.xml, xml-builtin.c, stamp-xml, arm-with-iwmmxt.o) + (arm-with-iwmmxt.c): New. + * config.in, configure: Regenerate. + * configure.ac: Check for iWMMXt. Handle srv_xmltarget, + srv_xmlbuiltin, and srv_xmlfiles. Define USE_XML. + * configure.srv: Mention srv_xmltarget and srv_xmlfiles. + (arm*-*-linux*): Add iWMMXt and regset support. + * linux-arm-low.c (PTRACE_GETWMMXREGS, PTRACE_SETWMMXREGS): Define. + (arm_fill_gregset, arm_store_gregset, arm_fill_wmmxregset) + (arm_store_wmmxregset, target_regsets): New. + * server.c (get_features_xml): Take annex argument. Check builtin + XML documents. + (handle_query): Handle multiple annexes. + +2007-01-29 Daniel Jacobowitz + + * remote-utils.c [USE_WIN32API] (read, write): Define. + (putpkt_binary, input_interrupt, readchar, getpkt): Use read and + write. + +2007-01-09 Daniel Jacobowitz + + * linux-i386-low.c (the_low_target): Set arch_string. + * linux-x86-64-low.c (the_low_target): Likewise. + * linux-low.c (linux_arch_string): New. + (linux_target_ops): Add it. + * linux-low.h (struct linux_target_ops): Add arch_string. + * server.c (write_qxfer_response): Use const void * for DATA. + (get_features_xml): New. + (handle_query): Handle qXfer:features:read. Report it for qSupported. + * target.h (struct target_ops): Add arch_string method. + +2007-01-03 Denis Pilat + Daniel Jacobowitz + + * linux-low.c (linux_kill): Handle being called with no threads. + * win32-i386-low.c (win32_kill): Likewise. + (get_child_debug_event): Clear current_process_handle. + +2006-12-30 Denis PILAT + Daniel Jacobowitz + + * remote-utils.c (remote_open): Check the type of specified + serial port devices before opening them. + * server.c (main): Kill the inferior if an error occurs during + the first remote_open. + +2006-12-05 Markus Deuling + + * README: Update supported targets. + +2006-11-28 Daniel Jacobowitz + + * Makefile.in (clean): Remove reg-mips64.c. + (reg-mips64.c, reg-mips64.o): New rules. + * configure.srv: Handle mips64. Include regset support for mips. + * linux-mips-low.c (union mips_register): New. + (mips_get_pc, mips_set_pc, mips_reinsert_addr): Use it. + (mips_breakpoint, mips_breakpoint_at): Use int. + (mips_collect_register, mips_supply_register) + (mips_collect_register_32bit, mips_supply_register_32bit) + (mips_fill_gregset, mips_store_gregset, mips_fill_fpregset) + (mips_store_fpregset, target_regsets): New. + * thread-db.c (thread_db_get_tls_address): Use uintptr_t. + +2006-11-22 Ulrich Weigand + + * configure.srv: Add target "spu*-*-*". + * Makefile.in (clean): Remove reg-spu.c. + (reg-spu.c, reg-spu.o, spu-low.o): Add dependencies. + * spu-low.c: New file. + +2006-11-16 Daniel Jacobowitz + + * configure.ac: Correct td_thr_tls_get_addr test. + * configure: Regenerated. + +2006-11-16 Daniel Jacobowitz + + * linux-low.c (linux_wait_for_event): Reformat. Use the + pass_signals array. + * remote-utils.c (decode_address_to_semicolon): New. + * server.c (pass_signals, handle_general_set): New. + (handle_query): Mention QPassSignals for qSupported. + (main): Call handle_general_set. + * server.h (pass_signals, decode_address_to_semicolon): New. + +2006-11-06 Daniel Jacobowitz + + * server.c (handle_query): Correct error handling for read_auxv. + +2005-10-19 Ulrich Weigand + + * configure.srv [s390-*-linux*, s390x-*-linux*]: Set srv_linux_regsets + and srv_linux_thread_db to yes. + * linux-s390-low.c (s390_fill_gregset): New function. + (target_regsets): Define data structure. + +2006-10-17 Daniel Jacobowitz + + * acinclude.m4 (SRV_CHECK_TLS_GET_ADDR): New. + * configure.ac: Use it. Define HAVE_TD_THR_TLS_GET_ADDR. + * config.in, configure: Regenerated. + * inferiors.c (gdb_id_to_thread): New function. + (gdb_id_to_thread_id): Use it. + * linux-low.c (linux_target_ops): Use thread_db_get_tls_address. + * linux-low.h (struct process_info): Add th member. + (thread_db_get_tls_address): New prototype. + * remote-utils.c (decode_address): Make non-static. + * server.c (handle_query): Handle qGetTLSAddr. + * server.h (gdb_id_to_thread, decode_address): New prototypes. + * target.h (struct target_ops): Add get_tls_address. + * thread-db.c (maybe_attach_thread): Save the thread handle. + (thread_db_get_tls_address): New. + +2006-09-28 Daniel Jacobowitz + + * linux-low.c (PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Define. + (linux_resume_one_process): Take a siginfo_t *. Update all + callers. Queue it if necessary. Use PTRACE_SETSIGINFO. + (struct pending_signals): Add a siginfo_t. + (linux_wait_for_process): Always set last_status. + (linux_wait_for_event): Use PTRACE_GETSIGINFO. + (linux_queue_one_thread): Use PTRACE_GETSIGINFO. + * linux-low.h (struct process_info): Add last_status. + +2006-09-21 Daniel Jacobowitz + + * remote-utils.c (try_rle): New function. + (putpkt_binary): Use it. + +2006-08-19 Daniel Jacobowitz + + * Makefile.in (clean): Clean reg-x86-64-linux.c. + (reg-x86-64-linux.o, reg-x86-64-linux.c): New. + * configure.srv (x86_64-*-linux*): Use reg-x86-64-linux.o. + * linux-x86-64-low.c (x86_64_regmap): Include ORIG_RAX. + (x86_64_fill_gregset, x86_64_store_gregset): Skip floating + point registers. + +2006-08-08 Richard Sandiford + + * server.c (terminal_fd): New variable. + (old_foreground_pgrp): Likewise. + (restore_old_foreground_pgrp): New function. + (start_inferior): Record the terminal file descriptor in terminal_fd + and its original foreground group in old_foreground_pgrp. Register + restore_old_foreground_pgrp with atexit(). + +2006-07-26 Daniel Jacobowitz + + * server.c (handle_query): Correct qPart to qXfer. + +2006-07-22 Daniel Jacobowitz + + * configure.ac: Check for more headers which are missing on + Windows. Automatically supply -lwsock32 and USE_WIN32API. + * configure.srv: Add Cygwin and mingw32. + * remote-utils.c: Don't include headers unconditionally which + are missing on mingw32. Include for mingw32. + (remote_open): Adjust for mingw32 support. Flush + standard error after writing to it. + (remote_close, putpkt_binary, input_interrupt, block_async_io) + (unblock_async_io, enable_async_io, disable_async_io) + (readchar, getpkt): Update for Winsock support. + (prepare_resume_reply): Expect a protocol signal number. + * server.c: Disable on mingw32. + (start_inferior): Adjust for mingw32 support. Flush + standard error after writing to it. + (attach_inferior): Likewise. Use protocol signal + numbers. + (main): Skip 'D' packet on mingw32. Use protocol signal numbers + and names. + * win32-i386-low.c: New file. + * Makefile.in (XM_CLIBS): Set. + (gdbserver, gdbreplay): Use $(INTERNAL_CFLAGS). + (win32-i386-low.o): New dependency rule. + * linux-low.c (linux_wait): Use target signal numbers. + * target.h (struct target_ops): Doc fix. + * server.h (target_signal_to_name): New prototype. + * gdbreplay.c: Don't include headers unconditionally which + are missing on mingw32. Include for mingw32. + (remote_close, remote_open): Adjust for Winsock support. + * configure, config.in: Regenerated. + +2006-07-12 Daniel Jacobowitz + + * server.c (decode_xfer_read, write_qxfer_response): New. + (handle_query): Take a packet length argument. Handle + qXfer:auxv:read instead of qPart:auxv:read. Mention it in + the qSupported response. + (main): Update call to handle_query. + +2006-06-22 Daniel Jacobowitz + + * remote-utils.c (remote_escape_output, remote_unescape_input): New. + (putpkt_binary): Renamed from putpkt and adjusted for binary + data. + (putpkt): New wrapper for putpkt_binary. + (readchar): Don't mask off the high bit. + (decode_X_packet): New function. + * server.c (main): Call putpkt_binary if a handler sets the packet + length. Save the length of the incoming packet. Handle 'X'. + * server.h (gdb_byte, remote_escape_output, decode_X_packet): New. + +2006-06-21 Daniel Jacobowitz + + * server.c (handle_query): Handle qSupported. + +2006-05-30 Daniel Jacobowitz + + * remote-utils.c (all_symbols_looked_up): New variable. + (look_up_one_symbol): Check it. + * server.h (look_up_one_symbol): New declaration. + * thread-db.c (thread_db_init): Set all_symbols_looked_up. + +2006-05-30 Daniel Jacobowitz + + * Makefile.in (linux-arm-low.o): Update dependencies. + * linux-arm-low.c: Include "gdb_proc_service.h". + (PTRACE_GET_THREAD_AREA): Define. + (ps_get_thread_area): New function. + +2006-05-09 Nathan Sidwell + + * configure.srv (m68k*-*-uclinux*): New target. + * linux-low.c (linux_create_inferior): Use vfork on mmuless systems. + (linux_resume_one_process): Remove extraneous cast. + (linux_read_offsets): New. + (linux_target_op): Add linux_read_offsets on mmuless systems. + * server.c (handle_query): Add qOffsets logic. + * target.h (struct target_ops): Add read_offsets. + +2006-03-15 Daniel Jacobowitz + + * linux-mips-low.c: Include and "gdb_proc_service.h". + (PTRACE_GET_THREAD_AREA): Define. + (ps_get_thread_area): New function. + * Makefile.in (linux-i386-low.o, linux-mips-low.o) + (linux-x86-64-low.o): Update. + +2006-03-15 Daniel Jacobowitz + + * configure.ac: Remove checks for prfpregset_t. + * gdb_proc_service.h: New file. + * linux-i386-low.c, linux-x86-64-low.c, thread-db.c: Use the + new "gdb_proc_service.h". + * proc-service.c: Likewise. + (ps_pglobal_lookup, ps_pdread, ps_pdwrite): Use psaddr_t. + (ps_lgetfpregs, ps_lsetfpregs): Use a void* argument. + * Makefile.in (gdb_proc_service_h): Updated. + * configure, config.in: Regenerated. + +2006-03-03 Daniel Jacobowitz + + * remote-utils.c (prepare_resume_reply): Move declaration + of gdb_id_from_wait to the top of the block. + +2006-02-15 Daniel Jacobowitz + + * linux-low.c (regsets_store_inferior_registers): Read the regset + from the target before filling it. + +2006-02-08 Daniel Jacobowitz + + * server.c (attach_inferior): Return SIGTRAP for a successful + attach. + +2006-02-01 Daniel Jacobowitz + + * Makefile.in (OBS): Add version.o. + (STAGESTUFF): Delete. + (version.o): Add dependencies. + (version.c): Replace rule. + (clean): Remove version.c. + * server.c (gdbserver_version): New. + (gdbserver_usage): Use printf. + (main): Handle --version and --help. + * server.h (version, host_name): Add declarations. + +2005-12-23 Eli Zaretskii + + * linux-arm-low.c: + * linux-arm-low.c: + * inferiors.c: + * i387-fp.h: + * i387-fp.c: + * gdbreplay.c: + * regcache.c: + * proc-service.c: + * mem-break.h: + * mem-break.c: + * linux-x86-64-low.c: + * linux-sh-low.c: + * linux-s390-low.c: + * linux-ppc64-low.c: + * linux-ppc-low.c: + * linux-mips-low.c: + * linux-m68k-low.c: + * linux-m32r-low.c: + * linux-low.h: + * linux-low.c: + * linux-ia64-low.c: + * linux-i386-low.c: + * linux-crisv32-low.c: + * thread-db.c: + * terminal.h: + * target.h: + * target.c: + * server.h: + * server.c: + * remote-utils.c: + * regcache.h: + * utils.c: + * Makefile.in: + * configure.ac: + * gdbserver.1: Add (C) after Copyright. Update the FSF + address. + +2005-11-13 Daniel Jacobowitz + + * linux-arm-low.c (arm_eabi_breakpoint): New variable. + (arm_breakpoint_at): Recognize both breakpoints. + (the_low_target): Use the correct breakpoint instruction. + +2005-11-02 Daniel Jacobowitz + + * configure.srv (x86_64-*-linux*): Turn on thread_db support. + * linux-x86-64-low.c (x86_64_breakpoint, x86_64_breakpoint_len) + (x86_64_get_pc, x86_64_set_pc, x86_64_breakpoint_at): New. + (the_low_target): Update. + +2005-10-25 Andreas Schwab + + * server.c (main): Allocate mem_buf with PBUFSIZ bytes. + + * linux-ia64-low.c (ia64_regmap): Remove NAT registers. + (ia64_num_regs): Reduce to 462. + +2005-09-17 Daniel Jacobowitz + + * acinclude.m4: Correct quoting. + * aclocal.m4: Regenerated. + + Suggested by SZOKOVACS Robert : + * thread-db.c (thread_db_err_str): Handle TD_VERSION. + (thread_db_init): Call thread_db_err_str. + * configure.ac: Check for TD_VERSION. + * config.in, configure: Regenerated. + +2005-07-31 Kaveh R. Ghazi + + * server.h (error, fatal, warning): Add ATTR_FORMAT. + +2005-07-13 Daniel Jacobowitz + + * configure.ac: Define HAVE_LINUX_REGSETS even if PTRACE_GETREGS + is not available. Define HAVE_PTRACE_GETREGS if it is. + * config.in, configure: Regenerated. + * configure.srv: Set srv_linux_regsets for PowerPC and PowerPC64. + * linux-i386-low.c, linux-m68k-low.c: Update to use + HAVE_PTRACE_GETREGS. + * linux-low.c (regsets_fetch_inferior_registers) + (regsets_store_inferior_registers): Only return 0 if we processed + GENERAL_REGS. + * linux-ppc-low.c (ppc_fill_gregset, target_regsets): New. + * linux-ppc64-low.c (ppc_fill_gregset, target_regsets): New. + +2005-07-13 Daniel Jacobowitz + + * inferiors.c (struct thread_info): Add gdb_id. + (add_thread): Add gdb_id argument. + (thread_id_to_gdb_id, thread_to_gdb_id, gdb_id_to_thread_id): New. + * linux-low.c (linux_create_inferior, linux_attach_lwp): Update + calls to add_thread. + * remote-utils.c (prepare_resume_reply: Use thread_to_gdb_id. + * server.c (handle_query): Use thread_to_gdb_id. + (handle_v_cont, main): Use gdb_id_to_thread_id. + * server.h (add_thread): Update prototype. + (thread_id_to_gdb_id, thread_to_gdb_id, gdb_id_to_thread_id): New + prototypes. + +2005-07-13 Daniel Jacobowitz + + * linux-low.c (fetch_register, usr_store_inferior_registers): Handle + left-padded registers. + * linux-low.h (struct linux_target_ops): Add left_pad_xfer. + * linux-ppc64-low.c (the_low_target): Set left_pad_xfer. + +2005-07-01 Steve Ellcey + + * configure.ac (BFD_NEED_DECLARATION): Replace with AC_CHECK_DECLS. + * configure: Regenerate. + * config.in: Regenerate. + * server.h (NEED_DECLARATION_STRERROR): + Replace with !HAVE_DECL_STRERROR. + +2005-06-16 Daniel Jacobowitz + + * linux-low.c (linux_wait, linux_send_signal): Don't test + an unsigned long variable for > 0 if it could be MAX_ULONG. + * server.c (myresume): Likewise. + * target.c (set_desired_inferior): Likewise. + +2005-06-13 Mark Kettenis + + * configure.ac: Simplify and improve check for socklen_t. + * configure, config.in: Regenerate. + +2005-06-12 Daniel Jacobowitz + + * acconfig.h: Remove. + * configure.ac: Add a test for socklen_t. Use three-argument + AC_DEFINE throughout. + * config.in: Regenerated using autoheader 2.59. + * configure: Regenerated. + + * gdbreplay.c (socklen_t): Provide a default. + (remote_open): Use socklen_t. + * remote-utils.c (socklen_t): Provide a default. + (remote_open): Use socklen_t. + (convert_int_to_ascii, convert_ascii_to_int, decode_M_packet): Use + unsigned char. + + * i387-fp.c (struct i387_fsave, struct i387_fxsave): Use unsigned + char for buffers. + * linux-low.c (linux_read_memory, linux_write_memory) + (linux_read_auxv): Likewise. + * mem-break.c (breakpoint_data, set_breakpoint_data, check_mem_read) + (check_mem_write): Likewise. + * mem-break.h (set_breakpoint_data, check_mem_read, check_mem_write): + Likewise. + * regcache.c (struct inferior_rgcache_data, registers_to_string) + (registers_from_string, register_data): Likewise. + * server.c (handle_query, main): Likewise. + * server.h (convert_ascii_to_int, convert_int_to_ascii) + (decode_M_packet): Likewise. + * target.c (read_inferior_memory, write_inferior_memory): Likewise. + * target.h (struct target_ops): Update read_memory, write_memory, + and read_auxv. + (read_inferior_memory, write_inferior_memory): Update. + * linux-low.h (struct linux_target_ops): Change type of breakpoint + to unsigned char *. + * linux-arm-low.c, linux-cris-low.c, linux-crisv32-low.c, + linux-i386-low.c, linux-m32r-low.c, linux-m68k-low.c, + linux-mips-low.c, linux-ppc-low.c, linux-ppc64-low.c, + linux-s390-low.c, linux-sh-low.c: Update for changes in + read_inferior_memory and the_low_target->breakpoint. + +2005-05-28 Daniel Jacobowitz + + * Makefile.in (SFILES): Add linux-ppc64-low.c. + (linux-ppc64-low.o, reg-ppc64.c, reg-ppc64.o): New targets. + * configure.srv: Add powerpc64-*-linux*. + * linux-ppc64-low.c: New file. + +2005-05-23 Orjan Friberg + + * linux-cris-low.c: New file with support for CRIS. + * linux-crisv32-low.c: Ditto for CRISv32. + * Makefile.in (SFILES): Add linux-cris-low.c, linux-crisv32-low.c. + (clean): Add reg-cris.c and reg-crisv32.c. + Add linux-cris-low.o, linux-crisv32-low.o, reg-cris.o, reg-cris.c, + reg-crisv32.o, and reg-crisv32.c to make rules. + * configure.srv: Add cris-*-linux* and crisv32-*-linux* to list of + recognized targets. + +2005-05-16 Ulrich Weigand + + * linux-low.c (fetch_register): Ensure buffer size is a multiple + of sizeof (PTRACE_XFER_TYPE). + (usr_store_inferior_registers): Likewise. Zero out excess bytes. + +2005-05-12 Orjan Friberg + + * target.h (struct target_ops): Add insert_watchpoint, + remove_watchpoint, stopped_by_watchpoint, stopped_data_address function + pointers for hardware watchpoint support. + * linux-low.h (struct linux_target_ops): Ditto. + * linux-low.c (linux_insert_watchpoint, linux_remove_watchpoint) + (linux_stopped_by_watchpoint, linux_stopped_data_address): New. Add + to linux_target_ops. + * remote-utils.c (prepare_resume_reply): Add watchpoint information to + reply packet. + * server.c (main): Recognize 'Z' and 'z' packets. + +2005-05-10 Ulrich Weigand + + * linux-s390-low.c (s390_breakpoint, s390_breakpoint_len): Define. + (s390_get_pc, s390_set_pc, s390_breakpoint_at): New functions. + (the_low_target): Add new members. + +2005-05-04 Daniel Jacobowitz + + * proc-service.c (ps_lgetregs): Search all_processes instead of + all_threads. + +2005-05-04 Daniel Jacobowitz + + * server.c (start_inferior): Change return type to int. + (attach_inferior): Change sigptr to int *. + (handle_v_cont, handle_v_requests): Change signal to int *. + (main): Change signal to int. + +2005-04-15 Kei Sakamoto + + * Makefile.in: Add linux-m32r-low.o, reg-m32r.c and reg-m32r.o. + * configure.srv: Add m32r*-*-linux*. + * linux-m32r-low.c: New file. + +2005-03-04 Daniel Jacobowitz + + * Makefile.in (stamp-h): Set CONFIG_HEADERS explicitly. + +2005-03-03 Daniel Jacobowitz + + * inferiors.c (change_inferior_id, add_thread, find_inferior_id): + Take unsigned long arguments for PIDs. + * linux-low.c (add_process, linux_attach_lwp, linux_attach) + (linux_thread_alive, linux_wait_for_event, kill_lwp, send_sigstop) + (wait_for_sigstop, linux_resume_one_process) + (regsets_fetch_inferior_registers, linux_send_signal) + (linux_read_auxv): Likewise. Update the types of variables holding + PIDs. Update format string specifiers. + * linux-low.h (struct process_info, linux_attach_lwp): Likewise. + * remote-utils.c (prepare_resume_reply): Likewise. + * server.c (cont_thread, general_thread, step_thread) + (thread_from_wait, old_thread_from_wait, signal_pid): Change type to + unsigned long. + (handle_query): Update format specifiers. + (handle_v_cont, main): Use strtoul for thread IDs. + * server.h (struct inferior_list_entry): Use unsigned long for ID. + (add_thread, find_inferior_id, change_inferior_id, cont_thread) + (general_thread, step_thread, thread_from_wait) + (old_thread_from_wait): Update. + * target.h (struct thread_resume): Use unsigned long for THREAD. + (struct target_ops): Use unsigned long for arguments to attach and + thread_alive. + +2005-02-24 Daniel Jacobowitz + + * acinclude.m4: Include bfd/bfd.m4 directly. + * configure.ac: Use AC_ARG_PROGRAM. Suggested by Aron Griffis + . + * aclocal.m4, configure: Regenerated. + +2005-01-07 Andrew Cagney + + * configure.ac: Rename configure.in, require autoconf 2.59. + * configure: Re-generate. + +2004-12-08 Daniel Jacobowitz + + * acinclude.m4 (SRV_CHECK_THREAD_DB): Add ps_get_thread_area. Reset + LIBS when finished. + * aclocal.m4: Regenerated. + * configure: Regenerated. + +2004-11-21 Andreas Schwab + + * linux-m68k-low.c (m68k_num_gregs): Define. + (m68k_fill_gregset, m68k_store_gregset, m68k_fill_fpregset) + (m68k_store_fpregset, target_regsets) [HAVE_LINUX_REGSETS]: New. + (m68k_breakpoint, m68k_breakpoint_len, m68k_get_pc, m68k_set_pc) + (m68k_breakpoint_at): New. Add to the_low_target. + + * configure.srv (m68*-*-linux*): Set srv_linux_regsets and + srv_linux_thread_db to yes. + +2004-10-20 Joel Brobecker + + * linux-x86-64-low.c (ARCH_SET_GS): Add definition if missing. + (ARCH_SET_FS): Likewise. + (ARCH_GET_FS): Likewise. + (ARCH_GET_GS): Likewise. + +2004-10-16 Daniel Jacobowitz + + * linux-i386-low.c (ps_get_thread_area): New. + * linux-x86-64-low.c (ps_get_thread_area): New. + * linux-low.c: Include . + (linux_kill_one_process): Don't kill the first thread here. + (linux_kill): Kill the first thread here. + (kill_lwp): New function. + (send_sigstop, linux_send_signal): Use it. + * proc-service.c: Clean up #ifdefs. + (fpregset_info): Delete. + (ps_lgetregs): Update and enable implementation. + (ps_lsetregs, ps_lgetfpregs, ps_lsetfpregs): Remove disabled + implementations. + * remote-utils.c (struct sym_cache, symbol_cache): New. + (input_interrupt): Print a clearer message. + (async_io_enabled): New variable. + (enable_async_io, disable_async_io): Use it. Update comments. + (look_up_one_symbol): Use the symbol cache. + * thread-db.c (thread_db_look_up_symbols): New function. + (thread_db_init): Update comments. Call thread_db_look_up_symbols. + +2004-10-16 Daniel Jacobowitz + + * configure.in: Test for -rdynamic. + * configure: Regenerated. + * Makefile (INTERNAL_LDFLAGS): New. + (gdbserver, gdbreplay): Use it. + +2004-09-02 Andrew Cagney + + * Makefile.in (TAGS): Replace TM_FILE with DEPRECATED_TM_FILE. + +2004-03-23 Daniel Jacobowitz + + * linux-low.c (linux_wait): Clear all_processes list also. + +2004-03-12 Daniel Jacobowitz + + * linux-low.c: Include . Remove extern declaration of + errno. + +2004-03-12 Daniel Jacobowitz + + * gdbreplay.c, server.h, utils.c: Update copyright years. + +2004-03-04 Nathan J. Williams + + * server.c (main): Print child status or termination signal from + variable 'signal', not 'sig'. + +2004-03-04 Nathan J. Williams + + * linux-low.c (linux_read_memory): Change return type to + int. Check for and return error from ptrace(). + * target.c (read_inferior_memory): Change return type to int. Pass + back return status from the_target->read_memory(). + * target.h (struct target_ops): Adapt *read_memory() prototype. + Update comment. + (read_inferior_memory): Adapt prototype. + * server.c (main): Return an error packet if + read_inferior_memory() returns an error. + +2004-03-04 Daniel Jacobowitz + + * Makefile.in (distclean): Remove config.h, stamp-h, and config.log. + Unify with other clean targets. + +2004-02-29 Daniel Jacobowitz + + * server.c (handle_v_cont): Call set_desired_inferior. + +2004-02-29 Daniel Jacobowitz + + * remote-utils.c (prepare_resume_reply): Always supply "thread:". + +2004-02-29 Daniel Jacobowitz + + * linux-low.c (linux_wait): Unblock async I/O. + (linux_resume): Block and enable async I/O. + * remote-utils.c (block_async_io, unblock_async_io): New functions. + * server.h (block_async_io, unblock_async_io): Add prototypes. + +2004-02-29 Daniel Jacobowitz + + * remote-utils.c (remote_open): Print a status notice after + opening a TCP port. + * server.c (attach_inferior): Print a status notice after + attaching. + +2004-02-29 Daniel Jacobowitz + + * linux-arm-low.c (arm_get_pc): Print out stop PC in debug mode. + +2004-02-26 Daniel Jacobowitz + + * remote-utils.c (write_enn): Use "E01" instead of "ENN" for the + error packet. + * server.c, target.h: Update copyright years. + +2004-02-25 Roland McGrath + + * target.h (struct target_ops): New member `read_auxv'. + * server.c (handle_query): Handle qPart:auxv:read: query using that. + * linux-low.c (linux_read_auxv): New function. + (linux_target_ops): Initialize `read_auxv' member to that. + +2004-02-17 Ulrich Weigand + + Committed by Jim Blandy . + + * linux-s390-low.c (s390_num_regs): Update. + (s390_regmap): Remove control registers. Use __s390x__ predefine + instead of GPR_SIZE to distiguish s390 and s390x targets. + +2004-01-31 Daniel Jacobowitz + + * linux-low.c: Update copyright year. + (check_removed_breakpoint): Clear pending_is_breakpoint. + (linux_set_resume_request, linux_queue_one_thread) + (resume_status_pending_p): New functions. + (linux_continue_one_thread): Use process->resume. + (linux_resume): Only resume threads if there are no pending events. + * linux-low.h (struct process_info): Add resume request + pointer. + +2004-01-30 Daniel Jacobowitz + + * regcache.c (new_register_cache): Clear the allocated register + buffer. Suggested by Atsushi Nemoto . + +2003-10-13 Daniel Jacobowitz + + * linux-low.c (linux_resume): Take a struct thread_resume * + argument. + (linux_wait): Update call. + (resume_ptr): New static variable. + (linux_continue_one_thread): Renamed from + linux_continue_one_process. Use resume_ptr. + (linux_resume): Use linux_continue_one_thread. + * server.c (handle_v_cont, handle_v_requests): New functions. + (myresume): New function. + (main): Handle 'v' case. + * target.h (struct thread_resume): New type. + (struct target_ops): Change argument of "resume" to struct + thread_resume *. + (myresume): Delete macro. + +2003-08-08 H.J. Lu + + * Makefile.in (install-only): Create dest dir. Support DESTDIR. + (uninstall): Support DESTDIR. + +Mon Jul 21 20:09:34 UTC 2003 Brendan Conoboy + + * configure.srv: Add xscale*linux copy of arm*linux entry. + +2003-07-24 Daniel Jacobowitz + + * linux-arm-low.c (arm_reinsert_addr): New function. + (the_low_target): Add arm_reinsert_addr. + +2003-07-08 Mark Kettenis + + * mem-break.c: Remove whitespace at end of file. + +2003-06-28 Daniel Jacobowitz + + * configure.in: Check whether we need to prototype strerror. + * server.h: Optionally prototype strerror. + * gdbreplay.c (perror_with_name): Use strerror. + * linux-low.c (linux_attach_lwp): Use strerror. + * utils.c (perror_with_name): Use strerror. + * config.in, configure: Regenerated. + +2003-06-28 Daniel Jacobowitz + + * linux-sh-low.c (sh_regmap): Fix FP register offsets, reported by + SUGIOKA Toshinobu . + +2003-06-20 Daniel Jacobowitz + + * Makefile.in (SFILES): Update. + * low-hppabsd.c, low-lynx.c, low-nbsd.c, low-sim.c, low-sparc.c, + low-sun3.c: Remove files. + +2003-06-17 Daniel Jacobowitz + + * linux-low.c: Move comment to linux_thread_alive where it belonged. + (linux_detach_one_process, linux_detach): New functions. + (linux_target_ops): Add linux_detach. + * server.c (main): Handle 'D' packet. + * target.h (struct target_ops): Add "detach" member. + (detach_inferior): Define. + +2003-06-13 Mark Kettenis + + From Kelley Cook : + * configure.srv: Accept i[34567]86 variants. + +2003-06-05 Daniel Jacobowitz + + * linux-low.c (linux_wait_for_event): Correct comment typos. + (linux_resume_one_process): Call check_removed_breakpoint. + (linux_send_signal): New function. + (linux_target_ops): Add linux_send_signal. + * remote-utils.c (putpkt, input_interrupt): Use send_signal instead + of kill. + * target.h (struct target_ops): Add send_signal. + +2003-05-29 Jim Blandy + + * linux-low.c (usr_store_inferior_registers): Transfer buf in + PTRACE_XFER_TYPE-sized chunks, not int-sized chunks. Otherwise, + if 'int' is smaller than PTRACE_XFER_TYPE, you end up throwing + away part of the register's value. + +2003-03-26 Daniel Jacobowitz + + * linux-low.c (linux_create_inferior): Use __SIGRTMIN. + (linux_wait_for_event, linux_init_signals): Likewise. + +2003-03-17 Daniel Jacobowitz + + * configure.in: Check for stdlib.h. + * configure: Regenerated. + * config.in: Regenerated. + +2003-01-04 Andreas Schwab + + * linux-m68k-low.c (m68k_num_regs): Define to 29 instead of 31. + +2003-01-02 Andrew Cagney + + * Makefile.in: Remove obsolete code. + +2002-11-20 Daniel Jacobowitz + + * linux-s390-low.c (s390_regmap): Check GPR_SIZE instead of + defined(PT_FPR0_HI). + +2002-11-17 Stuart Hughes + + * linux-arm-low.c (arm_num_regs): Increase. + (arm_regmap): Include status register. + +2002-11-17 Daniel Jacobowitz + + * linux-low.c (register_addr): Remove incorrect -1 check. + +2002-08-29 Daniel Jacobowitz + + * linux-low.c (linux_create_inferior): Call setpgid. Return + the new PID. + (unstopped_p, linux_signal_pid): Remove. + (linux_target_ops): Remove linux_signal_pid. + * remote-utils.c (putpkt, input_interrupt): Use signal_pid + global instead of target method. + * target.h (struct target_ops): Remove signal_pid. Update comment + for create_inferior. + * server.c (signal_pid): New variable. + (create_inferior): Set signal_pid. Block SIGTTOU and SIGTTIN in + gdbserver. Set the child to be the foreground process group. + (attach_inferior): Set signal_pid. + +2002-08-23 Daniel Jacobowitz + + * ChangeLog: New file, with entries from gdb/ChangeLog after GDB 5.2. + +2002-08-20 Jim Blandy + + * Makefile.in (LDFLAGS): Allow the configure script to establish a + default for this. + +2002-08-01 Andrew Cagney + + * Makefile.in: Make chill references obsolete. + +2002-07-24 Kevin Buettner + + * configure.in (unistd.h): Add to AC_CHECK_HEADERS list. + * configure: Regenerate. + * config.in: Regenerate. + +2002-07-09 David O'Brien + + * gdbreplay.c (stdlib.h, unistd.h): Conditionaly include. + (perror_with_name, remote_close, remote_open, expect, play): Static. + +2002-07-04 Michal Ludvig + + * linux-x86-64-low.c (x86_64_regmap): Make it an array of + byte offsets instead of an array of indexes. + (x86_64_store_gregset, x86_64_store_fpregset): Parameter made const. + +2002-06-13 Daniel Jacobowitz + + * regcache.c: Add comment. + +2002-06-11 Daniel Jacobowitz + + * thread-db.c: New file. + * proc-service.c: New file. + * acinclude.m4: New file. + * Makefile.in: Add GDBSERVER_LIBS, gdb_proc_service_h, + proc-service.o, and thread-db.o. + (linux-low.o): Add USE_THREAD_DB. + * acconfig.h: Add HAVE_PRGREGSET_T, HAVE_PRFPREGSET_T, + HAVE_LWPID_T, HAVE_PSADDR_T, and PRFPREGSET_T_BROKEN. + * aclocal.m4: Regenerated. + * config.in: Regenerated. + * configure: Regenerated. + * configure.in: Check for proc_service.h, sys/procfs.h, + thread_db.h, and linux/elf.h headrs. + Check for lwpid_t, psaddr_t, prgregset_t, prfpregset_t, and + PRFPREGSET_T_BROKEN. Introduce srv_thread_depfiles and USE_THREAD_DB. + Check for -lthread_db and thread support. + * configure.srv: Enable thread_db support for ARM, i386, MIPS, + PowerPC, and SuperH. + * i387-fp.c: Constify arguments. + * i387-fp.h: Likewise. + * inferiors.c: (struct thread_info): Renamed from + `struct inferior_info'. Remove PID member. Use generic inferior + list header. All uses updated. + (inferiors, signal_pid): Removed. + (all_threads): New variable. + (get_thread): Define. + (add_inferior_to_list): New function. + (for_each_inferior): New function. + (change_inferior_id): New function. + (add_inferior): Removed. + (remove_inferior): New function. + (add_thread): New function. + (free_one_thread): New function. + (remove_thread): New function. + (clear_inferiors): Use for_each_inferior and free_one_thread. + (find_inferior): New function. + (find_inferior_id): New function. + (inferior_target_data): Update argument type. + (set_inferior_target_data): Likewise. + (inferior_regcache_data): Likewise. + (set_inferior_regcache_data): Likewise. + * linux-low.c (linux_bp_reinsert): Remove. + (all_processes, stopping_threads, using_thrads) + (struct pending_signals, debug_threads, pid_of): New. + (inferior_pid): Replace with macro. + (struct inferior_linux_data): Remove. + (get_stop_pc, add_process): New functions. + (linux_create_inferior): Restore SIGRTMIN+1 before calling exec. + Use add_process and add_thread. + (linux_attach_lwp): New function, based on old linux_attach. Use + add_process and add_thread. Set stop_expected for new threads. + (linux_attach): New function. + (linux_kill_one_process): New function. + (linux_kill): Kill all LWPs. + (linux_thread_alive): Use find_inferior_id. + (check_removed_breakpoints, status_pending_p): New functions. + (linux_wait_for_process): Renamed from linux_wait_for_one_inferior. + Update. Use WNOHANG. Wait for cloned processes also. Update process + struct for the found process. + (linux_wait_for_event): New function. + (linux_wait): Use it. Support LWPs. + (send_sigstop, wait_for_sigstop, stop_all_processes) + (linux_resume_one_process, linux_continue_one_process): New functions. + (linux_resume): Support LWPs. + (REGISTER_RAW_SIZE): Remove. + (fetch_register): Use register_size instead. Call supply_register. + (usr_store_inferior_registers): Likewise. Call collect_register. + Fix recursive case. + (regsets_fetch_inferior_registers): Improve error message. + (regsets_store_inferior_registers): Add debugging. + (linux_look_up_symbols): Call thread_db_init if USE_THREAD_DB. + (unstopped_p, linux_signal_pid): New functions. + (linux_target_ops): Add linux_signal_pid. + (linux_init_signals): New function. + (initialize_low): Call it. Initialize using_threads. + * regcache.c (inferior_regcache_data): Add valid + flag. + (get_regcache): Fetch registers lazily. Add fetch argument + and update all callers. + (regcache_invalidate_one, regcache_invalidate): New + functions. + (new_register_cache): Renamed from create_register_cache. + Return the new regcache. + (free_register_cache): Change argument to a void *. + (registers_to_string, registers_from_string): Call get_regcache + with fetch flag set. + (register_data): Make static. Pass fetch flag to get_regcache. + (supply_register): Call get_regcache with fetch flag clear. + (collect_register): Call get_regcache with fetch flag set. + (collect_register_as_string): New function. + * regcache.h: Update. + * remote-utils.c (putpkt): Flush after debug output and use + stderr. + Handle input interrupts while waiting for an ACK. + (input_interrupt): Use signal_pid method. + (getpkt): Flush after debug output and use stderr. + (outreg): Use collect_register_as_string. + (new_thread_notify, dead_thread_notify): New functions. + (prepare_resume_reply): Check using_threads. Set thread_from_wait + and general_thread. + (look_up_one_symbol): Flush after debug output. + * server.c (step_thread, server_waiting): New variables. + (start_inferior): Don't use signal_pid. Update call to mywait. + (attach_inferior): Update call to mywait. + (handle_query): Handle qfThreadInfo and qsThreadInfo. + (main): Don't fetch/store registers explicitly. Use + set_desired_inferior. Support proposed ``Hs'' packet. Update + calls to mywait. + * server.h: Update. + (struct inferior_list, struct_inferior_list_entry): New. + * target.c (set_desired_inferior): New. + (write_inferior_memory): Constify. + (mywait): New function. + * target.h: Update. + (struct target_ops): New signal_pid method. + (mywait): Removed macro, added prototype. + + * linux-low.h (regset_func): Removed. + (regset_fill_func, regset_store_func): New. + (enum regset_type): New. + (struct regset_info): Add type field. Use new operation types. + (struct linux_target_ops): stop_pc renamed to get_pc. + Add decr_pc_after_break and breakpoint_at. + (get_process, get_thread_proess, get_process_thread) + (strut process_info, all_processes, linux_attach_lwp) + (thread_db_init): New. + + * linux-arm-low.c (arm_get_pc, arm_set_pc, + arm_breakpoint, arm_breakpoint_len, arm_breakpoint_at): New. + (the_low_target): Add new members. + * linux-i386-low.c (i386_store_gregset, i386_store_fpregset) + (i386_store_fpxregset): Constify. + (target_regsets): Add new kind identifier. + (i386_get_pc): Renamed from i386_stop_pc. Simplify. + (i386_set_pc): Add debugging. + (i386_breakpoint_at): New function. + (the_low_target): Add new members. + * linux-mips-low.c (mips_get_pc, mips_set_pc) + (mips_breakpoint, mips_breakpoint_len, mips_reinsert_addr) + (mips_breakpoint_at): New. + (the_low_target): Add new members. + * linux-ppc-low.c (ppc_get_pc, ppc_set_pc) + (ppc_breakpoint, ppc_breakpoint_len, ppc_breakpoint_at): New. + (the_low_target): Add new members. + * linux-sh-low.c (sh_get_pc, sh_set_pc) + (sh_breakpoint, sh_breakpoint_len, sh_breakpoint_at): New. + (the_low_target): Add new members. + * linux-x86-64-low.c (target_regsets): Add new kind + identifier. + +2002-05-15 Daniel Jacobowitz + + From Martin Pool : + * server.c (gdbserver_usage): New function. + (main): Call it. + +2002-05-14 Daniel Jacobowitz + + * mem-break.c (reinsert_breakpoint_by_bp): Correct typo + stop_at -> stop_pc. + +2002-05-04 Andrew Cagney + + * Makefile.in: Remove obsolete code. + +2002-04-24 Michal Ludvig + + * linux-low.c (regsets_fetch_inferior_registers), + (regsets_store_inferior_registers): Removed cast to int from + ptrace() calls. + * regcache.h: Added declaration of struct inferior_info. + +2002-04-20 Daniel Jacobowitz + + * inferiors.c (struct inferior_info): Add regcache_data. + (add_inferior): Call create_register_cache. + (clear_inferiors): Call free_register_cache. + (inferior_regcache_data, set_inferior_regcache_data): New functions. + * regcache.c (struct inferior_regcache_data): New. + (registers): Remove. + (get_regcache): New function. + (create_register_cache, free_register_cache): New functions. + (set_register_cache): Don't initialize the register cache here. + (registers_to_string, registers_from_string, register_data): Call + get_regcache. + * regcache.h: Add prototypes. + * server.h: Likewise. + +2002-04-20 Daniel Jacobowitz + + * mem-break.c: New file. + * mem-break.h: New file. + * Makefile.in: Add mem-break.o rule; update server.h + dependencies. + * inferiors.c (struct inferior_info): Add target_data + member. + (clear_inferiors): Free target_data member if set. + (inferior_target_data, set_inferior_target_data): New functions. + * linux-i386-low.c (i386_breakpoint, i386_breakpoint_len) + (i386_stop_pc, i386_set_pc): New. Add to the_low_target. + * linux-low.c (linux_bp_reinsert): New variable. + (struct inferior_linux_data): New. + (linux_create_inferior): Use set_inferior_target_data. + (linux_attach): Likewise. Call add_inferior. + (linux_wait_for_one_inferior): New function. + (linux_wait): Call it. + (linux_write_memory): Add const. + (initialize_low): Call set_breakpoint_data. + * linux-low.h (struct linux_target_ops): Add breakpoint + handling members. + * server.c (attach_inferior): Remove extra add_inferior + call. + * server.h: Include mem-break.h. Update inferior.c + prototypes. + * target.c (read_inferior_memory) + (write_inferior_memory): New functions. + * target.h (read_inferior_memory) + (write_inferior_memory): Change macros to prototypes. + (struct target_ops): Update comments. Add const to write_memory + definition. + +2002-04-11 Daniel Jacobowitz + + * linux-low.c (usr_store_inferior_registers): Support + registers which are allowed to fail to store. + * linux-low.h (linux_target_ops): Likewise. + * linux-ppc-low.c (ppc_regmap): Support FPSCR. + (ppc_cannot_store_register): FPSCR may not be storable. + +2002-04-09 Daniel Jacobowitz + + * server.h: Include if HAVE_STRING_H. + * ChangeLog: Correct paths in last ChangeLog entry. + +2002-04-09 Daniel Jacobowitz + + * linux-low.h: Remove obsolete prototypes. + (struct linux_target_ops): New. + (extern the_low_target): New. + * linux-low.c (num_regs, regmap): Remove declarations. + (register_addr): Use the_low_target explicitly. + (fetch_register): Likewise. + (usr_fetch_inferior_registers): Likewise. + (usr_store_inferior_registers): Likewise. + * linux-arm-low.c (num_regs): Remove. + (arm_num_regs): Define. + (arm_regmap): Renamed from regmap, made static. + (arm_cannot_fetch_register): Renamed from cannot_fetch_register, + made static. + (arm_cannot_store_register): Renamed from cannot_store_register, + made static. + (the_low_target): New. + * linux-i386-low.c (num_regs): Remove. + (i386_num_regs): Define. + (i386_regmap): Renamed from regmap, made static. + (i386_cannot_fetch_register): Renamed from cannot_fetch_register, + made static. + (i386_cannot_store_register): Renamed from cannot_store_register, + made static. + (the_low_target): New. + * linux-ia64-low.c (num_regs): Remove. + (ia64_num_regs): Define. + (ia64_regmap): Renamed from regmap, made static. + (ia64_cannot_fetch_register): Renamed from cannot_fetch_register, + made static. + (ia64_cannot_store_register): Renamed from cannot_store_register, + made static. + (the_low_target): New. + * linux-m68k-low.c (num_regs): Remove. + (m68k_num_regs): Define. + (m68k_regmap): Renamed from regmap, made static. + (m68k_cannot_fetch_register): Renamed from cannot_fetch_register, + made static. + (m68k_cannot_store_register): Renamed from cannot_store_register, + made static. + (the_low_target): New. + * linux-mips-low.c (num_regs): Remove. + (mips_num_regs): Define. + (mips_regmap): Renamed from regmap, made static. + (mips_cannot_fetch_register): Renamed from cannot_fetch_register, + made static. + (mips_cannot_store_register): Renamed from cannot_store_register, + made static. + (the_low_target): New. + * linux-ppc-low.c (num_regs): Remove. + (ppc_num_regs): Define. + (ppc_regmap): Renamed from regmap, made static. + (ppc_cannot_fetch_register): Renamed from cannot_fetch_register, + made static. + (ppc_cannot_store_register): Renamed from cannot_store_register, + made static. + (the_low_target): New. + * linux-s390-low.c (num_regs): Remove. + (s390_num_regs): Define. + (s390_regmap): Renamed from regmap, made static. + (s390_cannot_fetch_register): Renamed from cannot_fetch_register, + made static. + (s390_cannot_store_register): Renamed from cannot_store_register, + made static. + (the_low_target): New. + * linux-sh-low.c (num_regs): Remove. + (sh_num_regs): Define. + (sh_regmap): Renamed from regmap, made static. + (sh_cannot_fetch_register): Renamed from cannot_fetch_register, + made static. + (sh_cannot_store_register): Renamed from cannot_store_register, + made static. + (the_low_target): New. + * linux-x86-64-low.c (x86_64_regmap): Renamed from regmap. + (the_low_target): New. + +2002-04-09 Daniel Jacobowitz + + * Makefile.in: Add stamp-h target. + * configure.in: Create stamp-h. + * configure: Regenerated. + +2002-04-09 Daniel Jacobowitz + + * inferiors.c: New file. + * target.c: New file. + * target.h: New file. + * Makefile.in: Add target.o and inferiors.o. Update + dependencies. + * linux-low.c (inferior_pid): New static variable, + moved from server.c. + (linux_create_inferior): Renamed from create_inferior. + Call add_inferior. Return 0 on success instead of a PID. + (linux_attach): Renamed from myattach. + (linux_kill): Renamed from kill_inferior. Call clear_inferiors (). + (linux_thread_alive): Renamed from mythread_alive. + (linux_wait): Renamed from mywait. Call clear_inferiors () if the + child dies. + (linux_resume): Renamed from myresume. Add missing ``return 0''. + (regsets_store_inferior_registers): Correct error message. + Add missing ``return 0''. + (linux_fetch_registers): Renamed from fetch_inferior_registers. + (linux_store_registers): Renamed from store_inferior_registers. + (linux_read_memory): Renamed from read_inferior_memory. + (linux_write_memory): Renamed from write_inferior_memory. + (linux_target_ops): New structure. + (initialize_low): Call set_target_ops (). + * remote-utils.c (unhexify): New function. + (hexify): New function. + (input_interrupt): Send signals to ``signal_pid''. + * server.c (inferior_pid): Remove. + (start_inferior): Update create_inferior call. + (attach_inferior): Call add_inferior. + (handle_query): New function. + (main): Call handle_query for `q' packets. + * server.h: Include "target.h". Remove obsolete prototypes. + Add prototypes for "inferiors.c", "target.c", hexify, and unhexify. + +2002-04-09 Daniel Jacobowitz + + * Makefile.in: Add WARN_CFLAGS. Update configury + dependencies. + * configure.in: Check for + * configure: Regenerate. + * config.in: Regenerate. + * gdbreplay.c: Include needed system headers. + (remote_open): Remove strchr prototype. + * linux-low.h: Correct #ifdef to HAVE_LINUX_USRREGS. + * regcache.c (supply_register): Change buf argument to const void *. + (supply_register_by_name): Likewise. + (collect_register): Change buf argument to void *. + (collect_register_by_name): Likewise. + * regcache.h: Add missing prototypes. + * remote-utils.c: Include for inet_ntoa. + * server.c (handle_query): New function. + (attached): New static variable, moved out of main. + (main): Quiet longjmp clobber warnings. + * server.h: Add ATTR_NORETURN and ATTR_FORMAT. Update prototypes. + * utils.c (error): Remove NORETURN. + (fatal): Likewise. diff --git a/gdbsupport/ChangeLog b/gdbsupport/ChangeLog deleted file mode 100644 index d0548993333..00000000000 --- a/gdbsupport/ChangeLog +++ /dev/null @@ -1,618 +0,0 @@ -2021-06-17 Pedro Alves - - * scoped_ignore_signal.h - (scoped_ignore_signal::scoped_ignore_signal) - [HAVE_SIGPROCMASK]: Use sigprocmask to block the signal instead of - changing the signal disposition for the whole process. - (scoped_ignore_signal::~scoped_ignore_signal) [HAVE_SIGPROCMASK]: - Use sigtimedwait and sigprocmask to flush and unblock the signal. - -2021-06-17 Pedro Alves - - * scoped_ignore_sigttou.h: New file, moved from gdb/ and renamed. - -2021-05-17 Andrew Burgess - - * .dir-locals.el: Set sentence-end-double-space for all modes, and - set brace-list-open to 0 for C and C++ modes. - -2021-05-08 Simon Marchi - - * Makefile.in: Re-generate. - * config.in: Re-generate. - * configure: Re-generate. - -2021-05-08 Pedro Alves - - * common.m4 (personality test): Remove. - -2021-04-30 Tom Tromey - - * thread-pool.cc (thread_pool::post_task): Update. - * thread-pool.h (class thread_pool) : Take rvalue - reference to function. - -2021-04-27 Michael Weghorn - Simon Marchi - - * observable.h (class observable): Extend to allow specifying - dependencies between observers, keep vector holding observers - sorted so that dependencies are notified before observers - depending on them. - -2021-04-24 Simon Marchi - - * observable.h (observer_debug_printf, - OBSERVER_SCOPED_DEBUG_START_END): New. - (class observable) : Use them. - -2021-04-24 Simon Marchi - - * common-debug.h (struct scoped_debug_start_end) - : Change start_msg/end_msg for - start_prefix/end_prefix. Add format string parameter and make - variadic. - <~scoped_debug_start_end>: Adjust. - : Rename to... - : ... this. - : New. - : New. - (scoped_debug_start_end): Make variadic. - (scoped_debug_enter_exit): Adjust. - -2021-04-24 Simon Marchi - - * observable.h (class observable) : - Add name parameter. - : New field. - : Add name parameter, update all callers. - -2021-04-24 Simon Marchi - - * observable.h (class observable) : New. - : Update. - : Change type to vector of observers. - -2021-04-23 Simon Marchi - - * observable.h (observer_debug): Change to bool. - -2021-04-23 Simon Marchi - - * common-debug.h: Include preprocessor.h. - -2021-03-24 Luis Machado - - * rsp-low.cc (fromhex, hex2bin): Move to ... - * common-utils.cc: ... here. - (fromhex) Change error message text to not be RSP-specific. - * rsp-low.h (fromhex, hex2bin): Move to ... - * common-utils.h: ... here. - -2021-03-21 Alan Modra - - * common-utils.h (startswith): Delete version now supplied by bfd.h. - -2021-02-05 Paul E. Murphy - - * common-defs.h (ATTRIBUTE_PRINTF): Rename - _GL_ATTRIBUTE_FORMAT_PRINTF to _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD. - * common-utils.h (xfree): Use GNULIB_NAMESPACE namespace when calling - free if this macro is defined. - -2021-01-23 Lancelot SIX - - * gdb_tilde_expand.cc (gdb_tilde_expand): Improve - implementation. - (gdb_tilde_expand_up): Delegate logic to gdb_tilde_expand. - * gdb_tilde_expand.h (gdb_tilde_expand): Update description. - -2021-01-22 Simon Marchi - - * common-debug.h (debug_prefixed_printf_cond_nofunc): New. - * common-debug.c (debug_prefixed_vprintf): Handle a nullptr - func. - -2021-01-08 Simon Marchi - - PR gdb/27157 - * pathstuff.cc (get_standard_cache_dir, get_standard_config_dir, - find_gdb_home_config_file): Add empty string check. - -2021-01-06 Mike Frysinger - - * common-utils.h (align_up): Fix typo in header comment. - -2021-01-04 Simon Marchi - - * common-debug.h (debug_print_depth): New. - (struct scoped_debug_start_end): New. - (scoped_debug_start_end): New. - (scoped_debug_enter_exit): New. - * common-debug.cc (debug_prefixed_vprintf): Print indentation. - -2020-12-11 Andrew Burgess - - * gdbsupport/common-utils.cc: Change 'ctype.h' include to - 'safe-ctype.h'. - (extract_string_maybe_quoted): Use safe-ctype function versions. - (is_digit_in_base): Likewise. - (digit_to_int): Likewise. - (strtoulst): Likewise. - (skip_spaces): Likewise. - (skip_to_space): Likewise. - -2020-12-11 Simon Marchi - - * common-debug.h (debug_prefixed_printf_cond): New. - * event-loop.h (event_loop_debug_printf): Use - debug_prefixed_printf_cond. - -2020-12-08 Alexander Fedotov - - * pathstuff.cc (get_standard_cache_dir): Use LOCALAPPDATA environment - variable when running on Windows. - -2020-12-01 Andrew Burgess - - * tdesc.cc (print_xml_feature::visit): Print enum fields using - 'evalue' syntax. - -2020-12-01 Chungyi Chi - - * tdesc.cc (print_xml_feature::visit): Print enum size attribute. - -2020-11-20 Tom Tromey - - * thread-pool.cc (thread_pool::set_thread_count): Ignore system - errors. - -2020-11-10 Tom Tromey - - PR build/26848: - * pathstuff.h: Move include block here... - * pathstuff.cc: ... from here. - -2020-11-02 Tom Tromey - - * pathstuff.h (get_standard_config_dir): Declare. - * pathstuff.cc (get_standard_config_dir): New function. - -2020-11-02 Simon Marchi - - * common-exceptions.h: Fix indentation. - * event-loop.cc: Fix indentation. - * fileio.cc: Fix indentation. - * filestuff.cc: Fix indentation. - * gdb-dlfcn.cc: Fix indentation. - * gdb_string_view.h: Fix indentation. - * job-control.cc: Fix indentation. - * signals.cc: Fix indentation. - -2020-10-31 Simon Marchi - - * common-debug.cc (debug_prefixed_printf): New. - * common-debug.h (debug_prefixed_printf): New declaration. - * event-loop.cc (event_loop_debug_printf_1): Remove. - * event-loop.h (event_loop_debug_printf_1): Remove. - (event_loop_debug_printf): Use debug_prefixed_printf. - (event_loop_ui_debug_printf): Use debug_prefixed_printf. - -2020-10-31 Simon Marchi - - * common.m4: Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE + - AC_LANG_PROGRAM. - * configure: Re-generate. - -2020-10-31 Simon Marchi - - * common.m4: Replace AC_FUNC_VFORK with AC_FUNC_FORK. - -2020-10-31 Simon Marchi - - * configure: Re-generate. - * warning.m4: Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE + - AC_LANG_PROGRAM. - -2020-10-31 Simon Marchi - - * configure: Re-generate. - * ptrace.m4: Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE + - AC_LANG_PROGRAM. - -2020-10-31 Simon Marchi - - * configure: Re-generate. - * ptrace.m4: Re-indent. - -2020-10-31 Simon Marchi - - * aclocal.m4: Re-generate. - * configure: Re-generate. - * configure.ac: Remove AM_PROG_CC_STDC. - -2020-10-31 Simon Marchi - - * configure.ac: Use AC_CANONICAL_{BUILD,HOST,TARGET} instead of - AC_CANONICAL_SYSTEM. - * configure: Re-generate. - -2020-10-26 Pedro Alves - - * eintr.h (handle_eintr): Replace Ret template parameter with - ErrorValType. Use it as type of the failure value. Deduce the - function's return type using decltype. Use lowercase for function - parameter names. - -2020-10-25 Simon Marchi - - * Makefile.in: Re-generate. - * acinclude.m4: Update ptrace.m4 path. - * ptrace.m4: Move here. - -2020-10-08 Andrew Burgess - - * tdesc.h (allocate_target_description): Update return type. - -2020-10-07 Tom Tromey - - * Makefile.in: Rebuild. - * Makefile.am (libgdbsupport_a_SOURCES): Add search.cc. - * search.h: New file. - * search.cc: New file. - -2020-10-02 Simon Marchi - - * event-loop.h (debug_event_loop): New variable declaration. - (event_loop_debug_printf_1): New function declaration. - (event_loop_debug_printf): New macro. - * event-loop.cc (debug_event_loop): New variable. - (handle_file_event): Add debug print. - (event_loop_debug_printf_1): New function. - -2020-10-02 Simon Marchi - - * common-debug.cc (debug_prefixed_vprintf): Move here. - * common-debug.h (debug_prefixed_vprintf): Move here. - -2020-10-02 Simon Marchi - - * event-loop.h (add_file_handler): Add "name" parameter. - * event-loop.cc (struct file_handler) : New field. - (create_file_handler): Add "name" parameter, assign it to file - handler. - (add_file_handler): Add "name" parameter. - -2020-10-01 Kamil Rytarowski - - * agent.cc (gdb_connect_sync_socket): Preinitialize addr with zeros. - -2020-09-29 Pedro Alves - - * valid-expr.h (CHECK_VALID_EXPR_INT): Make archetype a template - class instead of an alias template and adjust static_assert. - -2020-09-24 Simon Marchi - - * event-loop.c (struct file_handler): Remove typedef, re-format. - -2020-09-16 John Baldwin - - * common.m4 (GDB_AC_COMMON): Refactor checks for kinfo_getfile(). - * configure, config.in: Regenerate. - -2020-09-14 Pedro Alves - - * enum-flags.h: Include "traits.h". - (DEF_ENUM_FLAGS_TYPE): Declare a function instead of defining a - structure. - (enum_underlying_type): Update comment. - (namespace enum_flags_detail): New. Move struct zero_type here. - (EnumIsUnsigned, EnumIsSigned): New. - (class enum_flags): Make most methods constexpr. - (operator&=, operator|=, operator^=): Take an enum_flags instead - of an enum_type. Make rvalue ref versions deleted. - (operator enum_type()): Delete. - (operator&, operator|, operator^, operator~): Delete, moved out of - class. - (raw()): New method. - (is_enum_flags_enum_type_t): Declare. - (ENUM_FLAGS_GEN_BINOP, ENUM_FLAGS_GEN_COMPOUND_ASSIGN) - (ENUM_FLAGS_GEN_COMP): New. Use them to reimplement global - operators. - (operator~): Now constexpr and reimplemented. - (operator<<, operator>>): New deleted functions. - * valid-expr.h (CHECK_VALID_EXPR_5, CHECK_VALID_EXPR_6): New. - -2020-09-14 Pedro Alves - - * traits.h (struct nonesuch, struct detector, detected_or) - (detected_or_t, is_detected, detected_t, detected_or) - (detected_or_t, is_detected_exact, is_detected_convertible): New. - * valid-expr.h (CHECK_VALID_EXPR_INT): Use gdb::is_detected_exact. - -2020-09-10 Kamil Rytarowski - - * eintr.h: New file. - -2020-08-13 Simon Marchi - - * selftest.h (run_tests): Change parameter to array_view. - * selftest.c (run_tests): Change parameter to array_view and use - it. - -2020-07-30 Rainer Orth - - * Makefile.am (AM_CPPFLAGS): Add LARGEFILE_CPPFLAGS. - * common.m4 (GDB_AC_COMMON): Use BFD_SYS_PROCFS_H to check for - . - * Makefile.in: Regenerate. - * configure, config.in: Regenerate. - -2020-07-28 Tom de Vries - - PR build/26281 - * gdb_optional.h (class optional): Add volatile member to union - contaning m_dummy and m_item. - -2020-07-17 Andrew Burgess - - * tdesc.h (struct target_desc_deleter): Moved here - from gdb/target-descriptions.h, extend comment. - (target_desc_up): Likewise. - -2020-06-30 Tom Tromey - - PR build/26183: - * gdb_string_view.h (basic_string_view::to_string): Remove. - (gdb::to_string): New function. - -2020-06-27 Simon Marchi - - * tdesc.h (class print_xml_feature) : Add - ATTRIBUTE_PRINTF. - -2020-06-23 Andrew Burgess - - * tdesc.cc (print_xml_feature::visit_pre): Use add_line to add - output content, and call indent as needed in all overloaded - variants. - (print_xml_feature::visit_post): Likewise. - (print_xml_feature::visit): Likewise. - (print_xml_feature::add_line): Two new overloaded functions. - * tdesc.h (print_xml_feature::indent): New member function. - (print_xml_feature::add_line): Two new overloaded member - functions. - (print_xml_feature::m_depth): New member variable. - -2020-06-23 Andrew Burgess - - * tdesc.cc (print_xml_feature::visit_pre): Print compatible - information. - * tdesc.h (struct tdesc_compatible_info): Declare new struct. - (tdesc_compatible_info_up): New typedef. - (tdesc_compatible_info_list): Declare new function. - (tdesc_compatible_info_arch_name): Declare new function. - -2020-05-25 Michael Weghorn - - * common-utils.cc, common-utils.h (stringify_argv): Drop - now unused function stringify_argv - -2020-05-25 Michael Weghorn - - * common-inferior.cc, common-inferior.h (construct_inferior_arguments): - Adapt to take a gdb::array_view parameter. - Adapt call site. - -2020-05-25 Michael Weghorn - - * common-inferior.cc, common-inferior.h (construct_inferior_arguments): - Adapt to handle zero args and return a std::string. - Adapt call site. - -2020-05-25 Michael Weghorn - - * common-inferior.h, common-inferior.cc: (construct_inferior_arguments): - Move function here from gdb/infcmd.c, gdb/inferior.h - -2020-05-14 Kevin Buettner - - * btrace-common.h (btrace_cpu_vendor): Add CV_AMD. - -2020-05-14 Tankut Baris Aktemur - - * common-regcache.h (regcache_read_pc_protected): New function - declaration. - -2020-04-28 Tankut Baris Aktemur - - * gdb-sigmask.h: Fix typo (pthead_sigmask -> pthread_sigmask). - -2020-04-27 Simon Marchi - - * common-defs.h: Include cstdlib.h. - -2020-04-20 Tom Tromey - - * scoped_mmap.h (scoped_mmap): Mark move constructor as noexcept. - Use initialization style. Don't call destroy. - * scoped_fd.h (class scoped_fd): Mark move constructor as - noexcept. - * gdb_ref_ptr.h (class ref_ptr): Mark move constructor as - noexcept. - -2020-04-13 Tom Tromey - - * event-loop.c: Move comment. Remove obsolete comment. - -2020-04-13 Tom Tromey - - * event-loop.h: Move from ../gdb/. - * event-loop.cc: Move from ../gdb/. - -2020-04-13 Tom Tromey - - * errors.h (flush_streams): Declare. - -2020-04-13 Tom Tromey - - * gdb_select.h: Move from ../gdb/. - -2020-04-13 Tom Tromey - - * config.in, configure: Rebuild. - * common.m4 (GDB_AC_COMMON): Check for poll.h, sys/poll.h, - sys/select.h, and poll. - -2020-03-31 Tom Tromey - - * btrace-common.cc (btrace_data_append): Conditionally call - memcpy. - -2020-03-27 Andrew Burgess - - * create-version.sh: Resolve issues highlighted by shellcheck. - -2020-03-20 Simon Marchi - - * config.in: Re-generate. - * configure: Re-generate. - -2020-03-17 Kamil Rytarowski - - * common-defs.h: Include alloca.h if HAVE_ALLOCA_H is defined. - -2020-03-12 Tom Tromey - - * common-types.h: Remove GDBSERVER code. - (gdb_byte, CORE_ADDR, LONGEST, ULONGEST): Redefine. - * common-defs.h: Remove GDBSERVER code. - -2020-03-12 Simon Marchi - - * selftest.m4: Moved from gdb/. - * acinclude.m4: Update path to selftest.m4. - -2020-03-12 Simon Marchi - - * configure.ac: Don't source bfd/development.sh. - * common.m4: Source bfd/development.sh. - * configure: Re-generate. - -2020-03-12 Simon Marchi - - * configure: Re-generate. - -2020-03-11 Simon Marchi - - * configure: Re-generate. - * warning.m4: Enable -Wmissing-prototypes. - -2020-03-08 Tom Tromey - - * gdb_binary_search.h: Fix two typos. - -2020-03-06 Andrew Burgess - - * .dir-locals.el: New file. - -2020-03-05 Vyacheslav Petrishchev - - * configure.ac: Added call development.sh. - * configure: Regenerate. - -2020-03-05 Tankut Baris Aktemur - - * .gitattributes: New file. - -2020-03-03 Simon Marchi - - * Makefile.in: Re-generate. - -2020-02-28 Sergio Durigan Junior - - * gdb-dlfcn.h (gdb_dlopen): Update comment. - -2020-02-19 Andrew Burgess - - * configure: Regenerate. - -2020-02-14 Tom Tromey - - * common-defs.h: Change path to gnulib/config.h. - -2020-02-13 Simon Marchi - - * Makefile.am: Rename source files from .c to .cc. - (CC, CFLAGS): Don't override. - (AM_CFLAGS): Rename to ... - (AM_CXXFLAGS): ... this. - * Makefile.in: Re-generate. - * %.c: Rename to %.cc. - -2020-02-11 Simon Marchi - - * configure: Re-generate. - -2020-02-11 Simon Marchi - - * warning.m4: Add -Wstrict-null-sentinel. - * configure: Re-generate. - -2020-02-11 Simon Marchi - - * warning.m4: Move here, from gdb/warning.m4. - * acinclude.m4: Update warning.m4 path. - * Makefile.in: Re-generate. - -2020-02-11 Simon Marchi - - * acinclude.m4: Include ../gdb/warning.m4. - * configure.ac: Use AM_GDB_WARNINGS. - * Makefile.am: Set AM_CFLAGS to WARN_CFLAGS and WERROR_CFLAGS. - * Makefile.in: Re-generate. - * configure: Re-generate. - -2020-02-10 Tom de Vries - - * environ.c (gdb_environ::set): Cast concat NULL sentinel to char *. - -2020-01-24 Christian Biesinger - - * thread-pool.c (set_thread_name): Add an overload for the NetBSD - version of pthread_setname_np. - -2020-01-17 Pedro Alves - - * Makefile.am: Append CXX_DIALECT to CXX. - * Makefile.in: Regenerate. - -2020-01-17 Pedro Alves - - * configure.ac: Generate config.h instead of support-config.h. - * common-defs.h: Include instead of - . - * Makefile.in: Regenerate. - * configure: Regenerate. - -2020-01-14 Tom Tromey - - * Makefile.in: Rebuild. - * Makefile.am (check-defines): New target. - * check-defines.el: New file. - -2020-01-14 Tom Tromey - - * configure, Makefile.in, aclocal.m4, common.m4, config.in: - Rebuild. - * common.m4 (GDB_AC_COMMON): Move many checks from - gdb/configure.ac. - * acinclude.m4: Include bfd.m4, ptrace.m4. - -2020-01-14 Tom Tromey - - * common-defs.h: Add GDBSERVER case. Update includes. - * acinclude.m4, aclocal.m4, config.in, configure, configure.ac, - Makefile.am, Makefile.in, README: New files. - * Moved from ../gdb/gdbsupport/ diff --git a/gdbsupport/ChangeLog-2020-2021 b/gdbsupport/ChangeLog-2020-2021 new file mode 100644 index 00000000000..d0548993333 --- /dev/null +++ b/gdbsupport/ChangeLog-2020-2021 @@ -0,0 +1,618 @@ +2021-06-17 Pedro Alves + + * scoped_ignore_signal.h + (scoped_ignore_signal::scoped_ignore_signal) + [HAVE_SIGPROCMASK]: Use sigprocmask to block the signal instead of + changing the signal disposition for the whole process. + (scoped_ignore_signal::~scoped_ignore_signal) [HAVE_SIGPROCMASK]: + Use sigtimedwait and sigprocmask to flush and unblock the signal. + +2021-06-17 Pedro Alves + + * scoped_ignore_sigttou.h: New file, moved from gdb/ and renamed. + +2021-05-17 Andrew Burgess + + * .dir-locals.el: Set sentence-end-double-space for all modes, and + set brace-list-open to 0 for C and C++ modes. + +2021-05-08 Simon Marchi + + * Makefile.in: Re-generate. + * config.in: Re-generate. + * configure: Re-generate. + +2021-05-08 Pedro Alves + + * common.m4 (personality test): Remove. + +2021-04-30 Tom Tromey + + * thread-pool.cc (thread_pool::post_task): Update. + * thread-pool.h (class thread_pool) : Take rvalue + reference to function. + +2021-04-27 Michael Weghorn + Simon Marchi + + * observable.h (class observable): Extend to allow specifying + dependencies between observers, keep vector holding observers + sorted so that dependencies are notified before observers + depending on them. + +2021-04-24 Simon Marchi + + * observable.h (observer_debug_printf, + OBSERVER_SCOPED_DEBUG_START_END): New. + (class observable) : Use them. + +2021-04-24 Simon Marchi + + * common-debug.h (struct scoped_debug_start_end) + : Change start_msg/end_msg for + start_prefix/end_prefix. Add format string parameter and make + variadic. + <~scoped_debug_start_end>: Adjust. + : Rename to... + : ... this. + : New. + : New. + (scoped_debug_start_end): Make variadic. + (scoped_debug_enter_exit): Adjust. + +2021-04-24 Simon Marchi + + * observable.h (class observable) : + Add name parameter. + : New field. + : Add name parameter, update all callers. + +2021-04-24 Simon Marchi + + * observable.h (class observable) : New. + : Update. + : Change type to vector of observers. + +2021-04-23 Simon Marchi + + * observable.h (observer_debug): Change to bool. + +2021-04-23 Simon Marchi + + * common-debug.h: Include preprocessor.h. + +2021-03-24 Luis Machado + + * rsp-low.cc (fromhex, hex2bin): Move to ... + * common-utils.cc: ... here. + (fromhex) Change error message text to not be RSP-specific. + * rsp-low.h (fromhex, hex2bin): Move to ... + * common-utils.h: ... here. + +2021-03-21 Alan Modra + + * common-utils.h (startswith): Delete version now supplied by bfd.h. + +2021-02-05 Paul E. Murphy + + * common-defs.h (ATTRIBUTE_PRINTF): Rename + _GL_ATTRIBUTE_FORMAT_PRINTF to _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD. + * common-utils.h (xfree): Use GNULIB_NAMESPACE namespace when calling + free if this macro is defined. + +2021-01-23 Lancelot SIX + + * gdb_tilde_expand.cc (gdb_tilde_expand): Improve + implementation. + (gdb_tilde_expand_up): Delegate logic to gdb_tilde_expand. + * gdb_tilde_expand.h (gdb_tilde_expand): Update description. + +2021-01-22 Simon Marchi + + * common-debug.h (debug_prefixed_printf_cond_nofunc): New. + * common-debug.c (debug_prefixed_vprintf): Handle a nullptr + func. + +2021-01-08 Simon Marchi + + PR gdb/27157 + * pathstuff.cc (get_standard_cache_dir, get_standard_config_dir, + find_gdb_home_config_file): Add empty string check. + +2021-01-06 Mike Frysinger + + * common-utils.h (align_up): Fix typo in header comment. + +2021-01-04 Simon Marchi + + * common-debug.h (debug_print_depth): New. + (struct scoped_debug_start_end): New. + (scoped_debug_start_end): New. + (scoped_debug_enter_exit): New. + * common-debug.cc (debug_prefixed_vprintf): Print indentation. + +2020-12-11 Andrew Burgess + + * gdbsupport/common-utils.cc: Change 'ctype.h' include to + 'safe-ctype.h'. + (extract_string_maybe_quoted): Use safe-ctype function versions. + (is_digit_in_base): Likewise. + (digit_to_int): Likewise. + (strtoulst): Likewise. + (skip_spaces): Likewise. + (skip_to_space): Likewise. + +2020-12-11 Simon Marchi + + * common-debug.h (debug_prefixed_printf_cond): New. + * event-loop.h (event_loop_debug_printf): Use + debug_prefixed_printf_cond. + +2020-12-08 Alexander Fedotov + + * pathstuff.cc (get_standard_cache_dir): Use LOCALAPPDATA environment + variable when running on Windows. + +2020-12-01 Andrew Burgess + + * tdesc.cc (print_xml_feature::visit): Print enum fields using + 'evalue' syntax. + +2020-12-01 Chungyi Chi + + * tdesc.cc (print_xml_feature::visit): Print enum size attribute. + +2020-11-20 Tom Tromey + + * thread-pool.cc (thread_pool::set_thread_count): Ignore system + errors. + +2020-11-10 Tom Tromey + + PR build/26848: + * pathstuff.h: Move include block here... + * pathstuff.cc: ... from here. + +2020-11-02 Tom Tromey + + * pathstuff.h (get_standard_config_dir): Declare. + * pathstuff.cc (get_standard_config_dir): New function. + +2020-11-02 Simon Marchi + + * common-exceptions.h: Fix indentation. + * event-loop.cc: Fix indentation. + * fileio.cc: Fix indentation. + * filestuff.cc: Fix indentation. + * gdb-dlfcn.cc: Fix indentation. + * gdb_string_view.h: Fix indentation. + * job-control.cc: Fix indentation. + * signals.cc: Fix indentation. + +2020-10-31 Simon Marchi + + * common-debug.cc (debug_prefixed_printf): New. + * common-debug.h (debug_prefixed_printf): New declaration. + * event-loop.cc (event_loop_debug_printf_1): Remove. + * event-loop.h (event_loop_debug_printf_1): Remove. + (event_loop_debug_printf): Use debug_prefixed_printf. + (event_loop_ui_debug_printf): Use debug_prefixed_printf. + +2020-10-31 Simon Marchi + + * common.m4: Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE + + AC_LANG_PROGRAM. + * configure: Re-generate. + +2020-10-31 Simon Marchi + + * common.m4: Replace AC_FUNC_VFORK with AC_FUNC_FORK. + +2020-10-31 Simon Marchi + + * configure: Re-generate. + * warning.m4: Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE + + AC_LANG_PROGRAM. + +2020-10-31 Simon Marchi + + * configure: Re-generate. + * ptrace.m4: Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE + + AC_LANG_PROGRAM. + +2020-10-31 Simon Marchi + + * configure: Re-generate. + * ptrace.m4: Re-indent. + +2020-10-31 Simon Marchi + + * aclocal.m4: Re-generate. + * configure: Re-generate. + * configure.ac: Remove AM_PROG_CC_STDC. + +2020-10-31 Simon Marchi + + * configure.ac: Use AC_CANONICAL_{BUILD,HOST,TARGET} instead of + AC_CANONICAL_SYSTEM. + * configure: Re-generate. + +2020-10-26 Pedro Alves + + * eintr.h (handle_eintr): Replace Ret template parameter with + ErrorValType. Use it as type of the failure value. Deduce the + function's return type using decltype. Use lowercase for function + parameter names. + +2020-10-25 Simon Marchi + + * Makefile.in: Re-generate. + * acinclude.m4: Update ptrace.m4 path. + * ptrace.m4: Move here. + +2020-10-08 Andrew Burgess + + * tdesc.h (allocate_target_description): Update return type. + +2020-10-07 Tom Tromey + + * Makefile.in: Rebuild. + * Makefile.am (libgdbsupport_a_SOURCES): Add search.cc. + * search.h: New file. + * search.cc: New file. + +2020-10-02 Simon Marchi + + * event-loop.h (debug_event_loop): New variable declaration. + (event_loop_debug_printf_1): New function declaration. + (event_loop_debug_printf): New macro. + * event-loop.cc (debug_event_loop): New variable. + (handle_file_event): Add debug print. + (event_loop_debug_printf_1): New function. + +2020-10-02 Simon Marchi + + * common-debug.cc (debug_prefixed_vprintf): Move here. + * common-debug.h (debug_prefixed_vprintf): Move here. + +2020-10-02 Simon Marchi + + * event-loop.h (add_file_handler): Add "name" parameter. + * event-loop.cc (struct file_handler) : New field. + (create_file_handler): Add "name" parameter, assign it to file + handler. + (add_file_handler): Add "name" parameter. + +2020-10-01 Kamil Rytarowski + + * agent.cc (gdb_connect_sync_socket): Preinitialize addr with zeros. + +2020-09-29 Pedro Alves + + * valid-expr.h (CHECK_VALID_EXPR_INT): Make archetype a template + class instead of an alias template and adjust static_assert. + +2020-09-24 Simon Marchi + + * event-loop.c (struct file_handler): Remove typedef, re-format. + +2020-09-16 John Baldwin + + * common.m4 (GDB_AC_COMMON): Refactor checks for kinfo_getfile(). + * configure, config.in: Regenerate. + +2020-09-14 Pedro Alves + + * enum-flags.h: Include "traits.h". + (DEF_ENUM_FLAGS_TYPE): Declare a function instead of defining a + structure. + (enum_underlying_type): Update comment. + (namespace enum_flags_detail): New. Move struct zero_type here. + (EnumIsUnsigned, EnumIsSigned): New. + (class enum_flags): Make most methods constexpr. + (operator&=, operator|=, operator^=): Take an enum_flags instead + of an enum_type. Make rvalue ref versions deleted. + (operator enum_type()): Delete. + (operator&, operator|, operator^, operator~): Delete, moved out of + class. + (raw()): New method. + (is_enum_flags_enum_type_t): Declare. + (ENUM_FLAGS_GEN_BINOP, ENUM_FLAGS_GEN_COMPOUND_ASSIGN) + (ENUM_FLAGS_GEN_COMP): New. Use them to reimplement global + operators. + (operator~): Now constexpr and reimplemented. + (operator<<, operator>>): New deleted functions. + * valid-expr.h (CHECK_VALID_EXPR_5, CHECK_VALID_EXPR_6): New. + +2020-09-14 Pedro Alves + + * traits.h (struct nonesuch, struct detector, detected_or) + (detected_or_t, is_detected, detected_t, detected_or) + (detected_or_t, is_detected_exact, is_detected_convertible): New. + * valid-expr.h (CHECK_VALID_EXPR_INT): Use gdb::is_detected_exact. + +2020-09-10 Kamil Rytarowski + + * eintr.h: New file. + +2020-08-13 Simon Marchi + + * selftest.h (run_tests): Change parameter to array_view. + * selftest.c (run_tests): Change parameter to array_view and use + it. + +2020-07-30 Rainer Orth + + * Makefile.am (AM_CPPFLAGS): Add LARGEFILE_CPPFLAGS. + * common.m4 (GDB_AC_COMMON): Use BFD_SYS_PROCFS_H to check for + . + * Makefile.in: Regenerate. + * configure, config.in: Regenerate. + +2020-07-28 Tom de Vries + + PR build/26281 + * gdb_optional.h (class optional): Add volatile member to union + contaning m_dummy and m_item. + +2020-07-17 Andrew Burgess + + * tdesc.h (struct target_desc_deleter): Moved here + from gdb/target-descriptions.h, extend comment. + (target_desc_up): Likewise. + +2020-06-30 Tom Tromey + + PR build/26183: + * gdb_string_view.h (basic_string_view::to_string): Remove. + (gdb::to_string): New function. + +2020-06-27 Simon Marchi + + * tdesc.h (class print_xml_feature) : Add + ATTRIBUTE_PRINTF. + +2020-06-23 Andrew Burgess + + * tdesc.cc (print_xml_feature::visit_pre): Use add_line to add + output content, and call indent as needed in all overloaded + variants. + (print_xml_feature::visit_post): Likewise. + (print_xml_feature::visit): Likewise. + (print_xml_feature::add_line): Two new overloaded functions. + * tdesc.h (print_xml_feature::indent): New member function. + (print_xml_feature::add_line): Two new overloaded member + functions. + (print_xml_feature::m_depth): New member variable. + +2020-06-23 Andrew Burgess + + * tdesc.cc (print_xml_feature::visit_pre): Print compatible + information. + * tdesc.h (struct tdesc_compatible_info): Declare new struct. + (tdesc_compatible_info_up): New typedef. + (tdesc_compatible_info_list): Declare new function. + (tdesc_compatible_info_arch_name): Declare new function. + +2020-05-25 Michael Weghorn + + * common-utils.cc, common-utils.h (stringify_argv): Drop + now unused function stringify_argv + +2020-05-25 Michael Weghorn + + * common-inferior.cc, common-inferior.h (construct_inferior_arguments): + Adapt to take a gdb::array_view parameter. + Adapt call site. + +2020-05-25 Michael Weghorn + + * common-inferior.cc, common-inferior.h (construct_inferior_arguments): + Adapt to handle zero args and return a std::string. + Adapt call site. + +2020-05-25 Michael Weghorn + + * common-inferior.h, common-inferior.cc: (construct_inferior_arguments): + Move function here from gdb/infcmd.c, gdb/inferior.h + +2020-05-14 Kevin Buettner + + * btrace-common.h (btrace_cpu_vendor): Add CV_AMD. + +2020-05-14 Tankut Baris Aktemur + + * common-regcache.h (regcache_read_pc_protected): New function + declaration. + +2020-04-28 Tankut Baris Aktemur + + * gdb-sigmask.h: Fix typo (pthead_sigmask -> pthread_sigmask). + +2020-04-27 Simon Marchi + + * common-defs.h: Include cstdlib.h. + +2020-04-20 Tom Tromey + + * scoped_mmap.h (scoped_mmap): Mark move constructor as noexcept. + Use initialization style. Don't call destroy. + * scoped_fd.h (class scoped_fd): Mark move constructor as + noexcept. + * gdb_ref_ptr.h (class ref_ptr): Mark move constructor as + noexcept. + +2020-04-13 Tom Tromey + + * event-loop.c: Move comment. Remove obsolete comment. + +2020-04-13 Tom Tromey + + * event-loop.h: Move from ../gdb/. + * event-loop.cc: Move from ../gdb/. + +2020-04-13 Tom Tromey + + * errors.h (flush_streams): Declare. + +2020-04-13 Tom Tromey + + * gdb_select.h: Move from ../gdb/. + +2020-04-13 Tom Tromey + + * config.in, configure: Rebuild. + * common.m4 (GDB_AC_COMMON): Check for poll.h, sys/poll.h, + sys/select.h, and poll. + +2020-03-31 Tom Tromey + + * btrace-common.cc (btrace_data_append): Conditionally call + memcpy. + +2020-03-27 Andrew Burgess + + * create-version.sh: Resolve issues highlighted by shellcheck. + +2020-03-20 Simon Marchi + + * config.in: Re-generate. + * configure: Re-generate. + +2020-03-17 Kamil Rytarowski + + * common-defs.h: Include alloca.h if HAVE_ALLOCA_H is defined. + +2020-03-12 Tom Tromey + + * common-types.h: Remove GDBSERVER code. + (gdb_byte, CORE_ADDR, LONGEST, ULONGEST): Redefine. + * common-defs.h: Remove GDBSERVER code. + +2020-03-12 Simon Marchi + + * selftest.m4: Moved from gdb/. + * acinclude.m4: Update path to selftest.m4. + +2020-03-12 Simon Marchi + + * configure.ac: Don't source bfd/development.sh. + * common.m4: Source bfd/development.sh. + * configure: Re-generate. + +2020-03-12 Simon Marchi + + * configure: Re-generate. + +2020-03-11 Simon Marchi + + * configure: Re-generate. + * warning.m4: Enable -Wmissing-prototypes. + +2020-03-08 Tom Tromey + + * gdb_binary_search.h: Fix two typos. + +2020-03-06 Andrew Burgess + + * .dir-locals.el: New file. + +2020-03-05 Vyacheslav Petrishchev + + * configure.ac: Added call development.sh. + * configure: Regenerate. + +2020-03-05 Tankut Baris Aktemur + + * .gitattributes: New file. + +2020-03-03 Simon Marchi + + * Makefile.in: Re-generate. + +2020-02-28 Sergio Durigan Junior + + * gdb-dlfcn.h (gdb_dlopen): Update comment. + +2020-02-19 Andrew Burgess + + * configure: Regenerate. + +2020-02-14 Tom Tromey + + * common-defs.h: Change path to gnulib/config.h. + +2020-02-13 Simon Marchi + + * Makefile.am: Rename source files from .c to .cc. + (CC, CFLAGS): Don't override. + (AM_CFLAGS): Rename to ... + (AM_CXXFLAGS): ... this. + * Makefile.in: Re-generate. + * %.c: Rename to %.cc. + +2020-02-11 Simon Marchi + + * configure: Re-generate. + +2020-02-11 Simon Marchi + + * warning.m4: Add -Wstrict-null-sentinel. + * configure: Re-generate. + +2020-02-11 Simon Marchi + + * warning.m4: Move here, from gdb/warning.m4. + * acinclude.m4: Update warning.m4 path. + * Makefile.in: Re-generate. + +2020-02-11 Simon Marchi + + * acinclude.m4: Include ../gdb/warning.m4. + * configure.ac: Use AM_GDB_WARNINGS. + * Makefile.am: Set AM_CFLAGS to WARN_CFLAGS and WERROR_CFLAGS. + * Makefile.in: Re-generate. + * configure: Re-generate. + +2020-02-10 Tom de Vries + + * environ.c (gdb_environ::set): Cast concat NULL sentinel to char *. + +2020-01-24 Christian Biesinger + + * thread-pool.c (set_thread_name): Add an overload for the NetBSD + version of pthread_setname_np. + +2020-01-17 Pedro Alves + + * Makefile.am: Append CXX_DIALECT to CXX. + * Makefile.in: Regenerate. + +2020-01-17 Pedro Alves + + * configure.ac: Generate config.h instead of support-config.h. + * common-defs.h: Include instead of + . + * Makefile.in: Regenerate. + * configure: Regenerate. + +2020-01-14 Tom Tromey + + * Makefile.in: Rebuild. + * Makefile.am (check-defines): New target. + * check-defines.el: New file. + +2020-01-14 Tom Tromey + + * configure, Makefile.in, aclocal.m4, common.m4, config.in: + Rebuild. + * common.m4 (GDB_AC_COMMON): Move many checks from + gdb/configure.ac. + * acinclude.m4: Include bfd.m4, ptrace.m4. + +2020-01-14 Tom Tromey + + * common-defs.h: Add GDBSERVER case. Update includes. + * acinclude.m4, aclocal.m4, config.in, configure, configure.ac, + Makefile.am, Makefile.in, README: New files. + * Moved from ../gdb/gdbsupport/