]> git.ipfire.org Git - thirdparty/binutils-gdb.git/log
thirdparty/binutils-gdb.git
16 months agoAutomatic date update in version.in
GDB Administrator [Mon, 1 Apr 2024 00:00:25 +0000 (00:00 +0000)] 
Automatic date update in version.in

16 months agoAutomatic date update in version.in
GDB Administrator [Sun, 31 Mar 2024 00:00:21 +0000 (00:00 +0000)] 
Automatic date update in version.in

16 months agoAutomatic date update in version.in
GDB Administrator [Sat, 30 Mar 2024 00:00:34 +0000 (00:00 +0000)] 
Automatic date update in version.in

16 months agoAutomatic date update in version.in
GDB Administrator [Fri, 29 Mar 2024 00:01:01 +0000 (00:01 +0000)] 
Automatic date update in version.in

16 months agoAutomatic date update in version.in
GDB Administrator [Thu, 28 Mar 2024 00:02:15 +0000 (00:02 +0000)] 
Automatic date update in version.in

16 months agoAutomatic date update in version.in
GDB Administrator [Wed, 27 Mar 2024 00:01:32 +0000 (00:01 +0000)] 
Automatic date update in version.in

16 months agoAutomatic date update in version.in
GDB Administrator [Tue, 26 Mar 2024 00:02:22 +0000 (00:02 +0000)] 
Automatic date update in version.in

16 months agoAutomatic date update in version.in
GDB Administrator [Mon, 25 Mar 2024 00:00:37 +0000 (00:00 +0000)] 
Automatic date update in version.in

16 months agoAutomatic date update in version.in
GDB Administrator [Sun, 24 Mar 2024 00:00:49 +0000 (00:00 +0000)] 
Automatic date update in version.in

16 months agoAutomatic date update in version.in
GDB Administrator [Sat, 23 Mar 2024 00:01:39 +0000 (00:01 +0000)] 
Automatic date update in version.in

16 months agoAutomatic date update in version.in
GDB Administrator [Fri, 22 Mar 2024 00:01:19 +0000 (00:01 +0000)] 
Automatic date update in version.in

16 months agoAutomatic date update in version.in
GDB Administrator [Thu, 21 Mar 2024 00:02:08 +0000 (00:02 +0000)] 
Automatic date update in version.in

16 months agoAutomatic date update in version.in
GDB Administrator [Wed, 20 Mar 2024 00:01:28 +0000 (00:01 +0000)] 
Automatic date update in version.in

16 months agoAutomatic date update in version.in
GDB Administrator [Tue, 19 Mar 2024 00:00:44 +0000 (00:00 +0000)] 
Automatic date update in version.in

16 months agoAutomatic date update in version.in
GDB Administrator [Mon, 18 Mar 2024 00:01:14 +0000 (00:01 +0000)] 
Automatic date update in version.in

16 months agoAutomatic date update in version.in
GDB Administrator [Sun, 17 Mar 2024 00:00:41 +0000 (00:00 +0000)] 
Automatic date update in version.in

16 months agoAutomatic date update in version.in
GDB Administrator [Sat, 16 Mar 2024 00:00:45 +0000 (00:00 +0000)] 
Automatic date update in version.in

16 months agoAutomatic date update in version.in
GDB Administrator [Fri, 15 Mar 2024 00:01:00 +0000 (00:01 +0000)] 
Automatic date update in version.in

16 months agoAutomatic date update in version.in
GDB Administrator [Thu, 14 Mar 2024 00:01:59 +0000 (00:01 +0000)] 
Automatic date update in version.in

16 months agoAutomatic date update in version.in
GDB Administrator [Wed, 13 Mar 2024 00:00:59 +0000 (00:00 +0000)] 
Automatic date update in version.in

16 months agoAutomatic date update in version.in
GDB Administrator [Tue, 12 Mar 2024 00:01:41 +0000 (00:01 +0000)] 
Automatic date update in version.in

16 months agoAutomatic date update in version.in
GDB Administrator [Mon, 11 Mar 2024 00:01:27 +0000 (00:01 +0000)] 
Automatic date update in version.in

16 months agoAutomatic date update in version.in
GDB Administrator [Sun, 10 Mar 2024 00:00:48 +0000 (00:00 +0000)] 
Automatic date update in version.in

16 months agoAutomatic date update in version.in
GDB Administrator [Sat, 9 Mar 2024 00:00:52 +0000 (00:00 +0000)] 
Automatic date update in version.in

16 months agoAutomatic date update in version.in
GDB Administrator [Fri, 8 Mar 2024 00:00:51 +0000 (00:00 +0000)] 
Automatic date update in version.in

16 months agoAutomatic date update in version.in
GDB Administrator [Thu, 7 Mar 2024 00:01:45 +0000 (00:01 +0000)] 
Automatic date update in version.in

