]> git.ipfire.org Git - thirdparty/binutils-gdb.git/log
thirdparty/binutils-gdb.git
18 months agoAutomatic date update in version.in
GDB Administrator [Wed, 31 Jan 2024 00:00:53 +0000 (00:00 +0000)] 
Automatic date update in version.in

18 months agoAutomatic date update in version.in
GDB Administrator [Tue, 30 Jan 2024 00:01:27 +0000 (00:01 +0000)] 
Automatic date update in version.in

18 months agoAutomatic date update in version.in
GDB Administrator [Mon, 29 Jan 2024 00:01:25 +0000 (00:01 +0000)] 
Automatic date update in version.in

18 months agoAutomatic date update in version.in
GDB Administrator [Sun, 28 Jan 2024 00:00:32 +0000 (00:00 +0000)] 
Automatic date update in version.in

18 months agoAutomatic date update in version.in
GDB Administrator [Sat, 27 Jan 2024 00:01:05 +0000 (00:01 +0000)] 
Automatic date update in version.in

18 months agoAutomatic date update in version.in
GDB Administrator [Fri, 26 Jan 2024 00:01:00 +0000 (00:01 +0000)] 
Automatic date update in version.in

18 months agoAutomatic date update in version.in
GDB Administrator [Thu, 25 Jan 2024 00:02:01 +0000 (00:02 +0000)] 
Automatic date update in version.in

18 months agoAutomatic date update in version.in
GDB Administrator [Wed, 24 Jan 2024 00:01:35 +0000 (00:01 +0000)] 
Automatic date update in version.in

18 months agogdb: fix "list ." related crash
Guinevere Larsen [Mon, 22 Jan 2024 09:13:52 +0000 (10:13 +0100)] 
gdb: fix "list ." related crash

When a user attempts to use the "list ." command with an inferior that
doesn't have debug symbols, GDB would crash. This was reported as PR
gdb/31256.

The crash would happen when attempting to get the current symtab_and_line
for the stop location, because the symtab would return a null pointer
and we'd attempt to dereference it to print the line.

This commit fixes that by checking for an empty symtab and erroring out
of the function if it happens.

Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=31256
Approved-By: Tom Tromey <tom@tromey.com>
18 months agoAutomatic date update in version.in
GDB Administrator [Tue, 23 Jan 2024 00:01:39 +0000 (00:01 +0000)] 
Automatic date update in version.in

18 months agoAutomatic date update in version.in
GDB Administrator [Mon, 22 Jan 2024 00:01:08 +0000 (00:01 +0000)] 
Automatic date update in version.in

18 months agoAutomatic date update in version.in
GDB Administrator [Sun, 21 Jan 2024 00:01:06 +0000 (00:01 +0000)] 
Automatic date update in version.in

18 months agoAutomatic date update in version.in
GDB Administrator [Sat, 20 Jan 2024 00:00:29 +0000 (00:00 +0000)] 
Automatic date update in version.in

18 months agoAutomatic date update in version.in
GDB Administrator [Fri, 19 Jan 2024 00:01:32 +0000 (00:01 +0000)] 
Automatic date update in version.in

18 months agoAutomatic date update in version.in
GDB Administrator [Thu, 18 Jan 2024 00:01:23 +0000 (00:01 +0000)] 
Automatic date update in version.in

18 months agoAutomatic date update in version.in
GDB Administrator [Wed, 17 Jan 2024 00:01:47 +0000 (00:01 +0000)] 
Automatic date update in version.in

18 months agoAutomatic date update in version.in
GDB Administrator [Tue, 16 Jan 2024 00:01:28 +0000 (00:01 +0000)] 
Automatic date update in version.in

18 months agoAutomatic date update in version.in
GDB Administrator [Mon, 15 Jan 2024 00:00:57 +0000 (00:00 +0000)] 
Automatic date update in version.in

18 months agoAutomatic date update in version.in
GDB Administrator [Sun, 14 Jan 2024 00:00:27 +0000 (00:00 +0000)] 
Automatic date update in version.in

18 months agoAutomatic date update in version.in
GDB Administrator [Sat, 13 Jan 2024 00:00:31 +0000 (00:00 +0000)] 
Automatic date update in version.in

18 months agoAutomatic date update in version.in
GDB Administrator [Fri, 12 Jan 2024 00:01:11 +0000 (00:01 +0000)] 
Automatic date update in version.in

18 months agoAutomatic date update in version.in
GDB Administrator [Thu, 11 Jan 2024 00:01:51 +0000 (00:01 +0000)] 
Automatic date update in version.in

