Compare commits

...

144 Commits

Author SHA1 Message Date
Joel Brobecker
ef6ec3333e Set GDB version number to 11.2.
gdb/ChangeLog:

	* version.in: Set GDB version number to 11.2.
2022-01-16 15:02:34 +04:00
Joel Brobecker
afe4096699 Manual copyright year update of various GDB files
This commit updates the copyright year of various files which
gdb/copyright.py is not able to handle automatically.

gdb/ChangeLog:

        * gdbarch.sh: Update end year of copyright year range for
        copyright header of generated files.

gdb/doc/ChangeLog:

        * gdb.texinfo: Change end year of the manual's copyright notice
        to 2022.
        * refcard.tex: Ditto.
2022-01-16 14:47:00 +04:00
Joel Brobecker
88b9d36337 Automatic Copyright Year update after running gdb/copyright.py
This commit brings all the changes made by running gdb/copyright.py
as per GDB's Start of New Year Procedure.

For the avoidance of doubt, all changes in this commits were
performed by the script.
2022-01-16 14:38:12 +04:00
Joel Brobecker
f2126454e7 gdb/copyright.py: Do not update gdbsupport/Makefile.in
This file is generated, so we should not modify it (any modification
we make is going to be undone at the next re-generation anyway).

gdb/ChangeLog:

	* copyright.py (EXCLUDE_LIST): Add "gdbsupport/Makefile.in".

(cherry picked from commit a3f3402131)
2022-01-16 14:34:15 +04:00
Joel Brobecker
b5c91ebd98 Update copyright year in version output for gdb, gdbserver and gdbreplay
This commit changes the end year of the copyright year range
printed by gdb, gdbserver and gdbreplay to be 2022. This reflects
the fact that some changes were made on this branch this year.

gdb/ChangeLog:

        * top.c: Update year range in copyright notice.
        (print_gdb_version): Update copyright year to 2022.

gdbserver/ChangeLog:

       * gdbreplay.cc: Update year range in copyright notice.
       (gdbreplay_version): Update copyright year to 2022.
       * server.cc: Update year range in copyright notice.
       (gdbserver_version): Update copyright year to 2022.
2022-01-16 14:29:26 +04:00
GDB Administrator
2198a5eca5 Automatic date update in version.in 2022-01-16 00:00:32 +00:00
GDB Administrator
6afe5a4bf5 Automatic date update in version.in 2022-01-15 00:00:26 +00:00
GDB Administrator
6ff73cab9e Automatic date update in version.in 2022-01-14 00:00:53 +00:00
GDB Administrator
707055a26d Automatic date update in version.in 2022-01-13 00:00:31 +00:00
Mike Frysinger
685c3b6b8f sim: add ChangeLog for SIGSTKSZ update 2022-01-12 06:58:31 -05:00
Mike Frysinger
17d6f2152b sim: filter out SIGSTKSZ [PR sim/28302]
We map target signals to host signals so we can propagate signals
between the host & simulated worlds.  That means we need to know
the symbolic names & values of all signals that might be sent.

The tools that generate that list use signal.h and include all
symbols that start with "SIG" so as to automatically include any
new symbols that the C library might add.  Unfortunately, this
also picks up "SIGSTKSZ" which is not actually a signal itself,
but a signal related setting -- it's the size of the stack when
a signal is handled.

By itself this doesn't super matter as we will never see a signal
with that same value (since the range of valid signals tend to be
way less than 1024, and the size of the default signal stack will
never be that small).  But with recent glibc changes that make this
into a dynamic value instead of a compile-time constant, some users
see build failures when building the sim.

As suggested by Adam Sampson, update our scripts to ignore this
symbol to simplify everything and avoid the build failure.

