1 2009-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3 * f-typeprint.c (f_type_print_varspec_suffix): Convert the autovariable
4 arrayprint_recurse_level to a parameter. Update all the callers. New
5 comment at autovariables.
7 2009-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9 * gdbtypes.c (make_qualified_type, replace_type): Reformat to the GNU
12 2009-01-11 Joel Brobecker <brobecker@adacore.com>
14 * target.c (target_xfer_partial): Use host_address_to_string to
15 print the address of readbuf and writebuf. Cast the address of
16 elements inside the myaddr buffer into intptr_t.
17 (deprecated_debug_xfer_memory): Use paddress to print memaddr.
18 Cast the address of elements inside the myaddr buffer into
21 2009-01-11 Joel Brobecker <brobecker@adacore.com>
23 * amd64-windows-nat.c, amd64-windows-tdep.c: New files.
24 * config/i386/mingw64.mh, config/i386/nm-cygwin64.h: New files.
25 * configure.host, configure.tgt: Add handling for x86_64/windows.
26 * config/djgpp/fnchange.lst: Add entries for amd64-windows-nat.c
27 and amd64-windows-tdep.c.
29 2009-01-11 Joel Brobecker <brobecker@adacore.com>
31 * win32-tdep.h, win32-tdep.c: New files.
32 * i386-cygwin-tdep.h: Delete.
33 * i386-cygwin-tdep.c: Include win32-tdep.h instead of
35 (win32_xfer_shared_library): Delete. Moved to win32-tdep.c.
36 * win32-nat.c: Likewise.
37 * configure.tgt: Add win32-tdep.o to the list of target object
38 files for i386-cygwin and i386-mingw targets.
40 2009-01-11 Joel Brobecker <brobecker@adacore.com>
42 * win32-nat.h: New file.
43 * win32-nat.c (mappings): Initialize to NULL.
44 (win32_set_context_register_offsets): New function.
45 * i386-windows-nat.c: New file.
46 (mappings): Moved here from win32-nat.c.
47 (_initialize_i386_windows_nat): New function.
48 * config/i386/mingw.mh (NATDEPFILES): Add i386-windows-nat.o.
49 * config/i386/cygwin.mh (NATDEPFILES): Likewise.
51 2009-01-09 Andreas Schwab <schwab@suse.de>
53 * Makefile.in (init.c): Set LANG/LC_ALL to C, not c.
55 2009-01-09 Daniel Jacobowitz <dan@codesourcery.com>
57 * gdbtypes.c (append_composite_type_field): Correct the location of
60 2009-01-09 Pedro Alves <pedro@codesourcery.com>
62 * defs.h (deprecated_error_hook): Delete declaration.
63 * interps.c (clear_interpreter_hooks): Adjust.
64 * remote-sim.c (gdb_os_error): Don't try to call
65 deprecated_error_hook. No need to call exit anymore.
66 * top.c (deprecated_error_hook): Delete.
68 2009-01-09 Joel Brobecker <brobecker@adacore.com>
70 * arch-utils.c (gdbarch_update_p): Use host_address_to_string
71 to print the address of the gdbarch pointer.
73 2009-01-09 Joel Brobecker <brobecker@adacore.com>
75 * gdbarch.sh: Fix all the compilation errors on amd64-windows
76 due to casting a pointer to a long when printing a function
77 address. Instead, use host_address_to_string to convert our
79 * gdbarch.c: Regenerate.
81 2009-01-09 Joel Brobecker <brobecker@adacore.com>
83 * event-top.c (async_disconnect, async_stop_sig): use "raise"
84 instead of "kill" to raise a signal.
86 2009-01-09 Joel Brobecker <brobecker@adacore.com>
88 * win32-nat.c (get_module_name): Change the type of parameter
89 "base_address" to LPVOID. Remove unnecessary cast.
90 (struct lm_info): Change type of load_addr to LPVOID.
91 (win32_make_so): Change the type of parameter "load_addr"
92 to LPVOID. Remove some unnecessary casts.
93 (handle_unload_dll): Change the type of "lpBaseOfDll" to LPVOID.
94 (win32_xfer_shared_libraries): Add missing cast.
96 2009-01-09 Joel Brobecker <brobecker@adacore.com>
98 * win32-nat.c (has_detach_ability, set_process_privilege):
99 Cast the result of GetProcAddress to (void *) to avoid
100 a compilation warning.
102 2009-01-09 Joel Brobecker <brobecker@adacore.com>
104 * win32-nat.c (CONTEXT_EXTENDED_REGISTERS): Define to 0 if not
107 2009-01-09 Joel Brobecker <brobecker@adacore.com>
109 * win32-nat.c (get_image_name, win32_xfer_memory): Fix type
110 definition of local variable "done".
111 (info_w32_command, handle_exception): Remove unnecessary cast.
113 2009-01-09 Joel Brobecker <brobecker@adacore.com>
115 * win32-nat.c (kernel32_DebugSetProcessKillOnExit): Renames
116 DebugSetProcessKillOnExit. Update all uses in this file.
117 (kernel32_DebugActiveProcessStop): Renames DebugActiveProcessStop.
118 Update all uses in this file.
120 2009-01-09 Joel Brobecker <brobecker@adacore.com>
122 * win32-nat.c (do_initial_win32_stuff): Add new ops parameter,
123 and use it when pushing the target.
124 (win32_attach, win32_create_inferior): Update call to
125 do_initial_win32_stuff.
126 (win32_detach, win32_mourn_inferior): Use our ops parameter
127 instead of the global win32_ops to unpush the target.
129 2009-01-09 Joel Brobecker <brobecker@adacore.com>
131 * ser-mingw.c (ser_windows_open): Use proper type when casting
132 in call to _open_osfhandle.
134 2009-01-09 Kai Tietz <kai.tietz@onevision.com>
136 * coff-pe-read.c (read_pe_exported_syms): Fix typo.
138 2009-01-09 Joel Brobecker <brobecker@adacore.com>
140 * CONTRIBUTE: Minor reformatting.
142 2009-01-08 Kai Tietz <kai.tietz@onevision.com>
144 * MAINTAINERS: Add myself to Write After Approval.
145 * coff-pe-read.c (read_pe_exported_syms): Enable read of PE+
148 2009-01-08 Nathan Froyd <froydnj@codesourcery.com>
150 * remote-sim.c (gdb_os_error): Mark as a noreturn function.
151 Call exit to make it obvious to GCC.
153 2009-01-08 Tom Tromey <tromey@redhat.com>
156 * varobj.c (varobj_invalidate): Unconditionally free
158 * symfile.c (syms_from_objfile): Free local_addr when returning
160 * exec.c (exec_file_attach): Do cleanups before returning.
161 (exec_file_command): Likewise.
162 * corefile.c (reopen_exec_file): Do cleanups before returning.
163 * breakpoint.c (insert_breakpoint_locations): Do cleanups before
165 (do_vec_free): New function.
166 (update_global_location_list): Make a cleanup for old_locations.
167 Do cleanups before returning. Remove unused variable 'e'.
168 (find_condition_and_thread): Free result of parsing the
170 (print_it_typical): Do cleanups before returning.
171 (breakpoint_re_set_one): Always free sals.sals.
173 2009-01-08 Joel Brobecker <brobecker@adacore.com>
174 Emi Suzuki <emi-suzuki@tjsys.co.jp>
176 * breakpoint.c (do_enable_breakpoint): Use update_watchpoint for
179 2009-01-07 Doug Evans <dje@google.com>
181 * top.c (gdb_prompt_string): Delete, unused.
183 2009-01-07 Pedro Alves <pedro@codesourcery.com>
185 Delete ONE_PROCESS_WRITETEXT leftovers.
187 * breakpoint.c (insert_bp_location): Delete process_warning
189 (insert_breakpoint_locations): Adjust.
190 (reattach_breakpoints): Adjust.
191 * infrun.c (normal_stop): Drop "It might be running in another
194 2009-01-07 Stan Shebs <stan@codesourcery.com>
196 * config/pa/linux.mh (XDEPFILES): Remove.
198 2009-01-07 Doug Evans <dje@google.com>
200 * cli/cli-cmds.c (set_debug): Fix cut-n-paste error.
202 2009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
204 * f-typeprint.c (f_type_print_base <TYPE_CODE_STRUCT>): Fix output
205 spacing, a regression from 2008-04-22.
207 2009-01-07 Joel Brobecker <brobecker@adacore.com>
209 * utils.c (gdb_print_host_address): Adjust implementation to
210 reuse host_address_to_string. Move comment explaining the conversion
211 from host address to string from here...
212 (host_address_to_string): ... to there.
214 2009-01-07 Emi Suzuki <emi-suzuki@tjsys.co.jp>
216 * MAINTAINERS: Add myself for write after approval privileges.
218 2009-01-06 Tom Tromey <tromey@redhat.com>
220 * value.c (set_internalvar): Use value_free, not xfree.
222 2009-01-06 Jim Blandy <jimb@red-bean.com>
224 Check return values of functions declared with warn_unused_result
225 attribute in GLIBC 2.8.
226 * cli/cli-cmds.c (pwd_command): Check return value from getcwd.
227 * inflow.c (check_syscall): New function.
228 (new_tty): Use check_syscall to check return values from open and dup.
229 * linux-nat.c (linux_nat_info_proc_cmd): Check return value from fgets.
230 * main.c (captured_main): Call cwd after setting up gdb_stderr;
231 check for errors from getcwd.
232 * mi/mi-cmd-env.c (mi_cmd_env_pwd): Check return value from getcwd.
233 * ui-file.c (stdio_file_write): Ignore return value from fwrite.
234 (stdio_file_fputs): Same.
235 * utils.c (internal_vproblem): abort if last-ditch error message
238 * top.c (gdb_init): Don't set the current directory here; that's
239 already been done in captured_main.
241 2009-01-06 Sandra Loosemore <sandra@codesourcery.com>
243 * ser-tcp.c: Adjust includes.
244 (tcp_set_cmdlist, tcp_show_cmdlist): Declare.
245 (tcp_auto_retry, tcp_retry_limit): Declare.
246 (TIMEOUT): Remove, in favor of tcp_retry_limit.
247 (POLL_INTERVAL): Increase to 5, in favor of backoff logic.
248 (wait_for_connect): New function.
249 (net_open): Use it. Add auto-retry logic.
250 (set_tcp_cmd, show_tcp_cmd): New functions.
251 (_initialize_ser_tcp): Initialize new "set/show tcp auto-retry"
252 and "set/show tcp connect-timeout" commands.
253 * NEWS: Document new commands.
255 2009-01-05 Tom Tromey <tromey@redhat.com>
257 * python/python-internal.h (Py_ssize_t): Define as int.
259 2009-01-05 Jim Blandy <jimb@red-bean.com>
261 * MAINTAINERS: Fix my e-mail address as steering committee member.
263 2009-01-03 Joel Brobecker <brobecker@adacore.com>
265 Updated copyright notices for most files.
267 2009-01-03 Joel Brobecker <brobecker@adacore.com>
269 * top.c (print_gdb_version): Update copyright year.
271 2009-01-03 Joel Brobecker <brobecker@adacore.com>
273 * config/djgpp/fnchange.lst: Add entry for ChangeLog-2008.
275 2009-01-01 Pedro Alves <pedro@codesourcery.com>
278 * exceptions.h (enum errors): New error type, MEMORY_ERROR.
279 * corefile.c (memory_error): Rewrite to throw a MEMORY_ERROR.
280 * breakpoint.c (fetch_watchpoint_value): Ignore MEMORY_ERRORs, but
281 retrow all other exceptions.
283 For older changes see ChangeLog-2008.
289 version-control: never