* amd64-windows-nat.c, amd64-windows-tdep.c: New files.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2009-10-11 Joel Brobecker <brobecker@adacore.com>
2
3 * amd64-windows-nat.c, amd64-windows-tdep.c: New files.
4 * config/i386/mingw64.mh, config/i386/nm-cygwin64.h: New files.
5 * configure.host, configure.tgt: Add handling for x86_64/windows.
6 * config/djgpp/fnchange.lst: Add entries for amd64-windows-nat.c
7 and amd64-windows-tdep.c.
8
9 2009-10-11 Joel Brobecker <brobecker@adacore.com>
10
11 * win32-tdep.h, win32-tdep.c: New files.
12 * i386-cygwin-tdep.h: Delete.
13 * i386-cygwin-tdep.c: Include win32-tdep.h instead of
14 i386-cygwin-tdep.h.
15 (win32_xfer_shared_library): Delete. Moved to win32-tdep.c.
16 * win32-nat.c: Likewise.
17 * configure.tgt: Add win32-tdep.o to the list of target object
18 files for i386-cygwin and i386-mingw targets.
19
20 2009-10-11 Joel Brobecker <brobecker@adacore.com>
21
22 * win32-nat.h: New file.
23 * win32-nat.c (mappings): Initialize to NULL.
24 (win32_set_context_register_offsets): New function.
25 * i386-windows-nat.c: New file.
26 (mappings): Moved here from win32-nat.c.
27 (_initialize_i386_windows_nat): New function.
28 * config/i386/mingw.mh (NATDEPFILES): Add i386-windows-nat.o.
29 * config/i386/cygwin.mh (NATDEPFILES): Likewise.
30
31 2009-01-09 Andreas Schwab <schwab@suse.de>
32
33 * Makefile.in (init.c): Set LANG/LC_ALL to C, not c.
34
35 2009-01-09 Daniel Jacobowitz <dan@codesourcery.com>
36
37 * gdbtypes.c (append_composite_type_field): Correct the location of
38 appended fields.
39
40 2009-01-09 Pedro Alves <pedro@codesourcery.com>
41
42 * defs.h (deprecated_error_hook): Delete declaration.
43 * interps.c (clear_interpreter_hooks): Adjust.
44 * remote-sim.c (gdb_os_error): Don't try to call
45 deprecated_error_hook. No need to call exit anymore.
46 * top.c (deprecated_error_hook): Delete.
47
48 2009-01-09 Joel Brobecker <brobecker@adacore.com>
49
50 * arch-utils.c (gdbarch_update_p): Use host_address_to_string
51 to print the address of the gdbarch pointer.
52
53 2009-01-09 Joel Brobecker <brobecker@adacore.com>
54
55 * gdbarch.sh: Fix all the compilation errors on amd64-windows
56 due to casting a pointer to a long when printing a function
57 address. Instead, use host_address_to_string to convert our
58 address to a string.
59 * gdbarch.c: Regenerate.
60
61 2009-01-09 Joel Brobecker <brobecker@adacore.com>
62
63 * event-top.c (async_disconnect, async_stop_sig): use "raise"
64 instead of "kill" to raise a signal.
65
66 2009-01-09 Joel Brobecker <brobecker@adacore.com>
67
68 * win32-nat.c (get_module_name): Change the type of parameter
69 "base_address" to LPVOID. Remove unnecessary cast.
70 (struct lm_info): Change type of load_addr to LPVOID.
71 (win32_make_so): Change the type of parameter "load_addr"
72 to LPVOID. Remove some unnecessary casts.
73 (handle_unload_dll): Change the type of "lpBaseOfDll" to LPVOID.
74 (win32_xfer_shared_libraries): Add missing cast.
75
76 2009-01-09 Joel Brobecker <brobecker@adacore.com>
77
78 * win32-nat.c (has_detach_ability, set_process_privilege):
79 Cast the result of GetProcAddress to (void *) to avoid
80 a compilation warning.
81
82 2009-01-09 Joel Brobecker <brobecker@adacore.com>
83
84 * win32-nat.c (CONTEXT_EXTENDED_REGISTERS): Define to 0 if not
85 already defined.
86
87 2009-01-09 Joel Brobecker <brobecker@adacore.com>
88
89 * win32-nat.c (get_image_name, win32_xfer_memory): Fix type
90 definition of local variable "done".
91 (info_w32_command, handle_exception): Remove unnecessary cast.
92
93 2009-01-09 Joel Brobecker <brobecker@adacore.com>
94
95 * win32-nat.c (kernel32_DebugSetProcessKillOnExit): Renames
96 DebugSetProcessKillOnExit. Update all uses in this file.
97 (kernel32_DebugActiveProcessStop): Renames DebugActiveProcessStop.
98 Update all uses in this file.
99
100 2009-01-09 Joel Brobecker <brobecker@adacore.com>
101
102 * win32-nat.c (do_initial_win32_stuff): Add new ops parameter,
103 and use it when pushing the target.
104 (win32_attach, win32_create_inferior): Update call to
105 do_initial_win32_stuff.
106 (win32_detach, win32_mourn_inferior): Use our ops parameter
107 instead of the global win32_ops to unpush the target.
108
109 2009-01-09 Joel Brobecker <brobecker@adacore.com>
110
111 * ser-mingw.c (ser_windows_open): Use proper type when casting
112 in call to _open_osfhandle.
113
114 2009-01-09 Kai Tietz <kai.tietz@onevision.com>
115
116 * coff-pe-read.c (read_pe_exported_syms): Fix typo.
117
118 2009-01-09 Joel Brobecker <brobecker@adacore.com>
119
120 * CONTRIBUTE: Minor reformatting.
121
122 2009-01-08 Kai Tietz <kai.tietz@onevision.com>
123
124 * MAINTAINERS: Add myself to Write After Approval.
125 * coff-pe-read.c (read_pe_exported_syms): Enable read of PE+
126 export directory.
127
128 2009-01-08 Nathan Froyd <froydnj@codesourcery.com>
129
130 * remote-sim.c (gdb_os_error): Mark as a noreturn function.
131 Call exit to make it obvious to GCC.
132
133 2009-01-08 Tom Tromey <tromey@redhat.com>
134
135 PR breakpoints/9350:
136 * varobj.c (varobj_invalidate): Unconditionally free
137 all_rootvarobj.
138 * symfile.c (syms_from_objfile): Free local_addr when returning
139 normally.
140 * exec.c (exec_file_attach): Do cleanups before returning.
141 (exec_file_command): Likewise.
142 * corefile.c (reopen_exec_file): Do cleanups before returning.
143 * breakpoint.c (insert_breakpoint_locations): Do cleanups before
144 returning.
145 (do_vec_free): New function.
146 (update_global_location_list): Make a cleanup for old_locations.
147 Do cleanups before returning. Remove unused variable 'e'.
148 (find_condition_and_thread): Free result of parsing the
149 expression.
150 (print_it_typical): Do cleanups before returning.
151 (breakpoint_re_set_one): Always free sals.sals.
152
153 2009-01-08 Joel Brobecker <brobecker@adacore.com>
154 Emi Suzuki <emi-suzuki@tjsys.co.jp>
155
156 * breakpoint.c (do_enable_breakpoint): Use update_watchpoint for
157 watchpoints.
158
159 2009-01-07 Doug Evans <dje@google.com>
160
161 * top.c (gdb_prompt_string): Delete, unused.
162
163 2009-01-07 Pedro Alves <pedro@codesourcery.com>
164
165 Delete ONE_PROCESS_WRITETEXT leftovers.
166
167 * breakpoint.c (insert_bp_location): Delete process_warning
168 argument. Adjust.
169 (insert_breakpoint_locations): Adjust.
170 (reattach_breakpoints): Adjust.
171 * infrun.c (normal_stop): Drop "It might be running in another
172 process" notice.
173
174 2009-01-07 Stan Shebs <stan@codesourcery.com>
175
176 * config/pa/linux.mh (XDEPFILES): Remove.
177
178 2009-01-07 Doug Evans <dje@google.com>
179
180 * cli/cli-cmds.c (set_debug): Fix cut-n-paste error.
181
182 2009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
183
184 * f-typeprint.c (f_type_print_base <TYPE_CODE_STRUCT>): Fix output
185 spacing, a regression from 2008-04-22.
186
187 2009-01-07 Joel Brobecker <brobecker@adacore.com>
188
189 * utils.c (gdb_print_host_address): Adjust implementation to
190 reuse host_address_to_string. Move comment explaining the conversion
191 from host address to string from here...
192 (host_address_to_string): ... to there.
193
194 2009-01-07 Emi Suzuki <emi-suzuki@tjsys.co.jp>
195
196 * MAINTAINERS: Add myself for write after approval privileges.
197
198 2009-01-06 Tom Tromey <tromey@redhat.com>
199
200 * value.c (set_internalvar): Use value_free, not xfree.
201
202 2009-01-06 Jim Blandy <jimb@red-bean.com>
203
204 Check return values of functions declared with warn_unused_result
205 attribute in GLIBC 2.8.
206 * cli/cli-cmds.c (pwd_command): Check return value from getcwd.
207 * inflow.c (check_syscall): New function.
208 (new_tty): Use check_syscall to check return values from open and dup.
209 * linux-nat.c (linux_nat_info_proc_cmd): Check return value from fgets.
210 * main.c (captured_main): Call cwd after setting up gdb_stderr;
211 check for errors from getcwd.
212 * mi/mi-cmd-env.c (mi_cmd_env_pwd): Check return value from getcwd.
213 * ui-file.c (stdio_file_write): Ignore return value from fwrite.
214 (stdio_file_fputs): Same.
215 * utils.c (internal_vproblem): abort if last-ditch error message
216 write fails.
217
218 * top.c (gdb_init): Don't set the current directory here; that's
219 already been done in captured_main.
220
221 2009-01-06 Sandra Loosemore <sandra@codesourcery.com>
222
223 * ser-tcp.c: Adjust includes.
224 (tcp_set_cmdlist, tcp_show_cmdlist): Declare.
225 (tcp_auto_retry, tcp_retry_limit): Declare.
226 (TIMEOUT): Remove, in favor of tcp_retry_limit.
227 (POLL_INTERVAL): Increase to 5, in favor of backoff logic.
228 (wait_for_connect): New function.
229 (net_open): Use it. Add auto-retry logic.
230 (set_tcp_cmd, show_tcp_cmd): New functions.
231 (_initialize_ser_tcp): Initialize new "set/show tcp auto-retry"
232 and "set/show tcp connect-timeout" commands.
233 * NEWS: Document new commands.
234
235 2009-01-05 Tom Tromey <tromey@redhat.com>
236
237 * python/python-internal.h (Py_ssize_t): Define as int.
238
239 2009-01-05 Jim Blandy <jimb@red-bean.com>
240
241 * MAINTAINERS: Fix my e-mail address as steering committee member.
242
243 2009-01-03 Joel Brobecker <brobecker@adacore.com>
244
245 Updated copyright notices for most files.
246
247 2009-01-03 Joel Brobecker <brobecker@adacore.com>
248
249 * top.c (print_gdb_version): Update copyright year.
250
251 2009-01-03 Joel Brobecker <brobecker@adacore.com>
252
253 * config/djgpp/fnchange.lst: Add entry for ChangeLog-2008.
254
255 2009-01-01 Pedro Alves <pedro@codesourcery.com>
256
257 PR breakpoints/9681:
258 * exceptions.h (enum errors): New error type, MEMORY_ERROR.
259 * corefile.c (memory_error): Rewrite to throw a MEMORY_ERROR.
260 * breakpoint.c (fetch_watchpoint_value): Ignore MEMORY_ERRORs, but
261 retrow all other exceptions.
262
263 For older changes see ChangeLog-2008.
264 \f
265 Local Variables:
266 mode: change-log
267 left-margin: 8
268 fill-column: 74
269 version-control: never
270 coding: utf-8
271 End:
This page took 0.034261 seconds and 4 git commands to generate.