18 months agoAutomatic date update in version.in
GDB Administrator [Wed, 10 Jan 2024 00:04:02 +0000 (00:04 +0000)] 
Automatic date update in version.in

18 months agoAutomatic date update in version.in
GDB Administrator [Tue, 9 Jan 2024 00:04:27 +0000 (00:04 +0000)] 
Automatic date update in version.in

18 months agoAutomatic date update in version.in
GDB Administrator [Mon, 8 Jan 2024 00:01:34 +0000 (00:01 +0000)] 
Automatic date update in version.in

18 months agoAutomatic date update in version.in
GDB Administrator [Sun, 7 Jan 2024 00:03:52 +0000 (00:03 +0000)] 
Automatic date update in version.in

18 months agoAutomatic date update in version.in
GDB Administrator [Sat, 6 Jan 2024 00:01:59 +0000 (00:01 +0000)] 
Automatic date update in version.in

18 months agoAutomatic date update in version.in
GDB Administrator [Fri, 5 Jan 2024 00:03:21 +0000 (00:03 +0000)] 
Automatic date update in version.in

18 months agoAutomatic date update in version.in
GDB Administrator [Thu, 4 Jan 2024 00:02:58 +0000 (00:02 +0000)] 
Automatic date update in version.in

18 months agoAutomatic date update in version.in
GDB Administrator [Wed, 3 Jan 2024 00:02:30 +0000 (00:02 +0000)] 
Automatic date update in version.in

18 months agoAutomatic date update in version.in
GDB Administrator [Tue, 2 Jan 2024 00:01:34 +0000 (00:01 +0000)] 
Automatic date update in version.in

19 months agoAutomatic date update in version.in
GDB Administrator [Mon, 1 Jan 2024 00:01:08 +0000 (00:01 +0000)] 
Automatic date update in version.in

19 months agoAutomatic date update in version.in
GDB Administrator [Sun, 31 Dec 2023 00:00:40 +0000 (00:00 +0000)] 
Automatic date update in version.in

19 months agoAutomatic date update in version.in
GDB Administrator [Sat, 30 Dec 2023 00:00:48 +0000 (00:00 +0000)] 
Automatic date update in version.in

19 months agoAutomatic date update in version.in
GDB Administrator [Fri, 29 Dec 2023 00:01:00 +0000 (00:01 +0000)] 
Automatic date update in version.in

19 months agoAutomatic date update in version.in
GDB Administrator [Thu, 28 Dec 2023 00:02:54 +0000 (00:02 +0000)] 
Automatic date update in version.in

19 months agoAutomatic date update in version.in
GDB Administrator [Wed, 27 Dec 2023 00:01:49 +0000 (00:01 +0000)] 
Automatic date update in version.in

19 months agoAutomatic date update in version.in
GDB Administrator [Tue, 26 Dec 2023 00:02:12 +0000 (00:02 +0000)] 
Automatic date update in version.in

19 months agoAutomatic date update in version.in
GDB Administrator [Mon, 25 Dec 2023 00:01:32 +0000 (00:01 +0000)] 
Automatic date update in version.in

19 months agoAutomatic date update in version.in
GDB Administrator [Sun, 24 Dec 2023 00:01:18 +0000 (00:01 +0000)] 
Automatic date update in version.in

19 months agoAutomatic date update in version.in
GDB Administrator [Sat, 23 Dec 2023 00:00:41 +0000 (00:00 +0000)] 
Automatic date update in version.in

19 months agoAutomatic date update in version.in
GDB Administrator [Fri, 22 Dec 2023 00:00:32 +0000 (00:00 +0000)] 
Automatic date update in version.in

19 months agoAutomatic date update in version.in
GDB Administrator [Thu, 21 Dec 2023 00:00:48 +0000 (00:00 +0000)] 
Automatic date update in version.in

19 months agoAutomatic date update in version.in
GDB Administrator [Wed, 20 Dec 2023 00:00:36 +0000 (00:00 +0000)] 
Automatic date update in version.in

19 months agoAutomatic date update in version.in
GDB Administrator [Tue, 19 Dec 2023 00:00:41 +0000 (00:00 +0000)] 
Automatic date update in version.in

19 months agoAutomatic date update in version.in
GDB Administrator [Mon, 18 Dec 2023 00:00:33 +0000 (00:00 +0000)] 
Automatic date update in version.in