Bug: https://sourceware.org/PR28302
2022-01-12 06:02:08 -05:00
GDB Administrator
2e894896ae Automatic date update in version.in 2022-01-12 00:00:37 +00:00
GDB Administrator
7a52f4e7ba Automatic date update in version.in 2022-01-11 00:00:49 +00:00
Fangrui Song
fb0b83d80d bfd_section_from_shdr: Support SHT_RELR sections
If a.so contains an SHT_RELR section, objcopy a.so will fail with:

    a.so: unknown type [0x13] section `.relr.dyn'

This change allows objcopy to work.

bfd/
    * elf.c (bfd_section_from_shdr): Support SHT_RELR.

(cherry picked from commit a619b58721)
2022-01-10 05:05:22 -08:00
Fangrui Song
67609c9c70 readelf: Support SHT_RELR/DT_RELR for -r
The -r output for SHT_RELR looks like:

Relocation section '.relr.dyn' at offset 0x530 contains 4 entries:
  7 offsets
00000000000028c0
00000000000028c8
0000000000003ad0
0000000000003ad8
0000000000003ae0
0000000000003ae8
0000000000003af0

For --use-dynamic, the header looks like

    'RELR' relocation section at offset 0x530 contains 32 bytes:

include/
    * elf/common.h (DT_ENCODING): Bump to 38.
    * elf/external.h (Elf32_External_Relr): New.
    (Elf64_External_Relr): New.

(cherry picked from commit a7fd118627)
2022-01-10 05:05:22 -08:00
Fangrui Song
1b244ed9d3 readelf: Support RELR in -S and -d and output
readelf -r dumping support is not added in this patch.

include/
	* elf/common.h: Add SHT_RELR, DT_RELR{,SZ,ENT}
bfd/
	* elf.c (_bfd_elf_print_private_bfd_data): Add DT_RELR{,SZ,ENT}.

(cherry picked from commit dd207c1302)
2022-01-10 05:05:22 -08:00
GDB Administrator
6473a19828 Automatic date update in version.in 2022-01-10 00:00:40 +00:00
GDB Administrator
c3ed5e03da Automatic date update in version.in 2022-01-09 00:00:36 +00:00
GDB Administrator
a1620b8ad4 Automatic date update in version.in 2022-01-08 00:00:27 +00:00
GDB Administrator
3a9183ba79 Automatic date update in version.in 2022-01-07 00:00:33 +00:00
GDB Administrator
99e28ccf1c Automatic date update in version.in 2022-01-06 00:00:26 +00:00
GDB Administrator
e62a5735c6 Automatic date update in version.in 2022-01-05 00:00:39 +00:00
GDB Administrator
131890b09d Automatic date update in version.in 2022-01-04 00:00:33 +00:00
GDB Administrator
7932ed1d8a Automatic date update in version.in 2022-01-03 00:00:47 +00:00
GDB Administrator
0611afc4a5 Automatic date update in version.in 2022-01-02 00:00:36 +00:00
GDB Administrator
ca396c1289 Automatic date update in version.in 2022-01-01 00:00:33 +00:00
GDB Administrator
9a1012563c Automatic date update in version.in 2021-12-31 00:00:34 +00:00
GDB Administrator
ab31db4296 Automatic date update in version.in 2021-12-30 00:00:29 +00:00
GDB Administrator
4e3308b4ef Automatic date update in version.in 2021-12-29 00:00:36 +00:00
GDB Administrator
a661fc7968 Automatic date update in version.in 2021-12-28 00:00:23 +00:00
GDB Administrator
6567268b01 Automatic date update in version.in 2021-12-27 00:00:23 +00:00
GDB Administrator
a03fbc6504 Automatic date update in version.in 2021-12-26 00:00:27 +00:00
GDB Administrator
caa9934704 Automatic date update in version.in 2021-12-25 00:00:25 +00:00
GDB Administrator
345b218476 Automatic date update in version.in 2021-12-24 00:00:26 +00:00
Andrew Burgess
6eccc2c811 gdb/remote: handle attach when stop packet lacks thread-id
Bug PR gdb/28405 reports a regression when using attach with an
extended-remote target.  In this case the target is not including a
thread-id in the stop packet it sends back after the attach.

The regression was introduced with this commit:

  commit 8f66807b98
  Date:   Wed Jan 13 20:26:58 2021 -0500

      gdb: better handling of 'S' packets

The problem is that when GDB processes the stop packet, it sees that
there is no thread-id and so has to "guess" which thread the stop
should apply to.

In this case the target only has one thread, so really, there's no
guessing needed, but GDB still runs through the same process, this
shouldn't cause us any problems.

However, after the above commit, GDB now expects itself to be more
internally consistent, specifically, only a thread that GDB thinks is
resumed, can be a candidate for having stopped.

It turns out that, when GDB attaches to a process through an
extended-remote target, the threads of the process being attached too,
are not, initially, marked as resumed.

And so, when GDB tries to figure out which thread the stop might apply
too, it finds no threads in the processes marked resumed, and so an
assert triggers.

In extended_remote_target::attach we create a new thread with a call
to add_thread_silent, rather than remote_target::remote_add_thread,
the reason is that calling the latter will result in a call to
'add_thread' rather than 'add_thread_silent'.  However,
remote_target::remote_add_thread includes additional
actions (i.e. calling remote_thread_info::set_resumed and set_running)
which are missing from extended_remote_target::attach.  These missing
calls are what would serve to mark the new thread as resumed.

In this commit I propose that we add an extra parameter to
remote_target::remote_add_thread.  This new parameter will force the
new thread to be added with a call to add_thread_silent.  We can now
call remote_add_thread from the ::attach method, the extra
actions (listed above) will now be performed, and the thread will be
left in the correct state.

Additionally, in PR gdb/28405, a segfault is reported.  This segfault
triggers when 'set debug remote 1' is used before trying to reproduce
the original assertion failure.  The cause of this is in
remote_target::select_thread_for_ambiguous_stop_reply, where we do
this:

  remote_debug_printf ("first resumed thread is %s",
		       pid_to_str (first_resumed_thread->ptid).c_str ());
  remote_debug_printf ("is this guess ambiguous? = %d", ambiguous);

  gdb_assert (first_resumed_thread != nullptr);

Notice that when debug printing is on we dereference
first_resumed_thread before we assert that the pointer is not
nullptr.  This is the cause of the segfault, and is resolved by moving
the assert before the debug printing code.

I've extended an existing test, ext-attach.exp, so that the original
test is run multiple times; we run in the original mode, as normal,
but also, we now run with different packets disabled in gdbserver.  In
particular, disabling Tthread would trigger the assertion as it was
reported in the original bug.  I also run the test in all-stop and
non-stop modes now for extra coverage, we also run the tests with
target-async enabled, and disabled.

Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=28405

This is a cherry pick of commit b622494ee3 with a minor edit
in gdb.server/ext-attach.exp to disable some tests that fail due to
unrelated bugs.  Those unrelated bugs have been fixed in the master
branch.

gdb/ChangeLog:

	PR gdb/28405
	* remote.c (remote_target::remote_add_thread): Add new silent_p
	argument, use as needed.
	(remote_target::remote_notice_new_inferior): Pass additional
	argument to remote_add_thread.
	(remote_target::remote_notice_new_inferior): Likewise.
	(extended_remote_target::attach): Call remote_add_thread instead
	of add_thred_silent directly.
	(remote_target::select_thread_for_ambiguous_stop_reply): Move
	assert earlier, before we use the thing we're asserting is not
	nullptr.

gdb/testsuite/ChangeLog:

	PR gdb/28405
	* gdb.server/ext-attach.exp (run_test): New proc containing all of
	the old code for running the core of the test.  This proc is then
	called multiple times from the global scope.
2021-12-23 12:31:17 +00:00
GDB Administrator
f76f728ffd Automatic date update in version.in 2021-12-23 00:00:37 +00:00
GDB Administrator
a370d72ecf Automatic date update in version.in 2021-12-22 00:00:26 +00:00
GDB Administrator
929b774352 Automatic date update in version.in 2021-12-21 00:00:35 +00:00
GDB Administrator
5605cc18dd Automatic date update in version.in 2021-12-20 00:00:24 +00:00
GDB Administrator
d98eeb47ea Automatic date update in version.in 2021-12-19 00:00:39 +00:00
GDB Administrator
810d072bd7 Automatic date update in version.in 2021-12-18 00:00:24 +00:00
GDB Administrator
e3d95ca82e Automatic date update in version.in 2021-12-17 00:00:34 +00:00
GDB Administrator
e6e466cedd Automatic date update in version.in 2021-12-16 00:00:24 +00:00
GDB Administrator
ea170f6ffe Automatic date update in version.in 2021-12-15 00:00:39 +00:00
GDB Administrator
45be8a2b16 Automatic date update in version.in 2021-12-14 00:00:23 +00:00
GDB Administrator
273fac204d Automatic date update in version.in 2021-12-13 00:00:23 +00:00
GDB Administrator
ab55bbac1f Automatic date update in version.in 2021-12-12 00:00:18 +00:00
Bruno Larsen
b6fc91c70a PR gdb/28480: Improve ambiguous member detection
Basic ambiguity detection assumes that when 2 fields with the same name
have the same byte offset, it must be an unambiguous request. This is not
always correct. Consider the following code:

class empty { };

class A {
public:
  [[no_unique_address]] empty e;
};

class B {
public:
  int e;
};

class C: public A, public B { };

if we tried to use c.e in code, the compiler would warn of an ambiguity,
however, since A::e does not demand an unique address, it gets the same
address (and thus byte offset) of the members, making A::e and B::e have the
same address. however, "print c.e" would fail to report the ambiguity,
and would instead print it as an empty class (first path found).

The new code solves this by checking for other found_fields that have
different m_struct_path.back() (final class that the member was found
in), despite having the same byte offset.

The testcase gdb.cp/ambiguous.exp was also changed to test for this
behavior.

gdb/ChangeLog:

        PR gdb/28480
        * valops.c (struct_field_searcher::update_result): Improve
        ambiguous member detection.

gdb/testsuite/ChangeLog:

        PR gdb/28480

        Pushed by Joel Brobecker  <brobecker@adacore.com>
        * gdb.cp/ambiguous.cc: Add code to permit ambiguous member testing.
        * gdb.cp/ambiguous.exp: Add ambiguous member test.

(cherry picked from commit a41ad3474c)
2021-12-11 11:47:53 +04:00
GDB Administrator
773d894825 Automatic date update in version.in 2021-12-11 00:00:18 +00:00
GDB Administrator
2d77b379a9 Automatic date update in version.in 2021-12-10 00:00:33 +00:00
GDB Administrator
2d5dce68ed Automatic date update in version.in 2021-12-09 00:00:34 +00:00
GDB Administrator
d317660e0f Automatic date update in version.in 2021-12-08 00:00:27 +00:00
GDB Administrator
f032db248f Automatic date update in version.in 2021-12-07 00:00:22 +00:00
GDB Administrator
50cf27bed5 Automatic date update in version.in 2021-12-06 00:00:25 +00:00
GDB Administrator
f6447d9f92 Automatic date update in version.in 2021-12-05 00:00:31 +00:00
GDB Administrator
fc73c76917 Automatic date update in version.in 2021-12-04 00:00:26 +00:00
GDB Administrator
59830e9697 Automatic date update in version.in 2021-12-03 00:00:25 +00:00
GDB Administrator
63d2050f29 Automatic date update in version.in 2021-12-02 00:00:27 +00:00
GDB Administrator
c652828a45 Automatic date update in version.in 2021-12-01 00:00:24 +00:00
GDB Administrator
70dbf597ad Automatic date update in version.in 2021-11-30 00:00:35 +00:00
Tom Tromey
29b161c9be Allow DW_ATE_UTF for Rust characters
The Rust compiler plans to change the encoding of a Rust 'char' type
to use DW_ATE_UTF.  You can see the discussion here:

    https://github.com/rust-lang/rust/pull/89887

However, this fails in gdb.  I looked into this, and it turns out that
the handling of DW_ATE_UTF is currently fairly specific to C++.  In
particular, the code here assumes the C++ type names, and it creates
an integer type.

This comes from commit 53e710acd ("GDB thinks char16_t and char32_t
are signed in C++").  The message says:

    Both places need fixing.  But since I couldn't tell why dwarf2read.c
    needs to create a new type, I've made it use the per-arch built-in
    types instead, so that the types are only created once per arch
    instead of once per objfile.  That seems to work fine.

... which is fine, but it seems to me that it's also correct to make a
new character type; and this approach is better because it preserves
the type name as well.  This does use more memory, but first we
shouldn't be too concerned about the memory use of types coming from
debuginfo; and second, if we are, we should implement type interning
anyway.

Changing this code to use a character type revealed a couple of
oddities in the C/C++ handling of TYPE_CODE_CHAR.  This patch fixes
these as well.

I filed PR rust/28637 for this issue, so that this patch can be
backported to the gdb 11 branch.

(cherry picked from commit 1c0e43634c)
2021-11-29 13:26:44 -07:00
GDB Administrator
a15b33284f Automatic date update in version.in 2021-11-29 00:00:19 +00:00
GDB Administrator
9c23016e64 Automatic date update in version.in 2021-11-28 00:00:25 +00:00
GDB Administrator
f7f95dcace Automatic date update in version.in 2021-11-27 00:00:25 +00:00
GDB Administrator
06c0d1d26c Automatic date update in version.in 2021-11-26 00:00:36 +00:00
GDB Administrator
3dbaf8b8d6 Automatic date update in version.in 2021-11-25 00:00:28 +00:00
GDB Administrator
5fcc74d627 Automatic date update in version.in 2021-11-24 00:00:20 +00:00
GDB Administrator
11d793d493 Automatic date update in version.in 2021-11-23 00:00:32 +00:00
GDB Administrator
a3d56dd2ce Automatic date update in version.in 2021-11-22 00:00:28 +00:00
GDB Administrator
fa99595e20 Automatic date update in version.in 2021-11-21 00:00:24 +00:00
GDB Administrator
8bf74da8b5 Automatic date update in version.in 2021-11-20 00:00:23 +00:00
GDB Administrator
844167be7e Automatic date update in version.in 2021-11-19 00:00:21 +00:00
GDB Administrator
cd7cd26244 Automatic date update in version.in 2021-11-18 00:00:28 +00:00
GDB Administrator
999d24edf9 Automatic date update in version.in 2021-11-17 00:00:22 +00:00
GDB Administrator
505b342993 Automatic date update in version.in 2021-11-16 00:00:20 +00:00
GDB Administrator
13ba01c9c0 Automatic date update in version.in 2021-11-15 00:00:40 +00:00
GDB Administrator
e16aac146c Automatic date update in version.in 2021-11-14 00:00:26 +00:00
GDB Administrator
84c7311167 Automatic date update in version.in 2021-11-13 00:00:49 +00:00
GDB Administrator
c340a77598 Automatic date update in version.in 2021-11-12 00:00:57 +00:00
GDB Administrator
08487122c9 Automatic date update in version.in 2021-11-11 00:00:49 +00:00
GDB Administrator
30e9dd04ca Automatic date update in version.in 2021-11-10 00:00:40 +00:00
Tom Tromey
df9ebc472a Fix build on rhES5
The rhES5 build failed due to an upstream import a while back.  The
bug here is that, while the 'personality' function exists,
ADDR_NO_RANDOMIZE is only defined in <linux/personality.h>, not
<sys/personality.h>.

However, <linux/personality.h> does not declare the 'personality'
function, and <sys/personality.h> and <linux/personality.h> cannot
both be included.

This patch restores one of the removed configure checks and updates
the code to check it.

We had this as a local patch at AdaCore, because it seemed like there
was no interest upstream.  However, now it turns out that this fixes
PR build/28555, so I'm sending it now.
2021-11-09 14:21:39 -07:00
GDB Administrator
73bcd9e0d6 Automatic date update in version.in 2021-11-09 00:00:40 +00:00
GDB Administrator
c43a199306 Automatic date update in version.in 2021-11-08 00:00:33 +00:00
GDB Administrator
3de9076f4a Automatic date update in version.in 2021-11-07 00:00:23 +00:00
GDB Administrator
4a19a411c7 Automatic date update in version.in 2021-11-06 00:00:37 +00:00
GDB Administrator
733f5ecd42 Automatic date update in version.in 2021-11-05 00:00:45 +00:00
GDB Administrator
34e1abb0e8 Automatic date update in version.in 2021-11-04 00:00:30 +00:00
Luis Machado
eb79b23180 [AArch64] Make gdbserver register set selection dynamic
The current register set selection mechanism for AArch64 is static, based
on a pre-populated array of register sets.

This means that we might potentially probe register sets that are not
available. This is OK if the kernel errors out during ptrace, but probing the
tag_ctl register, for example, does not result in a ptrace error if the kernel
supports the tagged address ABI but not MTE (PR 28355).

Making the register set selection dynamic, based on feature checks, solves
this and simplifies the code a bit. It allows us to list all of the register
sets only once, and pick and choose based on HWCAP/HWCAP2 or other properties.

gdb/ChangeLog:

2021-11-03  Luis Machado  <luis.machado@linaro.org>

	PR gdb/28355

	* arch/aarch64.h (struct aarch64_features): New struct.

gdbserver/ChangeLog:

2021-11-03  Luis Machado  <luis.machado@linaro.org>

	PR gdb/28355

	* linux-aarch64-low.cc (is_sve_tdesc): Remove.
	(aarch64_target::low_arch_setup): Rework to adjust the register sets.
	(aarch64_regsets): Update to list all register sets.
	(aarch64_regsets_info, regs_info_aarch64): Replace NULL with nullptr.
	(aarch64_sve_regsets, aarch64_sve_regsets_info)
	(regs_info_aarch64_sve): Remove.
	(aarch64_adjust_register_sets): New.
	(aarch64_target::get_regs_info): Remove references to removed structs.
	(initialize_low_arch): Likewise.
2021-11-03 10:02:31 -03:00
GDB Administrator
a941d3fdb1 Automatic date update in version.in 2021-11-03 00:00:31 +00:00
GDB Administrator
5ada555838 Automatic date update in version.in 2021-11-02 00:00:34 +00:00
GDB Administrator
a0e862d7f7 Automatic date update in version.in 2021-11-01 00:00:30 +00:00
GDB Administrator
67287a7c43 Automatic date update in version.in 2021-10-31 00:00:35 +00:00
GDB Administrator
02eb14bd47 Automatic date update in version.in 2021-10-30 00:00:54 +00:00
GDB Administrator
26fa2cb834 Automatic date update in version.in 2021-10-29 00:00:43 +00:00
GDB Administrator
cf99bfd1ca Automatic date update in version.in 2021-10-28 00:00:40 +00:00
GDB Administrator
2fd704fd2a Automatic date update in version.in 2021-10-27 00:00:32 +00:00
GDB Administrator
db9f6e8a99 Automatic date update in version.in 2021-10-26 00:00:42 +00:00
GDB Administrator
3da237413c Automatic date update in version.in 2021-10-25 00:00:42 +00:00
GDB Administrator
987c028c2e Automatic date update in version.in 2021-10-24 00:00:29 +00:00
GDB Administrator
6084d652a5 Automatic date update in version.in 2021-10-23 00:00:28 +00:00
GDB Administrator
2e68dcbe8f Automatic date update in version.in 2021-10-22 00:00:32 +00:00
Tom de Vries
cfd85eb3ef [gdb/tui] Fix breakpoint display functionality
In commit 81e6b8eb20 "Make tui-winsource not use breakpoint_chain", a loop
body was transformed into a lambda function body:
...
-      for (bp = breakpoint_chain;
-           bp != NULL;
-           bp = bp->next)
+      iterate_over_breakpoints ([&] (breakpoint *bp) -> bool
...
and consequently:
- a continue was replaced by a return, and
- a final return was added.

Then in commit 240edef62f "gdb: remove iterate_over_breakpoints function", we
transformed back to a loop body:
...
-      iterate_over_breakpoints ([&] (breakpoint *bp) -> bool
+      for (breakpoint *bp : all_breakpoints ())
...
but without reverting the changes that introduced the two returns.

Consequently, breakpoints no longer show up in the tui source window.

Fix this by reverting the changes that introduced the two returns.

Build on x86_64-linux, tested with all .exp test-cases that contain
tuiterm_env.

Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=28483

gdb/ChangeLog:

2021-10-22  Tom de Vries  <tdevries@suse.de>

	PR tui/28483
	* tui/tui-winsource.c (tui_source_window_base::update_breakpoint_info):
	Fix returns in loop body.

gdb/testsuite/ChangeLog:

2021-10-22  Tom de Vries  <tdevries@suse.de>

	PR tui/28483
	* gdb.tui/break.exp: New file.
2021-10-22 00:28:14 +02:00
GDB Administrator
255f124ebf Automatic date update in version.in 2021-10-21 00:00:34 +00:00
GDB Administrator
45ac9b3304 Automatic date update in version.in 2021-10-20 00:00:24 +00:00
GDB Administrator
5b76f7b82a Automatic date update in version.in 2021-10-19 00:00:40 +00:00
GDB Administrator
87e0dc2d33 Automatic date update in version.in 2021-10-18 00:00:26 +00:00
GDB Administrator
1c1dcae053 Automatic date update in version.in 2021-10-17 00:00:30 +00:00
GDB Administrator
81ec5585c4 Automatic date update in version.in 2021-10-16 00:00:26 +00:00
GDB Administrator
b7bbf079cb Automatic date update in version.in 2021-10-15 00:00:23 +00:00
GDB Administrator
02b2935bac Automatic date update in version.in 2021-10-14 00:00:26 +00:00
GDB Administrator
d94297b3f4 Automatic date update in version.in 2021-10-13 00:00:19 +00:00
GDB Administrator
71533ee68d Automatic date update in version.in 2021-10-12 00:00:27 +00:00
GDB Administrator
08b9a7669f Automatic date update in version.in 2021-10-11 00:00:30 +00:00
GDB Administrator
7ac26e5532 Automatic date update in version.in 2021-10-10 00:00:32 +00:00
GDB Administrator
088463f10f Automatic date update in version.in 2021-10-09 00:00:32 +00:00
GDB Administrator
77155dc2c1 Automatic date update in version.in 2021-10-08 00:00:25 +00:00
GDB Administrator
a7898ff640 Automatic date update in version.in 2021-10-07 00:00:20 +00:00
GDB Administrator
2fa5031035 Automatic date update in version.in 2021-10-06 00:00:25 +00:00
GDB Administrator
61c4e60495 Automatic date update in version.in 2021-10-05 00:00:20 +00:00
Tom de Vries
9b4d030ed5 [gdb/build] Add CXX_DIALECT to CXX
Say we use a gcc version that (while supporting c++11) does not support c++11
by default, and needs an -std setting to enable it.

If gdb would use the default AX_CXX_COMPILE_STDCXX from autoconf-archive, then
we'd have:
...
CXX="g++ -std=gnu++11"
...

That mechanism however has the following problem (quoting from commit
0bcda68539):
...
the top level Makefile passes CXX down to subdirs, and that overrides whatever
gdb/Makefile may set CXX to.  The result would be that a make invocation from
the build/gdb/ directory would use "g++ -std=gnu++11" as expected, while a
make invocation at the top level would not.
...

Commit 0bcda68539 fixes this by using a custom AX_CXX_COMPILE_STDCXX which
does:
...
CXX=g++
CXX_DIALECT=-std=gnu++11
...

The problem reported in PR28318 is that using the custom instead of the
default AX_CXX_COMPILE_STDCXX makes the configure test for std::thread
support fail.

We could simply add $CXX_DIALECT to the test for std::thread support, but
that would have to be repeated for each added c++ support test.

Instead, fix this by doing:
...
CXX="g++ -std=gnu++11"
CXX_DIALECT=-std=gnu++11
...

This is somewhat awkward, since it results in -std=gnu++11 occuring twice in
some situations:
...
$ touch src/gdb/dwarf2/read.c
$ ( cd build/gdb; make V=1 dwarf2/read.o )
g++-4.8 -std=gnu++11 -x c++ -std=gnu++11 ...
...

However, both settings are needed:
 - the switch in CXX for the std::thread tests (and other tests)
 - the switch in CXX_DIALECT so it can be appended in Makefiles, to
   counteract the fact that the top-level Makefile overrides CXX

The code added in gdb/ax_cxx_compile_stdcxx.m4 is copied from the default
AX_CXX_COMPILE_STDCXX from autoconf-archive.

Tested on x86_64-linux.

Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=28318

gdb/ChangeLog:

2021-10-04  Tom de Vries  <tdevries@suse.de>

	PR build/28318
	* ax_cxx_compile_stdcxx.m4: Add CXX_DIALECT to CXX.
	* configure: Regenerate.

gdbserver/ChangeLog:

2021-10-04  Tom de Vries  <tdevries@suse.de>

	PR build/28318
	* configure: Regenerate.

gdbsupport/ChangeLog:

2021-10-04  Tom de Vries  <tdevries@suse.de>

	PR build/28318
	* configure: Regenerate.
2021-10-04 18:56:42 +02:00
GDB Administrator
7061d67445 Automatic date update in version.in 2021-10-04 00:00:21 +00:00
GDB Administrator
2d78340547 Automatic date update in version.in 2021-10-03 00:00:26 +00:00
GDB Administrator
d3784526c2 Automatic date update in version.in 2021-10-02 00:00:24 +00:00
GDB Administrator
acb52ed980 Automatic date update in version.in 2021-10-01 00:00:26 +00:00
GDB Administrator
cce80da09d Automatic date update in version.in 2021-09-30 00:00:21 +00:00
GDB Administrator
30be4ac09a Automatic date update in version.in 2021-09-29 00:00:28 +00:00
GDB Administrator
b1efafb912 Automatic date update in version.in 2021-09-28 00:00:19 +00:00
GDB Administrator
96609cb359 Automatic date update in version.in 2021-09-27 00:00:21 +00:00
GDB Administrator
aa20be8d05 Automatic date update in version.in 2021-09-26 00:00:17 +00:00
GDB Administrator
fc0ff94085 Automatic date update in version.in 2021-09-25 00:00:34 +00:00
GDB Administrator
2cbc1315ac Automatic date update in version.in 2021-09-24 00:00:26 +00:00
GDB Administrator
957b1d8f2f Automatic date update in version.in 2021-09-23 00:00:20 +00:00
GDB Administrator
28e12bc76d Automatic date update in version.in 2021-09-22 00:00:21 +00:00
GDB Administrator
c5de623fa3 Automatic date update in version.in 2021-09-21 00:00:28 +00:00
GDB Administrator
a4ec45d1bf Automatic date update in version.in 2021-09-20 00:00:29 +00:00
GDB Administrator
b588e7944b Automatic date update in version.in 2021-09-19 00:00:32 +00:00
GDB Administrator
85bcf07db6 Automatic date update in version.in 2021-09-18 00:00:19 +00:00
GDB Administrator
3d3a078e98 Automatic date update in version.in 2021-09-17 00:00:20 +00:00
GDB Administrator
aeeddd7146 Automatic date update in version.in 2021-09-16 00:00:36 +00:00
GDB Administrator
be34cc2df4 Automatic date update in version.in 2021-09-15 00:00:20 +00:00
GDB Administrator
5bca320a3d Automatic date update in version.in 2021-09-14 00:00:31 +00:00
Joel Brobecker
824d17dbdb Bump GDB version number to 11.1.90.DATE-git.
gdb/ChangeLog:

	* version.in: Set GDB version number to 11.1.90.DATE-git.

gdb/testsuite/ChangeLog:

	* gdb.base/default.exp: Change $_gdb_minor to 2.
2021-09-12 18:54:34 -07:00
Joel Brobecker
8cdd8568bf Document the GDB 11.1 release in gdb/ChangeLog
gdb/ChangeLog:

	GDB 11.1 released.
2021-09-12 18:41:19 -07:00
6550 changed files with 7193 additions and 6723 deletions

View File

@@ -1773,6 +1773,9 @@ _bfd_elf_print_private_bfd_data (bfd *abfd, void *farg)
case DT_REL: name = "REL"; break;
case DT_RELSZ: name = "RELSZ"; break;
case DT_RELENT: name = "RELENT"; break;
case DT_RELR: name = "RELR"; break;
case DT_RELRSZ: name = "RELRSZ"; break;
case DT_RELRENT: name = "RELRENT"; break;
case DT_PLTREL: name = "PLTREL"; break;
case DT_DEBUG: name = "DEBUG"; break;
case DT_TEXTREL: name = "TEXTREL"; break;
@@ -2355,16 +2358,22 @@ bfd_section_from_shdr (bfd *abfd, unsigned int shindex)
case SHT_REL:
case SHT_RELA:
case SHT_RELR:
/* *These* do a lot of work -- but build no sections! */
{
asection *target_sect;
Elf_Internal_Shdr *hdr2, **p_hdr;
unsigned int num_sec = elf_numsections (abfd);
struct bfd_elf_section_data *esdt;
bfd_size_type size;
if (hdr->sh_entsize
!= (bfd_size_type) (hdr->sh_type == SHT_REL
? bed->s->sizeof_rel : bed->s->sizeof_rela))
if (hdr->sh_type == SHT_REL)
size = bed->s->sizeof_rel;
else if (hdr->sh_type == SHT_RELA)
size = bed->s->sizeof_rela;
else
size = bed->s->arch_size / 8;
if (hdr->sh_entsize != size)
goto fail;
/* Check for a bogus link to avoid crashing. */

View File

@@ -16,7 +16,7 @@
In releases, the date is not included in either version strings or
sonames. */
#define BFD_VERSION_DATE 20210913
#define BFD_VERSION_DATE 20220116
#define BFD_VERSION @bfd_version@
#define BFD_VERSION_STRING @bfd_version_package@ @bfd_version_string@
#define REPORT_BUGS_TO @report_bugs_to@

View File

@@ -1,5 +1,5 @@
;; Emacs settings.
;; Copyright (C) 2012-2021 Free Software Foundation, Inc.
;; Copyright (C) 2012-2022 Free Software Foundation, Inc.
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by

View File

@@ -1,3 +1,74 @@
2022-01-16 Joel Brobecker <brobecker@adacore.com>
* version.in: Set GDB version number to 11.2.
2022-01-16 Joel Brobecker <brobecker@adacore.com>
* gdbarch.sh: Update end year of copyright year range for
copyright header of generated files.
2022-01-16 Joel Brobecker <brobecker@adacore.com>
Update copyright year in header of all GDB files to 2022,
using the gdb/copyright.py script
2022-01-16 Joel Brobecker <brobecker@adacore.com>
* copyright.py (EXCLUDE_LIST): Add "gdbsupport/Makefile.in".
2022-01-16 Joel Brobecker <brobecker@adacore.com>
* top.c: Update year range in copyright notice.
(print_gdb_version): Update copyright year to 2022.
2021-12-23 Andrew Burgess <andrew.burgess@embecosm.com>
PR gdb/28405
* remote.c (remote_target::remote_add_thread): Add new silent_p
argument, use as needed.
(remote_target::remote_notice_new_inferior): Pass additional
argument to remote_add_thread.
(remote_target::remote_notice_new_inferior): Likewise.
(extended_remote_target::attach): Call remote_add_thread instead
of add_thred_silent directly.
(remote_target::select_thread_for_ambiguous_stop_reply): Move
assert earlier, before we use the thing we're asserting is not
nullptr.
2021-12-11 Bruno Larsen <blarsen@redhat.com>
PR gdb/28480
Pushed by Joel Brobecker <brobecker@adacore.com>
* valops.c (struct_field_searcher::update_result): Improve
ambiguous member detection.
2021-11-03 Luis Machado <luis.machado@linaro.org>
PR gdb/28355
* arch/aarch64.h (struct aarch64_features): New struct.
2021-10-22 Tom de Vries <tdevries@suse.de>
PR tui/28483
* tui/tui-winsource.c (tui_source_window_base::update_breakpoint_info):
Fix returns in loop body.
2021-10-04 Tom de Vries <tdevries@suse.de>
PR build/28318
* ax_cxx_compile_stdcxx.m4: Add CXX_DIALECT to CXX.
* configure: Regenerate.
2021-09-13 Joel Brobecker <brobecker@adacore.com>
* version.in: Set GDB version number to 11.1.90.DATE-git.
2021-09-13 Joel Brobecker <brobecker@adacore.com>
GDB 11.1 released.
2021-09-13 Joel Brobecker <brobecker@adacore.com>
* version.in: Set GDB version number to 11.1.

View File

@@ -1,4 +1,4 @@
# Copyright (C) 1989-2021 Free Software Foundation, Inc.
# Copyright (C) 1989-2022 Free Software Foundation, Inc.
# This file is part of GDB.

View File

@@ -1,4 +1,4 @@
/* Copyright (C) 1999-2021 Free Software Foundation, Inc.
/* Copyright (C) 1999-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,4 +1,4 @@
/* Copyright (C) 1999-2021 Free Software Foundation, Inc.
/* Copyright (C) 1999-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,4 +1,4 @@
/* Copyright (C) 2019-2021 Free Software Foundation, Inc.
/* Copyright (C) 2019-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,4 +1,4 @@
/* Copyright (C) 2019-2021 Free Software Foundation, Inc.
/* Copyright (C) 2019-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,6 +1,6 @@
/* Native-dependent code for FreeBSD/aarch64.
Copyright (C) 2017-2021 Free Software Foundation, Inc.
Copyright (C) 2017-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,6 +1,6 @@
/* Target-dependent code for FreeBSD/aarch64.
Copyright (C) 2017-2021 Free Software Foundation, Inc.
Copyright (C) 2017-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,6 +1,6 @@
/* FreeBSD/aarch64 target support, prototypes.
Copyright (C) 2017-2021 Free Software Foundation, Inc.
Copyright (C) 2017-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,6 +1,6 @@
/* Native-dependent code for GNU/Linux AArch64.
Copyright (C) 2011-2021 Free Software Foundation, Inc.
Copyright (C) 2011-2022 Free Software Foundation, Inc.
Contributed by ARM Ltd.
This file is part of GDB.

View File

@@ -1,6 +1,6 @@
/* Target-dependent code for GNU/Linux AArch64.
Copyright (C) 2009-2021 Free Software Foundation, Inc.
Copyright (C) 2009-2022 Free Software Foundation, Inc.
Contributed by ARM Ltd.
This file is part of GDB.

View File

@@ -1,6 +1,6 @@
/* GNU/Linux on AArch64 target support, prototypes.
Copyright (C) 2012-2021 Free Software Foundation, Inc.
Copyright (C) 2012-2022 Free Software Foundation, Inc.
Contributed by ARM Ltd.
This file is part of GDB.

View File

@@ -1,6 +1,6 @@
/* Target-dependent code for Newlib AArch64.
Copyright (C) 2011-2021 Free Software Foundation, Inc.
Copyright (C) 2011-2022 Free Software Foundation, Inc.
Contributed by ARM Ltd.
This file is part of GDB.

View File

@@ -1,6 +1,6 @@
/* Ravenscar Aarch64 target support.
Copyright (C) 2017-2021 Free Software Foundation, Inc.
Copyright (C) 2017-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,6 +1,6 @@
/* Ravenscar Aarch64 target support.
Copyright (C) 2017-2021 Free Software Foundation, Inc.
Copyright (C) 2017-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,6 +1,6 @@
/* Common target dependent code for GDB on AArch64 systems.
Copyright (C) 2009-2021 Free Software Foundation, Inc.
Copyright (C) 2009-2022 Free Software Foundation, Inc.
Contributed by ARM Ltd.
This file is part of GDB.

View File

@@ -1,6 +1,6 @@
/* Common target dependent code for GDB on AArch64 systems.
Copyright (C) 2009-2021 Free Software Foundation, Inc.
Copyright (C) 2009-2022 Free Software Foundation, Inc.
Contributed by ARM Ltd.
This file is part of GDB.

View File

@@ -1,4 +1,4 @@
# Copyright (C) 1992-2021 Free Software Foundation, Inc.
# Copyright (C) 1992-2022 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation gives
# unlimited permission to copy and/or distribute it, with or without

View File

@@ -1,6 +1,6 @@
/* Definitions for Ada expressions
Copyright (C) 2020, 2021 Free Software Foundation, Inc.
Copyright (C) 2020-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,5 +1,5 @@
/* YACC parser for Ada expressions, for GDB.
Copyright (C) 1986-2021 Free Software Foundation, Inc.
Copyright (C) 1986-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,6 +1,6 @@
/* Ada language support routines for GDB, the GNU debugger.
Copyright (C) 1992-2021 Free Software Foundation, Inc.
Copyright (C) 1992-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,6 +1,6 @@
/* Ada language support definitions for GDB, the GNU debugger.
Copyright (C) 1992-2021 Free Software Foundation, Inc.
Copyright (C) 1992-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,5 +1,5 @@
/* FLEX lexer for Ada expressions, for GDB.
Copyright (C) 1994-2021 Free Software Foundation, Inc.
Copyright (C) 1994-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,4 +1,4 @@
/* Copyright (C) 1992-2021 Free Software Foundation, Inc.
/* Copyright (C) 1992-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,5 +1,5 @@
/* Support for printing Ada types for GDB, the GNU debugger.
Copyright (C) 1986-2021 Free Software Foundation, Inc.
Copyright (C) 1986-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,6 +1,6 @@
/* Support for printing Ada values for GDB, the GNU debugger.
Copyright (C) 1986-2021 Free Software Foundation, Inc.
Copyright (C) 1986-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,6 +1,6 @@
/* varobj support for Ada.
Copyright (C) 2012-2021 Free Software Foundation, Inc.
Copyright (C) 2012-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,6 +1,6 @@
/* addrmap.c --- implementation of address map data structure.
Copyright (C) 2007-2021 Free Software Foundation, Inc.
Copyright (C) 2007-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,6 +1,6 @@
/* addrmap.h --- interface to address map data structure.
Copyright (C) 2007-2021 Free Software Foundation, Inc.
Copyright (C) 2007-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,4 +1,4 @@
/* Copyright (C) 2012-2021 Free Software Foundation, Inc.
/* Copyright (C) 2012-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,6 +1,6 @@
/* Low level interface for debugging AIX 4.3+ pthreads.
Copyright (C) 1999-2021 Free Software Foundation, Inc.
Copyright (C) 1999-2022 Free Software Foundation, Inc.
Written by Nick Duffek <nsd@redhat.com>.
This file is part of GDB.

View File

@@ -1,6 +1,6 @@
/* Shared allocation functions for GDB, the GNU debugger.
Copyright (C) 1986-2021 Free Software Foundation, Inc.
Copyright (C) 1986-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,6 +1,6 @@
/* Native-dependent code for Alpha BSD's.
Copyright (C) 2000-2021 Free Software Foundation, Inc.
Copyright (C) 2000-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,6 +1,6 @@
/* Common target dependent code Alpha BSD's.
Copyright (C) 2000-2021 Free Software Foundation, Inc.
Copyright (C) 2000-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,6 +1,6 @@
/* Common target dependent code for Alpha BSD's.
Copyright (C) 2002-2021 Free Software Foundation, Inc.
Copyright (C) 2002-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,5 +1,5 @@
/* Low level Alpha GNU/Linux interface, for GDB when running native.
Copyright (C) 2005-2021 Free Software Foundation, Inc.
Copyright (C) 2005-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,5 +1,5 @@
/* Target-dependent code for GNU/Linux on Alpha.
Copyright (C) 2002-2021 Free Software Foundation, Inc.
Copyright (C) 2002-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,5 +1,5 @@
/* Target-dependent mdebug code for the ALPHA architecture.
Copyright (C) 1993-2021 Free Software Foundation, Inc.
Copyright (C) 1993-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,6 +1,6 @@
/* Target-dependent code for NetBSD/alpha.
Copyright (C) 2002-2021 Free Software Foundation, Inc.
Copyright (C) 2002-2022 Free Software Foundation, Inc.
Contributed by Wasabi Systems, Inc.

View File

@@ -1,6 +1,6 @@
/* Target-dependent code for OpenBSD/alpha.
Copyright (C) 2006-2021 Free Software Foundation, Inc.
Copyright (C) 2006-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,6 +1,6 @@
/* Target-dependent code for the ALPHA architecture, for GDB, the GNU Debugger.
Copyright (C) 1993-2021 Free Software Foundation, Inc.
Copyright (C) 1993-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,5 +1,5 @@
/* Common target dependent code for GDB on Alpha systems.
Copyright (C) 1993-2021 Free Software Foundation, Inc.
Copyright (C) 1993-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,6 +1,6 @@
/* Native-dependent code for AMD64 BSD's.
Copyright (C) 2003-2021 Free Software Foundation, Inc.
Copyright (C) 2003-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,6 +1,6 @@
/* Native-dependent code for modern AMD64 BSD's.
Copyright (C) 2018-2021 Free Software Foundation, Inc.
Copyright (C) 2018-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,5 +1,5 @@
/* Darwin support for GDB, the GNU debugger.
Copyright (C) 1997-2021 Free Software Foundation, Inc.
Copyright (C) 1997-2022 Free Software Foundation, Inc.
Contributed by Apple Computer, Inc.

View File

@@ -1,6 +1,6 @@
/* Target-dependent code for Darwin x86-64.
Copyright (C) 2009-2021 Free Software Foundation, Inc.
Copyright (C) 2009-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,6 +1,6 @@
/* Target-dependent code for DICOS running on x86-64's, for GDB.
Copyright (C) 2009-2021 Free Software Foundation, Inc.
Copyright (C) 2009-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,6 +1,6 @@
/* Native-dependent code for FreeBSD/amd64.
Copyright (C) 2003-2021 Free Software Foundation, Inc.
Copyright (C) 2003-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,6 +1,6 @@
/* Target-dependent code for FreeBSD/amd64.
Copyright (C) 2003-2021 Free Software Foundation, Inc.
Copyright (C) 2003-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,6 +1,6 @@
/* Native-dependent code for GNU/Linux x86-64.
Copyright (C) 2001-2021 Free Software Foundation, Inc.
Copyright (C) 2001-2022 Free Software Foundation, Inc.
Contributed by Jiri Smid, SuSE Labs.
This file is part of GDB.

View File

@@ -1,6 +1,6 @@
/* Target-dependent code for GNU/Linux x86-64.
Copyright (C) 2001-2021 Free Software Foundation, Inc.
Copyright (C) 2001-2022 Free Software Foundation, Inc.
Contributed by Jiri Smid, SuSE Labs.
This file is part of GDB.

View File

@@ -1,6 +1,6 @@
/* Target-dependent code for GNU/Linux AMD64.
Copyright (C) 2006-2021 Free Software Foundation, Inc.
Copyright (C) 2006-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,6 +1,6 @@
/* Native-dependent code for AMD64.
Copyright (C) 2003-2021 Free Software Foundation, Inc.
Copyright (C) 2003-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,6 +1,6 @@
/* Native-dependent code for AMD64.
Copyright (C) 2003-2021 Free Software Foundation, Inc.
Copyright (C) 2003-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,6 +1,6 @@
/* Native-dependent code for NetBSD/amd64.
Copyright (C) 2003-2021 Free Software Foundation, Inc.
Copyright (C) 2003-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,6 +1,6 @@
/* Target-dependent code for NetBSD/amd64.
Copyright (C) 2003-2021 Free Software Foundation, Inc.
Copyright (C) 2003-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,6 +1,6 @@
/* Native-dependent code for OpenBSD/amd64.
Copyright (C) 2003-2021 Free Software Foundation, Inc.
Copyright (C) 2003-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,6 +1,6 @@
/* Target-dependent code for OpenBSD/amd64.
Copyright (C) 2003-2021 Free Software Foundation, Inc.
Copyright (C) 2003-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,6 +1,6 @@
/* Ravenscar x86-64 target support.
Copyright (C) 2020-2021 Free Software Foundation, Inc.
Copyright (C) 2020-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,6 +1,6 @@
/* Ravenscar x86-64 target support.
Copyright (C) 2020-2021 Free Software Foundation, Inc.
Copyright (C) 2020-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,6 +1,6 @@
/* Target-dependent code for AMD64 Solaris.
Copyright (C) 2001-2021 Free Software Foundation, Inc.
Copyright (C) 2001-2022 Free Software Foundation, Inc.
Contributed by Joseph Myers, CodeSourcery, LLC.

View File

@@ -1,6 +1,6 @@
/* Target-dependent code for AMD64.
Copyright (C) 2001-2021 Free Software Foundation, Inc.
Copyright (C) 2001-2022 Free Software Foundation, Inc.
Contributed by Jiri Smid, SuSE Labs.

View File

@@ -1,6 +1,6 @@
/* Target-dependent definitions for AMD64.
Copyright (C) 2001-2021 Free Software Foundation, Inc.
Copyright (C) 2001-2022 Free Software Foundation, Inc.
Contributed by Jiri Smid, SuSE Labs.
This file is part of GDB.

View File

@@ -1,4 +1,4 @@
/* Copyright (C) 2008-2021 Free Software Foundation, Inc.
/* Copyright (C) 2008-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,4 +1,4 @@
/* Copyright (C) 2009-2021 Free Software Foundation, Inc.
/* Copyright (C) 2009-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,5 +1,5 @@
/* Annotation routines for GDB.
Copyright (C) 1986-2021 Free Software Foundation, Inc.
Copyright (C) 1986-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,5 +1,5 @@
/* Annotation routines for GDB.
Copyright (C) 1986-2021 Free Software Foundation, Inc.
Copyright (C) 1986-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,6 +1,6 @@
/* Native-dependent code for GNU/Linux ARC.
Copyright 2020-2021 Free Software Foundation, Inc.
Copyright 2020-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,6 +1,6 @@
/* Target dependent code for GNU/Linux ARC.
Copyright 2020-2021 Free Software Foundation, Inc.
Copyright 2020-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,6 +1,6 @@
/* Target dependent code for GNU/Linux ARC.
Copyright 2020-2021 Free Software Foundation, Inc.
Copyright 2020-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,6 +1,6 @@
/* Target-dependent code for Newlib ARC.
Copyright (C) 2016-2021 Free Software Foundation, Inc.
Copyright (C) 2016-2022 Free Software Foundation, Inc.
Contributed by Synopsys Inc.
This file is part of GDB.

View File

@@ -1,6 +1,6 @@
/* Target dependent code for ARC architecture, for GDB.
Copyright 2005-2021 Free Software Foundation, Inc.
Copyright 2005-2022 Free Software Foundation, Inc.
Contributed by Synopsys Inc.
This file is part of GDB.

View File

@@ -1,6 +1,6 @@
/* Target dependent code for ARC architecture, for GDB.
Copyright 2005-2021 Free Software Foundation, Inc.
Copyright 2005-2022 Free Software Foundation, Inc.
Contributed by Synopsys Inc.
This file is part of GDB.

View File

@@ -1,6 +1,6 @@
/* Dynamic architecture support for GDB, the GNU debugger.
Copyright (C) 1998-2021 Free Software Foundation, Inc.
Copyright (C) 1998-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,6 +1,6 @@
/* Dynamic architecture support for GDB, the GNU debugger.
Copyright (C) 1998-2021 Free Software Foundation, Inc.
Copyright (C) 1998-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,4 +1,4 @@
/* Copyright (C) 2019-2021 Free Software Foundation, Inc.
/* Copyright (C) 2019-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,4 +1,4 @@
/* Copyright (C) 2019-2021 Free Software Foundation, Inc.
/* Copyright (C) 2019-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,4 +1,4 @@
/* Copyright (C) 2009-2021 Free Software Foundation, Inc.
/* Copyright (C) 2009-2022 Free Software Foundation, Inc.
Contributed by ARM Ltd.
This file is part of GDB.

View File

@@ -1,4 +1,4 @@
/* Copyright (C) 2009-2021 Free Software Foundation, Inc.
/* Copyright (C) 2009-2022 Free Software Foundation, Inc.
Contributed by ARM Ltd.
This file is part of GDB.

View File

@@ -1,6 +1,6 @@
/* Common Linux target-dependent functionality for AArch64 MTE
Copyright (C) 2021 Free Software Foundation, Inc.
Copyright (C) 2021-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,6 +1,6 @@
/* Common Linux target-dependent definitions for AArch64 MTE
Copyright (C) 2021 Free Software Foundation, Inc.
Copyright (C) 2021-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,4 +1,4 @@
/* Copyright (C) 2017-2021 Free Software Foundation, Inc.
/* Copyright (C) 2017-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,6 +1,6 @@
/* Common target-dependent functionality for AArch64.
Copyright (C) 2017-2021 Free Software Foundation, Inc.
Copyright (C) 2017-2022 Free Software Foundation, Inc.
This file is part of GDB.
@@ -22,6 +22,15 @@
#include "gdbsupport/tdesc.h"
/* Holds information on what architectural features are available. This is
used to select register sets. */
struct aarch64_features
{
bool sve = false;
bool pauth = false;
bool mte = false;
};
/* Create the aarch64 target description. A non zero VQ value indicates both
the presence of SVE and the Vector Quotient - the number of 128bit chunks in
an SVE Z register. HAS_PAUTH_P indicates the presence of the PAUTH

View File

@@ -1,4 +1,4 @@
/* Copyright (C) 2017-2021 Free Software Foundation, Inc.
/* Copyright (C) 2017-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,4 +1,4 @@
/* Copyright (C) 2017-2021 Free Software Foundation, Inc.
/* Copyright (C) 2017-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,4 +1,4 @@
/* Copyright (C) 2017-2021 Free Software Foundation, Inc.
/* Copyright (C) 2017-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,4 +1,4 @@
/* Copyright (C) 2017-2021 Free Software Foundation, Inc.
/* Copyright (C) 2017-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,6 +1,6 @@
/* Common code for ARM software single stepping support.
Copyright (C) 1988-2021 Free Software Foundation, Inc.
Copyright (C) 1988-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,6 +1,6 @@
/* Common code for ARM software single stepping support.
Copyright (C) 1988-2021 Free Software Foundation, Inc.
Copyright (C) 1988-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,6 +1,6 @@
/* Common target dependent code for GNU/Linux on ARM systems.
Copyright (C) 1999-2021 Free Software Foundation, Inc.
Copyright (C) 1999-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,6 +1,6 @@
/* Common target dependent code for GNU/Linux on ARM systems.
Copyright (C) 1999-2021 Free Software Foundation, Inc.
Copyright (C) 1999-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,6 +1,6 @@
/* Common target dependent code for GDB on ARM systems.
Copyright (C) 1988-2021 Free Software Foundation, Inc.
Copyright (C) 1988-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,5 +1,5 @@
/* Common target dependent code for GDB on ARM systems.
Copyright (C) 1988-2021 Free Software Foundation, Inc.
Copyright (C) 1988-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,4 +1,4 @@
/* Copyright (C) 2017-2021 Free Software Foundation, Inc.
/* Copyright (C) 2017-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,4 +1,4 @@
/* Copyright (C) 2017-2021 Free Software Foundation, Inc.
/* Copyright (C) 2017-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,6 +1,6 @@
/* Common target dependent code for GNU/Linux on PPC systems.
Copyright (C) 2018-2021 Free Software Foundation, Inc.
Copyright (C) 2018-2022 Free Software Foundation, Inc.
This file is part of GDB.

View File

@@ -1,6 +1,6 @@
/* Common target dependent code for GNU/Linux on PPC systems.
Copyright (C) 2018-2021 Free Software Foundation, Inc.
Copyright (C) 2018-2022 Free Software Foundation, Inc.
This file is part of GDB.

Some files were not shown because too many files have changed in this diff Show More