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