19 months agoAutomatic date update in version.in
GDB Administrator [Sun, 17 Dec 2023 00:00:28 +0000 (00:00 +0000)] 
Automatic date update in version.in

19 months agoAutomatic date update in version.in
GDB Administrator [Sat, 16 Dec 2023 00:00:33 +0000 (00:00 +0000)] 
Automatic date update in version.in

19 months agoAutomatic date update in version.in
GDB Administrator [Fri, 15 Dec 2023 00:00:36 +0000 (00:00 +0000)] 
Automatic date update in version.in

19 months agoAutomatic date update in version.in
GDB Administrator [Thu, 14 Dec 2023 00:00:48 +0000 (00:00 +0000)] 
Automatic date update in version.in

19 months agoAutomatic date update in version.in
GDB Administrator [Wed, 13 Dec 2023 00:00:53 +0000 (00:00 +0000)] 
Automatic date update in version.in

19 months agoAutomatic date update in version.in
GDB Administrator [Tue, 12 Dec 2023 00:00:28 +0000 (00:00 +0000)] 
Automatic date update in version.in

19 months agoAutomatic date update in version.in
GDB Administrator [Mon, 11 Dec 2023 00:00:36 +0000 (00:00 +0000)] 
Automatic date update in version.in

19 months agoAutomatic date update in version.in
GDB Administrator [Sun, 10 Dec 2023 00:00:57 +0000 (00:00 +0000)] 
Automatic date update in version.in

19 months agoAutomatic date update in version.in
GDB Administrator [Sat, 9 Dec 2023 00:00:44 +0000 (00:00 +0000)] 
Automatic date update in version.in

19 months agoFix printing of global variable stubs if no inferior is running
Hannes Domani [Fri, 8 Dec 2023 18:06:14 +0000 (19:06 +0100)] 
Fix printing of global variable stubs if no inferior is running

Since 3c45e9f915ae4aeab7312d6fc55a947859057572 gdb crashes when trying
to print a global variable stub without a running inferior, because of
a missing nullptr-check (the block_scope function took care of that
check before it was converted to a method).

With this check it works again:
```
(gdb) print s
$1 = <incomplete type>
```

Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=31128
Approved-By: Tom Tromey <tom@tromey.com>
(cherry picked from commit 576745e26c0ec76a53ba45b20af464628a50b3e4)

19 months agoAutomatic date update in version.in
GDB Administrator [Fri, 8 Dec 2023 00:00:35 +0000 (00:00 +0000)] 
Automatic date update in version.in

19 months agoAutomatic date update in version.in
GDB Administrator [Thu, 7 Dec 2023 00:00:53 +0000 (00:00 +0000)] 
Automatic date update in version.in

19 months agoFix DLL export forwarding
Hannes Domani [Wed, 6 Dec 2023 19:52:06 +0000 (20:52 +0100)] 
Fix DLL export forwarding

I noticed it when I was trying to set a breakpoint at ExitProcess:
```
(gdb) b ExitProcess
Breakpoint 1 at 0x14001fdd0
(gdb) r
Starting program: C:\qiewer\heob\heob64.exe
Warning:
Cannot insert breakpoint 1.
Cannot access memory at address 0x3dbf4120
Cannot insert breakpoint 1.
Cannot access memory at address 0x77644120
```

The problem doesn't exist in gdb 13.2, and the difference can easily be
seen when printing ExitProcess.
gdb 14.1:
```
(gdb) p ExitProcess
$1 = {<text variable, no debug info>} 0x77644120 <UserHandleGrantAccess+36128>
```
gdb 13.2:
```
(gdb) p ExitProcess
$1 = {<text variable, no debug info>} 0x77734120 <ntdll!RtlExitUserProcess>
```

The new behavior started with 9675da25357c7a3f472731ddc6eb3becc65b469a,
where VMA was then calculated relative to FORWARD_DLL_NAME, while it was
relative to DLL_NAME before.

Fixed by calculating VMA relative to DLL_NAME again.

Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=31112
Approved-By: Tom Tromey <tom@tromey.com>
(cherry picked from commit 2574cd903dd84e7081506e24c2e232ecda11a736)

19 months agoAutomatic date update in version.in
GDB Administrator [Wed, 6 Dec 2023 00:00:39 +0000 (00:00 +0000)] 
Automatic date update in version.in

19 months agoAutomatic date update in version.in
GDB Administrator [Tue, 5 Dec 2023 00:00:54 +0000 (00:00 +0000)] 
Automatic date update in version.in

