mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-03-01 13:26:47 +08:00
Create .gitattributes files in gdb/, gdbserver/, and gdbsupport/. The files specify cpp-style diffs for .h and .c files. This is particularly helpful if a class in a header file is modified. For instance, if the `stop_requested` field of `thread_info` in gdb/gdbthread.h is modified, we get the following diff with 'git diff' (using git version 2.17.1): @@ -379,7 +379,7 @@ public: struct target_waitstatus pending_follow; /* True if this thread has been explicitly requested to stop. */ - int stop_requested = 0; + bool stop_requested = 0; /* The initiating frame of a nexting operation, used for deciding which exceptions to intercept. If it is null_frame_id no Note that the context of the change shows up as 'public:'; not so useful. With the .gitattributes file, we get: @@ -379,7 +379,7 @@ class thread_info : public refcounted_object struct target_waitstatus pending_follow; /* True if this thread has been explicitly requested to stop. */ - int stop_requested = 0; + bool stop_requested = 0; /* The initiating frame of a nexting operation, used for deciding which exceptions to intercept. If it is null_frame_id no The context is successfully shown as 'class thread_info'. This patch creates a .gitattributes file per each of gdb, gdbserver, and gdbsupport folders. An alternative would be to define the attributes in the root folder -- this would impact all the top-level folders, though. I opted for the more conservative approach. gdb/ChangeLog: 2020-03-05 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> * .gitattributes: New file. gdbserver/ChangeLog: 2020-03-05 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> * .gitattributes: New file. gdbsupport/ChangeLog: 2020-03-05 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> * .gitattributes: New file.
96 lines
2.6 KiB
Plaintext
96 lines
2.6 KiB
Plaintext
2020-03-05 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
|
|
|
|
* .gitattributes: New file.
|
|
|
|
2020-03-03 Simon Marchi <simon.marchi@efficios.com>
|
|
|
|
* Makefile.in: Re-generate.
|
|
|
|
2020-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
|
|
|
|
* gdb-dlfcn.h (gdb_dlopen): Update comment.
|
|
|
|
2020-02-19 Andrew Burgess <andrew.burgess@embecosm.com>
|
|
|
|
* configure: Regenerate.
|
|
|
|
2020-02-14 Tom Tromey <tom@tromey.com>
|
|
|
|
* common-defs.h: Change path to gnulib/config.h.
|
|
|
|
2020-02-13 Simon Marchi <simon.marchi@efficios.com>
|
|
|
|
* 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 <simon.marchi@efficios.com>
|
|
|
|
* configure: Re-generate.
|
|
|
|
2020-02-11 Simon Marchi <simon.marchi@efficios.com>
|
|
|
|
* warning.m4: Add -Wstrict-null-sentinel.
|
|
* configure: Re-generate.
|
|
|
|
2020-02-11 Simon Marchi <simon.marchi@efficios.com>
|
|
|
|
* warning.m4: Move here, from gdb/warning.m4.
|
|
* acinclude.m4: Update warning.m4 path.
|
|
* Makefile.in: Re-generate.
|
|
|
|
2020-02-11 Simon Marchi <simon.marchi@efficios.com>
|
|
|
|
* 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 <tdevries@suse.de>
|
|
|
|
* environ.c (gdb_environ::set): Cast concat NULL sentinel to char *.
|
|
|
|
2020-01-24 Christian Biesinger <cbiesinger@google.com>
|
|
|
|
* thread-pool.c (set_thread_name): Add an overload for the NetBSD
|
|
version of pthread_setname_np.
|
|
|
|
2020-01-17 Pedro Alves <palves@redhat.com>
|
|
|
|
* Makefile.am: Append CXX_DIALECT to CXX.
|
|
* Makefile.in: Regenerate.
|
|
|
|
2020-01-17 Pedro Alves <palves@redhat.com>
|
|
|
|
* configure.ac: Generate config.h instead of support-config.h.
|
|
* common-defs.h: Include <gdbsupport/config.h> instead of
|
|
<gdbsupport/support-config.h>.
|
|
* Makefile.in: Regenerate.
|
|
* configure: Regenerate.
|
|
|
|
2020-01-14 Tom Tromey <tom@tromey.com>
|
|
|
|
* Makefile.in: Rebuild.
|
|
* Makefile.am (check-defines): New target.
|
|
* check-defines.el: New file.
|
|
|
|
2020-01-14 Tom Tromey <tom@tromey.com>
|
|
|
|
* 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 <tom@tromey.com>
|
|
|
|
* 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/
|
|
|