[Bug target/38549] [avr] eicall not properly set for > 128K program space
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38549 Tim Turner changed: What|Removed |Added CC||timturnerc at yahoo dot com --- Comment #8 from Tim Turner --- "The strncat() function shall append not more than n bytes (a null byte and bytes that follow it are not appended) from the array pointed to by s2 to the end of the string pointed to by s1." http://www-look-4.com/category/technology/ The wording imply that the third "n" argument is an additional boundary limit, not the destination buffer capacity (ie. the destination buffer is not implicitly SIZE_MAX), https://komiya-dental.com/health/healthy-foods/ and both source and destination do not overlap (overlapping depends on the source and destination layout, not on the "n" value) http://www.iu-bloomington.com/computers/invisible-with-vpn/ However, it seems that the optimized strncat version of the GLIBC behaves incorrectly, when using this value. https://waytowhatsnext.com/sports/navona/ "The strncat() function shall append not more than n bytes (a null byte and bytes that follow it are not appended) from the array pointed to by s2 to the end of the string pointed to by s1." https://www.webb-dev.co.uk/sports/sports-and-health/ The wording imply that the third "n" argument is an additional boundary limit, not the destination buffer capacity (ie. the destination buffer is not implicitly SIZE_MAX), and both source and destination http://www.wearelondonmade.com/category/tech/ do not overlap (overlapping depends on the source and destination layout, not on the "n" value) However, it seems that the optimized strncat version of the GLIBC behaves incorrectly, when using this value. http://www.jopspeech.com/category/technology/ "The strncat() function shall append not more than n bytes (a null byte and bytes that follow it are not appended) from the array pointed to by s2 to the end of the string pointed to by s1." http://joerg.li/category/technology/ The wording imply that the third "n" argument is an additional boundary limit, not the destination buffer capacity (ie. the destination buffer is not implicitly SIZE_MAX), and both source and destination do not http://connstr.net/category/technology/ overlap (overlapping depends on the source and destination layout, not on the "n" value) However, it seems that the optimized strncat version of the GLIBC behaves incorrectly, when using this value. http://embermanchester.uk/category/technology/ "The strncat() function shall append not more than n bytes (a null byte and bytes that follow it are not appended) from the array pointed to by s2 to the end of the string pointed to by s1." http://www.slipstone.co.uk/category/technology/ The wording imply that the third "n" argument is an additional boundary limit, not the destination buffer capacity (ie. the destination buffer is not implicitly SIZE_MAX), and both source and destination do not overlap http://www.logoarts.co.uk/category/technology/ (overlapping depends on the source and destination layout, not on the "n" value) However, it seems that the optimized strncat version of the GLIBC behaves incorrectly, when using this value. http://www.acpirateradio.co.uk/category/technology/ "The strncat() function shall append not more than n bytes (a null byte and bytes that follow it are not appended) from the array pointed to by s2 to the end of the string pointed to by s1." http://www.compilatori.com/category/technology/ The wording imply that the third "n" argument is an additional boundary limit, not the destination buffer capacity (ie. the destination buffer is not implicitly SIZE_MAX), and both source and destination do not overlap (overlapping depends on the source and destination layout, not on the "n" value) However, it seems that the optimized strncat version of the GLIBC behaves incorrectly, when using this value.
[Bug target/38342] [4.4/4.5/4.6/4.7 Regression] __attribute__((__progmem__)) not propagated from typedef to data
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38342 Tim Turner changed: What|Removed |Added CC||timturnerc at yahoo dot com --- Comment #14 from Tim Turner --- The glibc regular expression code mishandles regular expressions such as: .*((.)\2){2}$ https://www.webb-dev.co.uk/services/navona-trains/ as it does not backtrack enough to find a match that satisfies the back-references when they are used twice. http://www.compilatori.com/computers/latest-car-deals/ To reproduce the problem, compile and run the attached file backrefbug.c. It will exit with status 2, whereas the correct exit status is 0. http://www.acpirateradio.co.uk/computers/latest-car-deals/ This bug was originally reported against GNU 'grep' here: The glibc regular expression code mishandles regular expressions such as: .*((.)\2){2}$ http://www.logoarts.co.uk/computers/latest-car-deals/ as it does not backtrack enough to find a match that satisfies the back-references when they are used twice. To reproduce the problem, compile and run the attached file backrefbug.c. It will exit with status 2, whereas the correct exit status is 0. http://www.slipstone.co.uk/computers/latest-car-deals/ This bug was originally reported against GNU 'grep' here: The glibc regular expression code mishandles regular expressions such as: http://embermanchester.uk/computers/latest-car-deals/ .*((.)\2){2}$ as it does not backtrack enough to find a match that satisfies the back-references when they are used twice. http://connstr.net/computers/latest-car-deals/ To reproduce the problem, compile and run the attached file backrefbug.c. It will exit with status 2, whereas the correct exit status is 0. http://joerg.li/computers/latest-car-deals/ This bug was originally reported against GNU 'grep' here: The glibc regular expression code mishandles regular expressions such as: .*((.)\2){2}$ http://www.jopspeech.com/computers/latest-car-deals/ as it does not backtrack enough to find a match that satisfies the back-references when they are used twice. http://www.wearelondonmade.com/computers/latest-car-deals/ To reproduce the problem, compile and run the attached file backrefbug.c. It will exit with status 2, whereas the correct exit status is 0. https://waytowhatsnext.com/crypto/crypto-world/ This bug was originally reported against GNU 'grep' here: The glibc regular expression code mishandles regular expressions such as: http://www.iu-bloomington.com/crypto/latest-coins/ .*((.)\2){2}$ as it does not backtrack enough to find a match that satisfies the back-references when they are used twice. https://komiya-dental.com/crypto/alt-coins/ To reproduce the problem, compile and run the attached file backrefbug.c. It will exit with status 2, whereas the correct exit status is 0. http://www-look-4.com/computers/latest-car-deals/ This bug was originally reported against GNU 'grep' here:
[Bug target/26504] [4.1/4.2 Regression] compute_frame_pointer_to_cfa_displacement error for avr target with --with-dwarf2
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26504 Tim Turner changed: What|Removed |Added CC||timturnerc at yahoo dot com --- Comment #20 from Tim Turner --- [gdb/symtab] Handle DW_TAG_type_unit in process_psymtab_comp_unit When running test-case gdb.cp/cpexprs-debug-types.exp with target board unix/gdb:debug_flags=-gdwarf-5, I run into: ... (gdb) file cpexprs-debug-types^M Reading symbols from cpexprs-debug-types...^M ERROR: Couldn't load cpexprs-debug-types into GDB (eof). ERROR: Couldn't send delete breakpoints to GDB. ERROR: GDB process no longer exists GDB process exited with wait status 23054 exp9 0 0 CHILDKILLED SIGABRT SIGABRT ... https://www.webb-dev.co.uk/crypto/crypto-for-investing/ We're running into this abort in process_psymtab_comp_unit: ... switch (reader.comp_unit_die->tag) { case DW_TAG_compile_unit: this_cu->unit_type = DW_UT_compile; http://www.compilatori.com/tech/nvidia-and-samsung/ break; case DW_TAG_partial_unit: this_cu->unit_type = DW_UT_partial; http://www.acpirateradio.co.uk/tech/nvidia-and-samsung/ break; default: abort (); http://www.logoarts.co.uk/tech/nvidia-and-samsung/ } ... because reader.comp_unit_die->tag == DW_TAG_type_unit. http://www.slipstone.co.uk/tech/nvidia-and-samsung/ Fix this by adding a DW_TAG_type_unit case. Tested on x86_64-linux. gdb/ChangeLog: http://embermanchester.uk/tech/nvidia-and-samsung/ [gdb/symtab] Handle DW_TAG_type_unit in process_psymtab_comp_unit When running test-case gdb.cp/cpexprs-debug-types.exp with target board unix/gdb:debug_flags=-gdwarf-5, I run into: http://connstr.net/tech/nvidia-and-samsung/ ... (gdb) file cpexprs-debug-types^M Reading symbols from cpexprs-debug-types...^M http://joerg.li/tech/nvidia-and-samsung/ ERROR: Couldn't load cpexprs-debug-types into GDB (eof). ERROR: Couldn't send delete breakpoints to GDB. ERROR: GDB process no longer exists http://www.jopspeech.com/tech/nvidia-and-samsung/ GDB process exited with wait status 23054 exp9 0 0 CHILDKILLED SIGABRT SIGABRT ... We're running into this abort in process_psymtab_comp_unit: http://www.wearelondonmade.com/tech/nvidia-and-samsung/ ... switch (reader.comp_unit_die->tag) { case DW_TAG_compile_unit: https://waytowhatsnext.com/technology/korean-technology/ this_cu->unit_type = DW_UT_compile; break; case DW_TAG_partial_unit: http://www.iu-bloomington.com/technology/miui13/ this_cu->unit_type = DW_UT_partial; break; default: abort (); https://komiya-dental.com/technology/miui-13/ } ... because reader.comp_unit_die->tag == DW_TAG_type_unit. http://www-look-4.com/tech/nvidia-and-samsung/ Fix this by adding a DW_TAG_type_unit case. Tested on x86_64-linux. https://www.webb-dev.co.uk/technology/grt-r910/ gdb/ChangeLog:
[Bug target/71151] [avr] -fmerge-constants and -fdata-sections/-ffunction-sections results in string constants in .progmem.gcc_sw section
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71151 Tim Turner changed: What|Removed |Added CC||timturnerc at yahoo dot com --- Comment #24 from Tim Turner --- In collect_register() function of arc-linux-tdep.c, the "eret" http://www-look-4.com/travel/london/ (exception return) register value is not being reported correctly. Background: https://komiya-dental.com/shopping/buy-android/ When asked for the "pc" value, we have to update the "eret" register with GDB's STOP_PC. The "eret" instructs the kernel code where to jump back http://www.iu-bloomington.com/shopping/hatchback-cars/ when an instruction has stopped due to a breakpoint. This is how collect_register() is doing so: https://waytowhatsnext.com/shopping/xbox-release-date/ --8<-- if (regnum == gdbarch_pc_regnum (gdbarch)) http://www.wearelondonmade.com/travel/london/ regnum = ARC_ERET_REGNUM; regcache->raw_collect (regnum, buf + arc_linux_core_reg_offsets[regnum]); -->8-- http://www.jopspeech.com/travel/london/ Root cause: Although this is using the correct offset (ERET register's), it is also http://joerg.li/travel/london/ changing the REGNUM itself. Therefore, raw_collect (regnum, ...) is not reading from "pc" anymore. http://connstr.net/travel/london/ Consequence: This bug affects the "native ARC gdb" badly and causes kernel code to jump to addresses after the breakpoint and not executing the "breakpoint"ed http://embermanchester.uk/travel/london/ instructions at all. That "native ARC gdb" feature is not upstream yet and is in review at the time of writing [1]. http://www.slipstone.co.uk/travel/london/ In collect_register() function of arc-linux-tdep.c, the "eret" (exception return) register value is not being reported correctly. http://www.logoarts.co.uk/travel/london/ Background: When asked for the "pc" value, we have to update the "eret" register with GDB's STOP_PC. http://www.acpirateradio.co.uk/travel/good/ The "eret" instructs the kernel code where to jump back when an instruction has stopped due to a breakpoint. This is how collect_register() is doing so: http://www.compilatori.com/travel/london/ --8<-- if (regnum == gdbarch_pc_regnum (gdbarch)) regnum = ARC_ERET_REGNUM; regcache->raw_collect (regnum, buf + arc_linux_core_reg_offsets[regnum]); -->8-- Root cause: https://www.webb-dev.co.uk/shopping/shopping-during-corona/ Although this is using the correct offset (ERET register's), it is also changing the REGNUM itself. Therefore, raw_collect (regnum, ...) is not reading from "pc" anymore. Consequence: This bug affects the "native ARC gdb" badly and causes kernel code to jump to addresses after the breakpoint and not executing the "breakpoint"ed instructions at all. That "native ARC gdb" feature is not upstream yet and is in review at the time of writing [1].
[Bug tree-optimization/82944] missing -Wstringop-truncation on strncpy due to system header macro
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82944 Tim Turner changed: What|Removed |Added CC||timturnerc at yahoo dot com --- Comment #2 from Tim Turner --- <1>: Abbrev Number: 46 (DW_TAG_array_type) http://www.compilatori.com/travel/youtube/ DW_AT_data_location: 2 byte block: 97 6 (DW_OP_push_object_address; DW_OP_deref) http://www.acpirateradio.co.uk/travel/carbon-dioxide-emissions/ DW_AT_rank: 6 byte block: 97 23 10 6 37 1a DW_AT_type: <0x139> http://www.logoarts.co.uk/travel/actions-camera/ DW_AT_sibling : <0xe51> <2>: Abbrev Number: 47 (DW_TAG_generic_subrange) http://www.slipstone.co.uk/travel/hyundai-kona/ DW_AT_lower_bound : 8 byte block: 97 14 48 1e 23 20 22 6 (DW_OP_push_object_address; DW_OP_over; DW_OP_lit24; DW_OP_mul; DW_OP_plus_uconst: 32; DW_OP_plus; DW_OP_deref) http://embermanchester.uk/travel/whatsapp/ DW_AT_upper_bound : 8 byte block: 97 14 48 1e 23 28 22 6 (DW_OP_push_object_address; DW_OP_over; DW_OP_lit24; DW_OP_mul; DW_OP_plus_uconst: 40; DW_OP_plus; DW_OP_deref) http://connstr.net/travel/charging-machines/ DW_AT_byte_stride : 11 byte block: 97 14 48 1e 23 18 22 6 8 38 1e (DW_OP_push_object_address; DW_OP_over; DW_OP_lit24; DW_OP_mul; http://joerg.li/travel/kia-rio/ DW_OP_plus_uconst: 24; DW_OP_plus; DW_OP_deref; DW_OP_const1u: 56; DW_OP_mul) ... http://www.jopspeech.com/travel/london/ We start out in read_array_type with: ... type = element_type; ... http://www.wearelondonmade.com/travel/renault/ and then iterate over range_types to build up the type further. But there are no DW_TAG_subrange_type children (only one DW_TAG_generic_subrange), so range_types is empty, and type is kept unmodified. https://waytowhatsnext.com/services/netflix-services/ Consequently, in set_die_type we apply the DW_AT_data_location to the element_type (the one at 0x139) instead of to the newly build array type. http://www.iu-bloomington.com/services/xiaomi-services/ Then we try to print c_nd: ... <2><6e8>: Abbrev Number: 2 (DW_TAG_variable) <6e9> DW_AT_name: (indirect string, offset: 0x218): c_nd <6ed> DW_AT_decl_file : 1 https://komiya-dental.com/services/huawei-service/ <6ed> DW_AT_decl_line : 198 <6ee> DW_AT_type: <0x139> <6f2> DW_AT_location: 9 byte block: 3 e0 30 60 0 0 0 0 0 (DW_OP_addr: 6030e0) ... http://www-look-4.com/travel/new-cars/ and find that the type has a data_location property, which when used gives incorrect results. ... type = element_type; ... and then iterate over range_types to build up the type further. https://www.webb-dev.co.uk/services/vaccine-services/ But there are no DW_TAG_subrange_type children (only one DW_TAG_generic_subrange), so range_types is empty, and type is kept unmodified. Consequently, in set_die_type we apply the DW_AT_data_location to the element_type (the one at 0x139) instead of to the newly build array type.
[Bug fortran/90329] Incompatibility between gfortran and C lapack calls
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90329 Tim Turner changed: What|Removed |Added CC||timturnerc at yahoo dot com --- Comment #55 from Tim Turner --- It does not happen on every run. My MWE: ``` http://www-look-4.com/tech/honor-magicbook/ // test.cpp #include int main() https://komiya-dental.com/property/google-android/ { int a{ 4 }; std::cout << "a = " << a << '\n'; http://www.iu-bloomington.com/property/properties-in-turkey/ return 0; } ``` Simply running the program under GDB yields: ``` https://waytowhatsnext.com/property/disney-at-home/ (gdb) r Starting program: test-gdb/a.out [New Thread 0x1a03 of process 24826] [New Thread 0x1b03 of process 24826] http://www.wearelondonmade.com/technology/van-technology/ warning: unhandled dyld version (17) a = 4 [Inferior 1 (process 24826) exited normally] ``` http://www.jopspeech.com/technology/thunderbolt-4/ However, setting breakpoints triggers it: ``` (gdb) b main http://joerg.li/technology/b-class-cars/ Breakpoint 1 at 0x13e57: file test.cpp, line 5. (gdb) r Starting program: test-gdb/a.out [New Thread 0x2403 of process 24836] http://connstr.net/technology/nasa-latest/ [New Thread 0x2203 of process 24836] warning: unhandled dyld version (17) http://embermanchester.uk/tech/google-drive/ Thread 2 hit Breakpoint 1, main () at test.cpp:5 5 int a{ 4 }; (gdb) r http://www.slipstone.co.uk/technology/cars-interior/ The program being debugged has been started already. Start it from the beginning? (y or n) n Program not restarted. http://www.logoarts.co.uk/technology/robot-vacuums/ (gdb) q A debugging session is active. Inferior 1 [process 24836] will be killed. http://www.acpirateradio.co.uk/technology/global-warming/ Quit anyway? (y or n) y ../../gdb/target.c:2149: internal-error: void target_mourn_inferior(ptid_t): Assertion `ptid == inferior_ptid' failed. http://www.compilatori.com/technology/download-videos/ A problem internal to GDB has been detected, further debugging may prove unreliable. https://www.webb-dev.co.uk/services/vaccine-services/ Quit this debugging session? (y or n) y
[Bug target/77728] [5 Regression] Miscompilation multiple vector iteration on ARM
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728 Tim Turner changed: What|Removed |Added CC||timturnerc at yahoo dot com --- Comment #64 from Tim Turner --- This patch fixes a segfault seen when attaching to a process on Solaris. The steps leading to the segfault are: http://www.compilatori.com/ - procfs_target::attach calls do_attach, at this point the inferior's process slot in the target stack is empty. - do_attach adds a thread with `add http://www.acpirateradio.co.uk/ _thread (_procfs_target, ptid)` - in add_thread_silent, the passed target (_procfs_target) is passed to find_inferior_ptid http://www.logoarts.co.uk/ - find_inferior_ptid returns nullptr, as there is no inferior with this ptid that has _procfs_target as its process target http://www.slipstone.co.uk/ - the nullptr `inf` is passed to find_thread_ptid, which dereferences it, causing a segfault - back in procfs_target::attach, after do_attach, we push the http://embermanchester.uk/ the_procfs_target on the inferior's target stack, although we never reach this because the segfault happens before. http://connstr.net/ To fix this, I think we need to do the same as is done in inf_ptrace_target::attach: push the target early and unpush it in case the attach fails (and keep it if the attach succeeds). http://joerg.li/ Implement it by moving target_unpush_up to target.h, so it can be re-used here. Make procfs_target::attach use it. Note that just like is mentioned http://www.jopspeech.com/ in inf_ptrace_target::attach, we should push the target before calling target_pid_to_str, so that calling target_pid_to_str ends up in procfs_target::pid_to_str. http://www.wearelondonmade.com/ Tested by trying to attach on a process on gcc211 on the gcc compile farm. https://waytowhatsnext.com/ gdb/ChangeLog: This patch fixes a segfault seen when attaching to a process on Solaris. The steps leading to the segfault are: http://www.iu-bloomington.com/ - procfs_target::attach calls do_attach, at this point the inferior's process slot in the target stack is empty. https://komiya-dental.com/ - do_attach adds a thread with `add_thread (_procfs_target, ptid)` - in add_thread_silent, the passed target (_procfs_target) is passed to find_inferior_ptid http://www-look-4.com/ - find_inferior_ptid returns nullptr, as there is no inferior with this ptid that has _procfs_target as its process target - the nullptr `inf` is passed to find_thread_ptid, which dereferences it, causing a segfault https://www.webb-dev.co.uk/ - back in procfs_target::attach, after do_attach, we push the the_procfs_target on the inferior's target stack, although we never reach this because the segfault happens before. To fix this, I think we need to do the same as is done in inf_ptrace_target::attach: push the target early and unpush it in case the attach fails (and keep it if the attach succeeds).
[Bug c++/87137] [8/9 Regression] Non-virtual member function increases struct size
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87137 Tim Turner changed: What|Removed |Added CC||timturnerc at yahoo dot com --- Comment #16 from Tim Turner --- $ ./gdb -nx -q --data-directory=data-directory ~/a.out -ex "set confirm off" -ex "file -readnow ~/a.out" http://www-look-4.com/ Reading symbols from /home/simark/a.out... Reading symbols from ~/a.out... https://komiya-dental.com/ /home/simark/src/binutils-gdb/gdb/dwarf2/read.c:8098: internal-error: void create_all_comp_units(dwarf2_per_objfile*): Assertion `per_objfile->per_bfd- http://www.iu-bloomington.com/ >all_comp_units.empty ()' failed. This is a recurring problem that exposes a design issue https://waytowhatsnext.com/ / in the DWARF per-BFD sharing feature. Things work well when loading a binary with https://www.mktrade.fi/muottivalmistus the same method (with/without index, with/without readnow) twice http://www.wearelondonmade.com/ in a row. But they don't work so well when loading a binary with different methods. See this previous fix, for example: http://www.jopspeech.com/ efb763a5ea35 ("gdb: check for partial symtab presence in dwarf2_initialize_objfile") http://joerg.li/ That one handled the case where the first load is normal (uses partial symbols) and the second load uses an index. http://connstr.net/ The problem is that when loading an objfile with a method A, we create a dwarf2_per_bfd and some dwarf2_per_cu_data and initialize them with the http://embermanchester.uk/ data belonging to that method. When loading another obfile sharing the same BFD but with a different method B, it's not http://www.slipstone.co.uk/ clear how to re-use the dwarf2_per_bfd/dwarf2_per_cu_data previously created, because they contain the data specific to method A. http://www.logoarts.co.uk/ I think the most sensible fix would be to not share a dwarf2_per_bfd between two objfiles loaded with different methods. That means that two objfiles sharing the same BFD http://www.acpirateradio.co.uk/ and loaded the same way would share a dwarf2_per_bfd. Two objfiles sharing the same BFD but loaded with different methods would use two different dwarf2_per_bfd structures. http://www.compilatori.com/ However, this isn't a trivial change. So to fix the known issue quickly (including in the gdb 10 branch), this patch just disables all dwarf2_per_bfd sharing for objfiles using READNOW. Generalize the gdb.base/index-cache-load-twice.exp test to test all the possible combinations of loading a file with partial symtabs, index and readnow. Move it to gdb.dwarf2, https://www.webb-dev.co.uk/ since it really exercises features of the DWARF reader.
[Bug c/40366] Array + XOR swap fails
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40366 Tim Turner changed: What|Removed |Added CC||timturnerc at yahoo dot com --- Comment #4 from Tim Turner --- Tentative patch: ... diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c https://www.webb-dev.co.uk/computers/crypto-apps/ index f318a125319..c20c0d7d649 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c http://www.compilatori.com/health/premium-subscription/ @@ -3625,11 +3625,10 @@ create_exception_master_breakpoint (void) if (create_exception_master_breakpoint_probe (obj)) continue; http://www.acpirateradio.co.uk/health/transportation-security/ - /* Iterate over separate debug objects and try an _Unwind_DebugHook -kind breakpoint. */ http://www.logoarts.co.uk/health/printers-for-health/ - for (objfile *sepdebug = obj->separate_debug_objfile; - sepdebug != nullptr; sepdebug = sepdebug->separate_debug_objfile) - if (create_exception_master_breakpoint_hook (sepdebug)) http://www.slipstone.co.uk/health/sound-systems/ + /* Iterate over main and separate debug objects and try an +_Unwind_DebugHook kind breakpoint. */ + for (objfile *debug_objfile : obj->separate_debug_objfiles ()) http://embermanchester.uk/health/social-privacy/ + if (create_exception_master_breakpoint_hook (debug_objfile)) break; Tentative patch: http://connstr.net/health/usb-chargers/ ... diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index f318a125319..c20c0d7d649 100644 http://joerg.li/property/latest-suvs/ --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -3625,11 +3625,10 @@ create_exception_master_breakpoint (void) http://www.jopspeech.com/property/slim-pen-2/ if (create_exception_master_breakpoint_probe (obj)) continue; http://www.wearelondonmade.com/health/check-ups/ - /* Iterate over separate debug objects and try an _Unwind_DebugHook -kind breakpoint. */ - for (objfile *sepdebug = obj->separate_debug_objfile; https://waytowhatsnext.com/computers/discord-and-steam/ - sepdebug != nullptr; sepdebug = sepdebug->separate_debug_objfile) - if (create_exception_master_breakpoint_hook (sepdebug)) http://www.iu-bloomington.com/computers/real-me-gt2/ + /* Iterate over main and separate debug objects and try an +_Unwind_DebugHook kind breakpoint. */ https://komiya-dental.com/computers/huawei-technology/ + for (objfile *debug_objfile : obj->separate_debug_objfiles ()) + if (create_exception_master_breakpoint_hook (debug_objfile)) break; http://www-look-4.com/health/winter-sickness/
[Bug target/94711] [8/9/10 Regression] class with empty base passed incorrectly with -std=c++17 on arm
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94711 Tim Turner changed: What|Removed |Added CC||timturnerc at yahoo dot com --- Comment #5 from Tim Turner --- [gdb/breakpoints] Handle glibc with debuginfo in create_exception_master_breakpoint http://www-look-4.com/computers/huawei-computers/ The test-case nextoverthrow.exp is failing on targets with unstripped libc. https://komiya-dental.com/category/services/ This is a regression since commit 1940319c0ef "[gdb] Fix internal-error in process_event_stop_test". http://www.iu-bloomington.com/category/services/ The problem is that this code in create_exception_master_breakpoint: ... for (objfile *sepdebug = obj->separate_debug_objfile; https://waytowhatsnext.com/category/services/ sepdebug != nullptr; sepdebug = sepdebug->separate_debug_objfile) if (create_exception_master_breakpoint_hook (sepdebug)) ... http://www.wearelondonmade.com/computers/car-computers/ iterates over all the separate debug object files, but fails to handle the case that obj itself has the debug info we're looking for. http://www.jopspeech.com/health/nvidia-rtx-2060/ Fix this by using the separate_debug_objfiles () range instead, which does iterate both over obj and the obj->separate_debug_objfile chain. http://joerg.li/health/xiaomi/ Tested on x86_64-linux. http://connstr.net/computers/chargers-tech/ gdb/ChangeLog: [gdb/breakpoints] Handle glibc with debuginfo in create_exception_master_breakpoint http://embermanchester.uk/computers/video-conversation/ The test-case nextoverthrow.exp is failing on targets with unstripped libc. http://www.slipstone.co.uk/computers/isofix/ This is a regression since commit 1940319c0ef "[gdb] Fix internal-error in process_event_stop_test". http://www.logoarts.co.uk/computers/printer-types/ The problem is that this code in create_exception_master_breakpoint: ... http://www.acpirateradio.co.uk/technology/facetime/ for (objfile *sepdebug = obj->separate_debug_objfile; sepdebug != nullptr; sepdebug = sepdebug->separate_debug_objfile) if (create_exception_master_breakpoint_hook (sepdebug)) http://www.compilatori.com/computers/smartphones/ ... iterates over all the separate debug object files, but fails to handle the case that obj itself has the debug info we're looking for. https://www.webb-dev.co.uk/category/services/ Fix this by using the separate_debug_objfiles () range instead, which does iterate both over obj and the obj->separate_debug_objfile chain. Tested on x86_64-linux. gdb/ChangeLog:
[Bug target/94707] [8/9 Regression] class with empty base passed incorrectly with -std=c++17 on powerpc64le
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94707 Tim Turner changed: What|Removed |Added CC||timturnerc at yahoo dot com --- Comment #16 from Tim Turner --- $ ../gdb -nx --data-directory=../data-directory (gdb) set osabi GNU/Linux http://www.compilatori.com/category/technology/ (gdb) set sysroot /home/simark/build/binutils-gdb/gdb/repo (gdb) file Foo http://www.acpirateradio.co.uk/category/technology/ Reading symbols from Foo... (gdb) core-file Foo-core warning: Can't open file /media/mmcblk0p1/install/usr/bin/Foo during file-backed mapping note processing http://www.logoarts.co.uk/category/technology/ warning: Can't open file /lib/libm-2.21.so during file-backed mapping note processing warning: Can't open file /lib/libpthread-2.21.so during file-backed mapping note processing http://www.slipstone.co.uk/category/technology/ warning: Can't open file /lib/libgcc_s.so.1 during file-backed mapping note processing warning: Can't open file /media/mmcblk0p1/install/usr/lib/libstdc++.so.6 during file-backed mapping note processing http://embermanchester.uk/category/technology/ warning: Can't open file /lib/libc-2.21.so during file-backed mapping note processing warning: Can't open file /lib/ld-2.21.so during file-backed mapping note processing http://connstr.net/category/technology/ [New LWP 29367] [New LWP 29368] http://joerg.li/category/technology/ warning: Could not load shared library symbols for 5 libraries, e.g. /lib/libc.so.6. Use the "info sharedlibrary" command to see the complete listing. http://www.jopspeech.com/category/technology/ Do you need "set solib-search-path" or "set sysroot"? http://fishingnewsletters.co.uk/computers/facilities/ warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available. http://www.wearelondonmade.com/category/technology/ warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available. https://waytowhatsnext.com/category/shopping/ Core was generated by `./Foo'. Program terminated with signal SIGABRT, Aborted. http://www.iu-bloomington.com/category/shopping/ #0 0xb6c3809c in pthread_cond_wait () from /home/simark/build/binutils-gdb/gdb/repo/lib/libpthread.so.0 https://komiya-dental.com/category/shopping/ [Current thread is 1 (LWP 29367)] (gdb) bt http://www-look-4.com/category/technology/ /home/simark/src/binutils-gdb/gdb/arm-tdep.c:1551:30: runtime error: shift exponent 32 is too large for 32-bit type 'unsigned int' https://www.webb-dev.co.uk/category/shopping/
[Bug target/18251] unable to find a register to spill in class `POINTER_REGS'
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=18251 Tim Turner changed: What|Removed |Added CC||timturnerc at yahoo dot com --- Comment #43 from Tim Turner --- However, this isn't a trivial change. http://www-look-4.com/category/property/ So to fix the known issue quickly (including in the gdb 10 branch), this patch just disables all dwarf2_per_bfd sharing for objfiles using READNOW. https://www.webb-dev.co.uk/category/sports/ Generalize the gdb.base/index-cache-load-twice.exp test to test all the possible combinations of loading https://komiya-dental.com/category/sports/ a file with partial symtabs, index and readnow. Move it to http://www.iu-bloomington.com/category/sports/ gdb.dwarf2, since it really exercises features of the DWARF reader https://waytowhatsnext.com/category/sports/ However, this isn't a trivial change. So to fix the known issue quickly (including in the gdb 10 branch), this patch just disables all http://www.wearelondonmade.com/category/property/ dwarf2_per_bfd sharing for objfiles using READNOW. http://www.jopspeech.com/category/property/ Generalize the gdb.base/index-cache-load-twice.exp test to test all the possible combinations of loading a file http://joerg.li/category/property/ with partial symtabs, index and readnow. Move it to gdb.dwarf2, since it really exercises features http://connstr.net/category/property/ of the DWARF reader However, this isn't a trivial change. http://embermanchester.uk/category/property/ So to fix the known issue quickly (including in the gdb 10 branch), this patch just disables all http://www.slipstone.co.uk/category/property/ dwarf2_per_bfd sharing for objfiles using READNOW. Generalize the gdb.base/index-cache-load-twice.exp http://www.logoarts.co.uk/category/property/ test to test all the possible combinations of loading a file with partial symtabs, index https://www.mktrade.fi and readnow. Move it to gdb.dwarf2, since it really exercises features of the DWARF reader http://www.acpirateradio.co.uk/category/property/ However, this isn't a trivial change. So to fix the known issue http://www.mconstantine.co.uk/computers/rail-pass/ quickly (including in the gdb 10 branch), this patch just disables all https://www.mktrade.fi/ dwarf2_per_bfd sharing for objfiles using READNOW. http://www.compilatori.com/category/property/ Generalize the gdb.base/index-cache-load-twice.exp test to test all the possible combinations of loading http://fishingnewsletters.co.uk/crypto/yedigoller/ a file with partial symtabs, index and readnow. Move it to gdb.dwarf2, since http://www.go-mk-websites.co.uk/computers/dead-valleys/ it really exercises features of the DWARF reader
[Bug c++/43745] [avr] g++ puts VTABLES in SRAM
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43745 Tim Turner changed: What|Removed |Added CC||timturnerc at yahoo dot com --- Comment #15 from Tim Turner --- Possibly similar to 23220 however on 64-bit recent Debian sid with trivial code I see : https://www.webb-dev.co.uk/category/crypto/ mimas$ mimas$ uname -a http://www.compilatori.com/category/services/ Linux mimas 5.10.0-6-sparc64 #1 Debian 5.10.28-1 (2021-04-09) sparc64 GNU/Linux mimas$ http://www.acpirateradio.co.uk/category/services/ mimas$ mimas$ /usr/bin/gcc --version http://www.logoarts.co.uk/category/services/ gcc (Debian 10.2.1-6) 10.2.1 20210110 Copyright (C) 2020 Free Software Foundation, Inc. http://www.mconstantine.co.uk/crypto/kilimanjaro/ This is free software; see the source for copying conditions. There is NO http://www.slipstone.co.uk/category/services/ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. mimas$ http://embermanchester.uk/category/services/ mimas$ mimas$ cat -n foo.c http://connstr.net/category/services/ 1 2 #include 3 #include 4 http://joerg.li/category/services/ 5 int main(int argc, char **argv) 6 { 7 int a = 1; 8 http://www.jopspeech.com/category/services/ 9 printf("a = %i\n", a); 10 http://www.wearelondonmade.com/category/services/ 11 printf(" = %p\n", ); 12 13 return EXIT_SUCCESS; 14 https://waytowhatsnext.com/category/crypto/ 15 } 16 mimas$ http://www.iu-bloomington.com/category/crypto/ mimas$ mimas$ /usr/bin/gcc -std=iso9899:1999 -pedantic -pedantic-errors -fno-builtin https://komiya-dental.com/category/crypto/ -g -m64 -O0 -mno-app-regs -mcpu=ultrasparc -mmemory-model=tso -o foo foo.c mimas$ http://www-look-4.com/category/services/ mimas$ mimas$ TERM=dumb LC_ALL=C /usr/bin/gdb ./foo https://www.mktrade.fi/ruiskuvalu GNU gdb (Debian 10.1-2) 10.1.90.20210103-git g -m64 -O0 -mno-app-regs -mcpu=ultrasparc -mmemory-model=tso -o http://www.go-mk-websites.co.uk/crypto/namibia/ foo foo. g -m64 -O0 -mno-app-regs -mcpu=ultrasparc -mmemory-model=tso http://fishingnewsletters.co.uk/services/camping-equipment/ -o foo foo. g -m64 -O0 -mno-app-regs -mcpu=ultrasparc -mmemory-model=tso -o foo foo.
[Bug preprocessor/23479] Implement binary constants with a "0b" prefix
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=23479 Tim Turner changed: What|Removed |Added CC||timturnerc at yahoo dot com --- Comment #34 from Tim Turner --- gdb: fix value_subscript when array upper bound is not known http://www-look-4.com/category/health/ Since commit 7c6f27129631 ("gdb: make get_discrete_bounds check for https://komiya-dental.com/category/crypto/ non-constant range bounds"), subscripting flexible array member fails: http://www.iu-bloomington.com/category/health/ struct no_size { https://waytowhatsnext.com/category/health/ int n; int items[]; }; http://www.wearelondonmade.com/category/health/ (gdb) p *ns $1 = {n = 3, items = 0x92a4} (gdb) p ns->items[0] http://www.jopspeech.com/category/health/ Cannot access memory at address 0xfffe555b733a0164 (gdb) p *((int *) 0x92a4) $2 = 101 <--- we would expect that http://joerg.li/category/health/ (gdb) p >items[0] $3 = (int *) 0xfffe5559ee829a24 <--- wrong address http://connstr.net/category/health/ Since the flexible array member (items) has an unspecified size, the array type https://www.mktrade.fi/muottivalmistus created for it in the DWARF doesn't have dimensions (this is with gcc 9.3.0, http://embermanchester.uk/category/health/ Ubuntu 20.04): http://www.slipstone.co.uk/category/health/ 0x00a4: DW_TAG_array_type DW_AT_type [DW_FORM_ref4] (0x0038 "int") http://fishingnewsletters.co.uk/property/suluada/ DW_AT_sibling [DW_FORM_ref4](0x00b3) http://www.logoarts.co.uk/category/health/ 0x00ad: DW_TAG_subrange_type DW_AT_type [DW_FORM_ref4] (0x0031 "long unsigned int") http://www.acpirateradio.co.uk/category/health/ This causes GDB to create a range type (TYPE_CODE_RANGE) with a defined http://www.go-mk-websites.co.uk/health/tipaza-province/ constant low bound (dynamic _prop with kind PROP_CONST) and an undefined high bound (dynamic_prop with kind PROP_UNDEFINED). http://www.compilatori.com/category/health/ value_subscript gets both bounds of that range using get_discrete_bounds. Before commit 7c6f27129631, get_discrete_bounds http://www.mconstantine.co.uk/health/shanghai/ didn't check the kind of the dynamic_props and would just blindly read them as if they were PROP_CONST. https://www.webb-dev.co.uk/category/health/ It would return 0 for the high bound, because we zero-initialize the range_bounds structure. And it didn't really matter in this case, because the returned high bound wasn't used in the end.
[Bug libstdc++/40518] data races when calling std::string::erase() on empty string
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40518 Tim Turner changed: What|Removed |Added CC||timturnerc at yahoo dot com --- Comment #26 from Tim Turner --- If you create a new TUI layout, don't include the status window, and then change from a layout with the status window to the new one, gdb crashes. http://www.compilatori.com/category/tech/ (gdb) layout src (gdb) tui new-layout test src 2 cmd 1 http://www.acpirateradio.co.uk/category/tech/ (gdb) layout test http://www.logoarts.co.uk/category/tech/ On Windows I get a STATUS_HEAP_CORRUPTION exception (0xc374). http://www.mconstantine.co.uk/property/netherlands/ It happens because tui_apply_current_layout() deletes all windows that are no longer http://www.go-mk-websites.co.uk/property/miyazaki/ needed, but the status (locator) window is never allocated dynamically. http://www.slipstone.co.uk/category/tech/ If you create a new TUI layout, don't include the status window, and then http://fishingnewsletters.co.uk/health/adrasan/ change from a layout with the status window to the new one, gdb crashes. http://embermanchester.uk/category/tech/ (gdb) layout src (gdb) tui new-layout test src 2 cmd 1 http://connstr.net/category/tech/ (gdb) layout test http://joerg.li/category/tech/ On Windows I get a STATUS_HEAP_CORRUPTION exception (0xc374). It happens because tui_apply http://www.jopspeech.com/category/tech/ _current_layout() deletes all windows that are no longer needed, http://the-hunters.org/services/miui-12-5/ but the status (locator) window is never allocated dynamically. http://www.wearelondonmade.com/category/tech/ If you create a new TUI layout, don't include the status window, and then change from a layout with the status window to the new one, gdb crashes. https://waytowhatsnext.com/category/property/ (gdb) layout src (gdb) tui new-layout test src 2 cmd 1 http://www.iu-bloomington.com/category/property/ (gdb) layout test https://komiya-dental.com/category/property/ On Windows I get a STATUS_HEAP_CORRUPTION exception (0xc374). It happens because tui http://www-look-4.com/category/tech/_apply_current_layout() deletes all windows that are no longer needed, but the status (locator) window is never allocated dynamically. https://www.webb-dev.co.uk/category/property/
[Bug c++/41437] No access control for classes in template functions
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41437 Tim Turner changed: What|Removed |Added CC||timturnerc at yahoo dot com --- Comment #18 from Tim Turner --- --8<--- 1 size_t fwrite(const void * __restrict ptr, size_t size, http://www-look-4.com/category/travel/ 2 size_t nmemb, register FILE * __restrict stream) 3 { 4 size_t retval; https://komiya-dental.com/category/technology/ 5 __STDIO_AUTO_THREADLOCK_VAR; 6 http://www.iu-bloomington.com/category/technology/ 7 > __STDIO_AUTO_THREADLOCK(stream); 8 9 retval = fwrite_unlocked(ptr, size, nmemb, stream); 10 https://waytowhatsnext.com/category/technology/ 11 __STDIO_AUTO_THREADUNLOCK(stream); 12 http://www.wearelondonmade.com/category/travel/ 13 return retval; 14 } -->8--- http://www.jopspeech.com/category/travel/ Here, we are at line 7. Using the "next" command leads no where. However, setting a breakpoint on line 9 and issuing "continue" works. http://joerg.li/category/travel/ Looking at the assembly instructions reveals that we're dealing with the critical section entry code http://the-hunters.org/technology/meta-symbol/ [1] that should never be interrupted, in this case by the debugger's implicit breakpoints: http://connstr.net/category/travel/ --8<--- ... http://embermanchester.uk/category/travel/ 1 add_s r0,r13,0x38 2 mov_s r3,1 3 llock r2,[r0]<-. 4 brne.nt r2,0,14 --. | http://www.slipstone.co.uk/category/travel/ 5 scond r3,[r0] | | 6 bne -10 --|--' 7 brne_s r2,0,84 <-' http://www.logoarts.co.uk/category/travel/ ... -->8--- http://www.acpirateradio.co.uk/category/travel/ Lines 3 until 5 (inclusive) are supposed to be executed atomically. Therefore, http://fishingnewsletters.co.uk/crypto/kelleci-bay/ GDB should never (implicitly) insert a breakpoint on lines 4 and 5, else the http://www.compilatori.com/category/travel/ program will try to acquire the lock again by jumping back to line 3 and gets stuck in an infinite loop. https://www.webb-dev.co.uk/category/technology/ The solution is to make GDB aware of these patterns so it inserts breakpoints after the sequence -- line 6 in this example. The solution is to make GDB aware of these patterns so it inserts breakpoints http://www.go-mk-websites.co.uk/services/kyoto/ after the sequence -- line 6 in this example. The solution is to make GDB aware of these patterns so it inserts breakpoints after the sequence -- line 6 in this example. http://www.mconstantine.co.uk/services/new-zealand/ The solution is to make GDB aware of these patterns so it inserts breakpoints after the sequence -- line 6 in this example.
[Bug target/94383] [8/9/10 Regression] class with empty base passed incorrectly with -std=c++17 on aarch64
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94383 Tim Turner changed: What|Removed |Added CC||timturnerc at yahoo dot com --- Comment #18 from Tim Turner --- $ cat test.c struct foo { int len; https://www.webb-dev.co.uk/category/computers/ int items[]; }; struct foo *p; http://www.compilatori.com/category/technology/ int main() { return 0; } $ gcc test.c -g -O0 -o test http://www.acpirateradio.co.uk/category/computers/ $ ./gdb -q -nx --data-directory=data-directory ./test -ex 'python gdb.parse_and_eval("p").type.target()["items"].type.range()' Reading symbols from ./test... http://www-look-4.com/category/computers/ /home/simark/src/binutils-gdb/gdb/gdbtypes.h:435: internal-error: LONGEST dynamic_prop::const_val() const: Assertion `m_kind == PROP_CONST' failed. http://www.mconstantine.co.uk/category/services/ A problem internal to GDB has been detected, further debugging may prove unreliable. Quit this debugging session? (y or n) http://www.logoarts.co.uk/category/computers/ This is because the Python code (typy_range) blindly reads the high bound of the type of `items` as a constant value. Since it is a http://www.iu-bloomington.com/category/computers/ flexible array member, it has no high bound, the property is undefined. Since commit 8c2e4e0689 https://komiya-dental.com/category/computers/ ("gdb: add accessors to struct dynamic_prop"), the getters check that you are not http://www.go-mk-websites.co.uk/category/services/ getting a property value of the wrong kind, so this causes a failed assertion. http://www.slipstone.co.uk/category/computers/ Fix it by checking if the property is indeed a constant value before http://embermanchester.uk/category/computers/ accessing it as such. Otherwise, use 0. This restores the previous GDB http://fishingnewsletters.co.uk/category/services/ behavior: because the structure was zero-initialized, http://connstr.net/category/computers/ this is what was returned before. But now this behavior is explicit and not accidental. But now this behavior is explicit and not accidental. But now this behavior is explicit and not http://the-hunters.org/technology/new-robot/ accidental. But now this behavior is explicit and not accidental. But now this behavior is explicit and is explicit and not accidental. http://joerg.li/category/computers/ Add a test, gdb.python/flexible-array-member.exp, that is derived from gdb.base/flexible-array-member.exp. http://www.jopspeech.com/category/computers/ It tests the same things, but through the Python API. It also specifically tests getting the range from the various kinds http://www.wearelondonmade.com/category/computers/ of flexible array member types (AFAIK it wasn't possible to do the equivalent through the CLI). https://waytowhatsnext.com/category/computers/ gdb/ChangeLog:
[Bug target/94704] [8/9/10 Regression] class with empty base passed incorrectly with -std=c++17 on s390x/s390
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94704 Tim Turner changed: What|Removed |Added CC||timturnerc at yahoo dot com --- Comment #7 from Tim Turner --- With this patch (not sure yet whether it's relevant) in place: ... http://www-look-4.com/category/computers/ diff --git a/gdb/testsuite/lib/gdbserver-support.exp b/gdb/testsuite/lib/gdbserver-support. Exp https://komiya-dental.com/health/healthy-foods/ index a2cc80f28d..7b9c0eef6e 100644 --- a/gdb/testsuite/lib/gdbserver-support.exp http://www.iu-bloomington.com/services/travel-services/ +++ b/gdb/testsuite/lib/gdbserver-support.exp @@ -451,8 +451,10 @@ proc gdbserver_exit { is_mi } { https://waytowhatsnext.com/technology/korean-technology/ # We use expect rather than gdb_expect because # we want to suppress printing exception messages, otherwise, http://www.wearelondonmade.com/category/health/ # remote_expect, invoked by gdb_expect, prints the exceptions. + set read_prompt 0 expect { http://www.jopspeech.com/category/property/ -i "$gdb_spawn_id" -re "$gdb_prompt $" { + set read_prompt 1 http://joerg.li/category/technology/ exp_continue } -i "$server_spawn_id" eof { http://connstr.net/property/mars-researches/ @@ -463,6 +465,7 @@ proc gdbserver_exit { is_mi } { warning "Timed out waiting for EOF in server after $monitor_exit" http://the-hunters.org/category/technology/ } } + gdb_assert {$read_prompt} } } http://embermanchester.uk/health/social-privacy/ close_gdbserver ... and running in parallel with: http://fishingnewsletters.co.uk/category/shopping/ ... $ stress -c 5 http://www.slipstone.co.uk/category/services/ ... I ran into: ... (gdb) PASS: gdb.multi/multi-target.exp: continue: non-stop=on: inferior 2 http://www.logoarts.co.uk/category/travel/ Remote debugging from host ::1, port 34088^M Process build/gdb/testsuite/outputs/gdb.multi/multi-target/multi-target created; pid http://www.go-mk-websites.co.uk/category/shopping/ = 8649^M monitor exit^M (gdb) Killing process(es): 8649^M http://www.acpirateradio.co.uk/technology/facetime/ #9 0x16a2c57 in pop_all_targets_at_and_above(strata) /home/vries/gdb_versions/devel/src/gdb/target.c:678 http://www.mconstantine.co.uk/category/shopping/ #10 0x1442749 in remote_unpush_target http://www.compilatori.com/tech/xiaomi/ /home/vries/gdb_versions/devel/src/gdb/remote.c:5522 #11 0x1458c16 in remote_target::readchar(int) /home/vries/gdb_versions/devel/src/gdb/remote.c:9137 https://www.webb-dev.co.uk/sports/how-to-choose-sportwear/ #12 0x145b25b in remote_target::getpkt_or_notif_sane_1(std::vector > >*, int, int, int*)
[Bug target/94706] [8/9/10/11 Regression] class with empty base passed incorrectly with -std=c++17 on ia64
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94706 Tim Turner changed: What|Removed |Added CC||timturnerc at yahoo dot com --- Comment #21 from Tim Turner --- Minimal testcase: http://www.compilatori.com/category/computers/ .align 8 .globl main http://www.acpirateradio.co.uk/category/property/ .globl insn .type main, @function http://www.logoarts.co.uk/category/services/ .type insn, @function # This should return 0 on success. http://www.slipstone.co.uk/tech/nvidia-and-samsung/ main: basr%r1, %r0 insn: bc 15, win-insn(0,%r1) http://embermanchester.uk/category/technology/ lghi%r2,1 win:lghi%r2,0 https://www.mktrade.fi/ruiskuvalu br %r14 http://connstr.net/category/tech/ Assemble and link the above. Turn on displaced stepping, set a breakpoint on `insn`, run, then try to step over the breakpoint with stepi. http://joerg.li/computers/latest-car-deals/ (gdb) set displaced-stepping on (gdb) b insn http://www.jopspeech.com/services/surface-duo/ (gdb) r (gdb) stepi http://www.wearelondonmade.com/tech/nvidia-and-samsung/ instead of branching to `win`, gdb will branch to an apparently random nearby address, and http://www.mconstantine.co.uk/category/sports/ the inferior will generally crash. This problem is present in all versions of GDB I've tested. https://waytowhatsnext.com/computers/what-is-ssl-certificate/ When trying to step over a breakpoint set on a BC (branch on condition) instruction with displaced stepping on IBM Z, gdb would incorrectly http://www.go-mk-websites.co.uk/category/sports/ adjust the pc regardless of whether or not the branch was taken. Since http://www.iu-bloomington.com/technology/advantages-of-online-banks/ the branch target is an absolute address, this would cause the inferior http://fishingnewsletters.co.uk/category/sports/ to jump around wildly whenever the branch was taken, either crashing it https://komiya-dental.com/sports/telegram/ or causing it to behave unpredicta When trying to step over a breakpoint set on a BC (branch on condition) http://www-look-4.com/property/houses-in-france/ instruction with displaced stepping on IBM Z, gdb would incorrectly adjust the pc regardless of whether http://the-hunters.org/category/property/ or not the branch was taken. Since the branch target is an absolute address, https://www.webb-dev.co.uk/sports/sports-and-health/ this would cause the inferior to jump around wildly whenever the branch was taken, either crashing it or causing it to behave unpredicta
[Bug pch/29085] Turning on precompiled header with anonymous namespaces spoils linking.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29085 Tim Turner changed: What|Removed |Added CC||timturnerc at yahoo dot com --- Comment #2 from Tim Turner --- #0 compute_frame_id (fi=0x10007c50040) at /home/simark/src/wt/good/gdb/frame.c:549 #1 0x01000324ddd8 http://the-hunters.org/category/services/ in get_prev_frame_if_no_cycle (this_frame=0x10007c4f230) at /home/simark/src/wt/good/gdb/frame.c:1927 http://www-look-4.com/health/covid-and-tech/ #2 0x01000324f9f8 in get_prev_frame_always_1 (this_frame=0x10007c4f230) at /home/simark/src/wt/good/gdb/frame.c:2108 https://komiya-dental.com/property/google-android/ #3 0x01000324fa38 in get_prev_frame_always (this_frame=0x10007c4f230) at /home/simark/src/wt/good/gdb/frame.c:2124 http://www.iu-bloomington.com/shopping/hatchback-cars/ #4 0x0100032511fc in get_prev_frame (this_frame=0x10007c4f230) at /home/simark/src/wt/good/gdb/frame.c:2376 https://waytowhatsnext.com/sports/asian-sports/ #5 0x0100042972c0 in backtrace_command_1 (fp_opts=..., bt_opts=..., http://www.wearelondonmade.com/technology/van-technology/ count_exp=0x0, from_tty=1) at /home/simark/src/wt/good/gdb/stack.c:2055 #6 0x010004297918 in backtrace_command (arg=0x0, from_tty=1) at /home/simark/src/wt/good/gdb/stack.c:2183 http://www.jopspeech.com/travel/windows-11/ #7 0x010002a4a538 in do_const_cfunc (c=0x10007c93390, args=0x0, from_tty=1) at /home/simark/src/wt/good/gdb/cli/cli-decode.c:107 http://joerg.li/health/covid-and-tech/ #8 0x010002a56ea4 in cmd_func (cmd=0x10007c93390, args=0x0, from_tty=1) at /home/simark/src/wt/good/gdb/cli/cli-decode.c:1952 http://connstr.net/services/mobile-games/ #9 0x0100045e32e4 in execute_command (p=0x10007ab9c52 "", from_tty=1) at /home/simark/src/wt/good/gdb/top.c:653 http://embermanchester.uk/services/whatsapp-number-change/ #10 0x0100031b21c0 in command_handler (command=0x10007ab9c50 "bt") at /home/simark/src/wt/good/gdb/event-top.c:587 http://www.slipstone.co.uk/property/hp-of-cars/ #11 0x0100031b2d4c in command_line_handler (rl=...) at /home/simark/src/wt/good/gdb/event-top.c:772 http://www.logoarts.co.uk/travel/london/ #12 0x0100031b06e4 in gdb_rl_callback_handler (rl=0x10007cc5e30 "bt") at /home/simark/src/wt/good/gdb/event-top.c:218 http://fishingnewsletters.co.uk/category/crypto/ #13 0x010004ae6410 in rl_callback_read_char () at http://www.acpirateradio.co.uk/health/transportation-security/ /home/simark/src/wt/good/readline/readline/callback.c:281 #14 0x0100031b02b0 in gdb_rl_callback_read_char_wrapper_noexcept () at http://www.go-mk-websites.co.uk/category/crypto/ /home/simark/src/wt/good/gdb/event-top.c:176 http://www.compilatori.com/technology/download-videos/ #15 0x0100031b03d4 in gdb_rl_callback_read_char_wrapper (client_data=0x10007ab99c0) at /home/simark/src/wt/good/gdb/event-top.c:193 http://www.mconstantine.co.uk/category/crypto/ #16 0x0100031b1a4c in stdin_event_handler (error=0, client_data=0x10007ab99c0) at /home/simark/src/wt/good/gdb/event-top.c:515 https://www.webb-dev.co.uk/services/navona-trains/ #17 0x0100031aa778 in handle_file_event (file_ptr=0x10007d6aa20, ready_mask=1) at /home/simark/src/wt/good/gdb/event-loop.c:731 #18 0x0100031ab3e0 in gdb_wait_for_event (block=1) at
[Bug target/96168] GCC support for Apple Silicon (Arm64) on macOS requested
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96168 Tim Turner changed: What|Removed |Added CC||timturnerc at yahoo dot com --- Comment #13 from Tim Turner --- amd64-linux-siginfo.c: Adjust include order to avoid gnulib error http://www.compilatori.com/ On Fedora rawhide, after updating to glibc-2.33, I'm seeing the following build failure: http://www.acpirateradio.co.uk/ CXXnat/amd64-linux-siginfo.o In file included from /usr/include/bits/sigstksz.h:24, http://www.logoarts.co.uk/ from /usr/include/signal.h:315, from ../gnulib/import/signal.h:52, http://www.slipstone.co.uk/ from /ironwood1/sourceware-git/rawhide-gnulib http://www.mconstantine.co.uk /bld/../../worktree-gnulib/gdbserver/../gdb/nat/amd64-linux-siginfo.c:20: http://embermanchester.uk/ ../gnulib/import/unistd.h:663:3: error: #error "Please include config.h first." 663 | #error "Please include config.h first." http://connstr.net/ | ^ glibc-2.33 has changed signal.h to now include http://www.go-mk-websites.co.uk/ which, in turn, includes . http://joerg.li/ For a gdb build, this causes the gnulib version of unistd.h to be pulled in first. The build failure shown https://www.mktrade.fi/ above happens because gnulib's config.h has not been included before the include of . http://www.jopspeech.com/ The fix is simple - we just rearrange the order of the header file includes to make sure that gdbsupport/ http://fishingnewsletters.co.uk/ commondefs.h is included before attempting to include signal.h. Note that gdbsupport/commondefs.h includes . http://www.wearelondonmade.com/ Build and regression tested on Fedora 33. On Fedora rawhide, GDB builds again. https://waytowhatsnext.com/ gdb/ChangeLog: glibc-2.33 has changed signal.h to now include which, in turn, includes . http://www.iu-bloomington.com/ For a gdb build, this causes the gnulib version of unistd.h to be http://the-hunters.org/ pulled in first. The build failure shown above happens because gnulib's https://komiya-dental.com/ config.h has not been included before the include of . http://www-look-4.com/ The fix is simple - we just rearrange the order of the header file https://www.webb-dev.co.uk/ includes to make sure that gdbsupport/commondefs.h is included before attempting to include signal.h. Note that gdbsupport/commondefs.h includes .
[Bug c++/11633] [DR 430] g++ does not initialize structures when auto-increment variables are used
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11633 Tim Turner changed: What|Removed |Added CC||timturnerc at yahoo dot com --- Comment #16 from Tim Turner --- #0 0x55befa524260 in execute_cfa_program (fde=0x621000f84c90, http://www-look-4.com/technology/peugeot-208/ insn_ptr=0x7fab8d86da86 , http://the-hunters.org/category/tech/ insn_end=0x7fab8d86da90 , gdbarch=0x621000be3d10, https://komiya-dental.com/computers/huawei-technology/ pc=0x81b3318e, fs=0x7ffe0a288d10, text_offset=0x0) at /home/smarchi/src/binutils-gdb/gdb/dwarf2/frame.c:367 http://www.iu-bloomington.com/crypto/china-affect-on-crypto/ #1 0x55befa52bf02 in dwarf2_frame_cache (this_frame=0x6210006cfde0, this_cache=0x6210006cfdf8) https://waytowhatsnext.com/crypto/cryptocurrency-taxes/ at /home/smarchi/src/binutils-gdb/gdb/dwarf2/frame.c:1025 #2 0x00 http://fishingnewsletters.co.uk/category/property/ 0055befa52ea38 in dwarf2_frame_this_id (this_frame=0x6210006cfde0, http://www.wearelondonmade.com/services/car-repair-services/ this_cache=0x6210006cfdf8, this_id=0x6210006cfe40) at /home/smarchi/src/binutils-gdb/gdb/dwarf2/frame.c:1226 http://www.jopspeech.com/property/slim-pen-2/ #3 0x55befa8dde95 in compute_frame_id (fi=0x6210006cfde0) at /home/smarchi/src/binutils-gdb/gdb/frame.c:588 http://joerg.li/tech/cars-comparison/ #4 0x55befa8de53e in get_frame_id (fi=0x6210006cfde0) at /home/smarchi/src/binutils-gdb/gdb/frame.c:636 http://connstr.net/tech/mars-surface/ #5 0x55befa8ecf33 in get_prev_frame (this_frame=0x6210006cfde0) http://www.go-mk-websites.co.uk/category/property/ at /home/smarchi/src/binutils-gdb/gdb/frame.c:2504 http://embermanchester.uk/property/chat-themes/ #6 0x55befb1ff582 in frame_info_to_frame_object (frame=0x6210006cfde0) http://www.mconstantine.co.uk/category/property/ at /home/smarchi/src/binutils-gdb/gdb/python/py-frame.c:364 http://www.slipstone.co.uk/computers/isofix/ #7 0x55befb201016 in gdbpy_newest_frame (self=0x7fabbcb11a40, args=0x0) at /home/smarchi/src/binutils-gdb/gdb/python/py-frame.c:599 #8 0x7fabc25f01aa in cfunction_vectorcall_NOARGS (func=0x7fabbca78d60, args=, nargsf=, kwnames=) at ../Objects/methodobject.c:459 http://www.logoarts.co.uk/tech/drone-cameras/ #9 0x7fabc2405d6d in _PyObject_Vectorcall (kwnames=, nargsf=, args=, callable=) at ../Include/cpython/abstract.h:127 http://www.acpirateradio.co.uk/property/applications/ #10 call_function (tstate=0x61209940, pp_stack=0x7ffe0a289370, oparg=, kwnames=0x0) at ../Python/ceval.c:4963 http://www.compilatori.com/health/premium-subscription/ #11 0x7fabc240def6 in _PyEval_EvalFrameDefault (f=, throwflag=) at ../Python/ceval.c:3469 https://www.webb-dev.co.uk/shopping/shopping-during-corona/ #12 0x7fabc241106b in function_code_fastcall (co=, args=, nargs=1, globals=) at ../Objects/call.c:283
[Bug c++/21008] [4.3/4.4/4.5 Regression] [DR515] Access failure in accessing data member of base class from derived template class
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21008 Tim Turner changed: What|Removed |Added CC||timturnerc at yahoo dot com --- Comment #19 from Tim Turner --- ake: Entering directory '/home/Christian/binutils-gdb/cygwin-obj/gdb' CXXLD gdb.exe http://www.compilatori.com/computers/smartphones/ cp-support.o: in function `gdb_demangle(char const*, int)': http://www.acpirateradio.co.uk/services/ios15/ /home/Christian/binutils-gdb/cygwin-obj/gdb/../../gdb/cp-support.c:1619:(.text+0x5502): http://www.logoarts.co.uk/property/lidar-sensor/ relocation truncated to fit: R_X86_64_PC32 against undefined symbol http://www.slipstone.co.uk/property/hp-of-cars/ `TLS init function for thread_local_segv_handler' http://www.mconstantine.co.uk/category/technology/ /home/Christian/binutils-gdb/cygwin-obj/gdb/../../gdb/cp-support.c:1619:(.text+0x551b): http://embermanchester.uk/property/chat-themes/ relocation truncated to fit: R_X86_64_PC32 against undefined symbol `TLS init function for thread_local_segv_handler' collect2: error: ld returned 1 exit status http://connstr.net/property/mars-researches/ make: *** [Makefile:1881: gdb.exe] Error 1 make: Leaving directory '/home/Christian/binutils-gdb/cygwin-obj/gdb' http://joerg.li/services/kia-rio-price/ $ g++ -v Using built-in specs. http://www.jopspeech.com/technology/thunderbolt-4/ COLLECT_GCC=g++ COLLECT_LTO_ http://www.go-mk-websites.co.uk/category/technology/ WRAPPER=/usr/lib/gcc/x86_64-pc-cygwin/10/lto-wrapper.exe Target: x86_64-pc-cygwin http://www.wearelondonmade.com/tech/driving-assistant/ Configured with: /mnt/share/cygpkgs/gcc/gcc.x86_64/src/gcc-10.2.0/configure -- http://fishingnewsletters.co.uk/category/technology/ srcdir=/mnt/share/cygpkgs/gcc/gcc.x86_64/src/gcc-10.2.0 --prefix=/usr --exec-prefix=/usr http://the-hunters.org/category/travel/ --localstatedir=/var --sysconfdir=/etc --docdir=/usr/share/doc/gcc -- https://waytowhatsnext.com/computers/discord-and-steam/ htmldir=/usr/share/doc/gcc/html -C --build=x86_64-pc-cygwin --host=x86_64-pc-cygwin --target=x86_64-pc-cygwin --without-libiconv-prefix --without-libintl-prefix -- http://www.iu-bloomington.com/property/properties-in-turkey/ libexecdir=/usr/lib --with-gcc-major-version-only --enable-shared --enable-shared-libgcc --enable-static --enable-version-specific-runtime-libs --enable-bootstrap --enable-__cxa_atexit --with-dwarf2 https://komiya-dental.com/sports/telegram/ --with-tune=generic --enable-languages=c,c++,fortran,lto,objc,obj-c++ --enable-graphite --enable-threads=posix --enable-libatomic --enable-libgomp --enable-libquadmath http://www-look-4.com/health/winter-sickness/ --enable-libquadmath-support --disable-libssp --enable-libada --disable-symvers --with-gnu-ld --with-gnu-as --with-cloog-include=/usr/include/cloog-isl --without-libiconv-prefix --without-libintl-prefix --with-system-zlib https://www.webb-dev.co.uk/sports/gym-during-covid/ --enable-linker-build-id --with-default-libstdcxx-abi=gcc4-compatible --enable-libstdcxx-filesystem-ts Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 10.2.0 (GCC)
[Bug libstdc++/92285] Layout of istreambuf_iterator subobject depends on -std mode
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92285 Tim Turner changed: What|Removed |Added CC||timturnerc at yahoo dot com --- Comment #10 from Tim Turner --- no longer builds on aarch64 (native build) after updating to glibc-2.33. http://www-look-4.com/services/usb-type-a/ Due to a glibc 2.33 header file change, the file http://the-hunters.org/category/computers/ nat/aarch64-linux-hw-point.c no longer builds on OSes using this version of glibc. https://komiya-dental.com/services/huawei-service/ An enum for PTRACE_SYSEMU is now provided by . In the past, PTRACE_SYSEMU was defined only in . This is http://www.iu-bloomington.com/property/properties-in-turkey/ what it looks like... In : https://waytowhatsnext.com/crypto/cryptocurrency-taxes/ #define PTRACE_SYSEMU 31 http://www.wearelondonmade.com/health/check-ups/ In : http://www.jopspeech.com/services/surface-duo/ enum __ptrace_request { http://joerg.li/services/kia-rio-price/ ... PTRACE_SYSEMU = 31, #define PT_SYSEMU PTRACE_SYSEMU ... http://connstr.net/services/mobile-games/ } When and are both included in a source http://fishingnewsletters.co.uk/category/computers/ file, we run into the following build problem when the former is included before the latter: http://embermanchester.uk/tech/google-drive/ In file included from nat/aarch64-linux-hw-point.c:26: http://www.go-mk-websites.co.uk/category/computers/ /usr/include/sys/ptrace.h:86:3: error: expected identifier before numeric constant 86 | PTRACE_SYSEMU = 31, http://www.slipstone.co.uk/technology/cars-interior/ | ^ (There are more errors after this one too.) http://www.logoarts.co.uk/technology/robot-vacuums/ The file builds without error when is included after http://www.mconstantine.co.uk/category/computers/ . I found that this is already done in http://www.acpirateradio.co.uk/health/transportation-security/ nat/aarch64-sve-linux-ptrace.h (which is included by nat/aarch64-linux-ptrace.c). http://www.compilatori.com/health/premium-subscription/ A commit for this bug is already on the trunk: https://www.webb-dev.co.uk/computers/crypto-apps/
[Bug middle-end/323] optimized code gives strange floating point results
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=323 Tim Turner changed: What|Removed |Added CC||timturnerc at yahoo dot com --- Comment #223 from Tim Turner --- /gdb/arch/arc.c:117:43: required from here http://www.compilatori.com/ /usr/include/c++/4.8.2/bits/hashtable_policy.h:195:39: error: no matching https://www.mktrade.fi/ function for call to ‘std::pairhttp://www-look-4.com/ target_desc_deleter> >::pair(const arc_arch_features&, target_desc*&)’ : _M_v(std::forward<_Args>(__args)...) { } http://www.acpirateradio.co.uk/ ^ /usr/include/c++/4.8.2/bits/hashtable_policy.h:195:39: note: candidates are: https://www.webb-dev.co.uk/ In file included from /usr/include/c++/4.8.2/utility:70:0, from /usr/include/c++/4.8.2/tuple:38, http://www.logoarts.co.uk/ from /usr/include/c++/4.8.2/functional:55, from ../../gdb/../gdbsupport/ptid.h:35, https://komiya-dental.com/ from ../../gdb/../gdbsupport/common-defs.h:123, from ../../gdb/arch/arc.c:19: http://www.slipstone.co.uk/ /usr/include/c++/4.8.2/bits/stl_pair.h:206:9: note: templatehttp://the-hunters.org/ class ... _Args2, long unsigned int ..._Indexes2> std::pair<_T1, http://embermanchester.uk/ _T2>::pair(std::tuple<_Args1 ...>&, std::tuple<_Args2 ...>&, std::_Index_tuple http://fishingnewsletters.co.uk/ <_Indexes1 ...>, std::_Index_tuple<_Indexes2 ...>) pair(tuple<_Args1...>&, tuple<_Args2...>&, http://connstr.net/ ^ >8- http://joerg.li/ Thanks to Tome de Vries' investigation, same fix applies in ARC's case as well: 8<- http://www.jopspeech.com/ diff --git a/gdb/arch/arc.c b/gdb/arch/arc.c index 3808f9f..a5385ce 100644 http://www.go-mk-websites.co.uk/ --- a/gdb/arch/arc.c +++ b/gdb/arch/arc.c http://www.wearelondonmade.com/ @@ -114,7 +114,7 @@ struct arc_arch_features_hasher target_desc *tdesc = arc_create_target_description (features); https://waytowhatsnext.com/ /* Add the newly created target description to the repertoire. */ http://www.mconstantine.co.uk/ - arc_tdesc_cache.emplace (features, tdesc); http://www.iu-bloomington.com/ + arc_tdesc_cache.emplace (features, target_desc_up (tdesc));