Hi Ulrich, I have modified the test case as per your feedback. Thank you for letting me know this way. Please find attached the patch. [See 0001-Modify-altivec-regs.exp-testcase-for-AIX.patch ]. Kindly let me know if any changes required. Thanks and regards, Aditya. ________________________________ From: Ulrich Weigand Sent: 17 October 2022 15:27 To: gdb-patches@sourceware.org ; Aditya Kamath1 ; simark@simark.ca Cc: Sangamesh Mallayya Subject: Re: [PATCH] Modify altivec-regs.exp testcase for AIX Hi Aditya, the string "func2 breakpoint here, first time" is just a comment that will be used to identify this particular command in the output; e.g. if continuing to the breakpoint fails, this comment will be used in the "FAIL" error message (so you know where specifically the test execution fails). Apart from that, this string doesn't have any meaning in particular, it could be anything. I guess the author of the test case added the "first time" text here because in the process of running this particular test, we'll get back to that same place multiple times. Mit freundlichen Gruessen / Best Regards Ulrich Weigand -- Dr. Ulrich Weigand | Phone: +49-7031/16-3727 Distinguished Engineer, Open source compilers and toolchain IBM Deutschland Research & Development GmbH Vors. des Aufsichtsrats: Gregor Pillen | Geschäftsführung: David Faller Sitz d. Ges.: Böblingen | Registergericht: Amtsgericht Stuttgart, HRB 243294 -----Original Message----- From: Aditya Kamath1 > To: Ulrich Weigand >, gdb-patches@sourceware.org >, simark@simark.ca > Cc: Sangamesh Mallayya > Subject: Re: [PATCH] Modify altivec-regs.exp testcase for AIX Date: Mon, 17 Oct 2022 06:51:17 +0000 Hi Ulrich, Thank you for the reply. This was useful. While I was exploring other stuff related to this test case, In the line gdb_continue_to_breakpoint "func2 breakpoint here, first time", What does "first time" in the command gdb_continue_to_breakpoint here mean?? I can see a marker with name func2 breakpoint.. Does it mean continue to execute till that marker hits for the first time?? I am curious to know it. It will be helpful. Kindly let me know. Have a nice day ahead. Thanks and regards, Aditya. ________________________________ From: Ulrich Weigand Sent: 14 October 2022 18:17 To: gdb-patches@sourceware.org ; Aditya Kamath1 ; simark@simark.ca Cc: Sangamesh Mallayya Subject: Re: [PATCH] Modify altivec-regs.exp testcase for AIX Aditya Kamath1 wrote: >Please find attached the patch. [See:- 0001-Modify-altivec-regs.exp- >testcase-for-AIX.patch] >+if {[istarget "powerpc*-*-aix*"]} then { >+ gdb_test "next" >+ gdb_test "next" >+} Hard-coding the fact that there need to be exactly two "next" iterations is not really a good idea. Usually this is done by placing a marker comment in the source code at the target location, and then using something like: gdb_breakpoint [gdb_get_line_number "func2 breakpoint here"] gdb_continue_to_breakpoint "func2 breakpoint here, first time" (example from gdb.base/watchpoint.exp). Bye, Ulrich