Commit Graph

21282 Commits

Author SHA1 Message Date
gdbadmin a0ac008e3e *** empty log message *** 2007-08-01 00:00:33 +00:00
Michael Snyder 967af18d0d 2007-07-31 Michael Snyder <msnyder@access-company.com>
* breakpoint.c (breakpoint_init_inferior): Add 'else' to 'if'.
	True and false paths are mutually exclusive.
2007-07-31 23:08:22 +00:00
Michael Snyder 40742ab60a 2007-07-31 Michael Snyder <msnyder@access-company.com>
* event-top.c (command_line_handler): Add pedantic return.
2007-07-31 22:01:03 +00:00
Michael Snyder 7c6e0d4812 2007-07-31 Michael Snyder <msnyder@access-company.com>
* f-valprint.c (info_common_command): Bail out to prevent null
	pointer deref.  Break up a long line.
2007-07-31 21:56:00 +00:00
Michael Snyder c7b1adc9a0 2007-07-31 Michael Snyder <msnyder@access-company.com>
* exec.c (xfer_memory): Remove redundant condition from 'if'.
2007-07-31 21:49:21 +00:00
Michael Snyder 73780b3c0a 2007-07-31 Michael Snyder <msnyder@access-company.com>
* symfile.c (reread_separate_symbols): Free xmalloced memory.
2007-07-31 21:42:19 +00:00
Michael Snyder abe34c358d 2007-07-31 Michael Snyder <msnyder@access-company.com>
* printcmd.c (build_address_symbolic): Remove dead code and dead
	variable.
2007-07-31 21:36:13 +00:00
Daniel Jacobowitz e48883f791 * linespec.c (minsym_found): Advance to the next line if possible.
* gdb.base/prologue.c, gdb.base/prologue.exp: New.
	* lib/gdb.exp (gdb_breakpoint): Handle "temporary".
2007-07-31 19:58:40 +00:00
Pedro Alves 6b3d9b8313 * win32-low.c (winapi_CloseToolhelp32Snapshot) [_WIN32_WCE]: New
typedef.
	(win32_CloseToolhelp32Snapshot) [_WIN32_WCE]: New global var.
	(load_toolhelp) [_WIN32_WCE]: Load TOOLHELP.DLL.  Get
	CloseToolhelp32Snapshot.
	(toolhelp_get_dll_name) [_WIN32_WCE]: Close the snapshot with
	CloseToolhelp32Snapshot.
2007-07-31 13:58:19 +00:00
Pedro Alves 5720483760 * arm-wince-tdep.c (arm_wince_init_abi): Remove svr4 related call.
* config/arm/wince.mt (TDEPFILES): Remove solib-legacy.o and
	solib-svr4.o, and add solib-target.o
2007-07-31 13:50:11 +00:00
gdbadmin 615c7d515b *** empty log message *** 2007-07-31 00:00:32 +00:00
Maciej W. Rozycki 1ab80e5ba1 * gdb.base/dump.exp: Force the correct endianness for binary
formats not carrying this information.
2007-07-30 12:24:22 +00:00
gdbadmin 4f17aed340 *** empty log message *** 2007-07-30 00:00:04 +00:00
gdbadmin b112852a8f *** empty log message *** 2007-07-29 00:00:33 +00:00
Michael Snyder fed8b01e54 2007-07-27 Michael Snyder <msnyder@access-company.com>
* tui/tui-data.c (tui_alloc_generic_win_info): Wrong arg for sizeof.
2007-07-28 01:16:39 +00:00
gdbadmin 2babdb4046 *** empty log message *** 2007-07-28 00:00:02 +00:00
Michael Snyder c588c53caf 2007-07-27 Michael Snyder <michael.snyder@access-company.com>
* server.c (main): Check for inferior exit before main loop.
2007-07-27 18:44:40 +00:00
Daniel Jacobowitz aba471f522 * gdb.threads/staticthreads.exp: Match .*sem_post. 2007-07-27 15:45:06 +00:00
Daniel Jacobowitz d4e0720445 * gdb.base/readline.exp (operate_and_get_next): Match the final
prompt.
2007-07-27 15:15:02 +00:00
gdbadmin 2ab0659b4f *** empty log message *** 2007-07-27 00:00:02 +00:00
Maciej W. Rozycki 9ceb0b4c1d * MAINTAINERS (Write After Approval): Add myself. 2007-07-26 10:37:41 +00:00
Maciej W. Rozycki c80a96a874 gdb/:
* Makefile.in (MAKEHTMLFLAGS): Also search the current directory
for include files.

gdb/doc/:
* Makefile.in (MAKEHTMLFLAGS): Also search the current directory
for include files.
2007-07-26 10:34:00 +00:00
gdbadmin 861da52811 *** empty log message *** 2007-07-26 00:00:04 +00:00
Maciej W. Rozycki 5b31182830 * Makefile.in (MAKEHTMLFLAGS): Remove "-glossary". 2007-07-25 15:25:14 +00:00
Michael Snyder f52df7d9b7 2007-07-23 Michael Snyder <msnyder@access-company.com>
* solib-svr4.c (svr4_fetch_objfile_link_map): Null pointer check of
	'buffer' must cover both branches that call strcmp (Coverity).
