Fix Ada overloading with 'null'
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
index ba9a5e0ac23d84e235428437dc7741d7111f3b74..d4ed915881ba2678fea916856859fe711c39c76e 100644 (file)
@@ -1,3 +1,533 @@
+2021-04-28  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.ada/null_overload.exp: New file.
+       * gdb.ada/null_overload/foo.adb: New file.
+
+2021-04-28  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.python/py-startup-opt.exp: New file.
+
+2021-04-27  Luis Machado  <luis.machado@linaro.org>
+
+       * gdb.base/maint.exp: Drop a pattern that is not needed.
+       * lib/gdb.exp (readnow): Match line-by-line.
+
+2021-04-27  Luis Machado  <luis.machado@linaro.org>
+
+       * gdb.xml/tdesc-reload.exp: Pass -lbl.
+
+2021-04-27  Michael Weghorn  <m.weghorn@posteo.de>
+           Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * gdb.python/libpy-autoloaded-pretty-printers-in-newobjfile-event.so-gdb.py: New test.
+       * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event-lib.cc: New test.
+       * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event-lib.h: New test.
+       * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event-main.cc: New test.
+       * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event.exp: New test.
+       * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event.py: New test.
+
+2021-04-26  Tom Tromey  <tromey@adacore.com>
+
+       PR gdb/27743:
+       * gdb.dwarf2/imported-unit-bp.exp: New file.
+       * gdb.dwarf2/imported-unit-bp-main.c: New file.
+       * gdb.dwarf2/imported-unit-bp-alt.c: New file.
+
+2021-04-26  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       PR gdb/27773
+       * gdb.base/dump.exp: Test dump to non-existent dir.
+
+2021-04-26  Luis Machado  <luis.machado@linaro.org>
+
+       * gdb.arch/aarch64-dbreg-contents.c (set_watchpoint): Fix arch level
+       comparison.
+
+2021-04-25  Lancelot Six  <lsix@lancelotsix.com>
+
+       PR gdb/22640
+       * gdb.base/ptype-offsets.exp: Add tests to verify the behavior
+       of 'ptype/ox' and 'ptype/od'. Check that 'set print type hex'
+       changes the default behavior of 'ptype/o'.  Update to take into
+       account new horizontal layout.
+       * gdb.rust/simple.exp: Update ptype test to check new horizontal
+       layout.
+       * gdb.rust/union.exp: Same.
+
+2021-04-23  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.base/info_sources.exp: Add new tests.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * gdb.base/ptype-offsets.cc (struct empty_member): New.
+       (main): Use empty_member.
+       * gdb.base/ptype-offsets.exp: Add new test.
+
+2021-04-22  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * gdb.python/flexible-array-member.exp: Add check for Python
+       support.
+
+2021-04-22  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       PR gdb/27757
+       * gdb.python/flexible-array-member.c: New test.
+       * gdb.python/flexible-array-member.exp: New test.
+       * gdb.guile/scm-type.exp (test_range): Add test for flexible
+       array member.
+       * gdb.guile/scm-type.c (struct flex_member): New.
+       (main): Use it.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * gdb.rust/modules.exp: Add checks for syntax errors.
+       * gdb.rust/expr.exp: Add checks for syntax errors.
+       * gdb.rust/simple.exp: Add checks for syntax errors.
+
+2021-04-21  Carl Love  <cel@us.ibm.com>
+
+       * gdb.base/valgrind-bt.exp: Add gdb_test "break main".
+       Update expected string for gdb_test "bt".
+
+       * lib/valgrind.exp: Add set remotetimeout 3.
+       Increase vgdb wait from 1 to 2.
+       Add max-invoke-ms option to vgdb command line.
+
+2021-04-21  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
+
+       * gdb.mi/mi-break.exp: Extend with checks for invalid breakpoint
+       conditions.
+
+2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
+           Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
+
+       * gdb.mi/mi-break.exp: Fix the duplicate test names.
+
+2021-04-20  Felix Willgerodt  <felix.willgerodt@intel.com>
+
+       * gdb.base/address_space_qualifier.exp: New file.
+
+2021-04-19  Tom Tromey  <tromey@adacore.com>
+
+       PR gdb/27742:
+       * gdb.opt/inline-locals.exp: Update kfail patterns.
+
+2021-04-17  Tom Tromey  <tom@tromey.com>
+
+       * gdb.dwarf2/gdb-index-nodebug.exp: New file.
+
+2021-04-16  Tom Tromey  <tom@tromey.com>
+
+       * gdb.rust/simple.exp: Change error text.
+       * gdb.rust/expr.exp: Change error text.
+
+2021-04-16  Tom Tromey  <tom@tromey.com>
+
+       * gdb.rust/simple.exp: Add parens to 'as' test.
+
+2021-04-16  Simon Marchi  <simon.marchi@efficios.com>
+
+       * boards/simavr.exp: Set debug_flags.
+
+2021-04-16  Luis Machado  <luis.machado@linaro.org>
+
+       * gdb.dwarf2/dw2-bfloat16.exp: New file.
+
+2021-04-15  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.python/py-parameter.exp: Give a test a proper name to avoid
+       including a path in the test name.
+
+2021-04-15  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * gdb.threads/fork-plus-threads.exp: Use foreach_with_prefix.
+
+2021-04-15  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.dwarf2/arr-stride.exp: Add test.
+
+2021-04-15  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.base/startup-file.exp: Add more tests.
+
+2021-04-15  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       PR cli/25956
+       * gdb.base/early-init-file.c: New file.
+       * gdb.base/early-init-file.exp: New file.
+       * lib/gdb-utils.exp (style): Handle style 'none'.
+
+2021-04-14  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
+
+       * gdb.dwarf2/dw2-inline-with-lexical-scope.exp: Use
+       @DW_INL_declared_inlined for the inline attribute.
+
+2021-04-14  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
+
+       * gdb.opt/inline-locals.c (scoped): New function.
+       (main): Call 'scoped'.
+       * gdb.opt/inline-locals.exp: Update with "info locals" tests
+       for scoped variables.
+       * gdb.dwarf2/dw2-inline-with-lexical-scope.c: New file.
+       * gdb.dwarf2/dw2-inline-with-lexical-scope.exp: New file.
+
+2021-04-14  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
+
+       * lib/dwarf.exp (_location): Recognize DW_OP_fbreg as an op.
+
+2021-04-12  Will Schmidt  <will_schmidt@vnet.ibm.com>
+
+       * gdb.arch/powerpc-vsx-regs.exp: Initialize vs* doublewords.
+
+2021-04-12  Will Schmidt  <will_schmidt@vnet.ibm.com>
+
+       * gdb.arch/powerpc-plxv-nonrel.s:  Testcase using
+       non-relative plxv instructions.
+       * gdb.arch/powerpc-plxv-nonrel.exp: Testcase harness.
+
+2021-03-31  Will Schmidt  <will_schmidt@vnet.ibm.com>
+
+       PR gdb/27525
+       * gdb/testsuite/gdb.arch/powerpc-addpcis.exp:  Testcase harness to
+       exercise single-stepping over subpcis,lnia,addpcis instructions
+       with displacement.
+       * gdb/testsuite/gdb.arch/powerpc-addpcis.s: Testcase with stream
+       of addpcis/lnia/subpcis instructions.
+       * gdb/testsuite/gdb.arch/powerpc-lnia.exp: Testcase harness to
+       exercise single-stepping over lnia instructions with displacement.
+       * gdb/testsuite/gdb.arch/powerpc-lnia.s: Testcase with stream of
+       lnia instructions.
+
+2021-03-31  Will Schmidt  <will_schmidt@vnet.ibm.com>
+
+       * gdb.arch/powerpc-power10.s: New test for instructions.
+       * gdb.arch/powerpc-power10.exp: Harness to run the test.
+
+2021-4-12  Carl Love  <cel@us.ibm.com>
+
+       * gdb.arch/vsx-vsr-float128.c: New test file.
+       * gdb.arch/vsx-vsr-float128.exp: New expect file.
+
+2021-04-12  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * gdb.btrace/reconnect.exp: Relax expected stepi output.
+
+2021-04-07  Weimin Pan  <weimin.pan@oracle.com>
+
+       * gdb.base/ctf-ptype.c: Add struct link containing a forward
+       reference type.
+       * gdb.base/ctf-ptype.exp: Add "ptype struct link".
+
+2021-04-07  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.fortran/dynamic-ptype-whatis.exp: New file.
+       * gdb.fortran/dynamic-ptype-whatis.f90: New file.
+
+2021-04-07  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.cp/rvalue-ref-params.cc (f3): New function.
+       (f4): New function.
+       (global_int): New global variable.
+       (global_float): Likeiwse.
+       (main): Call both new functions.
+       * gdb.cp/rvalue-ref-params.exp: Add new tests.
+
+2021-04-07  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.dwarf2/fission-relative-dwo.c: New file.
+       * gdb.dwarf2/fission-relative-dwo.exp: New file.
+
+2021-04-07  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.dwarf2/fission-absolute-dwo.c: New file.
+       * gdb.dwarf2/fission-absolute-dwo.exp: New file.
+       * gdb.dwarf2/fission-base.exp: Use build_executable_and_dwo_files
+       instead of build_executable_from_fission_assembler.
+       * gdb.dwarf2/fission-loclists-pie.exp: Likewise.
+       * gdb.dwarf2/fission-loclists.exp: Likewise.
+
+       * gdb.dwarf2/fission-multi-cu.S: Delete file.
+       * gdb.dwarf2/fission-multi-cu.c: New file based on old
+       fission-multi-cu1.c and fission-multi-cu2.c files.
+       * gdb.dwarf2/fission-multi-cu1.c: Delete file.
+       * gdb.dwarf2/fission-multi-cu2.c: Delete file.
+       * gdb.dwarf2/fission-multi-cu.exp: Rewrite to use Dwarf assembler.
+       * gdb.dwarf2/fission-reread.exp: Likewise.
+       * lib/dwarf.exp (extract_dwo_information): New proc.
+       (strip_dwo_information): New proc.
+       (build_executable_and_dwo_files): New proc.
+       (build_executable_from_fission_assembler): Delete.
+       (Dwarf::_debug_addr_index): New variable.
+       (Dwarf::_cu_is_fission): New variable.
+       (Dwarf::_handle_DW_FORM): Handle DW_OP_GNU_addr_index.
+       (Dwarf::_default_form): Supply a default for DW_AT_GNU_addr_base.
+       (Dwarf::_handle_macro_at_range): Use form DW_FORM_GNU_addr_index
+       if this is a fission CU.
+       (Dwarf::_location): Handle DW_OP_GNU_addr_index.
+       (Dwarf::debug_addr_label): New proc.
+       (Dwarf::cu): Initialise _cu_is_fission.
+       (Dwarf::tu): Likewise.
+       (Dwarf::assemble): Initialise _debug_addr_index.
+
+2021-04-07  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.dwarf2/dw2-using-debug-str.exp: Add an additional test.
+
+2021-04-07  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.python/py-parameter.exp: Add test for reading data-directory
+       using gdb.parameter API.
+
+2021-04-06  Tom de Vries  <tdevries@suse.de>
+
+       PR breakpoints/25884
+       * gdb.opt/inline-cmds.exp: Remove kfail.
+
+2021-04-06  Tom de Vries  <tdevries@suse.de>
+
+       PR testsuite/27691
+       * gdb.threads/gcore-thread.exp: Don't call gdb_core_cmd with core
+       file "".
+
+2021-04-01  Egeyar Bagcioglu  <egeyar@gmail.com>
+
+       * lib/pdtrace.in: Fix obvious typo.
+
+2021-03-31  Tom Tromey  <tromey@adacore.com>
+
+       * lib/dwarf.exp (Dwarf::_get_args): New proc.
+       (Dwarf::_location): Use it.
+
+2021-03-31  Tom de Vries  <tdevries@suse.de>
+
+       PR testsuite/27667
+       * lib/gdb.exp (default_gdb_init): Unset DEBUGINFOD_URLS.
+
+2021-03-30  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       PR gdb/27541
+       * gdb.base/index-cache-load-twice.exp: Remove.
+       * gdb.base/index-cache-load-twice.c: Remove.
+       * gdb.dwarf2/per-bfd-sharing.exp: New.
+       * gdb.dwarf2/per-bfd-sharing.c: New.
+
+2021-03-30  Tom de Vries  <tdevries@suse.de>
+
+       PR testsuite/27604
+       * gdb.dwarf2/dw2-cu-size.S: Add missing .debug_abbrev terminator.
+
+2021-03-29  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
+
+       * gdb.mi/user-selected-context-sync.exp: Spin on a variable in
+       the infinite loop to avoid a Clang bug.
+
+2021-03-26  Will Schmidt  <will_schmidt@vnet.ibm.com>
+
+       * gdb.arch/powerpc-disassembler-options.exp: Extend some test
+       names for uniqueness.
+       * gdb.arch/powerpc-fpscr-gcore.exp: Add more test names for
+       uniqueness.
+
+2021-03-26  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.python/py-prettyprint.c (struct container): Add 'is_array_p'
+       member.
+       (make_container): Initialise is_array_p.
+       * gdb.python/py-prettyprint.exp: Add new tests.
+       * gdb.python/py-prettyprint.py (ContainerPrinter.display_hint):
+       Check is_array_p and possibly return 'array'.
+
+2021-03-26  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.cp/breakpoint.exp: Extend test names to make them unique.
+       * gdb.cp/casts.exp: Give tests unique names.
+       * gdb.cp/filename.exp: Likewise.
+       * gdb.cp/gdb2495.exp: Likewise.
+       * gdb.cp/mb-ctor.exp: Extend test names to make them unique.
+       * gdb.cp/misc.exp: Rename test to make it unique.
+       * gdb.cp/nsnested.exp: Give tests unique names.
+       * gdb.cp/ovldbreak.exp: Likewise.
+       * gdb.cp/pr17494.exp: Rename test to reflect what is actually
+       being tested.  This also removes the duplicate test name.
+       * gdb.cp/ref-types.exp: Likewise.
+       * gdb.cp/temargs.exp: Likewise.
+
+2021-03-26  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.cp/cplusfuncs.exp (test_paddr_operator_functions): Escape
+       square brackets in test.
+
+2021-03-26  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.cp/maint.exp (test_first_component): Run more tests with a
+       variable number of spaces, this removes the duplicate testing of
+       'operator ->' which existed before.
+
+2021-03-26  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.cp/gdb2384.cc (main): Change comments used for breakpoints.
+       * gdb.cp/gdb2384.exp: Change and extend test names to avoid
+       duplicates, and also to avoid having a string inside parentheses
+       at the end of test names.
+
+2021-03-26  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.cp/nsusing.exp: Rewrite test, remove a duplicate test block.
+       Avoid repeated uses of 'runto', and instread just progress once
+       through the test stopping at different breakpoints.  Give comments
+       a capital letter and full stop.  Give duplicate tests unique names.
+
+2021-03-25  Pedro Alves  <pedro@palves.net>
+
+       * gdb.server/stop-reply-no-thread-multi.exp (run_test): Add
+       "target_non_stop" parameter and use it.
+       (top level): Add "maint set target-non-stop on/off" testing axis.
+
+2021-03-25  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * lib/ada.exp (gnat_runtime_has_debug_info): Use -wrap with
+       gdb_test_multiple.
+
+2021-03-24  Luis Machado  <luis.machado@linaro.org>
+
+       * gdb.arch/aarch64-mte.c: New file.
+       * gdb.arch/aarch64-mte.exp: New test.
+       * gdb.base/memtag.c: New file.
+       * gdb.base/memtag.exp: New test.
+       * lib/gdb.exp (supports_memtag): New function.
+
+2021-03-24  Luis Machado  <luis.machado@linaro.org>
+
+       * gdb.base/options.exp: Adjust for new print options.
+       * gdb.base/with.exp: Likewise.
+
+2021-03-22  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.dwarf2/dw2-missing-cu-tag.c: New file.
+       * gdb.dwarf2/dw2-missing-cu-tag.exp: New file.
+
+2021-03-22  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.dwarf2/dw2-using-debug-str.c: New file.
+       * gdb.dwarf2/dw2-using-debug-str.exp: New file.
+       * lib/dwarf.exp (Dwarf::DW_FORM_strp): Create .debug_str section,
+       not .debug_string.
+
+2021-03-20  Tom Tromey  <tom@tromey.com>
+
+       * gdb.base/maint.exp: Update "maint print statistics" output.
+
+2021-03-19  Kevin Buettner  <kevinb@redhat.com>
+
+       * lib/gdbserver-support.exp (gdbserver_exit): Use the
+       "-nowait" flag when waiting for gdbserver to exit.
+
+2021-03-19  Sourabh Singh Tomar  <SourabhSingh.Tomar@amd.com>
+
+       * gdb.base/info-macros.exp: Append -fdebug-macro to
+         additional_flags for clang.
+       * gdb.base/macscp.exp: Likewise.
+       * gdb.base/style.exp: Likewise.
+       * gdb.linespec/macro-relative.exp: Likewise.
+
+2021-03-17  Simon Marchi  <simon.marchi@polymtl.ca>
+           Pedro Alves  <pedro@palves.net>
+
+       * gdb.base/run-attach-while-running.exp: New.
+       * gdb.base/run-attach-while-running.c: New.
+
+2021-03-16  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.python/py-framefilter-addr.c: New file.
+       * gdb.python/py-framefilter-addr.exp: New file.
+       * gdb.python/py-framefilter-addr.py: New file.
+
+2021-03-16  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.threads/execl.exp: Remove duplicate 'info threads' test.
+       Make use of $gdb_test_name instead of creating a separate $test
+       variable.
+       * gdb.threads/print-threads.exp: Add a with_test_prefix instead of
+       adding a '($name)' at the end of each test.  This also catches the
+       one place where '($name)' was missing, and so caused a duplicate
+       test name.
+       * gdb.threads/queue-signal.exp: Give tests unique names to avoid
+       duplicate test names based on the command being tested.
+       * gdb.threads/signal-command-multiple-signals-pending.exp:
+       Likewise.
+       * lib/gdb.exp (gdb_compile_shlib_pthreads): Tweak test name to
+       avoid duplicate testnames when a test script uses this proc and
+       also gdb_compile_pthreads.
+       * lib/prelink-support.exp (build_executable_own_libs): Use
+       with_test_prefix to avoid duplicate test names when we call
+       build_executable twice.
+
+2021-03-15  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.ada/fixed_points.exp: Add tests of unary + and -.
+
+2021-03-15  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.ada/varsize_limit.exp: Add new test.
+       * gdb.ada/varsize_limit/vsizelim.adb: Update.
+
+2021-03-15  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.ada/operator_call/twovecs.ads: New file.
+       * gdb.ada/operator_call/twovecs.adb: New file.
+       * gdb.ada/operator_call/opcall.adb: New file.
+       * gdb.ada/operator_call.exp: New file.
+
+2021-03-15  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.ada/enums_overload/enums_overload_main.adb: New file.
+       * gdb.ada/enums_overload/enums_overload.ads: New file.
+       * gdb.ada/enums_overload/enums_overload.adb: New file.
+       * gdb.ada/enums_overload.exp: New file.
+
+2021-03-15  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.ada/assign_arr/target_wrapper.ads (IArray, Put, Do_Nothing):
+       Declare.
+       * gdb.ada/assign_arr/target_wrapper.adb: New file.
+       * gdb.ada/assign_arr/main_p324_051.adb (IValue): New variable.
+       Call Put.
+       * gdb.ada/assign_arr.exp: Update.
+
+2021-03-15  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.python/py-auto-load-chaining-f1.c: New file.
+       * gdb.python/py-auto-load-chaining-f1.o-gdb.py: New file.
+       * gdb.python/py-auto-load-chaining-f2.c: New file.
+       * gdb.python/py-auto-load-chaining-f2.o-gdb.py: New file.
+       * gdb.python/py-auto-load-chaining.c: New file.
+       * gdb.python/py-auto-load-chaining.exp: New file.
+
+2021-03-12  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.python/py-bad-printers.exp: Extend test names to make them
+       unique.
+       * gdb.python/py-events.exp: Likewise.
+       * gdb.python/py-finish-breakpoint2.exp: Likewise.
+       * gdb.python/py-frame-inline.exp: Likewise.
+       * gdb.python/py-frame.exp: Likewise.
+       * gdb.python/py-infthread.exp: Likewise.
+
+2021-03-12  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.python/py-value-cc.exp: Remove a duplicate test.
+
+2021-03-12  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.python/lib-types.exp: Update the test to check the correct
+       python variable.
+
+2021-03-12  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.python/py-explore-cc.exp: Extend test names to make them
+       unique.
+
 2021-03-12  Andrew Burgess  <andrew.burgess@embecosm.com>
 
        * gdb.python/py-lookup-type.exp: Remove duplicate test.
This page took 0.040107 seconds and 4 git commands to generate.