aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2023-01-16ld: Use run_cc_link_tests for PR ld/26391 testsusers/hjl/try-pr30002H.J. Lu1-11/+4
Use run_cc_link_tests for PR ld/26391 tests to compile PR ld/26391 tests in C. PR ld/30002 * testsuite/ld-elf/elf.exp: Use run_cc_link_tests for PR ld/26391 tests.
2023-01-16libctf: update regexp to allow makeinfo to build documentEnze Li2-2/+2
While trying to build gdb on latest openSUSE Tumbleweed, I noticed the following warning, checking for makeinfo... makeinfo --split-size=5000000 configure: WARNING: *** Makeinfo is too old. Info documentation will not be built. then I checked the version of makeinfo, it said, ====== $ makeinfo --version texi2any (GNU texinfo) 7.0.1 Copyright (C) 2022 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. ====== After digging a little bit, it became quite obvious that a dot is missing in regexp that makes it impossible to match versions higher than 7.0, and here's the solution: - | egrep 'texinfo[^0-9]*(6\.[3-9]|[7-9][0-9])' >/dev/null 2>&1; then + | egrep 'texinfo[^0-9]*(6\.[3-9]|[7-9]\.[0-9])' >/dev/null 2>&1; then However, Eli pointed out that the solution above has another problem: it will stop working when Texinfo 10.1 will be released. Meanwhile, he suggested to solve this problem permanently. That is, we don't care about the minor version for Texinfo > 6.9, we only care about the major version. In this way, the problem will be resolved permanently, thanks to Eli. libctf/ChangeLog: * configure: Regenerated. * configure.ac: Update regexp to match versions higher than 7.0.
2023-01-16Correct ld-pe/aarch64.d test outputAlan Modra1-12/+12
"foo" is at 0x2010. This corrects the expected output for .long and .word referencing foo, showing a problem with relocation handling. * testsuite/ld-pe/aarch64.d: Correct expected output.
2023-01-16Tidy gas/expr.c static stateAlan Modra7-107/+123
* expr.c (seen, nr_seen): Make file scope. (expr_begin): Clear seen, nr_seen, and expr_symbol_lines. (expr_end): New function. * expr.h (expr_end): Declare. * output-file.c (output_file_close): Call expr_end. * config/tc-hppa.c (expr_end): Rename to expr_parse_end. * config/tc-mips.c: Likewise. * config/tc-riscv.c: Likewise. * config/tc-sparc.c: Likewise.
2023-01-16Leftover hack from i960-coffAlan Modra1-6/+2
* reloc.c (bfd_perform_relocation, bfd_install_relocation): Remove i960-coff target hack.
2023-01-16COFF CALC_ADDEND commentAlan Modra1-0/+8
Old COFF (and AOUT) targets have unusual relocation addends. * coffcode.h (<Reading relocations>): Describe COFF addends.
2023-01-16PR29991, MicroMIPS flag erased after align directivesAlan Modra5-0/+35
PR 29991 * config/tc-mips.c (s_align): Call file_mips_check_options and mips_mark_labels. * testsuite/gas/mips/align-after-label.s, * testsuite/gas/mips/mips-align-after-label.d, * testsuite/gas/mips/micromips-align-after-label.d: New test. * testsuite/gas/mips/mips.exp: Run it.
2023-01-16Update release making howtoNick Clifton1-1/+1
2023-01-16Updated translations for the gas and binutils sub-directoriesNick Clifton4-5124/+5991
2023-01-16sim: assume sys/stat.h always exists (via gnulib)Mike Frysinger7-46/+4
We have many uses of sys/stat.h that are unprotected by HAVE_SYS_STAT_H, so this is more formalizing the reality that we require this header. Since we switched to gnulib, it guarantees that a sys/stat.h exists for us to include, so we're doubly OK.
2023-01-16sim: formally assume unistd.h always exists (via gnulib)Mike Frysinger31-67/+4
We have many uses of unistd.h that are unprotected by HAVE_UNISTD_H, so this is more formalizing the reality that we require this header. Since we switched to gnulib, it guarantees that a unistd.h exists for us to include, so we're doubly OK.
2023-01-16sim: build: stop probing system extensions (ourselves)Mike Frysinger3-189/+3
This logic was added in order to expose the strsignal prototype for nrun.c. Since then, we've migrated to gnulib as our portability layer, and it takes care of probing system extensions for us, so there's no need to duplicate the work.
2023-01-15sim: modules.c: fix generation after recent refactorsMike Frysinger32-0/+155
Add explicit arch-specific modules.c rules to keep the build from generating an incorrect common/modules.c. Otherwise the pattern rules would cascade such that it'd look for $arch/modules.o which turned into common/modules.c which triggered the gen rule. My local testing of this code didn't catch this bug because of how Automake manages .Po (dependency files) in incremental builds -- it was adding extra rules that override the pattern rules which caused the build to generate correct modules.c files. But when building from a cold cache, the pattern rules would force common/modules.c to be used leading to crashes at runtime.
2023-01-16Automatic date update in version.inGDB Administrator1-1/+1
2023-01-15sim: microblaze, mn10300: remove signal.h include in interp.cMark Wielaard2-3/+0
signal.h isn't needed in microblaze and mn10300 interp.c so don't include it.
2023-01-15sim: m32r: fix typos in stamp dependsMike Frysinger2-4/+4
Copying & pasting the first rule missed updating the dep to the right stamp file.
2023-01-15sim: igen: simplify build logic a littleMike Frysinger5-354/+275
Now that all ports (that use igen) build in the top-level and depend on igen, we can move the conditional logic out of configure. We also switch from noinst_LIBRARIES to EXTRA_LIBRARIES so that the library is only built when needed (i.e. the igen tool is used).
2023-01-14sim: build: drop depdir subdir hackMike Frysinger2-164/+0
Now that all the ports compile some C files in their arch dirs, Automake guarantees creating the depdir for us, so we can drop our configure hack.
2023-01-14sim: common: simplify modules.c depsMike Frysinger2-9/+4
Now that all ports (other than ppc) build in the top-level, we don't need to expand all the modules.c targets as a recursive dep. Each port depends on their respective file now, and the ppc port doesn't use it at all.
2023-01-14sim: common: move modules.c to source trackingMike Frysinger32-195/+584
This makes sure the arch-specific modules.c wildcard is matched and not the common/%.c so that we compile it correctly. It also makes sure each subdir has depdir logic enabled.
2023-01-14sim: common: move libcommon.a dep to ppc codeMike Frysinger3-30/+34
Rather than force this to be built ahead of time for all targets, move the dep to the ppc code since it's the only user of it now.
2023-01-14sim: build: drop most recursive build depsMike Frysinger16-173/+153
Now that we build these objects in the top dir & generate modules.c there, we don't need to generate them all first -- we can let the normal dependency graph take care of building things in parallel.
2023-01-14sim: common: move libcommon.a objects to sourcesMike Frysinger33-251/+275
This simplifies the build logic and avoids an Automake bug where the common_libcommon_a_OBJECTS variable isn't set in the arch libsim.a DEPENDENCIES for targets that, alphabetically, come before "common". We aren't affected by that bug with the current code, but as we move things out of SIM_ALL_RECURSIVE_DEPS and rely on finer dependencies, we will trip over it.
2023-01-14sim: igen: simplify build depMike Frysinger2-156/+151
Now that all ports (other than ppc) build in the top-level, we don't need to mark the igen tool as a recursive dep. Each port depends on the tool if it actually uses it, and ppc doesn't use it at all.
2023-01-14sim: common: simplify hw-config.h depsMike Frysinger2-13/+9
Now that all ports (other than ppc) build in the top-level, we don't need to expand all the hw-config.h targets as a recursive dep. Each port depends on their respective header now, and the ppc port doesn't use it at all.
2023-01-14sim: build: drop AM_MAKEFLAGS settingsMike Frysinger10-185/+161
We don't have any recursive builds anymore, so we can drop this logic.
2023-01-15Automatic date update in version.inGDB Administrator1-1/+1
2023-01-14Pass internal gdb flags to --configuration invocationsTom Tromey2-3/+3
The test suite uses the --configuration flag to feature-test gdb. However, when I added this, I neglected to pass the internal gdbflags to this, causing an error, which then caused failures in the test suite (which would not be seen if you'd ever run "make install"). This patch fixes the bug. Tested by removing my install tree first, to verify that I could reproduce the failure.
2023-01-14Update how-to-make-a-release file now that the 2.40 release is outNick Clifton1-44/+65
2023-01-14Automatic date update in version.inGDB Administrator1-1/+1
2023-01-13sim: build: delete Make-common.in logicMike Frysinger6-286/+3
Now that all (other than ppc) build in the top-level, this logic is unused, so punt it all.
2023-01-13Rename to allow_tui_testsTom Tromey12-38/+28
This changes skip_tui_tests to invert the sense, and renames it to allow_tui_tests. It also rewrites this function to use the output of "gdb --configuration", and it adds a note about the state of the TUI to that output.
2023-01-13Rename to allow_guile_testsTom Tromey28-97/+56
This changes skip_guile_tests to invert the sense, and renames it to allow_guile_tests. It also rewrites this proc to check the output of "gdb --configuration", as was done for Python. Then it changes the code to use "require" where possible.
2023-01-13Rename to allow_hw_breakpoint_testsTom Tromey8-18/+12
This changes skip_hw_breakpoint_tests to invert the sense, and renames it to allow_hw_breakpoint_tests. This also converts some tests to use "require" -- I missed this particular check in the first series.
2023-01-13Rename to allow_tsx_testsTom Tromey2-11/+11
This changes skip_tsx_tests to invert the sense, and renames it to allow_tsx_tests.
2023-01-13Rename to allow_shlib_testsTom Tromey87-93/+93
This changes skip_shlib_tests to invert the sense, and renames it to allow_shlib_tests.
2023-01-13Rename to allow_rust_testsTom Tromey16-20/+20
This changes skip_rust_tests to invert the sense, and renames it to allow_rust_tests.
2023-01-13Rename to allow_python_testsTom Tromey116-122/+122
This changes skip_python_tests to invert the sense, and renames it to allow_python_tests.
2023-01-13Rename to allow_perf_testsTom Tromey22-26/+26
This changes skip_perf_tests to invert the sense, and renames it to allow_perf_tests.
2023-01-13Rename to allow_opencl_testsTom Tromey6-13/+13
This changes skip_opencl_tests to invert the sense, and renames it to allow_opencl_tests.
2023-01-13Rename to allow_ifunc_testsTom Tromey3-6/+6
This changes skip_ifunc_tests to invert the sense, and renames it to allow_ifunc_tests.
2023-01-13Rename to allow_hw_watchpoint_testsTom Tromey32-97/+97
This changes skip_hw_watchpoint_tests to invert the sense, and renames it to allow_hw_watchpoint_tests.
2023-01-13Rename to allow_hw_watchpoint_multi_testsTom Tromey7-11/+11
This changes skip_hw_watchpoint_multi_tests to invert the sense, and renames it to allow_hw_watchpoint_multi_tests.
2023-01-13Rename to allow_hw_watchpoint_access_testsTom Tromey8-12/+12
This changes skip_hw_watchpoint_access_tests to invert the sense, and renames it to allow_hw_watchpoint_access_tests.
2023-01-13Rename to allow_go_testsTom Tromey15-17/+17
This changes skip_go_tests to invert the sense, and renames it to allow_go_tests.
2023-01-13Rename to allow_gdbserver_testsTom Tromey39-46/+46
This changes skip_gdbserver_tests to invert the sense, and renames it to allow_gdbserver_tests.
2023-01-13Rename to allow_fortran_testsTom Tromey74-76/+76
This changes skip_fortran_tests to invert the sense, and renames it to allow_fortran_tests.
2023-01-13Rename to allow_d_testsTom Tromey8-10/+10
This changes skip_d_tests to invert the sense, and renames it to allow_d_tests.
2023-01-13Rename to allow_dlmopen_testsTom Tromey2-13/+13
This changes skip_dlmopen_tests to invert the sense, and renames it to allow_dlmopen_tests.
2023-01-13Rename to allow_debuginfod_testsTom Tromey2-8/+8
This changes skip_debuginfod_tests to invert the sense, and renames it to allow_debuginfod_tests.