16 months agoAutomatic date update in version.in
GDB Administrator [Wed, 6 Mar 2024 00:02:09 +0000 (00:02 +0000)] 
Automatic date update in version.in

16 months agoAutomatic date update in version.in
GDB Administrator [Tue, 5 Mar 2024 00:01:26 +0000 (00:01 +0000)] 
Automatic date update in version.in

16 months agoAutomatic date update in version.in
GDB Administrator [Mon, 4 Mar 2024 00:01:13 +0000 (00:01 +0000)] 
Automatic date update in version.in

16 months agoBump GDB's version number to 14.2.90.DATE-git.
Joel Brobecker [Sun, 3 Mar 2024 06:08:46 +0000 (10:08 +0400)] 
Bump GDB's version number to 14.2.90.DATE-git.

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

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

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

16 months agoSet GDB version number to 14.2. gdb-14.2-release
Joel Brobecker [Sun, 3 Mar 2024 05:55:01 +0000 (09:55 +0400)] 
Set GDB version number to 14.2.

This commit changes gdb/version.in to 14.2.

16 months agoAutomatic date update in version.in
GDB Administrator [Sun, 3 Mar 2024 00:01:26 +0000 (00:01 +0000)] 
Automatic date update in version.in

16 months agoAutomatic date update in version.in
GDB Administrator [Sat, 2 Mar 2024 00:00:43 +0000 (00:00 +0000)] 
Automatic date update in version.in

17 months agoAutomatic date update in version.in
GDB Administrator [Fri, 1 Mar 2024 00:01:11 +0000 (00:01 +0000)] 
Automatic date update in version.in

17 months agoAutomatic date update in version.in
GDB Administrator [Thu, 29 Feb 2024 00:01:36 +0000 (00:01 +0000)] 
Automatic date update in version.in

17 months agoAutomatic date update in version.in
GDB Administrator [Wed, 28 Feb 2024 00:00:46 +0000 (00:00 +0000)] 
Automatic date update in version.in

17 months agoAutomatic date update in version.in
GDB Administrator [Tue, 27 Feb 2024 00:00:50 +0000 (00:00 +0000)] 
Automatic date update in version.in

17 months agoAutomatic date update in version.in
GDB Administrator [Mon, 26 Feb 2024 00:01:02 +0000 (00:01 +0000)] 
Automatic date update in version.in

17 months agoAutomatic date update in version.in
GDB Administrator [Sun, 25 Feb 2024 00:01:34 +0000 (00:01 +0000)] 
Automatic date update in version.in

17 months agoAutomatic date update in version.in
GDB Administrator [Sat, 24 Feb 2024 00:00:58 +0000 (00:00 +0000)] 
Automatic date update in version.in

17 months agoAutomatic date update in version.in
GDB Administrator [Fri, 23 Feb 2024 00:01:24 +0000 (00:01 +0000)] 
Automatic date update in version.in

17 months agoAutomatic date update in version.in
GDB Administrator [Thu, 22 Feb 2024 00:01:25 +0000 (00:01 +0000)] 
Automatic date update in version.in

17 months agoAutomatic date update in version.in
GDB Administrator [Wed, 21 Feb 2024 00:00:44 +0000 (00:00 +0000)] 
Automatic date update in version.in

17 months agoAutomatic date update in version.in
GDB Administrator [Tue, 20 Feb 2024 00:00:40 +0000 (00:00 +0000)] 
Automatic date update in version.in

17 months agoAutomatic date update in version.in
GDB Administrator [Mon, 19 Feb 2024 00:00:50 +0000 (00:00 +0000)] 
Automatic date update in version.in

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

17 months agoAutomatic date update in version.in
GDB Administrator [Sat, 17 Feb 2024 00:00:30 +0000 (00:00 +0000)] 
Automatic date update in version.in

17 months agoAutomatic date update in version.in
GDB Administrator [Fri, 16 Feb 2024 00:00:32 +0000 (00:00 +0000)] 
Automatic date update in version.in

17 months agoAutomatic date update in version.in
GDB Administrator [Thu, 15 Feb 2024 00:00:52 +0000 (00:00 +0000)] 
Automatic date update in version.in

17 months agoAutomatic date update in version.in
GDB Administrator [Wed, 14 Feb 2024 00:00:31 +0000 (00:00 +0000)] 
Automatic date update in version.in

17 months agoAutomatic date update in version.in
GDB Administrator [Tue, 13 Feb 2024 00:00:56 +0000 (00:00 +0000)] 
Automatic date update in version.in

17 months agoAutomatic date update in version.in
GDB Administrator [Mon, 12 Feb 2024 00:00:52 +0000 (00:00 +0000)] 
Automatic date update in version.in