19 months agoAutomatic date update in version.in
GDB Administrator [Mon, 4 Dec 2023 00:00:28 +0000 (00:00 +0000)] 
Automatic date update in version.in

19 months agoBump GDB's version number to 14.1.90.DATE-git.
Joel Brobecker [Sun, 3 Dec 2023 05:35:52 +0000 (09:35 +0400)] 
Bump GDB's version number to 14.1.90.DATE-git.

This commit changes gdb/version.in to 14.1.90.DATE-git.

This commit also makes the following changes in gdb/testsuite:

* gdb.base/default.exp: Change $_gdb_minor to 2.

19 months agoSet GDB version number to 14.1. gdb-14.1-release
Joel Brobecker [Sun, 3 Dec 2023 05:18:15 +0000 (09:18 +0400)] 
Set GDB version number to 14.1.

This commit changes gdb/version.in to 14.1.

19 months agoAutomatic date update in version.in
GDB Administrator [Sun, 3 Dec 2023 00:00:36 +0000 (00:00 +0000)] 
Automatic date update in version.in

19 months agoAutomatic date update in version.in
GDB Administrator [Sat, 2 Dec 2023 00:00:29 +0000 (00:00 +0000)] 
Automatic date update in version.in

20 months agoAutomatic date update in version.in
GDB Administrator [Fri, 1 Dec 2023 00:00:26 +0000 (00:00 +0000)] 
Automatic date update in version.in

20 months agoAutomatic date update in version.in
GDB Administrator [Thu, 30 Nov 2023 00:00:48 +0000 (00:00 +0000)] 
Automatic date update in version.in

20 months agoAutomatic date update in version.in
GDB Administrator [Wed, 29 Nov 2023 00:00:39 +0000 (00:00 +0000)] 
Automatic date update in version.in

20 months agoAutomatic date update in version.in
GDB Administrator [Tue, 28 Nov 2023 00:00:43 +0000 (00:00 +0000)] 
Automatic date update in version.in

20 months agoi386: Use a fallback XSAVE layout for remote targets
John Baldwin [Mon, 27 Nov 2023 21:53:22 +0000 (13:53 -0800)] 
i386: Use a fallback XSAVE layout for remote targets

If a target provides a target description including registers from the
XSAVE extended region, but does not provide an XSAVE layout, use a
fallback XSAVE layout based on the included registers.  This fallback
layout matches GDB's behavior in earlier releases which assumes the
layout from Intel CPUs.

This fallback layout is currently only used for remote targets since
native targets which support XSAVE provide an explicit layout derived
from CPUID.

PR gdb/30912
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=30912
Approved-By: Simon Marchi <simon.marchi@efficios.com>
(cherry picked from commit 66637e209cc836c19a21a28e91046649c7702037)

20 months agoFix bug in DAP handling of 'pause' requests
Tom Tromey [Fri, 17 Nov 2023 17:08:50 +0000 (10:08 -0700)] 
Fix bug in DAP handling of 'pause' requests

While working on cancellation, I noticed that a DAP 'pause' request
would set the "do not emit the continue" flag.  This meant that a
subsequent request that should provoke a 'continue' event would
instead suppress the event.

I then tried writing a more obvious test case for this, involving an
inferior call -- and discovered that gdb.events.cont does not fire for
an inferior call.

This patch installs a new event listener for gdb.events.inferior_call
and arranges for this to emit continue and stop events when
appropriate.  It also fixes the original bug, by adding a check to
exec_and_expect_stop.

(cherry picked from commit c618a1c548193d2a6a8c3d909a3d1c620a156b5d)

20 months agoAutomatic date update in version.in
GDB Administrator [Mon, 27 Nov 2023 00:00:49 +0000 (00:00 +0000)] 
Automatic date update in version.in

20 months agoAutomatic date update in version.in
GDB Administrator [Sun, 26 Nov 2023 00:00:28 +0000 (00:00 +0000)] 
Automatic date update in version.in

20 months agoAutomatic date update in version.in
GDB Administrator [Sat, 25 Nov 2023 00:00:48 +0000 (00:00 +0000)] 
Automatic date update in version.in

20 months agoAutomatic date update in version.in
GDB Administrator [Fri, 24 Nov 2023 00:00:55 +0000 (00:00 +0000)] 
Automatic date update in version.in

20 months agoAutomatic date update in version.in
GDB Administrator [Thu, 23 Nov 2023 00:01:05 +0000 (00:01 +0000)] 
Automatic date update in version.in

