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