17 months agoFix crash when calling Frame.static_link
Hannes Domani [Sun, 11 Feb 2024 16:40:59 +0000 (17:40 +0100)] 
Fix crash when calling Frame.static_link

If you try to call Frame.static_link for a frame without debug info,
gdb crashes:
```
Temporary breakpoint 1, 0x000000013f821650 in main ()
(gdb) py print(gdb.selected_frame().static_link())

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
```

The problem was a missing check if get_frame_block returns nullptr
inside frame_follow_static_link.

With this, it works:
```
Temporary breakpoint 1, 0x000000013f941650 in main ()
(gdb) py print(gdb.selected_frame().static_link())
None
```

Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=31366
Approved-By: Tom Tromey <tom@tromey.com>
17 months agoAutomatic date update in version.in
GDB Administrator [Sun, 11 Feb 2024 00:00:26 +0000 (00:00 +0000)] 
Automatic date update in version.in

17 months agoAutomatic date update in version.in
GDB Administrator [Sat, 10 Feb 2024 00:00:57 +0000 (00:00 +0000)] 
Automatic date update in version.in

17 months agoAutomatic date update in version.in
GDB Administrator [Fri, 9 Feb 2024 00:00:29 +0000 (00:00 +0000)] 
Automatic date update in version.in

17 months agoAutomatic date update in version.in
GDB Administrator [Thu, 8 Feb 2024 00:01:44 +0000 (00:01 +0000)] 
Automatic date update in version.in

17 months agoAutomatic date update in version.in
GDB Administrator [Wed, 7 Feb 2024 00:01:42 +0000 (00:01 +0000)] 
Automatic date update in version.in

17 months ago[gdb/tdep] Fix use-after-free in arm_exidx_fill_cache
Tom de Vries [Mon, 5 Feb 2024 10:04:06 +0000 (11:04 +0100)] 
[gdb/tdep] Fix use-after-free in arm_exidx_fill_cache

On arm-linux the linaro CI occasionally reports:
...
 (gdb) up 10
 #4  0x0001b864 in pthread_join ()
 (gdb) FAIL: gdb.threads/staticthreads.exp: up 10
...
while this is expected:
...
 (gdb) up 10
 #3  0x00010568 in main (argc=1, argv=0xfffeede4) at staticthreads.c:76
 76          pthread_join (thread, NULL);
 (gdb) PASS: gdb.threads/staticthreads.exp: up 10
...

Thiago investigated the problem, and using valgrind found an invalid read in
arm_exidx_fill_cache.

The problem happens as follows:
- an objfile and corresponding per_bfd are allocated
- some memory is allocated in arm_exidx_new_objfile using
  objfile->objfile_obstack, for the "exception table entry cache".
- a symbol reread is triggered, and the objfile, including the
  objfile_obstack, is destroyed
- a new objfile is allocated, using the same per_bfd
- again arm_exidx_new_objfile is called, but since the same per_bfd is used,
  it doesn't allocate any new memory for the "exception table entry cache".
- the "exception table entry cache" is accessed by arm_exidx_fill_cache,
  and we have a use-after-free.

This is a regression since commit a2726d4ff80 ("[ARM] Store exception handling
information per-bfd instead of per-objfile"), which changed the "exception
table entry cache" from per-objfile to per-bfd, but failed to update the
obstack_alloc.

Fix this by using objfile->per_bfd->storage_obstack instead of
objfile->objfile_obstack.

I couldn't reproduce the FAIL myself, but Thiago confirmed that the patch
fixes it.

Tested on arm-linux.

Approved-By: Luis Machado <luis.machado@arm.com>
PR tdep/31254
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=31254

17 months agoAutomatic date update in version.in
GDB Administrator [Tue, 6 Feb 2024 00:01:45 +0000 (00:01 +0000)] 
Automatic date update in version.in

17 months agoAutomatic date update in version.in
GDB Administrator [Mon, 5 Feb 2024 00:00:44 +0000 (00:00 +0000)] 
Automatic date update in version.in

17 months agoAutomatic date update in version.in
GDB Administrator [Sun, 4 Feb 2024 00:01:26 +0000 (00:01 +0000)] 
Automatic date update in version.in

17 months agoAutomatic date update in version.in
GDB Administrator [Sat, 3 Feb 2024 00:00:39 +0000 (00:00 +0000)] 
Automatic date update in version.in

17 months agoAutomatic date update in version.in
GDB Administrator [Fri, 2 Feb 2024 00:01:30 +0000 (00:01 +0000)] 
Automatic date update in version.in

17 months agoAutomatic date update in version.in
GDB Administrator [Thu, 1 Feb 2024 00:01:47 +0000 (00:01 +0000)] 
Automatic date update in version.in

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

18 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