20 months agoAutomatic date update in version.in
GDB Administrator [Wed, 22 Nov 2023 00:00:47 +0000 (00:00 +0000)] 
Automatic date update in version.in

20 months agoAutomatic date update in version.in
GDB Administrator [Tue, 21 Nov 2023 00:00:36 +0000 (00:00 +0000)] 
Automatic date update in version.in

20 months agoAutomatic date update in version.in
GDB Administrator [Mon, 20 Nov 2023 00:00:23 +0000 (00:00 +0000)] 
Automatic date update in version.in

20 months agoAutomatic date update in version.in
GDB Administrator [Sun, 19 Nov 2023 00:00:24 +0000 (00:00 +0000)] 
Automatic date update in version.in

20 months agoAutomatic date update in version.in
GDB Administrator [Sat, 18 Nov 2023 00:00:34 +0000 (00:00 +0000)] 
Automatic date update in version.in

20 months agoIgnore static members in NoOpStructPrinter
Tom Tromey [Mon, 13 Nov 2023 21:03:58 +0000 (14:03 -0700)] 
Ignore static members in NoOpStructPrinter

Hannes' patch to show local variables in the TUI pointed out that
NoOpStructPrinter should ignore static members.  This patch implements
this.

(cherry picked from commit 4a1b9a4badc8954221926b231b81392fa625653c)

20 months agoImplement the notStopped DAP response
Tom Tromey [Tue, 7 Nov 2023 15:44:44 +0000 (08:44 -0700)] 
Implement the notStopped DAP response

DAP specifies that a request can fail with the "notStopped" message if
the inferior is running but the request requires that it first be
stopped.

This patch implements this for gdb.  Most requests are assumed to
require a stopped inferior, and the exceptions are noted by a new
'request' parameter.

You may notice that the implementation is a bit racy.  I think this is
inherent -- unless the client waits for a stop event before sending a
request, the request may be processed at any time relative to a stop.

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

Reviewed-by: Kévin Le Gouguec <legouguec@adacore.com>
(cherry picked from commit cfd00e8050a58aacc6489ec0379908be1a12be73)

20 months agoRemove ExecutionInvoker
Tom Tromey [Mon, 6 Nov 2023 21:29:06 +0000 (14:29 -0700)] 
Remove ExecutionInvoker

ExecutionInvoker is no longer really needed, due to the previous DAP
refactoring.  This patch removes it in favor of an ordinary function.
One spot (the 'continue' request) could still have used it, but is
more succinctly expressed as a lambda.

Reviewed-by: Kévin Le Gouguec <legouguec@adacore.com>
(cherry picked from commit 68caad9d0b06d0ac231ce083ff62410a5a1806c1)

20 months agoAutomatically run (most) DAP requests in gdb thread
Tom Tromey [Mon, 6 Nov 2023 20:31:17 +0000 (13:31 -0700)] 
Automatically run (most) DAP requests in gdb thread

Nearly every DAP request implementation forwards its work to the gdb
thread, using send_gdb_with_response.  This patch refactors the
'request' decorator to make this automatic, and to provide some
parameters so that the unusual requests can express their needs as
well.

In a few spots this simplifies the code by removing an unnecessary
helper function.  This could be done in more places as well if we
wanted.

The main motivation for this patch is that I thought it would be
helpful for cancellation.  I am still working on that, but meanwhile
the parameterization of 'request' makes it easy to handle the
'notStopped' response as well.

Reviewed-by: Kévin Le Gouguec <legouguec@adacore.com>
(cherry picked from commit c98921b258b55272c5b4066d96441e4e07626eb2)

20 months agoHandle StackFrameFormat in DAP
Tom Tromey [Fri, 6 Oct 2023 19:40:39 +0000 (13:40 -0600)] 
Handle StackFrameFormat in DAP

DAP specifies a StackFrameFormat object that can be used to change how
the "name" part of a stack frame is constructed.  While this output
can already be done in a nicer way (and also letting the client choose
the formatting), nevertheless it is in the spec, so I figured I'd
implement it.

While implementing this, I discovered that the current code does not
correctly preserve frame IDs across requests.  I rewrote frame
iteration to preserve this, and it turned out to be simpler to combine
these patches.

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

(cherry picked from commit 1920148904fe5ca0035c1addf2376f9ab13ffd3d)

20 months agoAutomatic date update in version.in
GDB Administrator [Fri, 17 Nov 2023 00:00:55 +0000 (00:00 +0000)] 
Automatic date update in version.in