2007-07-25 02:12:33 +00:00
Michael Snyder 55765a25f6 2007-07-05 Michael Snyder <msnyder@access-company.com>
* stack.c (print_frame_args): Check return value of lookup_symbol.
2007-07-25 00:28:25 +00:00
gdbadmin 4cff3c28a3 *** empty log message *** 2007-07-25 00:00:33 +00:00
Michael Snyder 747f3d1889 2007-07-24 Michael Snyder <msnyder@access-company.com>
* ax-gdb.c (find_field): Guard against null ptr.
2007-07-24 22:49:44 +00:00
Ulrich Weigand 69ae91d311 * regformats/reg-spu.dat: Fix order of npc, id registers. 2007-07-24 12:51:51 +00:00
Ulrich Weigand 98646950ba * target.c (memory_xfer_partial): Accesses to unmapped overlay
sections should always go to the executable file.
2007-07-24 12:49:24 +00:00
gdbadmin f3c7bcacb1 *** empty log message *** 2007-07-24 00:00:33 +00:00
Kevin Buettner 2b97317d48 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
to restarting SID.
2007-07-23 22:53:27 +00:00
gdbadmin 77998c0ee0 *** empty log message *** 2007-07-23 00:00:03 +00:00
gdbadmin f884085217 *** empty log message *** 2007-07-22 00:00:02 +00:00
gdbadmin 07446469bc *** empty log message *** 2007-07-21 00:00:33 +00:00
Maciej W. Rozycki 193774b320 * mips-tdep.c (heuristic_proc_start): Add more MIPS16 function
prologue instructions.
2007-07-20 17:29:59 +00:00
Maciej W. Rozycki ce1f96de2e * mips-tdep.c (mips_next_pc): Use is_mips16_addr() instead of
a direct test.
2007-07-20 15:31:56 +00:00
Maciej W. Rozycki bcf1ea1e61 * mips-tdep.c (fetch_mips_16): Fix typos and reformat the
description.
2007-07-20 15:19:39 +00:00
gdbadmin 3185aeeca7 *** empty log message *** 2007-07-20 00:00:33 +00:00
Kevin Buettner 44efa07abf * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
prior to `gdb_start'.
2007-07-19 00:46:45 +00:00
Kevin Buettner 7b5ebade65 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
return value to be compatible with gdb_run_cmd in lib/gdb.exp.
	Remove call to gdb_unload.
2007-07-19 00:41:27 +00:00
gdbadmin 9353f0f69c *** empty log message *** 2007-07-19 00:00:03 +00:00
Pedro Alves aa0403d920 * remote-utils.c (remote_open): Set SO_KEEPALIVE on remote_desc
instead of on tmp_desc.
2007-07-18 12:36:51 +00:00
gdbadmin 9bd06a30b3 *** empty log message *** 2007-07-18 00:00:32 +00:00
Daniel Jacobowitz 255e7678a9 2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
Daniel Jacobowitz  <dan@codesourcery.com>

	* config/i386/cygwin.mt (TDEPFILES): Add solib-target.o.
	* coff-pe-read.c (read_pe_exported_syms): Delete verbose
	printf.
	* NEWS: Mention gdbserver DLL support.

	* gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
	for __WIN32__.
	(SHLIB_NAME): Delete definition.  Always pass dlerror to fprintf.
	* gdb.base/unload.exp: Use shared library test routines.

	* inferiors.c (all_dlls, dlls_changed, get_dll): New.
	(add_thread): Minor cleanups.
	(clear_inferiors): Move lower in the file.  Clear the DLL
	list.
	(free_one_dll, match_dll, loaded_dll, unloaded_dll, clear_list): New.
	* remote-utils.c (prepare_resume_reply): Check dlls_changed.
	(xml_escape_text): New.
	* server.c (handle_query): Handle qXfer:libraries:read.  Report it
	for qSupported.
	(handle_v_cont): Report errors.
	(gdbserver_version): Update.
	(main): Correct size of own_buf.  Do not report initial DLL events.
	* server.h (struct dll_info, all_dlls, dlls_changed, loaded_dll)
	(unloaded_dll, xml_escape_text): New.
	* win32-low.c (enum target_waitkind): Update comments.
	(win32_add_one_solib, get_image_name, winapi_EnumProcessModules)
	(winapi_GetModuleInformation, winapi_GetModuleFileNameExA)
	(win32_EnumProcessModules, win32_GetModuleInformation)
	(win32_GetModuleFileNameExA, load_psapi, psapi_get_dll_name)
	(winapi_CreateToolhelp32Snapshot, winapi_Module32First)
	(winapi_Module32Next, win32_CreateToolhelp32Snapshot)
	(win32_Module32First, win32_Module32Next, load_toolhelp)
	(toolhelp_get_dll_name, handle_load_dll, handle_unload_dll): New.
	(get_child_debug_event): Handle DLL events.
	(win32_wait): Likewise.
2007-07-17 12:51:41 +00:00
Daniel Jacobowitz a8c50c1f55 * dwarf2read.c (dwarf_decode_lines): Detect address size mismatches. 2007-07-17 12:46:35 +00:00
gdbadmin 741d7ba69c *** empty log message *** 2007-07-17 00:00:03 +00:00
H.J. Lu 2e024c20eb 2007-07-16 H.J. Lu <hongjiu.lu@intel.com>
* i386-linux-nat.c (fetch_regs): Work around gcc 3.4 alias
	warning bug.
2007-07-16 18:34:50 +00:00
gdbadmin b1269cfcf2 *** empty log message *** 2007-07-16 00:00:02 +00:00
gdbadmin 8ff6e67ea7 *** empty log message *** 2007-07-15 00:00:03 +00:00