1
0
Fork 0
mirror of git://sourceware.org/git/binutils-gdb.git synced 2025-12-06 05:34:44 +00:00
No description
Find a file
Jan Vrany ffa404804e gdb: update is_addr_in_objfile to support "dynamic" objfiles
While working with objfiles in Python I noticed that
gdb.Progspace.objfile_for_address () does not return "dynamic" objfiles
created by (for example) GDB's JIT reader API.

This is because is_addr_in_objfile() checks if a given address falls into
any (mappped) section of that objfile. However objfiles created by JIT
reader API do not have sections.

To solve this issue, this commit updates is_addr_in_objfile() to also
check if the address fall into any compunit in that objfile. It does so
only if the objfile has no sections.
2025-11-28 13:47:02 +00:00
bfd ld: support most modifiers for printf() like vfinfo() format specifiers 2025-11-28 09:48:18 +01:00
binutils bfd/Dwarf: Add suitable defines to use at call and use sites 2025-11-28 09:47:43 +01:00
config tidy m4 plugin config support 2025-11-03 10:59:50 +10:30
contrib [contrib] Accept _("") and operator() in check_GNU_style_lib.py 2025-11-20 10:46:54 +01:00
cpu Add markers for 2.45 branch 2025-07-13 08:35:45 +01:00
elfcpp gold: Treat symbols with version index 0 as unversioned 2025-11-18 06:13:16 +08:00
etc Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
gas gas: move code for object attribute parsing into obj-elf-attr.c 2025-11-24 10:18:13 +00:00
gdb gdb: update is_addr_in_objfile to support "dynamic" objfiles 2025-11-28 13:47:02 +00:00
gdbserver gdb: include NT_I386_TLS note in generated core files 2025-11-20 16:41:19 +00:00
gdbsupport gdb, gdbsupport: use DISABLE_COPY_AND_ASSIGN in a few spots 2025-11-14 14:50:39 -05:00
gnulib Import the c-ctype module from gnulib 2025-09-09 11:58:27 -06:00
gold gold: Treat symbols with version index 0 as unversioned 2025-11-18 06:13:16 +08:00
gprof gprofng: Add documentation on converting gmon files. 2025-11-20 14:59:33 +02:00
gprofng gprofng: disable LTO as a workaround 2025-11-22 11:59:02 +00:00
include RISC-V: Fixed opcodes for some bitmanip instructions 2025-11-21 22:33:09 +03:00
ld ld: support most modifiers for printf() like vfinfo() format specifiers 2025-11-28 09:48:18 +01:00
libbacktrace tidy m4 plugin config support 2025-11-03 10:59:50 +10:30
libctf ctf-archive sanity checks 2025-11-03 13:01:42 +10:30
libdecnumber regen config 2023-08-12 10:27:57 +09:30
libiberty tidy m4 plugin config support 2025-11-03 10:59:50 +10:30
libsframe libsframe: testsuite: remove usage of ##__VA_ARGS__ 2025-11-25 22:44:00 -08:00
opcodes x86: drop a few excess AVX512VL from opcode table 2025-11-28 09:48:54 +01:00
readline readline/tcap.h: Update definitions for C23 2025-05-02 12:00:05 -06:00
sim tidy m4 plugin config support 2025-11-03 10:59:50 +10:30
texinfo
zlib tidy m4 plugin config support 2025-11-03 10:59:50 +10:30
.cvsignore
.editorconfig toplevel: unify the GCC and GDB/binutils .editorconfig files 2025-10-01 16:20:29 +01:00
.gitattributes binutils-gdb/git: highlight whitespace errors in source files 2022-07-25 14:35:41 +01:00
.gitignore Add Vim swap files to .gitignore 2025-02-28 16:06:25 +00:00
.pre-commit-config.yaml pre-commit: bump black to 25.11.0 2025-11-13 11:48:27 -05:00
ar-lib
ChangeLog Add markers for 2.45 branch 2025-07-13 08:35:45 +01:00
compile
config-ml.in MSP430: Add -fno-exceptions multilib 2023-08-12 10:24:26 +09:30
config.guess Sync config.guess and config.sub with latest versions from the config project. 2025-01-17 10:18:30 +00:00
config.rpath
config.sub Sync config.guess and config.sub with latest versions from the config project. 2025-01-17 10:18:30 +00:00
configure Sync top-level with GCC 2025-11-03 09:53:04 +00:00
configure.ac Sync top-level with GCC 2025-11-03 09:53:04 +00:00
COPYING
COPYING.LIB
COPYING.LIBGLOSS
COPYING.NEWLIB
COPYING3
COPYING3.LIB
depcomp
djunpack.bat
install-sh
libtool.m4 Binutils/GCC: Add clang LTO support to AR, NM and RANLIB 2025-09-25 12:30:13 +08:00
ltgcc.m4
ltmain.sh ltmain.sh: allow more flags at link-time 2024-09-25 19:06:10 +01:00
ltoptions.m4
ltsugar.m4
ltversion.m4
lt~obsolete.m4
MAINTAINERS Fix compiling bfd/vms-lib.c for a 32-bit host. 2024-03-18 10:26:16 +00:00
Makefile.def Sync top-level with GCC 2025-11-03 09:53:04 +00:00
Makefile.in Sync toplevel files from gcc 2025-10-02 07:42:18 +08:00
Makefile.tpl Sync toplevel files from gcc 2025-10-02 07:42:18 +08:00
makefile.vms
missing
mkdep
mkinstalldirs
move-if-change
multilib.am Merge autoconf / automake update changes from GCC. 2018-10-31 17:10:56 +00:00
README README: don't talk about libg++ 2025-09-07 04:06:01 +01:00
README-maintainer-mode Note that at least dejagnu version 1.5.3 is required in order to be ale to run the testsuites. 2022-10-04 10:54:19 +01:00
SECURITY.txt Add a SECURITY.txt file describing the GNU Binutils' project's stance on security related bugs. 2023-04-20 16:52:11 +01:00
setup.com
src-release.sh Rename 'binutils' to 'binutils_with_gold'. Rename 'bin_no_gold' to 'binutils'. Add 'gold' 2025-02-04 11:50:02 +00:00
symlink-tree
test-driver
ylwrap

		   README for GNU development tools

This directory contains various GNU compilers, assemblers, linkers, 
debuggers, etc., plus their support routines, definitions, and documentation.

If you are receiving this as part of a GDB release, see the file gdb/README.
If with a binutils release, see binutils/README, and so on. That'll give you
info about this package -- supported targets, how to use it, how to report
bugs, etc.

It is now possible to automatically configure and build a variety of
tools with one command.  To build all of the tools contained herein,
run the ``configure'' script here, e.g.:

	./configure 
	make

To install them (by default in /usr/local/bin, /usr/local/lib, etc),
then do:
	make install

(If the configure script can't determine your type of computer, give it
the name as an argument, for instance ``./configure sun4''.  You can
use the script ``config.sub'' to test whether a name is recognized; if
it is, config.sub translates it to a triplet specifying CPU, vendor,
and OS.)

If you have more than one compiler on your system, it is often best to
explicitly set CC in the environment before running configure, and to
also set CC when running make.  For example (assuming sh/bash/ksh):

	CC=gcc ./configure
	make

A similar example using csh:

	setenv CC gcc
	./configure
	make

Much of the code and documentation enclosed is copyright by
the Free Software Foundation, Inc.  See the file COPYING or
COPYING.LIB in the various directories, for a description of the
GNU General Public License terms under which you can copy the files.

REPORTING BUGS: Again, see gdb/README, binutils/README, etc., for info
on where and how to report problems.