Pedro Alves 26c957f127 Fix nullptr in with_command_1
Running 'with' without arguments crashes GDB.  This fixes it.

gdb/ChangeLog:
2019-08-21  Bogdan Harjoc  <harjoc@gmail.com>

	* cli/cli-cmds.c (with_command_1): Error out if no arguments.

gdb/testsuite/ChangeLog:
2019-08-21  Pedro Alves  <palves@redhat.com>

	* gdb.base/with.exp: Test "with" with no arguments.
2019-08-21 21:11:33 +01:00
..
2019-08-21 21:11:33 +01:00
2019-07-11 10:28:27 -06:00
2019-07-10 14:53:53 -06:00
2019-07-09 07:45:38 -06:00
2019-07-09 07:45:38 -06:00
2019-07-03 13:35:45 +01:00