20 months agoAutomatic date update in version.in
GDB Administrator [Thu, 16 Nov 2023 00:00:50 +0000 (00:00 +0000)] 
Automatic date update in version.in

20 months agoMinor cleanups in ada-nested.exp
Tom Tromey [Wed, 15 Nov 2023 14:50:19 +0000 (07:50 -0700)] 
Minor cleanups in ada-nested.exp

This changes ada-nested.exp to fix a test name (the test expects three
variables but is named "two"), and to iterate over all the variables
that are found.  It also adds a workaround to a problem Tom de Vries
found with an older version of GNAT -- it emits a duplicate "x".

(cherry picked from commit e1ccbfffb5e0121c084898ac63f042187621d4ec)

20 months agoAutomatic date update in version.in
GDB Administrator [Wed, 15 Nov 2023 00:00:40 +0000 (00:00 +0000)] 
Automatic date update in version.in

20 months agoUpdate gdb.Symbol.is_variable documentation
Tom Tromey [Tue, 31 Oct 2023 15:16:08 +0000 (09:16 -0600)] 
Update gdb.Symbol.is_variable documentation

Kévin found a bug in an earlier version of this series that was based
on a misconception I had about Symbol.is_variable.  This patch fixes
the documentation to explain the method a bit better.

Approved-By: Eli Zaretskii <eliz@gnu.org>
(cherry picked from commit 5006ea556dad71c4c868cf5705e007e72e3b02b4)

20 months agoHandle the static link in FrameDecorator
Tom Tromey [Mon, 30 Oct 2023 16:52:20 +0000 (10:52 -0600)] 
Handle the static link in FrameDecorator

A co-worker requested that the DAP scope for a nested function's frame
also show the variables from outer frames.  DAP doesn't directly
support this notion, so this patch arranges to put these variables
into the inner frames "Locals" scope.

I chose to do this only for DAP.  For CLI and MI, gdb currently does
not do this, so this preserves the behavior.

Note that an earlier patch (see commit 4a1311ba) removed some code
that seemed to do something similar.  However, that code did not
actually work.

(cherry picked from commit ebea770b19c09489fe5e2cb5c1fd568f0f21e17e)

20 months agoFix a bug in DAP scopes code
Tom Tromey [Mon, 30 Oct 2023 16:23:35 +0000 (10:23 -0600)] 
Fix a bug in DAP scopes code

While working on static links, I noticed that the DAP scopes code does
not handle the scenario where a frame decorator returns None.  This
situation should be handled identically to a frame decorator returning
an empty iterator.

(cherry picked from commit e9dacb1d6caa5770d3e1722adc0ec74ff13a7a89)

20 months agoAdd gdb.Frame.static_link method
Tom Tromey [Tue, 24 Oct 2023 14:05:06 +0000 (08:05 -0600)] 
Add gdb.Frame.static_link method

This adds a new gdb.Frame.static_link method to the gdb Python layer.
This can be used to find the static link frame for a given frame.

Reviewed-By: Eli Zaretskii <eliz@gnu.org>
(cherry picked from commit 4ead09a294adbb718d642874a554e78d931c2830)

20 months agoMove follow_static_link to frame.c
Tom Tromey [Tue, 24 Oct 2023 13:59:51 +0000 (07:59 -0600)] 
Move follow_static_link to frame.c

This moves the follow_static_link function to frame.c and exports it
for use elsewhere.  The API is changed slightly to make it more
generically useful.

(cherry picked from commit 19b83d5c9bac1db207dce26859c6ca84135615b0)

20 months agoAdd block::function_block
Tom Tromey [Tue, 24 Oct 2023 13:53:29 +0000 (07:53 -0600)] 
Add block::function_block

This adds the method block::function_block, to easily access a block's
enclosing function block.

(cherry picked from commit ba707cadae18a7cc8bb47a736d3d0438d44262a9)

20 months agoAdd two convenience methods to block
Tom Tromey [Tue, 24 Oct 2023 13:27:01 +0000 (07:27 -0600)] 
Add two convenience methods to block

This adds a couple of convenience methods, block::is_static_block and
block::is_global_block.

(cherry picked from commit edf1b9640bbc981c8a094d6ca29d444b1ed50a2c)

20 months agoAutomatic date update in version.in
GDB Administrator [Tue, 14 Nov 2023 00:00:41 +0000 (00:00 +0000)] 
Automatic date update in version.in

20 months agoAutomatic date update in version.in
GDB Administrator [Mon, 13 Nov 2023 00:00:46 +0000 (00:00 +0000)] 
Automatic date update in version.in